question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Map Extractor don't show map

See original GitHub issue

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

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:13 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
galamarcocommented, May 16, 2022

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

1reaction
galamarcocommented, May 2, 2022

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

Best regards Marco

Read more comments on GitHub >

github_iconTop Results From Across the Web

Xiaomi Cloud Vacuum Map Extractor - Custom Integrations
Hi! I have created an integration that provides a way to present a live view of a map for Xiaomi, Roborock and Viomi...
Read more >
How to extract store information from Google maps - YouTube
Why do we need web scraping? What is web scraping? Is web scraping right for you?Check out now and more is coming: ...
Read more >
Install Google Map Extractor & Generate Free Leads - YouTube
Install Google Map Extractor & Generate Free Leads. 1.5K views 4 months ago ... Show more. Show less. Comments. 4. Thank you for...
Read more >
Google Maps Extractor for Lead Generation - YouTube
Intro to data extraction tool Don't miss this one with the basics ... version (Google Maps series ): How to scrape phones from...
Read more >
azerothcore - How to extract the maps via AC Dashboard?
First of all, if you only need to get latest maps compatible with AzerothCore you can download them from here.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found