Xiaomi Cloud Vacuum Map Extractor

Okay after reinstalling the roborock integration the map started working for me. Its displayed correctly now. It may have been because I installed the integration before I installed the app on my phone. In any case hopefully that’s the end of the issue.

Thanks for your assistance.

Hi there!

I have three vacuums, but is only able show one camera at the time.

I have only installed the tool once using hacs. Is it not supported or am I doing somethin stupid?

I have tried to configure it like this:

camera tirus:
  - platform: xiaomi_cloud_map_extractor
    host: X
    token: X
    username: X
    password: X
    country: X

camera sirus:
  - platform: xiaomi_cloud_map_extractor
    host: X
    token: X
    username: X
    password: X
    country: X    

camera nilus:
  - platform: xiaomi_cloud_map_extractor
    host: X
    token: X
    username: X
    password: X
    country: X     

Add name to every camera

1 Like

So my invalid configuration came back. I did update to the latest version of Roborock integration in HACS today so not sure if that’s what triggered the issue:

I have not changed the config from what I previously posted.

Thank you! Did the trick!

Great card, thanks for your work! Is it possible to get a live view of the vacuum like in the app or just a snapshot?

You can with GitHub - PiotrMachowski/Home-Assistant-custom-components-Xiaomi-Cloud-Map-Extractor: This custom integration provides a way to present a live view of a map for Xiaomi (Roborock/Viomi/Roidmi/Dreame) vacuums without a need for rooting.

So I’ve read the documentation several times and don’t see how to make it live. Can you elaborate?

When I open the map the robot isn’t moving. I’m looking to see if there’s a way to watch it move in real time.

Which vacuum model do you have?

s7 Vmax Ultra

It should be moving, can you show your configs of card and camera?

camera:
  - platform: xiaomi_cloud_map_extractor
    host: xxx.xx.xx.xxx
    token: xxxxxxxxxx
    username: [email protected]
    password: xxxxxxxx
    draw: ['all']
    attributes:
      - calibration_points
      - vacuum_position

And:

      card:
        type: custom:xiaomi-vacuum-map-card
        map_source:
          camera: camera.xiaomi_cloud_map_extractor
        calibration_source:
          camera: true
        entity: vacuum.roborock
        vacuum_platform: default
        title: First Floor

OK, so it seems that it’s working correctly on a regular layout, but when I use it with my config-template card it doesn’t refresh for some reason.

  - type: custom:config-template-card
    entities:
      - input_boolean.vac_map
      - camera: camera.xiaomi_cloud_map_extractor
      - vacuum.roborock
    style:
      top: 50%
      left: 50%
      width: 35%
    card:
      type: conditional
      style:
        top: 50%
        left: 50%
        width: 100%
      conditions:
        - entity: input_boolean.vac_map
          state: 'on'
      card:
        type: custom:xiaomi-vacuum-map-card
        map_source:
          camera: camera.xiaomi_cloud_map_extractor
        calibration_source:
          camera: true
        entity: vacuum.roborock
        vacuum_platform: default
        title: First Floor

Never got a response from my last question but I got it fixed by changing the camera entity to camera.roborock_s7_maxv_map. Here’s what mine looks like in room cleaning mode:

Hopefully this can help someone else that runs into the same issue.

I suspect that camera: part might be causing your problems here

Sorry, I have missed your question. I’m glad you have figured it out though

hi,

I wonder if it is possible to obtain an image of the camera showing room names but without buttons or other controls to put in a view,
like this
immagine

I can put a picture entity but it doesn’t show me the rooms.
see this
immagine

thanks

You can add texts in camera’s config, but it won’t be so nice + it will be shown on the card as well

thanks for the reply,
I didn’t know it could be done, I’ll try to see if I can find any references about it
but is possible on picture-entity card?

Documentation is here, buuuuut this feature doesn’t return very aesthetic results at this moment