Tasshack / dreame-vacuum

Home Assistant integration for Dreame robot vacuums with map support
https://community.home-assistant.io/t/custom-component-dreame-vacuum
MIT License
747 stars 92 forks source link

Support for new Xiaomi Robot Vacuum X20+ #498

Closed stich86 closed 1 week ago

stich86 commented 4 months ago

Can you please add support for Xiaomi Robot Vacuum X20+?
It's the twin of Dreame L10s Ultra

Currently when I add new account, it says that no robot has been found.

Thanks in advance

stich86 commented 2 months ago

Ok I'll send you a msg here when upgraded

stich86 commented 2 months ago

@stich86 I cannot see the firmware upgrade menu in settings because I am not the owner of the device. App asked me when I have first added the device but I cannot upgrade it now since I have dismissed that popup. Can you start upgrade from your app?

Ok it's updated let me know

Tasshack commented 2 months ago

It's upgraded and still working fine with my fix. Thanks for the help.

stich86 commented 2 months ago

I'll keep it shared until you have fixed and test all stuff, let me know. For me isn't a problem ;)

mc-flash commented 2 months ago

Guys, you are awesome!!

Tasshack commented 2 months ago

I'll keep it shared until you have fixed and test all stuff, let me know. For me isn't a problem ;)

@stich86 I don't need the access anymore but I have noticed some very important differences within the app from the Dreame variant of this device. For example; Dreame app has one more option for both mopping prefences and setting the one that does not present in the Mi Home app may break the operation of the device since we cannot make sure why those options are discarded from the same hardware from different brand. Because of that, I would like to address those differences in the integration too when I have the time working on it agai so it would be very nice to keep the access for that time. Your device is only installed on my dev machine and that device is only running while I am developing.

Tasshack commented 2 months ago

I have commited the fix but I won't be releasing a new version soon so anyone who don't want to wait this issue to be closed with the new release can download and override this file manually with the custom_components/dreame_vacuum/dreame/protocol.py one.

stich86 commented 2 months ago

I'll keep it shared until you have fixed and test all stuff, let me know. For me isn't a problem ;)

@stich86 I don't need the access anymore but I have noticed some very important differences within the app from the Dreame variant of this device. For example; Dreame app has one more option for both mopping prefences and setting the one that does not present in the Mi Home app may break the operation of the device since we cannot make sure why those options are discarded from the same hardware from different brand. Because of that, I would like to address those differences in the integration too when I have the time working on it agai so it would be very nice to keep the access for that time. Your device is only installed on my dev machine and that device is only running while I am developing.

No problem, let me know if you need something else :)

stich86 commented 2 months ago

I have commited the fix but I won't be releasing a new version soon so anyone who don't want to wait this issue to be closed with the new release can download and override this file manually with the custom_components/dreame_vacuum/dreame/protocol.py one.

I have commited the fix but I won't be releasing a new version soon so anyone who don't want to wait this issue to be closed with the new release can download and override this file manually with the custom_components/dreame_vacuum/dreame/protocol.py one.

so that version make Maps work? Thx!

wmnl25 commented 2 months ago

Amazing work guys! Can confirm this version now displays a map :)!

Scherm­afbeelding 2024-06-11 om 21 55 49
papst01 commented 2 months ago

Awesome work. Can also confirm (gl-version in region DE) that the map is working with the adapted protocol.py file without any rooting or whatsoever

Tasshack commented 1 week ago

Full support has been added to the latest Beta release. https://github.com/Tasshack/dreame-vacuum/releases/tag/v2.0.0b16

I had to change some entity availabilities according to the differences in app between Dreame variant of the device. I suggest removing the device from your HA and add it again for refreshing the auto generated entities.

Thanks @stich86 for the access.

haruspice33 commented 1 minute ago

Hi Tasshack & many thanks for your work

got problem on connexion to xiaomi account , just "Impossible d'établir la connexion." (in french) , nothing in logs of homeassistant.

with Miiot, the connexionis OK , but as you know, this model is not supported

I try to connect to DE server, and choose Xiaomi Home Account

Manual installation of 2.0.0b16

If i can help