Vacuum Interactive Map Card

HI all, has anyone found a way to select rooms using the card and then do a delayed start?

This might seem like a dumb question . . . I’m starting from a fresh HA install and have not integrated my Roborock yet. Do I need to configure the vacuum using the ‘Xiaomi Mi Robot Vacuum’ integration BEFORE I setup this vacuum card?

If that’s the case, it might be worthwhile mentioning that in the installation section as a prerequisite.

You can do it by providing your own script in service_call_schema

1 Like

Yes, this card is just a nice way to control HA vacuum entity, which has to be set up before using the card itself.

1 Like

Ahhh of course. Thanks

Question, added the dreame with beta branch, see below,
above is the roborock, i see status there for charging , battery , fan speed…
for the dreame i dont have those? where are the icons coming from? below a yaml, its the same exact copy as the roborock

  - platform: xiaomi_cloud_map_extractor
    host: !secret dreame_ip
    token: !secret dreame_token
    username: !secret xiaomi_cloud_username
    password: !secret xiaomi_cloud_password
    country: "de"
    name: "Dreame"
    scan_interval: 20
    store_map_raw: true 
    store_map_path: /tmp 
    force_api: dreame 
    # draw: ["all"] 
    # attributes: 
      # - calibration_points   
    draw:
      - charger
      - path
      - goto_path
      - predicted_path
      - no_go_zones
      - no_mopping_zones
      - vacuum_position
      - virtual_walls
      #- zones
    map_transformation:
      scale: 1
      rotate: 0
      trim:
        top: 0
        bottom: 0
        left: 0
        right: 0  
    # draw: ["all"]        
    attributes:
      - charger
      - image
      - map_name
      - obstacles
      - room_numbers
      - rooms
      - vacuum_position
      - walls
      - zones   
      - calibration_points

and

          - type: custom:xiaomi-vacuum-map-card
            entity: vacuum.dreame
            map_source:
              camera: camera.dreame
            calibration_source:
              camera: true
            map_modes:
              - template: vacuum_clean_zone
            icons: []

@3_14 Hello, can someone here help me with how to have 2 maps showing in my lovelace for 2 vacuums? Is this possible? I have both of my tokens added to my config but when I go to add the map view to my dashboard, it is only showing 1 camera entity (the map of the first vacuum added). Thank you all for any help you can provide!

It’s not just about map extractor, specific integration has to be supported as well or configured manually

You have to add “name” to both cameras’ configs

Thank you so much!! That did the trick for me. It works great!!

You mean, I need to create extra template sensors?

If integration that you use is not here: supported platforms you have to manually configure tiles

1 Like

Hello,

I use this card with my neato connected (old device, I think it’s the first connected version for neato). but I have this :

How can I removed this message ? My device does not support zone or somethink else.

Here my code for card :

type: custom:xiaomi-vacuum-map-card
entity: vacuum.neato
map_source:
  camera: camera.neato_cleaning_map
calibration_source:
  camera: false
vacuum_platform: Neato
map_locked: false
two_finger_pan: false

Thank in advance

type: custom:xiaomi-vacuum-map-card
entity: vacuum.neato
map_source:
  camera: camera.neato_cleaning_map
calibration_source:
  identity: true
vacuum_platform: Neato
map_locked: false
two_finger_pan: false
1 Like

Perfect, thank a lot it’s work :

But what is the purpose of the new button ? When I click on it, it’s said “no selection found”

It is used with zone cleaning. You can make it go away with this config:

type: custom:xiaomi-vacuum-map-card
entity: vacuum.neato
map_source:
  camera: camera.neato_cleaning_map
calibration_source:
  identity: true
vacuum_platform: Neato
map_locked: false
two_finger_pan: false
map_modes:
  - template: vacuum_clean_segment
    run_immediately: true

Perfect thank a lot, and thaknk a lot for the card, it’s very nice !!!

1 Like

Hey guys,
I’m using xiaomi-vacuum-map-card with a static image which is my house’s floorplan. It works alright. However, I was wondering if it’s possible to show more stuff on it. For example, the vacuum’s real-time position, and/or its traces, etc.
At the moment when I draw a zone(s), and press play button, the map only shows the floorplan (even the zones I drew disappear). Of course if I look at the camera.xiaomi_cloud_map_extractor it shows the zones, position, trace etc.
This is a part of my config:

...
additional_presets:
  - preset_name: Static image
    entity: vacuum.rosie
    map_source:
      image: /local/images/3dfloorplan/floorplan-dark-180.png
    calibration_source:
      calibration_points:
...

It’s not possible at this moment, but I plan to add it.

If you want to keep selection after starting the vacuum you can use

clean_selection_on_start: false
1 Like

Thanks, I’ll patiently wait. Regardless, thank you for the great job you’ve already done.