Mais pourquoi mon HA reboot tout le temps?

Bonsoir,

Je cherche à comprendre pourquoi mon HA reboot tout le temps.

il vient de le faire 2 fois en moins de 10 min

Quand je regarde le home-assistant.log je vois :

2022-05-25 21:54:12 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration meross_cloud 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-05-25 21:54:12 WARNING (SyncWorker_0) [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-05-25 21:54:12 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration meross_lan 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-05-25 21:54:12 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-05-25 21:54:13 WARNING (Recorder) [homeassistant.components.recorder.util] Ended unfinished session (id=317 from 2022-05-25 19:47:42.446357)
2022-05-25 21:54:20 WARNING (MainThread) [slixmpp.stringprep] Using slower stringprep, consider compiling the faster cython/libidn one.
2022-05-25 21:54:23 WARNING (MainThread) [custom_components.meross_lan] MerossDevice(1801166012816725131634298f110b92) error in async_http_request: Cannot connect to host 192.168.2.203:80 ssl:default [Connect call failed (‹ 192.168.2.203 ›, 80)]
2022-05-25 21:54:27 WARNING (MainThread) [homeassistant.config_entries] Config entry ‹ HP OfficeJet 5200 series [D2FB25] › for ipp integration not ready yet: Invalid response from API: Timeout occurred while connecting to IPP server.; Retrying in background
2022-05-25 21:54:30 WARNING (MainThread) [zigpy_znp.zigbee.application] Your network is using the insecure Zigbee2MQTT network key!
2022-05-25 21:55:31 WARNING (zeroconf-ServiceBrowser-_googlecast._tcp-230) [pychromecast.dial] Failed to determine cast type for host () (services:{ServiceInfo(type=‹ mdns ›, data=‹ MIBOX3-5f7afe3b6e028becb0b86fe18327a41b._googlecast._tcp.local. ›)})
2022-05-25 21:55:37 ERROR (Thread-8) [pychromecast.socket_client] [MIBOX3(192.168.2.246):8009] Failed to connect to service ServiceInfo(type=‹ mdns ›, data=‹ MIBOX3-5f7afe3b6e028becb0b86fe18327a41b._googlecast._tcp.local. ›), retrying in 5.0s
2022-05-25 22:00:01 ERROR (Thread-4) [root] Uncaught thread exception
Traceback (most recent call last):
File « /usr/local/lib/python3.9/threading.py », line 973, in _bootstrap_inner
self.run()
File « /usr/local/lib/python3.9/threading.py », line 910, in run
self._target(*self._args, **self._kwargs)
File « /usr/local/lib/python3.9/site-packages/xiaomi_gateway/init.py », line 180, in _listen_to_msg
data, (ip_add, _) = self._mcastsocket.recvfrom(SOCKET_BUFSIZE)
OSError: [Errno 9] Bad file descriptor
2022-05-25 22:00:06 ERROR (Thread-8) [pychromecast.socket_client] [MIBOX3(192.168.2.246):8009] Failed to connect. No retries.
2022-05-25 22:00:10 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /homeassistant/restart request

le problème serait python ?

HAOS c’est du container, donc tu n’as pas besoin de gérer les versions de python etc…
A mon avis la cause c’est plutot le contenu de la base

2022-05-25 21:54:12 WARNING (Recorder) [homeassistant.components.recorder.util] The system could not validate that the sqlite3 database at //config/home-assistant_v2.db was shutdown cleanly

Si tu n’as rien d’important dans les historiques, tu peux l’effacer, elle se recréera suite au prochain boot

OK,

la base ne sert qu’à gérer l’historique ?

Comment on l’efface ?

merci

Oui rien à voir avec la configuration. Un simple rm doit faire l’affaire