Custom Component: Dreame Vacuum

Hello,

First of all, thank you for the integration. Installation went smoothly.
I have recently owned the Dreame X40 and would now like to implement a few automations.

Example:
I ONLY want to vacuum my kitchen, and with the suction power “Max”.
(see picture 1+2)


He does the following:
He uncouples the wipers, moves into the room and vacuums.
Unfortunately, it only vacuums with the lowest level, no matter what I set in the “visual editor” or in the “code editor”.
Where is my mistake? Anyone have an idea how I can solve this?

It is also noticeable that in the “visual editor” only have 3 levels available for vacuuming and wiping, but in the Dreameapp I have more? My mistake?

Hope somebody can help me…

Regards Jürgen

Is there a way to retrieve existing schedules? Just want to be able to set up notifications on when upcoming schedules are happening. I have the Dreame X40 ultra. Thanks

It is in vacuum entity attributes.

1 Like

Hello,

I have a Dreame L10s ultra heat. Intégration is ok with xiaomi vaccum card :

This is my code :


type: custom:xiaomi-vacuum-map-card
map_source:
  camera: camera.dreame_map
calibration_source:
  camera: true
entity: vacuum.dreame
vacuum_platform: default

I have 2 wishes:

  1. I’d like to display shortcuts on my card to launch actions: I proceed like this but it doesn’t work, nothing is displayed:
type: custom:xiaomi-vacuum-map-card
map_source:
  camera: camera.dreame_map
calibration_source:
  camera: true
entity: vacuum.dreame
vacuum_platform: default
shortcuts:
  - name: Nettoyer WC
    icon: mdi:toilet
    service: dreame_vacuum.vacuum_clean_segment
    service_data:
      entity_id: vacuum.dreame
      segments: [5]
  - name: Nettoyer Cuisine
    icon: mdi:chef-hat
    service: dreame_vacuum.vacuum_clean_segment
    service_data:
      entity_id: vacuum.dreame
      segments: [3, 4]
  - name: Nettoyer Salon
    icon: mdi:sofa
    service: dreame_vacuum.vacuum_clean_segment
    service_data:
      entity_id: vacuum.dreame
      segments: [1, 2]
columns: 3

but nothing appairs. No icon with shortcut, why ?

  1. I’d like to automate cleaning zone by zone. This works very well:
alias: Dreame - WC AspiSerpi
description: Lance un nettoyage avec les options sweeping_and_mopping
triggers:
  - device_id: xxxxxxxxxxxxxxxxxxxx
    domain: mqtt
    type: action
    subtype: "on"
    metadata: {}
    trigger: device
conditions: []
actions:
  - data:
      segment_id: 5
      suction_level: 1
      water_volume: 1
      repeats: 1
    target:
      entity_id: vacuum.dreame
    action: dreame_vacuum.vacuum_set_custom_cleaning
mode: single

But now I’d like to be able to run the dreame in vacuum and mop mode, because with this automation, I can only run the vacuum mode. How do I launch the mop?

I found this in STATS:

options:

  • sweeping
  • mopping
  • sweeping_and_mopping
  • mopping_after_sweeping
    value: 2560
    icon: mdi:hydro-power
    friendly_name: Dreame Cleaning Mode

But I don’t know how to integrate it into my automation.

Merci pour votre aide :slight_smile:

Hello l10s plus should be product code RLL42SD and not r2363a right?

Hello, I’ve been trying and reading the documentation for several days now, but I’m obviously missing something. I’m trying to make a script so that the vacuum cleaner starts in CLEANGENIUS mode, it works but it doesn’t take into account the rooms I ask it to, it only cleans the first room.
I tested with different parameters but I can’t do it.

Thank you for your help

alias: dreame script hall entrée cleangenius
sequence:
  - device_id: X40 Ultra Complete
    domain: select
    entity_id: X40 Ultra Complete
    type: select_option
    option: "hall entrée "
  - device_id: f41ab730bb76d5f44908bef58d4a0205
    domain: select
    entity_id: b3868e1e31fbc0de1e97f19f53e36aa1
    type: select_option
    option: deep_cleaning
  - action: dreame_vacuum.vacuum_clean_segment
    target:
      entity_id: vacuum.x40_ultra_complete
    data:
      segments:
        - 2
        - 1
description: ""

Mine is Ultra Heat but I assume it is somewhat the same. In the app from the device page hit 3 dot menu top right, scroll to More functions, then a Clean washboard base option manually guides you through cleaning, with an app button to exit the vacuum from the base. Easy really /s
But I guess they saved 10c by not having a hardware button.

I haven’t tried it but wouldn’t you just enter sweeping_and_mopping in the cleaning mode section when you create the automation (if you’re doing it in UI) else add a line cleaning_mode: sweeping_and_mopping in the data section of the action

and with 2 for parameter cleaning mode, no error but nothing appairs

1 Like

I have gone through all the documentation again and I still can’t find why it doesn’t take my ID into account when choosing the parts to clean. Please, any help is welcome. Thank you for the time you are devoting to me.

When I enable this option the base begins to clean itself. Is there a way to let the robot exit the base without using water?

Thanks, it is working now. :slight_smile:

Apply this patch and try again.

hello, could you tell me how to specify a cleaning_mode in my automation ?
I would like to execute a sweeping and mopping :

alias: Dreame - WC AspiSerpi
description: Lance un nettoyage avec les options sweeping_and_mopping
triggers:
  - device_id: xxxxxxxxxxxxxxxxxxxx
    domain: mqtt
    type: action
    subtype: "on"
    metadata: {}
    trigger: device
conditions: []
actions:
  - data:
      segment_id: 5
      suction_level: 1
      water_volume: 1
      repeats: 1
    target:
      entity_id: vacuum.dreame
    action: dreame_vacuum.vacuum_set_custom_cleaning
mode: single

thanks :wink:

Hi all,
I configured the vacuum (L10S Ultra Gen2) in the dreame app, then after a few hours I tried to add it to HA but It says I’ve already configured it.
In the app I changed the name of my old vacuum and named the new one as the previous. Result is that HA still sees the old one with the old name but nothing else.
Any clues?
Thanks!

1 Like

Remove the device from HA and add it again otherwise HA cannot update the entity ids only entity names.

1 Like

Can anybody help me add Mova p10 pro plus to integration?

really no one to give me a clue :wink:

If you are too weak to see the answer I wrote to you, you should not ask for help.