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.

Support for Dreame vacuums

See original GitHub issue

Vacuums confirmed to use this API:

  • dreame.vacuum.p2008 (Dreame F9)
  • dreame.vacuum.mc1808 (Xiaomi Mi Mop/Xiaomi Miija 1C)
  • Other ones mentioned in comments below

You can help in implementation of this feature by sending your map file and a screenshot from Xiaomi app at

piotr.machowski.dev [at] gmail [dot] com.

To get raw map file you have to use following config:

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
    store_map_raw: true
    force_api: dreame

and then follow steps provided in documentation: Retrieving map.

Existing implementation of map decoder

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:23
  • Comments:169 (42 by maintainers)

github_iconTop GitHub Comments

26reactions
Neonox31commented, Jan 27, 2022

Hello 👋

I’ve got a dreame.vacuum.p2008 model and I’m currently working on transcribing Valetudo’s javascript code for map parsing of Dreame models.

I’m quite comfortable with Javascript, but I’m just discovering Python so it’s taking me a little while. Here is the actual map I can generate with my model : 2022-01-27_15-44 You can see floor, walls, charger and vaccum position as well as no go areas. I also implemented path parsing, but the dreame map contains several paths and the MapData can only contain one if I understand correctly. I tried to flatten the list but it causes unwanted interconnections between paths : 2022-01-27_16-59

I have a lot of work to do and I will submit a P.R if you’re intesrested @PiotrMachowski

16reactions
PiotrMachowskicommented, Jan 27, 2022

Nice 👍 I think I can add support for multiple paths without any problems. You can create a PR, I will check it out and adjust if needed 😉

Read more comments on GitHub >

github_iconTop Results From Across the Web

Contact Us - dreametech
We are always available on the chat to help you get an answer as quickly as possible. “dreame". Live Chat. Inquire now. Click...
Read more >
Dreame Tech - Home | Facebook
Dreame Tech. 235787 likes · 2549 talking about this. Dreame Technology has geek nature in its genes which specializes in R&D, designing, manufacturing......
Read more >
Support – Dreame Technology Australia
User Manuals. Learn how to get the best from your Dreame vacuum cleaners. View all guides and manuals.
Read more >
Dreametech Z10 Pro Robot Vacuum and Mop with 3D ...
What's Product Support? In the event your product doesn't work as expected, or you'd like someone to walk you through set-up, Amazon offers...
Read more >
Dreame Tech - Reddit
Dreame L10S - Waterboard overflow issue. Help? self.RobotVacuums ... How do I set up my Dreame Bot W10 robot vacuum to sweep and...
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