Custom Component: Dreame Vacuum

Very excited to find this thread and that my D10 Plus Gen 2 is supported, thank you for the awesome work!

Looking through the code, am I correct in thinking that if I created my own voice pack, saved it as a tar.gz and hosted it on an accessible URL that I could integrate it simply by updating the URL call in the services.yaml?

Are there any other configurations I should consider before I do so? Perhaps in the home services config values?

I am interested in the experiences of other users who tried this.

Excited to have a play with this later today!

You are correct and this is how yo do it but I am not sure how the hash is actually calculated.

1 Like

Thanks for this suggestion tasshack, but unfortunately the room numbers are missing.

I have another question, I didn’t find a way to start the washboard base cleaning process in Home Asisstant for my X40 Ultra. Are there any plans to add this in the future? I would love it to use Home Assistant to do all sort of maintenance on my vacuum, including cleaning the dock.

Thanks!

Hi, I’m thinking about buying Mova E30 ultra. Will it work with this integration?

If anyone has encountered the same problems as me, by installing the new version 2024.11.0 everything will work again. Thanks for everything

I. Still not able to use the Dreame correctly. I can see that the card is updated when the robot is cleaning, it also shows the right room I selected in the official app but I can’t start cleaning from within home assistant. It always tells me that it cant reach the robot via cloud.

I have absolutely no clue what’s wrong.

I’m trying to set-up this card without success so far (HA 2024.10.0). Both custom cards are indeed installed. Card editor reports the following error (at the bottom of the editor):

Configuration error
Cannot read properties of undefined (reading 'startsWith')

Any hint to fix this error would be appreciated. Thank you

Related to this;

Hi. I have a Xiaomi X10+ but i can’t use this integration. Im Stuck tò the login to the 2FA . I’m using a VM on a server. Any suggestion ? With the Xiaomi auto integration i can login but i dont see my vac cleaner

Ok, bought it and can confirm that with the latest beta integration all is ok and working like a charm.Thanks

Can’t you disable 2FA just for a moment meanwhile you set it up on HA ?
Afterwards you activate it again

Hello everybody,
I am a beginner in the HA universe… trying to understand and investigate everything by myself…
First of all, thanks @tasshack, amazing integration!!! It worked just perfectly!

Honest question here:
Xiaomi Vacuum Robot S10, S10+, X10, X10+, S20, S20+, X20, X20+ are Top of the line from Xiaomi for at least the past 2 years… what would be the reason their official HA integration doesn’t count with these devices and depends on a community custom integration to do it? :confused:

I want to understand this aspect before buying new devices to make my home full automatized!

Well you can’t disabile the 2fa but i manager to login in this way: i create a new account ( i didnt add phone or other thing . Just mail and password) and then i added the new account to my existing home with administration role . Now i can login and see the robot. Thank you

1 Like

This is the correct way of solving this issue, thanks for sharing.

It needs to be reverse engineered because there are no public documentation for their data models but they are so badly engineered that it is impossible for a right minded person to intend to do so.

1 Like

Need some help here.
Just received my X40 Ultra and letting it charge up.
I installed the integration but can’t get logged in.
I’m using the Configuration Type With map (Automatic).
Username is my email address, also tried using the account ID from the app.
Prefer cloud connection is checked.
Server country is US.
I keep getting “Could not login to Xiaomi Miio Cloud, check the credentials.”
Not sure what to do at this point.
Any suggestions?

RESOLVED. I downloaded the beta version and used the Dreame Account.

Unfortunately my X40 Pro Ultra has a model number “dreame.vacuum.r2401h”, the beta supported model is “dreame.vacuum.r2401”. Is there any workaround for it?

(post deleted by author)

@kolia Did you ever figure this out? I am having the exact same issue would love to get this to work but i can not add this to a card and get it to work.

@kolia @Tmatz: Remember that this snippet is not the final card code! This is a template code you need to paste into Dev tools → Template and that will spit out the final code on the right then

1 Like