node-lifx icon indicating copy to clipboard operation
node-lifx copied to clipboard

Change single parts of color

Open MariusRumpf opened this issue 9 years ago • 2 comments

The library makes use of the color method which requires hue, saturation, brightness and kelvin values. It might be useful to have a method for every single part if it, without affecting others.

For example setting different shades of white is easy with the app but complex with the library. To utilize one has to keep track of the latest color value and only change the kelvin value.

MariusRumpf avatar Jul 27 '16 20:07 MariusRumpf

This could be done with storing the HSBK values on each change or are they already stored somewhere? I'm using that approach for ristomatti/lifxsh.

In addition a configurable stateColor and stateMultiZone polling interval could be added to notice changes done using other methods.

ristomatti avatar Jan 22 '17 12:01 ristomatti

That is exactly what I though of, there is no stored value anywhere for now

MariusRumpf avatar Jan 22 '17 12:01 MariusRumpf