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

Path and vacuum is quite pixelated compared to the Xiaomi app itself #328

Closed DohmenICT closed 2 years ago

DohmenICT commented 2 years ago

Description

First of all: Thanks for this! It works great with the Roidmi Eva (wasn't in the supported devices list)

When I view the map with the path and the vacuum, the path and vacuum look quite pixelated compared to what I see in de Xiaomi and Roidmi apps.

This is in HomeAssistant: image

And this is in the app: image

Solution

Make the path and the vacuum smoother

Alternatives

Map and path seem to have the same resolution in this component. Maybe make a setting to increase the resolution of the map so that the details on it can be more detailed.

Context

No response

PiotrMachowski commented 2 years ago

This situation is caused by small resolution of a map. You can fix it by increasing scale:

map_transformation:
  scale: 2

Keep in mind that this will also increase CPU and RAM usage, so you have to find a balance that will suit your needs . Usually 2 should be enough to look ok.

DohmenICT commented 2 years ago

Ah great! this is indeed what I was looking for. Thanks Piotr!