Two instances one connected to nabu casa

Hi,

I am busy moving my homeassistant instance from a rpi docker 4b to rpi 5 with docker and vlans.

I have both enviroments working and still testing a lot and i use them both (not together) for a while till everything works…
i use central mqtt and zigbee2mqtt for both…

At this moment i stop one instance before activating the other…
I am curious if it is possible to get BOTH instances opertional at the same time, by LOGOUT at the nabu casa account at one off the instances, and access the other enviroment WITH nabu casa. I use this to look for settings on both sides.

I did a first trial. And my tv went on and off all the time. I think that toggle constructs put the two systems in a loop.

So i disabled mqtt and most off the integrations and nabu casa on one system, and yes, this looks stable.

I can now easily compare two systems and make changes on both sides…
I searched for an option to disable all integrations at one click, but it isnt there,
Should be great if you can tag your integrations with a label and make automations for it based on labels…

There is, kinda. It’s called restarting in safe mode. Not 100% sure whether built-in integrations are also disabled or not, since I never needed to use it.

when running two instances you need to disable automations to prevent double trigger.

Most integrations can run on both instances without issue.
addons like zwave can only be run on a single server but may be connected with both HA servers

i have my devices in separate central dockers with zigbee2mqtt and mosquitto.
Just replaced my local zigbee router for a central utp version with an own zigbee2mqtt docker, works great!

Did not know about the safe mode, gonna try and read…

ALso found SPOOK as integration. With spook i can make a script to automate on off integrations…

I use homeassistant in a docker, not sure if you can trigger safe mode with a docker