# \[APP\]\[Pro\] Xiaomi Mi Home App

**URL:** <https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118>\
**Category:** Apps\
**Tags:** app, homey-pro\
**Created:** [August 22, 2018, 11:14am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118 "2018-08-22T11:14:52Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![COP](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/cop/32/941_2.png) [@COP](https://community.homey.app/u/COP)\
**Post date:** [September 24, 2018, 4:11pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/44 "2018-09-24T16:11:00Z")

</div>

After update v2.8.2 the roborock vacuum worked fine but when updated to v.2.8.3 it doesnt work anymore.  
I saw that there was an issue opened but closed about this. Should I open a new issue? Robot won’t accept commands for most of the time.

Can I downgrade?

---

<div class="post-metadata">

**Author:** ![Phuturist](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phuturist/32/49_2.png) [@Phuturist](https://community.homey.app/u/Phuturist)\
**Post date:** [September 24, 2018, 4:51pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/45 "2018-09-24T16:51:16Z")

</div>

> [@COP](#):
>
> After update v2.8.2 the roborock vacuum worked fine but when updated to v.2.8.3 it doesnt work anymore.  
> I saw that there was an issue opened but closed about this. Should I open a new issue? Robot won’t accept commands for most of the time.
> 
> Can I downgrade?

Please stop posting issues both in the support thread and on Github. You can downgrade using a CLI install and the releases found here: [Releases · jghaanstra/com.xiaomi-miio · GitHub](https://github.com/jghaanstra/com.xiaomi-miio/releases)

---

<div class="post-metadata">

**Author:** ![COP](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/cop/32/941_2.png) [@COP](https://community.homey.app/u/COP)\
**Post date:** [September 24, 2018, 5:31pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/46 "2018-09-24T17:31:38Z")

</div>

Sorry about that. Deleted the app and CLI-installed v2.8.2, works fine again. Thanks!

---

<div class="post-metadata">

**Author:** ![mauritsivs](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mauritsivs/32/17688_2.png) [@mauritsivs](https://community.homey.app/u/mauritsivs)\
**Post date:** [September 25, 2018, 9:37am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/47 "2018-09-25T09:37:15Z")

</div>

> [@mauritsivs](#):
>
> > [@Phuturist](#):
> >
> > According to this log there is an issue connecting with a Xiaomi power plug. Have you added this device as well?
> > 
> > `2018-09-19 16:35:55 [log] [ManagerDrivers] [mi-power-plug] [0] { Error: Could not connect to device, handshake timeout at Timeout.handshakeTimeout.setTimeout [as _onTimeout]`
> 
> yes, i have a powerplug set as device as well, but havent connected it for a long time, the crashes started only recently, but i’ll remove the device, to see if it helps.

SO it seems that the powerplug not being available was the problem, havent had any crashes since removing it.  
But this problem didn’t exist before your recent updates to the app. Hope you can resolve it someday…  
thanks for the help!

---

<div class="post-metadata">

**Author:** ![Geurti](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/geurti/32/8560_2.png) [@Geurti](https://community.homey.app/u/Geurti)\
**Post date:** [September 25, 2018, 8:51pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/48 "2018-09-25T20:51:29Z")

</div>

Hi Phuturist,  
Is there already some news about the Ceiling Light?  
Setting the lowest possible setting in moonlight colors isn’t possible yet.

---

<div class="post-metadata">

**Author:** ![Phuturist](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phuturist/32/49_2.png) [@Phuturist](https://community.homey.app/u/Phuturist)\
**Post date:** [September 25, 2018, 9:09pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/49 "2018-09-25T21:09:21Z")

</div>

> [@Geurti](#):
>
> Hi Phuturist,  
> Is there already some news about the Ceiling Light?  
> Setting the lowest possible setting in moonlight colors isn’t possible yet.

Could you explain what you are doing to actually set the lowest dim in nightmode. I cant really find anything in the code that would prevent this. I have checked with the contributer from parts of this code and he had no clue as well. He thought you may not have actually turned on nightmode when trying to set it to the minimal dim. Are you using the special send command card to achieve this with a command similar as below

```
{"id":1,"method":"set_power","params":["on", "smooth", 500, 5]}

```

When you have used this command it goes into nightmode and you can set the dim to 1% with the change dim action card for the minimal dim value. Perhaps I should create an action card for this, that would be a bit more user friendly. 🤔

---

<div class="post-metadata">

**Author:** ![Geurti](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/geurti/32/8560_2.png) [@Geurti](https://community.homey.app/u/Geurti)\
**Post date:** [September 26, 2018, 8:05pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/50 "2018-09-26T20:05:22Z")

</div>

![Ceiling%202%20minutes](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/0/0af58f802ff3c0129c3c9e1ab836b3762ce55a18.jpeg) ![Ceiling%20Brightness%201%20procent](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/a/a839d2a7a9d4bc37fa5e048bcb7440c8e4af40bc.jpeg) ![Ceiling%20Behoud%20Staat](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/5/519bb06fbb97b2387fe1bb382d1cb76b59318bc7.jpeg) ![Ceiling%201700%20Kelvin](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/4/45d252cba96f575e51c6a99fe2f953ea5aa3089b.jpeg)  
It’s quite hard to explain how and what I did so I took some screen shots. The third light from top is my ceiling light.  
Is it perhaps not correct how I turn off the ceiling light? For the bulbs this way works fine.  
After you shared the code I tried it and for the brightness it works, only the counter is too fast.  
Perhaps you also know how to change the timer or where I can find the manual for this light.

Edit: When I say now “Good Night” the Ceiling goes to moonlight and nearly 1%. On the end of the flow it goes back to bright light. To be clear, I want it moonlight 1% all night long.

---

<div class="post-metadata">

**Author:** ![Tormod](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tormod/32/7167_2.png) [@Tormod](https://community.homey.app/u/Tormod)\
**Post date:** [September 26, 2018, 9:18pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/51 "2018-09-26T21:18:09Z")

</div>

Not my meaning to steal this thread, please advice if it has been posted elsewhere. But I have a Roborock v2 and I can’t find a way to retrieve the token from it. I have tried several guides and also MiToolkit v1.6. Among others this guide [https://github.com/…/com.x…/blob/master/docs/obtain\_token.md](https://github.com/%E2%80%A6/com.x%E2%80%A6/blob/master/docs/obtain_token.md)

I can only retrieve a file that is 1kb large. It does not contain anything interesting. Any help or pointers would be great!

---

<div class="post-metadata">

**Author:** ![Phuturist](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phuturist/32/49_2.png) [@Phuturist](https://community.homey.app/u/Phuturist)\
**Post date:** [September 27, 2018, 6:25pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/52 "2018-09-27T18:25:17Z")

</div>

> [@Geurti](#):
>
> After you shared the code I tried it and for the brightness it works, only the counter is too fast.  
> Perhaps you also know how to change the timer or where I can find the manual for this light.
> 
> Edit: When I say now “Good Night” the Ceiling goes to moonlight and nearly 1%. On the end of the flow it goes back to bright light. To be clear, I want it moonlight 1% all night long.

That it goes back to bright after the “change brightness over time” card timer has completed seems to be a bug in the Yeelight API (have not tested that myself). If you set it to keep the state it should not switch back to bright light.

I’m not sure how to achieve what you want, best is to look into the API description yourself and use the send command card. It’s pretty well documented: [https://www.yeelight.com/download/Yeelight\_Inter-Operation\_Spec.pdf](https://www.yeelight.com/download/Yeelight_Inter-Operation_Spec.pdf)

---

<div class="post-metadata">

**Author:** ![Phuturist](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phuturist/32/49_2.png) [@Phuturist](https://community.homey.app/u/Phuturist)\
**Post date:** [September 27, 2018, 6:27pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/53 "2018-09-27T18:27:18Z")

</div>

> [@Tormod](#):
>
> I can only retrieve a file that is 1kb large. It does not contain anything interesting. Any help or pointers would be great!

Have you followed the tutorial by the letter including running an older version of the Mi Home app since the latest versions dont include the tokens anymore.

Here is additional information on how to retrieve the token: [Xiaomi Miio - Home Assistant](https://www.home-assistant.io/components/vacuum.xiaomi_miio/#retrieving-the-access-token)

---

<div class="post-metadata">

**Author:** ![Tormod](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tormod/32/7167_2.png) [@Tormod](https://community.homey.app/u/Tormod)\
**Post date:** [September 28, 2018, 6:03am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/54 "2018-09-28T06:03:02Z")

</div>

Yes I did follow this one:

> [@Phuturist](#):
>
> > [@Tormod](#):
> >
> > I can only retrieve a file that is 1kb large. It does not contain anything interesting. Any help or pointers would be great!
> 
> Have you followed the tutorial by the letter including running an older version of the Mi Home app since the latest versions dont include the tokens anymore.
> 
> Here is additional information on how to retrieve the token: [Xiaomi Home - Home Assistant](https://www.home-assistant.io/components/vacuum.xiaomi_miio/#retrieving-the-access-token)

#### Windows and Android

To fetch the token follow these instructions depending on your mobile phone platform.

1. Configure the robot with the Mi-Home app.
2. Download and extract the [MiToolKit.zip](https://github.com/ultrara1n/MiToolkit/releases).
3. Enable developer mode and USB debugging on the Android phone and plug it into the computer.
4. Change the MiToolKit language to English if you need to.
5. Click “Extract Token”
6. On the phone, you must confirm the backup. DO NOT enter any password and press the button to make the backup.
7. Once you have confirmed the backup the token extraction will begin, it should appear in the MiToolKit shortly.

Now while retriviing with the MiToolKit I do get the error: “unhandled exception”. I still extracts the file, but it is only 1kb large. I used my old Samsung Note 2 for this. Only thing I am uncertain of is: “1. Configure the robot with the Mi-Home app.”

I mean I had already configured the robot on my Samsung S9 and the newest Mi Home App, but I did try even starting the robot with the Note 2 before I tried retrieveing the token so I am quite uncertain as to if I needed to reboot the robot before configuring with Note 2 or what?

---

<div class="post-metadata">

**Author:** ![Phuturist](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phuturist/32/49_2.png) [@Phuturist](https://community.homey.app/u/Phuturist)\
**Post date:** [September 28, 2018, 2:43pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/55 "2018-09-28T14:43:47Z")

</div>

> [@Tormod](#):
>
> I mean I had already configured the robot on my Samsung S9 and the newest Mi Home App, but I did try even starting the robot with the Note 2 before I tried retrieveing the token so I am quite uncertain as to if I needed to reboot the robot before configuring with Note 2 or what?

I have no experience with this toolkit. I would just install an older version of the mi home app and reinstall the robot. Then extract the token from this as described in the instructions. Everything I know is in there, so I can’t really help you any further.

---

<div class="post-metadata">

**Author:** ![Marcel\_Visser](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marcel_visser/32/66024_2.png) [@Marcel\_Visser](https://community.homey.app/u/Marcel_Visser)\
**Post date:** [October 2, 2018, 12:40pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/56 "2018-10-02T12:40:00Z")

</div>

Hi guys,

I’m considering buying a new Xiaomi vacuum cleaner 2 S50 2018 model.

I like to know if I’m able to control it using with homey AND using it with the original app…

Do I need to choose? Or can it be connected with both of them at the same time…

---

<div class="post-metadata">

**Author:** ![Phuturist](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phuturist/32/49_2.png) [@Phuturist](https://community.homey.app/u/Phuturist)\
**Post date:** [October 2, 2018, 2:58pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/57 "2018-10-02T14:58:28Z")

</div>

> [@Marcel\_Visser](#):
>
> Do I need to choose? Or can it be connected with both of them at the same time…

It can be controlled by Homey and the Mi Home app at the same time.

---

<div class="post-metadata">

**Author:** ![Marcel\_Visser](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marcel_visser/32/66024_2.png) [@Marcel\_Visser](https://community.homey.app/u/Marcel_Visser)\
**Post date:** [October 2, 2018, 3:22pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/58 "2018-10-02T15:22:33Z")

</div>

> [@Phuturist](#):
>
> It can be controlled by Homey and the Mi Home app at the same time.

Tanks! And the last question; After I have downgraded the Android app in order to check the token of the vacuum cleaner. Can I update again to the newest version? And do I need to pair the device every time the firmware of the cleaner has been updated?

---

<div class="post-metadata">

**Author:** ![Phuturist](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phuturist/32/49_2.png) [@Phuturist](https://community.homey.app/u/Phuturist)\
**Post date:** [October 2, 2018, 4:55pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/59 "2018-10-02T16:55:55Z")

</div>

> [@Marcel\_Visser](#):
>
> Tanks! And the last question; After I have downgraded the Android app in order to check the token of the vacuum cleaner. Can I update again to the newest version? And do I need to pair the device every time the firmware of the cleaner has been updated?

You can upgrade the app again without issues. Your device will be saved in the Xiaomi cloud. And no, you only need to retrieve the token again when you reset the device. Upgrading the firmware will not change the token.

---

<div class="post-metadata">

**Author:** ![Marcel\_Visser](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marcel_visser/32/66024_2.png) [@Marcel\_Visser](https://community.homey.app/u/Marcel_Visser)\
**Post date:** [October 2, 2018, 7:56pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/60 "2018-10-02T19:56:42Z")

</div>

Allright thanks a lot! Ordered myself a brand new vacuum cleaner. I hope it will arrive soon. YIHAAAAAAA!

---

<div class="post-metadata">

**Author:** ![djesko](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/djesko/32/7611_2.png) [@djesko](https://community.homey.app/u/djesko)\
**Post date:** [October 3, 2018, 5:57pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/61 "2018-10-03T17:57:04Z")

</div>

There is an alternative app for Android, developed by a german guy nicknamed “Flole” ([https://xiaomi.flole.de/](https://xiaomi.flole.de/)). The app is generally german, but it can be switched to english via “Einstellungen-\>Use English as Language”.

Once you are connected to your vacuum you can select “Map”, “Zoned cleanup” and draw your desired zone like in the original Xiaomi app.

If you then long press on “Cleanup” it will copy the respective parameters (for example [[21459,23801,25009,24301,2]]) to your clipboard.

found it on hass forum

---

<div class="post-metadata">

**Author:** ![Geurti](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/geurti/32/8560_2.png) [@Geurti](https://community.homey.app/u/Geurti)\
**Post date:** [October 3, 2018, 8:57pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/62 "2018-10-03T20:57:51Z")

</div>

@PhuturistI bought myself two new Yeelight smart Led’s v2 (10 Watt, 800 Lumen)  
They work fine unless the options “Wijzig helderheid over tijd” and “Aangepast commando Verstuur commando (geavanceerd)” for turning on the lights don’t work. Turn off the light’s with these options are working.  
Perhaps it might be interesting for you.

---

<div class="post-metadata">

**Author:** ![Theo\_Deckers](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/theo_deckers/32/11443_2.png) [@Theo\_Deckers](https://community.homey.app/u/Theo_Deckers)\
**Post date:** [October 11, 2018, 6:02am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/63 "2018-10-11T06:02:17Z")

</div>

Finally got my **white** LED strip working with the iBox 2 controller and Mi Light FUT036 Single Dimmer LED Controller.  
It paired without problems with Homey, but there was just no reaction when I switched the Mi Light White Bulb in Homey on or off or changed the dim level.  
I was really puzzled as I read that other people had it working, but when I started to add it as other MiLight bulbs instead of the White Bulb as an experiment I found that with the RGBW bulb it DOES work.  
Now looking back at the description of the FUT036 controller, although it is single color, I noticed the RGBW in the name, so after all it makes sense ☹

[Previous page](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118.md?page=2)

[Next page](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118.md?page=4)
