rytilahti / python-miio

Python library & console tool for controlling Xiaomi smart appliances
https://python-miio.readthedocs.io
GNU General Public License v3.0
3.73k stars 558 forks source link

Xiaomi Mi Mop-2 Lite ijai.vacuum.v10 is working! #1319

Closed Curiosity87 closed 1 year ago

Curiosity87 commented 2 years ago

Got the ijai.vacuum.v10 and after pairing it to Mi Home as a Mop Essential and using the MIIO in home assistant it works. However it doesnt read sensors. Just works to start and set sweep, mop & sweep and mop. Works to bring the vaccum home as well.

danyvega1990 commented 2 years ago

How did you get it to work? Mine keeps saying that it's an unknown model in HA

Dejv311 commented 2 years ago

@nautiqu3 Please bestow upon us your knowledge

Curiosity87 commented 2 years ago

@danyvega1990 @Dejv311

I have my vacuum configured to Thailands server. Since I live here. All my other Xiaomi products run on Chinese Mainland.
After configuring the vacuum to Mi App, I added it as a second account via Xiaomi MIOT Auto. Then it shows up with all the correct values in HA.

image

Hope it helps! :)

Dejv311 commented 2 years ago

Hi @nautiqu3, thank you for the feedback. Managed to integrate it thanks to your reply. There is just a little bug with the mopping profile being interpreted as the fan speed (even in the photo of yours). I started an issue on the MIOT integration - hopefully they will fix it.

escobarin3 commented 2 years ago

Hi @nautiqu3, thank you for the feedback. Managed to integrate it thanks to your reply. There is just a little bug with the mopping profile being interpreted as the fan speed (even in the photo of yours). I started an issue on the MIOT integration - hopefully they will fix it.

@nautiqu3 @Dejv311 How did you integrate it? Did you change location or what did you do? I'm still lost

Dejv311 commented 2 years ago

Hi, I used the Xiaomi Miot Auto HACS custom integration and then followed the UI based integration process (Integration tab in settings -> "+ add integration"). I used IP/token to integrate the device. You have to make an IP reservation for your Vacuum, so that the IP does not change. When searching for your token you have to choose a server, that is the closest to you (in my case it was Germany). You can find the token extractor here. I hope this helps a little.

escobarin3 commented 2 years ago

@Dejv311 Thanks. Problem solved. :)

escobarin3 commented 2 years ago

@Dejv311 Another question.. have you managed to use the map generated by the vacuum?

Dejv311 commented 2 years ago

@escobarin3 Not so far, the author is working hard on implementing it. The Vacuum Mop 2 is using entirely new data system since it is made by a completely different company than the previous Xiaomi vacuums. It will be ready soon.

brainrom commented 2 years ago

Also confirm, that it works. Using g1vacuum class. At least start and stop works.

rytilahti commented 2 years ago

When #1497 gets merged, it would probably be fairly easy to add support for this model, too.