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

<div class="post-metadata">

**Author:** ![Wout\_van\_den\_Dool](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wout_van_den_dool/32/391_2.png) [@Wout\_van\_den\_Dool](https://community.homey.app/u/Wout_van_den_Dool)\
**Post date:** [September 3, 2025, 2:31pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1906 "2025-09-03T14:31:36Z")

</div>

I was wondering if you could make this feature available, I have soooo many flows with the countdown counter app in it (door sensors / motion sensors)… I see this feature as a good alternative, now I see it only on battery level for x period, but want a door open for 30 minutes in a flow:

> **[New in Flow: Sustained Values & Multi-Select – News | Homey](https://homey.app/en-us/news/new-in-flow-sustained-values-and-multi-select/)**

Homey Flow just got two new features to help you create smarter, more precise automations. You can now check if a value holds over time and choose multiple options in a single Flow card.

[![New in Flow: Sustained Values & Multi-Select](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/b/9bb105b2d7d496cd447121b3b8cc82201a8f28ca.jpeg)](https://blog-cdn.athom.com/uploads/2025/07/flow-sustained-values-and-multi-select.png)

## Flow cards for sustained values

Sometimes you want to wait and see if a condition really holds. Therefore, you can now pick two new When cards for devices with numerical values, like power, temperature, or humidity:

- When [Capability] **becomes greater than** [Value] **for** seconds or minutes
- When [Capability] **becomes less than** [Value] **for** seconds or minutes

This lets you create Flows that respond only when a value stays above or below a threshold for a set time. It’s useful for acting on lasting changes rather than brief spikes or dips.

[![Flow cards for sustained values](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/c/0c0cb8ccac6c8e2b47607018d489f3687c3bd027.png)](https://blog-cdn.athom.com/uploads/2025/07/when-cards-with-sustained-values.png)

Start a Flow if a value holds over time

---

<div class="post-metadata">

**Author:** ![SunBeech](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sunbeech/32/111391_2.png) [@SunBeech](https://community.homey.app/u/SunBeech)\
**Post date:** [September 3, 2025, 3:00pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1907 "2025-09-03T15:00:54Z")

</div>

This seems to be a duplicate post of yours in the Aqara & Xiaomi Smart Home section.

See my response over there:

> [@\[APP\] Aqara & Xiaomi Smart Home - Simplify your life with a smarter home](https://community.homey.app/t/app-aqara-xiaomi-smart-home-simplify-your-life-with-a-smarter-home/156/6729):
>
> I suggest you reach out to Athom with your request, via [https://homey.app/support/](https://homey.app/support/). The sustained value-functionality is not app specific, but a Homey wide functionality. Currently limited to numeric capabilities only. There is an alternative though: the [Device Capabilities](https://homey.app/en-nl/app/nl.qluster-it.DeviceCapabilities/Device-Capabilities/) app provides a flowcard to check for sustained values. It also works with yes/no and text values, in addition to numeric ones. Also check this post (in Dutch) for screenshot and more info:

---

<div class="post-metadata">

**Author:** ![Wout\_van\_den\_Dool](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wout_van_den_dool/32/391_2.png) [@Wout\_van\_den\_Dool](https://community.homey.app/u/Wout_van_den_Dool)\
**Post date:** [September 3, 2025, 7:13pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1908 "2025-09-03T19:13:49Z")

</div>

yes, didn’t know that this was homey wide functionality and since I both heavily use countdown in relation with Zigbee / Xiaomi devices wanted to plee to both developers of the app 🙂

---

<div class="post-metadata">

**Author:** ![Houtwoud](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/houtwoud/32/78856_2.png) [@Houtwoud](https://community.homey.app/u/Houtwoud)\
**Post date:** [September 26, 2025, 5:23am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1909 "2025-09-26T05:23:40Z")

</div>

Hi!

First off, I want to applaud for all the hard work you’ve put in this app. Absolutely great!

Second, I find that the motion sensor aren’t always responding correctly. Most of the time they work fine, but a couple of times a day they fail to pass their info to homey. They register a motion, as I can verify in the Xiaomi app, but somehow this information isn’t passed through to homey. I’ve made a diagnostic report, filled under 30e58d23-8407-437c-8679-2b51894561aa.

Hope you can find the time to look into this problem. Thank you very much in advance.

---

<div class="post-metadata">

**Author:** ![Sibren\_ter\_Hove](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sibren_ter_hove/32/79870_2.png) [@Sibren\_ter\_Hove](https://community.homey.app/u/Sibren_ter_Hove)\
**Post date:** [September 26, 2025, 7:15pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1910 "2025-09-26T19:15:08Z")

</div>

The last update gave me some extra options with my feeder 2. For that thanks. Amazing. But there are still a few things that don’t work. The eaten today says 11 grams but the 11 gram is what is left. Eaten today is 75 gram. Hope you can fix it. And the other values are ampty. Not sure what you can do with this. And when I start a flow to feed them I get an error. You can see this error in the pic. I hope you can fix it. Can you send your PayPal in pm.

 ![IMG_8597](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/3/231c860ab1a02a7f0e07b08b586830d83520ebb6.png)

 ![IMG_8600](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/1/61792e58a712b1ab8a120835ed1732f3224cc81e.jpeg)

 ![IMG_8599](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/6/661dd66bd0677f9cc668a3fb81d04b6fc48a2f4f.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:** [September 26, 2025, 7:35pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1911 "2025-09-26T19:35:14Z")

</div>

I’m sorry but didn’t have time yet to finish that, having one access to Homey and device, but not direct one unfortunately (behind NAT)

Please sent debug log, but having Honey access with public IP and lwith that device would help much more ☹

---

<div class="post-metadata">

**Author:** ![Ricardo\_Nunes](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ricardo_nunes/32/30598_2.png) [@Ricardo\_Nunes](https://community.homey.app/u/Ricardo_Nunes)\
**Post date:** [September 28, 2025, 8:44pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1912 "2025-09-28T20:44:45Z")

</div>

Trying to get token from a q Revo robot using Xiaomi Cloud Token Extractor, I’m sure I put all the credentials correct but it always gives me invalid log in, I’ve extracted tokens using this method like 2 months ago or something…can anyone confirm this is not working anymore or is it just on my side?

Thanks

---

<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:** [September 29, 2025, 4:26am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1913 "2025-09-29T04:26:22Z")

</div>

Try with the latest Token extractor, it has been updated recently

---

<div class="post-metadata">

**Author:** ![Frekel](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/frekel/32/4983_2.png) [@Frekel](https://community.homey.app/u/Frekel)\
**Post date:** [September 30, 2025, 10:19am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1914 "2025-09-30T10:19:32Z")

</div>

Hi @Sharkys,

I created this diagnostic report: 0ef640c0-8629-45a3-9f62-56489885baa7

I am not getting any new devices when I added them to my gateway (thru the Xiaomi app).

I checked it with 3 devices (two mi temp sensors and one mi door/window magnet). All three were already added before to the gateway and homey.

I removed the devices from homey and the gateway and added them back to the gateway but unfortunately the devices weren’t found in Homey.

Thanks for looking into it!

---

<div class="post-metadata">

**Author:** ![Frekel](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/frekel/32/4983_2.png) [@Frekel](https://community.homey.app/u/Frekel)\
**Post date:** [September 30, 2025, 10:59am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1915 "2025-09-30T10:59:22Z")

</div>

**OR** you misplace the lan cable of your Homey into a different port and it gets onto a different VLAN.

Sorry @Sharkys, this was a error between the monitor and chair 😅

---

<div class="post-metadata">

**Author:** ![Henk\_Renting](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henk_renting/32/87634_2.png) [@Henk\_Renting](https://community.homey.app/u/Henk_Renting)\
**Post date:** [October 5, 2025, 7:08am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1916 "2025-10-05T07:08:14Z")

</div>

How is this app currently supporting Dreame vacuum robots?

I am considering a Dreame L10s Ultra Gen 2 and looking for a way to integrate it in Homey, since there is no specific Dreame Homey app.

 ![Base_StationCharging_Dock_1080x](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/4/046f4ad4b9fbcb1abcc07494d5070a45ead1b28a.jpeg)  
Also: do you need the Xiaomi (Android/iOS) app to integrate it into Homey or can you also use the Dreame app? Or are these apps actually the same under the hood?

Any tips or advice welcome! 😉

---

<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:** [October 5, 2025, 8:52am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1917 "2025-10-05T08:52:06Z")

</div>

> [@Henk\_Renting](#):
>
> How is this app currently supporting Dreame vacuum robots?

> **[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

However, seems that DREAME is removing some of the local API access, which this legacy app is using and switching partially or fully to cloud only, so I would not bet on newest devices, unless someone share his experience (or can even extend this app by Cloud connector). Also, me without having device itself or local access to Homey (via port fwd), I can’t support at all.

What is even worse, seems that now some of the Xiaomi devices are manufactured by Dreame…

 ![obrazek](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/a/bacdf0858309b140ed5c83a17b1a7ccd897e681c.jpeg)

Eg. currently X20+ is working only partially while eg. X20 Max works just fine…didn’t check mine packaging, if it’s “pure” Xiaomi or Dreame thing.

Also, please note - seems also Xiaomi is somehow “securing” their clouds API/access - despite new version of Cloud extractor available at [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/tree/master) it’s not possible for me to extract my own tokens.

---

<div class="post-metadata">

**Author:** ![Henk\_Renting](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henk_renting/32/87634_2.png) [@Henk\_Renting](https://community.homey.app/u/Henk_Renting)\
**Post date:** [October 5, 2025, 9:12am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1918 "2025-10-05T09:12:36Z")

</div>

Thanks for the quick and extensive reply, @Sharkys!

I see there are some Roborock devices in the list as well.

My alternative would be a Roborock QV 35S. Do you think that would be a better choice, regarding Homey integration in this Xiaomi app?

Besides that, I see some Roborock apps in the Homey App Store as well that could do the trick.

(Anyone that can comment on experience with these or on dis-/advantages: that help is also much appreciated of course…)

---

<div class="post-metadata">

**Author:** ![Kent\_Erichsen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kent_erichsen/32/143840_2.png) [@Kent\_Erichsen](https://community.homey.app/u/Kent_Erichsen)\
**Post date:** [November 2, 2025, 8:23pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1919 "2025-11-02T20:23:54Z")

</div>

Hi,

I have had my Dreame on homey 1 year back, but I have had to reset it after moving and new WiFi.

I have extracted the token key, and have the IP correctly. But all I get is Handshake error 🤕

I have reported this: eb480d0d-2373-4b2b-812e-17087a66209e

Regards Kent

---

<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:** [November 2, 2025, 8:38pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1920 "2025-11-02T20:38:53Z")

</div>

If it was working previously but it’s not working now just after wifi change, check :

- if your Dreame is actually connected correctly
- after Dreame reconfiguration, extract the token again using the recommended solution here

---

<div class="post-metadata">

**Author:** ![Audun\_Heimdal](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/audun_heimdal/32/80642_2.png) [@Audun\_Heimdal](https://community.homey.app/u/Audun_Heimdal)\
**Post date:** [November 3, 2025, 7:53pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1921 "2025-11-03T19:53:28Z")

</div>

I have a Xiaomi s10 robot vacuum cleaner and added it in Homey. I can not get it to start. It starts in the Xiaomi app

 ![1000010088](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/0/900c406db91f43b39f8550f5e1c5fd4e1b7ef9da.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:** [November 3, 2025, 7:58pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1922 "2025-11-03T19:58:56Z")

</div>

It’s hard to say without providing the log from the app…

---

<div class="post-metadata">

**Author:** ![Audun\_Heimdal](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/audun_heimdal/32/80642_2.png) [@Audun\_Heimdal](https://community.homey.app/u/Audun_Heimdal)\
**Post date:** [November 3, 2025, 9:04pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1923 "2025-11-03T21:04:57Z")

</div>

Where do I find this?

---

<div class="post-metadata">

**Author:** ![Audun\_Heimdal](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/audun_heimdal/32/80642_2.png) [@Audun\_Heimdal](https://community.homey.app/u/Audun_Heimdal)\
**Post date:** [November 4, 2025, 11:05am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1924 "2025-11-04T11:05:03Z")

</div>

d61b5d56-b694-497d-bd02-619e46b6c588

---

<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:** [November 4, 2025, 7:44pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1925 "2025-11-04T19:44:51Z")

</div>

Are the other functions working, do you get updates on any values ? In the logs I see unfortunately only “Error: user ack timeout”, which is the same as yours, unfortunately coming from the old MiIO library. Maybe someone with S10 vacuum cleaner would comment.

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

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