Closed DXSF closed 1 year ago
After a certain moment, the map ceased to be displayed, instead of it "Failed to login".
v2.2.0
No response
dreame.vacuum.p2140
20221108.0
Home Assistant Container
camera: - platform: xiaomi_cloud_map_extractor host: 192.168.0.110 token: xxxxxxxxxx username: xxxxxxxxxx password: xxxxxxxxxx draw: ['all'] attributes: - calibration_points - rooms country: "cn" colors: color_map_inside: [32, 115, 185] color_map_outside: [19, 87, 148] color_map_wall: [100, 196, 254] color_map_wall_v2: [93, 109, 126] color_grey_wall: [93, 109, 126] color_ignored_obstacle: [0, 0, 0, 127] color_ignored_obstacle_with_photo: [0, 0, 0, 127] color_obstacle: [0, 0, 0, 127] color_obstacle_with_photo: [0, 0, 0, 127] color_path: [0, 255, 0] color_goto_path: [255, 255, 0] color_predicted_path: [255, 255, 0, 0] color_cleaned_area: [127, 127, 127, 127] color_zones: [0xAD, 0xD8, 0xFF, 0x8F] color_zones_outline: [0xAD, 0xD8, 0xFF] color_virtual_walls: [255, 0, 0] color_new_discovered_area: [64, 64, 64] color_no_go_zones: [255, 33, 55, 127] color_no_go_zones_outline: [255, 0, 0] color_no_mop_zones: [163, 130, 211, 127] color_no_mop_zones_outline: [163, 130, 211] color_charger: [0x66, 0xfe, 0xda, 0x7f] color_robo: [75, 235, 149] color_room_names: [0, 0, 0] color_unknown: [0, 0, 0] color_scan: [0xDF, 0xDF, 0xDF] room_colors: 1: [240, 178, 122] 2: [133, 193, 233] 3: [217, 136, 128] 4: [52, 152, 219] 5: [205, 97, 85] 6: [243, 156, 18] 7: [88, 214, 141] 8: [245, 176, 65] 9: [252, 212, 81] 10: [72, 201, 176] 11: [84, 153, 199] 12: [133, 193, 233] 13: [245, 176, 65] 14: [82, 190, 128] 15: [72, 201, 176] 16: [165, 105, 18] sizes: charger_radius: 3 vacuum_radius: 4 path_width: 1 obstacle_radius: 3 ignored_obstacle_radius: 3 obstacle_with_photo_radius: 3 ignored_obstacle_with_photo_radius: 3 scan_interval: seconds: 120 auto_update: true
Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 527, in async_update_ha_state await self.async_device_update() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 722, in async_device_update raise exc File "/usr/local/lib/python3.10/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
Checklist
The problem
After a certain moment, the map ceased to be displayed, instead of it "Failed to login".
What version of an integration has described problem?
v2.2.0
What was the last working version of an integration?
No response
What vacuum model do you have problems with?
dreame.vacuum.p2140
What version of Home Assistant do you use?
20221108.0
What type of installation are you running?
Home Assistant Container
Camera's configuration
Errors shown in the HA logs (if applicable)
Additional information
No response