Not yet: Use rooms from Mi app · Issue #196 · PiotrMachowski/lovelace-xiaomi-vacuum-map-card · GitHub
Hi im using a roborock s5 with firmware: 3.3.9_001886
After the latest update i got this error:
after have followed the migration guide i came up with this code:
type: custom:xiaomi-vacuum-map-card
entity: vacuum.xiaomi_vacuum_cleaner
map_source:
camera: camera.my_vacuum_camera
calibration_source:
camera: true
map_modes:
- template: vacuum_clean_zone
- template: vacuum_goto
- template: vacuum_clean_zone_predefined
predefined_selections:
- 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
map_locked: true
I can see the map and all the controls after this, even the zones. but i can’t click/choose them.
please help with what i am doing wrong.
Use this config:
...
predefined_selections:
- zones:
- - 19343
- 17156
- 21493
- 20856
- zones:
- - 23003
- 21656
- 26553
- 24806
- zones:
- - 17084
- 24887
- 20084
- 28137
- zones:
- - 22743
- 25075
- 26543
- 28175
- zones:
- - 20437
- 21460
- 21637
- 25810
- zones:
- - 18709
- 21027
- 20759
- 22427
- zones:
- - 21505
- 17231
- 26655
- 21481
That did it for the zones
Thx a lot
But i still can’t make my own selections with “zone cleanup”
In v2 it works differently than in v1: you have to click + button to add a zone and then adjust it. Check out the demo video in Readme: link
Hi @3_14,
Big congrats on your amazing work.
Any plans to support the map provided by “Valetudo RE Mapper”?
It’s not selectable in Visual Editor and when i add it manually in Code Editor it throws a warning: "
Invalid calibration, please check your configuration".
It should work, but you have to calibrate it manually (with calibration points as calibration source). Changes need to be implemented in Valetudo camera (not my card) to make it work out of the box with camera calibration
it was the theme i was running that messed it up, the buttons did’t show up
Wrong thread
Posted in the right one thanks
How can be removed the tiles?
Hi everyone!
First of all let me start by saying this card is amazing. I’m trying to set it up but unfortunately I am unable to get it working properly. When starting a cleanup in a room the Roborock starts, but then inmediately tells that he is ready and goes back to the dock. Anyone knows what I am doing wrong by any chance? Much appreciated!
Config:
type: custom:xiaomi-vacuum-map-card
map_source:
camera: camera.xiaomi_cloud_map_extractor
calibration_source:
camera: true
tiles: []
map_modes:
- template: vacuum_clean_segment
predefined_selections:
- id: 1
outline:
- - 25115
- 25706
- - 26334
- 25675
- - 26299
- 22748
- - 25080
- 22713
- - 25115
- 25706
label:
text: Keuken
x: 25667
'y': 24728
offset_y: 35
icon:
name: mdi:chef-hat
x: 25667
'y': 24528
- id: 2
outline:
- - 26683
- 25745
- - 26683
- 27766
- - 26400
- 28045
- - 26369
- 29250
- - 29800
- 29264
- - 29854
- 24030
- - 29679
- 24038
- - 29714
- 23341
- - 27066
- 23341
- - 26996
- 25745
- - 26683
- 25745
label:
text: Woonkamer
x: 27950
'y': 27450
offset_y: 35
icon:
name: mdi:sofa
x: 27950
'y': 27250
- id: 3
outline:
- - 24801
- 25919
- - 26369
- 25989
- - 26543
- 26198
- - 26543
- 27592
- - 26230
- 28114
- - 26195
- 32400
- - 24487
- 32400
- - 24522
- 29543
- - 24940
- 29578
- - 25393
- 29334
- - 25463
- 26999
- - 24801
- 27034
- - 24801
- 25919
label:
text: Gang
x: 25405
'y': 31075
offset_y: 35
icon:
name: mdi:shoe-print
x: 25405
'y': 30831
- id: 4
outline:
- - 26369
- 29264
- - 29784
- 29264
- - 29749
- 32610
- - 26334
- 32644
- - 26369
- 29264
label:
text: Kleed
x: 27997
'y': 31323
offset_y: 35
icon:
name: mdi:rug
x: 27997
'y': 31123
- template: vacuum_clean_zone
entity: vacuum.robo
vacuum_platform: send_command
two_finger_pan: false
map_locked: false
``````````````````````
You can also disable icons section
Thanks a lot! I managed to extract my room IDs, however using any of them my Roborock goes to the hallway every time. I assigned my IDs to different rooms but the hallway is the only place it will go. Any ideas?
Can you send your config?
Thanx! It’s done.
Definately!
room_numbers:
‘16’: null
‘17’: null
‘18’: null
‘19’: null
‘21’: null
Config:
type: custom:xiaomi-vacuum-map-card
map_source:
camera: camera.xiaomi_cloud_map_extractor
calibration_source:
camera: true
tiles: []
map_modes:
- template: vacuum_clean_segment
predefined_selections:
- id: 16
outline:
- - 25115
- 25706
- - 26334
- 25675
- - 26299
- 22748
- - 25080
- 22713
- - 25115
- 25706
label:
text: Keuken
x: 25667
'y': 24728
offset_y: 35
icon:
name: mdi:chef-hat
x: 25667
'y': 24528
- id: 17
outline:
- - 26683
- 25745
- - 26683
- 27766
- - 26400
- 28045
- - 26369
- 29250
- - 29800
- 29264
- - 29854
- 24030
- - 29679
- 24038
- - 29714
- 23341
- - 27066
- 23341
- - 26996
- 25745
- - 26683
- 25745
label:
text: Woonkamer
x: 27950
'y': 27450
offset_y: 35
icon:
name: mdi:sofa
x: 27950
'y': 27250
- id: 18
outline:
- - 24801
- 25919
- - 26369
- 25989
- - 26543
- 26198
- - 26543
- 27592
- - 26230
- 28114
- - 26195
- 32400
- - 24487
- 32400
- - 24522
- 29543
- - 24940
- 29578
- - 25393
- 29334
- - 25463
- 26999
- - 24801
- 27034
- - 24801
- 25919
label:
text: Gang
x: 25405
'y': 31075
offset_y: 35
icon:
name: mdi:shoe-print
x: 25405
'y': 30831
- id: 19
outline:
- - 26369
- 29264
- - 29784
- 29264
- - 29749
- 32610
- - 26334
- 32644
- - 26369
- 29264
label:
text: Kleed
x: 27997
'y': 31323
offset_y: 35
icon:
name: mdi:rug
x: 27997
'y': 31123
- template: vacuum_clean_zone
entity: vacuum.robo
vacuum_platform: send_command
two_finger_pan: false
map_locked: false