Vacuum Interactive Map Card

Hi,
Thanks for you answer, that seem to be a good solution, I will definitely go for.
However, I have actually 4 camera entities, 1 for the “current” map, on which I get to see the actual passes progress of the robot. And another 3 for each floor, where there will not be live progress.
So should I create one preset with “current” camera, without any set of rooms, call it “Live view”, and then 3 additional preset for each room, with their sets of rooms each?

That depends on your preferences :wink:

1 Like

[EDIT - I figured it out]

Hi there,

This is really a great card - the functionality and the documentation is amazing!

I have an old roborock that I’m trying to get sorted on HA. I have a png image which is a snap generated from the valetudo camera system, and my calibration points on said map.

My question is that the map doesn’t seem to render: My guess is that I am not pointing it to the correct image?


The file does seem to be there though:

What am I doing wrong?

Hi, I’am struggling with the rooms config.

When I press the ‘GENERATE ROOMS CONFIG’ button in the card nothing happend. The config stays the same.

This is my card config:

type: custom:xiaomi-vacuum-map-card
map_source:
  camera: camera.dreamebot_z10_pro_map
calibration_source:
  camera: true
entity: vacuum.dreamebot_z10_pro
vacuum_platform: Tasshack/dreame-vacuum

The card ist not nested in any other card(s).

Dreame Z10 Pro over Xiaomi Account
Dreame: v1.0.4
xiaomi-vacuum-map-card: v2.2.2
HA: 2024.7.1

Thanks!

Thanks for this amazig plugin! I have a Roidme Eve Max Robot. Does Vacuum Interactive Map Card support this Robot?

Model: roidmi.vacuum.sdj60

Im getting an “TypeError: argument of type ‘NoneType’ is not iterable” Error when trying to add my robot.

camera:

  • platform: xiaomi_cloud_map_extractor
    host: ‘xxxx.xxx.x.xx’
    token: ‘xxxx’
    username: ‘xxxx’
    password: ‘xxxx’
    draw: [‘all’]
    force_api: roidmi
    attributes:
    • calibration_points

Hi Guys, I am a new member here and not an expert on Home Assistant.
I am having Xiaomi m1s and works ok when using zone clean up - for example.
Issue is when I using room cleaning and when I select the room and press start, it says Success! but nothing happens.

Attached is my Config file.

type: custom:xiaomi-vacuum-map-card
map_source:
  camera: camera.xiaomi_cloud_map_extractor
calibration_source:
  camera: true
entity: vacuum.roborock_vacuum_m1s
vacuum_platform: default
map_modes:
  - template: vacuum_clean_zone
  - template: vacuum_goto
  - template: vacuum_clean_segment
    predefined_selections:
      - id: '16'
        icon:
          name: mdi:broom
          x: 24575
          'y': 24300
        label:
          text: Hodnik
          x: 24575
          'y': 24300
          offset_y: 35
        outline:
          - - 22508
            - 24510
          - - 26211
            - 24510
          - - 26211
            - 25533
          - - 22508
            - 25533
      - id: '17'
        icon:
          name: mdi:broom
          x: 29650
          'y': 24600
        label:
          text: Dnevna
          x: 29650
          'y': 24600
          offset_y: 35
        outline:
          - - 26216
            - 22335
          - - 30347
            - 22335
          - - 30347
            - 25828
          - - 26216
            - 25828
      - id: '18'
        icon:
          name: mdi:broom
          x: 24575
          'y': 26975
        label:
          text: Kuhna
          x: 24575
          'y': 26975
          offset_y: 35
        outline:
          - - 23205
            - 26152
          - - 25389
            - 26152
          - - 25389
            - 28242
          - - 23205
            - 28242
      - id: '19'
        icon:
          name: mdi:broom
          x: 28300
          'y': 27475
        label:
          text: Jedilnica
          x: 28300
          'y': 27475
          offset_y: 35
        outline:
          - - 25341
            - 25846
          - - 30429
            - 25846
          - - 30429
            - 28830
          - - 25341
            - 28830
      - id: '20'
        icon:
          name: mdi:broom
          x: 22250
          'y': 23250
        label:
          text: Kopalnica
          x: 22250
          'y': 23250
          offset_y: 35
        outline:
          - - 21000
            - 22400
          - - 23500
            - 22400
          - - 23500
            - 24100
          - - 21000
            - 24100
      - id: '21'
        icon:
          name: mdi:broom
          x: 22700
          'y': 24300
        label:
          text: Room 21
          x: 22700
          'y': 24300
          offset_y: 35
        outline:
          - - 21900
            - 24100
          - - 23500
            - 24100
          - - 23500
            - 24500
          - - 21900
            - 24500
      - id: '22'
        icon:
          name: mdi:broom
          x: 21625
          'y': 26650
        label:
          text: Pisarna
          x: 21625
          'y': 26650
          offset_y: 35
        outline:
          - - 20750
            - 24516
          - - 22565
            - 24516
          - - 22565
            - 28808
          - - 20750
            - 28808

To me all looks ok but not sure why not starting it.

I think your model is not supported at this moment

1 Like

Which integration do you use to add the vacuum to HA?

Thank you very much for confirmation. In HA I am using Xiaomi Miio - along this camera integration and card.

Hi All,

There are none obstacles in the Roborock app (iOS)
I try to remove them also in the card. Without success

  1. Removed the integration totally.
  2. Restart HA
  3. Reinstall the integration again using HACS

This didn’t help.

Is there a location that stores the image ?

Try this config:

1 Like

Which integration do you use to get map?

I use this integration:

And this integration for the vacuum itself

Have some more options then the core version in HA

Thank you very much for your effort. Appreciate it.
It works now.

Does this card work with core Roborock integration?
I get ‘invalid calibration’ message when using this integration.

1 Like

I get these “Missing Configuration: map_image or map_camera” errors once in a while, any ides? Most of the time it´s working great.

@poudenes
Map image is provided by the integration, so you have to ask your question there.

@Mosher
No, it does not (at this moment)

@Fifthy
it must be some caching issue or double installation. Version v1.X.X used these properties

I noticed that the ip for the vacuum had changed so it was the wrong local ip set in configuration.yaml, might it have something to do with that?

Does the map integration pull the map locally or from the cloud?

Integration sends a command to the vacuum to upload the map to the cloud and then it downloads the map from the cloud. So yes, correct IP address is required for the integration to work

1 Like