[Feature Request] Multiple HASS instances

It would be nice for the app to support more than one instance of hass. For me, choosing an instance from the settings would be sufficient.

1 Like

This has been requested once before. I didnā€™t prioritize it that much because the complexity involved in keeping track of notifications and location settings per instance would be pretty high. What is your specific use case?

I have home assistant currently running at home and in the office. I plan to control my heating based on smart plugs and some mqtt temperature or z-wave multisensors.

Currently I use owntracks + telegrambot to track location and receive notifications and a homescreen bookmark, so Iā€™d classify this as ā€œnice to haveā€ feature.

This thread might be older than the ā€œfeature requestā€ feature on these forumsā€¦

@robbiet480 - I want to have two Home Assistants running that can restart each other when they crash.
HA1 monitors HA2 and if it dies, HA1 sends an iOS notification with an action option for restarting HA2.
I have this working, but now want it to work both ways, so the iOS action can get sent back to HA2 instead of HA1.

I copied the ios.conf file to HA2 and got notifications working for the second HA, but the actions donā€™t get sent back to it.

What do you thinkā€¦ is there a way to achieve this?

I donā€™t believe this is possible. An idea: You should be looking at implementing a chat interface for both instances, and send the command to trigger the restart script to the one instance that is alive. Furthermore, if an instance is crashing, you should open a bug report on github, so this can be resolved, unless itā€™s not hass thatā€™s crashing.

Hi,

How did you setup two HA instances? I have a Pi3 and PiZero and want PiZero to monitor Pi3 if it dies PiZero to restart Pi3.

Did you have two separate host names one for each instance as ā€˜Hassā€™ is the default? if so where did you change it?

How can I change http://hassio.local to resolve to Pi3 IP and http://hassio2.local to PiZero IP?

Any info would be great.

Hi. I wasnā€™t using hass.io and I put HA on a device that already had a hostname. The other was a Pi running hassbian, so it got the default hostname.

You can find info on changing a Piā€™s hostname online, e.g. https://thepihut.com/blogs/raspberry-pi-tutorials/19668676-renaming-your-raspberry-pi-the-hostname

Hi @robbiet480, appreciate this is an old thread - but my use case is two separate houses each with their own hassio/HA instance. Apple letā€™s you toggle between locations in their home app and it would be great if the HA iOS app did something similar.

Would it be possible to have 2 different versions of the HA app installed? One set to home and one Office?

Thatā€™s possible right now. You can have the 1.5 and 2.0 betas installed side by side without issue.