Simple On / Off of Philips Hue in Node-Red

I thought it was straight forward - oh well…I AM missing something, but what?

The bulb does not react to any of the time settings i give

Screenshot 2021-11-27 at 22.44.54

I have the HueMagic installed: See HERE

And i have Timerswitch installed: See HERE

The timerswitch outputs on or off…I figure the Hue bulb needs exactly that!

What do i miss?

You’ll need to have a switch node (on and off) and then a change node.

Stick this in front of your hue light, forgetting the timer node for now.

[{"id":"d4cc4af7.cc52a8","type":"change","z":"7a8ff9fc.5b6ee8","name":"OFF","rules":[{"t":"set","p":"payload","pt":"msg","to":"false","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":810,"y":2080,"wires":[["64412b46.7aff44"]]},{"id":"64412b46.7aff44","type":"hue-light","z":"7a8ff9fc.5b6ee8","name":"Laundry (white)","bridge":"5e6fe1ca.85689","lightid":"42","colornamer":true,"skipevents":false,"universalevents":false,"x":980,"y":2060,"wires":[[]]},{"id":"c0cd601c.087d8","type":"change","z":"7a8ff9fc.5b6ee8","name":"100%","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"on\":true,\"brightness\":100}","tot":"json"}],"action":"","property":"","from":"","to":"","reg":false,"x":810,"y":2040,"wires":[["64412b46.7aff44"]]},{"id":"5e6fe1ca.85689","type":"hue-bridge","name":"Philips hue","bridge":"192.168.1.221","key":"76VF5utXrkJ9PftxiZgEDKW3dFB67Mv8H1Op4RQA","interval":"3000","disableupdates":false}]

Thank you - I added a switch node…like this:
Screenshot from 2021-11-29 17-36-25
Screenshot from 2021-11-29 17-40-59

Was it what you mean?

No. Stick this between your time node and hue node.

[{"id":"f381e8d5d792be3a","type":"switch","z":"b41d311.7681ad","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"on","vt":"str"},{"t":"eq","v":"off","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":2160,"y":540,"wires":[["70a65a2cb28d28f8"],["222116003ccedd65"]]},{"id":"70a65a2cb28d28f8","type":"change","z":"b41d311.7681ad","name":"On","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"on\":true,\"brightness\":100,\"colorTemp\":200}","tot":"json"}],"action":"","property":"","from":"","to":"","reg":false,"x":2310,"y":500,"wires":[[]]},{"id":"222116003ccedd65","type":"change","z":"b41d311.7681ad","name":"Off","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"on\":false}","tot":"json"}],"action":"","property":"","from":"","to":"","reg":false,"x":2310,"y":560,"wires":[[]]}]

Sorry - what node shout i add to put this line in?