this post was submitted on 21 Nov 2023
13 points (100.0% liked)

homeassistant

12027 readers
129 users here now

Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io

founded 1 year ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 11 months ago* (last edited 11 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?