-
Notifications
You must be signed in to change notification settings - Fork 638
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 group sync documentation #362
Comments
At the moment only status is sync'd between devices, not colors, but I'll try to add this option soon. Anyway if you are concerned about timing it won't solve the issue since it will depend on when the device receives and processes the message. |
You can now sync colors too. The code is in the dev branch and will be released soon. |
Original comment by Ian Cunningham (Bitbucket: iancun, GitHub: iancun): Many thanks :). Is it possible to sync the moment that the changes happen (i.e. all controllers initiate changes at the exact instant), or will there always be some variability with changes? At the moment, the controllers initiate changes within around 1 second of eachother, but out of sync. Perhaps this is more complex than I realise ;). |
One solution I can think of is to sync times between them too. That should be done outside MQTT but maybe NTP feature already provides an accurate timing. Then the message should contain the action to perform ("change color to ...") and the time to perform it ("19:23:34"). The sender of the message with set that time to a few seconds in the future (2, 3 seconds). Another option would be to perform the sync by other means (not MQTT). UDP or ESPNow come to mind. |
Released with 1.11.4 |
Removing milestone: 1.11.4 (automated comment) |
Hi Xose, Can-you help me ? |
Hello, |
Originally reported by: Ian Cunningham (Bitbucket: iancun, GitHub: iancun)
I've got 3 LED strips now running from an H801, and I've set them to use the same MQTT root topic so that they will receive identical commands from Home Assistant. It works, but they change colour at slightly different times.
I note that there is a MQTT group sync option - would this mean that all lights change colour at the same instant? If so, how does it work, as I can't find anything on this setting? :)
The text was updated successfully, but these errors were encountered: