A Python script to integrate your Ecovacs vacuum to Homekit.
This script assumes you have the following installed:
- Enter your Ecovacs credentials into the python script
- Run the script as state_cmd in your config.json file.
"platforms": [{
"platform": "cmdSwitch2",
"name": "CMD Switch",
"switches": [{
"name": "Vacuum",
"on_cmd": "sucks clean 120",
"off_cmd": "sucks charge",
"state_cmd": "python3 /var/homebridge/vacstate.py",
"polling": true,
"interval": 120,
"timeout": 20
}]
MIT