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

<div class="post-metadata">

**Author:** ![Satoer](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/satoer/32/38113_2.png) [@Satoer](https://community.homey.app/u/Satoer)\
**Post date:** [May 25, 2024, 12:46pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1666 "2024-05-25T12:46:57Z")

</div>

Thanks for looking into it @Phuturist 😃  
Report:  
`82648baa-b80e-4880-b5f1-d6135edf5435`

---

<div class="post-metadata">

**Author:** ![Mariomark1541](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mariomark1541/32/178160_2.png) [@Mariomark1541](https://community.homey.app/u/Mariomark1541)\
**Post date:** [May 31, 2024, 11:42am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1667 "2024-05-31T11:42:20Z")

</div>

How can I clean different rooms with a flow ?

---

<div class="post-metadata">

**Author:** ![Eduardo\_Rodriguez](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/eduardo_rodriguez/32/1902_2.png) [@Eduardo\_Rodriguez](https://community.homey.app/u/Eduardo_Rodriguez)\
**Post date:** [June 8, 2024, 10:46pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1668 "2024-06-08T22:46:08Z")

</div>

Hello all!

I have a problem, suddenly all my zigbee devices associated with my 3 gateways have stopped working on homey. In the xiaomi home app and home assistant they work perfectly. I have tried everything imaginable, restarting homey, reinstalling the Mi Home app… but I can’t get my devices to appear. I manage to add the 3 gateways with mac and pass and IP and token, but I can’t add the sensors, it doesn’t find any.

Has this happened to anyone else and managed to solve it?

---

<div class="post-metadata">

**Author:** ![Eduardo\_Rodriguez](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/eduardo_rodriguez/32/1902_2.png) [@Eduardo\_Rodriguez](https://community.homey.app/u/Eduardo_Rodriguez)\
**Post date:** [June 11, 2024, 8:04am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1669 "2024-06-11T08:04:26Z")

</div>

@Phuturist Any ideas? My house is not working!! 🤣

 ![Screenshot_2024-06-11-09-54-11-300_app.homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/c/8c48c4994413c7895871317783b7e9400502fe0f.jpeg)  
 ![Screenshot_2024-06-11-09-54-15-414_app.homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/4/04e68f04e89d5d7ebb1ebd06a4f6fda3e34b95e6.jpeg)

---

<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:** [June 11, 2024, 9:47am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1670 "2024-06-11T09:47:10Z")

</div>

> [@Eduardo\_Rodriguez](#):
>
> Any ideas? My house is not working!!

Nope. The ZigBee gateway and sub devices functionality of the Xiaomi app wasn’t developed by me. I have little knowledge on how it works. The library that is used for this functionally isn’t being maintained for years now as well. This whole part of the app is supplied as is

Having said that, nothing changed either and I don’t see other users with this issue. So I guess it still works. Are Homey and the gateways on the same LAN?

---

<div class="post-metadata">

**Author:** ![Eduardo\_Rodriguez](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/eduardo_rodriguez/32/1902_2.png) [@Eduardo\_Rodriguez](https://community.homey.app/u/Eduardo_Rodriguez)\
**Post date:** [June 11, 2024, 10:26am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1671 "2024-06-11T10:26:50Z")

</div>

> [@Phuturist](#):
>
> Having said that, nothing changed either and I don’t see other users with this issue. So I guess it still works. Are Homey and the gateways on the same LAN?

Homey and all iot devices are on the same network and the same access point. I can add the gateways and interact with them (Turn on led, sound…), but it cannot find any of the zigbee devices added to the gateways (about 37).

I recently changed the access point from a ubiquiti U AC Pro to a U7 Pro, but after this it worked for a few days.

---

<div class="post-metadata">

**Author:** ![Satoer](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/satoer/32/38113_2.png) [@Satoer](https://community.homey.app/u/Satoer)\
**Post date:** [June 12, 2024, 2:05pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1672 "2024-06-12T14:05:18Z")

</div>

Any idea what’s wrong @Phuturist? The Xiaomi Smart Air Purifier 4 Compact constantly jumps between these two screen since the installation:  
 ![afbeelding](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/8/c8c7c78be79429729b87d434f24a2a808ba4be34.png)

![afbeelding](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/d/bd9fb591040879244dfbfa673b015236d624ca92.png)  
Mostly staying on this schreen ⬆  
keeps giving error: “Cannot read properties of undefined (reading ‘toString’)”

Looks like its is trying to read data that does nog exists?  
(Report: `82648baa-b80e-4880-b5f1-d6135edf5435` )

---

<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:** [June 12, 2024, 4:27pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1673 "2024-06-12T16:27:36Z")

</div>

> [@Satoer](#):
>
> Looks like its is trying to read data that does nog exists?  
> (Report: `82648baa-b80e-4880-b5f1-d6135edf5435` )

I did not receive this diagnostic report, could you send another.

---

<div class="post-metadata">

**Author:** ![Satoer](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/satoer/32/38113_2.png) [@Satoer](https://community.homey.app/u/Satoer)\
**Post date:** [June 12, 2024, 7:01pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1674 "2024-06-12T19:01:01Z")

</div>

Does this one work?:  
`2be79b67-5ce2-4b95-ae30-b9865aee4b72`

---

<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:** [June 12, 2024, 7:07pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1675 "2024-06-12T19:07:09Z")

</div>

Turns out I already fixed that issue locally. Havent found to time to publish it though.

---

<div class="post-metadata">

**Author:** ![Satoer](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/satoer/32/38113_2.png) [@Satoer](https://community.homey.app/u/Satoer)\
**Post date:** [June 12, 2024, 7:32pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1676 "2024-06-12T19:32:48Z")

</div>

Awesome! I shall wait for the update 🙂 👍

---

<div class="post-metadata">

**Author:** ![Eduardo\_Rodriguez](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/eduardo_rodriguez/32/1902_2.png) [@Eduardo\_Rodriguez](https://community.homey.app/u/Eduardo_Rodriguez)\
**Post date:** [June 18, 2024, 9:04am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1677 "2024-06-18T09:04:37Z")

</div>

> [@Eduardo\_Rodriguez](#):
>
> > [@Phuturist](#):
> >
> > Having said that, nothing changed either and I don’t see other users with this issue. So I guess it still works. Are Homey and the gateways on the same LAN?
> 
> Homey and all iot devices are on the same network and the same access point. I can add the gateways and interact with them (Turn on led, sound…), but it cannot find any of the Zigbee devices added to the gateways (about 37).
> 
> I recently changed the access point from a ubiquiti U AC Pro to a U7 Pro, but after this it worked for a few days.

An update launched today for the U7 Pro has solved the problem. I don’t understand why it didn’t work only in homey but at least everything works again. Mysteries of computing.

---

<div class="post-metadata">

**Author:** ![Satoer](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/satoer/32/38113_2.png) [@Satoer](https://community.homey.app/u/Satoer)\
**Post date:** [June 22, 2024, 12:29pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1678 "2024-06-22T12:29:10Z")

</div>

Hi Jelger. The Xiaomi Smart Air Purifier 4 Compact just started working yesterday. Thank you for the update, bought you a couple of beers for the support! 🍻

For me, putting the device in `AUTO` and `FAVORITE` mode makes it 100% usable for me. But I did discovered some bugs with the The Xiaomi Smart Air Purifier 4 **Compact** :  
Temperature and humidity stay’s empty:  
 ![afbeelding](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/f/af3535e8fa8b9b01ace32ecae9bcdd0aa0d33610.png)

**Mode** : `AUTO` / `NIGHT` and `FAVORITE` works as intended. But: `INACTIVE` doesn’t do anything. Also when switching to `FAN LEVEL` all levels (1,2,3) give the error  
 ![afbeelding](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/e/1ee78dd5f5acd79f819b7a32869feda32c784ba1.png)

> “Cannot read properties of undefined (reading ‘siid’)”

Diagnostic report: `871c2423-bd7a-4d87-9b12-d6b22512b7e3`

The The Xiaomi Smart Air Purifier 4 **PRO** ( **The PRO, so not the Compact** ) has also some wrong and missing mode linking:

```auto
AUTO = AUTO
NIGHT = NIGHT
FAVORITE = FAVORITE
INACTIVE = FAN LEVEL 3 
LEVEL 1 = NIGHT
LEVEL 2 = FAVORITE
LEVEL 3 = FAN LEVEL 3

```

(On the Pro the temperature and humidity reporting works fine)  
Anyway, like I said. I’m already happy I can use the basic functions now. Now I can activate the purifier automatically on full blast in my kids room when he’s not there to clean the room extra. It seems to have a positive impact on his hay fever.

---

<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:** [June 22, 2024, 2:13pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1679 "2024-06-22T14:13:37Z")

</div>

Thanx for the donation, much appreciated.

Could you remove and re-add the device and then test again. According to the (unofficial) [documentation](https://home.miot-spec.com/spec/xiaomi.airp.cpa4) this device does not allow to set the fanlevel. Apparently this capability is available to you because you paired the device before support was implemented. Please re-pair it. That could also be the reason for no updates for humidity and temperature.

The incorrect mode linking for these devices including the Pro will not be fixed. Each of these devices implements capabilities slighty differently but it’s impossible to create a custom capability in the app for each variation. That would mean having to maintaining hundreds of these variations. The mode implementation is used for most devices Airpurifier devices and will remain as is.

---

<div class="post-metadata">

**Author:** ![Satoer](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/satoer/32/38113_2.png) [@Satoer](https://community.homey.app/u/Satoer)\
**Post date:** [June 22, 2024, 3:38pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1680 "2024-06-22T15:38:27Z")

</div>

No problem. Like I said, already happy to be able to remotely activate `auto` and `favourite`.  
I just re-added the compact. The level settings are now removed. Also the temperature and humidity display option is removed (Probably not a option on the compact?).

---

<div class="post-metadata">

**Author:** ![mootje](https://avatars.discourse-cdn.com/v4/letter/m/82dd89/32.png) [@mootje](https://community.homey.app/u/mootje)\
**Post date:** [June 23, 2024, 9:39am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1681 "2024-06-23T09:39:37Z")

</div>

Hi there,

Im using a Roborock S7. I already have a few automations, also cleaning specific rooms. Going to specific targets etc. To even further automate my flows I’d really like to be able to act on the state “returning to dock” or anything that resembles that. I would like to know when the vacuum is done with cleaning, before it reaches the dock. Does anyone know if this is already possible somehow?

---

<div class="post-metadata">

**Author:** ![Sven\_Vanwetswinkel](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sven_vanwetswinkel/32/79673_2.png) [@Sven\_Vanwetswinkel](https://community.homey.app/u/Sven_Vanwetswinkel)\
**Post date:** [June 26, 2024, 12:22pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1682 "2024-06-26T12:22:00Z")

</div>

I’ve connected my Mi smart fan to Homey. Now when i want to put it on it says the following:

this.miio.setPower is not a function

What have i done wrong?

---

<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:** [June 26, 2024, 1:32pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1683 "2024-06-26T13:32:52Z")

</div>

You probably paired it with the wrong driver. Check the first post.

---

<div class="post-metadata">

**Author:** ![Sven\_Vanwetswinkel](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sven_vanwetswinkel/32/79673_2.png) [@Sven\_Vanwetswinkel](https://community.homey.app/u/Sven_Vanwetswinkel)\
**Post date:** [June 26, 2024, 1:57pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1684 "2024-06-26T13:57:00Z")

</div>

Can you do something with the error message?

 ![IMG_3585](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/e/deeab6c990b48a716549890b8b9630a2852f8ca8.png)

---

<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:** [June 26, 2024, 2:57pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1685 "2024-06-26T14:57:50Z")

</div>

I don’t know. I could tell you to check the first post because you paired it with the wrong driver. But I already did that and you seem to have ignored it my advice. I’m not sure how I can help you any further then pointing you to the solution.

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

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