Closed gnbl closed 5 years ago
The HEX default was indeed a known thing but I forgot to write it down.
The color X and color Y is a great finding. And I didn't know about that. After some more research and testing it is indeed possible to display the xyY color space. I will post a new version of the documentation shortly.
Awesome, thanks for this info. I found that unfortunately only the hex values listed seen to be supported - writing any other value defaults to
'efd275': 'Warm glow',
But querying the bulb also gives changing values for 5707, 5708, 5709, 5710 - using a "remote control"'s
)>)
button to change color, I get these 9 settings:Changing 5707 and 5708 does not seem to have an effect. 5709 seems to affect warmth, i.e. higher values approach red. 5710 seems to affect green, i.e. higher values approach green.
The app "Hue Essentials" must have figured it out, as it allows specifying a (HEX) color, achieving what could be a full red (#ff0000):
"3311":[{"5850":1,"5851":254,"5707":0,"5708":65279,"5709":45914,"5710":19615,"5706":"0","9003":0}]
From http://sprunge.us/CCQF via http://jaimejim.github.io/tradfri/:
Which probably is CIE xy chromaticity - https://en.wikipedia.org/wiki/CIE_1931_color_space#CIE_xy_chromaticity_diagram_and_the_CIE_xyY_color_space
Also see https://github.com/ffleurey/ThingML-Tradfri