====== Gardena Smart System ====== Version History... **Version 0.0.6** * erste öffentliche Version - Proof of concept https://github.com/DiabloVmax1200/LoxBerry-Plugin-GardenaSmartSystem \\ ---- ===== Download ===== https://github.com/DiabloVmax1200/LoxBerry-Plugin-GardenaSmartSystem ===== Installation ===== Es ist eine aktuelle LoxBerry Installation notwendig idealerweise ab 1.2.2.x um ein funktionierendes Logging zu haben ===== Konfigurationsoptionen ===== Der Ziel UDP Port und der Ziel Miniserver kann eingestellt werden ===== Funktion des Plugins ===== \\ Dieses Plugin ermöglicht es Daten von einem Gardena-Smart-System an die Miniserver über UDP zu senden. Das Plugin unterstützt auch mehrere Geräte innerhalb eines Accounts. Jeder Messwert (Sensor) wird als einzelnes UDP Paket an den Miniserver gesendet. Das Paket hat immer folgende Aufbau: [DeviceCategory].[DeviceName].[DataCategorie].[DataName]:[DataValue] (optional:[ = DataValueString]) Folgende Daten können gelesen werden: Location:My Garden\\ authorized_at\\ address\\ latitude\\ longitude Device Category:gateway Categorie: device_info\\ manufacturer\\ product\\ serial_number\\ sgtin\\ version\\ category\\ last_time_online Categorie: gateway\\ ip_address\\ time_zone\\ homekit_setup_payload Device Category:mower Categorie: device_info\\ manufacturer\\ product\\ serial_number\\ version\\ category\\ last_time_online\\ sgtin Categorie: battery\\ level\\ charging\\ --->Possible Values: array ( 0 => 'true', 1 => 'false', ) Categorie: radio\\ quality\\ connection_status\\ --->Possible Values: array ( 0 => 'unknown', 1 => 'status_device_unreachable', 2 => 'status_device_alive', )\\ state:\\ --->Possible Values: array ( 0 => 'bad', 1 => 'poor', 2 => 'good', 3 => 'undefined', ) Categorie: firmware\\ firmware_status\\ firmware_upload_progress\\ firmware_available_version\\ inclusion_status\\ firmware_update_start\\ firmware_command\\ --->Possible Values: array ( 0 => 'idle', 1 => 'firmware_cancel', 2 => 'firmware_flash', 3 => 'firmware_upload', 4 => 'unsupported', ) Categorie: mower\\ manual_operation\\ status\\ --->Possible Values: array ( 0 => 'uninitialised', 1 => 'paused', 2 => 'ok_cutting', 3 => 'ok_searching', 4 => 'ok_charging', 5 => 'ok_leaving', 6 => 'wait_updating', 7 => 'wait_power_up', 8 => 'parked_timer', 9 => 'parked_park_selected', 10 => 'off_disabled', 11 => 'off_hatch_open', 12 => 'unknown', 13 => 'error', 14 => 'error_at_power_up', 15 => 'off_hatch_closed', 16 => 'ok_cutting_timer_overridden', 17 => 'parked_autotimer', 18 => 'parked_daily_limit_reached', 19 => 'undefined' )\\ error\\ --->Possible Values: array ( 0 => 'uninitialised', 1 => 'no_message', 2 => 'outside_working_area', 3 => 'no_loop_signal', 4 => 'wrong_loop_signal', 5 => 'loop_sensor_problem_front', 6 => 'loop_sensor_problem_rear', 7 => 'loop_sensor_problem_left', 8 => 'loop_sensor_problem_right', 9 => 'wrong_pin_code', 10 => 'trapped', 11 => 'upside_down', 12 => 'low_battery', 13 => 'empty_battery', 14 => 'no_drive', 15 => 'temporarily_lifted', 16 => 'lifted', 17 => 'stuck_in_charging_station', 18 => 'charging_station_blocked', 19 => 'collision_sensor_problem_rear', 20 => 'collision_sensor_problem_front', 21 => 'wheel_motor_blocked_right', 22 => 'wheel_motor_blocked_left', 23 => 'wheel_drive_problem_right', 24 => 'wheel_drive_problem_left', 25 => 'cutting_motor_drive_defect', 26 => 'cutting_system_blocked', 27 => 'invalid_sub_device_combination', 28 => 'settings_restored', 29 => 'memory_circuit_problem', 30 => 'slope_too_steep', 31 => 'charging_system_problem', 32 => 'stop_button_problem', 33 => 'tilt_sensor_problem', 34 => 'mower_tilted', 35 => 'wheel_motor_overloaded_right', 36 => 'wheel_motor_overloaded_left', 37 => 'charging_current_too_high', 38 => 'electronic_problem', 39 => 'cutting_motor_problem', 40 => 'limited_cutting_height_range', 41 => 'unexpected_cutting_height_adj', 42 => 'cutting_height_problem_drive', 43 => 'cutting_height_problem_curr', 44 => 'cutting_height_problem_dir', 45 => 'cutting_height_blocked', 46 => 'cutting_height_problem', 47 => 'no_response_from_charger', 48 => 'ultrasonic_problem', 49 => 'temporary_problem', 50 => 'guide_1_not_found', 51 => 'guide_2_not_found', 52 => 'guide_3_not_found', 53 => 'gps_tracker_module_error', 54 => 'weak_gps_signal', 55 => 'difficult_finding_home', 56 => 'guide_calibration_accomplished', 57 => 'guide_calibration_failed', 58 => 'temporary_battery_problem', 59 => 'battery_problem', 60 => 'too_many_batteries', 61 => 'alarm_mower_switched_off', 62 => 'alarm_mower_stopped', 63 => 'alarm_mower_lifted', 64 => 'alarm_mower_tilted', 65 => 'alarm_mower_in_motion', 66 => 'alarm_outside_geofence', 67 => 'connection_changed', 68 => 'connection_not_changed', 69 => 'com_board_not_available', 70 => 'slipped', 71 => 'invalid_battery_combination', 72 => 'imbalanced_cutting_disc', 73 => 'safety_function_faulty')\\ last_error_code\\ source_for_next_start\\ --->Possible Values: array ( 0 => 'uninitialised', 1 => 'no_source', 2 => 'completed_cutting_daily_limit', 3 => 'week_timer', 4 => 'countdown_time', 5 => 'mower_charging', 6 => 'completed_cutting_autotimer', 7 => 'undefined', )\\ timestamp_next_start\\ override_end_time\\ timestamp_last_error_code Categorie: mower_stats\\ cutting_time\\ timestamp\\ charging_cycles\\ collisions\\ running_time Categorie: mower_type\\ base_software_up_to_date\\ mmi_version\\ mainboard_version\\ comboard_version\\ device_type\\ device_variant ===== Einrichtung in der Loxone Config Software ===== Es müssen zwingend die Anmelde Daten für das Gardena-Smart-System konfiguriert werden. Ob diese korrekt sind kann auch hier geprüft werden: https://smart.gardena.com/ ===== Roadmap ===== Die gewünschten Daten sollen selektiert werden können. Für Konfigurationszwecke soll angezeigt werden welche Werte in Loxone für die Eingänge hinterlegt werden müssen. Senden an das Smart-System zum Starten von Aktionen durch den Miniserver soll realisiert werden. ===== Fragen stellen und Fehler melden ===== Fragen bitte im [[https://www.loxforum.com/forum/projektforen/loxberry/plugins/160685-plugin-gardena-smart-system|Forum]] oder per PN ===== Besonderen Dank ===== Besonderen Dank muss ich an die Vorarbeiten richten: * http://www.dxsdata.com/2016/07/php-class-for-gardena-smart-system-api/ * https://forum.fhem.de/index.php/topic,75098.0.html * https://www.roboter-forum.com/index.php?thread/16777-gardena-smart-system-analyse/ Ebenso natürlich den Leuten hier im Forum für die Unterstützung und ganz besonders meinem Namensvetter Michael dessen Netatmo Plugin ich als Vorlage genommen habe.