this post was submitted on 25 Jul 2026
11 points (92.3% liked)

homeassistant

20119 readers
10 users here now

Home Assistant is open source home automation that puts local control and privacy first.
Powered by a worldwide community of tinkerers and DIY enthusiasts.

Home Assistant can be self-installed on ProxMox, Raspberry Pi, or even purchased pre-installed: Home Assistant: Installation

Discussion of Home-Assistant adjacent topics is absolutely fine, within reason.
If you're not sure, DM @GreatAlbatross@feddit.uk

founded 3 years ago
MODERATORS
 

Hi All, I cannot keep the connection stable to my pi. I put HAOS on a pi5 and I managed to get logged in on the app eventually and everytime I leave and come back it cannot reconnect.

It says it needs to refresh external IP but I only use it locally so I cant see why it would need this and I have location access allowed so it should know I am home.

I am also attempting to access on local IP 8321 and failing.

top 13 comments
sorted by: hot top controversial new old
[–] Successful_Try543@feddit.org 2 points 1 day ago (1 children)

It says it needs to refresh external IP but I only use it locally so I cant see why it would need this and I have location access allowed so it should know I am home.

The HA app on your smartphone needs to refresh its exernal ip address (not your pi). It still thinks it's on mobile connection (or even is if your wifi coverage is odd) or at least in a different network than your pi running HA (vpn?).

For me, closing and re-opening the app works if I encounter that message.

[–] Squizzy@lemmy.world 1 points 1 day ago

Okay makes sense, it doesnt improve with closing and trying again but it does if I power down and power up the pi which is far from ideal.

I think I can reserve IPs on my router so I could ensure they are always the same.

May also be a mesh issue, I have an ISP booster and it seems to cause issues with hue bridge too.

[–] cheesebob8@lemmy.zip 2 points 1 day ago (1 children)

There isn’t a lot of detail in the post but are you using http or https? By default it only does http and some browser/device settings force https.

[–] Squizzy@lemmy.world 1 points 1 day ago

Hi yes, it is http. I have had connection but without changing anything or leaving the house, I will open the app to that message.

[–] Trilogy3452@lemmy.world 2 points 1 day ago

Are you using a VPN by any chance? Proton VPN on Android needs LAN connections enabled for a stable connection

[–] Cyber@feddit.uk 1 points 1 day ago (1 children)

Ok, you're going to need to give us more to work on here...

Ie, I could be assuming the Pi has ethernet cable to the router and you're trying to access it via a desktop PC which is also cabled to the router? I'm guessing at least one of those assumptions are wrong...

Are you trying to access it from a webpage, or the Home Assistant app?

First up, how comfortable are you with command line? I'd run a continuous ping to the Pi and just see what happens there first...if that's flaking out, your network or Pi has issues and you need to fix that before anything else.

If you're accessing the Pi from a phone, is it only connected to the local wifi or are you also connected to a VPN, or does the phone keep auto-connecting to a nearby Starbucks, etc...

[–] Squizzy@lemmy.world 1 points 1 day ago (1 children)

It is set on wifi, trying to access by android app. When that fails I try mobile browsers but it has mostly been the same issue.

I am not knowledgeable on cli but I am trying and learning so I can get there but its trial and plenty of errors without much understanding of the logic.

All local no other networks nearby.

[–] Cyber@feddit.uk 1 points 20 hours ago (1 children)

Ok, next check your wifi signal strength is ok.

If you have a laptop / PC open the cli and use ping with the Pi's IP address.

If not, get a ping app on your phone (I used vernet from Fdroid), check the settings have a really high number of pings (ie 60) and ping your Pi...

If the ping times out or the response times are all over the place with , then it's either your wifi or something else on the Pi / phone.

I presume your only running home assistant on that Pi, nothing else?

[–] Squizzy@lemmy.world 1 points 13 hours ago

Yes jhst the pi, I have a sispicion that the ISP wifi booster is causing it too though as it sometimes messes with hue bridge but the SSID and password are the same so it sbould be interchangeable

[–] hendrik@palaver.p3x.de 2 points 1 day ago* (last edited 1 day ago)

I think a bit of additional diagnosis would be needed. Is it still running automations? Can you ping it? I had for example my IP banned, which resulted in similar issues (has to be manually enabled in the http integration, I believe). And it rarely happens, but Raspberry Pis can also crash and become unresponsive. You could tell by nothing happening in the home anymore. Or maybe it somehow changed IP addresses? Does it have a static address or does the router do weird things with DHCP? Does http://homeassistant.lan:8123/ work and then also stops working?

[–] mhzawadi@lemmy.horwood.cloud 2 points 2 days ago (1 children)

could be the port is wrong, the default is 8123

[–] Squizzy@lemmy.world 1 points 2 days ago

Yeah, I hoped I had fumbled it but I tried on a browser too and it didnt work. If I put the pi on the monitor it shows as active with the correct IP.

I didnt change anything from leaving the housr and returning so it should have attempted the same port as worked previously.

[–] MuttMutt@lemmy.world 1 points 1 day ago

How is the raspberry pi connected to the router? Have you used it for other projects in the past? What are you using for storage? Is the storage name brand or the cheapest thing you could buy? Did you use the storage for something else first? If yes how long? Have you connected the raspberry pi to a monitor and checked the logs/ made sure it's running properly? Did you set a static ip address in HomeAssistant or set a static reservation in your router?

What steps have you taken to troubleshoot?