lifxjs icon indicating copy to clipboard operation
lifxjs copied to clipboard

Color seems over-specified?

Open RussNelson opened this issue 11 years ago • 2 comments

The color seems over-specified for an RGBW bulb: {name:"hue" , type:type.uint16_le}, {name:"saturation", type:type.uint16_le}, {name:"brightness", type:type.uint16_le}, {name:"kelvin" , type:type.uint16_le}, hue and saturation specify color one way, but kelvin sets the color another way. Has anybody figured out what color you get for various combinations of these parameters?

RussNelson avatar Feb 15 '14 07:02 RussNelson

You can do lots of mixes with the Hue and Saturation, but you need Kelvin to turn on the whites as far as I’ve been able to work the protocol.

From: Russ Nelson [mailto:[email protected]] Sent: Saturday, February 15, 2014 1:05 AM To: magicmonkey/lifxjs Subject: [lifxjs] Color seems over-specified? (#20)

The color seems over-specified for an RGBW bulb: {name:"hue" , type:type.uint16_le}, {name:"saturation", type:type.uint16_le}, {name:"brightness", type:type.uint16_le}, {name:"kelvin" , type:type.uint16_le}, hue and saturation specify color one way, but kelvin sets the color another way. Has anybody figured out what color you get for various combinations of these parameters?

— Reply to this email directly or view it on GitHubhttps://github.com/magicmonkey/lifxjs/issues/20.

PhilWheat avatar Feb 15 '14 15:02 PhilWheat

Just submitted a pull-request for documentation on a RGBW supportive packet type. Should make things easier! https://github.com/riverar/lifxjs/commit/0c2f9d3c45b3538be0b77b79fbf2be8e44b1f830

riverar avatar Feb 21 '14 09:02 riverar