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

homeassistant

12107 readers
56 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?

top 11 comments
sorted by: hot top controversial new old
[–] n41lit@feddit.ch 2 points 1 year ago (1 children)

As you mentioned Valetudo: I can highly recommend it! The HA integration is very beautiful too.

[–] mike_wooskey@lemmy.d.thewooskeys.com 1 points 1 year ago (2 children)

Will the valetudo vacuum card/integration work with an un-valetudo-ed vacuum?

[–] bookworm@feddit.de 3 points 1 year ago

I would assume no since Valetudo has its own API.

[–] n41lit@feddit.ch 1 points 1 year ago (1 children)

I highly doubt it aswell, since valetudo api is running locally. The solutions from the manifacturers always connect to a cloud as far as I am informed. Anyways i never tried any of these "original" solutions as my vacuum was never activated before flashing valetudo. It's one of my fav open source projects since the documentation is sooo good and helpful. If you want to know how I made it or need help > hmu on matrix or here. Greets

[–] mike_wooskey@lemmy.d.thewooskeys.com 1 points 1 year ago (1 children)

I want to flash my vac with Valetudo - my goal is to run-only, no cloud. But I read through Valetudo's instructions and it's too scary for me. I don't think I have the skills to solder a board together and I barely understand all the steps. I can follow instructions, but there's one point where they say something like "do these few steps within 180 seconds or you may brick your vacuum" - that's too much risk for a ~$1000 vacuum. I didn't upgrade the firmware on my vac, so maybe someday the process will be slightly easier and I'll take the risk.

[–] n41lit@feddit.ch 1 points 1 year ago* (last edited 1 year ago) (1 children)

I specifically bought my vacuum as their recommendations say. I have flashed two Dreamee D9, it worked flawless. If you want i'll look into the manual for your's to state if the procediure is the same.

Edit: just looked it up. I did UART, not Fastboot method (which is required for yours)

Thanks for checking. So I'm still too scared at the moment. :)

[–] ipp0@lemmy.world 1 points 1 year ago (2 children)

I use Dreame Vacuum integration from HACS.

[–] mike_wooskey@lemmy.d.thewooskeys.com 1 points 1 year ago (1 children)

Also, while this integration recognizes the mopping capability of the vacuum (it shows the status of the mop heads in terms of dry or moist), it doesn't seem to offer the ability to control the mopping functionality (I can't see a way to change the mop settings like I can with the vacuum's fan speed). Interesting.

[–] ipp0@lemmy.world 1 points 1 year ago

Mine is L10s Pro, and it has a switch for “customized cleaning” which allows me to set the cleaning mode and to see some cleaning parameters for each room separately. I haven’t ever needed it though so I can’t say how well it works.

[–] mike_wooskey@lemmy.d.thewooskeys.com 1 points 1 year ago* (last edited 1 year ago)

That worked wonderfully! Thanks, @ipp0@lemmy.world.

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?