zinen / node-red-contrib-hue-tunable-white

Node-RED node automatic change white color temperature of lights as the day progress.
MIT License
2 stars 0 forks source link

How to select a single light #7

Open javos65 opened 2 years ago

javos65 commented 2 years ago

Nice app, but documentation is a bit dimm on how do drive the lights in the array. any suggestion how to just use one light instead of all my lights? or also use color hue instead of the white hue's ?

zinen commented 2 years ago

Nice app, but documentation is a bit dimm on how do drive the lights in the array.

I don't understand this question. You are free to add more text to readme if you got some relevant details to share.

any suggestion how to just use one light instead of all my lights?

Haven’t found the time to make the function to support selection of specific light instead of them all. But looking at the current catch node i figure the function is available to be made. I welcome any PR regarding this. This is the start line of the loop that change all your lights color. tunable-white.js#L83

or also use color hue instead of the white hue's ?

Philips hue color supports both color ranges and white color ranges. And for a dynamic white look I don’t see the point in including a color like green or so? I guess I don't know what you mean here.