# \[APP\]\[Pro\] Roborock Vacuum Cleaners

**URL:** <https://community.homey.app/t/app-pro-roborock-vacuum-cleaners/49521>\
**Category:** Apps\
**Tags:** app, official, homey-pro\
**Created:** [July 17, 2021, 7:14pm UTC](https://community.homey.app/t/app-pro-roborock-vacuum-cleaners/49521 "2021-07-17T19:14:25Z")\
**Posts on this page:** 20\
**Page:** 5

<div class="post-metadata">

**Author:** ![Justin](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/justin/32/23485_2.png) [@Justin](https://community.homey.app/u/Justin)\
**Post date:** [July 22, 2021, 9:30am UTC](https://community.homey.app/t/app-pro-roborock-vacuum-cleaners/49521/81 "2021-07-22T09:30:09Z")

</div>

The Xiaomi Mi Home app supports the old protocol for vacuum cleaners, have you tried?

> **[Xiaomi Mi Home](https://homey.app/nl-nl/app/com.xiaomi-miio/Xiaomi-Mi-Home/)**
>
> Bedien Xiaomi Mi Home apparaten via Homey

---

<div class="post-metadata">

**Author:** ![Justin](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/justin/32/23485_2.png) [@Justin](https://community.homey.app/u/Justin)\
**Post date:** [July 22, 2021, 9:41am UTC](https://community.homey.app/t/app-pro-roborock-vacuum-cleaners/49521/82 "2021-07-22T09:41:10Z")

</div>

Try:

IF statis has changed  
THEN Push message logic variable STATUS

Whats happening? And please think off the set polling frequency, which is probably 60 seconds? If yes, you receive a push every 60 seconds WHEN status has changed.

It should give a push ‘room-cleaning’ or ‘zone-cleaning’.

---

<div class="post-metadata">

**Author:** ![Exile82](https://avatars.discourse-cdn.com/v4/letter/e/8491ac/32.png) [@Exile82](https://community.homey.app/u/Exile82)\
**Post date:** [July 22, 2021, 10:17am UTC](https://community.homey.app/t/app-pro-roborock-vacuum-cleaners/49521/83 "2021-07-22T10:17:05Z")

</div>

Thanks, I will test that

---

<div class="post-metadata">

**Author:** ![Justin](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/justin/32/23485_2.png) [@Justin](https://community.homey.app/u/Justin)\
**Post date:** [July 22, 2021, 11:58am UTC](https://community.homey.app/t/app-pro-roborock-vacuum-cleaners/49521/84 "2021-07-22T11:58:06Z")

</div>

In the back of my mind I remember that I had this same issue with the old Ciaomi Home app and my old S5. It had something to do with the coordinates, when they’re wrong the robot is starting a regular cleaning program instead of saying ‘I can not reach the target’.

I will start puzzling this evening and let go of the room cleanup for a while

---

<div class="post-metadata">

**Author:** ![peltsi51](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peltsi51/32/12564_2.png) [@peltsi51](https://community.homey.app/u/peltsi51)\
**Post date:** [July 22, 2021, 12:08pm UTC](https://community.homey.app/t/app-pro-roborock-vacuum-cleaners/49521/85 "2021-07-22T12:08:44Z")

</div>

1. Tried trigger card “status has changed”. It doesn’t trigger at all. The status in the roborock device in Homey is changing to cleaning when cleaning is started, but it changes to stopped if room cleaning is started and the flow is not triggered.
2. Tried remove/adding the device again. Didn’t change anything.
3. Tried uninstall/reinstall the app and add the device again. Didn’t change anything.
4. Starting, stopping and docking work controlled from the homey roborock device
5. Though the roborock status variable is changing and it is “stopped” when the vacuum is in room cleaning mode.

Vacuum S5max and app 1.3.2

---

<div class="post-metadata">

**Author:** ![Justin](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/justin/32/23485_2.png) [@Justin](https://community.homey.app/u/Justin)\
**Post date:** [July 22, 2021, 12:58pm UTC](https://community.homey.app/t/app-pro-roborock-vacuum-cleaners/49521/86 "2021-07-22T12:58:24Z")

</div>

I’ll dig into this as well.

---

<div class="post-metadata">

**Author:** ![Justin](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/justin/32/23485_2.png) [@Justin](https://community.homey.app/u/Justin)\
**Post date:** [July 22, 2021, 2:41pm UTC](https://community.homey.app/t/app-pro-roborock-vacuum-cleaners/49521/87 "2021-07-22T14:41:01Z")

</div>

How important is the zone cleaning by coordinates? Isn’t it way more useful to build a “room cleaning” functionality that enables you to start cleaning a room with a flow? And setting up rooms in the Xiaomi app?

---

<div class="post-metadata">

**Author:** ![Paul\_Scholte](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/paul_scholte/32/16562_2.png) [@Paul\_Scholte](https://community.homey.app/u/Paul_Scholte)\
**Post date:** [July 22, 2021, 3:08pm UTC](https://community.homey.app/t/app-pro-roborock-vacuum-cleaners/49521/88 "2021-07-22T15:08:44Z")

</div>

> [@Justin](#):
>
> What did you use as polling frequency? Try putting it on 60 seconds and do the following:
> 
> IF The status changes  
> AND The robot is cleaning (Aan het stofzuigen)  
> THEN Pushmessage **Cleaning [variable STATUS]**
> 
> If you start the robot, it should give you a push message every 60 seconds (polling frequency) saying ‘Cleaning cleaning’…

Justin,  
I have tested two flows, polling frequency set to 60 sec  
Flow1:  
IF the status changes  
THEN log papertrail Status [variable STATUS]

This Flow 1 never triggers! So, logging never occurs whatever status change (cleaning, docked, stopped)

Flow 2:  
IF the status has changed to … docked  
THEN  
Log papertrail Vaccum Cleaner status: [variable VACUUM CLEANER STATUS]  
Log papertrail stofzuiger Aan. Status [variable STATUS]

This Flow 2 does trigger. Output that is logged:

|2021-07-22 03:22.18||Vaccum cleaner status: docked  
|2021-07-22 03:22.19||Stofzuiger Aan. Status: [[status]]

Apparently the variable VACUUM CLEANER STATUS is filled, but the variable STATUS remains empty.

Version 1.3.2, Roborock S6

Seems a similar problem as @peltsi51 reported?

Regards,  
Paul

---

<div class="post-metadata">

**Author:** ![Paul\_Scholte](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/paul_scholte/32/16562_2.png) [@Paul\_Scholte](https://community.homey.app/u/Paul_Scholte)\
**Post date:** [July 22, 2021, 3:12pm UTC](https://community.homey.app/t/app-pro-roborock-vacuum-cleaners/49521/89 "2021-07-22T15:12:31Z")

</div>

For me the room cleaning functionality is preferred above zone-cleaning. The latter is too laborious for me.  
Regards,  
Paul

---

<div class="post-metadata">

**Author:** ![Justin](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/justin/32/23485_2.png) [@Justin](https://community.homey.app/u/Justin)\
**Post date:** [July 22, 2021, 3:19pm UTC](https://community.homey.app/t/app-pro-roborock-vacuum-cleaners/49521/90 "2021-07-22T15:19:50Z")

</div>

Sounds like a similar problem indeed. I will try and reproduce this and come up with a fix.

---

<div class="post-metadata">

**Author:** ![Mariomark1541](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mariomark1541/32/178160_2.png) [@Mariomark1541](https://community.homey.app/u/Mariomark1541)\
**Post date:** [July 22, 2021, 3:23pm UTC](https://community.homey.app/t/app-pro-roborock-vacuum-cleaners/49521/91 "2021-07-22T15:23:39Z")

</div>

Is it possible to get the token on a phone or is that not possible

I gues with the old app there’s is an modded xiaomi home app where you can see the token

---

<div class="post-metadata">

**Author:** ![Justin](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/justin/32/23485_2.png) [@Justin](https://community.homey.app/u/Justin)\
**Post date:** [July 22, 2021, 3:25pm UTC](https://community.homey.app/t/app-pro-roborock-vacuum-cleaners/49521/92 "2021-07-22T15:25:03Z")

</div>

That’s a first for me, a modded app to see the token. Maybe with a Android app, as Apple user I am used to everything being boxed and no way to enter such information.

As far as I know you can only find the tokens through a computer. I posted two ways of doing soo above, for Windows and Mac.

---

<div class="post-metadata">

**Author:** ![Morgan](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/morgan/32/15416_2.png) [@Morgan](https://community.homey.app/u/Morgan)\
**Post date:** [July 22, 2021, 3:45pm UTC](https://community.homey.app/t/app-pro-roborock-vacuum-cleaners/49521/93 "2021-07-22T15:45:59Z")

</div>

> [@Justin](#):
>
> How important is the zone cleaning by coordinates? Isn’t it way more useful to build a “room cleaning” functionality that enables you to start cleaning a room with a flow? And setting up rooms in the Xiaomi app?

I agree! I think Room cleaning is more useful than Zone cleaning in Homey. So if you have to prioritize I vote for Room cleaning.

I am so happy with Move to target. Homey starts full clean if everyone leaves the house. When vaccum is fully charged it moves to a place close to trash bin. I just arrived and we were all smiling when it waited to me emptied. 🙂

---

<div class="post-metadata">

**Author:** ![Justin](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/justin/32/23485_2.png) [@Justin](https://community.homey.app/u/Justin)\
**Post date:** [July 22, 2021, 3:48pm UTC](https://community.homey.app/t/app-pro-roborock-vacuum-cleaners/49521/94 "2021-07-22T15:48:00Z")

</div>

Haha that smiling I can imagen, feels amazing if it works like that!

---

<div class="post-metadata">

**Author:** ![Morgan](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/morgan/32/15416_2.png) [@Morgan](https://community.homey.app/u/Morgan)\
**Post date:** [July 22, 2021, 3:52pm UTC](https://community.homey.app/t/app-pro-roborock-vacuum-cleaners/49521/95 "2021-07-22T15:52:05Z")

</div>

> [@Mariomark1541](#):
>
> Is it possible to get the token on a phone or is that not possible
> 
> I gues with the old app there’s is an modded xiaomi home app where you can see the token

There are old Android versions of the app where you can find the Token.  
[https://homey.guide/wp-content/uploads/apk/MiHome\_6.6.602\_64003\_vevs.apk](https://homey.guide/wp-content/uploads/apk/MiHome_6.6.602_64003_vevs.apk)

It is a link hosted by a danish site with a lot of tips and tricks.

> **[Homey.guide – ::: Guides & inspiration til Athom Homey :::](https://homey.guide)**

---

<div class="post-metadata">

**Author:** ![Justin](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/justin/32/23485_2.png) [@Justin](https://community.homey.app/u/Justin)\
**Post date:** [July 22, 2021, 3:52pm UTC](https://community.homey.app/t/app-pro-roborock-vacuum-cleaners/49521/96 "2021-07-22T15:52:56Z")

</div>

But how does he do that? Since you have to link the device using a token. I can spit out the token as well, but you need a token to spit out the token?

---

<div class="post-metadata">

**Author:** ![Justin](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/justin/32/23485_2.png) [@Justin](https://community.homey.app/u/Justin)\
**Post date:** [July 22, 2021, 3:56pm UTC](https://community.homey.app/t/app-pro-roborock-vacuum-cleaners/49521/97 "2021-07-22T15:56:41Z")

</div>

These are my test results. Indeed, other models than the S7 are not functioning with the “If the status has changed” trigger. I did not test other devices then the S5 Max because I think I know were to problem is. I will try and fix this in the next release.

* * *

**Device:** S5 Max  
**Settings:** Polling 60 seconds, app version 1.3.2 stable

Tested by starting cleaning in the Xiaomi app. Same goed for pressing PAUSE, pressing DOCK (returning) and waiting for the robot to start charging etcetera.

**Flowcard** IF The status changed to …

Status changed to … docked  
**WORKING \> Auto trigger at polling frequency WHEN BATTERY WAS 100%**

Status changed to … cleaning  
**WORKING \> Auto trigger at polling frequency**

Status changed to … charging  
**WORKING \> Auto trigger at polling frequency**

Status changed to … stopped  
**WORKING \> Auto trigger at polling frequency**

**Flowcard** IF The status has changed

Cleaning \> Pressed clean button in app 17:41  
**NOT WORKING**

docked \> Pressed docked button in app 17:44  
**NOT WORKING**

charging \> Could not test but probably not working  
**NOT TESTED**

stopped \> Pressed pause button in app 17:43  
**NOT WORKING**

* * *

**Device:** S7  
**Settings:** Polling 60 seconds, app version 1.3.2 stable

Tested by starting cleaning in the Xiaomi app. Same goed for pressing PAUSE, pressing DOCK (returning) and waiting for the robot to start charging etcetera.

**Flowcard** IF The status changed to …

Status changed to … docked  
**WORKING \> Auto trigger at polling frequency WHEN BATTERY WAS 100%**

Status changed to … cleaning  
**WORKING \> Auto trigger at polling frequency**

Status changed to … charging  
**WORKING \> Auto trigger at polling frequency**

Status changed to … stopped  
**WORKING \> Auto trigger at polling frequency**

**Flowcard** IF The status has changed

cleaning \> Pressed clean button in app 17:53  
**WORKING \> Auto trigger at polling frequency**

paused \> Pressed pause button in app 17:54  
**WORKING \> Auto trigger at polling frequency**

returning \> Pressed return to dock button in app 17:56  
**WORKING \> Auto trigger at polling frequency**

charging \> Auto trigger at polling frequency  
**WORKING \> Auto trigger at polling frequency**

docked \> Auto trigger at polling frequency WHEN BATTERY WAS 100%  
**WORKING \> Auto trigger at polling frequency**

---

<div class="post-metadata">

**Author:** ![wesley\_w](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wesley_w/32/10127_2.png) [@wesley\_w](https://community.homey.app/u/wesley_w)\
**Post date:** [July 22, 2021, 3:57pm UTC](https://community.homey.app/t/app-pro-roborock-vacuum-cleaners/49521/98 "2021-07-22T15:57:13Z")

</div>

Yes me too. Room cleaning is preferred. I’m waiting on the side line until room cleaning is available in this new app. Currently I have some ZigBee issues that has priority in my household.

---

<div class="post-metadata">

**Author:** ![Justin](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/justin/32/23485_2.png) [@Justin](https://community.homey.app/u/Justin)\
**Post date:** [July 22, 2021, 3:59pm UTC](https://community.homey.app/t/app-pro-roborock-vacuum-cleaners/49521/99 "2021-07-22T15:59:24Z")

</div>

I think it’s clear that you all want room cleanup to work first. I will roll back the zone cleanup by coordinates (since it’s not working as it should) and focus on this later on.

Next release has priority for room cleanup and the status has changed flow card.

Thank you all.

---

<div class="post-metadata">

**Author:** ![Justin](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/justin/32/23485_2.png) [@Justin](https://community.homey.app/u/Justin)\
**Post date:** [July 22, 2021, 4:02pm UTC](https://community.homey.app/t/app-pro-roborock-vacuum-cleaners/49521/100 "2021-07-22T16:02:59Z")

</div>

Well that was a fast one… Haha! The status card is already fixed, I found the issue. I always triggered the S7 model instead of the right model that has been chosen as device.

I can not test a stable version right now since i’m not home but I will test this bug this evening. If it works, I will patch this first before heading to the room cleanup.

[Previous page](https://community.homey.app/t/app-pro-roborock-vacuum-cleaners/49521.md?page=4)

[Next page](https://community.homey.app/t/app-pro-roborock-vacuum-cleaners/49521.md?page=6)
