HA restarts exactly every 60 minutes

Hello folks,

I found tons of hints, because people describing that Home Assistant restarts “randomly” or “roughly every x hours” or something, but mine is - let’s say - a bit more precise in pissing me off: it restarts after exactly (speeking of the exact minute within ~20 seconds accuracy!) after 60 minutes of uptime. At the moment it’s every hour at 43 minutes and some seconds…
It only moves since the restart takes some time…
Even if I manually restart (Dev. Tools → Restart → Reboot System or Shutdown and reboot) sometime in between, it sticks to its pattern to restart as if I wouldn’t have done that.

Logs are not empty, but there is no entry just before this restart. The complete system is also fully working just right until this restart. When I’m working on some automation or something I just suddenly see “Connection lost. Reconnecting…” in the bottom left corner…
*edit: e.g. the last entry before the last restart was:

2024-09-27 22:38:59.926 ERROR (MainThread) [reolink_aio.api] Error while unsubscribing push: Host 192.168.2.117:443: subscription request got a response with wrong HTTP status 400: Bad Request

And I already tried deactivating the reolink integration - no effect…

CPU is stable at 5% and RAM is also stable around 14%. Of course during reboot CPU is rising, RAM is first dropping, then increasing back to ~14%.
SD is free by ~32GiB

There is no automation having a schedule…

Anybody every heard of that behaviour and has a hint for me where to search for a solution?

My Setting:

  • pi4-64
  • on SD
  • no additional hardware
  • fixed IP handled by router, wired Ethernet connection
  • running HA OS 13.1, installed 1 yr ago following this tutorial: Raspberry Pi - Home Assistant
  • core 2024.9.3

The behavior is present since months… so over many updates!

Thanks a lot for any help!

Have you tried running in safe mode to see if the issue persists?

1 Like

thanks for this hint.
Just done that, no effect… at :43 it restarts and is back from Safe mode.

I just did one other thing:
created a “fresh” configuration.yaml (of course copied the old one) to ensure there is no template sensor or sth causing this.

fresh config didn’t help…

I would try with another, good/new, SD card with a fresh install (without restoring a backup yet) to exclude everything that is SW to see whether it’s your RPi in some way.

That’s a very easy, quick test.

I’m going to try the fresh install approach! need to buy a new SD card first… I’m reporting again in some days!

thanks so far!

ok… completely new SD card, same Pi, fresh installed HA OS, problem stays…

I will now:

  • try different power supply
  • disconnect ethernet for some time and see, if it happens during that time

if it stays, its the Pi itself…

There you go: you narrowed it down!

You could also try Raspberry PI OS but first try another power supply because that’s the cause of issues quite regularly with RPi’s.

power supply… no reboot for 8hrs of uptime with a cheap mobile phone charger…

thanks everybody for guiding me through this!

1 Like