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

Color not being sent to RGB/XXXXXXXX/json/state #18

Closed
alexschwantes opened this issue Apr 21, 2017 · 0 comments
Closed

Color not being sent to RGB/XXXXXXXX/json/state #18

alexschwantes opened this issue Apr 21, 2017 · 0 comments

Comments

@alexschwantes
Copy link
Contributor

When in JSON mode and changing the state, the color is not being sent.

This is what is being sent
{"state":"OFF","brightness":145,"white_value":0}
and this is what should be sent
{"state":"OFF","brightness":145,"white_value":0,"color":{"r":224,"g":72,"b":90}}

I have a fix for this, but it exposes another bug when transition is set. but will discuss that separately.

alexschwantes added a commit to alexschwantes/Arilux_AL-LC0X that referenced this issue Apr 21, 2017
smrtnt added a commit that referenced this issue Apr 23, 2017
…ue-18

Fixing issue #18 where color was not being sent on MQTT state when in…
@smrtnt smrtnt closed this as completed Apr 23, 2017
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

2 participants