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.14k stars 121 forks source link

Vacuum position not updating correctly #413

Closed bkr1969 closed 1 year ago

bkr1969 commented 1 year ago

Checklist

The problem

I used to be able to follow the vacuum around "live" but now the vacuum position takes anywhere from 10-30 seconds to update.

What version of an integration has described problem?

v2.2.0

What was the last working version of an integration?

v2.2.0

What vacuum model do you have problems with?

S7 MaxV

What version of Home Assistant do you use?

2023.03.1

What type of installation are you running?

Home Assistant OS

Camera's configuration

camera:
  - platform: xiaomi_cloud_map_extractor
    host: 172.16.0.247
    token: provided
    username: public
    password: compromised
    draw: ['all']
    attributes:
      - calibration_points
      - vacuum_position
    map_transformation:
      rotate: 180
    scan_interval:
      seconds: 1
    auto_update: true

Errors shown in the HA logs (if applicable)

N/A

Additional information

Seems to have happened with latest core update.

PiotrMachowski commented 1 year ago

It might be caused by multiple external factors, slow Internet, slow processing in Xiaomi Cloud, problems with network connection on the vacuum side, limited resources in HA... I suggest to reboot the vacuum and check if it helps.


I also suggest to change the password as soon as possible