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

<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:** [January 30, 2019, 6:10pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/186 "2019-01-30T18:10:26Z")

</div>

That is indeed a know issue I can not solve: [https://github.com/jghaanstra/com.xiaomi-miio/issues/27](https://github.com/jghaanstra/com.xiaomi-miio/issues/27)

---

<div class="post-metadata">

**Author:** ![Edgar\_Jackson](https://avatars.discourse-cdn.com/v4/letter/e/a9adbd/32.png) [@Edgar\_Jackson](https://community.homey.app/u/Edgar_Jackson)\
**Post date:** [January 31, 2019, 8:33am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/187 "2019-01-31T08:33:06Z")

</div>

Thank you very much, I also connected a robot [vacuum](https://robotbox.net/dyson-v8-vs-v10-comparison-review/) cleaner.

---

<div class="post-metadata">

**Author:** ![Yianni](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/yianni/32/9675_2.png) [@Yianni](https://community.homey.app/u/Yianni)\
**Post date:** [February 5, 2019, 1:34pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/188 "2019-02-05T13:34:14Z")

</div>

Hi, thanks for the great work on this app.

I have a color yeelight bulb and I’m trying to figure out how to set it to some shade of white through a flow. From devices I see a ‘sun’ wheel that I can use and it lights up in warm-cool white noticeably brighter than selecting a color. But I can’t figure out how to do that from a flow if previously it was set to a color. Anyone have an idea ?

---

<div class="post-metadata">

**Author:** ![Yianni](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/yianni/32/9675_2.png) [@Yianni](https://community.homey.app/u/Yianni)\
**Post date:** [February 5, 2019, 5:59pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/189 "2019-02-05T17:59:20Z")

</div>

I think I figured it out! I need to set the temperature together with brightness. Somehow temperature on its own wasn’t working.

---

<div class="post-metadata">

**Author:** ![Ruskie](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ruskie/32/13911_2.png) [@Ruskie](https://community.homey.app/u/Ruskie)\
**Post date:** [February 6, 2019, 2:17pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/190 "2019-02-06T14:17:44Z")

</div>

Hi, having trouble adding Xiaomi Mi Evaporative Humidifiers (square ones, is this v2?)

My Philips Zhirui Candle Lights work great, so I know the app to be working fine.

Here’s the procedure I used:

Reset device  
Connect to its wifi  
Get the tokens by using the “miio discover” command.  
Pair humidifiers with the Mi App - mo errors.

Both humidifiers are on “static” reserved DHCP addresses (by MAC address, confirmed, pingable)

But I can’t then for the life of me add the humidifiers, getting these errors when tapping Test Connection:  
“Could not find that PairSession”  
“Could not connect to device, token might be wrong”

I did this twice, resetting the devices and getting new tokens, but still.

Anything I should look at?

Thanks

---

<div class="post-metadata">

**Author:** ![Morten\_Skandshus](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/morten_skandshus/32/5807_2.png) [@Morten\_Skandshus](https://community.homey.app/u/Morten_Skandshus)\
**Post date:** [February 7, 2019, 11:39pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/191 "2019-02-07T23:39:49Z")

</div>

Just had 1 Yeelight crashing so it didnt connect to wifi at all.

i had to reset it.  
once i did that. I added it to my google home and my alexa, and next up is the Athom Homey.  
But when i tried to add it, through the homey app it keeps saying “searching for devices” and then oing “no new devices have been found”

is anybody else seeing this?

---

<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:** [February 8, 2019, 5:46am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/192 "2019-02-08T05:46:03Z")

</div>

> [@Morten\_Skandshus](#):
>
> is anybody else seeing this?

Restart the Xiaomi Mi Home app on Homey and make sure you have enabled the developer or LAN mode for the yeelight. Then try again.

---

<div class="post-metadata">

**Author:** ![Morten\_Skandshus](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/morten_skandshus/32/5807_2.png) [@Morten\_Skandshus](https://community.homey.app/u/Morten_Skandshus)\
**Post date:** [February 8, 2019, 8:38am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/193 "2019-02-08T08:38:59Z")

</div>

Thanks for the response… lan control /developer mode is already active, and restarting the app doesn’t work  
Neither does disabling and re enabling

---

<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:** [February 8, 2019, 5:28pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/194 "2019-02-08T17:28:52Z")

</div>

> [@Morten\_Skandshus](#):
>
> Thanks for the response… lan control /developer mode is already active, and restarting the app doesn’t work  
> Neither does disabling and re enabling

Are you sure you have removed the old device from Homey? If it detects that the device has been added already it wont show up in the pairing wizard (since it’s already added).

---

<div class="post-metadata">

**Author:** ![Morten\_Skandshus](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/morten_skandshus/32/5807_2.png) [@Morten\_Skandshus](https://community.homey.app/u/Morten_Skandshus)\
**Post date:** [February 8, 2019, 5:49pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/195 "2019-02-08T17:49:32Z")

</div>

Unfortunately yes… ☹

Removed device from homey… and removed device from the Yeelight app.

added it again in the yeelight. Turned on LAN control and went to homey. restartet the app. and tried adding it.

No luck ☹

hoping there are other’s in here who might have a yeelight who dare to remove it and reset the buld to factory and try to re add it 🙂

---

<div class="post-metadata">

**Author:** ![Ruskie](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ruskie/32/13911_2.png) [@Ruskie](https://community.homey.app/u/Ruskie)\
**Post date:** [February 9, 2019, 12:45am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/196 "2019-02-09T00:45:34Z")

</div>

FIXED

miio discover

cli method was simply giving incorrect tokens.

iPhone Backup Viewer method revealed correct ones so both Humidifiers are connected.

[Instructions for iOS users here](https://github.com/rytilahti/python-miio/commit/e500982bfcdfda814837f17c00e1481847dbd25b)

PS Could you kindly update the icon for version 2 humidifier (the square one) - you have it right on the App home page, but when adding, and once added, the icon is for the round v2. Would make it a but neater-looking.

---

<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:** [February 9, 2019, 6:39am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/197 "2019-02-09T06:39:34Z")

</div>

> [@Ruskie](#):
>
> PS Could you kindly update the icon for version 2 humidifier (the square one) - you have it right on the App home page, but when adding, and once added, the icon is for the round v2. Would make it a but neater-looking.

This is already pending in the app store for some days. It’s awaiting the approval by Athom.

---

<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:** [February 11, 2019, 11:52am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/198 "2019-02-11T11:52:43Z")

</div>

> ## v2.11.0 - 2019-02-07
> 
> - FIX: improvements to pairing templates for firmware 2.x
> - FIX: code refactoring in drivers (replace callbacks with promises)

---

<div class="post-metadata">

**Author:** ![Jason\_Tan](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jason_tan/32/12456_2.png) [@Jason\_Tan](https://community.homey.app/u/Jason_Tan)\
**Post date:** [February 12, 2019, 6:38am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/199 "2019-02-12T06:38:57Z")

</div>

Hi, im trying to connect xiaomi Philip downlight but it keep saying could not connect to device, handshake timeout. I have the correct token and ip address. how can I recolve this?

is it possible to connect the downlight to the router? I found out that once the device connected to remote connection, I will have the above problem.

---

<div class="post-metadata">

**Author:** ![Ruskie](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ruskie/32/13911_2.png) [@Ruskie](https://community.homey.app/u/Ruskie)\
**Post date:** [February 15, 2019, 4:24pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/200 "2019-02-15T16:24:12Z")

</div>

Any chance the new Xiaomi Mijia / Yeelight Bedside Lamp 2 can be controlled with this app? The one that’s Homekit-compatible (can be paired with Homekit directly or, with more functions, controlled with the Mi Home app)?

Thank you

---

<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:** [February 15, 2019, 5:55pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/201 "2019-02-15T17:55:17Z")

</div>

> [@Ruskie](#):
>
> Any chance the new Xiaomi Mijia / Yeelight Bedside Lamp 2 can be controlled with this app? The one that’s Homekit-compatible (can be paired with Homekit directly or, with more functions, controlled with the Mi Home app)?
> 
> Thank you

All Yeelights use the same protocol. I might have to make a small update for this model to be recognized but that will not be a problem. So yes.

---

<div class="post-metadata">

**Author:** ![Ruskie](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ruskie/32/13911_2.png) [@Ruskie](https://community.homey.app/u/Ruskie)\
**Post date:** [February 15, 2019, 9:08pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/202 "2019-02-15T21:08:30Z")

</div>

And thank you again

---

<div class="post-metadata">

**Author:** ![Morten\_Skandshus](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/morten_skandshus/32/5807_2.png) [@Morten\_Skandshus](https://community.homey.app/u/Morten_Skandshus)\
**Post date:** [February 16, 2019, 2:01am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/203 "2019-02-16T02:01:16Z")

</div>

Are you able to add yeelight again if you remove a device?! I’m still not able to add…

---

<div class="post-metadata">

**Author:** ![Corvum](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/corvum/32/13168_2.png) [@Corvum](https://community.homey.app/u/Corvum)\
**Post date:** [February 20, 2019, 7:41pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/204 "2019-02-20T19:41:22Z")

</div>

Hi all, thanks for you work!  
I have couple questions:

1. I have been trying to connect to Mi Gateway (v3) via Homey and had no luck. I’ve used correct token and ip address (I am sure because I’ve got success with this ip address and token via Domoticz and Raspberry Pi). Could somebody clarify what I am doing wrong?
2. Are you going to add support of Xiaomi Ir Remote Control?

---

<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:** [February 20, 2019, 8:18pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/205 "2019-02-20T20:18:44Z")

</div>

> [@Corvum](#):
>
> - I have been trying to connect to Mi Gateway (v3) via Homey and had no luck. I’ve used correct token and ip address (I am sure because I’ve got success with this ip address and token via Domoticz and Raspberry Pi). Could somebody clarify what I am doing wrong?
> - Are you going to add support of Xiaomi Ir Remote Control?

1. Don’t know, it should work. What is the error you see when you try to pair it.
2. Nope, the miio library which I use has no support for this and I dont own this device myself so I would also not be able to integrate it with Homey. You could start by chipping in here but the author of the miio library does not seem to support the library anymore: [New device MI IR REMOTE · Issue #67 · aholstenson/miio · GitHub](https://github.com/aholstenson/miio/issues/67)

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

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