this post was submitted on 26 Sep 2023
15 points (94.1% liked)

homeassistant

12051 readers
45 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. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io

founded 1 year ago
MODERATORS
 

Running on a Raspberry Pi 400

Lately my home has been dumb and unassisted at random times, and the HA app can't connect to my HA rpi server. Ditto when I go to homeassistant:8123 in a browser. I'm trying to see what's causing this, but the logs in app only show since last restart. Tried plugging my Pi into a monitor and getting something from the command line but not sure how to do the equivalent of a Linux tail or whatever. Searching was surprisingly unhelpful. Any advice?

Thanks much!

top 5 comments
sorted by: hot top controversial new old
[–] solidgrue@lemmy.world 4 points 1 year ago* (last edited 1 year ago) (1 children)

The same thing has been happening with my x86_64 install. I've had at least two incidents where the HA "locked up" and fell off the wire.

The HAOS console prompt is surprisingly useless for troubleshooting. I've enabled some System Monitor sensors in HA itself to track some key metrics that might help find a root cause.

It seems to have started with 2023.09 though, so it could be a bug in the supervisor or core code.

[–] spongebue@lemmy.world 1 points 1 year ago

Now that you mention it, I did update fairly recently...

[–] infeeeee@lemm.ee 4 points 1 year ago (1 children)

The most common point of failure on rpis are sd cards, and the symptoms are similar. If you running it from an sd card it's recommended to migrate to an usb ssd.

How do you run ha? Hassos, or normal docker?

[–] spongebue@lemmy.world 3 points 1 year ago

I've heard the SD cards can be pretty flakey, so I immediately replaced the one that came with the rpi with something a little more "hardy" (Samsung Pro Endurance 256GB). It's supposed to be able to handle a few years of streaming video turnover, so I wouldn't think that a ~month of text logs would already hose it but I've been wrong before.

Running hassos

[–] erte@lemmy.world 1 points 1 year ago

I’ve been having this issue for several months now. I just restored from a backup over the weekend and am hoping this resolves the issue. The backup was only a week old, so if my it’s my config that is causing the issue it will probably keep happening and I’ll go back to trouble shooting.

I tried to get some help from the HA discord and was suggested to get an x86 platform. Alternatively I could search the journal log, but I gave up on that approach as it is not very straight forward. Here’s a link on how to get to the journal if you can figure it out

https://community.home-assistant.io/t/how-to-get-to-your-log-after-restart-restore/387662