Hass frontend crashes every day

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.

Having same issue
I ended with ESP8266 pinging PI and switch off relay to restart it :frowning: one-two-three days lifetime and Pi hangs, cpu temperature about 70 degree after restart (59 before hang). If connected by ehernet Pi also kill all network activity on lan, restart helps.

I am a new user and my system is running HA OS (latest) on a RPI 4GB with a 512GB SSD, no SD Card at all. Every day or two the system starts slowing down until it becomes unresponsive. CPU and memory are all low and my ability to troubleshoot is limited so I don’t know what is causing it. All I can say is that I have spent a lot of time working in Node Red and often end up with many tabs open pointing to HASS. The only thing that seems to bring things back is to reboot the host.

Any suggestions on what to look for? And how to do so?

Just incase it helps I had the same issues as @Volume9, I have the red/white standard pi4 box which was getting really hot and killing off my network over LAN when it crashes, taking the ethernet plug out the back would instantly resolve the network activity.

Not had my pi crash for a week or so not sure if just lucky but tried a few things, which might be worth a look to see if this helps anyone.

  • Moved from Ethernet to wifi on the pi4, when I did this it no longer killed the LAN/router/network activity. But HA would still crash but at least it was just homeassistant offline (then similair process to restart the power via smart plug offline).

  • Open the pi4 case lid to allow more heat to escape.

  • Disabled ipv6 completely and just leave it to connect over ip4 via the homeassistant backend settings (same place to enable wifi).

This is all running the lastest version of homeassistant supervisor (6.2?)

I tried a lot to get it stable. And it look like I found the main cause of the HA hangs. After I disabled under Integrations The Google Cast. (found it because Google Cast was giving errors in the Log). And after that It is already almost one week stable. (Did not yet removed the automatic restart at night).

I’ll give this a try out of curiosity. Keep you posted of my experiences.

@Dotly did manage to solve your issue?
Have the exact same problem, everything works fine when we are there (summer house), making me think all is OK.
After leaving it takes a day or two before it crashes.
Happened 4 times now so I’m convinced it’s not just a coincidence.
Makes me think it could be related to some housekeeping on HA starting after some inactivity?

Brand new RPi 4 4GB w/ Samsung Evo Plus 32GB Micro SD Card.

Started with HassOS 6.6 64-bit clean install. With stock integrations/HACS and its stock integration/ frontend stuff.

Unreachable (not on the local network anymore)…hang or crash? every 12 hours or less…

Installed HassOS 4.2 (Stable) 64-bit clean install, with the same add-ons as previous… with the latest core (2021.11.4) & unsupported supervisor (2021.10.8), from:

https://github.com/home-assistant/operating-system/releases/tag/4.20

Perfect uptime. No crashes at all. Absolutely stable. HassOS 4.2 is a keeper.

Update Jan 26, 2022:
It has been 3 months? Still perfect, no crashes at all. HassOS 4.2 is definitely a keeper. Running latest core-2021.12.10 & supervisor-2021.12.2.

Had the same Problems with a RPi 4 , 1gb.
Having changed the swap size, i never had these problems again. Sometimes its slow, but normaly everyting works ok.
Perhaps this helps even with Rpi`s with more RAM ?
Here my post (and the thread)

Facing this issue once a week with a Lenovo ThinkCentre M700. It reports “rcu_sched self-detected stall on cpu” at console and the cpu usage increases until I power off/on the HA VM on proxmox. It’s really annoying…

What version of Proxmox?

7.1

Thought maybe you was using a old kernel. But you’re not. The only thing I’d suggest is to create another Home Assistant OS VM, restore HA backup, shutdown current HA VM to see if maybe the VM was misconfigured

I’m pleased to be able to finally report (almost exactly a year on) that the (RPi4 firmware) issue has been fixed in OS 7.1. Relevant entry from the release notes:

  • Update Raspberry Pi kernel and firmware to oldstable_20211201/71bd3109/Linux 5.10.63 (#1119) (#1696) @agners

I just came across this thread after having opened one every few weeks for the last couple of years posting my logs but receiving no useful help

Have everyone’s issues been fixed? I’m on Operating System Version 7.0.rc1