Vacuum Interactive Map Card

Hello @3_14 ,

How can I zoom my map automaticly ? I need to x2 to be correct all time.

Thanks you

Which source of a map do you use?

xiaomi_cloud_map_extractor :

### ROBOROCK ###    
camera:
  - platform: xiaomi_cloud_map_extractor
    host: !secret xiaomi_vacuum_host
    token: !secret xiaomi_vacuum_token
    username: !secret xiaomi_cloud_username
    password: !secret xiaomi_cloud_password
    name: "Roborock S5"
    #map_transformation:
      #scale: 3 #Ă  ratio de l’image Ă  tester en fonction de la taille de la carte souhaitĂ©
      #rotate: 180 #à effectue une rotation de 0, 90, 138, 360 degré de la carte
      #trim:
        #top: 10 #Ă  permet de dĂ©couper l’image sur le bord haut de façon Ă  optimiser l’espace
        #bottom: 20 #Ă  permet de dĂ©couper l’image sur le bord bas de façon Ă  optimiser l’espace
        #left: 30 #Ă  permet de dĂ©couper l’image sur le bord gauche de façon Ă  optimiser l’espace
        #right: 40 #Ă  permet de dĂ©couper l’image sur le bord droit haut de façon Ă  optimiser l’espace
    sizes:
      charger_radius: 3
      vacuum_radius: 4
    draw: ['all']
    colors: 
      color_map_outside: [0, 0, 0]
      color_path: [255, 255, 255]
      color_robo: [255, 255, 255]
    attributes:
      - calibration_points
      - charger
      - goto
      - goto_path
      - goto_predicted_path
      - image
      - is_empty
      - map_name
      - no_go_areas
      - no_mopping_areas
      - obstacles
      - path
      - room_numbers
      - rooms
      - vacuum_position
      - vacuum_room
      - walls
      - zones
    auto_update: true

Did you get your config from some guide? Can you send a link to it?

Here you have a better one:

### ROBOROCK ###    
camera:
  - platform: xiaomi_cloud_map_extractor
    host: !secret xiaomi_vacuum_host
    token: !secret xiaomi_vacuum_token
    username: !secret xiaomi_cloud_username
    password: !secret xiaomi_cloud_password
    name: "Roborock S5"
    map_transformation:
      scale: 2
      trim:
        top: 20
        bottom: 20
        left: 20
        right: 20
    sizes:
      charger_radius: 3
      vacuum_radius: 4
    draw: ['all']
    colors: 
      color_map_outside: [0, 0, 0]
      color_path: [255, 255, 255]
      color_robo: [255, 255, 255]
    attributes:
      - calibration_points

You have to adjust values for top/bottom/left/right

Ok it’s perfect now.

Can say me if the water option come with the card or I need to make automation ?

Thanks you

Do you have water-related entities? Which integration do you use to control your vacuum?

I have nothing, I juste want to control the water level with HA

Im in the same boat as @Kyar, looking for info on the water tanks and bag for my S7 in the dock and have been researching this recently - Looks like the Roborock integration is apparently giving the state of the dock including the out of clean/full dirty water Error codes in an attribute when applicable and the end user can therefore alert on ‘out of water’ or ‘tank full’ errors. (Important when you’re using a dock)

The Xiaomi integration is not providing that information. I’ve been considering switching integrations for that very reason but haven’t made the jump yet.

How can I hide lock button too ? Thanks you

Hi there
I had to reset my vacuum xiaomi roboter (due to a hardware change and disconnection from the battery there was the card not longer updating).
Now I added the new token to my secret yaml, but the I receive the message in the vacuum card, that I cannot refresh the card.
Is this issue known and anybody has the solution for me?
thanks :slight_smile:

Does the map work in Xiaomi Home?

good point!
yesterday, direct after reboot the map in the app works.
I doublechecked it right now and only "card will be loaded (or kind of this info) appears in the xiaomi app appears
 :frowning:
so I dont know, why the card doesnt load -.-

I think you are now affected by this problem

Hi,
i tried to get an answer but i didnÂŽt find one. I use the custom HACS integration to retrieve the map from my roborock.
But the colors are very bad because the two different rooms have the same colors and the are next to each other. So is there a way to change this?

Overview

VAC

You have to ask this question in the repo of the integration you used. The card doesn’t modify the map image

1 Like

I bought a new vaccum :smiley: Dreame D10 plus.

But I got a funny issue:
on computer (chrome) I cannot see the integration and get the error:
image

If I open the iOS HA app I see the my map etc.

I connect to HA via reverse proxy
 maybe this could be a point?

The error you get on your computer is from 1.x.x version of the card. Check your dashboard resources, there might be something very out of date :wink:

sorry I dont understand
?
What should I check?
Why does it work w/o any changes at the iOS integration (same view)?

I use the dreame integration with v.1.0.1
The Lovelace Vacuum Map card has v.2.2.2

Hello,

Maybe you just have to delete cookies and browser history.

1 Like

Have you used old (this) version of the card before? It contained error message you get right now (it’s not possible to get it in current version of the card). There are two possible ways that might end up in such result:

  1. You have both versions installed at the same time
  2. You have some caching problem

If the error is also displayed when you open HA in incognito mode it means that you most probably have v1.x.x still installed

1 Like