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

<div class="post-metadata">

**Author:** ![Arthur\_Zut](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arthur_zut/32/53625_2.png) [@Arthur\_Zut](https://community.homey.app/u/Arthur_Zut)\
**Post date:** [October 26, 2024, 12:58pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1746 "2024-10-26T12:58:13Z")

</div>

Hi,

Trying to connect my Roborock S8 Pro Ultra. Using a un-ecrypted icloud backup and SQlite, I retrieved the 96 character **encrypted** token:

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/4/84f3b2f996b865e19296c885f075adf9c111bb2a.png)

Using the [AES Encryption – Easily encrypt or decrypt strings or files](http://aes.online-domain-tools.com/) site, I decrypted the token:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/5/85f1b55cdbeca3fab22fbc65ff10310946dc9c5a.png)

But when using the decrypted token 33…38, I’receive the following error:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/3/f37501fb9ce1fa374751b625fa6a9794bb7e006e.png)

What I’m doing 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:** [October 26, 2024, 1:20pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1747 "2024-10-26T13:20:26Z")

</div>

There error suggests Homey can’t reach that IP address.

---

<div class="post-metadata">

**Author:** ![Arthur\_Zut](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arthur_zut/32/53625_2.png) [@Arthur\_Zut](https://community.homey.app/u/Arthur_Zut)\
**Post date:** [October 26, 2024, 2:16pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1748 "2024-10-26T14:16:24Z")

</div>

Hmmm, I’m sure Ive entered the correct IP address (the same IP address for the Roborock in the Mi Home app). Also when I input a “wrong” IP address, I receive immediately: “Could not connect to device, handshake timeout”. So I think it is something else.

The “Network request failed” message takes +/- 25 seconds to display, this on my laptop, using [https://my.homey.app/](https://my.homey.app/)

When trying to same on my Iphone using the homey app, I receive an “Timeout after 30000ms”.

---

<div class="post-metadata">

**Author:** ![Arthur\_Zut](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arthur_zut/32/53625_2.png) [@Arthur\_Zut](https://community.homey.app/u/Arthur_Zut)\
**Post date:** [October 26, 2024, 3:11pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1749 "2024-10-26T15:11:10Z")

</div>

I’ve tried the Roborock homey app with the same IP and token. Without any problems.

---

<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:** [October 26, 2024, 4:04pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1750 "2024-10-26T16:04:35Z")

</div>

Reboot the app. Try again and send me a diagnostic report from the app settings afterwards.

---

<div class="post-metadata">

**Author:** ![Arthur\_Zut](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arthur_zut/32/53625_2.png) [@Arthur\_Zut](https://community.homey.app/u/Arthur_Zut)\
**Post date:** [October 27, 2024, 7:23am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1751 "2024-10-27T07:23:21Z")

</div>

Well… It works. No idea why.  
I’ve rebooted the app (and the homey) yesterday a couple of times.

Thanks for your support!

---

<div class="post-metadata">

**Author:** ![Arthur\_Zut](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arthur_zut/32/53625_2.png) [@Arthur\_Zut](https://community.homey.app/u/Arthur_Zut)\
**Post date:** [October 27, 2024, 9:10am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1752 "2024-10-27T09:10:49Z")

</div>

Next what I’m trying to do is to find the correct room id’s. Using the workflow I receive these id’s:

6,755001034497,12,17,755001034499,12,18,755001034498,12,19,755001034526,12

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/f/8f0cb2681e3119a85229e1592631a8dcdc286278.png)

I tried 12 and 18, but the same room is cleaned?

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/a/dab6faa67ffe92b9c985a69fdcfce9bc1b3afa59.png)

---

<div class="post-metadata">

**Author:** ![Marius\_Stensrod](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marius_stensrod/32/56540_2.png) [@Marius\_Stensrod](https://community.homey.app/u/Marius_Stensrod)\
**Post date:** [October 27, 2024, 9:32am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1753 "2024-10-27T09:32:58Z")

</div>

How many rooms do you have? Try, 16, 17, 18 and 19. When you start to clean a room, look at the Xiaomi app and you will see witch room is highlighted.

---

<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:** [November 5, 2024, 2:20pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1754 "2024-11-05T14:20:24Z")

</div>

Hii,

I am trying some new automations and I am really missing one status. It would be perfect if there was also a status for when the vacuum is done vacuuming, so the status before it has reached the dock and is charging (Aan het opladen).

I don’t know if this state is even available but within the Xiaomi app it shows “returning to dock”.

Could someone confirm if this state is available via the API? If so I’ll create a feature request via Github 🙂

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/c/fc40033b4da2f2b0c6ead5f23ead08e9f2a68ef7.png)

---

<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 5, 2024, 4:02pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1755 "2024-11-05T16:02:25Z")

</div>

> [@mootje](#):
>
> I am trying some new automations and I am really missing one status. It would be perfect if there was also a status for when the vacuum is done vacuuming, so the status before it has reached the dock and is charging

Not sure it’s there but what do you need it for ? Eg. I’m actually using “Is charging” because that happens when vacuuming is done 😉

---

<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:** [November 5, 2024, 7:39pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1756 "2024-11-05T19:39:08Z")

</div>

> [@mootje](#):
>
> Could someone confirm if this state is available via the API? If so I’ll create a feature request via Github

Most vacuums support a go charging state. But it’s not available in the vacuumcleaner\_state capability the way Athom implemented it in the Homey SDK so I cant match it. If you are gonna submit feature request you should submit it at Athom HQ.

---

<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:** [November 6, 2024, 8:40am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1757 "2024-11-06T08:40:08Z")

</div>

Aaah thank you! That’ll probably take a while even if they want to implement it. But will request this feature via them then 🙂

---

<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:** [November 6, 2024, 8:45am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1758 "2024-11-06T08:45:38Z")

</div>

Because I want to put the vacuum on pauze before it is even going back to the dock. I am currently letting the robot vacuum my bedroom with the door closed. When the vacuum is done cleaning it will try to reach the dock in the living room but because the door is closed it will go behind it, block the door and stay there. And so I have to use the app to move the robot to another pinpoint.

PS: Just to share something that I’m proud of. Today I made a vacuum cleaning playlist. In every room I have an eight-button-switch. One button in every room is dedicated to the vacuum cleaner. Short press means that room is added to the playlist. Longpress means it will clean up the room immediately (this isn’t shown on the flow). The playlist runs as soon as the last person leaves the house.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/7/d7c58f1bf672bb48e2cbeae71e3917fc20dbdb41.jpeg)

---

<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:** [November 7, 2024, 10:56pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1759 "2024-11-07T22:56:37Z")

</div>

Heey @Phuturist,

Correct me if I’m wrong. But if I’m correct the state is available within the Homey SDK.

> **[Tutorial: Device Capabilities - Homey Apps SDK v3](https://apps-sdk-v3.developer.homey.app/tutorial-device-capabilities.html)**

 ![Scherm­afbeelding 2024-11-07 om 23.55.03](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/8/b832c6f878cb3f93a19ac02f75129b2cc01683a5.png)

---

<div class="post-metadata">

**Author:** ![KJT](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kjt/32/80084_2.png) [@KJT](https://community.homey.app/u/KJT)\
**Post date:** [November 8, 2024, 1:34am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1760 "2024-11-08T01:34:17Z")

</div>

Hi @Phuturist,

I installed 2 purifier 3H (zhimi.airpurifier.mb3) as Advanced Mi Air Purifier. Connected and read all properties well, but when i want to e.g. turn off, or set mode to Night, i get an error: User Ack Timeout. Not connect any other system, only Homey Pro and native Xiaomi app from phone. I tried to set polling frequency, but not help. Restart app, restart Homey restart Air purifier, but not help. What can i do? Thx. Created Diagnostic report: b19a22ea-69a9-4cf4-8958-6448eaaa54d6

---

<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:** [November 8, 2024, 6:19am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1761 "2024-11-08T06:19:25Z")

</div>

Have a better look. This is not a state of the vacuumcleaner\_state capability but as action card.

---

<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:** [November 8, 2024, 6:21am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1762 "2024-11-08T06:21:11Z")

</div>

Are you using the correct driver?

---

<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:** [November 8, 2024, 8:58am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1763 "2024-11-08T08:58:01Z")

</div>

Aaah now I see! Sorry and thanks!! Will be chasing Athom after all 😉

---

<div class="post-metadata">

**Author:** ![KJT](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kjt/32/80084_2.png) [@KJT](https://community.homey.app/u/KJT)\
**Post date:** [November 8, 2024, 10:25am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1764 "2024-11-08T10:25:41Z")

</div>

Hi,

I think yes. At Github the mentioned driver for my Air Purifier 3H (zhimi.airpurifier.mb3) is: **Advanced Mi Air Purifier MIoT driver**. Exactly this name i can’t find, i choose this:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/c/7c3ede7b04ff9b9d3fad9397f0ee3c98480b7abb.png)  
It’s look like working well:  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/6/16d5fa9f81f0fb45cdd8d12316cb61a4a392e02f.png)

At the “Purifier” section i found these:

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

Which is a correct driver? The first? But why **Sensor**? or one of them from the Purifier section? All action on device card cause this:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/e/4e39fecf90b1cc041af1e3bbf72fb49556474151.png)

A rebooted all devices. Homey, purifiers, router, switch… 🤷‍♂️

---

<div class="post-metadata">

**Author:** ![skullgoof](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/skullgoof/32/18257_2.png) [@skullgoof](https://community.homey.app/u/skullgoof)\
**Post date:** [November 8, 2024, 2:22pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1765 "2024-11-08T14:22:32Z")

</div>

Hello,

Can you add the **Xiaomi Robot Vacuum X20+** It’s the twin of Dreame L10s Ultra  
The model is xiaomi.vacuum.c102gl

Xiaomi Robot Vacuum X20 = xiaomi.vacuum.c102gl  
Dreame Bot L10s Ultra = dreame.vacuum.r2228o

Thanks in advance.

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

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