nqkdev / home-assistant-vacuum-styj02ym

161 stars 134 forks source link

xiaomi_clean_zone not working #19

Open FeromonDE opened 3 years ago

FeromonDE commented 3 years ago

Hallo,

why this script did not work vacuum_set_zone: sequence:

I have coordinates from vevs Mi Home app.

KochC commented 3 years ago

I have the same issue. But if I send coordinates in Meters, like

[[0,0,1,1]]

the robot really tries to clean a square of one meter by one meter where 0,0 is his home. Unfortunately I get an localisation error after a few seconds. But I can see the area to clean in the Xiaomi App.

Su4oNoK commented 1 year ago

this is work for me script in HA

sc_clean_living_room:
  alias: "Уборка в комнате"
  sequence:
  - service: vacuum.xiaomi_clean_zone
    data:
      entity_id: vacuum.kefirchik
      zone: [[-0.8, -5, 3.2, 0.5]]
      repeats: 1