Custom Component: Dreame Vacuum

@tasshack

Why are you not allowing me to comment on an issue I created on Github, and why are you that unpleasant.

The specs on my server is i5-4670K with 24gb. I doubt that the server is to slow to handle Home Assistant and your custom integration. It seems like the map creation is the problem, as it is a lot slower when browsing the frontend, going to settings and such does work a little bit better. This is the exact same thing that happened in an earlier version. I had to disable the integration and wait for an update before being able to use the integration again. And that time I tried uninstalling everything and start from scratch.

I blocked you because you were just complaining without giving any technical information regarding the issue you are having.
Disabling the integration and seeing that the issue has been fixed does not mean it is directly related to this project therefore something that I can fix. In your instance, installing a new core version requires all prerequisites to be reinstalled again and with this integration likely culprit is the py-mini-racer package. It requires some native libraries to function but if it cannot find precompiled libraries online then it tries to compile them from source and that uses extreme amount of memory and cpu also take up to 20mins.
I cannot for sure know in is your case because you donā€™t even share a task manager output like top or even log output of the HA for me to confirming which task is actually using the resources.
And finally, issues are not for customer support and I donā€™t have time to deal with people with system specific problems especially with complaints. Telling something is wrong happening is not going to help me solve it so if you are not happy with performance of the integration please feel free to remove and never use it again.

Hi, Iā€™am struggling with the rooms config.

I am following the repo docu, but when I press the ā€˜GENERATE ROOMS CONFIGā€™ button in the card nothing happend.

This is my card config:

type: custom:xiaomi-vacuum-map-card
map_source:
  camera: camera.dreamebot_z10_pro_map
calibration_source:
  camera: true
entity: vacuum.dreamebot_z10_pro
vacuum_platform: Tasshack/dreame-vacuum

Dreame Z10 Pro over Xiaomi Account
Dreame: v1.0.4
xiaomi-vacuum-map-card: v2.2.2
HA: 2024.7.1

Thanks!

Card is not related to me.

Hey @tasshack
Thanks for all your efforts relating to this great integration. I have it working with my L20 Ultra using a beta release, with mapping and sensor data. Almost a full Dreame app replacement, but awesome to have bot data in HA. Maybe one day it can be local only without having to replace the firmware in the vac.

Sadly, it is not designed and engineered to work without a cloud. Most of the brands are started doing it like this nowadays.

1 Like

Hey @tasshack first of all let me thank you for all your hard work on this intergration and efforts to answer even idiotic questions on this forum.

I ordered my Dreame L20 Ultra but it did not arrive. I did installed the Dreame app and created my account, however I cannot run the setup wizzard as I hit the ā€œcredentialsā€ are not valid wall.

Just wanted to make sure I can set it up before it arrivesā€¦ Is it possible credentials are failing because I did not added yet a device in the Dreame app?

I installed the beta (dev) version manually but same thing happens: ā€œCould not login, check the credentials.ā€

Not sure what you are doing wrong but Dreamehome account support is only available on Beta but I am sure you will figure out the problem yourself if you read enough of the conversations that you have mentioned.

1 Like

So after today I got my L20 Ultraā€¦ I have found out what I was doing wrong. In the app, there is an username, which I happily set to my liking. But in dreamehome login, when it asks for username, it really wants the email address. It works like a charm.

Thank you!

I hope you can find someone for helping development of the project but I doubt it.

This integration is just awesome. Gotto find a way to buy you a coffee because you just blew me away!!!

1 Like

Hi there,

one question: Is there anyway I can have Room cleanup as default option instead of Zone cleanup? I guess this setting is mandated by this line in the card configuration

vacuum_platform: Tasshack/dreame-vacuum

so I guess this is pretty much a default setting that canā€™t be altered?

thanks!!

Screenshot 2024-07-22 at 21.51.42

I bought an X40 Ultra during Prime Day but I havenā€™t set it up yet. I would like to use it as offline as I possibly can. Does it work with the Mi Home app?

I understand that this integration needs the cloud to get map data, and Iā€™m trying to think of whether there is some kind of workaround to letting the vacuum fetch JUST the map data, and then kill the cloud connection.

I considered using Valetudo, but it doesnā€™t support the plumbing kit yet (which I plan to buy in the next few months/years), and I cannot revert to stock once I root, so itā€™s not an option for the moment.

It cannot be installed to the Mi Home app for the same reason and it is not possible to use the dreamehome account without cloud. I suggest you buy another vacuum if you want to use it offline.

I also installing Valetudo to X40 downgrades the device to a L10s since it cannot control any of the latest and advanced features including second cleaning, cleangenius and advanced carpet preferences.

Is there some documentation on how to get through the 2FA (two factor authentication)?
I just created a new Xiaomi account and disabling 2FA does not seem possible. This integration gives an error showing a 2FA url; I have opened that URL in the webbrowser and can authenticate it. It returns ā€œokā€. But after that I still cannot login with this integration, it returns a new 2FA url.

Solution for me: While typing this comment I tried again to reproduce the problem and it suddenly worked. So maybe doing the authentication and then cancelling the process of adding the integration and start all over will do the trick for other people as well.

Another remark: Installation through HACS gives me version 1.0.4 while it states it is at version 1.0.5.

This is a bug of Miio, there is nothing I can do about it.

Latest released stable version is 1.0.4 but the latest commit is 1.0.5.

1 Like

Hi Team!
Iā€™ve change my ip address on vacuum so the integration canā€™t connect. How can replace it? is it set on some yaml file? I canā€™t find this.

thanks you!

Integration gets it from the cloud.

I just got an X40 Ultra also. I havenā€™t had much luck with the HA integration so far, as when you try to authenticate the integration fails and asks you to visit a 2fa url.

The 2fa url says you are now authenticated, but for whatever reason the integration doesnā€™t recognise this, and continues to fail.