Reštartovanie Ha počas kompilacie v esphome

Něco nepracuje správně?
Výstrahy chyb a varování v logu.
Odpovědět
Uživatelský avatar
tiimsvk
Dárce - Donátor
Dárce - Donátor
Příspěvky: 825
Registrován: 06. květen 2021, 07:03
Dal poděkování: 75 poděkování
Dostal poděkování: 65 poděkování

Reštartovanie Ha počas kompilacie v esphome

Příspěvek od tiimsvk »

ahojte stalo sa Vám niekedy, že pri kompilácií v esphome sa resetuje HA?
Mne sa to pravidelne stáva ak kompilujem esp-idf v úplnom začiatku kedy musí prebehnúť celá kompilácia?

Log posledné 3 minuty pred vipnutím

Kód: Vybrat vše

024-03-06 06:04:19.123 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2024-03-06 06:04:22.530 WARNING (MainThread) [homeassistant.components.automation.auto_gas_meter] AUTO - Gas meter: Already running
2024-03-06 06:04:24.127 WARNING (MainThread) [homeassistant.helpers.entity] Update of camera.xiaomi_vacuum_map is taking over 10 seconds
2024-03-06 06:04:24.136 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2024-03-06 06:04:25.643 WARNING (MainThread) [bluetooth_auto_recovery.recover] Could not reset the power state of the Bluetooth adapter hci0 [00:1A:7D:DA:71:10] due to timeout after 5 seconds
2024-03-06 06:04:29.137 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2024-03-06 06:04:34.138 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2024-03-06 06:04:39.141 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2024-03-06 06:04:39.796 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /ingress/validate_session request
2024-03-06 06:04:39.797 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /ingress/validate_session - 
2024-03-06 06:04:44.148 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2024-03-06 06:04:49.479 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2024-03-06 06:04:50.884 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /ingress/session request
2024-03-06 06:04:50.885 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /ingress/session - 
2024-03-06 06:04:51.977 WARNING (MainThread) [custom_components.xiaomi_miot.camera] Mi Smart Video Doorbell 2 Lite(madv.cateye.miowlv2l): camera events is empty. {'result': 'ok', 'retriable': False, 'code': 0, 'data': {'thirdPartPlayUnits': [], 'nextTime': 1709096690000, 'isContinue': True}, 'description': '成功', 'ts': 1709701491768}
2024-03-06 06:04:52.073 WARNING (MainThread) [custom_components.xiaomi_miot.camera] Cam Kids room(isa.camera.isc5c1): camera events is empty. {'result': 'ok', 'retriable': False, 'code': 0, 'data': {'thirdPartPlayUnits': [], 'nextTime': 1709096690000, 'isContinue': True}, 'description': '成功', 'ts': 1709701491853}
2024-03-06 06:04:53.081 ERROR (MainThread) [custom_components.xiaomi_miot.camera] Video camera(isa.camera.hlc6): Got MiioException while fetching the state: Unable to discover the device 192.168.31.226, mapping: {'camera_control.on': {'siid': 2, 'piid': 1}, 'camera_control.image_rollover': {'siid': 2, 'piid': 2}, 'camera_control.night_shot': {'siid': 2, 'piid': 3}, 'camera_control.time_watermark': {'siid': 2, 'piid': 4}, 'camera_control.recording_mode': {'siid': 2, 'piid': 5}, 'stream_status-4-1': {'siid': 4, 'piid': 1}}, max_properties: 10/6
2024-03-06 06:04:53.271 ERROR (MainThread) [custom_components.xiaomi_miot.camera] Cam Test(isa.camera.hlc6): Got MiioException while fetching the state: Unable to discover the device 192.168.31.11, mapping: {'camera_control.on': {'siid': 2, 'piid': 1}, 'camera_control.image_rollover': {'siid': 2, 'piid': 2}, 'camera_control.night_shot': {'siid': 2, 'piid': 3}, 'camera_control.time_watermark': {'siid': 2, 'piid': 4}, 'camera_control.recording_mode': {'siid': 2, 'piid': 5}, 'stream_status-4-1': {'siid': 4, 'piid': 1}}, max_properties: 10/6
2024-03-06 06:04:53.776 WARNING (MainThread) [homeassistant.components.automation.auto_gas_meter] AUTO - Gas meter: Already running
2024-03-06 06:04:54.339 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2024-03-06 06:04:59.339 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2024-03-06 06:05:04.365 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2024-03-06 06:05:05.375 ERROR (MainThread) [homeassistant.helpers.entity] Update for camera.dreame_vacuum_map fails
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 942, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1261, in async_device_update
    await hass.async_add_executor_job(self.update)
  File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/xiaomi_cloud_map_extractor/camera.py", line 278, in update
    self._handle_map_data(map_name)
  File "/config/custom_components/xiaomi_cloud_map_extractor/camera.py", line 335, in _handle_map_data
    map_data, map_stored = self._device.get_map(map_name, self._colors, self._drawables, self._texts,
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/xiaomi_cloud_map_extractor/common/vacuum.py", line 36, in get_map
    map_data = self.decode_map(response, colors, drawables, texts, sizes, image_config)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/xiaomi_cloud_map_extractor/dreame/vacuum.py", line 24, in decode_map
    return MapDataParserDreame.decode_map(raw_map_string, colors, drawables, texts, sizes, image_config)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/xiaomi_cloud_map_extractor/dreame/map_data_parser.py", line 51, in decode_map
    unzipped = zlib.decompress(base64.decodebytes(raw_map_string.encode("utf8")))
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
zlib.error: Error -3 while decompressing data: incorrect header check
2024-03-06 06:05:08.911 ERROR (MainThread) [homeassistant.components.xiaomi_miio.remote] Device unavailable or token incorrect: Unable to discover the device 192.168.31.183
2024-03-06 06:05:09.672 WARNING (MainThread) [homeassistant.components.automation.auto_gas_meter] AUTO - Gas meter: Already running
2024-03-06 06:05:14.343 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2024-03-06 06:05:19.356 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2024-03-06 06:05:19.416 WARNING (MainThread) [homeassistant.helpers.entity] Update of camera.xiaomi_vacuum_map is taking over 10 seconds
2024-03-06 06:05:24.364 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2024-03-06 06:05:25.852 WARNING (MainThread) [homeassistant.components.automation.auto_gas_meter] AUTO - Gas meter: Already running
2024-03-06 06:05:29.358 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2024-03-06 06:05:34.361 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2024-03-06 06:05:39.362 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2024-03-06 06:05:39.796 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /ingress/validate_session request
2024-03-06 06:05:39.797 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /ingress/validate_session - 
2024-03-06 06:05:44.363 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2024-03-06 06:05:49.926 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2024-03-06 06:05:50.928 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /ingress/session request
2024-03-06 06:05:50.930 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /ingress/session - 
2024-03-06 06:05:52.176 WARNING (MainThread) [custom_components.xiaomi_miot.camera] Mi Smart Video Doorbell 2 Lite(madv.cateye.miowlv2l): camera events is empty. {'result': 'ok', 'retriable': False, 'code': 0, 'data': {'thirdPartPlayUnits': [], 'nextTime': 1709096750000, 'isContinue': True}, 'description': '成功', 'ts': 1709701551971}
2024-03-06 06:05:52.519 WARNING (MainThread) [custom_components.xiaomi_miot.camera] Cam Kids room(isa.camera.isc5c1): camera events is empty. {'result': 'ok', 'retriable': False, 'code': 0, 'data': {'thirdPartPlayUnits': [], 'nextTime': 1709096750000, 'isContinue': True}, 'description': '成功', 'ts': 1709701552318}
2024-03-06 06:05:53.085 ERROR (MainThread) [custom_components.xiaomi_miot.camera] Video camera(isa.camera.hlc6): Got MiioException while fetching the state: Unable to discover the device 192.168.31.226, mapping: {'camera_control.on': {'siid': 2, 'piid': 1}, 'camera_control.image_rollover': {'siid': 2, 'piid': 2}, 'camera_control.night_shot': {'siid': 2, 'piid': 3}, 'camera_control.time_watermark': {'siid': 2, 'piid': 4}, 'camera_control.recording_mode': {'siid': 2, 'piid': 5}, 'stream_status-4-1': {'siid': 4, 'piid': 1}}, max_properties: 10/6
2024-03-06 06:05:53.341 ERROR (MainThread) [custom_components.xiaomi_miot.camera] Cam Test(isa.camera.hlc6): Got MiioException while fetching the state: Unable to discover the device 192.168.31.11, mapping: {'camera_control.on': {'siid': 2, 'piid': 1}, 'camera_control.image_rollover': {'siid': 2, 'piid': 2}, 'camera_control.night_shot': {'siid': 2, 'piid': 3}, 'camera_control.time_watermark': {'siid': 2, 'piid': 4}, 'camera_control.recording_mode': {'siid': 2, 'piid': 5}, 'stream_status-4-1': {'siid': 4, 'piid': 1}}, max_properties: 10/6
2024-03-06 06:05:54.707 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2024-03-06 06:05:59.267 WARNING (MainThread) [homeassistant.components.automation.auto_gas_meter] AUTO - Gas meter: Already running
2024-03-06 06:05:59.708 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2024-03-06 06:06:00.668 ERROR (MainThread) [homeassistant.helpers.entity] Update for camera.dreame_vacuum_map fails
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 942, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1261, in async_device_update
    await hass.async_add_executor_job(self.update)
  File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/xiaomi_cloud_map_extractor/camera.py", line 278, in update
    self._handle_map_data(map_name)
  File "/config/custom_components/xiaomi_cloud_map_extractor/camera.py", line 335, in _handle_map_data
    map_data, map_stored = self._device.get_map(map_name, self._colors, self._drawables, self._texts,
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/xiaomi_cloud_map_extractor/common/vacuum.py", line 36, in get_map
    map_data = self.decode_map(response, colors, drawables, texts, sizes, image_config)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/xiaomi_cloud_map_extractor/dreame/vacuum.py", line 24, in decode_map
    return MapDataParserDreame.decode_map(raw_map_string, colors, drawables, texts, sizes, image_config)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/xiaomi_cloud_map_extractor/dreame/map_data_parser.py", line 51, in decode_map
    unzipped = zlib.decompress(base64.decodebytes(raw_map_string.encode("utf8")))
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
zlib.error: Error -3 while decompressing data: incorrect header check
2024-03-06 06:06:00.796 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /supervisor/info request
2024-03-06 06:06:00.799 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /os/info request
2024-03-06 06:06:00.800 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /host/info request
2024-03-06 06:06:00.802 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /core/info request
2024-03-06 06:06:00.806 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /store request
2024-03-06 06:06:00.808 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /info request
2024-03-06 06:06:00.810 WARNING (MainThread) [homeassistant.components.hassio] Can't read Supervisor data: 
2024-03-06 06:06:01.796 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /supervisor/info request
2024-03-06 06:06:01.798 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /os/info request
2024-03-06 06:06:01.800 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /core/info request
2024-03-06 06:06:01.802 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /info request
2024-03-06 06:06:01.807 ERROR (MainThread) [homeassistant.components.hassio] Error fetching hassio data: Error on Supervisor API: 
2024-03-06 06:06:09.733 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2024-03-06 06:06:14.738 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2024-03-06 06:06:14.743 WARNING (MainThread) [homeassistant.helpers.entity] Update of camera.xiaomi_vacuum_map is taking over 10 seconds
2024-03-06 06:06:16.973 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.v380] Error from stream worker: Error opening stream (ERRORTYPE_113, Host is unreachable) rtsp://192.168.31.240:554/live/ch00_0
2024-03-06 06:06:16.982 WARNING (MainThread) [homeassistant.components.automation.auto_gas_meter] AUTO - Gas meter: Already running
2024-03-06 06:06:19.795 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2024-03-06 06:06:24.790 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2024-03-06 06:06:29.774 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2024-03-06 06:06:34.788 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2024-03-06 06:06:35.071 WARNING (MainThread) [homeassistant.components.automation.auto_gas_meter] AUTO - Gas meter: Already running
2024-03-06 06:06:39.817 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2024-03-06 06:06:39.819 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /ingress/validate_session request
2024-03-06 06:06:39.821 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /ingress/validate_session - 
2024-03-06 06:06:44.829 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2024-03-06 06:06:50.040 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2024-03-06 06:06:50.944 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /ingress/session request
2024-03-06 06:06:50.945 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /ingress/session - 
2024-03-06 06:06:53.077 WARNING (MainThread) [custom_components.xiaomi_miot.camera] Cam Kids room(isa.camera.isc5c1): camera events is empty. {'result': 'ok', 'retriable': False, 'code': 0, 'data': {'thirdPartPlayUnits': [], 'nextTime': 1709096810000, 'isContinue': True}, 'description': '成功', 'ts': 1709701612886}
2024-03-06 06:06:53.244 WARNING (MainThread) [custom_components.xiaomi_miot.camera] Mi Smart Video Doorbell 2 Lite(madv.cateye.miowlv2l): camera events is empty. {'result': 'ok', 'retriable': False, 'code': 0, 'data': {'thirdPartPlayUnits': [], 'nextTime': 1709096810000, 'isContinue': True}, 'description': '成功', 'ts': 1709701612937}
2024-03-06 06:06:53.261 ERROR (MainThread) [custom_components.xiaomi_miot.camera] Video camera(isa.camera.hlc6): Got MiioException while fetching the state: Unable to discover the device 192.168.31.226, mapping: {'camera_control.on': {'siid': 2, 'piid': 1}, 'camera_control.image_rollover': {'siid': 2, 'piid': 2}, 'camera_control.night_shot': {'siid': 2, 'piid': 3}, 'camera_control.time_watermark': {'siid': 2, 'piid': 4}, 'camera_control.recording_mode': {'siid': 2, 'piid': 5}, 'stream_status-4-1': {'siid': 4, 'piid': 1}}, max_properties: 10/6
2024-03-06 06:06:53.300 ERROR (MainThread) [custom_components.xiaomi_miot.camera] Cam Test(isa.camera.hlc6): Got MiioException while fetching the state: Unable to discover the device 192.168.31.11, mapping: {'camera_control.on': {'siid': 2, 'piid': 1}, 'camera_control.image_rollover': {'siid': 2, 'piid': 2}, 'camera_control.night_shot': {'siid': 2, 'piid': 3}, 'camera_control.time_watermark': {'siid': 2, 'piid': 4}, 'camera_control.recording_mode': {'siid': 2, 'piid': 5}, 'stream_status-4-1': {'siid': 4, 'piid': 1}}, max_properties: 10/6
2024-03-06 06:06:55.022 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2024-03-06 06:06:56.016 ERROR (MainThread) [homeassistant.helpers.entity] Update for camera.dreame_vacuum_map fails
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 942, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1261, in async_device_update
    await hass.async_add_executor_job(self.update)
  File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/xiaomi_cloud_map_extractor/camera.py", line 278, in update
    self._handle_map_data(map_name)
  File "/config/custom_components/xiaomi_cloud_map_extractor/camera.py", line 335, in _handle_map_data
    map_data, map_stored = self._device.get_map(map_name, self._colors, self._drawables, self._texts,
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/xiaomi_cloud_map_extractor/common/vacuum.py", line 36, in get_map
    map_data = self.decode_map(response, colors, drawables, texts, sizes, image_config)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/xiaomi_cloud_map_extractor/dreame/vacuum.py", line 24, in decode_map
    return MapDataParserDreame.decode_map(raw_map_string, colors, drawables, texts, sizes, image_config)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/xiaomi_cloud_map_extractor/dreame/map_data_parser.py", line 51, in decode_map
    unzipped = zlib.decompress(base64.decodebytes(raw_map_string.encode("utf8")))
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
zlib.error: Error -3 while decompressing data: incorrect header check
2024-03-06 06:07:05.041 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2024-03-06 06:07:10.045 WARNING (MainThread) [homeassistant.helpers.entity] Update of camera.xiaomi_vacuum_map is taking over 10 seconds
2024-03-06 06:07:22.806 WARNING (MainThread) [homeassistant.core] Task <Future pending cb=[_chain_future.<locals>._call_check_cancel() at /usr/local/lib/python3.12/asyncio/futures.py:387, <1 more>, Task.task_wakeup()]> was still running after final writes shutdown stage; Integrations should cancel non-critical tasks when receiving the stop event to prevent delaying shutdown
2024-03-06 06:07:22.819 WARNING (MainThread) [homeassistant.core] Task <Task pending name='track time interval 5.0' coro=<EntityPlatform._update_entity_states() running at /usr/src/homeassistant/homeassistant/helpers/entity_platform.py:911> wait_for=<Future cancelled> cb=[set.remove()]> was still running after final writes shutdown stage; Integrations should cancel non-critical tasks when receiving the stop event to prevent delaying shutdown
2024-03-06 06:07:22.976 WARNING (Thread-6745 (_do_shutdown)) [homeassistant.util.executor] Thread[SyncWorker_13] is still running at shutdown: File "/usr/local/lib/python3.12/threading.py", line 1030, in _bootstrap
    self._bootstrap_inner()
  File "/usr/local/lib/python3.12/threading.py", line 1073, in _bootstrap_inner
    self.run()
  File "/usr/local/lib/python3.12/threading.py", line 1010, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 92, in _worker
    work_item.run()
  File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/xiaomi_cloud_map_extractor/camera.py", line 273, in update
    map_name = self._handle_map_name(counter)
  File "/config/custom_components/xiaomi_cloud_map_extractor/camera.py", line 320, in _handle_map_name
    map_name = self._vacuum.map()[0]
  File "/usr/local/lib/python3.12/site-packages/miio/click_common.py", line 183, in _wrap
    self._fetch_info()
  File "/usr/local/lib/python3.12/site-packages/miio/integrations/vacuum/roborock/vacuum.py", line 260, in _fetch_info
    info = super()._fetch_info()
  File "/usr/local/lib/python3.12/site-packages/miio/device.py", line 153, in _fetch_info
    devinfo = DeviceInfo(self.send("miIO.info"))
  File "/usr/local/lib/python3.12/site-packages/miio/device.py", line 107, in send
    return self._protocol.send(
  File "/usr/local/lib/python3.12/site-packages/miio/miioprotocol.py", line 161, in send
    self.send_handshake()
  File "/usr/local/lib/python3.12/site-packages/miio/miioprotocol.py", line 65, in send_handshake
    m = MiIOProtocol.discover(self.ip)
  File "/usr/local/lib/python3.12/site-packages/miio/miioprotocol.py", line 119, in discover
    data, recv_addr = s.recvfrom(1024)
2024-03-06 06:07:23.093 ERROR (MainThread) [custom_components.xiaomi_miot.sensor] Unexpected error fetching xiaomi_miot-mihome-scene-history-1598317259_83001002237 data: Executor shutdown has been called
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 313, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 269, in _async_update_data
    return await self.update_method()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/xiaomi_miot/sensor.py", line 827, in fetch_latest_message
    res = await self.cloud.async_request_api('scene/history', data={
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/xiaomi_miot/core/xiaomi_cloud.py", line 171, in async_request_api
    return await self.hass.async_add_executor_job(
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 662, in async_add_executor_job
    task = self.loop.run_in_executor(None, target, *args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 853, in run_in_executor
    self._check_default_executor()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 543, in _check_default_executor
    raise RuntimeError('Executor shutdown has been called')
RuntimeError: Executor shutdown has been called
2024-03-06 06:07:23.979 WARNING (Thread-6745 (_do_shutdown)) [homeassistant.util.executor] Thread[SyncWorker_13] is still running at shutdown: File "/usr/local/lib/python3.12/threading.py", line 1030, in _bootstrap
    self._bootstrap_inner()
  File "/usr/local/lib/python3.12/threading.py", line 1073, in _bootstrap_inner
    self.run()
  File "/usr/local/lib/python3.12/threading.py", line 1010, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 92, in _worker
    work_item.run()
  File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/xiaomi_cloud_map_extractor/camera.py", line 273, in update
    map_name = self._handle_map_name(counter)
  File "/config/custom_components/xiaomi_cloud_map_extractor/camera.py", line 320, in _handle_map_name
    map_name = self._vacuum.map()[0]
  File "/usr/local/lib/python3.12/site-packages/miio/click_common.py", line 183, in _wrap
    self._fetch_info()
  File "/usr/local/lib/python3.12/site-packages/miio/integrations/vacuum/roborock/vacuum.py", line 260, in _fetch_info
    info = super()._fetch_info()
  File "/usr/local/lib/python3.12/site-packages/miio/device.py", line 153, in _fetch_info
    devinfo = DeviceInfo(self.send("miIO.info"))
  File "/usr/local/lib/python3.12/site-packages/miio/device.py", line 107, in send
    return self._protocol.send(
  File "/usr/local/lib/python3.12/site-packages/miio/miioprotocol.py", line 161, in send
    self.send_handshake()
  File "/usr/local/lib/python3.12/site-packages/miio/miioprotocol.py", line 65, in send_handshake
    m = MiIOProtocol.discover(self.ip)
  File "/usr/local/lib/python3.12/site-packages/miio/miioprotocol.py", line 119, in discover
    data, recv_addr = s.recvfrom(1024)


Uživatelský avatar
Pete30
Moderátor
Moderátor
Příspěvky: 3394
Registrován: 30. září 2020, 20:33
Dal poděkování: 174 poděkování
Dostal poděkování: 369 poděkování

Re: Reštartovanie Ha počas kompilacie v esphome

Příspěvek od Pete30 »

Na čem ti běží HA ?
Obávám se že mu dojde paměť a zkolabuje.
Pokud nejsem přítomen tak jsem na rybách ;)

Uživatelský avatar
tiimsvk
Dárce - Donátor
Dárce - Donátor
Příspěvky: 825
Registrován: 06. květen 2021, 07:03
Dal poděkování: 75 poděkování
Dostal poděkování: 65 poděkování

Re: Reštartovanie Ha počas kompilacie v esphome

Příspěvek od tiimsvk »

RPI 4GB to som tiez sledoval lebo to ma ako prve napadlo ... nepresiahla cez 56% ale asi to este raz pozriem ked budem kompilovat a uvidim

Uživatelský avatar
Pete30
Moderátor
Moderátor
Příspěvky: 3394
Registrován: 30. září 2020, 20:33
Dal poděkování: 174 poděkování
Dostal poděkování: 369 poděkování

Re: Reštartovanie Ha počas kompilacie v esphome

Příspěvek od Pete30 »

Věřím že je to tím, já zde mám Rpi4 8Gb a někdy to jde hodně nahoru například při kompilaci ESP-S3-BOX 3
Pokud nejsem přítomen tak jsem na rybách ;)

Uživatelský avatar
tiimsvk
Dárce - Donátor
Dárce - Donátor
Příspěvky: 825
Registrován: 06. květen 2021, 07:03
Dal poděkování: 75 poděkování
Dostal poděkování: 65 poděkování

Re: Reštartovanie Ha počas kompilacie v esphome

Příspěvek od tiimsvk »

Ano presne niečo podobne kompilujem:
viewtopic.php?f=56&t=1276&p=14525#p14525

Teraz som sa ale dival zatial nesekol ale 60% ram 100% cpu

EDIT: da sa s tym niečo robiť?

kiklhorn
Moderátor
Moderátor
Příspěvky: 904
Registrován: 03. červenec 2021, 18:35
Dal poděkování: 107 poděkování
Dostal poděkování: 210 poděkování

Re: Reštartovanie Ha počas kompilacie v esphome

Příspěvek od kiklhorn »

Zkus compile_process_limit: 1

https://esphome.io/components/esphome.html

Určitě tam bývala ještě nějaká jiná volba na omezení využití prostředků, ale to už je strašně dávno co jsem to potřeboval.
Vše co si přinesu domů je buď Shelly, nebo to skončí buď pod ESPhome nebo pod Zigbee2mqtt.
Ajťák co pamatuje BBS a OS/2 Warp a je mu jedno o jaký systém nebo síťařinu běží.
HA OS jako jedna z Proxmox VM na Odroid H3+/64GB https://github.com/tteck/Proxmox

Uživatelský avatar
tiimsvk
Dárce - Donátor
Dárce - Donátor
Příspěvky: 825
Registrován: 06. květen 2021, 07:03
Dal poděkování: 75 poděkování
Dostal poděkování: 65 poděkování

Re: Reštartovanie Ha počas kompilacie v esphome

Příspěvek od tiimsvk »

Vyskúšam a dám vedieť ako to dopadlo

Odpovědět

Zpět na „Problémy - Logy - Chyby - Varování“