why my sensorBinary cannot be updated outside?
Code: Select all
if (command === "on" && (vDevType === "toggleButton" || vDevType === "switchBinary"))
Code: Select all
http://127.0.0.1:8083/ZAutomation/api/v1/devices/Code_Device_sensorBinary_34/command/on
or m.b. wrong idea here?
I have external sensor. I do not want poll this sensor from ZWay controller, my sensor can call ZWay via ZAutomation/api/v1 and set right status.
my question is - how I can create such virtual sensorBinary
Thanks!