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?

  • n41lit@feddit.ch
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

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

      • n41lit@feddit.ch
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        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.comOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          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
            link
            fedilink
            English
            arrow-up
            1
            ·
            edit-2
            1 year ago

            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)

    • Mike Wooskey@lemmy.d.thewooskeys.comOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      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
        link
        fedilink
        English
        arrow-up
        1
        ·
        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.comOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      1 year 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?