Has anyone successfully connected Dreame vacuum integration? Logging in issues

Worked for me ! :slight_smile:

OMG, I just managed to add my Dreame X40 Ultra to HA using the latest beta v2.0.0b19.

Does anyone know what are the two checkboxes at the bottom of the list for?

i see people using different versions but how do i install a different version?

If I remember correctly, you first need to remove the Dreame Vacuum HACS integration.
Next, go to HACS and search for Dreame Vacuum.
Click Download.

At this point, a small box will pop up.
IMPORTANT: Don’t click anything yet!

Look for the option “Install a different version” or something similar.
Open the dropdown and select the Beta version from the list.

The Beta version allows you to log in directly to Dreame using your Dreame account credentials. No Xiaomi login required.

I hope this helps!

I am still getting login issues even after trying the V2 pre-release version. I know my credentials are correct for the Dreame account but it says they are not. I can’t even add the integration at this point.

Have been logged in for months with 2.0.0b16, over the weekend disabled all my integrations to track down what was causing a complete system failure. As I re-enabled them, this one said it couldn’t login anymore. Now I’m completely unable to login (it had saved my email address and password, which it prompts for a 2FA for, but I do not receive a 2FA to my email when I attempt to login from HA). Attempting to use my account id from the dreame app just results in “Could not login”. Deleted the existing device, re-added so I could select server again, tried email and account id. If I use email address + password, I get a prompt for 2FA, but do not receive it. Anything else, I get “Could not login”. Also upgraded to 2.0.0b20 and downgraded to 1.0.6 just to see if either of those worked, and no dice on those either.
Other methods of receiving 2FA for the Xiaomi app (such as the token extractor, or the mobile Android app) work, but the 2FA codes do not work when supplied to the HA integration.

Any ideas?

Same.

Login doesn’t work at all.

What seems to be the problem?

So i got a new to me (used) L10 pro yesterday, tried to connect using the latest HACS Dreame beta version using Xiaomi account. Authentication did not finish succesfully indeed, 2fa code from Xiaomi was send via email but once inserted into HA dreame inputbox, the code was not accepted by the dreame HACS plugin.
I read the article referred to in this topic and it was mentioned, there was a seperate Dreame app where one has a XX123456 username assigned.
Turns out there are two apps available, a Xiaomi home app and a Dreame home app. Once I reset the Dreame L10 pro and set it up (wireless etc) via the Dreame home app (instead of the Xiaomi home app) i got a new Dreame home account with a Dreame home id (XX123456). Once I selected the Dreame home account login option in the Dreame HACS plugin inserted the Dreame username (XX123456) including configured password the HACS dreame plugin succesfuly registered and connected, without 2fa code required. Not sure if securitywise this is best practice but hey, i can finally manage my L10 pro from HA dashboard, hooray!

What confuses me is that both apps are the same except colorscheme (and account namingconvention offcourse).

TLDR: Dreame home app authentication works, Xiaomi home app authentication does not (seem to) work in combination with (v2.0.0b20) beta HACS Dreame vacuum integration.

1 Like

I used version 2+ logged in with Dreame username not email. hope it helps L20 Ultra