-
Notifications
You must be signed in to change notification settings - Fork 637
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
Master / slave option for syncing without mqtt? #2466
Comments
Something like this, based on multicast? Other option is to remove openhab-like software from the stack, but keep MQTT server on a small'ish device (openwrt, something custom) that is running the WiFi AP? I have also reworked the relays group thing to have separate pub and sub topics, which I think would make sense for lights as well? Likely, with a different payload format too. |
I suspect the multicast might be a better option as it can be broadcast and anyone listening can act. I think that is how it works? Sorry, not very familiar. edit: How does #2355 work once implemented? I've thought of leaving an old RPi running with mosquitto on it as a solution. I guess that'll be ok for a year or so before the SD card messes up. I'm in two minds - someone who manages to install espurina on a device to control their LEDs should be able to also setup HASSIO, OpenHAB etc. On the other hand though, a way to make it simple via multicast also has benefits. |
Standalone e1.31 software (PC, phone, etc.) will send packet containing certain channel values. From our side we associate e1.31 id with the channel id. And our side is receive-only.
Or, there is a dedicated master device publishing to what others listen to. Additional topic for the master can also be used for the external control. Also note that rpi 3+/4 should be able to boot from usb, very old ones are a bust though |
I'm moving out of my house soon and have many coloured leds which each use their own controller. The kitchen, for example, has 7 controllers.
Normally the above was managed by openhab via mqtt but I'm not leaving that behind as the new owner is not tech savvy.
What I'd like to do is leave the controllers synced so he can only connect to one via his phone and the rest follow. He'd obviously have to have them all connected to his wifi.
I was thinking of using the api to poll for switch and colour settings from host / master. Is anything like this possible or in the pipeline. If not, I'll take a look at it.
C
The text was updated successfully, but these errors were encountered: