Home Assistant restart duration on Raspberry Pi 4 @ HAOS

I saw diferrent restart durations during the last months and wanted to start a user experience thread on this.

Normally it takes my Pi 4 6 minutes from pressing the “restart Home Assistant” button until the finished startup of Home Assistant.

Recently I disabled AppDaemon container and detected, a HA restart would now only take 3 minutes (1/2 of the time before)! Now after upgrading to HA 2022.2.6 I’m back at 6 minutes restart duration. So it had nothing to do with the AppDaemon container/addon.

I’d like to see if those 6 minutes are “just normal” or if it is influenced by other parts of the HAOS system.

Let’s start comparing our Pi 4’s:

→ Pi 4 (8 GB, 1.8 GHz) - HA 2022.2.6 - 6 minutes

Copy / paste this to post:
→ Pi 4 (X GB, 1.X GHz) - HA 202X.X.X - X minutes

Much depends on the integrations that are loaded. You can see how much time each integration takes at
configuration → settings → info

In my case, Google calendar (20.59s) and Templates (20.09s) are the worst.

My Pi4 could take 3 mins or even longer. MQTT always takes the longest at around 60 secs per restart.

It’s totally crazy:

→ Pi 4 (8 GB, 1.8 GHz) - HA 2022.2.9 - 6 minutes
→ Pi 4 (8 GB, 1.8 GHz) - HA 2022.3.1 - 2 minutes

Yes, you’re right: since I updated to HA 2022.3.1, restarting HA Core only takes 2 minutes.


Update: seems to be a false positive observation:
Using the https://my-home-assistant:8123/config/info page helped track down the individual integration setup time.
Turned out I had a KODI instance running at the time of updating to HA Core 2022.3. KODI would normally take a lot of time to set up (as it seems this integration try’s to poll all clients until like forever - huge timeout?); now the one with the longest startup time is command_line with 175.89 s.

So I tend to say this comparison approach topic is pretty useless, as the HA Core restart duration not only depends on the hardware power but much much more on the amount and type of integrations.