Sure, but it is not finished yet. Still work in progress.
Within configuration.yaml :
camera:
- platform: xiaomi_cloud_map_extractor
host: !secret xiaomi_vacuum_host_unten
token: !secret xiaomi_vacuum_token_unten
username: !secret xiaomi_cloud_username
password: !secret xiaomi_cloud_password
country: "de"
name: "Roborock unten"
scan_interval: 10
store_map_raw: true
colors:
color_map_inside: [32, 115, 185]
color_map_outside: [19, 87, 148]
color_map_wall: [100, 196, 254]
color_map_wall_v2: [93, 109, 126]
color_grey_wall: [93, 109, 126]
color_path: [147, 194, 238]
color_goto_path: [0, 255, 0]
color_predicted_path: [255, 255, 0, 0]
color_zones: [0xAD, 0xD8, 0xFF, 0x8F]
color_zones_outline: [0xAD, 0xD8, 0xFF]
color_virtual_walls: [255, 0, 0]
color_no_go_zones: [255, 33, 55, 127]
color_no_go_zones_outline: [255, 0, 0]
color_no_mop_zones: [163, 130, 211, 127]
color_no_mop_zones_outline: [163, 130, 211]
color_charger: [0x66, 0xfe, 0xda, 0x7f]
color_robo: [75, 235, 149]
color_unknown: [0, 0, 0]
color_scan: [0xDF, 0xDF, 0xDF]
draw: ['all']
attributes:
- calibration_points
- charger
- cleaned_rooms
- country
- goto_path
- goto_predicted_path
- goto
- ignored_obstacles_with_photo
- ignored_obstacles
- image
- is_empty
- map_name
- no_go_areas
- no_mopping_areas
- obstacles_with_photo
- obstacles
- path
- room_numbers
- rooms
- vacuum_position
- vacuum_room_name
- vacuum_room
- walls
- zones
Within Lovelace (raw) :
type: custom:xiaomi-vacuum-map-card
title: Roborock S5 Max (unten)
vacuum_platform: KrzysztofHajdamowicz/miio2
map_source:
camera: camera.roborock_unten
calibration_source:
camera: true
camera_calibration: true
entity: vacuum.roborock_s5_max_unten
map_modes:
- template: vacuum_clean_zone
- template: vacuum_goto
- template: vacuum_clean_zone_predefined
predefined_selections:
- zones:
- - 29126
- 18301
- 37050
- 24630
label:
text: Diele Eingang
x: 33500
'y': 19800
icon:
name: mdi:home-import-outline
x: 33500
'y': 21000
- zones:
- - 25244
- 22368
- 29266
- 28637
label:
text: Beanbag Zone
x: 27300
'y': 25000
icon:
name: mdi:sofa
x: 27300
'y': 26000
- zones:
- - 29126
- 24685
- 35069
- 28647
label:
text: Esstisch
x: 32500
'y': 26000
icon:
name: mdi:table-chair
x: 32500
'y': 27000
- zones:
- - 35069
- 25345
- 38096
- 28647
label:
text: Pantry
x: 36650
'y': 26000
icon:
name: mdi:pot-steam-outline
x: 36650
'y': 27000
- zones:
- - 38303
- 25398
- 40131
- 28793
label:
text: KĂŒche
x: 39190
'y': 26000
icon:
name: mdi:pot-steam-outline
x: 39190
'y': 27000
- zones:
- - 25035
- 32398
- 28900
- 37099
label:
text: BĂŒro
x: 27000
'y': 33500
icon:
name: mdi:chair-rolling
x: 27000
'y': 35000
- zones:
- - 27072
- 28637
- 29005
- 32241
label:
text: Flur
x: 28000
'y': 29300
icon:
name: mdi:home-floor-1
x: 28000
'y': 30800
- zones:
- - 25244
- 29890
- 27020
- 32084
label:
text: Server
x: 26000
'y': 30300
icon:
name: mdi:server-network
x: 26000
'y': 31800
- zones:
- - 25244
- 18398
- 29318
- 22107
label:
text: GĂ€stezimmer
x: 27100
'y': 19100
icon:
name: mdi:bed
x: 27250
'y': 20300