Closed adizanni closed 6 months ago
I retrieved a picture from another thread, even if it is not coming from my installation it is exactly the error that I saw in the console:
Same issue here
trouble to upgrade from 2024.4.4 to 2024.5.0 too dreame vacuum v1.0.3
Same issue here, anyone found a workaround? I can't access the HA UI but unpluggind and plugging in the Raspberry worked for a short period. Anyone have an idea how we can disable the Dreamee integration via HA CLI?
Same issue here. Upgrade to HA 2024.5 not possible without crash and (automatic) restore to last saved.
Same issue here, anyone found a workaround? I can't access the HA UI but unpluggind and plugging in the Raspberry worked for a short period. Anyone have an idea how we can disable the Dreamee integration via HA CLI?
I managed to disable the Integration before HA loaded it..
Same behavier here. But it is a very nice add on and I hope you can fix it
Same here.
I connected trough SSH, forced a reboot, went into HA GUI web panel and disabled Dreame integration. This stops HA from crashing. It's either disable or rollback to 24.4 for now.
Hopefully developers can push Dreame update.
The same thing. Here are excerpts and logan on integration. Freezes when parsing the map.
Строка 18772: 2024-05-02 18:36:53.466 WARNING (MainThread) [homeassistant.helpers.entity] Entity camera.dreame_robot_vacuum_mop_f9_map (<class 'custom_components.dreamevacuum.camera.DreameVacuumCameraEntity'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <CameraEntityFeature: 0>, please create a bug report at https://github.com/Tasshack/dreame-vacuum/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation
The same thing. Here are excerpts and logan on integration. Freezes when parsing the map.
Строка 18772: 2024-05-02 18:36:53.466 WARNING (MainThread) [homeassistant.helpers.entity] Entity camera.dreame_robot_vacuum_mop_f9_map (<class 'custom_components.dreamevacuum.camera.DreameVacuumCameraEntity'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <CameraEntityFeature: 0>, please create a bug report at https://github.com/Tasshack/dreame-vacuum/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation
I did not find the same log entries, but happy that you add some clue on the root cause. Everybody is saying in the various forum that HA 2024.5.0 is forcing thread safety and the custom integration that are not following the guidelines may have some memory issues
Just got my HA instance back up and running. Dreame integration was the culprit as others suspected. I could not get into web ui at all. But found this post that explained how to remove integration via cli.
https://community.home-assistant.io/t/disable-integration-from-cli/405778
Remove Dreame entry from config and reboot. You will be back up and running.
Same issue with 2024.5.0 here. I was able to downgrade to 2024.4.4 through the terminal and will now stay on that version until the issue is resolved.
Yeah i filed https://github.com/Tasshack/dreame-vacuum/issues/522 before, but it was closed...
I managed to disable config entry, boot, remove integration and re-add it.
Same problem here. Disabling it allowed me to upgrade, but when I re-enabled it under 2024.5 Home Assistant crashed instantly. Here is everything in the log from when I re-enabled it...note that the last line was the last line in the log before everything crashed.
2024-05-02 16:27:58.049 INFO (MainThread) [homeassistant.setup] Setting up dreame_vacuum 2024-05-02 16:27:58.051 INFO (MainThread) [custom_components.dreame_vacuum] Integration starting... 2024-05-02 16:28:01.568 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Connecting to device 2024-05-02 16:28:05.028 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Connected to device: dreame.vacuum.r2228o 4.3.9_3102 2024-05-02 16:28:06.518 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property STATE Added: 13 2024-05-02 16:28:06.518 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property ERROR Added: 0 2024-05-02 16:28:06.518 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property BATTERY_LEVEL Added: 100 2024-05-02 16:28:06.518 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property CHARGING_STATUS Added: 1 2024-05-02 16:28:06.519 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property STATUS Added: 14 2024-05-02 16:28:06.519 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property CLEANING_TIME Added: 0 2024-05-02 16:28:06.519 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property CLEANED_AREA Added: 0 2024-05-02 16:28:06.519 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property SUCTION_LEVEL Added: 1 2024-05-02 16:28:06.520 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property WATER_VOLUME Added: 2 2024-05-02 16:28:06.520 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property WATER_TANK Added: 1 2024-05-02 16:28:06.520 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property TASK_STATUS Added: 0 2024-05-02 16:28:06.520 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property RESUME_CLEANING Added: 1 2024-05-02 16:28:06.521 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property CARPET_BOOST Added: 1 2024-05-02 16:28:06.521 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property SERIAL_NUMBER Added: R2228B33EUS0041401 2024-05-02 16:28:06.521 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property MOP_CLEANING_REMAINDER Added: 0 2024-05-02 16:28:06.521 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property CLEANING_PAUSED Added: 0 2024-05-02 16:28:06.522 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property FAULTS Added: 2024-05-02 16:28:06.522 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property NATION_MATCHED Added: matched 2024-05-02 16:28:06.522 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property RELOCATION_STATUS Added: 0 2024-05-02 16:28:06.522 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property OBSTACLE_AVOIDANCE Added: 1 2024-05-02 16:28:06.522 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property AI_DETECTION Added: 3 2024-05-02 16:28:06.523 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property CLEANING_MODE Added: 136194 2024-05-02 16:28:06.523 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property UPLOAD_MAP Added: 1 2024-05-02 16:28:06.526 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property SELF_WASH_BASE_STATUS Added: 0 2024-05-02 16:28:06.527 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property CUSTOMIZED_CLEANING Added: 0 2024-05-02 16:28:06.527 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property CHILD_LOCK Added: 0 2024-05-02 16:28:06.527 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property CARPET_SENSITIVITY Added: 2 2024-05-02 16:28:06.528 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property TIGHT_MOPPING Added: 0 2024-05-02 16:28:06.528 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property CLEANING_CANCEL Added: 0 2024-05-02 16:28:06.528 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property Y_CLEAN Added: 0 2024-05-02 16:28:06.529 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property CARPET_RECOGNITION Added: 1 2024-05-02 16:28:06.529 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property SELF_CLEAN Added: 1 2024-05-02 16:28:06.530 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property WARN_STATUS Added: 101 2024-05-02 16:28:06.530 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property CARPET_AVOIDANCE Added: 2 2024-05-02 16:28:06.530 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property AUTO_ADD_DETERGENT Added: 1 2024-05-02 16:28:06.530 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property CAPABILITY Added: 0 2024-05-02 16:28:06.531 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property SAVE_WATER_TIPS Added: 0 2024-05-02 16:28:06.531 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property DRYING_TIME Added: 2 2024-05-02 16:28:06.531 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property NO_WATER_WARNING Added: 0 2024-05-02 16:28:06.537 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property MOP_WASH_LEVEL Added: 1 2024-05-02 16:28:06.538 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property AUTO_MOUNT_MOP Added: 0 2024-05-02 16:28:06.538 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property SCHEDULED_CLEAN Added: 0 2024-05-02 16:28:06.538 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property QUICK_COMMAND Added: [] 2024-05-02 16:28:06.538 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property INTELLIGENT_RECOGNITION Added: 1 2024-05-02 16:28:06.539 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property AUTO_SWITCH_SETTINGS Added: [{"k":"AutoDry","v":1},{"k":"CleanType","v":0},{"k":"FillinLight","v":1},{"k":"FluctuationConfirmResult","v":0},{"k":"FluctuationTestResult","v":0},{"k":"HotWash","v":1},{"k":"LessColl","v":1},{"k":"MaterialDirectionClean","v":0},{"k":"MeticulousTwist","v":-7},{"k":"MonitorHumanFollow","v":0},{"k":"MopScalable","v":1},{"k":"PetPartClean","v":0},{"k":"SmartAutoMop","v":0},{"k":"SmartAutoWash","v":0},{"k":"SmartCharge","v":1},{"k":"SmartDrying","v":0},{"k":"SmartHost","v":0},{"k":"StainIdentify","v":1},{"k":"SuctionMax","v":0}] 2024-05-02 16:28:06.539 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property AUTO_WATER_REFILLING Added: 0 2024-05-02 16:28:06.539 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property MOP_IN_STATION Added: 0 2024-05-02 16:28:06.539 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property MOP_PAD_INSTALLED Added: 0 2024-05-02 16:28:06.540 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property DND Added: False 2024-05-02 16:28:06.540 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property DND_START Added: 22:00 2024-05-02 16:28:06.540 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property DND_END Added: 08:00 2024-05-02 16:28:06.540 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property DND_TASK Added: [{"id":0,"en":false,"st":"22:00","et":"08:00","wk":127,"ss":0}] 2024-05-02 16:28:06.541 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property MULTI_FLOOR_MAP Added: 1 2024-05-02 16:28:06.541 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property MAP_LIST Added: {"object_name":"6673687085/660731413/9","md5":"dfc16fdff1870ce54950cf3dacd7f9fc"} 2024-05-02 16:28:06.541 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property RECOVERY_MAP_LIST Added: {"object_name":"6673687085/660731413/8"} 2024-05-02 16:28:06.541 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property BACKUP_MAP_STATUS Added: 0 2024-05-02 16:28:06.542 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property VOLUME Added: 90 2024-05-02 16:28:06.542 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property VOICE_PACKET_ID Added: EN 2024-05-02 16:28:06.542 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property TIMEZONE Added: America/Toronto 2024-05-02 16:28:06.542 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property SCHEDULE Added: 2024-05-02 16:28:06.543 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property SCHEDULE_CANCEL_REASON Added: 0 2024-05-02 16:28:06.543 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property CRUISE_SCHEDULE Added: eF6LjgUAARUAuQ== 2024-05-02 16:28:06.551 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property MAIN_BRUSH_TIME_LEFT Added: 261 2024-05-02 16:28:06.552 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property MAIN_BRUSH_LEFT Added: 87 2024-05-02 16:28:06.552 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property SIDE_BRUSH_TIME_LEFT Added: 161 2024-05-02 16:28:06.552 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property SIDE_BRUSH_LEFT Added: 80 2024-05-02 16:28:06.552 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property FILTER_LEFT Added: 74 2024-05-02 16:28:06.553 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property FILTER_TIME_LEFT Added: 111 2024-05-02 16:28:06.553 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property FIRST_CLEANING_DATE Added: 1705439591 2024-05-02 16:28:06.553 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property TOTAL_CLEANING_TIME Added: 689 2024-05-02 16:28:06.553 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property CLEANING_COUNT Added: 14 2024-05-02 16:28:06.554 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property TOTAL_CLEANED_AREA Added: 507 2024-05-02 16:28:06.554 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property AUTO_DUST_COLLECTING Added: 1 2024-05-02 16:28:06.554 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property AUTO_EMPTY_FREQUENCY Added: 1 2024-05-02 16:28:06.554 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property DUST_COLLECTION Added: 1 2024-05-02 16:28:06.554 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property AUTO_EMPTY_STATUS Added: 0 2024-05-02 16:28:06.555 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property SENSOR_DIRTY_LEFT Added: 87 2024-05-02 16:28:06.555 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property SENSOR_DIRTY_TIME_LEFT Added: 26 2024-05-02 16:28:06.555 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property MOP_PAD_LEFT Added: 66 2024-05-02 16:28:06.555 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property MOP_PAD_TIME_LEFT Added: 53 2024-05-02 16:28:06.555 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property SILVER_ION_TIME_LEFT Added: 364 2024-05-02 16:28:06.556 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property SILVER_ION_LEFT Added: 99 2024-05-02 16:28:06.556 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property DETERGENT_LEFT Added: 85 2024-05-02 16:28:06.556 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.device] Property DETERGENT_TIME_LEFT Added: 16 2024-05-02 16:28:06.572 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.map] Get Map List: 6673687085/660731413/9 2024-05-02 16:28:07.661 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.map] Add saved map: 2 2024-05-02 16:28:07.662 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.map] Add saved map: 8 2024-05-02 16:28:07.662 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.map] Request map from device [{'piid': 2, 'value': '{"req_type":1,"frame_type":"I","force_type":1}'}] 2024-05-02 16:28:07.909 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.map] Response from device [{'piid': 1, 'value': ''}, {'piid': 3, 'value': '6673687085/660731413/0'}, {'piid': 5, 'value': 1714681697623}] 2024-05-02 16:28:08.311 INFO (SyncWorker_44) [custom_components.dreame_vacuum.dreame.map] Decode I map 1 27 2024-05-02 16:28:08.985 INFO (MainThread) [homeassistant.setup] Setting up vacuum 2024-05-02 16:28:08.988 INFO (MainThread) [homeassistant.components.vacuum] Setting up dreame_vacuum.vacuum 2024-05-02 16:28:09.028 INFO (MainThread) [homeassistant.components.sensor] Setting up dreame_vacuum.sensor 2024-05-02 16:28:09.095 INFO (MainThread) [homeassistant.components.switch] Setting up dreame_vacuum.switch 2024-05-02 16:28:09.165 INFO (MainThread) [homeassistant.components.button] Setting up dreame_vacuum.button 2024-05-02 16:28:09.202 INFO (MainThread) [homeassistant.components.number] Setting up dreame_vacuum.number 2024-05-02 16:28:09.212 INFO (MainThread) [homeassistant.components.select] Setting up dreame_vacuum.select 2024-05-02 16:28:09.315 INFO (MainThread) [homeassistant.components.camera] Setting up dreame_vacuum.camera 2024-05-02 16:28:10.486 INFO (MainThread) [custom_components.dreame_vacuum.dreame.map] Render frame: 1:27 took: 0.86 2024-05-02 16:28:11.971 WARNING (MainThread) [homeassistant.helpers.entity] Entity camera.dreamebot_l10s_ultra_map (<class 'custom_components.dreame_vacuum.camera.DreameVacuumCameraEntity'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <CameraEntityFeature: 0>, please create a bug report at https://github.com/Tasshack/dreame-vacuum/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation 2024-05-02 16:28:13.085 INFO (MainThread) [custom_components.dreame_vacuum.dreame.map] Render frame: 2:0 took: 0.85 2024-05-02 16:28:14.304 INFO (MainThread) [custom_components.dreame_vacuum.dreame.map] Render frame: 2:0 took: 0.83 2024-05-02 16:28:15.526 INFO (MainThread) [custom_components.dreame_vacuum.dreame.map] Render frame: 2:0 took: 0.83 2024-05-02 16:28:16.734 INFO (MainThread) [custom_components.dreame_vacuum.dreame.map] Render frame: 2:0 took: 0.82 2024-05-02 16:28:17.956 INFO (MainThread) [custom_components.dreame_vacuum.dreame.map] Render frame: 2:0 took: 0.84 2024-05-02 16:28:19.187 INFO (MainThread) [custom_components.dreame_vacuum.dreame.map] Render frame: 2:0 took: 0.85 2024-05-02 16:28:20.409 INFO (MainThread) [custom_components.dreame_vacuum.dreame.map] Render frame: 2:0 took: 0.84 2024-05-02 16:28:21.634 INFO (MainThread) [custom_components.dreame_vacuum.dreame.map] Render frame: 2:0 took: 0.84 2024-05-02 16:28:22.873 INFO (MainThread) [custom_components.dreame_vacuum.dreame.map] Render frame: 2:0 took: 0.86 2024-05-02 16:28:24.144 INFO (MainThread) [custom_components.dreame_vacuum.dreame.map] Render frame: 2:0 took: 0.86 2024-05-02 16:28:25.358 INFO (MainThread) [custom_components.dreame_vacuum.dreame.map] Render frame: 2:0 took: 0.83 2024-05-02 16:28:26.585 INFO (MainThread) [custom_components.dreame_vacuum.dreame.map] Render frame: 2:0 took: 0.85 2024-05-02 16:28:27.807 INFO (MainThread) [custom_components.dreame_vacuum.dreame.map] Render frame: 2:0 took: 0.85 2024-05-02 16:28:29.026 INFO (MainThread) [custom_components.dreame_vacuum.dreame.map] Render frame: 2:0 took: 0.84 2024-05-02 16:28:30.239 INFO (MainThread) [custom_components.dreame_vacuum.dreame.map] Render frame: 2:0 took: 0.84 2024-05-02 16:28:31.442 INFO (MainThread) [custom_components.dreame_vacuum.dreame.map] Render frame: 2:0 took: 0.83 2024-05-02 16:28:32.664 INFO (MainThread) [custom_components.dreame_vacuum.dreame.map] Render frame: 2:0 took: 0.85 2024-05-02 16:28:33.894 INFO (MainThread) [custom_components.dreame_vacuum.dreame.map] Render frame: 2:0 took: 0.85 2024-05-02 16:28:35.122 INFO (MainThread) [custom_components.dreame_vacuum.dreame.map] Render frame: 2:0 took: 0.86 2024-05-02 16:28:36.366 INFO (MainThread) [custom_components.dreame_vacuum.dreame.map] Render frame: 2:0 took: 0.86 2024-05-02 16:28:37.570 INFO (MainThread) [custom_components.dreame_vacuum.dreame.map] Render frame: 2:0 took: 0.83 2024-05-02 16:28:38.796 INFO (MainThread) [custom_components.dreame_vacuum.dreame.map] Render frame: 2:0 took: 0.84 2024-05-02 16:28:39.988 INFO (MainThread) [custom_components.dreame_vacuum.dreame.map] Render frame: 2:0 took: 0.82 2024-05-02 16:28:41.189 INFO (MainThread) [custom_components.dreame_vacuum.dreame.map] Render frame: 2:0 took: 0.83 2024-05-02 16:28:42.387 INFO (MainThread) [custom_components.dreame_vacuum.dreame.map] Render frame: 2:0 took: 0.83 2024-05-02 16:28:43.604 INFO (MainThread) [custom_components.dreame_vacuum.dreame.map] Render frame: 2:0 took: 0.84 2024-05-02 16:28:44.801 INFO (MainThread) [custom_components.dreame_vacuum.dreame.map] Render frame: 2:0 took: 0.83 2024-05-02 16:28:45.990 INFO (MainThread) [custom_components.dreame_vacuum.dreame.map] Render frame: 2:0 took: 0.82 2024-05-02 16:28:47.182 INFO (MainThread) [custom_components.dreame_vacuum.dreame.map] Render frame: 2:0 took: 0.82 2024-05-02 16:28:48.374 INFO (MainThread) [custom_components.dreame_vacuum.dreame.map] Render frame: 2:0 took: 0.82 2024-05-02 16:28:49.676 INFO (MainThread) [custom_components.dreame_vacuum.dreame.map] Render frame: 2:0 took: 0.92 2024-05-02 16:28:50.900 INFO (MainThread) [custom_components.dreame_vacuum.dreame.map] Render frame: 2:0 took: 0.84 2024-05-02 16:28:52.145 INFO (MainThread) [custom_components.dreame_vacuum.dreame.map] Render frame: 2:0 took: 0.84 2024-05-02 16:28:53.438 INFO (MainThread) [custom_components.dreame_vacuum.dreame.map] Render frame: 2:0 took: 0.92 2024-05-02 16:28:54.764 INFO (MainThread) [custom_components.dreame_vacuum.dreame.map] Render frame: 2:0 took: 0.94 2024-05-02 16:28:56.119 INFO (MainThread) [custom_components.dreame_vacuum.dreame.map] Render frame: 2:0 took: 0.97 2024-05-02 16:28:57.618 INFO (MainThread) [custom_components.dreame_vacuum.dreame.map] Render frame: 2:0 took: 1.11 2024-05-02 16:28:59.181 INFO (MainThread) [custom_components.dreame_vacuum.dreame.map] Render frame: 2:0 took: 1.19 2024-05-02 16:29:00.886 INFO (MainThread) [custom_components.dreame_vacuum.dreame.map] Render frame: 2:0 took: 1.33 2024-05-02 16:29:02.255 INFO (MainThread) [custom_components.dreame_vacuum.dreame.map] Render frame: 2:0 took: 0.99 2024-05-02 16:29:03.588 INFO (MainThread) [custom_components.dreame_vacuum.dreame.map] Render frame: 2:0 took: 0.95 2024-05-02 16:29:04.972 INFO (MainThread) [custom_components.dreame_vacuum.dreame.map] Render frame: 2:0 took: 1.01 2024-05-02 16:29:06.325 INFO (MainThread) [custom_components.dreame_vacuum.dreame.map] Render frame: 2:0 took: 0.97 2024-05-02 16:29:07.837 INFO (MainThread) [custom_components.dreame_vacuum.dreame.map] Render frame: 2:0 took: 1.01 2024-05-02 16:29:09.302 INFO (MainThread) [custom_components.dreame_vacuum.dreame.map] Render frame: 2:0 took: 1.07 2024-05-02 16:29:10.796 INFO (MainThread) [custom_components.dreame_vacuum.dreame.map] Render frame: 2:0 took: 1.09 2024-05-02 16:29:12.140 INFO (MainThread) [custom_components.dreame_vacuum.dreame.map] Render frame: 2:0 took: 0.96
For now it all looks like it has some loop on map camera feed generation, which leads to OutOfMemory crash...
Saying that HA is not working with the integration is not enough for me understanding and fixing the underlying issue because I cannot reproduce it on my setup and seems like it only affects HA OS installation.
I did not find the same log entries, but happy that you add some clue on the root cause. Everybody is saying in the various forum that HA 2024.5.0 is forcing thread safety and the custom integration that are not following the guidelines may have some memory issues
@adizanni can you create an issue to the HA Core to get more information from a HA Core developer about the changes on 2024.5.0 that causes this and also what needs to changed from the integration to fix it.
@g470258 says Beta version of the integration works without a problem on 2024.5.0, can anyone alse confirm this? I can backport some changes to the stable version if the Beta version works.
Beware trying to install it on 2024.5 - I re-enabled the integration and it crashed HA instantly and then somehow broke something and I wound up not even being able to roll back to 2024.4.4, but actually had to do a complete restore of a backup...
@g470258 says Beta version of the integration works without a problem on 2024.5.0, can anyone alse confirm this? I can backport some changes to the stable version if the Beta version works.
I will try it, notwithstanding my previous comment... (tomorrow...if I kill my HA the TV doesn't work properly and I'll get in trouble)
Saying that HA is not working with the integration is not enough for me understanding and fixing the underlying issue because I cannot reproduce it on my setup and seems like it only affects HA OS installation.
I did not find the same log entries, but happy that you add some clue on the root cause. Everybody is saying in the various forum that HA 2024.5.0 is forcing thread safety and the custom integration that are not following the guidelines may have some memory issues
@adizanni can you create an issue to the HA Core to get more information from a HA Core developer about the changes on 2024.5.0 that causes this and also what needs to changed from the integration to fix it.
There isn't a lot in the logs to work with, other than the soon to be deprecated stuff (which you would hope wouldn't cause critical errors prior to the date).
@g470258 says Beta version of the integration works without a problem on 2024.5.0, can anyone alse confirm this? I can backport some changes to the stable version if the Beta version works.
Just installed beta 2.0.0b14 on HA 2024.5.0. Confirming, it works for me.
Command for upgrading to the Beta from cli.
wget -O - https://raw.githubusercontent.com/Tasshack/dreame-vacuum/dev/install | bash -
This will confuse the HACS so you may need to reinstall the integration over HACS after your HA is up and running again.
Command for upgrading to the Beta from cli.
wget -O - https://raw.githubusercontent.com/Tasshack/dreame-vacuum/dev/install | bash -
This will confuse the HACS so you may need to reinstall the integraion over HACS after your HA is up and running again.
Why doing it, if you can go to HACS, hit 3 dots -> "Reinstall", and tick "show beta versions" there? I did it like this, and installed beta successfully.
Command for upgrading to the Beta from cli.
wget -O - https://raw.githubusercontent.com/Tasshack/dreame-vacuum/dev/install | bash -
This will confuse the HACS so you may need to reinstall the integraion over HACS after your HA is up and running again.Why doing it, if you can go to HACS, hit 3 dots -> "Reinstall", and tick "show beta versions" there? I did it like this, and installed beta successfully.
For the people cannot get up and running their HA because integration prevents from it.
For the people cannot get up and running their HA because integration prevents from it.
Oh. Well, I deleted my vacuum, upgraded and added it back - it even put same entity IDs, no hassle. :)
New version released
https://github.com/Tasshack/dreame-vacuum/releases/tag/v1.0.4
Installation without HACS
wget -O - https://raw.githubusercontent.com/Tasshack/dreame-vacuum/master/install | bash -
New version released
https://github.com/Tasshack/dreame-vacuum/releases/tag/v1.0.4
I can confirm it works fine now (supervised installation on Debian 12), thanks!
New version released
https://github.com/Tasshack/dreame-vacuum/releases/tag/v1.0.4
Installation without HACS
wget -O - https://raw.githubusercontent.com/Tasshack/dreame-vacuum/master/install | bash -
Works for me. Thanks a lot
Saying that HA is not working with the integration is not enough for me understanding and fixing the underlying issue because I cannot reproduce it on my setup and seems like it only affects HA OS installation.
I did not find the same log entries, but happy that you add some clue on the root cause. Everybody is saying in the various forum that HA 2024.5.0 is forcing thread safety and the custom integration that are not following the guidelines may have some memory issues
@adizanni can you create an issue to the HA Core to get more information from a HA Core developer about the changes on 2024.5.0 that causes this and also what needs to changed from the integration to fix it.
I will test this afternoon and close the ticket if the 1.0.4 fixes the stalling (and based on the feedbacks above) If I got it well you do not need to ask Core developers for information. Were you able to detect which change in 2024.5.0 caused the infinite loop in the image download routine ? Was it related to thread-safety or any other cause ?
I will test this afternoon and close the ticket if the 1.0.4 fixes the stalling (and based on the feedbacks above) If I got it well you do not need to ask Core developers for information. Were you able to detect which change in 2024.5.0 caused the infinite loop in the image download routine ? Was it related to thread-safety or any other cause ?
I don't need information from Core developers anymore because I have been able to reproduce the issue myself and found out that new HA blocks async calls from threads that will lead on an infinite loop in the camera entity render function resulting memory leak until no memory has been left on the device.
I think there are still some async calls from threads in the integration that i need to address so I may need to release a new version later this day.
Nice work team ! Great reactivity ! Thanks a lot.
As far as I'm concerned, after upgrading to v1.0.4 the stalling issue is resolved.
I will test this afternoon and close the ticket if the 1.0.4 fixes the stalling (and based on the feedbacks above) If I got it well you do not need to ask Core developers for information. Were you able to detect which change in 2024.5.0 caused the infinite loop in the image download routine ? Was it related to thread-safety or any other cause ?
I don't need information from Core developers anymore because I have been able to reproduce the issue myself and found out that new HA blocks async calls from threads that will lead on an infinite loop in the camera entity render function resulting memory leak until no memory has been left on the device.
I think there are still some async calls from threads in the integration that i need to address so I may need to release a new version later this day.
Thank you very much for jumping on this - I appreciate it!!
Thanks a lot!
Hi great job, but i'm on 2.0 betas version for the dreame app compatiblity, can you update the beta version too?
Hi great job, but i'm on 2.0 betas version for the dreame app compatiblity, can you update the beta version too?
Beta version does not have this issue, you can safetly upgrade your HA.
You're right, I was on an older beta, the latest works like a charm! Thanks again!
Hi, I just tried to add my Robot via Dreame Vacuum integration for the first time.
I have a problem with both the latest beta and version 1.0.4. The beta crashes my server. As it is described above. If I install version 1.0.4 I get to the dialog where I can submit. The button turns into a circle that rotates endlessly. The system runs on a Raspberry Pi 3b Core 2024.5.5
Hi, I just tried to add my Robot via Dreame Vacuum integration for the first time.
I have a problem with both the latest beta and version 1.0.4. The beta crashes my server. As it is described above. If I install version 1.0.4 I get to the dialog where I can submit. The button turns into a circle that rotates endlessly. The system runs on a Raspberry Pi 3b Core 2024.5.5
Your system may not have enough memory to run the integration. You can select low resolution map
when adding the device but that option is available on beta version of the integration.
Your system may not have enough memory to run the integration. You can select low resolution map when adding the device but that option is available on beta version of the integration.
Thanks for the quick reply. Of course that could be the case. I was hoping it wouldn't be that when I read #556. I chose the beta with low resolution map
. It is much better but I still have crashes. Apart from that, everything runs very slowly. I think I can't avoid an upgrade.
Do you have a recommendation?
Buy a new mini pc.
Describe the bug After upgrade to 2024.5.0, Dreame Vacuum integration is stalling HA startup sequence. I have no additional info to share because as HA was restarting in a loop it was difficult to retrieve any evidence. Only evidence I can share is that, during the 30 seconds window in which the UI was available, in the startup norification message at the bottom left of the browser, Dreame Vaccum was the last custom integration to be loaded before the system crashed. I managed to disable the integration during the 30 seconds window and now the system is up and running without problems. Also in the console of the machine running HA, there was a general error for out of memory prior to the reboot.
To Reproduce Upgrade HA to 2024.5.0
Expected behavior I was expecting HA to startup and Dreame caused a reboot loop