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

Light Bulb Color issue #60

Closed
raufis27 opened this issue Jan 20, 2018 · 3 comments
Closed

Light Bulb Color issue #60

raufis27 opened this issue Jan 20, 2018 · 3 comments
Labels

Comments

@raufis27
Copy link

raufis27 commented Jan 20, 2018

Could you please let me how Light bulb should output color value ? Is it RGB format or ?
From what I see right now it is just one number. F.e red outputs just 0. Blue 255.

@raufis27
Copy link
Author

raufis27 commented Jan 21, 2018

Ok, after some troubleshooting, I see how it works.
Question can we output all payload numbers as one messages simultaneously ?
Also why Red color only results 0 ? Example - hey Siri set color to red: 0,100,100. All other colors are fine.

@hobbyquaker
Copy link
Owner

This is the "Hue Saturation Lightness" Color model. See https://en.wikipedia.org/wiki/HSL_and_HSV
Minimum and maximum of the Hue value is red - this is how HSL works. It's an angle around the color-circle.

About outputting all values at once - I will think about that.

@hobbyquaker
Copy link
Owner

Closing this here, see #67, #78, #65

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

No branches or pull requests

2 participants