Custom Component: Dreame Vacuum

I’m very confused, how do i get this to work for X40 Ultra ?
I have an account, it works fine in the dreame home app.
Trying to set up the integration always fails, “Could not login to Xiaomi Miio Cloud, check the credentials.” I tried toggling prefer cloud on or off.
I’m sure the login and server country are correct… What am I missing ?

1 Like

I have the same problem with login. It used to work well till yesterday.

“Failed setup, will retry: Unable to login to device over cloud”

1 Like

I find it all super confusing, why does it keep mentioning Xiaomi Miiot accounts? I see people saying I need to use my dreame account ID, but there is just zero nada guide or explanation on what to even do to get started.
I don’t even know if it’s a bug or if i’m doing something wrong.

Pinging the de.iot.dreame.tech has no response from the server while cn.iot.dreame.tech & us.iot.dreame.tech works well. Maybe the problem is related to dreame servers.

1 Like

Beta v2.0.0b19 worked well. Connected via Xiaomi Home Account (server DE).

2 Likes

Same issue since today: “Unable to login to device over cloud” with an X20+.
Guess it comes from Xiaomi side and hope it will be solved soon.

2025-06-21 10:26:21.398 WARNING (MainThread) [custom_components.dreame_vacuum] Integration start failed: Traceback (most recent call last):
  File "/config/custom_components/dreame_vacuum/coordinator.py", line 461, in _async_update_data
    await self.hass.async_add_executor_job(self._device.update)
  File "/usr/local/lib/python3.13/concurrent/futures/thread.py", line 59, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/dreame_vacuum/dreame/device.py", line 2913, in update
    self.connect_device()
    ~~~~~~~~~~~~~~~~~~~^^
  File "/config/custom_components/dreame_vacuum/dreame/device.py", line 2100, in connect_device
    info = self._protocol.connect(self._message_callback, self._connected_callback)
  File "/config/custom_components/dreame_vacuum/dreame/protocol.py", line 1212, in connect
    response = self.send("miIO.info", retry_count=retry_count)
  File "/config/custom_components/dreame_vacuum/dreame/protocol.py", line 1271, in send
    raise DeviceException("Unable to login to device over cloud") from None
custom_components.dreame_vacuum.dreame.exceptions.DeviceException: Unable to login to device over cloud

Solved: “Unable to login to device over cloud” with v2.0.0b19
Thank you. It works great.

Thank you for the information

Having the same experience. The post talks about the “official app” which one would presume is the Dreame app. I have an account there but I can’t log into the integration with that. It says “Could not login to Xiaomi Miio Cloud, check the credentials.”.

What is the “Xiaomi Miio Cloud”? Did I create an account in the wrong app?

I have a Dreame D10 Plus Gen2. Is it not supported?

EDIT: It should be supported according a list posted above.
EDIT2: Realised I might need the beta.
EDIT3: The beta solved it.

You are the one that does not worth anything to the developer, that is why you won’t get any support.
Developers advice; Delete the integration and never try to use it again.

1 Like

hey just wanted to thank you for the integration, my L40 started having problems docking so I set up an automation to have it keep retrying until it docks successfully (instead of trying just 3 times), sometimes I still have to go and (gently!) kick it in the dock, but it’s worlds apart from having to do it manually via the app when I’m still half asleep in the bed early in the morning. :slight_smile:

Hi, I’m using Beta version 2.0.0.19b

With the X40 Ultra and everything seems to work very well, now I’m using some automation for notifications.

is it possible to remove the notification (in the persistent_notification section) when it finishes cleaning?

Thanks!!!

In configuration option you can deselect cleanup finish notification

But are you talking about the official DreameHome app?

Please help. Add (Dreame X50 Ultra Complete Black) dreame.vacuum.r2532v vacuum cleaner model.
Thank you very much for your work.

3 Likes

Thank you very much for this integration!
I decided between two different robots and bought a dreame due to the good reviews of this integration. After installing it, I was overwelmed by all the options and entities. So far, I only need a few.
However, now I’ve got a more Ideas which other automatisions will be possible. It’s only sad, that the manufacturers dont support such work at all.

Is there any plan to support some of the newer pool vacuums like the Z1 Pro?

The integration configuration within home assistant is where you turn off this notification. You’ll see the options to send a notification for.

Hey @tasshack, fantastic job mate

I have an x40 ultra complete r2449d. Could you add support for it in the next beta please