Custom Component: Dreame Vacuum

I am using the same version.

Hi, I have been using my Dream L10S Ultra for a while and want to integrate to HA now. I tried to setup the Dreame Integration in HA but it would not accept my login details for Dreame login. I use the Dreame App and have questions just to make sure I’m reading everything correctly.

  1. You cannot use this HA integration with the Dreame App. You must download the Xiamoi App on your phone and dissconect the Robot from Dreame App and connect it to Xiamoi App?

  2. If you do the above, does the existing map (with all the edits, ‘virtual walls’, ‘split areas’, etc…) in the Dreame robot get imported into the Xiamoi App or do you need to make the robot go around and scan eveything and setup the whole thing again?

  3. Does the Dreame robot need to be factory reset (hence all data deleted) to forget the Dreame App and then allow it to connect to the Xiaomi App, or can it just be connected to the Xiaomi App as well?

  4. Once you setup the Dreame robot in the Xiaomi App, the Xiamoi login details are details you have to use to connect the Dreame HA Integration App, not the Dreame login details?

Apologies if this seems basic but just need to know where to start so I am not stuffing around for hours :slightly_smiling_face:

Thanks @tasshack for the suggestion, it works mostly as expected. i have just a doubt about repeating the cleaning.
I create an automation triggered by an Helper that is activated by Scheduler at a certain time (9:30 A.M.), but it seems that the vacuum cleans and wash all the rooms only one time instead of two times.
here my automation yaml:

alias: Robot
description: Avvia aspirazione e lavaggio di tutte le stanze
trigger:
  - platform: state
    entity_id:
      - input_button.avvio_lavaggio_e_aspirazione
condition: []
action:
  - service: dreame_vacuum.vacuum_set_custom_cleaning
    target:
      device_id: 5753046de27c93ee952a9c036928d27f
    data:
      segment_id:
        - 3
        - 2
        - 1
      suction_level:
        - 2
        - 2
        - 2
      water_volume:
        - 2
        - 2
        - 2
      repeats:
        - 2
        - 2
        - 2
  - service: vacuum.start
    metadata: {}
    data: {}
    target:
      device_id: 5753046de27c93ee952a9c036928d27f
mode: single

i am not sure if it depends by the automation mode that is “single” or an error i made in the automation itself.
Any idea or suggestion are very welcome!
thanks again for the great job shared!

i have the same device, but take at it is :slight_smile:

  1. yes

  2. i am not totally sure, but maybe you have to re-map everything.

  3. no, just connect it, Xiaomi will recognize immediately the robot (in fact you can choose this model through the xiaomi app)

  4. yes, you have to use the xiaomi credentials to connect to the Dreame Integration

Ciao :slight_smile:

Where do you exactly searching the shortcuts?

@zetabar @Massha You can use Dreamehome App with the Beta version of the integration.

1 Like

It is not related to the automation. Device ignores cleaning parameters for rooms when Customized Cleaning setting has been enabled. You can either disable the customized cleaning or set the individual room settings from entities.

oh thanks @tasshack !!

I’m new to HA,
I use my L10s Ultra via the Dreamehome app, can I somehow add it to HA without resetting the robot and switching to the Mi home app instead?

Install the Beta version of the integration that has the Dreamehome account support.

@tasshack
I`m searching in the list of Entities from the Dream Integration.

Unbenannt

It shows 154 Entities, but none “shortcuts” or “button.dreamebot_l20_ultra_shortcut_1”

thanks!

Can you create couple of more shortcuts and check none of them are generated or just the one you are looking for?

Hi
Now I see the shortcuts…but If I press on it, nothing happens…
Does the Vacuum have to be “wake up”?

thanks

It should start the job when you press the button or at least gave you and error or warning in the logs. Also if you edit the rooms after setting up the shortcut it will be invalid and robot may not start because of that.

Hi, Im using this with my Dreame L20 Ultra and latest beta release(v2.0.0b11) with xiamo vacuum card.

Is there any way to get a button that let me switch between “Vacuum” and “Vacuum and Mop” ?

Hi,

is the new L10s Pro Ultra Heat supported with this integration?

Hi!

Thank you for this nice integration!

Just got my new L20 and I am trying to connect it.
What do I do if my Dreame user identity is integrated with google?
What credentials should I use for the integration?

Thanks!

@Stothed I just added dreame.vacuum.r2338a under DREAME_MODELS in config_flow.py in the integration and my L10s Pro Ultra Heat works.

You should never only add a model number to the config_flow.py because capabilities and map private key also needs to be correct in order to integration to work properly otherwise unexpected results may occur with the operation of the device.
I will add proper support for dreame.vacuum.r2338a on the next Beta release.

Sounds Great, so then I’ll wait for the next release!

Will it also support the Dreame App Integreation? I want to use the original Dreame app instead of xiaomi home