# \[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:** 2

<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 3, 2018, 7:40pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/24 "2018-09-03T19:40:24Z")

</div>

> [@Martin\_De\_Vries](#):
>
> Hallo,
> 
> Nu vraagt de Homey voor het koppelen het ip adres een token en een polling.  
> Ip adres check  
> Token die weet ik niet.  
> Polling die weet ik ook niet.
> 
> Wie kan mij helpen? Heb wel wat gelezen over de token. Maar wordt daar niet echt wijzer van. Graag in jip en Janneke taal.
> 
> Alvast bedankt

Please read the instructions in the app description. It’s all there in as much jip and janneke taal as possible. It’s also mentioned that you need some technical skills to use this app. As Xiaomi does not officialy support third party devices talking to the Xiaomi devices it’s not gonna get more user friendly than this I’m afraid.

---

<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 6, 2018, 12:08pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/25 "2018-09-06T12:08:25Z")

</div>

> ## v2.8.2 - 2018-09-05
> 
> - FIX: fixed bug with return to dock action card for Vacuum Cleaner
> - FIX: fixed where the Vacuum Cleaner always shows as charging even thought the battery is full
> - IMPROVEMENT: better error catching in polling mechanism for miio devices
> - UPDATE: removed support for Philips Eyecare since there is a bug in the miio library for this device (see [Philips Eyecare 2: this.setModes is not a function · Issue #145 · aholstenson/miio · GitHub](https://github.com/aholstenson/miio/issues/145))

---

<div class="post-metadata">

**Author:** ![Torrfura](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/torrfura/32/139_2.png) [@Torrfura](https://community.homey.app/u/Torrfura)\
**Post date:** [September 6, 2018, 3:37pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/26 "2018-09-06T15:37:03Z")

</div>

Roborock S50: Most functions work now (especially since todays release) but I still get “Could not complete call to service” on all commands. Is something wrong with my config or is this a known issue?

---

<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 6, 2018, 4:47pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/27 "2018-09-06T16:47:10Z")

</div>

> [@Torrfura](#):
>
> Roborock S50: Most functions work now (especially since todays release) but I still get “Could not complete call to service” on all commands. Is something wrong with my config or is this a known issue?

This is a known issue: [[Bug] Sometimes commands to miio device time out and need to be repeated · Issue #27 · jghaanstra/com.xiaomi-miio · GitHub](https://github.com/jghaanstra/com.xiaomi-miio/issues/27)

---

<div class="post-metadata">

**Author:** ![Jan\_Peeters](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jan_peeters/32/86660_2.png) [@Jan\_Peeters](https://community.homey.app/u/Jan_Peeters)\
**Post date:** [September 9, 2018, 9:22am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/28 "2018-09-09T09:22:37Z")

</div>

The app keeps on crashing; any possibility to do a downgrade?  
I have been searching to find the app.zip for the cli installation method, but cannot find the 2.8.0 anywhere.  
Any chance you would share this?  
Br,

---

<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 9, 2018, 10:22am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/29 "2018-09-09T10:22:24Z")

</div>

All releases can be found here: [https://github.com/jghaanstra/com.xiaomi-miio/releases](https://github.com/jghaanstra/com.xiaomi-miio/releases)

But please share some more info. Which devices are you using, are you trying to do something when it crashes and if it crashes do you see something about it in the log? And would you be willing to run a version with extra logging from command line. Just downgrading will get us nowhere.

---

<div class="post-metadata">

**Author:** ![Jan\_Peeters](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jan_peeters/32/86660_2.png) [@Jan\_Peeters](https://community.homey.app/u/Jan_Peeters)\
**Post date:** [September 9, 2018, 10:44am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/30 "2018-09-09T10:44:18Z")

</div>

Hi,  
I just did the downgrade and it works perfectly again.  
Basically, whenever I tried to connect to whatever Zigbee node, the app crashed.  
I did send you (??) a few crash dumps through my Homey.  
Br,

---

<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 9, 2018, 10:47am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/31 "2018-09-09T10:47:05Z")

</div>

> [@Jan\_Peeters](#):
>
> Hi,  
> I just did the downgrade and it works perfectly again.  
> Basically, whenever I tried to connect to whatever Zigbee node, the app crashed.  
> I did send you (??) a few crash dumps through my Homey.  
> Br,

But this app is for Xiaomi WiFi devices, nothing Zigbee related?!? I did recieve some crash logs though, I’m looking at them now but cant really explain what is going on. Do you have a gateway, a vacuum cleaner and a Yeelight?

---

<div class="post-metadata">

**Author:** ![Jan\_Peeters](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jan_peeters/32/86660_2.png) [@Jan\_Peeters](https://community.homey.app/u/Jan_Peeters)\
**Post date:** [September 9, 2018, 10:51am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/32 "2018-09-09T10:51:03Z")

</div>

🙂  
I ment of course: “WiFi-node”

I have two MiDesk lights, a robot cleaner and a gateway connected.

---

<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 9, 2018, 10:59am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/33 "2018-09-09T10:59:16Z")

</div>

> [@Jan\_Peeters](#):
>
> I ment of course: “WiFi-node”
> 
> I have two MiDesk lights, a robot cleaner and a gateway connected.

The crash logs look random and even in parts of the code that where not changed with version 2.8.2. Thusfar you also seem to be the only one having issues while 2.8.2 has been available for a couple of days. So I’m not sure where to look for causes. Could you try running version 2.8.2 from CLI and see if that spits out more information on what is going on.

---

<div class="post-metadata">

**Author:** ![Jan\_Peeters](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jan_peeters/32/86660_2.png) [@Jan\_Peeters](https://community.homey.app/u/Jan_Peeters)\
**Post date:** [September 9, 2018, 11:18am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/34 "2018-09-09T11:18:43Z")

</div>

> [@Jan\_Peeters](#):
>
> o MiDesk light

I’ll try this later.  
Does the 2.8.2 app, when installed through CLI, send more info in appcrash?  
Br,

---

<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 19, 2018, 11:00am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/35 "2018-09-19T11:00:53Z")

</div>

Since a couple of days the apps keeps crashing about once a day…  
dont know if it has to do with the updates of the app or the updates of Homey that came recently…  
others having issues as well?

---

<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 19, 2018, 11:34am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/36 "2018-09-19T11:34:44Z")

</div>

> [@mauritsivs](#):
>
> Since a couple of days the apps keeps crashing about once a day…  
> dont know if it has to do with the updates of the app or the updates of Homey that came recently…  
> others having issues as well?

Could you send the log from the apps page. And also let me know what devices you have.

---

<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 19, 2018, 2:41pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/37 "2018-09-19T14:41:13Z")

</div>

Log sent, (8aaad0f9-1167-41d5-b1a4-adb683438374)

at the moment i only use 5 xiaomi color lightbulbs

---

<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 19, 2018, 5:09pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/38 "2018-09-19T17:09:51Z")

</div>

> [@mauritsivs](#):
>
> Log sent, (8aaad0f9-1167-41d5-b1a4-adb683438374)
> 
> at the moment i only use 5 xiaomi color lightbulbs

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]`

---

<div class="post-metadata">

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

</div>

@Phuturist  
I’ve been having crashes on the app the past few months  
Not frequent but maybe every few weeks. Latest one yesterday…

Everything else seems fine and restarting the app works  
Says that crash logs are sent to the dev so are you able to take a look at all?  
Thanks

---

<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 20, 2018, 4:55am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/40 "2018-09-20T04:55:18Z")

</div>

> [@vaderag](#):
>
> Says that crash logs are sent to the dev so are you able to take a look at all?  
> Thanks

According to these crashlogs they are connection issues. These are not always handled correctly by either the miio library or my own wrapper. With release 2.8.3 I have made changes in my wrapper that hopefully reduce the errors but they wont be gone completely.

---

<div class="post-metadata">

**Author:** ![vaderag](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/vaderag/32/150_2.png) [@vaderag](https://community.homey.app/u/vaderag)\
**Post date:** [September 20, 2018, 6:47am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/41 "2018-09-20T06:47:31Z")

</div>

Thanks for checking.  
That makes sense in at least the latest case, as my router decided to go into a self diagnosis mode for some reason

I did run round and ‘reset’ all the lights afterwards and worked okay with Alexa after that… It wasn’t actually til the day after that I noticed the app has crashed

Would be great if (I guess inevitable occasional) loss of WiFi didn’t crash the app

Out of interest, is it loss of INTERNET or loss of WiFi that causes the issue? I might be able to reduce the issues by moving the bulbs to my WiFi extension network instead…

---

<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 20, 2018, 8:36am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/42 "2018-09-20T08:36:54Z")

</div>

> [@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.

---

<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 20, 2018, 5:47pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/43 "2018-09-20T17:47:38Z")

</div>

> [@vaderag](#):
>
> Out of interest, is it loss of INTERNET or loss of WiFi that causes the issue? I might be able to reduce the issues by moving the bulbs to my WiFi extension network instead…

The connection between Homey and a WiFi miio device is on the local network (LAN). It would still work if your router has disconnected from your provider but the WiFi and LAN are still operational. If WiFi is down than Homey wont be able to reach any miio device resulting in a disconnect (and in some cases a crash of the app).

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

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