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

Python script to control/receive data from Gardena mower using MQTT with Domoticz (or any other MQTT)

License

Notifications You must be signed in to change notification settings

Kdonkers/domoticz-mqtt2-gardena

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Python script to control/receive data from Gardena mower using MQTT with Domoticz (or any other MQTT)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published