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.16k stars 123 forks source link

Feature Request - Trim map based on coordinates #137

Open mat4444 opened 3 years ago

mat4444 commented 3 years ago

It would be nice to crop the map based on two coordinates points: Top left and Bottom right corners. My robot vacuum (Xiaomi Vacuum V1) often produces false detection - a few pixels outside my apartment that do not correspond to anything real. It results in an artificially larger map. At the moment, the image transformation options such as the scaling factor and the trim options works pretty well. However, every time I launch a new full cleanup, the map is entirely refreshed. The false detected dots are not always present, and not always at the same place. The reframing options will not work correctly in this case since the map has changed a bit. The extractor is capable for calculating calibrated point, so I guess it would be possible to define two other points to delimit the actual home surface.

Quotenjunkie commented 3 years ago

Hi,

Regarding the whole map refreshing, I was able to solve this by manually controlling my viomi V8 for Like 50 cm and then start the full clean up. Now I am able to keep the map and the no-go areas.

BR

PiotrMachowski commented 3 years ago

That's a nice idea, maybe I will be able to add it :)

mat4444 commented 2 years ago

Hi, Has there been any progress on this idea?

PiotrMachowski commented 2 years ago

Nope, not yet