tromarek1 / -lovelace-xiaomi-styj02ym-vacuum-map-card

3 stars 1 forks source link

Not working with MODEL: viomi.vacuum.v10 #2

Closed sheminasalam closed 3 years ago

sheminasalam commented 3 years ago

I have tried this card with my new MODEL: viomi.vacuum.v10 but it is not working. Any ideas...

tromarek1 commented 3 years ago

try to install it first: https://github.com/nqkdev/home-assistant-vacuum-styj02ym Check if it works without my plugin. If not, the "Lovelace Xiaomi styj02ym vacuum map card" plugin will not work.

sheminasalam commented 3 years ago

I have integrated it to HA using this styj02ym integration but there again I am not able to use the clean_point and clean_zone services. It works but the coordinates of the vacuum are messed up. I called the service for clean point with the point: [1, -1] and instead of cleaning the point, my robot cleaned a square area including that point. Also when I gave the same command again, it corrupted its map and location sense. The dock location was misplaced to another room and to solve this i had to reboot the device.

tromarek1 commented 3 years ago

Clean point service is for cleaning the surface around the selected point. I don't understand what the exact problem is. Could you please add some pictures or screenshot?

sheminasalam commented 3 years ago

The first image shows the actual true layout of my vacuum map. 1 When I call clean_point with data entity_id: vacuum.robo_vacuum point: [1,-1], at the very next instance the map of my devices shifts to the second image. Here we can see that the docking position has been changed and also the robot is reporting wrong position. 2 To get the correct map again, I have to manually reboot the device.

tromarek1 commented 3 years ago

It looks like problem with miio integration, not lovelace vacuum map card. Try to ask a question here: https://github.com/nqkdev/home-assistant-vacuum-styj02ym

sheminasalam commented 3 years ago

ok