this post was submitted on 25 Jul 2026
1 points (100.0% liked)

homeassistant

20314 readers
2 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 9 comments
sorted by: hot top controversial new old
[–] mhzawadi@lemmy.horwood.cloud 0 points 3 weeks ago

could be the port is wrong, the default is 8123

[–] hendrik@palaver.p3x.de 0 points 3 weeks ago* (last edited 3 weeks 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?

[–] Trilogy3452@lemmy.world 0 points 2 weeks ago

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

[–] Successful_Try543@feddit.org 0 points 2 weeks 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 0 points 2 weeks 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.

[–] Cyber@feddit.uk 0 points 2 weeks 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 0 points 2 weeks 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 0 points 2 weeks ago

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?

[–] cheesebob8@lemmy.zip 0 points 2 weeks ago

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.