Fri. Dec 2nd, 2022
Mini guide (update): integrate the Xiaomi vacuum robot in Jeedom - Home automation and home automation

the xiaomi vacuum robot is currently my favorite model: for a very affordable price (regularly around € 250), Offers excellent performance ! Even the lady adopted it, that is to say: The only thing missing was its integration into my home automation system, in this case Jeedom. Thanks to an update of the Xiaomi Home Plugin published this summer, it is now possible. Hallelujah!

We owe this excellent complement to Lunarok Y Sarakha, the latter having done a lot of reverse engineering to integrate most WiFi devices: the breathing machineof course, but also the air purifier (about which I will tell you very soon), theair humidifier, the air pollution sensor, the fan, the Philips Lamp, the Take wifi, the power strip, etc … Many thanks to them, because this offers immense possibilities, being the Xiaomi catalog relatively large.

The addition of most peripherals is done automatically, the plug-in detects in particular presence detectors, light bulbs, etc. The addition of the Xiaomi robot vacuum cleaner is, however, a bit more complex, because it requires a token, that is, a key user. I had previously explained a first method to them, which used a Sarakha utility, but is no longer valid today. So here is the updated method, which has the great advantage of not requiring the robot to be restarted. On the other hand, you will need to have an Android smartphone or tablet.

To get started, you will need install Xiaomi Home plugin (paying, € 6).

Then you will need a pc, with java properly installed on it. Y an android device, accompanied by a USB cable.

Finally, the software MiToolKit available in This address. Take, which is the compiled version.

xiaomi robot jeedom 3Unzip the zip file, you should get these files, with the executable identifiable by its orange MiToolKit icon:

xiaomi robot jeedom 4Now that you have everything you need, you have to do a little manipulation on the Android smartphone or tablet, in which the MiHome application that contains the robot vacuum cleaner is located, to pass it through what is called the “ADB” mode.

Therefore, you need to go to the phone settings, “Developer options” menu. Activate the option, then below, activate the option “USB debugging”. Connect your smartphone or tablet to computer via USB cable. The computer will recognize the smartphone (it may be necessary to install the necessary drivers on the computer). There, authorize the USB debugging on the smartphone, which will have detected the connection:

xiaomi robot jeedom 1Now on pc launch MiToolkit in administrator mode (right click on the program, run as administrator).

Do “Verbindung prufen” to detect the phone and version:

xiaomi robot jeedom 5Be careful, the program may not find Java, like home. You just have to indicate the path where Java is installed, through the dialog box that will open by itself.

My phone model is not correct as it is recognized as hero2 while it is a Samsung S7. But it’s not a big deal, it works 😉

Then you need to do “Token auslesen”, which will start Mihome on the smartphone and then start a backup of the application that will be sent to the PC. Above all, do not put a password.

xiaomi robot jeedom 2Once finished, a pop-up window warns you that it’s over (you have to be a little patient).

Then a window opens and shows all your tokens. That of the Xiaomi robot vacuum cleaner is easily identifiable:

xiaomi robot jeedom 7Copy it somewhere.

In the official Mi Home application, retrieve the IP address of the robot in the General Settings / Network Information menu:

screenshot 20170720 142343Now we have all the information. Then we can add the Xiaomi vacuum robot to Jeedom. On the plugin page, we ask to add new teams. In the drop-down list on the right, select “Robot Vacuum Cleaner”. Then we enter the IP address of the robot, then the token retrieved above. We give it a name, we place it in a room, and above all we activate it and make it visible.

robot vacuum cleaner xiaomi jeedom 1We registered: our robot vacuum cleaner now works under Jeedom! So we can find all the commands through a very complete widget:

It is real, because we have absolutely all the information and controls of the robot, starting, returning to the station, ringing the robot to find it, power control, and various information about the cleaning carried out, etc …

The Xiaomi robot can now, of course, be used in scenarios or interactions. One use that I especially appreciate is to start cleaning when we leave the house. For this I use the Modes plugin, which allows defining modes for the home (away, vacation, present, etc …). For each mode, you can define the actions to be carried out when the house enters or leaves this mode. Here, for example, Jeedom performs various actions when leaving the house, including launching the vacuum cleaner. So that the robot does not bother us and does its work calmly:

xiaomi jeedom 4 vacuum robotWhen you exit Away mode, instead, you ask the robot to return to its charging station, so you don’t have it on your feet: p

robot vacuum cleaner xiaomi jeedom 5So the home manages itself, with full transparency! You just have to remember to empty the dust bin from time to time 😉

We can also imagine using it in interactions, to control the robot through voice commands, by SMS, Slack, Telegram, etc …

xiaomi interactionsIn short, the integration is perfect! If Jeedom’s support was something that kept you from buying this robot, go for it! Especially since now it is around € 235 (with the code XIAOMIVAC). For my part, I’ll probably take a second, now that this home automation integration is possible 🙂

bottom robot xiaomi


This article was translated from this source written by


Leave a Reply

Your email address will not be published. Required fields are marked *