Xiaomi Robot Vacuum Binding

Where can i get older versions of the binding?

Found it: https://openhab.jfrog.io/openhab/libs-pullrequest-local/org/openhab/binding/org.openhab.binding.miio/

Version 2.2.0.201712142121 ist working again

You indeed the last build based on 2.2 there. Outside of that, you can always check out older versions and compile yourself.

Having said that, out is very strange, as almost no significant changes have been applied since December, mostly database updates.

What specific issue you encounter?

My problem was that my vacuum wasn’t reacting on any command, without any errors in the logs. In th paper ui in openhab the status was ‘online’.

Thanks again for that great binding. I now get to work my phillips eyecare lamp 2 and my new vacuum :grinning:

I updated to latest Mi Home and latest Mi firmware as this enables zone cleaning also in my v1 vacuum. However, now I lost control of the cleaner in openhab. Is there any way to use openhab even with latest firmware, e.g, without going back to 5.0.19?

i had a working wifi plug which ai lost contact with. It still worked in the mi home app, the only thing out of place i noticed was the IP address had changed. I have removed it and readded it in the mi home app and also removed from OH. It is no longer discovered - anyone have any ideas?

Also wondering if the token issue people are seeing in Android is a probelm for IOS users?

OK answered it myself - no longer autodiscover but chucked in the IP address and the token (from the IOS app still) and it worked

Ok answered it myself…I made a backup of the token and deleted the cleaner in OpenHAB. Then, I tried to discover the cleaner, found it and inserted the saved token. Voila, cleaner available in OpenHAB again.

I have a yeelight light strip rgb. It is wokring with this binding.

Can i disbale internet access for this inside my router (so only lan connection is possible) or will this light strip stop working after that?

I can see many connections to xiaomi servers.

The first version of the vacuum cleaner supports zone cleaning since a couple of days. Any plans to extend the binding accordningly?

Here is a discussion for ioBroker (in German): https://forum.iobroker.net/viewtopic.php?p=138421

Yes, probably at some point when the coordinate stuff is better understood.
Note that you can obviously already use the command using the command channel

You talk about this? https://github.com/marcelrv/XiaomiRobotVacuumProtocol/blob/master/app_zoned_clean.md

Do you have an example how to execute such a command?

Ah, seems to be miio:vacuum:{thingId}:actions#commands

yes, indeed… might need bit of experimenting with the exact format.
based on the stuff I’ve seen I expect you need to send like app_zoned_clean[[26234,26042,27284,26642,2]]

What is the status of this issue (the threading issue Xiaomi Robot Vacuum Binding) ? Is this being tracked in an issue somewhere.

I’d like to help if its not been fixed.

Thanks

It’s fixed in the latest version of the binding.

See discussion here and commit here

super. great work.

Yes, it is fixed, thanks to @mhilbush!

I got a new vacuum (version 1) and want to connect it to OH2 without going to the cloud, but I struggle to get the token.

My computer is connected to my ‘normal’ network via LAN to have access to OH2 and to the vacuum via WiFi. The binding is installed.

When I start the recovery, no vacuum is found by OH2.

What is my mistake?!

Thanks for help!

@Budo possibly try to ping your robot to ensure you have good connectivity to it.

note that getting the vacuum to work without cloud access is still somewhat tricky.
check out https://github.com/dgiese/dustcloud.git
It has an alternative cloud implementation. You would need to root your device for it, and it is still quite alpha status