Right now I am trying to find out how to gracefully switch a selector switch from Python.
I can turn switches on and off using:
Code: Select all
import domoticz
import DomoticzEvents as DE
DE.Command("{name of the device", "on")
In the meantime I solved it with a CURL command, but there must surely be a better way.