Home-Assistant-custom-components-Xiaomi-Cloud-Map-Extractor: Map Extractor don't show map

I downloaded and configured Map Extractor but unfortunately the result is null, the map is not shown. image

My config are:

 camera:
  - platform: xiaomi_cloud_map_extractor
     host: 192.168.6.33
     token: '49454f7663776f65384XXXXXXXXX'
     username: '+39344XXXXXX'
     password: 'XXXXXXXXXXX'

In developer tool I have this:

image

In error log I have this:

Questo errore ha avuto origine da un'integrazione personalizzata.

Logger: homeassistant.helpers.entity
Source: custom_components/xiaomi_cloud_map_extractor/viomi/vacuum.py:14
Integration: xiaomi_cloud_map_extractor (documentation, issues)
First occurred: 12:30:37 (613 occurrences)
Last logged: 13:21:58

Update for camera.xiaomi_cloud_map_extractor fails
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 514, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 742, in async_device_update
    raise exc
  File "/usr/local/lib/python3.9/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 261, in update
    self._handle_map_data(map_name)
  File "/config/custom_components/xiaomi_cloud_map_extractor/camera.py", line 318, 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 28, in get_map
    map_data = self.decode_map(response, colors, drawables, texts, sizes, image_config)
  File "/config/custom_components/xiaomi_cloud_map_extractor/viomi/vacuum.py", line 14, in decode_map
    unzipped = zlib.decompress(raw_map)
zlib.error: Error -3 while decompressing data: incorrect header check

System information

I’m using Home Assistant 2022.4.7 Xiaomi Cloud Map Extractor 2.71 Xiaomi Miot Auto 53.08

Best regards Marco

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Comments: 18 (7 by maintainers)

Most upvoted comments

thanks for reporting, but the credentials given here are not valid now.

Thanks so much for the directions, I was able to get the file I just sent by email as requested

Best regards Marco