Hello
I am thinking of running 2 instances of HA, Master and a Slave
I have one running version 49.1 and all configured with hasska, a lot of MQTT, Phillips hue and a few others with a lot of automation’s. I was thinking of running the 49.1 as master and the other the latest version. Question is can I do that and how to set it up properly.
I installed my MQTT server on the same Raspberry Pi as my HA
I am running an old version because of the display problem there was with IOS I know it was fixed, but I have had a lot of problems getting all the things working properly I get one thing fix and run into another. I gave up on it for a while.
The problem I am having running 2 HA right now is some of my automation’s stop working until I shut down the new one and reboot the main one
My goal is to get the latest version running, with all the things I have running now
Yes, you can do that. I did that for a while when switching to my NUC from a RPi.
the thing you need to do is make sure all of the configuration where it relies on some hardware or software outside of HA itself is only being controlled by one HA at a time.
I used only my Pi for MQTT, Zigbee and Zwave (along with all related automations using those devices) until I got everything else switched over to the NUC. Then one at a time I redirected everything to the NUC. First I switched the IP addresses between the two which made the NUC the MQTT Broker and the Pi as a client. Rgen switched the zwave & zigbee over one at a time and commented out the things in the Pi as I switched stuff over that was being controlled by the NUC.
I have two HA instances right now and i use a MQTT bridge connection. But you need two brokers for that. Which in my case is easy since I use Docker I can have as many as I want.
Setting it up on two RPi’s would work exactly the same tho.
Just install mosquitto on both and tell each HA to use it’s own mosquitto as the broker then in the config for one broker set it up as the secondary broker to the other one.
It’s actually pretty easy. Just a few lines of code in the seconday broker config file.