Hi community
First of all I wish you all happy holidays.
I am trying to setup my hue motion sensors to switch on different lights in my house. The problem is, that the sensors respond to slow for real-time events. I found a workaround via the Homekit integration but there are not many options to control their behaviour and it doesnt work reliable.
I found the huemagic nodes for Nodered and love it! Actually I am trying to build an automation which switches a light if motion is detected and switches it off with a delay of 1 minute. I have a basic-understanding of nodered but cant figure out how to get motion state (true or false) in order to pass the information to the lightswitch and integrate the 1 min delay.
question
How do I have to configure the switch-node to extract the motion state from the hue sensor?
payloads from the hue sensor
I did some research but cant get the switch node to run
Many thanks for your advice!
Kind regards from Switzerland
Andrew