Can't access my home asssitant after switching to new network

Hello,

So I get at new Internet provider… I have connected the raspberry via Ethernet to the new modem but since then I can’t find it.

I tried homeassistant.local:8123 but got a connection timeout. I tried the differents IP’ s:8123 I could find (I’m not sure which one it is) but same result.

I tried to connect the rpi to my pc with ethernet and homeassistant.local:8123 was not accessible neither.

Any idea what I could do? I’m thinking to reflash the sd and import a backup but I’d like to avoid that solution.

Thanks

Have you checked for the Pi’s ip in the router DHCP settings?

Try it without the .local

That’s how it works on my network with an Amplifi Alien router.

Well that’s the thing, new model does not show the devices :confused:

This may not be helpful for you but the same happened to me when I changed router a few weeks ago. Hoiwever, as my HA is on a Nabu.casa remote plan, I was able to connect to my HA that way.
When I found the new IP address in my new router I was able to fix the local access as well.

What is the model of router. It must have a list of devices connected.

Just tried an nmap and it seems to not be there … at all. So wierd

It’s from my Internet, provider. I can only access dhcp, routing etc via their web interface.
Now I think it’s because I set a static IP. And now that the subnet is not the same it is “lost” any idea how I can find it?

Not sure how you access it if you have set the ip to static on the pi, just connect a keyboard and monitor to the pi and remove the sttaic IP setting then reboot.

When doing so I keep having bluetooth errors in the cli and cant write any commands.
Any idea what I could do?

A workaround is to log into your router and change the network settings to match your old setup. Be aware that if you have set new static ips in the new network you will face the same issue on these.

In future set all your static ip’s on the router, not on the device. Then if you do change routers your device will just get a new ip from the new router.

Will a fresh install and restore reset the static IP? I don’t know the answer to that but someone will.

That sounds complicated… One router uses 192.168.86.XX while another uses 10.0.0,XX

It normally pretty easy to set. if you search for your router type and IP range you should get some guides. Or tell us what make and model you router is and we could point you in the right direction.

It’s not complicated at all.

Good to know. Maybe you can point Luds to how to do this.

I already did. Log in to the router, change it. 192.168.xx.0/24 (255.255:255.0) to 10.0.x.0/24 (255.255.255.0) or vice versa.

1 Like

Try to wire a laptop with an ethernet cable to the HA machine. Configure your laptop temporarely with a fixed IP to be in the same (old) network. I do believe that was 10.0.0.x You should be able to communicate then from you laptop to HA and configure the device to DHCP. . Write down the MAC address of your HA device. Then restart and you device will get an IP from your new router. Most routers will be able to show you a list of attached devices and show their MAC address. Based the MAC you have written down, you know the IP that was assigned to the HA device. In most cases you can also set a DHCP reservation in the router. That will prevent the IP address to change when renewed.