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.13k stars 122 forks source link

Restricted Areas, Dock, Vacuum and Path are all offset to the right #430

Open akshay7394 opened 1 year ago

akshay7394 commented 1 year ago

Checklist

What vacuum model do you want to be supported?

viomi.vacuum.v10

What is its name?

Xiaomi Mi Vacuum Mop P

Available APIs

Errors shown in the HA logs (if applicable)

No response

Other info

I just need to offset either the map towards the right side (further along the x-axis), or I need to offset the dock+vacuum+path to the left on the x-axis

I can't seem to find any kind of offset option and looking through the past issues and the readme hasn't helped (maybe it's there and I'm not understanding it)

Would someone be able to help whenever possible?

akshay7394 commented 1 year ago

image

Here is a picture of the map. The vacuum is shown in the entry way (green room on the map, in the centre) whereas it is actually in one of the living areas (light blue room on the map, bottom-left)

Same with all the restricted areas which are shown in red.

PiotrMachowski commented 1 year ago

It looks like the same issue as here: https://github.com/PiotrMachowski/Home-Assistant-custom-components-Xiaomi-Cloud-Map-Extractor/issues/189

Can you send me your raw map?

akshay7394 commented 1 year ago

Is the raw map the z-lib file? If so, here you go.

Edit: oops the attachment didn't upload, here's a link: https://drive.google.com/file/d/1vqfUFM6IDpVqqi69K3gvz_jBEaFI-z3v/view?usp=drivesdk

It looks like the same issue as here:

189

https://github.com/PiotrMachowski/Home-Assistant-custom-components-Xiaomi-Cloud-Map-Extractor/issues/189

Can you send me your raw map?

PiotrMachowski commented 1 year ago

Yes, this is the file, thanks

akshay7394 commented 1 year ago

No problem. Let me know if there's anything I could change that'd fix this! If not, I'll just exclude all drawings except rooms; it's not a huge deal :)

PiotrMachowski commented 1 year ago

@akshay7394 you can try to delete the map in Xiaomi Home, it might help

akshay7394 commented 1 year ago

But I only have 1 map, would have to re-map my entire house again 😅 I think I'll just live with it and turn off the drawings, but thank you for checking!