Hello everybody and thanks for helping me.
My home is heavily invested in HA and lately my instance started crashing/rebooting very randomly.
I don’t know whether is an HW problem where the ethernet flaps and breaks connection (it’s PoE powered by a Meraki Switch) or the DB has somehow corrupted.
I cannot pinpoint where the issue is and it is driving me crazy!!
HASS is running as HAOS on a RPI5 with 8G RAM and SanDisk ExtremePro SD-Card on MariaDB. It is PoE powered via Waveshare PoE HAT (F) x Rpi5.
Here’s my latest logs:
Homeassistant.log
2024-09-13 11:07:00.074 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component m>
2024-09-13 11:07:00.076 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration icloud3 which has not been tested by Home Assistant. This componen>
2024-09-13 11:07:00.078 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration miele which has not been tested by Home Assistant. This component >
2024-09-13 11:07:00.080 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration meteoswiss which has not been tested by Home Assistant. This compo>
2024-09-13 11:07:02.348 WARNING (Recorder) [homeassistant.components.recorder.util] Ended unfinished session (id=33 from 2024-09-12 14:30:16.010305)
2024-09-13 11:07:17.460 ERROR (SyncWorker_0) [homeassistant.util.json] Could not parse JSON content: /config/.storage/icloud3/restore_state
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/util/json.py", line 75, in load_json
return orjson.loads(fdesc.read()) # type: ignore[no-any-return]
^^^^^^^^^^^^^^^^^^^^^^^^^^
orjson.JSONDecodeError: unexpected character: line 1 column 1 (char 0)
2024-09-13 11:07:17.461 ERROR (SyncWorker_0) [custom_components.icloud3.helpers.common] Error while loading /config/.storage/icloud3/restore_state: unexpected charact>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/util/json.py", line 75, in load_json
return orjson.loads(fdesc.read()) # type: ignore[no-any-return]
^^^^^^^^^^^^^^^^^^^^^^^^^^
orjson.JSONDecodeError: unexpected character: line 1 column 1 (char 0)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/config/custom_components/icloud3/helpers/common.py", line 311, in load_json_file
data = json_util.load_json(filename)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/util/json.py", line 81, in load_json
raise HomeAssistantError(f"Error while loading {filename}: {error}") from error
homeassistant.exceptions.HomeAssistantError: Error while loading /config/.storage/icloud3/restore_state: unexpected character: line 1 column 1 (char 0)
2024-09-13 11:07:23.082 ERROR (MainThread) [homeassistant.components.homekit.util] media_player.tv_samsung_6_series_40 does not support any media_player features
2024-09-13 11:07:23.091 ERROR (MainThread) [homeassistant.components.homekit.util] media_player.plex_plex_for_apple_tv_apple_tv_2 does not support any media_player fe>
2024-09-13 11:07:23.091 ERROR (MainThread) [homeassistant.components.homekit.util] media_player.plex_plex_for_apple_tv_apple_tv_3 does not support any media_player fe>
2024-09-13 11:07:23.091 ERROR (MainThread) [homeassistant.components.homekit.util] media_player.plex_marinella_plex_for_apple_tv_apple_tv does not support any media_p>
2024-09-13 11:07:23.092 ERROR (MainThread) [homeassistant.components.homekit.util] media_player.plex_infuse_direct_apple_tv does not support any media_player features
2024-09-13 11:07:23.092 ERROR (MainThread) [homeassistant.components.homekit.util] media_player.plex_family_plex_for_apple_tv_apple_tv does not support any media_play>
2024-09-13 11:07:23.092 ERROR (MainThread) [homeassistant.components.homekit.util] media_player.plex_infuse_library_apple_tv_2 does not support any media_player featu>
Homeassistant.log.1
GNU nano 8.0 home-assistant.log.1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/requests/adapters.py", line 667, in send
resp = conn.urlopen(
^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/urllib3/connectionpool.py", line 802, in urlopen
retries = retries.increment(
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/urllib3/util/retry.py", line 594, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='app-prod-ws.meteoswiss-app.ch', port=443): Max retries exceeded with url: /v1/forecast?plz=815700&graph_st>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/config/custom_components/meteoswiss/__init__.py", line 223, in _async_update_data
data = await self.hass.async_add_executor_job(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/hamsclientfork/client.py", line 238, in get_typed_data
data = self.get_data()
^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/hamsclientfork/client.py", line 228, in get_data
self.get_forecast()
File "/usr/local/lib/python3.12/site-packages/hamsclientfork/client.py", line 281, in get_forecast
jsonData = s.get(jsonUrl, timeout=10)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/requests/sessions.py", line 602, in get
return self.request("GET", url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/requests/sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/requests/adapters.py", line 700, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='app-prod-ws.meteoswiss-app.ch', port=443): Max retries exceeded with url: /v1/forecast?plz=815700&graph>
2024-09-13 10:48:59.661 ERROR (MainThread) [custom_components.meteoswiss] Error fetching meteoswiss data: HTTPSConnectionPool(host='app-prod-ws.meteoswiss-app.ch', po>
2024-09-13 10:49:04.125 ERROR (MainThread) [homeassistant.components.ring.coordinator] Error fetching devices data: Timeout communicating with API: Timeout error duri>
2024-09-13 10:49:04.126 ERROR (MainThread) [homeassistant.components.synology_dsm.coordinator] Error fetching 192.168.5.50 SynologyDSMSwitchUpdateCoordinator data: Er>
2024-09-13 10:49:17.125 ERROR (MainThread) [homeassistant.components.synology_dsm.coordinator] Error fetching 192.168.5.50 SynologyDSMCentralUpdateCoordinator data: E>
2024-09-13 10:49:59.222 ERROR (MainThread) [snitun.multiplexer.core] Ping fails, no response from peer
2024-09-13 10:55:41.125 WARNING (MainThread) [hass_nabucasa.iot] Connection closed: Connection error
^G Help ^O Write Out ^F Where Is ^K Cut ^T Execute ^C Location M-U Undo M-A Set Mark M-] To Bracket M-B Previous
^X Exit ^R Read File ^\ Replace ^U Paste ^J Justify ^/ Go To Line M-E Redo M-6 Copy ^B Where Was M-F Next
*1 [nano] Fri 09-13 11:09
Is any of this making any sense to you??
What am I missing?!?
Thanks for your help fellow home automators!