Locked out setting Static IP

Hello,

I am very new to HA and any type of coding in general. I have been doing a lot of reading and watching of youtube videos to figure stuff out.

I am running home assistant on a Raspberry pi 4 Model B 4gb. While trying to setup the Adguard Add-on, I was attempting to set a static IP address in the settings-system-network page. After clicking save, I can no longer access Home Assistant. My network shows that it is still there with the same IP address, but homeassistant.local:8123 doesn’t work, and neither does :8123. The app sees the server, but my username and password won’t log me in. Can anyone offer assistance?

Thank you!

You’re sure it is still there?
Check if the IP still pings with the ping command.
In windows / linux, go to command line and type “ping put.ip.address.here”.
Also try to connect to the IP directly with your browser, instead of “homeassistant.local”. Does that help?

Did you set the correct subnet mask? Having a wrong subnet mask might cause some problems. In this case, set the same subnet mask for your client computer manually, and some IP address that somewhere close to the IP address you set for Home Assistant. The IP address must be free as well of course. Then try to connect to HA again. Then after you configure HA, set your client computer’s IP back to automatic.

Note that while you have a manual IP set for your client computer you will probably lose internet access.

Setting my computer to the same static IP settings let me in, thank you for the help! I had tried using the IP address as well, yes.

Clearly I don’t understand setting the static IP yet.

Automatic IP, or DHCP, means that the router gives an address for it when it connects.

Probably the IP will stay the same anyway until you change the router. The router will remember the device and should give it the same address. But you can’t be sure about it, especially if you have a lot of devices around. Or it might change during router update etc.

The best way to solve this problem with a home router is to set a static address for that device in the router’s own settings page. This means that when the router sees you HA device MAC address it will give it the IP address you specified.

You should make sure you enter an address that is in the same subnet as the other devices. Probably your network is the classic 192.168.1.X / 255.255.255.0 range. The DHCP range is often 192.168.1.100-255 in a home router. In that case you would enter something like 192.168.1.50 for your HA. So it falls outside the DHCP range but is in the same subnet. But note that these were just example and your router might use another network.

Thank you! I appreciate the assistance!