# Roborock S5 Max in Routines/Smartthings

**URL:** <https://community.smartthings.com/t/roborock-s5-max-in-routines-smartthings/184866>\
**Category:** Automation Ideas\
**Created:** [January 24, 2020, 3:08pm UTC](https://community.smartthings.com/t/roborock-s5-max-in-routines-smartthings/184866 "2020-01-24T15:08:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stubo](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/stubo/32/105309_2.png) [@Stubo](https://community.smartthings.com/u/Stubo)\
**Post date:** [January 24, 2020, 3:08pm UTC](https://community.smartthings.com/t/roborock-s5-max-in-routines-smartthings/184866/1 "2020-01-24T15:08:59Z")

</div>

Hi All,

First post here so go easy 🙂

I’ve been browsing the forums trying to find an answer to this but the only posts i’ve found that are sort of related are a couple of years old and things have moved on.

I’m trying to find a way to integrate my Roborock S5 Max into smart things so that i can trigger it into routines. For example, when my home is set to away i’d like the vac to start a clean.

From what i can tell, people have suggested using alexa as a middleman, i’d set up a virtual switch but seeing as alexa wont see the vac (despite having the skill) i cant get it to trigger.

Also, not sure if it would help but i’m toying with the idea of a smart things hub…which may make a difference?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![JDRoberts](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/jdroberts/32/56577_2.png) [@JDRoberts](https://community.smartthings.com/u/JDRoberts)\
**Post date:** [January 24, 2020, 5:12pm UTC](https://community.smartthings.com/t/roborock-s5-max-in-routines-smartthings/184866/2 "2020-01-24T17:12:10Z")

</div>

There are definitely people using echo as a “man in the middle“ with the Roborock vacuum. Start with the following thread, and talk to the folks there. 🕶

> [@Xiaomi mi vacuum cleaner (also Roborock)](https://community.smartthings.com/t/xiaomi-mi-vacuum-cleaner/87798/64):
>
> I found that if you have both the Roborock AND the Mi Home skill enabled in Alexa, you can set up routines to stop (pause), resume, and return to dock. Officially, each of these skills only has on/off. However, the “off” in one skill pauses/stops, and the “off” in the other skill docks the robot. Having both skills enabled will give you two devices in Alexa. You can set up a voice activated routine to use one device’s off for “stop the vacuum” (etc) and the other device for “dock the vacuum” (etc).

---

<div class="post-metadata">

**Author:** ![gbenrus25](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/gbenrus25/32/96829_2.png) [@gbenrus25](https://community.smartthings.com/u/gbenrus25)\
**Post date:** [February 12, 2020, 11:16am UTC](https://community.smartthings.com/t/roborock-s5-max-in-routines-smartthings/184866/3 "2020-02-12T11:16:15Z")

</div>

You can integrate it natively if you have a raspberry pi or a server in the middle. Check out Mi Connector. The author hasn’t yet included the Roborock S5 Max but I was able to edit the docker container and add it. Essentially, just grep for all roborock s5 and change them to roborock s5e. You’d also need to make the same change to the SmartApp. I can direct you on how to do all this after you get Mi Connector set up.

> [@\[OBSOLETE\] Mi Connector (Xiaomi and Yeelight)](https://community.smartthings.com/t/mi-connector-xiaomi-and-yeelight/122305):
>
> Hi. Simplify setup process for xiaomi devices to SmartThings. If Mi-Connector is installed, virtual devices is registered automatically by Mi Connector Smartapp. You don’t have to do anything to add xiaomi device in Smartthings IDE. You can control Xiaomi devices at SmartThings. Lastest version. v.0.0.6.10 Support WiFi Devices. Xiaomi Air Purifier ( zhimi.airpurifier.m1, zhimi.airpurifier.m2, zhimi.airpurifier.v1, zhimi.airpurifier.v2, zhimi.airpurifier.v3, zhimi.airpurifier.v6, zhimi.airpurifier.v7, zhimi.airpurifier.mc1, zhimi.airpurifier.ma2 ) Xiaomi Humidifier ( zhimi.humidifier.v1 , zhimi.humidifier.ca1, shuii.humidifier.jsq001, zhimi.humidifier.ca4, zhimi.humidifier.cb1, zhimi.humidifier.cb2, deerma.humidifier.mjjsq, deerma.humidifier.jsq, deerma.humidifier.jsq1 ) Xiaomi Vacu…

---

<div class="post-metadata">

**Author:** ![MRobi](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/mrobi/32/100141_2.png) [@MRobi](https://community.smartthings.com/u/MRobi)\
**Post date:** [February 12, 2020, 5:38pm UTC](https://community.smartthings.com/t/roborock-s5-max-in-routines-smartthings/184866/4 "2020-02-12T17:38:28Z")

</div>

The Mi Connector app is pretty simple to setup and works well. The only challenge can be getting the token from the vacuum. I have the S6 and needed to install a hacked version of the Mi Home app to get the token, then re-install the regular version.

---

<div class="post-metadata">

**Author:** ![tontze](https://avatars.discourse-cdn.com/v4/letter/t/4af34b/32.png) [@tontze](https://community.smartthings.com/u/tontze)\
**Post date:** [January 10, 2021, 6:43pm UTC](https://community.smartthings.com/t/roborock-s5-max-in-routines-smartthings/184866/5 "2021-01-10T18:43:01Z")

</div>

Hi !  
I just managed to install Mi connector, amazing work there. But, i would like to do much more with new smartthings app than turn vacuuming on and stopping in its current position. Theres no dock button for example. Have i done something wrong, or how do you guys deal with this ?

Its roborock s5max i have @gbenrus25. Does it still need your modifications ?
