Two HA systems at the same time at the same local network

Hello,

have running a HA system since last year, now I want to use a second/new one for test purposes within the same local network.

The address to open HA is http://homeassistant.local:8123. But how to deal in case of two running systems at the same time, how to open the “right one”?

I found at system/network an box where I can choose the name of the device. Is this the correct way for getting the correct address?

If yes in a first step I have to change the name of the current HA-device from “home-assistant” to … “home-assistant_1”.
In that case I have to change the address for the current device to:
http://homeassistant_1.local:8123.
Sorry for these stupid questions, but I want to prevent, that my system cannot be reached anymore due to unnecessary changes.

Thx for help
Rudi

Changing the hostname in your Network settings will change the DNS address you access your instance from, so you could rename it _1 etc. It might take a few minutes or longer to propagate if your DNS is slow for whatever reason.

A better approach though would be to set a static IP either in the IPV4 settings in Home Assistant or on your router/access points and access your instance via its IP when on LAN to avoid relying on DNS.

1 Like

I’d recommend against underscore as the character is not in RFC952, however minus is. Each HASS instance then broadcasts the name and IPaddress via mDNS / Bonjour as hostname.local. You of course can use an IPv4 or IPv6 address directly.

BAD: home-assistant_1
AOK: home-assistant-1 => http://home-assistant-1.local:8123
AOK: home-assistant-test => http://home-assistant-test.local:8123
AOK: http://192.168.0.222:8123

Open your Home Assistant instance and manage your systems network configuration.

1 Like

Personally I have 2-5 running on my network at any given time, and all you need is the hostname method posted above. For example, I have:

  • homeassistant.local
  • rvassistant.local
  • hadev.local
  • hatest.local

Great, thank you very much to all: This helps a lot.

In fact my current HA has an static IP. I think will do the same for the new one with a different IP (i.e.192.168.0.253/24) and a new name as described above: home-assistant-test I like it! :wink:

grafik

Works great Thx!
Rudi

1 Like