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 work for dreame.vacuum.p2114o

See original GitHub issue

Checklist

  • I have updated the integration to the latest version available
  • I have checked if the problem is already reported

The problem

I installed Home-Assistant-custom-components-Xiaomi-Cloud-Map-Extractor but it’s not working, my vacuum is dreame.vacuum.p2114o, does this mean that it’s not supported yet?

map_data_dreame.vacuum.p2114o.b64.zip

What version of am 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.p2114o

What version of Home Assistant do you use?

2022.6.7

What type of installation are you running?

Home Assistant Core

Camera’s configuration

camera:
  - platform: xiaomi_cloud_map_extractor
    host: !secret xiaomi_vacuum_host
    token: !secret xiaomi_vacuum_token
    username: !secret xiaomi_cloud_username
    password: !secret xiaomi_cloud_password
    name: "xiaomi Vacuum Camera"
    draw: ['all']
    attributes:
      - calibration_points

Errors shown in the HA logs (if applicable)

Traceback (most recent call last):
  File "/data/ym/git/opensource/homeassistant/lib/python3.9/site-packages/homeassistant/helpers/entity.py", line 515, in async_update_ha_state
    await self.async_device_update()
  File "/data/ym/git/opensource/homeassistant/lib/python3.9/site-packages/homeassistant/helpers/entity.py", line 743, in async_device_update
    raise exc
  File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/home/yang/.homeassistant/custom_components/xiaomi_cloud_map_extractor/camera.py", line 278, in update
    self._handle_map_data(map_name)
  File "/home/yang/.homeassistant/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 "/home/yang/.homeassistant/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 "/home/yang/.homeassistant/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 "/home/yang/.homeassistant/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

Additional information

No response

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:1
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
hvbirdcommented, Jul 6, 2022

Can you try if any of these work? force_api: roidmi or force_api: viomi

I’ve tried all the apis but none of them work…

0reactions
PiotrMachowskicommented, Oct 16, 2022

Thanks @Tasshack!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Xiaomi Cloud Vacuum Map Extractor - #704 by Lunkobelix
I was talking about adding support for Valetudo to the map extractor, ... Map Extractor don't work for dreame.vacuum.p2114o.
Read more >
Dreame Z10 Pro Robot Vacuum FAQ
What's the run-time of the robot vacuum? ... How to save a map with the Dreame Z10 Pro robot? ... How to use...
Read more >
Dreame F9 Robot Vacuum Cleaner FAQ - dreametech
Check Out User Manuals and FAQs for Dreame F9 Robot Vacuum Cleaner. ... position and stop working. How to use the Do Not...
Read more >
Dreame D9 Robot Vacuum Cleaner FAQ
Dreame D9 Robot Vacuum Cleaner FAQ ... How to use the Do Not Disturb mode with Dreame D9 robot? ... How to save...
Read more >
Xiaomi Vacuum Cloud Map Extractor : r/homeassistant - Reddit
I was just thinking about this. Can you have one map for both drawing zones and showing hte robot live? Or do you...
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