-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
MQTT api, preset cycle on and off both send <cy>0</cy> #777
Comments
Hi @Skinah, how did you check this ? did you send an MQTT message to |
I turn the light on and off with the webpage controls and the status mqtt message that gets sent by wled from the esp8266 does not reflect the state of the control. If I use the http://ipaddress/win I do get the full status messages I have just shortened it to the important part which is 0 never changes via mqtt but it does via http. |
Sorry misunderstood. Yes the controls function correctly and the presets cycle like they should. The only issue is the mqtt message does not match what the http api gives and I believe the mqtt is wrong. Because the message does not change it does not get sent which is why I have to use the power switch to get the mqtt message to send. |
Hmm I believe that the issue could be that MQTT doesn't publish (so the values in MQTT are not updated) when the preset cycle is toggled, just when brightness or color is changed. |
Does sound like this will cause problems for MQTT users like myself. To get the status information into nodered for example for triggering other events. Openhab definitions also work better with MQTT. I'm having similar issues trying to get the MQTT and HTTP feedback loop to work writing my own "version" of what is not even a binding - just item files and rules. |
Hey! This issue has been open for quite some time without any new comments now. It will be closed automatically in a week if no further activity occurs. |
Still an issue but not for me as I no longer use the mqtt api due to this issue. It effects multiple features of the API. |
Preset cycle has been removed in favour of playlists in 0.12 and above. |
The Http api gives the correct state, however the state does not get published to the MQTT broker.
Cycle on should be
1
instead it stays as
0
The text was updated successfully, but these errors were encountered: