#How do I get my Raspi to restart if the system goes down?

1 messages · Page 1 of 1 (latest)

snow hound
#

Sorry if this is a very stupid question or in the wrong channel/thread. I am incredibly new to HA and Raspberry Pis and all of this stuff, and not very technically minded.

I got the HA system set up yesterday on a raspberry pi 3B+ and it worked great, but a few hours later I noticed that everything stopped working. Unplugging it and plugging it back in did the trick, but I'm left wondering if there's a way to have the device do that itself if HA goes down. Is that possible?

#

How do I get my Raspi to restart if the system goes down?

hasty schooner
#

If your pi has truly stopped, there is little you can do short of unplugging/plugging like you did. Rpi does have a watchdog but I’m not sure it would work in this case. One of the benefits of the newer Rpi5 is that it has a built-in power button which makes it a little easier to shutdown safely and restart without resorting to a replug. If this happens often something is wrong. Perhaps your SD card is corrupted?

sonic sequoia
#

Try to keep a monitor connected and see what it displays when it happens again. Also figure out what is stopped exactly. Just HA? All adons? Whole system?

snow hound
sonic sequoia
#

The idea was that you let me/us know and we do that together when it happens.

leaden saddle
#

🙂

snow hound
sonic sequoia
#

I'd rather not write a novel of possibilities when we might only need to check some things.
What is unclear about keeping a monitor connected to the device so you can debug when HA is unreachable again?

leaden saddle
#

If you want to get this solved, follow the things Impact asked you, otherwise it will be hard to troubleshoot 😉

#

Keep monitor and keyboard attached. When problem occures, then shout out and you'll get some commands to enter in your machine that will spit out some logs. Most of the time logs will provide detailed information about what is going wrong...

snow hound
#

You literally just plug an HDMI from the Pi into the monitor and that's it? That's what I didn't understand

mossy spoke
#

Without seeing what it on the screen, you're just guessing at the problem. It's a computer. Running an operating system. And it has a display that can show information. But only if there's a monitor attached.

snow hound
#

That's the part I didn't know, thanks.