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

<div class="post-metadata">

**Author:** ![Tristax](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tristax/32/137584_2.png) [@Tristax](https://community.homey.app/u/Tristax)\
**Post date:** [July 21, 2025, 12:15pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1886 "2025-07-21T12:15:17Z")

</div>

I can see Left/Right triggers in motor controller section, is that what you need to implement this functionality?

 ![1000031275](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/5/954e45540e34d186ce4960c394690a5cbe678f87.jpeg)

---

<div class="post-metadata">

**Author:** ![Sharkys](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sharkys/32/54029_2.png) [@Sharkys](https://community.homey.app/u/Sharkys)\
**Post date:** [July 21, 2025, 12:58pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1887 "2025-07-21T12:58:17Z")

</div>

I was looking for Turn left, Turn right 🤣 OK, let me try.

---

<div class="post-metadata">

**Author:** ![Sharkys](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sharkys/32/54029_2.png) [@Sharkys](https://community.homey.app/u/Sharkys)\
**Post date:** [July 21, 2025, 1:11pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1888 "2025-07-21T13:11:06Z")

</div>

Please try with [Xiaomi Mi Home | Homey](https://homey.app/a/com.xiaomi-miio/test/) - 3.4.30 - if it’s still not working, send the log from the app and feel free to jump to the private DM conversation.

---

<div class="post-metadata">

**Author:** ![Tristax](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tristax/32/137584_2.png) [@Tristax](https://community.homey.app/u/Tristax)\
**Post date:** [July 21, 2025, 1:37pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1889 "2025-07-21T13:37:38Z")

</div>

This works perfectly well, many thanks, you rock ! 🥳

Edit : fyi and for the next patch, left & right are inverted but that doesn’t matter (turn left option makes the fan turns right)

---

<div class="post-metadata">

**Author:** ![Sharkys](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sharkys/32/54029_2.png) [@Sharkys](https://community.homey.app/u/Sharkys)\
**Post date:** [July 21, 2025, 2:01pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1890 "2025-07-21T14:01:06Z")

</div>

> [@Tristax](#):
>
> left & right are inverted

Shall be fixed in latest version 3.4.31, hopefully.

---

<div class="post-metadata">

**Author:** ![kvolden](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kvolden/32/80494_2.png) [@kvolden](https://community.homey.app/u/kvolden)\
**Post date:** [August 4, 2025, 9:54am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1891 "2025-08-04T09:54:03Z")

</div>

Did anyone, successfully or not, try to add the [Smartmi Air Purifier 2](https://eu.smartmiglobal.com/pages/smartmi-air-purifier-2) through this app? I’m considering buying it, but lack of Homey support is almost a deal breaker.

---

<div class="post-metadata">

**Author:** ![Jisnb](https://avatars.discourse-cdn.com/v4/letter/j/9de0a6/32.png) [@Jisnb](https://community.homey.app/u/Jisnb)\
**Post date:** [August 5, 2025, 6:56am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1892 "2025-08-05T06:56:32Z")

</div>

anyone already succesfully added the dreame x40? havent found it out yet sadly, see its supported but have no clue yet how to get the token when not able to add it to mi home app

---

<div class="post-metadata">

**Author:** ![bbbarna](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bbbarna/32/120862_2.png) [@bbbarna](https://community.homey.app/u/bbbarna)\
**Post date:** [August 10, 2025, 12:18pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1893 "2025-08-10T12:18:58Z")

</div>

Hello. All of my Xiaomi devieces keeps going offline. Do you know what can be the prblem?

---

<div class="post-metadata">

**Author:** ![Fischfilet](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fischfilet/32/79500_2.png) [@Fischfilet](https://community.homey.app/u/Fischfilet)\
**Post date:** [August 10, 2025, 6:17pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1894 "2025-08-10T18:17:46Z")

</div>

Hello, I am experiencing problems with this app.

My air purifier always offline

---

<div class="post-metadata">

**Author:** ![Sebastian\_SWE](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sebastian_swe/32/123744_2.png) [@Sebastian\_SWE](https://community.homey.app/u/Sebastian_SWE)\
**Post date:** [August 11, 2025, 4:59pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1895 "2025-08-11T16:59:08Z")

</div>

Lots of functions missing from Xiaomi air purifiers.

Here several others including myself are missing the set fan speed on xiaomi air purifier 4 lite model.

Any of this that could be included in Homey pro?

> <https://github.com/rytilahti/python-miio/issues/1752>
>
> \*\*Describe the bug\*\*
> Xiaomi Air Purifier 4 Lite integration is properly recogni…zed by Xiaomi Miio integration and supports almost all of the device's functionalities, except Custom Fan Speed levels and LED brightness. 
> 
> \*\*Version information (please complete the following information):\*\*
> - OS: Raspberry Pi 4
> - Home Assistant version: 2023.3.0
> - python-miio: \[Use \`miiocli --version\` or \`pip show python-miio\`\]
> 
> \*\*Device information:\*\*
> If the issue is specific to a device \[Use \`miiocli device --ip \<ip address\> --token \<token\> info\`\]:
> - Model: Air Purifier 4 Lite
> - Hardware version: zhimi.airp.rmb1
> - Firmware version: the latest available firmware - 2.2.1.0058
> 
> \*\*To Reproduce\*\*
> Steps to reproduce the behavior:
> 1. Add Air Purifier 4 Lite through Xiaomi Miio integration
> 2. Make sure the device got added correctly (don't forget about token)
> 3. Check the available entities. Notice there is no fan speed and LED brightness available. 
> 
> !\[zhimi airp rmb1\](https://user-images.githubusercontent.com/68105498/222515668-98c812f4-6521-4f8b-a279-dbc3c90b86e1.png)
> 
> \*\*Expected behavior\*\*
> There should be a slider/option to control custom fan speed levels and LED brightness, just like with Air Purifier 3C (zhimi.airpurifier.mb4).
> 
> !\[zhimi airpurifier mb4\](https://user-images.githubusercontent.com/68105498/222515421-446d0277-e6fc-4458-86c0-b94e7d72197d.png)

Github HA

> **[GitHub - Keeo/zhimi-airp-rmb1](https://github.com/Keeo/zhimi-airp-rmb1)**
>
> Contribute to Keeo/zhimi-airp-rmb1 development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![Sharkys](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sharkys/32/54029_2.png) [@Sharkys](https://community.homey.app/u/Sharkys)\
**Post date:** [August 11, 2025, 7:39pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1896 "2025-08-11T19:39:22Z")

</div>

> [@Sebastian\_SWE](#):
>
> Any of this that could be included in Homey pro?

Yes, but checking out the code, implementing and testing the changes and then submitting changes via GitHUB for review for the particular driver.

---

<div class="post-metadata">

**Author:** ![Sharkys](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sharkys/32/54029_2.png) [@Sharkys](https://community.homey.app/u/Sharkys)\
**Post date:** [August 11, 2025, 7:43pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1897 "2025-08-11T19:43:04Z")

</div>

> [@Jisnb](#):
>
> see its supported but have no clue yet how to get the token

[GitHub - PiotrMachowski/Xiaomi-cloud-tokens-extractor: This tool/script retrieves tokens for all devices connected to Xiaomi cloud and encryption keys for BLE devices.](https://github.com/PiotrMachowski/Xiaomi-cloud-tokens-extractor) - use at your own risk

---

<div class="post-metadata">

**Author:** ![Sharkys](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sharkys/32/54029_2.png) [@Sharkys](https://community.homey.app/u/Sharkys)\
**Post date:** [August 11, 2025, 7:43pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1898 "2025-08-11T19:43:56Z")

</div>

> [@Fischfilet](#):
>
> My air purifier always offline

Was it ever online? If not, you don’t have right token I guess.

> [@bbbarna](#):
>
> Do you know what can be the prblem?

No idea without log and more details.

---

<div class="post-metadata">

**Author:** ![Fischfilet](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fischfilet/32/79500_2.png) [@Fischfilet](https://community.homey.app/u/Fischfilet)\
**Post date:** [August 11, 2025, 8:08pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1899 "2025-08-11T20:08:28Z")

</div>

It is the right token. I retrieved it the same way as I did before in my old home. But after moving and resetting my homey and re-pairing the device, the device is marked as online in the app in homey but the moment I try to control the device I get an error message.

I will try to replicate and generate a log tomorrow

---

<div class="post-metadata">

**Author:** ![Victoryus](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/victoryus/32/90198_2.png) [@Victoryus](https://community.homey.app/u/Victoryus)\
**Post date:** [August 17, 2025, 11:43am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1900 "2025-08-17T11:43:07Z")

</div>

Hello,  
I have a **Xiaomi X20 Pro** device. I got a token and tried to connect it to **Homey** , but I can’t find the ideal settings.

- If I choose **Xiaomi MIoT MAX** , I get this error:  
_“Device is unreachable: Cannot read properties of undefined (reading ‘toString’)”_

- If I choose **Xiaomi MIOT** , I cannot select **rooms**.

- If I choose **Advanced Dreame** , I cannot choose between **sweep, mop, or both** , and I cannot set the **mop intensity** to “none”.

Also, I can’t find a way to do **double cleaning** – meaning the device would make plus cleaning: it would move in parallel lines from opposite directions.

The best option for me if I can change, and combine all of them with any combination:

- Rooms
- Mop / Sweep / Sweep & Mop mode
- Mop intensity
- Fanspeed
- Maybe deep cleaning (duble cleaning with lef directions both)

Can this be solved in any way? If not, is there a chance that the requested features will be created?

---

<div class="post-metadata">

**Author:** ![Sharkys](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sharkys/32/54029_2.png) [@Sharkys](https://community.homey.app/u/Sharkys)\
**Post date:** [August 17, 2025, 6:39pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1901 "2025-08-17T18:39:01Z")

</div>

> [@Victoryus](#):
>
> **Xiaomi X20 Pro** device

> **[Supported Devices](https://github.com/shaarkys/com.xiaomi-miio/wiki/Supported-Devices)**
>
> Homey app to control Mi Home devices that implement the miIO protocol and Xiaomi gateway child devices - shaarkys/com.xiaomi-miio

> [@Victoryus](#):
>
> If I choose **Xiaomi MIoT MAX** , I get this error:  
> _“Device is unreachable: Cannot read properties of undefined (reading ‘toString’)”_

That’s the only proper driver, please submit diag.

---

<div class="post-metadata">

**Author:** ![Victoryus](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/victoryus/32/90198_2.png) [@Victoryus](https://community.homey.app/u/Victoryus)\
**Post date:** [August 19, 2025, 8:53am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1902 "2025-08-19T08:53:05Z")

</div>

Sorry, I messed up. It’s an X20 Plus device.  
I see that this is the proper driver: Xiaomi Vacuum Cleaner MIoT driver.  
Suddenly the room selection isn’t available with this driver.

---

<div class="post-metadata">

**Author:** ![Sharkys](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sharkys/32/54029_2.png) [@Sharkys](https://community.homey.app/u/Sharkys)\
**Post date:** [August 21, 2025, 8:22pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1903 "2025-08-21T20:22:16Z")

</div>

> [@Victoryus](#):
>
> Suddenly the room selection isn’t available with this driver.

Yes, it’s not implemented, unfortunately I don’t own X20+.  
It would require someone very responsive during potential testing knowing what to do or best provide access to Homey with port forwarding enabled. If you are interested, contact me via DM.

---

<div class="post-metadata">

**Author:** ![Viitya](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/viitya/32/80544_2.png) [@Viitya](https://community.homey.app/u/Viitya)\
**Post date:** [August 27, 2025, 6:19pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1904 "2025-08-27T18:19:29Z")

</div>

Hi! I’m struggling to setup this app for Xiaomi Wall plug. It worked previously but currently with the IP and the token connection is not working. I always receive timeout error. What can be the problem? Thanks!

---

<div class="post-metadata">

**Author:** ![TheoVerriet](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/theoverriet/32/79069_2.png) [@TheoVerriet](https://community.homey.app/u/TheoVerriet)\
**Post date:** [September 3, 2025, 12:01pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1905 "2025-09-03T12:01:54Z")

</div>

I’m having the same issue with the Smart space heater. Finally managed to get the token, but I only get timeouts when I try to add the device to Homey.

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

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