I've been developing my own Hue App and SDK library but have found that the XY values in the Light State response seem to be incorrect.
In my SDK I have performed a calculation to convert the XY values to RGB so that I can display the light colour in my app.
When I load the emulator I get 3 bulbs, Orange, Green and Red.
When I run my app I get the colours of Blank and two very pale yellows, looking at the LightState, the first bulb XY value is 0,0 which is obviously not correct, unless I am missing something. However, I have proved that my calculation works in my own app as when I connect my app to an actual Hue bridge instead of the Emulator my app displays all of the correct colours (FYI I have different ranges of light bulbs such as blooms, strip lights and standard colour bulbs) they all return the correct colour for my app, so I'm pretty sure its the emulator returning incorrect XY values.
I've been developing my own Hue App and SDK library but have found that the XY values in the Light State response seem to be incorrect.
In my SDK I have performed a calculation to convert the XY values to RGB so that I can display the light colour in my app.
When I load the emulator I get 3 bulbs, Orange, Green and Red.
When I run my app I get the colours of Blank and two very pale yellows, looking at the LightState, the first bulb XY value is 0,0 which is obviously not correct, unless I am missing something. However, I have proved that my calculation works in my own app as when I connect my app to an actual Hue bridge instead of the Emulator my app displays all of the correct colours (FYI I have different ranges of light bulbs such as blooms, strip lights and standard colour bulbs) they all return the correct colour for my app, so I'm pretty sure its the emulator returning incorrect XY values.