I want to turn of a hue lamp after x minutes using a hue dimmer switch who triggers the lamp on in the first place.
/Jerry
step 1 would be to see if you can detect the switch in NodeRED. Have you looked on flows.nodered.org to see if there are any nodes that work with the hue switch?
I have this installed:
node-red-contrib-node-hue
node-red-contrib-huemagic
The dimmer switch is detected in node-red already
then take a look at the delay node
and the change node to set the payload to the correct “off” message you need to send
Yes, but how may i build the flow, with what kind of nodes to get this to work?
delay
change
what ever node you can use to control your lights
Alternatively the trigger node may be useful, you can get it to send a message (or no message) immediately, then after a time send another message.