Samoczynny restart HA

Drugi raz w ciągu dwóch dni samoczynnie zrestartowało mi się HA.
Restart następuje ok 3 w nocy i nie wiem dlaczego.
Czy pomoże mi ktoś odczytać z loga w czym może tkwić problem?

2025-06-03 02:59:25.722 WARNING (SyncWorker_0) [annotatedyaml.constructors] YAML file /config/configuration.yaml contains duplicate key "color_charger". Check lines 27 and 44
2025-06-03 02:59:25.881 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration better_thermostat 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
2025-06-03 02:59:25.883 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration daily_schedule 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
2025-06-03 02:59:25.885 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration spotcast 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
2025-06-03 02:59:25.887 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration nodered 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
2025-06-03 02:59:25.890 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration xiaomi_cloud_map_extractor 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
2025-06-03 02:59:25.892 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration ai_thermostat 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
2025-06-03 02:59:25.895 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration personio 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
2025-06-03 02:59:25.898 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration xiaomi_gateway3 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
2025-06-03 02:59:25.900 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration localtuya 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
2025-06-03 02:59:25.902 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration notione 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
2025-06-03 02:59:25.905 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration ytube_music_player 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
2025-06-03 02:59:25.907 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration xiaomi_miot 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
2025-06-03 02:59:25.910 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration xiaomi_miio_raw 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
2025-06-03 02:59:25.912 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration alarmo 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
2025-06-03 02:59:25.914 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration tuya_ble 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
2025-06-03 02:59:25.917 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration scheduler 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
2025-06-03 02:59:25.919 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
2025-06-03 02:59:29.807 WARNING (Recorder) [homeassistant.components.recorder.util] The system could not validate that the sqlite3 database at //config/home-assistant_v2.db was shutdown cleanly
2025-06-03 02:59:29.918 WARNING (Recorder) [homeassistant.components.recorder.util] Ended unfinished session (id=813 from 2025-06-02 01:27:14.657567)
2025-06-03 02:59:36.621 ERROR (MainThread) [homeassistant.components.script] Script with alias 'Volume down' has invalid object id and has been disabled: invalid slug Volume (try volume). Got 'Volume'
2025-06-03 02:59:40.147 WARNING (ImportExecutor_0) [py.warnings] /usr/local/lib/python3.13/site-packages/miio/miot_device.py:23: FutureWarning: functools.partial will be a method descriptor in future Python versions; wrap it in enum.member() if you want to preserve the old behavior
  Bool = partial(_str2bool)

2025-06-03 02:59:40.204 ERROR (MainThread) [homeassistant.components.device_tracker] Error setting up platform legacy notione
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/device_tracker/legacy.py", line 345, in async_setup_legacy
    setup = await hass.async_add_executor_job(
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<5 lines>...
    )
    ^
  File "/usr/local/lib/python3.13/concurrent/futures/thread.py", line 59, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/notione/device_tracker.py", line 43, in setup_scanner
    NotiOneTracker(hass, config, see)
    ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/notione/device_tracker.py", line 68, in __init__
    update_interval(None)
    ~~~~~~~~~~~~~~~^^^^^^
  File "/config/custom_components/notione/device_tracker.py", line 65, in update_interval
    hass.helpers.event.track_point_in_utc_time(
    ^^^^^^^^^^^^
AttributeError: 'HomeAssistant' object has no attribute 'helpers'
2025-06-03 02:59:41.477 WARNING (ImportExecutor_0) [homeassistant.components.media_player.const] MEDIA_CLASS_ALBUM was used from ytube_music_player, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaClass.ALBUM instead, please report it to the author of the 'ytube_music_player' custom integration
2025-06-03 02:59:41.484 WARNING (ImportExecutor_0) [homeassistant.components.media_player.const] MEDIA_CLASS_ARTIST was used from ytube_music_player, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaClass.ARTIST instead, please report it to the author of the 'ytube_music_player' custom integration
2025-06-03 02:59:41.491 WARNING (ImportExecutor_0) [homeassistant.components.media_player.const] MEDIA_CLASS_CHANNEL was used from ytube_music_player, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaClass.CHANNEL instead, please report it to the author of the 'ytube_music_player' custom integration
2025-06-03 02:59:41.497 WARNING (ImportExecutor_0) [homeassistant.components.media_player.const] MEDIA_CLASS_DIRECTORY was used from ytube_music_player, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaClass.DIRECTORY instead, please report it to the author of the 'ytube_music_player' custom integration
2025-06-03 02:59:41.504 WARNING (ImportExecutor_0) [homeassistant.components.media_player.const] MEDIA_CLASS_EPISODE was used from ytube_music_player, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaClass.EPISODE instead, please report it to the author of the 'ytube_music_player' custom integration
2025-06-03 02:59:41.510 WARNING (ImportExecutor_0) [homeassistant.components.media_player.const] MEDIA_CLASS_MOVIE was used from ytube_music_player, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaClass.MOVIE instead, please report it to the author of the 'ytube_music_player' custom integration
2025-06-03 02:59:41.516 WARNING (ImportExecutor_0) [homeassistant.components.media_player.const] MEDIA_CLASS_MUSIC was used from ytube_music_player, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaClass.MUSIC instead, please report it to the author of the 'ytube_music_player' custom integration
2025-06-03 02:59:41.522 WARNING (ImportExecutor_0) [homeassistant.components.media_player.const] MEDIA_CLASS_PLAYLIST was used from ytube_music_player, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaClass.PLAYLIST instead, please report it to the author of the 'ytube_music_player' custom integration
2025-06-03 02:59:41.528 WARNING (ImportExecutor_0) [homeassistant.components.media_player.const] MEDIA_CLASS_SEASON was used from ytube_music_player, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaClass.SEASON instead, please report it to the author of the 'ytube_music_player' custom integration
2025-06-03 02:59:41.533 WARNING (ImportExecutor_0) [homeassistant.components.media_player.const] MEDIA_CLASS_TRACK was used from ytube_music_player, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaClass.TRACK instead, please report it to the author of the 'ytube_music_player' custom integration
2025-06-03 02:59:41.539 WARNING (ImportExecutor_0) [homeassistant.components.media_player.const] MEDIA_CLASS_TV_SHOW was used from ytube_music_player, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaClass.TV_SHOW instead, please report it to the author of the 'ytube_music_player' custom integration
2025-06-03 02:59:41.544 WARNING (ImportExecutor_0) [homeassistant.components.media_player.const] MEDIA_TYPE_ALBUM was used from ytube_music_player, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaType.ALBUM instead, please report it to the author of the 'ytube_music_player' custom integration
2025-06-03 02:59:41.550 WARNING (ImportExecutor_0) [homeassistant.components.media_player.const] MEDIA_TYPE_ARTIST was used from ytube_music_player, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaType.ARTIST instead, please report it to the author of the 'ytube_music_player' custom integration
2025-06-03 02:59:41.555 WARNING (ImportExecutor_0) [homeassistant.components.media_player.const] MEDIA_TYPE_CHANNEL was used from ytube_music_player, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaType.CHANNEL instead, please report it to the author of the 'ytube_music_player' custom integration
2025-06-03 02:59:41.560 WARNING (ImportExecutor_0) [homeassistant.components.media_player.const] MEDIA_TYPE_EPISODE was used from ytube_music_player, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaType.EPISODE instead, please report it to the author of the 'ytube_music_player' custom integration
2025-06-03 02:59:41.567 WARNING (ImportExecutor_0) [homeassistant.components.media_player.const] MEDIA_TYPE_MOVIE was used from ytube_music_player, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaType.MOVIE instead, please report it to the author of the 'ytube_music_player' custom integration
2025-06-03 02:59:41.574 WARNING (ImportExecutor_0) [homeassistant.components.media_player.const] MEDIA_TYPE_PLAYLIST was used from ytube_music_player, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaType.PLAYLIST instead, please report it to the author of the 'ytube_music_player' custom integration
2025-06-03 02:59:41.584 WARNING (ImportExecutor_0) [homeassistant.components.media_player.const] MEDIA_TYPE_SEASON was used from ytube_music_player, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaType.SEASON instead, please report it to the author of the 'ytube_music_player' custom integration
2025-06-03 02:59:41.591 WARNING (ImportExecutor_0) [homeassistant.components.media_player.const] MEDIA_TYPE_TRACK was used from ytube_music_player, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaType.TRACK instead, please report it to the author of the 'ytube_music_player' custom integration
2025-06-03 02:59:41.598 WARNING (ImportExecutor_0) [homeassistant.components.media_player.const] MEDIA_TYPE_TVSHOW was used from ytube_music_player, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaType.TVSHOW instead, please report it to the author of the 'ytube_music_player' custom integration
2025-06-03 02:59:41.606 WARNING (ImportExecutor_0) [homeassistant.components.media_player.const] SUPPORT_STOP was used from ytube_music_player, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaPlayerEntityFeature.STOP instead, please report it to the author of the 'ytube_music_player' custom integration
2025-06-03 02:59:41.613 WARNING (ImportExecutor_0) [homeassistant.components.media_player.const] SUPPORT_PLAY was used from ytube_music_player, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaPlayerEntityFeature.PLAY instead, please report it to the author of the 'ytube_music_player' custom integration
2025-06-03 02:59:41.621 WARNING (ImportExecutor_0) [homeassistant.components.media_player.const] SUPPORT_PAUSE was used from ytube_music_player, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaPlayerEntityFeature.PAUSE instead, please report it to the author of the 'ytube_music_player' custom integration
2025-06-03 02:59:41.626 WARNING (ImportExecutor_0) [homeassistant.components.media_player.const] SUPPORT_PLAY_MEDIA was used from ytube_music_player, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaPlayerEntityFeature.PLAY_MEDIA instead, please report it to the author of the 'ytube_music_player' custom integration
2025-06-03 02:59:41.632 WARNING (ImportExecutor_0) [homeassistant.components.media_player.const] SUPPORT_PREVIOUS_TRACK was used from ytube_music_player, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaPlayerEntityFeature.PREVIOUS_TRACK instead, please report it to the author of the 'ytube_music_player' custom integration
2025-06-03 02:59:41.638 WARNING (ImportExecutor_0) [homeassistant.components.media_player.const] SUPPORT_NEXT_TRACK was used from ytube_music_player, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaPlayerEntityFeature.NEXT_TRACK instead, please report it to the author of the 'ytube_music_player' custom integration
2025-06-03 02:59:41.644 WARNING (ImportExecutor_0) [homeassistant.components.media_player.const] SUPPORT_VOLUME_MUTE was used from ytube_music_player, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaPlayerEntityFeature.VOLUME_MUTE instead, please report it to the author of the 'ytube_music_player' custom integration
2025-06-03 02:59:41.651 WARNING (ImportExecutor_0) [homeassistant.components.media_player.const] SUPPORT_VOLUME_SET was used from ytube_music_player, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaPlayerEntityFeature.VOLUME_SET instead, please report it to the author of the 'ytube_music_player' custom integration
2025-06-03 02:59:41.659 WARNING (ImportExecutor_0) [homeassistant.components.media_player.const] SUPPORT_VOLUME_STEP was used from ytube_music_player, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaPlayerEntityFeature.VOLUME_STEP instead, please report it to the author of the 'ytube_music_player' custom integration
2025-06-03 02:59:41.664 WARNING (ImportExecutor_0) [homeassistant.components.media_player.const] SUPPORT_TURN_ON was used from ytube_music_player, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaPlayerEntityFeature.TURN_ON instead, please report it to the author of the 'ytube_music_player' custom integration
2025-06-03 02:59:41.670 WARNING (ImportExecutor_0) [homeassistant.components.media_player.const] SUPPORT_TURN_OFF was used from ytube_music_player, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaPlayerEntityFeature.TURN_OFF instead, please report it to the author of the 'ytube_music_player' custom integration
2025-06-03 02:59:41.676 WARNING (ImportExecutor_0) [homeassistant.components.media_player.const] SUPPORT_SHUFFLE_SET was used from ytube_music_player, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaPlayerEntityFeature.SHUFFLE_SET instead, please report it to the author of the 'ytube_music_player' custom integration
2025-06-03 02:59:41.682 WARNING (ImportExecutor_0) [homeassistant.components.media_player.const] SUPPORT_BROWSE_MEDIA was used from ytube_music_player, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaPlayerEntityFeature.BROWSE_MEDIA instead, please report it to the author of the 'ytube_music_player' custom integration
2025-06-03 02:59:41.688 WARNING (ImportExecutor_0) [homeassistant.components.media_player.const] SUPPORT_REPEAT_SET was used from ytube_music_player, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaPlayerEntityFeature.REPEAT_SET instead, please report it to the author of the 'ytube_music_player' custom integration
2025-06-03 02:59:41.694 WARNING (ImportExecutor_0) [homeassistant.components.media_player.const] SUPPORT_SELECT_SOURCE was used from ytube_music_player, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaPlayerEntityFeature.SELECT_SOURCE instead, please report it to the author of the 'ytube_music_player' custom integration
2025-06-03 02:59:41.700 WARNING (ImportExecutor_0) [homeassistant.components.media_player.const] SUPPORT_SEEK was used from ytube_music_player, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaPlayerEntityFeature.SEEK instead, please report it to the author of the 'ytube_music_player' custom integration
2025-06-03 02:59:41.705 WARNING (ImportExecutor_0) [homeassistant.components.media_player.const] MEDIA_TYPE_MUSIC was used from ytube_music_player, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaType.MUSIC instead, please report it to the author of the 'ytube_music_player' custom integration
2025-06-03 02:59:41.711 WARNING (ImportExecutor_0) [homeassistant.components.media_player.const] REPEAT_MODE_ALL was used from ytube_music_player, this is a deprecated constant which will be removed in HA Core 2025.10. Use RepeatMode.ALL instead, please report it to the author of the 'ytube_music_player' custom integration
2025-06-03 02:59:41.717 WARNING (ImportExecutor_0) [homeassistant.components.media_player.const] REPEAT_MODE_OFF was used from ytube_music_player, this is a deprecated constant which will be removed in HA Core 2025.10. Use RepeatMode.OFF instead, please report it to the author of the 'ytube_music_player' custom integration
2025-06-03 02:59:41.728 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry yTubeMusic  for ytube_music_player
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 749, in __async_setup_with_context
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/ytube_music_player/__init__.py", line 15, in async_setup_entry
    config_entry.data = ensure_config(config_entry.data)  # make sure that missing storage values will be default (const function)
    ^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 553, in __setattr__
    raise AttributeError(
        f"{key} cannot be changed directly, use async_update_entry instead"
    )
AttributeError: data cannot be changed directly, use async_update_entry instead
2025-06-03 02:59:41.888 WARNING (SyncWorker_4) [annotatedyaml.constructors] YAML file /config/configuration.yaml contains duplicate key "color_charger". Check lines 27 and 44
2025-06-03 02:59:46.021 WARNING (MainThread) [volvooncall.volvooncall] Failure when communicating with the server: Cannot connect to host vocapi.wirelesscar.net:443 ssl:default [DNS server returned answer with no data]
Traceback (most recent call last):
  File "/usr/local/lib/python3.13/site-packages/aiohttp/resolver.py", line 106, in resolve
    resp = await self._resolver.getaddrinfo(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<5 lines>...
    )
    ^
aiodns.error.DNSError: (1, 'DNS server returned answer with no data')

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.13/site-packages/aiohttp/connector.py", line 1357, in _create_direct_connection
    hosts = await self._resolve_host(host, port, traces=traces)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/aiohttp/connector.py", line 995, in _resolve_host
    return await asyncio.shield(resolved_host_task)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/aiohttp/connector.py", line 1026, in _resolve_host_with_throttle
    addrs = await self._resolver.resolve(host, port, family=self._family)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/aiohttp_asyncmdnsresolver/_impl.py", line 140, in resolve
    return await super().resolve(host, port, family)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/aiohttp/resolver.py", line 115, in resolve
    raise OSError(None, msg) from exc
OSError: [Errno None] DNS server returned answer with no data

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.13/site-packages/volvooncall/volvooncall.py", line 68, in _request
    async with self._session.request(
               ~~~~~~~~~~~~~~~~~~~~~^
        method,
        ^^^^^^^
    ...<4 lines>...
        **kwargs
        ^^^^^^^^
    ) as response:
    ^
  File "/usr/local/lib/python3.13/site-packages/aiohttp/client.py", line 1425, in __aenter__
    self._resp: _RetType = await self._coro
                           ^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/aiohttp/client.py", line 703, in _request
    conn = await self._connector.connect(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        req, traces=traces, timeout=real_timeout
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/local/lib/python3.13/site-packages/aiohttp/connector.py", line 548, in connect
    proto = await self._create_connection(req, traces, timeout)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/aiohttp/connector.py", line 1056, in _create_connection
    _, proto = await self._create_direct_connection(req, traces, timeout)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/aiohttp/connector.py", line 1363, in _create_direct_connection
    raise ClientConnectorDNSError(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorDNSError: Cannot connect to host vocapi.wirelesscar.net:443 ssl:default [DNS server returned answer with no data]
2025-06-03 02:59:46.088 WARNING (MainThread) [volvooncall.volvooncall] Could not query server: Cannot connect to host vocapi.wirelesscar.net:443 ssl:default [DNS server returned answer with no data]
2025-06-03 03:00:03.465 WARNING (MainThread) [homeassistant.components.climate] Setup of climate platform better_thermostat is taking over 10 seconds.
2025-06-03 03:00:03.466 WARNING (MainThread) [homeassistant.components.climate] Setup of climate platform better_thermostat is taking over 10 seconds.
2025-06-03 03:00:07.623 WARNING (MainThread) [aioesphomeapi.reconnect_logic] Can't connect to ESPHome API for home-assistant-voice-0993de @ 192.168.1.182: Error connecting to [AddrInfo(family=<AddressFamily.AF_INET: 2>, type=<SocketKind.SOCK_STREAM: 1>, proto=6, sockaddr=IPv4Sockaddr(address='192.168.1.182', port=6053))]: [Errno 113] Connect call failed ('192.168.1.182', 6053) (SocketAPIError)
2025-06-03 03:00:24.125 ERROR (SyncWorker_6) [homeassistant.util.package] Unable to install package pycountry==22.3.5: × No solution found when resolving dependencies:
  ╰─▶ Because you require pycountry==22.3.5 and pycountry>=23.12.11, we can
      conclude that your requirements are unsatisfiable.
2025-06-03 03:00:25.815 ERROR (SyncWorker_6) [homeassistant.util.package] Unable to install package pycountry==22.3.5: × No solution found when resolving dependencies:
  ╰─▶ Because you require pycountry==22.3.5 and pycountry>=23.12.11, we can
      conclude that your requirements are unsatisfiable.
2025-06-03 03:00:26.810 ERROR (SyncWorker_6) [homeassistant.util.package] Unable to install package pycountry==22.3.5: × No solution found when resolving dependencies:
  ╰─▶ Because you require pycountry==22.3.5 and pycountry>=23.12.11, we can
      conclude that your requirements are unsatisfiable.
2025-06-03 03:00:26.812 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/discovery_flow.py", line 137, in _async_start
    await gather_with_limited_concurrency(FLOW_INIT_LIMIT, *init_coros)
  File "/usr/src/homeassistant/homeassistant/util/async_.py", line 114, in gather_with_limited_concurrency
    return await gather(
           ^^^^^^^^^^^^^
    ...<2 lines>...
    )
    ^
  File "/usr/src/homeassistant/homeassistant/util/async_.py", line 112, in sem_task
    return await task
           ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1446, in async_init
    flow, result = await self._async_init(flow_id, handler, context, data)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1482, in _async_init
    flow = await self.async_create_flow(handler, context=context, data=data)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1703, in async_create_flow
    handler = await _async_get_flow_handler(
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        self.hass, handler_key, self._hass_config
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 3780, in _async_get_flow_handler
    await _load_integration(hass, domain, hass_config)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 3757, in _load_integration
    await async_process_deps_reqs(hass, hass_config, integration)
  File "/usr/src/homeassistant/homeassistant/setup.py", line 585, in async_process_deps_reqs
    await requirements.async_get_integration_with_requirements(
        hass, integration.domain
    )
  File "/usr/src/homeassistant/homeassistant/requirements.py", line 54, in async_get_integration_with_requirements
    return await manager.async_get_integration_with_requirements(domain)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/requirements.py", line 153, in async_get_integration_with_requirements
    return await int_or_fut
           ^^^^^^^^^^^^^^^^
homeassistant.requirements.RequirementsNotFound: Requirements for tuya_ble not found: ['pycountry==22.3.5'].

To jest log ze startu, potrzebny jest wcześniejszy by szukać przyczyny zamknięcia.
W ogóle restartuje się sam HA czy cały HAOS?

Ale okolice godziny 3 w nocy sugerują powiązanie z backupami - do sprawdzenia zasoby systemowe - wolne miejsce na dysku (warto mieć przynajmniej 2x więcej niż masz rozmiar bazy,a w ogóle im więcej wolnego tym zdrowiej), jakie jest wykorzystanie RAM i swap (śledzone z wewnątrz HA, bo w ciemno zakłądam, że masz HAOS-generic lub HAS-ova skoro się nie zająknąłeś o metodzie instalacji)
Jak podzielić się informacjami o swojej instalacji Home Assistant na forum lub githubie

A oprócz tego to masz jakieś błędy dotyczące komponentów niestandardowych? volvooncall, tuya (chyba localtuya), ytube_music_player, notione (ale stawiam na to, że przyczyna jest w zupełnie innym miejscu, bo te wszystkie problemy się ujawniają już przy uruchamianiu tych integracji).

Gdzie mogę znaleźć w takim razie stare logi? Dostępne jakie widzę z poziomu HA to niestety ale tylko te które zamieściłem (a więc ze startu systemu)

Poniżej zamieszczam informacje o których pisałeś.

System Information

version core-2025.5.3
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.13.3
os_name Linux
os_version 6.6.74-haos-raspi
arch aarch64
timezone Europe/Warsaw
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
HACS Data ok
GitHub API Calls Remaining 5000
Installed Version 2.0.5
Stage running
Available Repositories 1992
Downloaded Repositories 24
Home Assistant Cloud
logged_in true
subscription_expiration 1 października 2025 02:00
relayer_connected true
relayer_region eu-central-1
remote_enabled true
remote_connected true
alexa_enabled false
google_enabled false
cloud_ice_servers_enabled true
remote_server eu-central-1-1.ui.nabu.casa
certificate_status ready
instance_id c7bd27e79eb64d199563fdb7d5bfe4c2
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 15.2
update_channel stable
supervisor_version supervisor-2025.05.3
agent_version 1.7.2
docker_version 28.0.4
disk_total 116.7 GB
disk_used 11.1 GB
healthy true
supported true
host_connectivity true
supervisor_connectivity true
ntp_synchronized true
virtualization
board rpi4-64
supervisor_api ok
version_api ok
installed_addons Terminal & SSH (9.17.0), File editor (5.8.0), Samba share (12.5.1), Node-RED (19.0.2), Home Assistant Google Drive Backup (0.112.1), Mosquitto broker (6.5.1), Zigbee2MQTT (2.4.0-1), Zigbee2mqtt Edge (edge), Spotify Connect (0.14.0), Log Viewer (0.17.1), Matter Server (8.0.0)
Dashboards
dashboards 2
resources 15
views 11
mode storage
Network Configuration
adapters lo (disabled), end0 (enabled, default, auto), docker0 (disabled), hassio (disabled), veth4e20ad3 (disabled), vethdfbcfb6 (disabled), vethcb15a0b (disabled), veth258630a (disabled), veth3a1f88e (disabled), veth6e85f31 (disabled), veth35842da (disabled), veth49cd259 (disabled)
ipv4_addresses lo (127.0.0.1/8), end0 (192.168.1.154/24), docker0 (172.30.232.1/23), hassio (172.30.32.1/23), veth4e20ad3 (), vethdfbcfb6 (), vethcb15a0b (), veth258630a (), veth3a1f88e (), veth6e85f31 (), veth35842da (), veth49cd259 ()
ipv6_addresses lo (::1/128), end0 (2a02:a31c:298:ebd0:9288:8de9:8522:44ff/64, fe80::4f5d:693b:799c:4698/64), docker0 (fe80::8c02:ddff:fe19:72bf/64), hassio (fe80::ec4e:6aff:feb4:7efc/64), veth4e20ad3 (fe80::894:9fff:feb4:fc0c/64), vethdfbcfb6 (fe80::508b:6aff:fe13:d72f/64), vethcb15a0b (fe80::707b:31ff:fe97:13d7/64), veth258630a (fe80::1cf6:faff:fe05:74a0/64), veth3a1f88e (fe80::60dd:5bff:feaf:122a/64), veth6e85f31 (fe80::e0ad:bbff:fe8e:8d5e/64), veth35842da (fe80::2ccb:c6ff:fe1a:ff09/64), veth49cd259 (fe80::a466:5aff:fe3f:ef8b/64)
announce_addresses 192.168.1.154, 2a02:a31c:298:ebd0:9288:8de9:8522:44ff, fe80::4f5d:693b:799c:4698
Recorder
oldest_recorder_run 22 maja 2025 18:12
current_recorder_run 3 czerwca 2025 08:42
estimated_db_size 646.41 MiB
database_engine sqlite
database_version 3.48.0
Spotify
api_endpoint_reachable ok
Xiaomi Miot Auto
component_version 1.0.19
can_reach_server ok
can_reach_spec ok
logged_accounts 1
total_devices 9

RAM jest już mocno zapełniony (65–70% to sporo przy ograniczonych zasobach),
więc system zaczyna korzystać z SWAP, czyli dyskowej pamięci wirtualnej, która jest dużo wolniejsza,
Gdy SWAP się zapełni lub system zauważy krytyczny brak pamięci, może dojść do Out Of Memory i wymuszonego restartu HA.

/

Zigbee2MQTT (2.4.0-1), Zigbee2mqtt Edge (edge)

Masz dwie wersje działające jednocześnie? To może powodować konflikt albo większe zużycie zasobów, jeśli obie próbują się komunikować na różnych portach. Zwykle robi się tak do testów . Jeśli nie testujesz wyłącz/ odinstaluj Zigbee2mqtt Edge (edge)

Node-RED
Używasz czy tylko działa w tle?

Jeśli używasz, sprawdź jego zużycie CPU i RAM, bo może ciągnąć dużo zasobów bez twojej wiedzy.

No i kluczowe: ( wspomniano)
Robienie kopii zapasowych w momencie, gdy system intensywnie używa SWAP, to prosta droga do restartu

Zigbee2mqtt Edge nie używam i dodatek był wyłączony - teraz go odinstalowałem

Node-RED - używam, mam porobione w nim automatyzacje.
Jak sprawdzić jego zużycie?

Kopie zapasowe mam ustawione na automatyczne.

Integracja: (systemowa)

Home Assistant Supervisor

[ usługi]

Przykład:


lub link bezpośredni > usługi: ( w mojej)
(http://homeassistant.local:8123/config/integrations/integration/hassio)
/
Do utrzymania kondycji HA pomocny jest:
https://spook.boo/
Może któraś automatyzacja się “zapętla”

Istotnie wykorzystanie RAMu jest bardzo wysokie co automatycznie pompuje wykorzystanie swapa, co widać szczególnie po restartach - swap od razu jest wykorzystywany. Niby stan jaki widać na wykresach nie jest krytyczny, ale pewnie backu przebiera miarkę… (chyba że jakaś automatyzacja jest wykonywana właśnie koło 3 rano).

Obstawiam jakiś proces uruchomiony w NR (bo poza wysokim użyciem RAM nie widać nic bardziej niepokojącego).

Jak to wersja maliny? bo takiego wykorzystania pamięci to spodziewam się na modelu 2GB RAM.

Jutro masz kopię o 5:35, więc sprawdź o której się wyłoży jutro.

Trafiłeś. Rpi4 2Gb
Jak się zrestartuje to na pewno to zauważę bo po restarcie otwierają mi się rolety i żaluzje.
Automatyzacji (przynajmniej o której ja wiem) na 3 rano nie mam ustawionej

No coż musisz pomyśleć o optymalizacji pod te 2GB (ustawianie większego swapa miało być kiedyś łatwo dostępne w HAOS, nie wiem czy to już wprowadzono, bo na instalacjach x64 RAM nie jest już dla mnie wąskim gardłem), być może trzeba go powiększyć starymi metodami swap

Gdzieś z tyłu głowy mi chodzi myśl czy się nie przysiąść na jakiś inny sprzęt (bardziej elastyczny).
Muszę tylko poczytać co jest polecane i czy nie będzie problemu z migracją.

No ale na razie włączyłem encje do śledzenia zużycia pamięci i procka przez node-red i odinstalowałem Zigbee2mqtt Edge.

Zaraz poczytam o tym co pisał @krskrab - spook

No i zobaczymy o której i czy w ogóle mnie dziś obudzi w nocy otwieranie żaluzji po restarcie

  1. x64 (czyli mini-PC), cokolwiek w czym rozszerzysz RAM na miarę potrzeb (czyli nie SBC), na dziś się wszyscy zachwycają chinolami na N100, są jednak pewne “ale”
  2. nie będzie (pierwszy raz robiłem taką migrację w 2019 od tego czasu jest tylko łatwiej), chociaż oczywiście najłatwiej byłoby z taką samą maliną tylko w wersji mającej więcej RAM - podłączyłbyś ssd do tej lepszej + ewentualnie konfiguracja serwera DHCP pod nowy MAC-adres i po krzyku.
  3. na razie OK (zazwyczaj wyciek RAMu jest w NR z powodu jakiegoś wadliwego procesu w nim uruchomionego, jakkolwiek przyczyna może być inna), ale jeśli będziesz miał jutro restart, to ja proponuję zwiększyć swap (stara instrukcja jest w wątku otagowanym swap) jakkolwiek jeśli przyczyną jest wyciek RAM w jakiejś sytuacji, to trzeba go usunąć (bo wyciek RAM zawsze dąży do zajęcia nieskończonej ilości pamięci, więc zmiana sprzętu na mocniejszy finalnie nic nie da)
  4. Jeszcze mi przemknęło przez myśl, że ssd się sypie - to jest też do sprawdzenia scrutiny hdd-tools

@szopen Dzięki. O mini PC myślałem. Musze poczytać jaki model polecają z jakimi parametrami. Ostatnio z karty SD przeszedłem na SSD i miałem spokój. W Rpi pamięci nie dołożę, a że wszystko potrzebuje coraz więcej pamięci to i tak to mnie czeka.

Co do dzisiejszej nocy to restartu nie było. Niby nic nie zmieniłem a był spokój. No ale restarty takie w nocy już kiedyś zdarzały się losowo ostatnio tylko te 2 razy pod rząd więc muszę obserwować.

Co do wykorzystania przez Node-RED:

Czasami powstają jakieś zapętlenie czy to w NR, automatyzacjach HA czy też w samych dodatkach, integracjach, dlatego restartując HA trzeba wybrać opcję restartu wraz z dodatkami. Patrząc na Twoje integrację niektóre już są przestarzałe lub przestaną działać w wersji 25.10 Sprawdzając logi warto zwrócić uwagę na błędy które powtarzają się setki razy.

No i dziś w nocy ok. 3:06 znowu powtórka.

Prośba o dalszą pomoc w diagnozie.

Z obrazków nic nie wyczytasz. jeżeli masz dostęp do logów w katalogu HA to sprawdź zawartość plików home-assistant.log, home-assistant.log.1 i innych z podobnymi nazwami, pliki zawierają datę i godzinę.
Dla testów utwórz backup HA ręcznie i zobacz czy HA się nie wysypie, sprawdź też Recorder: Purge czy nie jest uruchamiany w tym czasie.