Hi guys,
I have two instances of home assistance running, one in my house, and one in my barn (could not figure out how to extend z-wave coverage all the way across the yard). I’m now trying to figure out a way to connect the two in a reasonable manner. Ideally I do not want to use the interface for the barn installation at all. I have around seven switches configured and a couple of temperature sensors.
I know I can use state stream to replicate the data reported by any device in the barn to the house system, but this approach does not seem to allow control the other way. I know there is something called MQTT event stream, but I haven’t been able to find much text around this to help me figure out how to use it correctly.
Ideally I want a set up where any state change in the barn is published with retain to the MQTT broker (probably already covered by state stream), and at the same time I want to be able to control these devices from the house installation.
I was thinking that the easiest would be to define MQTT lights in the house installation, but I would then need something on the barn side to both publish and consume information from the correct topics, and I do not think state stream does this. I guess the difficult part is taking incoming MQTT events and triggering actions on my switches in the barn. I would prefer not to have to write a specific automation for each device.
I hope I made myself clear.
Any suggestions?