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

<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:** [September 15, 2023, 8:38am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1460 "2023-09-15T08:38:58Z")

</div>

In the first post of this topic.

---

<div class="post-metadata">

**Author:** ![Nibbles](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/nibbles/32/78881_2.png) [@Nibbles](https://community.homey.app/u/Nibbles)\
**Post date:** [September 15, 2023, 11:36am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1461 "2023-09-15T11:36:25Z")

</div>

Ahh sorry didn’t see the previous response. Thank you! Hope it turns out well 🙏

---

<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 15, 2023, 1:45pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1462 "2023-09-15T13:45:51Z")

</div>

@Phuturist Jelger, can you have a look, why this sound (any-just example) always plays very high volume regardless of set volume in the original and even when set via your app ? Isn’t it hardcoded somehow ?

![obrazek](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/f/af3549530ca9222c675ed09713af4881dd0f3e1a.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:** [September 15, 2023, 7:55pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1463 "2023-09-15T19:55:20Z")

</div>

Not hard coded, apparently this is how it works. As far as I know there is no option to set the volume.

> <https://github.com/jghaanstra/com.xiaomi-miio/blob/8c977c65d3c26802653def58a0c78f36832a8710/app.js#L559>

---

<div class="post-metadata">

**Author:** ![Tony\_Soprano](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tony_soprano/32/79236_2.png) [@Tony\_Soprano](https://community.homey.app/u/Tony_Soprano)\
**Post date:** [September 24, 2023, 3:07pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1464 "2023-09-24T15:07:26Z")

</div>

Hey!

I’m really lost 🙂

First of all: Thanks for this app, I know how much effort it is.  
I’m not that unexperienced as I have also running a HomeAssistant instance and currently switching. I have there also a Community Xiaomi App (from HACS) and therefore I know how to extract tokens, etc.! I also have been able to connect my Roborock, but where I’m not able to get it work is

1. Xiaomi Smart Air Purifier 4 Compact (zhimi.airp.cpa4)
2. Pet Water Dispencer (mmgg.pet\_waterer.wi11)

I’m always getting “handshake timeout” and I have tried a lot of different things like

1. New static IP
2. Put the device in the same VLAN
3. Resettet both deviced, reconnected them with the Xiaomi App and tried again.

I also monitored the traffic but I can’t find something that identifies as the reason for this.

Is there a way to find out what is the problem? As the same procedure is working for Roborock I’m really curious why those two are not working.

Thanks for any advice or guidance!

Thanks.

---

<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:** [September 24, 2023, 3:32pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1465 "2023-09-24T15:32:29Z")

</div>

1. This model isnt supported (yet), see the first post on how to request support.
2. `handshake timeout` could mean the token is incorrect. Can you pair it and does this error happen after pairing, then please send a diagnostic report from the app settings. If you get this error during pairing, reset the device and start from scratch.

---

<div class="post-metadata">

**Author:** ![Simon\_Kai](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/simon_kai/32/79941_2.png) [@Simon\_Kai](https://community.homey.app/u/Simon_Kai)\
**Post date:** [September 24, 2023, 8:29pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1466 "2023-09-24T20:29:48Z")

</div>

Hello, I would very much like to use the Roborock Q8 Max via this app. Is it possible to integrate this as well? I would be very happy to do so.  
I am happy to donate something and I am grateful for the time and work you invest.  
Thanks already for feedback if this can be possible.

---

<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:** [September 25, 2023, 5:10am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1467 "2023-09-25T05:10:40Z")

</div>

Read the first post on how you can request support for new devices.

---

<div class="post-metadata">

**Author:** ![Simon\_Kai](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/simon_kai/32/79941_2.png) [@Simon\_Kai](https://community.homey.app/u/Simon_Kai)\
**Post date:** [September 25, 2023, 5:44am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1468 "2023-09-25T05:44:56Z")

</div>

Thanks for the tip.

---

<div class="post-metadata">

**Author:** ![Tony\_Soprano](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tony_soprano/32/79236_2.png) [@Tony\_Soprano](https://community.homey.app/u/Tony_Soprano)\
**Post date:** [September 25, 2023, 7:57am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1469 "2023-09-25T07:57:21Z")

</div>

Hi, it is accuring when pairing. I have reset the device prior to your post two times, and I have just done it again. Token was changed, but still I get “Could not connect to device, handshake timeout”. Any other ideas?

---

<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:** [September 25, 2023, 10:56am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1470 "2023-09-25T10:56:37Z")

</div>

Send me a diagnostic report, although I doubt I can see anything in there. Alternatively you can send me the device if you really want it working.

---

<div class="post-metadata">

**Author:** ![Tony\_Soprano](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tony_soprano/32/79236_2.png) [@Tony\_Soprano](https://community.homey.app/u/Tony_Soprano)\
**Post date:** [September 25, 2023, 11:56am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1471 "2023-09-25T11:56:43Z")

</div>

Done.  
27f00f81-0d3a-4f5e-8040-189dd06854dc

---

<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:** [September 25, 2023, 4:52pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1472 "2023-09-25T16:52:19Z")

</div>

The only error in the log is the actual handshake error.

```auto
2023-09-25T11:55:45.404Z [err] [ManagerDrivers] [Driver:petwaterdispenser_mmgg_miot] Error: Could not connect to device, handshake timeout
    at Timeout._onTimeout (/app/node_modules/miio/lib/network.js:488:18)
    at listOnTimeout (node:internal/timers:569:17)
    at process.processTimers (node:internal/timers:512:7) {
  code: 'timeout',
  device: null
}

```

Are you sure you are entering the correct IP address and token? Try using the Web UI which makes copy and pasting of the token easier.

---

<div class="post-metadata">

**Author:** ![Glenn\_K](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/glenn_k/32/79671_2.png) [@Glenn\_K](https://community.homey.app/u/Glenn_K)\
**Post date:** [September 26, 2023, 10:53am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1474 "2023-09-26T10:53:00Z")

</div>

Hi Thank you for making this app! The vacuumcleaner s5 max works fine!  
But i cant get the Mi Smart Standing Fan 2 Lite working. I can control them bij de the default app van Xiaomi just fine sow its not the network. I get the ‘‘user ack timeout’’ most of the time the fan is a red triangle with device unavailaible. Is the Standing Fan 2 lite supported? And witch fan should i choose when adding the device? I tried them all. Thank you!  
The report:  
a8fd20d1-e3d3-4e8d-b64f-47feccecd979

---

<div class="post-metadata">

**Author:** ![Peter\_Kalrsson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kalrsson/32/48872_2.png) [@Peter\_Kalrsson](https://community.homey.app/u/Peter_Kalrsson)\
**Post date:** [September 26, 2023, 11:57am UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1475 "2023-09-26T11:57:39Z")

</div>

@Phuturist

Roborock Q7 Max

**Version 3.2.15** has made the flowcard “Send vacuum cleaner to clean room X” stopped working.

Returns error “Unexpected token o in JSON at position 1”.

Worked perfectly prior to this update.

Diag no: f8441b74-6a2a-4d48-a609-452932ec5d94

---

<div class="post-metadata">

**Author:** ![Alexander\_Lavin](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/alexander_lavin/32/12433_2.png) [@Alexander\_Lavin](https://community.homey.app/u/Alexander_Lavin)\
**Post date:** [September 26, 2023, 2:13pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1476 "2023-09-26T14:13:14Z")

</div>

Hi,

Since last update (september 25) command “send vacuum cleaner to clean room” is broken

---

<div class="post-metadata">

**Author:** ![Daniel\_Fille](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/daniel_fille/32/15219_2.png) [@Daniel\_Fille](https://community.homey.app/u/Daniel_Fille)\
**Post date:** [September 26, 2023, 2:33pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1477 "2023-09-26T14:33:15Z")

</div>

Roborock S5

Same problem, Send vacuum cleaner to clean room X is broken ☹

Edit: Zone cleaning is also broken.

Diag = 6e3671b0-c319-47b2-b8a6-9815eac7aa93

---

<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:** [September 26, 2023, 2:56pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1478 "2023-09-26T14:56:29Z")

</div>

> [@Peter\_Kalrsson](#):
>
> Returns error “Unexpected token o in JSON at position 1”.
> 
> Worked perfectly prior to this update.

> [@Alexander\_Lavin](#):
>
> Since last update (september 25) command “send vacuum cleaner to clean room” is broken

> [@Daniel\_Fille](#):
>
> Roborock S5
> 
> Same problem, Send vacuum cleaner to clean room X is broken ☹
> 
> Edit: Zone cleaning is also broken.
> 
> Diag = 6e3671b0-c319-47b2-b8a6-9815eac7aa93

I’ll fix that with the next release.

---

<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:** [September 26, 2023, 3:07pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1479 "2023-09-26T15:07:13Z")

</div>

Check out the link in the first post about the supported devices and which driver to use. The error `user ack timeout` could be a bunch of different things including something with the code, the token or your network (that it works from the app says nothing Homey can also reach the device). I havent heard of anyone having issues with this device so for now I’m assuming it’s not the code. Make sure you are not querying the device to often (too low polling frequency or having other integrations or the official app also connected at the same time).

As there is no other info in the log I cant really help you without having the device myself.

---

<div class="post-metadata">

**Author:** ![Arash\_Moradi](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arash_moradi/32/13190_2.png) [@Arash\_Moradi](https://community.homey.app/u/Arash_Moradi)\
**Post date:** [September 27, 2023, 12:26pm UTC](https://community.homey.app/t/app-pro-xiaomi-mi-home-app/118/1480 "2023-09-27T12:26:25Z")

</div>

Are you considering support for Aqara hub M2?

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

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