Cant connect to HA after router swap

Hello, i am very new to HA (like less than a few months) and still learning how everything works. im trying to switch my router from the spectrum router they give you to a Orbi RBE371 and am having a hard time finding out how to get HA and everything to switch over. im finding some info like, they say to switch the ip to static then switch the router and put the old IP adress in the new router but that isint working. maybe im changing the wrong IP address in the wrong setting or something? I have very limited knowledge on the IT side. The screenshot is of the IP address before switching the router. The photo of the computer screen is after switching the router. I was able to load into HA dashboard but not control any devices. The I tried switching the IP address back but now i cant connect to HA at all. I also tried logging out of the HA app and now when i try to log back in to the http://192.168.1.230:8123 that it gives me to try and use i just get a blank screen.

Your network before was 192.168.1.x and after is 10.168.168.x
Completely different networks, so no, I am not surprised that anything isn’t working.
Go to your new router and change its local IP to 192.168.1.1 and everything should be back to normal.

I switched it back to the 192 after realizing it was a different ip and i went from being able to log into home assisistant but not control any devices to now not being able to log in to home assisistant at all. So now i dont know how to get into home assisistant to change the ip

Hi, welcome to the forum!

Is the system you are using to connect to HA in the same network?
Is your HA in the same network?

Same network = same as the router, so in 192.168.1.x

Here is the router and what it says when i try and connect to the HA app


What does the monitor on the Home Assistant controller say?

Right now nothing because i cant even log in now. But i could press the button to turn the rooms on but nothing would happen. Realized it wasnt the same ip as before the switch so i switched it back and now i cant log in at all.

??. You plug in a monitor to whatever hardware you are using for your Home Assistant server.

Can you SSH into the Home Assistant server from your PC?

SSH? Could i plug my laptop into one of the usb from the HA hub?

Short answer- no.
I think you are confusing terms. What did you install Home Assistant on? That is your Home Assistant Server. You should plug in a keyboard and monitor, usually an HDMI monitor. This will provide some essential information for troubleshooting.

You connect to your Home Assistant server using a web browser on the same network. Once running, your Home Assistant server can go to a closet or basement and rarely ever to be seen again. (You can disconnect the keyboard and monitor at that time).

Ok so i connected my laptop with a hdmi cable and was able to log back in to HA to be able to reset the configuration in the (configure network interfaces) setting. So now i have control of HA and everything back. But the main problem is still that i cant get it to connect when i switch to the new router.

Wait? What? - All this did was to add a second screen to the laptop. Are you saying that you installed Home Assistant on your laptop? If so, then you can only access Home Assistant through a browser on another PC on your network.

From what you have said so far, your new router is assigning a different local network.

I think you are missing the point that Home Assistant is a server. It is meant to run 24/7 and most laptops aren’t designed for 24/7 use. They get hot and throttle the CPU speed or even force a shutdown. You cannot access the Home Assistant server from the Home Assistant server except for some command-line operations using the monitor and keyboard attached to the sever.

Before the super-advanced purists chime in. Yes, it is possible to connect to Home Assistant using a browser on the same server hardware, but 1. This is highly not recommended, and 2. It would require skills with containers or virtualizations that I suspect you don’t have.

Which brings me back to my original question. What did you install Home Assistant on and how? (OK, I didn’t ask how before, but this is important).

When i set up HA i did it on my phone using the included QR codes and went through the process. But then later added the laptop and the ability to use HA away from home. Sorry im not very IT knowledgeable. Im learning most of this on the fly.

Hi
First of all , if you want to swap Routers, then swap your router, preferable after you made sure NO IP Devices has static set in it’s network-setting , so set your ha to automatic, your laptop is most likely already, and most wifi device likevice.

  • Turn of you HA, shut it down !
  • Plug out your old Router, and plug in your NEW, Don’t have 2 routers as your phone is most likely still on your Old Router, if you havent turned it off
  • Set up your router and connect to it it’s interface with a networkcable from your laptop direct to the Router, make sure it works.
  • Restart your phone, make sure it gets an IP from your new Router
  • Start HA again, check in the Router if it turns up as your phone and laptop
    *try to access HA with http://homeassistant.local:8123

I hope we’re just talking semantics here. You cannot install the Home Assistant server on a phone. You install Home Assistant on a Raspberry Pi3 or later, or an old PC or other x-86 computer. That is your Home Assistant server. Alternately you could buy a Home Assistant Green or Yellow appliance which already has the Home Assistant server installed.

What you install on your phone is the Home Assistant companion app which allows you to connect to your Home Assistant server from your phone. (And as said before, you can connect to the server on a browser on the same local network).

If you had this all working before on the old router, then the only logical change would be that the new router is assigning a different private IP range to your local network. 10.168.168.x from your images above.

If you had this all working before - what hardware did you install Home Assistant on?

Ohhhh yeah thats where the confusion was. I have home assisistant green.

Ok i will try that. What i kept seeing was people were saying to make ha static then switch the router. Your saying the opposite.

The ISP-provided router will be static by default. Your old router was probably 192.168.1.1

Servers should preferably have a reserved IP address in the router. A reserved IP address means that whenever the router’s DHCP server sees the device’s MAC address, it will receive the reserved IP address. Functionally it performs as if it were a static IP without the need for managing static IP addresses. (A static IP address is assigned in the device itself; a reserved address is all done in the router).

To use static IP addresses, you have to assure that the static IP falls outside of the DHCP address range, and that no other device uses the same static IP address. DHCP makes this unnecessary.

Setting your Home Assistant IP to a static value would not help at all if, as I suspect, your new router is assigning your local private IP range to a different network. 192.168.1.x is not the same network as 10.168.168.x (as shown in your original post.)

I have never seen nor used a Home Assistant Green server but it is purpose-built for Home Assistant using the same processor family as the Raspberry Pi 5.

You have a few options.

  1. Make sure your new router is using the same network IP as the old router.

or

  1. Reset the Green to “factory new” and start over using the new router. This erases any automations or device configurations you may have made.

If you still have the old router, put it back online and verify that everything is working. Use a PC on the network and try to ping the router IP address; ping 192.168.1.1 /4. Then ping homeassistant.local /4. If I am right they will both be in the 192.168.1.x range.

Ok so that worked with getting home assistant to connect to the new router. But i cant control any of my devices now. I tried to re add them in HA but they cant be found.

Ok

i Assume you have rebooted/restarted those device you are talking about ?
( All Devices which were connected to your old Router, have their old IP in it’s settings, some needs a few minutes plugged out to release those settings, so they will broadcast a request for a new IP, from what ever DHCP Router is available.
Again it will be a good routine to check in your Router, that they turn up there, before adding them to HA.
I Have as a Rule to Rename all device in my Router first, so they have and report(in best case) the Name i want it to have in my network.
EDIT, Actually My IP Devices Name sometimes i rename already in their APP/OS Settings ( So they have the same name throughout everywhere )
A Router have after all your Home networks “Master” Role
(plug out those device as well, leave them for a cup of coffee (awhile ) , plug them in again BUT, Not before you have removed them from HA ( and reBooted HA, now that you already have messed things up )