Check status (ON/OFF) of dummy switch from Node-Red
Posted: Wednesday 22 September 2021 19:01
Hi,
I am working on some functionality in Node-Red.
I have a motion sensor that switches the light on and off through my script.
Now i want to check status of a dummy switch in Domoticz before actually switching the light, because i may want to prevent automatically switching.
I've reached the end of internet, maybe i've overlooked, but i have not found anything that would help me.
I think that it would be fastest to send an MQTT request to Domoticz/in topic to obtain info about IDX 62 but how can i catch the response? Lost
I am working on some functionality in Node-Red.
I have a motion sensor that switches the light on and off through my script.
Now i want to check status of a dummy switch in Domoticz before actually switching the light, because i may want to prevent automatically switching.
I've reached the end of internet, maybe i've overlooked, but i have not found anything that would help me.
I think that it would be fastest to send an MQTT request to Domoticz/in topic to obtain info about IDX 62 but how can i catch the response? Lost