Where to start my troubleshooting?

I have been using HA for almost 2 years. My setup consists of one RPI3 together with a conbee-stick. I have about 50 sensors of various kinds, mostly Aqara. I have also used individual Philips Hue and Ikea lamps as well as lamps that are connected via Plejd. However, I have removed most of these and is running them via the Hue bridge as I think it worked too unstable throug HA. The system has worked ok, even if I have had to restart it a little now and then. Now I would like to start logging some more statistics and get some more graphs via grafana. I have understood that RPI is not the best hardware for this and especially not with an SD card. I have therefore transferred everything to an SSD.

Since doing this, the system has started to “freeze” and I can’t access the interface. I’ll get the message “Unable to connect to Home Assistant”. Sometimes after a numerus countdowns it suddenly starts to work again but most often I have to power it down and then start it up again.

My plan is to move from RPI to a nuc but I’m not there yet.

I have system monitoring on rpi where it usually looks something like this:
Disk use: 3.2%
Processor use: 32%
Memory use: 91%

Now to my question:

When I look at my log (home assistant core), there is hundreds of “errors” and “warnings”. My question is, “where do I start”, How do I start? Can I filter the severe errors from the “not so severe errors”? What is the best way to troubleshoot my system?

I just rebooted my system and I got tis from my logg.

2022-11-02 09:51:10.707 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration skodaconnect which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-11-02 09:51:10.732 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-11-02 09:51:37.552 WARNING (Recorder) [homeassistant.components.recorder.util] The system could not validate that the sqlite3 database at //config/home-assistant_v2.db was shutdown cleanly
2022-11-02 09:51:38.169 WARNING (Recorder) [homeassistant.components.recorder.util] Ended unfinished session (id=110 from 2022-11-02 01:10:45.428396)
2022-11-02 09:51:50.851 WARNING (MainThread) [homeassistant.setup] Setup of hassio is taking over 10 seconds.
2022-11-02 09:52:05.472 WARNING (MainThread) [homeassistant.setup] Setup of bluetooth is taking over 10 seconds.
2022-11-02 09:52:05.546 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /store request
2022-11-02 09:52:05.570 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /core/info request
2022-11-02 09:52:05.579 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /supervisor/info request
2022-11-02 09:52:05.593 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /os/info request
2022-11-02 09:52:06.595 WARNING (MainThread) [homeassistant.components.hassio] Can't read Supervisor data:
2022-11-02 09:52:15.552 WARNING (MainThread) [hass_nabucasa.cloud_api] Fetched https://alexa-api.nabucasa.com/access_token (400)
2022-11-02 09:52:53.893 ERROR (MainThread) [homeassistant.components.hassio] Unexpected error fetching hassio data: 'NoneType' object has no attribute 'get'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 205, in _async_refresh
self.data = await self._async_update_data()
File "/usr/src/homeassistant/homeassistant/components/hassio/__init__.py", line 902, in _async_update_data
for repo in store_data.get("repositories", [])
AttributeError: 'NoneType' object has no attribute 'get'
2022-11-02 09:52:53.952 WARNING (MainThread) [homeassistant.config_entries] Config entry 'Supervisor' for hassio integration not ready yet: 'NoneType' object has no attribute 'get'; Retrying in background
2022-11-02 09:53:01.430 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: rpi_power, binary_sensor.rpi_power, tibber, shelly, hardware, dlna_dmr, switch
2022-11-02 09:53:54.767 ERROR (SyncWorker_5) [homeassistant.components.influxdb] Cannot connect to InfluxDB due to 'HTTPConnectionPool(host='192.168.86.27', port=8086): Max retries exceeded with url: /write?db=Homeassistant (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f80939de0>: Failed to establish a new connection: [Errno 111] Connection refused'))'. Please check that the provided connection details (host, port, etc.) are correct and that your InfluxDB server is running and accessible. Retrying in 60 seconds.
2022-11-02 09:53:54.857 WARNING (MainThread) [homeassistant.components.media_player] Setup of media_player platform dlna_dmr is taking over 10 seconds.
2022-11-02 09:53:54.906 WARNING (MainThread) [homeassistant.config_entries] Config entry 'Samsung C410 Series' for syncthru integration not ready yet; Retrying in background
2022-11-02 09:53:54.922 WARNING (MainThread) [homeassistant.config_entries] Config entry 'shellyplug-s-DCE7F8' for shelly integration not ready yet: Timeout during device setup; Retrying in background
2022-11-02 09:53:55.008 WARNING (MainThread) [homeassistant.config_entries] Config entry 'shellyplug-s-4022D889949D' for shelly integration not ready yet: Timeout during device setup; Retrying in background
2022-11-02 09:53:55.066 WARNING (MainThread) [homeassistant.config_entries] Config entry 'Philips hue' for hue integration not ready yet: Error connecting to the Hue bridge at 192.168.86.24; Retrying in background
2022-11-02 09:53:55.145 ERROR (MainThread) [homeassistant.components.deconz] Error connecting to deCONZ gateway at core-deconz
2022-11-02 09:53:55.220 WARNING (MainThread) [homeassistant.config_entries] Config entry 'Zigbee - deCONZ' for deconz integration not ready yet; Retrying in background
2022-11-02 09:54:00.099 ERROR (MainThread) [homeassistant.components.mqtt.client] Failed to connect to MQTT server due to exception: [Errno -2] Name does not resolve
2022-11-02 09:54:09.227 WARNING (MainThread) [aioshelly.block_device] device 192.168.86.239 initialize error - TimeoutError()
2022-11-02 09:54:09.356 WARNING (MainThread) [aioshelly.block_device] device 192.168.86.21 initialize error - TimeoutError()
2022-11-02 09:54:11.394 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform tibber is taking over 10 seconds.
2022-11-02 09:54:47.106 ERROR (MainThread) [custom_components.skodaconnect] Unexpected error fetching skodaconnect data: 'NoneType' object is not iterable
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 205, in _async_refresh
self.data = await self._async_update_data()
File "/config/custom_components/skodaconnect/__init__.py", line 771, in _async_update_data
dashboard = vehicle.dashboard(
File "/usr/local/lib/python3.10/site-packages/skodaconnect/vehicle.py", line 1197, in dashboard
self._dashboard = Dashboard(self, **config)
File "/usr/local/lib/python3.10/site-packages/skodaconnect/dashboard.py", line 1422, in __init__
self.instruments = [
File "/usr/local/lib/python3.10/site-packages/skodaconnect/dashboard.py", line 1425, in <listcomp>
if instrument.setup(vehicle, **config)
File "/usr/local/lib/python3.10/site-packages/skodaconnect/dashboard.py", line 31, in setup
if not self.is_supported:
File "/usr/local/lib/python3.10/site-packages/skodaconnect/dashboard.py", line 68, in is_supported
if hasattr(self.vehicle, supported):
File "/usr/local/lib/python3.10/site-packages/skodaconnect/vehicle.py", line 2467, in is_hood_closed_supported
bonnet = next(item for item in doors if item['name'] == 'BONNET')
TypeError: 'NoneType' object is not iterable
2022-11-02 09:54:47.145 WARNING (MainThread) [homeassistant.config_entries] Config entry 'TMBGF9NY9PF008038' for skodaconnect integration not ready yet: None; Retrying in background
2022-11-02 09:54:48.503 ERROR (MainThread) [homeassistant.components.automation.starta_hjartat] Got error 'No deconz_event tied to device "Tv-rummet Dimmer hjärtat" found' when setting up triggers for starta hjärtat
2022-11-02 09:55:04.850 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2022-11-02 09:55:37.149 WARNING (MainThread) [homeassistant.components.binary_sensor] Setup of binary_sensor platform syncthru is taking over 10 seconds.
2022-11-02 09:55:37.165 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform syncthru is taking over 10 seconds.
2022-11-02 09:55:37.449 WARNING (MainThread) [hass_nabucasa.cloud_api] Fetched https://remotestate.nabucasa.com/request_sync (500)
2022-11-02 09:55:37.961 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2022-11-02 09:55:47.146 WARNING (MainThread) [homeassistant.components.binary_sensor] Setup of binary_sensor platform deconz is taking over 10 seconds.
2022-11-02 09:55:47.213 WARNING (MainThread) [homeassistant.components.light] Setup of light platform deconz is taking over 10 seconds.
2022-11-02 09:55:54.549 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform deconz is taking over 10 seconds.
2022-11-02 09:55:54.553 WARNING (MainThread) [homeassistant.components.switch] Setup of switch platform deconz is taking over 10 seconds.
2022-11-02 09:55:54.908 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /core/info request
2022-11-02 09:55:55.113 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /supervisor/info request
2022-11-02 09:55:55.130 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /os/info request
2022-11-02 09:55:55.186 WARNING (MainThread) [aioshelly.block_device] device 192.168.86.21 initialize error - TimeoutError()
2022-11-02 09:55:55.299 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.undervaningen_room_temperature is taking over 10 seconds
2022-11-02 09:55:56.851 WARNING (MainThread) [aioshelly.block_device] device 192.168.86.239 initialize error - TimeoutError()
2022-11-02 09:56:28.858 WARNING (MainThread) [aioshelly.block_device] device 192.168.86.239 initialize error - TimeoutError()
2022-11-02 09:56:29.838 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2022-11-02 09:56:39.119 WARNING (MainThread) [aioshelly.block_device] device 192.168.86.21 initialize error - TimeoutError()
2022-11-02 09:57:08.529 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /addons/a0d7b954_home-panel/stats request
2022-11-02 09:57:09.505 WARNING (MainThread) [homeassistant.components.hassio] Could not fetch stats for a0d7b954_home-panel:
2022-11-02 09:57:09.562 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /addons/core_ssh/stats request
2022-11-02 09:57:09.570 WARNING (MainThread) [homeassistant.components.hassio] Could not fetch stats for core_ssh:
2022-11-02 09:57:09.580 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /addons/a0d7b954_grafana/stats request
2022-11-02 09:57:09.588 WARNING (MainThread) [homeassistant.components.hassio] Could not fetch stats for a0d7b954_grafana:
2022-11-02 09:57:09.596 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /addons/a0d7b954_influxdb/stats request
2022-11-02 09:57:09.643 WARNING (MainThread) [homeassistant.components.hassio] Could not fetch stats for a0d7b954_influxdb:
2022-11-02 09:57:09.662 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /addons/core_deconz/stats request
2022-11-02 09:57:09.673 WARNING (MainThread) [homeassistant.components.hassio] Could not fetch stats for core_deconz:
2022-11-02 09:57:09.678 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /addons/cebe7a76_hassio_google_drive_backup/stats request
2022-11-02 09:57:09.688 WARNING (MainThread) [homeassistant.components.hassio] Could not fetch stats for cebe7a76_hassio_google_drive_backup:
2022-11-02 09:57:09.705 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /addons/a0d7b954_ssh/stats request
2022-11-02 09:57:09.710 WARNING (MainThread) [homeassistant.components.hassio] Could not fetch stats for a0d7b954_ssh:
2022-11-02 09:57:09.718 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /addons/core_configurator/stats request
2022-11-02 09:57:09.720 WARNING (MainThread) [homeassistant.components.hassio] Could not fetch stats for core_configurator:
2022-11-02 09:57:11.646 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/hassio/__init__.py", line 737, in _async_setup_hardware_integration
if (os_info := get_os_info(hass)) is None:
File "/usr/src/homeassistant/homeassistant/components/hassio/__init__.py", line 495, in get_os_info
return hass.data.get(DATA_OS_INFO)
AttributeError: 'datetime.datetime' object has no attribute 'data'

Did you upgrade the power supply when you changed to an SSD?

The draw more power than an SD card.

1 Like

My own experience;

  • i was using raspberian with supervised installation and OS was killing the HA process, moved to ubuntu with same setup, all good.
  • when i moved into ssd usb stick, i noticed that system becomes unreliable randomly and it was because of power source. Upgraded to a better power source, it is resolved

Lastly, you would find mostly anecdotes here :slight_smile: and you need to try many things before it gets sorted out

1 Like

No, I did not and the SSD has not the possibility for an external power supply. Could that be a solution, what kind of power supply what you think be enough?

Thanks for your input! I will eventually get an NUC and the system will hoppfully be more stabel but I’ll start with the power supply =)

//W

Btw, here, we mean the power supply for the raspberry pi if your ssd is getting it’s power from usb directly. if this is an external case ssd, they might have a separate power supply

Yepp, I got that. The SSD is getting its power from the pi USB. The SSD does not have the option for external power so I’ll have to look over the power supply for the pi.

//W

I use these

image

1 Like

Any name? How to search on Amazon :slight_smile: