PiotrMachowski / Home-Assistant-custom-components-Xiaomi-Cloud-Map-Extractor

This custom integration provides a way to present a live view of a map for Xiaomi (Roborock/Viomi/Roidmi/Dreame) vacuums without a need for rooting.
MIT License
1.14k stars 121 forks source link

Introduce carpets handling #358

Closed rospogrigio closed 1 year ago

rospogrigio commented 1 year ago

And this PR introduces the handling of carpet map and no_carpet areas. Here is how they appear on HA; map_image_roborock vacuum a15

... and here is on the Mi Home app (no_carpet area is not visible here): mi home

Enjoy!

rospogrigio commented 1 year ago

OK fixed the conflicts, and updated the README as well. This PR must be merged on top of #356, that comes first.

Nezz commented 1 year ago

@rospogrigio I found a performance issue with the carpet drawing. I have a fix for it here: https://github.com/humbertogontijo/homeassistant-roborock/pull/111

rospogrigio commented 1 year ago

Thank you @Nezz for the suggestion! I'm commiting the new code.

PiotrMachowski commented 1 year ago

Thank you, @rospogrigio!