Hass frontend crashes every day

I think we’re talking about separate issues. I tried maxing out the power consumption by doing video transcoding for a couple of hours. While the test was running, neither the Pi nor HA itself had any problems (other than getting really hot!). I have yet to find a correlation between my random restarts and any other tracked metric.

I am also only running HA core in a docker container, not the full HASS.IO OS.

Your power supply may have been your issue, but it almost certainly wasn’t mine.

I used this powered USB3 hub: https://www.amazon.com/gp/product/B07G8CMR18/

So far I am powering the rpi4 from the dedicated charge port on the hub (no data), and the Coral from one of the regular data ports. I don’t know if the original 3A power supply was a faulty one, but switching it out definitely solved my short-term stability problem.

The new hub has a 4A supply and can provide 2.4A to the dedicated charge port, and presumably at least 900mA to the regular data ports per Coral’s spec sheet for max draw.

1 Like

Thanks! :slight_smile:
Looks like I found the same powered USB3 hub in Sweden: atolla 7ports USB 3.0 hubb 5Gbps med extra port för laddning 2,4A indi – Nördic (page in Swedish).
Will order and give it a try.

This sounds like a different issue to the one originally posted about, which is definitely related to the OS version and some incompatibility introduced in 5.x, which I am unsure whether it has yet been addressed as I haven’t checked recently.

Hello all i have also been experiencing home assistant crashing do you think this is the same issue discussed on this thread and that I should be down grade the os.

I have been having issues for over a year on a pi 3b, 6 months ago i upgraded to pi4 2gig thinking (hoping) this would resolve it but even now HA crashes for no good reason, have left it connected to keyboard and monitor normally it is unresponsive when it crashes with no msg but to day i had a few additional lines.

[276685.677257] rcu: INFO ruc_preempt detected stalls on CPUs/tasks:
[276685.677318] rcu: o3-...!: (1GPs behind) idle=21a/1/0x4000000000000000 softirq=5006295/5006296 fqs=3
[276748.697836] rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:

any advice

I use hass os boot from sd card. have replaced sd card a couple of times to rule out corrupt card assume power supply is good HA monitors it ?

I have an RPi 4 64-bit, Kingston SSD and I downgraded to 5.4 and it’s stable again since. I saw issues since 5.6. System would go down within 24h. Sometimes within 1h, sometimes it nearly lasted a day. Unmanageable for a system that runs your house:).

Not sure what it is. I can see there are multiple tickets raised on Git too, but none seem to provide definitive closure nor any indication that someone is working on it or close to fixing it.

Sticking to 5.4 until I see some progress there.

I have the same issue, my pi 4 with ssd drive normaly crashed every 2 weeks. But after the last updates it crashes every 24 hour. In this way the ha is not usable. I run the ha boot direct on my pi so no containers and running the plugins vpn, knx, duckDNS and the new Slimme meter. I have the latest version of ha installed. I hope it can be solved because Otherwise all my work and settings are useless

Have you tried downgrading to 5.4 or lower? Cleanest way I found was to make a snapshot, download the 5.4 image from git and start with a clean 5.4 install. Restoring your snapshot.
I got all kind of funny errors in the log when I use the command in the console to downgrade.

I prefer to run the latest version due to security updates. I removed the Nissan Leaf code and now it runs a few days. It look like HA hangs after to many errors in the log.

I do too, however I prefer my house to work above the latest update :nerd_face:.

I tried disabling different integrations and add ons, but nothing seemed to fix it.

I hope they will solve this kind of buffer overflow bug. They work so hard on the new integrations of HA, every week tons of improvements. But if the platform HA has major bugs like this what the use of it :woozy_face:

i had this problem as mentioned with my Rpi4 with MicroSD card.
a month ago i migrated my HA installation to ODROID N2+ with 64GB EMMC.
haven’t had any issues since and i’m running the lastest versions ever since i migrated to the new hardware.

Question is why is it happening to some RPi users and not to others. I have a mate with roughly the same set up and he’s cruising along nicely with updates while mine doesn’t :man_shrugging:t2:.

I’m not in the business of switching my hardware around every time that could be a potential issue. Let along have the money to spend on it.
But I’m also not going to slam the creators for it as I don’t have the technical inclination to start digging in logs and producing error logs to be analyzed.

I’ll just have to wait for people more clever than me to figure it out.

The most problem happens because of microSD again if you are having a problem and your friend is not having it, maybe time to check your microSD.

What SD card did you buy? What one did your friend buy. There’s an SD card that has proven to work, if I recall correctly, it’s the Samsung evo.

We both have a Kingston SSD, so not related to SD card. I appreciate all the suggestions, but I’ve checked all of that: Sata adapter changed, attached SSD to power usb hub, changed to an official RPi power supply, plug in usb2 instead of 3, CPU load, temp, memory usage… It happens on both sd as SSD.
All the obvious suspects have been meticulously ruled out.

3 Likes

just in case this puts any light on this problem after a week away HA obviously went down, but when i got home for the first time i was able to access the home-assistant-log. i don’t no if half the logs are because it crashed or the cause but here we are !!

2021-07-21 20:40:39 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_basic] The 'value_template' option is deprecated, please replace it with 'state_value_template'
2021-07-21 20:40:39 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_basic] The 'value_template' option is deprecated, please replace it with 'state_value_template'
2021-07-21 20:40:39 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_basic] The 'value_template' option is deprecated, please replace it with 'state_value_template'
2021-07-21 20:40:39 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_basic] The 'value_template' option is deprecated, please replace it with 'state_value_template'
2021-07-21 20:40:39 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_basic] The 'value_template' option is deprecated, please replace it with 'state_value_template'
2021-07-21 20:40:39 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_basic] The 'value_template' option is deprecated, please replace it with 'state_value_template'
2021-07-21 20:40:39 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_basic] The 'value_template' option is deprecated, please replace it with 'state_value_template'
2021-07-21 20:40:39 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_basic] The 'value_template' option is deprecated, please replace it with 'state_value_template'
2021-07-21 20:40:46 WARNING (MainThread) [homeassistant.config_entries] Config entry '192.168.2.143' for wled integration not ready yet: Invalid response from API: Error occurred while communicating with WLED device at 192.168.2.143; Retrying in background
2021-07-21 20:42:06 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer-F3EC15 data
2021-07-21 20:45:03 WARNING (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for stair_lights (192.168.2.130): Error connecting to ('192.168.2.130', 6053): [Errno 113] Connect call failed ('192.168.2.130', 6053)
2021-07-21 20:45:09 ERROR (MainThread) [homeassistant.components.wled] Error fetching wled data: Invalid response from API: Error occurred while communicating with WLED device at 192.168.2.142
2021-07-21 20:45:09 ERROR (MainThread) [homeassistant.components.wled] Error fetching wled data: Invalid response from API: Error occurred while communicating with WLED device at 192.168.2.141
2021-07-21 20:45:22 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellyswitch25-F33249 data
2021-07-21 20:45:23 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-E0980694DBB7 data
2021-07-21 20:45:24 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer2-E0980695B4F0 data
2021-07-21 20:45:42 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer-F3EC15 data
2021-07-21 20:45:44 WARNING (SyncWorker_4) [urllib3.connectionpool] Retrying (Retry(total=2, connect=None, read=False, redirect=None, status=3)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f953401f0>: Failed to establish a new connection: [Errno -3] Try again')': /v1/me/player
2021-07-21 20:45:49 WARNING (MainThread) [homeassistant.helpers.entity] Update of media_player.spotify[removed by me] is taking over 10 seconds
2021-07-21 20:45:50 WARNING (SyncWorker_4) [urllib3.connectionpool] Retrying (Retry(total=1, connect=None, read=False, redirect=None, status=3)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f95fe1e20>: Failed to establish a new connection: [Errno -3] Try again')': /v1/me/player
2021-07-21 20:45:51 WARNING (MainThread) [hass_nabucasa.google_report_state] Unable to connect: Cannot connect to host remotestate.nabucasa.com:443 ssl:default [Try again]
2021-07-21 20:45:59 WARNING (MainThread) [homeassistant.components.ps4.media_player] PS4 could not be reached
2021-07-21 20:46:40 WARNING (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for stair_lights (192.168.2.130): Timeout while waiting for API response!
2021-07-21 20:46:47 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-E0980694DBB7 data
2021-07-21 20:48:38 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities light.reading_light
2021-07-21 20:49:45 WARNING (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for stair_lights (192.168.2.130): Error connecting to ('192.168.2.130', 6053): [Errno 113] Connect call failed ('192.168.2.130', 6053)
2021-07-21 20:51:16 WARNING (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for stair_lights (192.168.2.130): Error connecting to ('192.168.2.130', 6053): [Errno 113] Connect call failed ('192.168.2.130', 6053)
2021-07-21 20:52:16 WARNING (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for stair_lights (192.168.2.130): Error connecting to ('192.168.2.130', 6053): [Errno 113] Connect call failed ('192.168.2.130', 6053)
2021-07-21 20:53:22 WARNING (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for stair_lights (192.168.2.130): Error connecting to ('192.168.2.130', 6053): [Errno 113] Connect call failed ('192.168.2.130', 6053)
2021-07-21 20:55:01 WARNING (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for stair_lights (192.168.2.130): Error connecting to ('192.168.2.130', 6053): [Errno 113] Connect call failed ('192.168.2.130', 6053)
2021-07-21 20:55:56 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities light.unit_lights
2021-07-21 20:56:33 WARNING (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for stair_lights (192.168.2.130): Error connecting to ('192.168.2.130', 6053): [Errno 113] Connect call failed ('192.168.2.130', 6053)
2021-07-21 20:59:02 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities light.unit_lights
2021-07-21 20:59:23 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer-F3EC15 data
2021-07-21 21:01:29 WARNING (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for stair_lights (192.168.2.130): Error connecting to ('192.168.2.130', 6053): [Errno 113] Connect call failed ('192.168.2.130', 6053)
2021-07-21 21:03:29 WARNING (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for stair_lights (192.168.2.130): Error connecting to ('192.168.2.130', 6053): [Errno 113] Connect call failed ('192.168.2.130', 6053)
2021-07-21 21:08:32 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-E0980694DBB7 data
2021-07-21 21:11:16 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellyswitch25-F33249 data
2021-07-21 21:13:27 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities light.unit_lights
2021-07-21 21:17:23 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities light.reading_light
2021-07-21 21:24:50 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer2-E0980695B4F0 data
2021-07-21 21:30:02 WARNING (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for stair_lights (192.168.2.130): Error connecting to ('192.168.2.130', 6053): [Errno 113] Connect call failed ('192.168.2.130', 6053)
2021-07-21 21:31:46 WARNING (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for stair_lights (192.168.2.130): Error connecting to ('192.168.2.130', 6053): [Errno 113] Connect call failed ('192.168.2.130', 6053)
2021-07-21 21:33:08 WARNING (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for stair_lights (192.168.2.130): Error connecting to ('192.168.2.130', 6053): [Errno 113] Connect call failed ('192.168.2.130', 6053)
2021-07-21 21:37:38 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer-F3EC15 data
2021-07-21 21:38:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer2-E0980695B4F0 data
2021-07-21 21:40:05 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities light.unit_lights
2021-07-21 21:41:16 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellyswitch25-F33249 data
2021-07-21 21:41:23 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer2-E0980695B4F0 data
2021-07-21 21:43:26 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer-F3EC15 data
2021-07-21 21:43:29 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-E0980694DBB7 data
2021-07-21 21:43:48 WARNING (MainThread) [homeassistant.helpers.entity] Update of calendar.holidays_in_united_kingdom is taking over 10 seconds
2021-07-21 21:44:50 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer-F3EC15 data
2021-07-21 21:49:09 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities light.unit_lights
2021-07-21 21:52:27 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities light.unit_lights
2021-07-21 21:58:58 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities light.unit_lights
2021-07-21 22:09:37 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellyswitch25-F33249 data
2021-07-21 22:09:53 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer-F3EC15 data
2021-07-21 22:23:50 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities light.unit_lights
2021-07-21 22:41:04 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities media_player.upstairs_speaker
2021-07-21 22:43:17 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities light.christmas_lights
2021-07-21 22:43:17 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities automation.pir_hall
2021-07-21 22:43:17 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities light.reading_light
2021-07-21 22:46:48 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities light.unit_lights
2021-07-21 23:01:53 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-E0980694DBB7 data
2021-07-21 23:01:54 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer-F3EC15 data
2021-07-21 23:02:47 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities light.reading_light
2021-07-21 23:03:16 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellyswitch25-F33249 data
2021-07-21 23:04:24 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer-F3EC15 data
2021-07-21 23:05:46 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellyswitch25-F33249 data
2021-07-21 23:06:02 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-E0980694DBB7 data
2021-07-21 23:07:10 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellyswitch25-F33249 data
2021-07-21 23:07:29 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer2-E0980695B4F0 data
2021-07-21 23:08:00 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer-F3EC15 data
2021-07-21 23:08:32 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-E0980694DBB7 data
2021-07-21 23:11:19 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellyswitch25-F33249 data
2021-07-21 23:13:50 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer2-E0980695B4F0 data
2021-07-21 23:14:53 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-E0980694DBB7 data
2021-07-21 23:14:55 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellyswitch25-F33249 data
2021-07-21 23:15:14 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer2-E0980695B4F0 data
2021-07-21 23:16:33 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer-F3EC15 data
2021-07-21 23:17:25 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellyswitch25-F33249 data
2021-07-21 23:23:13 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellyswitch25-F33249 data
2021-07-21 23:35:18 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer-F3EC15 data
2021-07-21 23:47:59 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer2-E0980695B4F0 data
2021-07-21 23:51:29 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-E0980694DBB7 data
2021-07-21 23:54:18 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer-F3EC15 data
2021-07-21 23:57:21 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer-F3EC15 data
2021-07-22 00:12:29 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer2-E0980695B4F0 data
2021-07-22 00:12:41 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-E0980694DBB7 data
2021-07-22 00:13:01 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellyswitch25-F33249 data
2021-07-22 00:13:03 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer-F3EC15 data
2021-07-22 00:13:53 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer2-E0980695B4F0 data
2021-07-22 00:14:05 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-E0980694DBB7 data
2021-07-22 00:16:02 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-E0980694DBB7 data
2021-07-22 00:16:04 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellyswitch25-F33249 data
2021-07-22 00:16:23 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer2-E0980695B4F0 data
2021-07-22 00:16:24 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer-F3EC15 data
2021-07-22 00:17:47 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer2-E0980695B4F0 data
2021-07-22 00:17:48 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer-F3EC15 data
2021-07-22 00:31:50 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer2-E0980695B4F0 data
2021-07-22 00:35:09 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer-F3EC15 data
2021-07-22 00:35:59 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer2-E0980695B4F0 data
2021-07-22 00:39:59 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-E0980694DBB7 data
2021-07-22 00:51:01 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellyswitch25-F33249 data
2021-07-22 01:06:48 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer-F3EC15 data
2021-07-22 01:10:24 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer-F3EC15 data
2021-07-22 01:11:07 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellyswitch25-F33249 data
2021-07-22 01:27:26 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer2-E0980695B4F0 data
2021-07-22 01:37:34 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellyswitch25-F33249 data
2021-07-22 01:56:01 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellyswitch25-F33249 data
2021-07-22 01:56:21 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer-F3EC15 data
2021-07-22 01:58:31 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellyswitch25-F33249 data
2021-07-22 01:58:32 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer2-E0980695B4F0 data
2021-07-22 01:58:51 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer-F3EC15 data
2021-07-22 02:09:49 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellyswitch25-F33249 data
2021-07-22 02:10:42 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer-F3EC15 data
2021-07-22 02:13:25 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellyswitch25-F33249 data
2021-07-22 02:14:18 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer-F3EC15 data
2021-07-22 02:15:59 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-E0980694DBB7 data
2021-07-22 02:25:47 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer2-E0980695B4F0 data
2021-07-22 02:38:48 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer-F3EC15 data
2021-07-22 02:59:22 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellyswitch25-F33249 data
2021-07-22 03:03:18 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer-F3EC15 data
2021-07-22 03:04:02 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer2-E0980695B4F0 data
2021-07-22 03:05:59 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer2-E0980695B4F0 data
2021-07-22 03:09:06 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer-F3EC15 data
2021-07-22 03:10:11 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-E0980694DBB7 data
2021-07-22 03:12:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer2-E0980695B4F0 data
2021-07-22 03:14:20 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-E0980694DBB7 data
2021-07-22 03:19:28 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellyswitch25-F33249 data
2021-07-22 03:24:32 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-E0980694DBB7 data
2021-07-22 03:25:16 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellyswitch25-F33249 data
2021-07-22 03:29:08 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer2-E0980695B4F0 data
2021-07-22 03:37:40 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellyswitch25-F33249 data
2021-07-22 04:00:00 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer-F3EC15 data
2021-07-22 04:01:24 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer-F3EC15 data
2021-07-22 04:11:03 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer-F3EC15 data
2021-07-22 04:11:31 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellyswitch25-F33249 data
2021-07-22 04:16:32 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-E0980694DBB7 data
2021-07-22 04:25:38 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-E0980694DBB7 data
2021-07-22 04:35:59 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer2-E0980695B4F0 data
2021-07-22 04:42:26 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-E0980694DBB7 data
2021-07-22 05:02:25 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellyswitch25-F33249 data
2021-07-22 05:05:17 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer-F3EC15 data
2021-07-22 05:10:23 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer2-E0980695B4F0 data
2021-07-22 05:14:32 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer2-E0980695B4F0 data
2021-07-22 05:22:32 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer2-E0980695B4F0 data
2021-07-22 05:28:41 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer-F3EC15 data
2021-07-22 05:30:32 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer2-E0980695B4F0 data
2021-07-22 05:35:10 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellyswitch25-F33249 data
2021-07-22 05:35:32 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-E0980694DBB7 data
2021-07-22 06:00:00 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities automation.pir_hall
2021-07-22 06:02:44 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer2-E0980695B4F0 data
2021-07-22 06:12:27 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities light.unit_lights
2021-07-22 06:16:13 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities light.unit_lights
2021-07-22 06:16:14 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer2-E0980695B4F0 data
2021-07-22 06:19:02 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer-F3EC15 data
2021-07-22 06:29:52 WARNING (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for stair_lights (192.168.2.130): Error connecting to ('192.168.2.130', 6053): [Errno 113] Connect call failed ('192.168.2.130', 6053)
2021-07-22 06:30:17 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-E0980694DBB7 data
2021-07-22 06:35:11 WARNING (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for stair_lights (192.168.2.130): Error connecting to ('192.168.2.130', 6053): [Errno 113] Connect call failed ('192.168.2.130', 6053)
2021-07-22 06:39:39 WARNING (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for stair_lights (192.168.2.130): Error connecting to ('192.168.2.130', 6053): [Errno 113] Connect call failed ('192.168.2.130', 6053)
2021-07-22 06:47:05 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-E0980694DBB7 data
2021-07-22 06:49:48 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities light.reading_light
2021-07-22 07:03:17 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer2-E0980695B4F0 data
2021-07-22 07:03:53 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-E0980694DBB7 data
2021-07-22 07:07:25 WARNING (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for stair_lights (192.168.2.130): Error connecting to ('192.168.2.130', 6053): [Errno 113] Connect call failed ('192.168.2.130', 6053)
2021-07-22 07:12:22 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities light.unit_lights
2021-07-22 07:14:51 WARNING (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for stair_lights (192.168.2.130): Error connecting to ('192.168.2.130', 6053): [Errno 113] Connect call failed ('192.168.2.130', 6053)
2021-07-22 07:15:00 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities media_player.upstairs_speaker
2021-07-22 07:18:26 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer2-E0980695B4F0 data
2021-07-22 07:23:41 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer2-E0980695B4F0 data
2021-07-22 07:23:41 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer-F3EC15 data
2021-07-22 07:23:59 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-E0980694DBB7 data
2021-07-22 07:25:05 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer2-E0980695B4F0 data
2021-07-22 07:28:11 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities light.reading_light
2021-07-22 07:37:41 ERROR (MainThread) [homeassistant.helpers.entity] Update for media_player.spotify[removed by me]fails
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 401, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 609, in async_device_update
    raise exc
  File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/homeassistant/homeassistant/components/spotify/media_player.py", line 211, in wrapper
    result = func(self, *args, **kwargs)
  File "/usr/src/homeassistant/homeassistant/components/spotify/media_player.py", line 468, in update
    run_coroutine_threadsafe(
  File "/usr/local/lib/python3.9/concurrent/futures/_base.py", line 445, in result
    return self.__get_result()
  File "/usr/local/lib/python3.9/concurrent/futures/_base.py", line 390, in __get_result
    raise self._exception
  File "/usr/src/homeassistant/homeassistant/helpers/config_entry_oauth2_flow.py", line 464, in async_ensure_token_valid
    new_token = await self.implementation.async_refresh_token(self.token)
  File "/usr/src/homeassistant/homeassistant/helpers/config_entry_oauth2_flow.py", line 88, in async_refresh_token
    new_token = await self._async_refresh_token(token)
  File "/usr/src/homeassistant/homeassistant/helpers/config_entry_oauth2_flow.py", line 179, in _async_refresh_token
    new_token = await self._token_request(
  File "/usr/src/homeassistant/homeassistant/helpers/config_entry_oauth2_flow.py", line 205, in _token_request
    resp.raise_for_status()
  File "/usr/local/lib/python3.9/site-packages/aiohttp/client_reqrep.py", line 1000, in raise_for_status
    raise ClientResponseError(
aiohttp.client_exceptions.ClientResponseError: 503, message='Service Unavailable', url=URL('https://accounts.spotify.com/api/token')
2021-07-22 07:44:53 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shellydimmer-F3EC15 data
2021-07-22 07:47:56 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching shelly1-E0980694DBB7 data


[log was far to big to post all]

Current Status 05/08/2021

Given the amount of time that has passed, I hoped this may have been resolved in the latest OS (6.2). Therefore, I tried upgrading, only to have everything become unresponsive within 24 hours, exactly as experienced previously, requiring a power cycle on my Raspberry Pi to bring it back to life.

In summary then, the current status, unfortunately. appears to be unchanged and this is still an issue as of OS 6.2. The really bad news is that downgrading back to OS 4.20 no longer seems to be possible! Issuing the command ha os update --version 4.20 in the terminal produces an unknown error and the Supervisor log shows the following:

21-08-05 15:48:25 ERROR (MainThread) [supervisor.hassos] Home Assistant Operating System update failed with: Installation error: Compatible mismatch

I will continue to investigate and see if there is another way to downgrade. Otherwise, it might be a case of reimaging from an old base image I still have copy of (OS 4.15), upgrading to OS 4.20 and restoring everything from a snapshot. :weary:

I recall you need to downgrade to 5.13 before you can downgrade to older versions.

1 Like

I’ll throw my hat in here too.

RPi 4 64-bit, running 6.2.

Stability has gotten so bad I have put a Kasa smart switch in front of my RPi so I can just power cycle it. Comes right back up and it seems to be dying every 1-2 days.