Page 1 of 1

is it possible to read and compare the color of philips hue bulbs?

Posted: Monday 04 January 2021 22:23
by Alain
I use a Node-Red script to look at the colour of a light and if it's green (code 254), switch on another light downstairs.

Code: Select all

[{"id":"xxxa5e.3xxx4","type":"switch","z":"6exxxxf.1xxxe3","name":"Groen","property":"payload","propertyType":"msg","rules":[{"t":"cont","v":"\"g\" : 254","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":570,"y":220,"wires":[["caxxxx36.8fc788","8xxxx0c.74xxx8"]]}]

Re: is it possible to read and compare the color of philips hue bulbs?

Posted: Tuesday 05 January 2021 0:27
by kitopopo
Alain wrote: Monday 04 January 2021 22:23 I use a Node-Red script to look at the colour of a light and if it's green (code 254), switch on another light downstairs.

Code: Select all

[{"id":"xxxa5e.3xxx4","type":"switch","z":"6exxxxf.1xxxe3","name":"Groen","property":"payload","propertyType":"msg","rules":[{"t":"cont","v":"\"g\" : 254","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":570,"y":220,"wires":[["caxxxx36.8fc788","8xxxx0c.74xxx8"]]}]
Hello, I had not seen for your answer, In a few days I will try node red to expand my knowledge. Thanks for your answer. Best regards

Re: is it possible to read and compare the color of philips hue bulbs?

Posted: Tuesday 05 January 2021 9:32
by Alain
I don't know how this ended up in a thread of it's own, because I pressed reply in your original thread.

Re: is it possible to read and compare the color of philips hue bulbs?

Posted: Tuesday 05 January 2021 9:53
by waaren
Alain wrote: Tuesday 05 January 2021 9:32 I don't know how this ended up in a thread of it's own, because I pressed reply in your original thread.
The posts were moved to an own topic because the original post was requesting a dzVents solution and it was posted in the dzVents subforum and is set to solved. Your solution was targeted at a different mechanism and has not been set to solved yet.