[APP][Pro] Xiaomi Mi Home App

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:

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

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

Start a Flow if a value holds over time

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

See my response over there:

1 Like

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 :slight_smile:

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.

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.

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 :frowning:

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

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

1 Like

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!

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 :sweat_smile:

2 Likes

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.


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! :wink:

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…

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. it’s not possible for me to extract my own tokens.

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…)

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 :face_with_head_bandage:

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

Regards Kent

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

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

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

Where do I find this?

d61b5d56-b694-497d-bd02-619e46b6c588

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.