Yes i allready done it via picture-glance but i needed to point and go or to name the areas for use it with home kit and siri.
So i will go as you said with map card! Thank you again!
Last night i updated HA to the latest version (core-2021.8.8)
After that the zone cleaning ain’t working anymore. I can see the vacuum live on the map. but cant use the zone cleaning function.
my config looks like this:
type: custom:xiaomi-vacuum-map-card
entity: vacuum.xiaomi_vacuum_cleaner
map_camera: camera.my_vacuum_camera
debug: false
language: se
calibration_points:
- vacuum:
x: 25500
'y': 25500
map:
x: 273
'y': 167
- vacuum:
x: 26500
'y': 25500
map:
x: 293
'y': 167
- vacuum:
x: 26500
'y': 26500
map:
x: 293
'y': 147
zones:
- - - 19343
- 17156
- 21493
- 20856
- - - 23003
- 21656
- 26553
- 24806
- - - 17084
- 24887
- 20084
- 28137
- - - 22743
- 25075
- 26543
- 28175
- - - 20437
- 21460
- 21637
- 25810
- - - 18709
- 21027
- 20759
- 22427
- - - 21505
- 17231
- 26655
- 21481
Im guessing something have changed, when i try to use services to send command i got errors, about the format of the zones.
please help
First of all, it is not a correct thread, this one is
Secondly, please attach your errors, usually they are the most useful part
This pluging work very nice! The only problem is once in while the map fully resets and the coordinates are all off and I have to regenerate the map & edit the script with new coordinates. Is this something that can be prevented? Once the map is generated I’d like to keep using it. I have Xiaomi Mi Vacuum 1S.
Is it just:
auto_update: false
?
All you can do is avoid “full cleaning”, use zone cleaning instead, do not move docking station and hope for the best. ¯\_( ͡° ͜ʖ ͡°)_/¯
Stopped workind today. Says ‘two factor auth required (see logs)’
Nothing in logs, username, password and token are okay. It’s like on attached screenshot.
Robot is Xiaomi Vacuum 1st generation.
Also, as far as i understood, 1st gen can’t save full map, it will be recreated on any full cleaning cycle, am i right?
It is possible that it was some time ago, you can try restarting HA and checking logs immediately after start.
Yup, you are right.
Thanks, restarted component, now map is displayed correctly.
had the same issue today, a restart of HA fixxed the problem for me just like you
It’s possible to fix it by just reloading extractor’s domain in system settings
Awesome integration.
However as of lately i get the “two factor auth” problem and i have to restart the service for it to work again.
The link i get in the logs always seem to be expired, is there a way to generate this link manually?
I tried running the extractor tool like i would to extract the token, however that didn’t work.
Might it be because my HA installation and Desktop are on different lans? (same external ip).
You can try to run extractor on the same machine as HA
good day. please tell me how to add cards to lovelace??
and how you can get information about room numbers. I want to make automation to include cleaning not in all rooms, but in some.
You can get room numbers by adding room_numbers
in attributes
section of configuration, they will be available as an attribute, which you can see in dev tools.
camera:
- platform: xiaomi_cloud_map_extractor
host: !secret xiaomi_vacuum_host
token: !secret xiaomi_vacuum_token
username: !secret xiaomi_cloud_username
password: !secret xiaomi_cloud_password
draw: ['all']
attributes:
- calibration_points
- room_numbers
thank you very much. or can you suggest something by the beautiful design (examples of writing in Lovelace))))
Buenas tardes.
Como conseguiste eliminar esos errores?
Un Saludo.
Hi there @3_14 , now that the map issue is resolved, any chance we can get this to work:
?2021-09-22 12:06:23 ERROR (SyncWorker_17) [miio.miioprotocol] Got error when receiving: timed out
2021-09-22 12:06:23 ERROR (MainThread) [custom_components.miio2.vacuum] Unable to send command to the vacuum: No response from the device
2021-09-22 12:06:24 WARNING (MainThread) [homeassistant.components.camera] The websocket command 'camera_thumbnail' has been deprecated
2021-09-22 12:06:29 WARNING (MainThread) [homeassistant.components.camera] The websocket command 'camera_thumbnail' has been deprecated
Thanks
miio2
is not supported at this moment, but it will be supported in the next version