You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe
No.
Describe the solution you'd like
Add Domoticz support to power control.
I tried to do it myself in power.py, but I'm not that good with Python :-(
Describe alternatives you've considered
No response
Additional information
Domoticz uses the following command to switch on/off a switch:
On: http://[IP]:[PORT]/json.htm?type=command¶m=switchlight&idx=[ID]&switchcmd=On
Off: On: http://[IP]:[PORT]/json.htm?type=command¶m=switchlight&idx=[ID]&switchcmd=Off
The status is queried by reading the result.Status in JSON on http://[IP]:[PORT]/json.htm?type=devices&rid=[ID]
Is your feature request related to a problem? Please describe
No.
Describe the solution you'd like
Add Domoticz support to power control.
I tried to do it myself in power.py, but I'm not that good with Python :-(
Describe alternatives you've considered
No response
Additional information
Domoticz uses the following command to switch on/off a switch:
On: http://[IP]:[PORT]/json.htm?type=command¶m=switchlight&idx=[ID]&switchcmd=On
Off: On: http://[IP]:[PORT]/json.htm?type=command¶m=switchlight&idx=[ID]&switchcmd=Off
The status is queried by reading the result.Status in JSON on http://[IP]:[PORT]/json.htm?type=devices&rid=[ID]
This looks like:
The text was updated successfully, but these errors were encountered: