Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emulator returning incorrect XY values #31

Open
boardy opened this issue May 22, 2016 · 0 comments
Open

Emulator returning incorrect XY values #31

boardy opened this issue May 22, 2016 · 0 comments

Comments

@boardy
Copy link

boardy commented May 22, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant