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

Unit does not power off with MQTT JSON Command #16

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

Unit does not power off with MQTT JSON Command #16

alexschwantes opened this issue Apr 21, 2017 · 0 comments

Comments

@alexschwantes
Copy link
Contributor

Even if the unit is off, and you send the {"state":"OFF"} message to RGB/XXXXXXXX/json/set, it results in turning the unit on. Unit can be turned off with IR though. The problem lies in the callback method which always sets the startFade=true.

I have a fix I will create a pull request for. I just did the minimum to fix this, although there are a few too many nested if statements in that method, might be cleaner to rework it a bit.

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