Hue clients send color information not as RGB (which would be the easiest) but, as one of multiple options, as hue, sat, briwith hue (expressed in ~deg*182.04), bri between 0-254 (0 is not off!), and sat between 0-254. Conversions are required to drive NeoPixels which only understand RGB. Currently these conversions are not correct.
Need to use HSB. Makuna has started to implement HSBColor object already.
Looking forward to using it.
Hue clients send color information not as RGB (which would be the easiest) but, as one of multiple options, as
hue, sat, bri
withhue
(expressed in ~deg*182.04),bri
between 0-254 (0 is not off!), andsat
between 0-254. Conversions are required to drive NeoPixels which only understand RGB. Currently these conversions are not correct.Need to use HSB. Makuna has started to implement HSBColor object already. Looking forward to using it.