I have a Dreametech L10s Ultra vacuum that HA recognizes via the Xiaomi Miot Auto integration. I’m trying to add a custom:xiaomi-vacuum-map-card to a dashboard, and the vacuum is recognized but the camera (which I guess is the map) isn’t working due to “Invalid calbiration”. But the calibration is whatever was automatically set by the card when I chose the vacuum. Hmmm.

I have the camera/map set in configuration.yaml as follows:

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
    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

This vacuum has not been Valetudo-ed - it’s in new condition from the vendor.

Does anyone have any suggestions?

  • Mike Wooskey@lemmy.d.thewooskeys.comOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    8 months ago

    That worked wonderfully! Thanks, @[email protected].

    I had originally tried this HACS integration when I was first setting up my vacuum and it failed. The reason turned out to be a subnet issue, but by the time I figured that out, I had forgotten about the Dreame Vacuum integration.

    Do you know if the Dreame Vacuum integration supports the video camera on the vacuum? Or is there another way to view the vacuum’s camera in HA?