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.
post
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?
could be the port is wrong, the default is 8123
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.
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...
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.
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?
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?
Are you using a VPN by any chance? Proton VPN on Android needs LAN connections enabled for a stable connection
all 11 comments