Skip to content
This repository has been archived by the owner on May 31, 2023. It is now read-only.

Latest commit

 

History

History
35 lines (31 loc) · 2.22 KB

README.md

File metadata and controls

35 lines (31 loc) · 2.22 KB

domoticz-mqtt2-gardena

Python script to status, battery and connectivity data from Gardena using MQTT to Domoticz (or any other MQTT) Tested this on Gardena Sileno City, but should work on all Gardena/Husqvarna mowers

Configuration for Gardena/Husqvarna mower data

Configuration for Gardena mower control

  • Setup Domoticz with MQTT server
  • Install Python3 on your Domoticz server
  • Create folder 'gardena' in /home/pi/domoticz/scripts
  • Copy mower_control.sh and mower_control.pyin the created folder
  • Create 3 dummy devices in Domoticz:
    • Single button: Start mowing
    • Single button: Park until next operation
    • Single button: Park until further notice
  • Edit the button action in Domoticz with On/Off action script://gardena/mower_control.sh "INSERT ACTION KEY HERE"
    • Fill in the action key based on button (for example: script://gardena/mower_control.sh "START_DONT_OVERRIDE"):
      • START_SECONDS_TO_OVERRIDE - Manual operation, use 'seconds' attribute to define duration.
      • START_DONT_OVERRIDE - Automatic operation.
      • PARK_UNTIL_NEXT_TASK - Cancel the current operation and return to charging station.
      • PARK_UNTIL_FURTHER_NOTICE - Cancel the current operation, return to charging station, ignore schedule.

Auto startup

To run the script in the background by default, install it using PM2.