Multiple maps for 1 vacuum #735
-
Hi, sorry I'm a total noob to all this. I'm use 1 vacuum and move it between upstairs and downstairs. I cannot get the 2 maps to show up like many of you do. What am I doing wrong? Here's my config. type: custom:xiaomi-vacuum-map-card
preset_name: Upstairs
map_source:
camera: camera.sucky_map_1
calibration_source:
camera: true
entity: vacuum.sucky
vacuum_platform: default
map_locked: true
tiles: []
map_modes:
- template: vacuum_clean_segment
predefined_selections:
- id: '1'
icon:
name: mdi:toilet
x: -4650
'y': 3750
label:
text: Bathroom
x: -4650
'y': 3750
offset_y: 35
outline:
- - -6050
- 2250
- - -3250
- 2250
- - -3250
- 4750
- - -6050
- 4750
- id: '2'
icon:
name: mdi:bed-king-outline
x: -5200
'y': 200
label:
text: Primary Bedroom
x: -5200
'y': 200
offset_y: 35
outline:
- - -7750
- -3200
- - -4100
- -3200
- - -4100
- 2300
- - -7750
- 2300
- id: '3'
icon:
name: mdi:sofa-outline
x: -2150
'y': -400
label:
text: Living Room
x: -2150
'y': -400
offset_y: 35
outline:
- - -4850
- -3150
- - 500
- -3150
- - 500
- 2250
- - -4850
- 2250
- template: vacuum_clean_zone
- template: vacuum_goto
additional_preset:
- preset_name: Downstairs
map_source:
camera: camera.sucky_map_2
calibration_source:
camera: true
entity: vacuum.sucky
vacuum_platform: default
map_locked: true
tiles: []
map_modes: null
- template: vacuum_clean_segment
predefined_selections:
- id: '1'
icon:
name: mdi:bed-king-outline
x: 4950
'y': -2050
label:
text: Morgan Bedroom
x: 4950
'y': -2050
offset_y: 35
outline:
- - 3200
- -4200
- - 6400
- -4200
- - 6400
- -900
- - 3200
- -900
- id: '2'
icon:
name: mdi:toilet
x: 1450
'y': -2950
label:
text: Bathroom
x: 1450
'y': -2950
offset_y: 35
outline:
- - 350
- -4250
- - 2600
- -4250
- - 2600
- -1600
- - 350
- -1600
- id: '3'
icon:
name: mdi:chef-hat
x: 3000
'y': 2550
label:
text: Kitchen
x: 3000
'y': 2550
offset_y: 35
outline:
- - 1650
- 1700
- - 4300
- 1700
- - 4300
- 3250
- - 1650
- 3250
- id: '4'
icon:
name: mdi:foot-print
x: 3400
'y': -500
label:
text: Corridor
x: 3400
'y': -500
offset_y: 35
outline:
- - 1900
- -1650
- - 4850
- -1650
- - 4850
- 850
- - 1900
- 850
- id: '5'
icon:
name: mdi:room-service-outline
x: -600
'y': 2850
label:
text: Dining Hall
x: -600
'y': 2850
offset_y: 35
outline:
- - -2900
- 1900
- - 1750
- 1900
- - 1750
- 3650
- - -2900
- 3650
- id: '6'
icon:
name: mdi:sofa-outline
x: -550
'y': -500
label:
text: Living Room
x: -550
'y': -500
offset_y: 35
outline:
- - -3000
- -4000
- - 1900
- -4000
- - 1900
- 1900
- - -3000
- 1900
- template: vacuum_clean_zone |
Beta Was this translation helpful? Give feedback.
Answered by
PiotrMachowski
May 31, 2024
Replies: 2 comments 12 replies
-
Try this config: type: custom:xiaomi-vacuum-map-card
preset_name: Upstairs
map_source:
camera: camera.sucky_map_1
calibration_source:
camera: true
entity: vacuum.sucky
vacuum_platform: default
map_locked: true
tiles: []
map_modes:
- template: vacuum_clean_segment
predefined_selections:
- id: '1'
icon:
name: mdi:toilet
x: -4650
'y': 3750
label:
text: Bathroom
x: -4650
'y': 3750
offset_y: 35
outline:
- - -6050
- 2250
- - -3250
- 2250
- - -3250
- 4750
- - -6050
- 4750
- id: '2'
icon:
name: mdi:bed-king-outline
x: -5200
'y': 200
label:
text: Primary Bedroom
x: -5200
'y': 200
offset_y: 35
outline:
- - -7750
- -3200
- - -4100
- -3200
- - -4100
- 2300
- - -7750
- 2300
- id: '3'
icon:
name: mdi:sofa-outline
x: -2150
'y': -400
label:
text: Living Room
x: -2150
'y': -400
offset_y: 35
outline:
- - -4850
- -3150
- - 500
- -3150
- - 500
- 2250
- - -4850
- 2250
- template: vacuum_clean_zone
- template: vacuum_goto
additional_preset:
- preset_name: Downstairs
map_source:
camera: camera.sucky_map_2
calibration_source:
camera: true
entity: vacuum.sucky
vacuum_platform: default
map_locked: true
tiles: []
map_modes:
- template: vacuum_clean_segment
predefined_selections:
- id: '1'
icon:
name: mdi:bed-king-outline
x: 4950
'y': -2050
label:
text: Morgan Bedroom
x: 4950
'y': -2050
offset_y: 35
outline:
- - 3200
- -4200
- - 6400
- -4200
- - 6400
- -900
- - 3200
- -900
- id: '2'
icon:
name: mdi:toilet
x: 1450
'y': -2950
label:
text: Bathroom
x: 1450
'y': -2950
offset_y: 35
outline:
- - 350
- -4250
- - 2600
- -4250
- - 2600
- -1600
- - 350
- -1600
- id: '3'
icon:
name: mdi:chef-hat
x: 3000
'y': 2550
label:
text: Kitchen
x: 3000
'y': 2550
offset_y: 35
outline:
- - 1650
- 1700
- - 4300
- 1700
- - 4300
- 3250
- - 1650
- 3250
- id: '4'
icon:
name: mdi:foot-print
x: 3400
'y': -500
label:
text: Corridor
x: 3400
'y': -500
offset_y: 35
outline:
- - 1900
- -1650
- - 4850
- -1650
- - 4850
- 850
- - 1900
- 850
- id: '5'
icon:
name: mdi:room-service-outline
x: -600
'y': 2850
label:
text: Dining Hall
x: -600
'y': 2850
offset_y: 35
outline:
- - -2900
- 1900
- - 1750
- 1900
- - 1750
- 3650
- - -2900
- 3650
- id: '6'
icon:
name: mdi:sofa-outline
x: -550
'y': -500
label:
text: Living Room
x: -550
'y': -500
offset_y: 35
outline:
- - -3000
- -4000
- - 1900
- -4000
- - 1900
- 1900
- - -3000
- 1900
- template: vacuum_clean_zone |
Beta Was this translation helpful? Give feedback.
6 replies
-
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Try this config: