APythonscripttointegrateyourEcovacsvacuumtoHomekit.
RequirementsThisscriptassumesyouhavethefollowinginstalled:
HomebridgeCmdswitch2SucksInstallationEnteryourEcovacscredentialsintothepythonscriptRunthescriptasstate_cmdinyourconfig.jsonfile.Exampleconfiguration"platforms":[{"platform":"cmdSwitch2","name":"CMDSwitch","switches":[{"name":"Vacuum","on_cmd":"sucksclean120","off_cmd":"suckscharge","state_cmd":"python3/var/homebridge/vacstate.py","polling":true,"interval":120,"timeout":20}]LicenseMIT
评论