# Xiaomi Mi Roborock S50 vacuum cleaner token

**URL:** <https://community.homey.app/t/xiaomi-mi-roborock-s50-vacuum-cleaner-token/2516>\
**Category:** Questions & Help\
**Created:** [October 6, 2018, 4:02pm UTC](https://community.homey.app/t/xiaomi-mi-roborock-s50-vacuum-cleaner-token/2516 "2018-10-06T16:02:52Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![Saroel](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/saroel/32/9728_2.png) [@Saroel](https://community.homey.app/u/Saroel)\
**Post date:** [January 5, 2019, 10:21pm UTC](https://community.homey.app/t/xiaomi-mi-roborock-s50-vacuum-cleaner-token/2516/21 "2019-01-05T22:21:20Z")

</div>

Tack ändå. Det löste sig. Hittade en annan modifierad APK och fick fram token.

Med vänlig hälsning

---

<div class="post-metadata">

**Author:** ![Raytestrak](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/raytestrak/32/3299_2.png) [@Raytestrak](https://community.homey.app/u/Raytestrak)\
**Post date:** [January 18, 2019, 2:08pm UTC](https://community.homey.app/t/xiaomi-mi-roborock-s50-vacuum-cleaner-token/2516/22 "2019-01-18T14:08:34Z")

</div>

I’m thinking of buying a roborock s50/s55. Does it still work with Homey 2.0?

---

<div class="post-metadata">

**Author:** ![Jan\_Peeters](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jan_peeters/32/86660_2.png) [@Jan\_Peeters](https://community.homey.app/u/Jan_Peeters)\
**Post date:** [January 19, 2019, 9:20am UTC](https://community.homey.app/t/xiaomi-mi-roborock-s50-vacuum-cleaner-token/2516/23 "2019-01-19T09:20:25Z")

</div>

Yes,  
Modified app to find the token:  
[https://drive.google.com/drive/folders/18OyC78peggCdiMmmT7i5bpvpdMJl1Ec1?usp=sharing](https://drive.google.com/drive/folders/18OyC78peggCdiMmmT7i5bpvpdMJl1Ec1?usp=sharing)

You do not need to be on the “china mainland” server.

---

<div class="post-metadata">

**Author:** ![Raytestrak](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/raytestrak/32/3299_2.png) [@Raytestrak](https://community.homey.app/u/Raytestrak)\
**Post date:** [January 23, 2019, 10:24pm UTC](https://community.homey.app/t/xiaomi-mi-roborock-s50-vacuum-cleaner-token/2516/24 "2019-01-23T22:24:23Z")

</div>

Thanks @Jan_Peeters! Very easy with the app!

---

<div class="post-metadata">

**Author:** ![Eternity](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/eternity/32/102113_2.png) [@Eternity](https://community.homey.app/u/Eternity)\
**Post date:** [January 23, 2019, 10:39pm UTC](https://community.homey.app/t/xiaomi-mi-roborock-s50-vacuum-cleaner-token/2516/25 "2019-01-23T22:39:14Z")

</div>

I hope to receive my S50 this week. I believe you guys are users  
@Jan_Peeters  
@Edgar_Jackson  
@Saroel  
@MbenzNo

What would you recommend, after receiving my robot:  
First have it connected with the standard Xiaomi App, so I can get used to it?  
Or, just get the token with the modified app (great!) and connect it to Homey?

Thanks!

---

<div class="post-metadata">

**Author:** ![MbenzNo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mbenzno/32/5704_2.png) [@MbenzNo](https://community.homey.app/u/MbenzNo)\
**Post date:** [January 24, 2019, 10:44am UTC](https://community.homey.app/t/xiaomi-mi-roborock-s50-vacuum-cleaner-token/2516/26 "2019-01-24T10:44:00Z")

</div>

If You are not in a hurry to get it connected to Homey, just start using it with the standard app. Figure out the Home automation stuff later.

---

<div class="post-metadata">

**Author:** ![Eternity](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/eternity/32/102113_2.png) [@Eternity](https://community.homey.app/u/Eternity)\
**Post date:** [January 24, 2019, 11:25am UTC](https://community.homey.app/t/xiaomi-mi-roborock-s50-vacuum-cleaner-token/2516/27 "2019-01-24T11:25:30Z")

</div>

Thanks @MbenzNo !

---

<div class="post-metadata">

**Author:** ![Keverjeroen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/keverjeroen/32/369_2.png) [@Keverjeroen](https://community.homey.app/u/Keverjeroen)\
**Post date:** [January 24, 2019, 2:20pm UTC](https://community.homey.app/t/xiaomi-mi-roborock-s50-vacuum-cleaner-token/2516/28 "2019-01-24T14:20:21Z")

</div>

I am a Roborock user too, and very happy with the cleaner. Also connected to Homey, but actualy I don’t have any flows yet for it. Has anyone a good user case what to automate?

-edit- we have cats, so I don’t want the Roborock drive around when we are not home. (search on youtub for ‘roomba dog poop’ and you understand why)

---

<div class="post-metadata">

**Author:** ![Tomm](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tomm/32/10625_2.png) [@Tomm](https://community.homey.app/u/Tomm)\
**Post date:** [January 24, 2019, 2:23pm UTC](https://community.homey.app/t/xiaomi-mi-roborock-s50-vacuum-cleaner-token/2516/29 "2019-01-24T14:23:01Z")

</div>

Return to dock when bot is cleaning and somebody comes home.

---

<div class="post-metadata">

**Author:** ![Jan\_Peeters](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jan_peeters/32/86660_2.png) [@Jan\_Peeters](https://community.homey.app/u/Jan_Peeters)\
**Post date:** [January 24, 2019, 3:21pm UTC](https://community.homey.app/t/xiaomi-mi-roborock-s50-vacuum-cleaner-token/2516/30 "2019-01-24T15:21:42Z")

</div>

Start cleaning as soon as the house is not occupied

---

<div class="post-metadata">

**Author:** ![Raytestrak](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/raytestrak/32/3299_2.png) [@Raytestrak](https://community.homey.app/u/Raytestrak)\
**Post date:** [January 24, 2019, 7:39pm UTC](https://community.homey.app/t/xiaomi-mi-roborock-s50-vacuum-cleaner-token/2516/31 "2019-01-24T19:39:06Z")

</div>

When does the token change? I added the modified app to phone A (my old phone), added it to Homey with the token I got from the app. Tested it from Homey and it worked like a charm. Then I added the Mi Home app to my other phone and now Homey does not see it anymore.

How do I use the official (and thus updatable) app AND connect the Roborock to Homey? It’s a pretty nifty device, the vacuum, cleans better than I had expected.

Edit: according to [this](https://www.home-assistant.io/components/vacuum.xiaomi_miio/#retrieving-the-access-token), the token should be readable in a logfile using the original **android** app. I haven’t been able to find a folder named Smarthome on my phone though.

Edit 2: reinstalled the modified apk tp check the token, it’s still the same, but when I try to connect Homey it says " device might be **destroyed** 🤣  
I just restarted the Mi Home app on Homey and now I was able to connect the Roborock again.

---

<div class="post-metadata">

**Author:** ![jolerius](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jolerius/32/7907_2.png) [@jolerius](https://community.homey.app/u/jolerius)\
**Post date:** [January 28, 2019, 7:33am UTC](https://community.homey.app/t/xiaomi-mi-roborock-s50-vacuum-cleaner-token/2516/32 "2019-01-28T07:33:58Z")

</div>

Check the ip-adress of the vacuum. Mine sometimes changes IP.

---

<div class="post-metadata">

**Author:** ![JohanT](https://avatars.discourse-cdn.com/v4/letter/j/c6cbf5/32.png) [@JohanT](https://community.homey.app/u/JohanT)\
**Post date:** [January 30, 2019, 7:39pm UTC](https://community.homey.app/t/xiaomi-mi-roborock-s50-vacuum-cleaner-token/2516/33 "2019-01-30T19:39:24Z")

</div>

Continuing the discussion from [Xiaomi Mi Roborock S50 vacuum cleaner token](https://community.homey.app/t/xiaomi-mi-roborock-s50-vacuum-cleaner-token/2516):

web based [https://account.xiaomi.com](https://account.xiaomi.com)  
under personal info go to personal data rights  
request personal data file  
a few days later you will receive in your mailbox a message with a zip file

_Dear Customer,_

_Your personal data file of Smart Home is ready. Please find the attachment in this email._

_For security reasons, the file is encrypted. You will receive the key in another email, Subject: Important information from Xiaomi. Please check your inbox later._

_Sincerely,_  
_Xiaomi Security and Privacy Committee_

The zip file contains the token and mac of all your registered products (in my case Robovac and all my Yeelights) file sg\_user\_device\_data (sg if your on Singapore server)

---

<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:** [January 31, 2019, 8:03pm UTC](https://community.homey.app/t/xiaomi-mi-roborock-s50-vacuum-cleaner-token/2516/34 "2019-01-31T20:03:19Z")

</div>

> [@JohanT](#):
>
> Continuing the discussion from [Xiaomi Mi Roborock S50 vacuum cleaner token](https://community.homey.app/t/xiaomi-mi-roborock-s50-vacuum-cleaner-token/2516):
> 
> web based [https://account.xiaomi.com](https://account.xiaomi.com)  
> under personal info go to personal data rights  
> request personal data file  
> a few days later you will receive in your mailbox a message with a zip file
> 
> _Dear Customer,_
> 
> _Your personal data file of Smart Home is ready. Please find the attachment in this email._
> 
> _For security reasons, the file is encrypted. You will receive the key in another email, Subject: Important information from Xiaomi. Please check your inbox later._
> 
> _Sincerely,_  
> _Xiaomi Security and Privacy Committee_
> 
> The zip file contains the token and mac of all your registered products (in my case Robovac and all my Yeelights) file sg\_user\_device\_data (sg if your on Singapore server)

Pretty cool, I’ll test this and if it works I’ll add it as one of the options for retrieving the token.

---

<div class="post-metadata">

**Author:** ![Sanderrr](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sanderrr/32/9907_2.png) [@Sanderrr](https://community.homey.app/u/Sanderrr)\
**Post date:** [March 18, 2019, 3:53pm UTC](https://community.homey.app/t/xiaomi-mi-roborock-s50-vacuum-cleaner-token/2516/36 "2019-03-18T15:53:32Z")

</div>

So, it took me quite a while last weekend to figure this out, while the solution can actually be REALLY simple when using an Android device:

Step 1: Download version 5.4.49 of the Mi Home app from an APK mirror site and install on your phone  
Step 2: Login, select server (whatever you like, EU also works) and add the S50 to your account  
Step 3: Using a file browser on your device, go to the SmartHome/logs/plug\_DeviceManager folder and open the TXT file  
Step 4: Look for the token in that file, it’s somewhere at the bottom  
Step 5: Do your thing on Homey to ensure the token you extracted works/is correct  
Step 6: Upgrade the Mi Home app to the latest version

---

<div class="post-metadata">

**Author:** ![EmielC](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/emielc/32/8476_2.png) [@EmielC](https://community.homey.app/u/EmielC)\
**Post date:** [April 3, 2019, 9:25pm UTC](https://community.homey.app/t/xiaomi-mi-roborock-s50-vacuum-cleaner-token/2516/37 "2019-04-03T21:25:14Z")

</div>

I downloaded an adjusted xiaomi MI home apk. (Android only) [https://drive.google.com/open?id=1dlaI-1I4\_0fyrhMYl4b\_Z7M33QLBhz4V](https://drive.google.com/open?id=1dlaI-1I4_0fyrhMYl4b_Z7M33QLBhz4V)  
select the device \> click the three dots in right upper corner \> go to general settings \> click network info. Your token is available.

You can also use a packet capturer but I wouldn’t recommend it. It sometimes has difficulties showing the data and you not always end up with the token but just a string of letters and number. The apk was the easiest way in my case. I was a bit lazy and didn’t want to start coding. Took me 5 minutes to install, find out, insert the token into the homey app, verify and start cleaning.

---

<div class="post-metadata">

**Author:** ![Berni](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/berni/32/9528_2.png) [@Berni](https://community.homey.app/u/Berni)\
**Post date:** [April 5, 2019, 9:34pm UTC](https://community.homey.app/t/xiaomi-mi-roborock-s50-vacuum-cleaner-token/2516/38 "2019-04-05T21:34:09Z")

</div>

You can also request your personal data file over the app:  
— Go to Profile  
— Click on top right on your picture  
— Edit Info  
— personal data rights

After a verification over email, you will get the data file within 30 days  
As I did not got the file, I can not say if it works… keep fingers crossed 😀  
Thanks for this tip

---

<div class="post-metadata">

**Author:** ![Martin\_Ahlert](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martin_ahlert/32/9579_2.png) [@Martin\_Ahlert](https://community.homey.app/u/Martin_Ahlert)\
**Post date:** [April 6, 2019, 8:25pm UTC](https://community.homey.app/t/xiaomi-mi-roborock-s50-vacuum-cleaner-token/2516/39 "2019-04-06T20:25:50Z")

</div>

Done, hopefully I receive the data from China

---

<div class="post-metadata">

**Author:** ![Ult1mat3X](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ult1mat3x/32/10644_2.png) [@Ult1mat3X](https://community.homey.app/u/Ult1mat3X)\
**Post date:** [May 13, 2019, 9:02am UTC](https://community.homey.app/t/xiaomi-mi-roborock-s50-vacuum-cleaner-token/2516/40 "2019-05-13T09:02:38Z")

</div>

I have Roborock S50. When starting cleanup robot creates new map perfectly and cleans good.  
After cleanup robot returns to docking station.

When I want to use zone cleanup or Go To function it will mess up completly. When starting it will think it is on the othe side of the wall and redraw whole map again simutuenly never reaching marked zone or spot. Sometimes it will start redrawing map and trying to “stich” it to exising one in wrong way.

It doesn’t happen always but often. For tesing I made sure not to touch or reposition robot itself or any furtinture between runs.

When using “Clean” function to clean all in one go it doesn’t really matter when it loses map and redraws it. But because of map corruption the zone cleanup isn’t working good.

I’ve purchased it from this [review](https://wisepick.org/best-robot-mop/) tbh, currently regret a bit about it…

Do you have any advaice?

---

<div class="post-metadata">

**Author:** ![Jos\_van\_Emmerik](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jos_van_emmerik/32/9913_2.png) [@Jos\_van\_Emmerik](https://community.homey.app/u/Jos_van_Emmerik)\
**Post date:** [May 13, 2019, 11:19am UTC](https://community.homey.app/t/xiaomi-mi-roborock-s50-vacuum-cleaner-token/2516/41 "2019-05-13T11:19:06Z")

</div>

sound like this problem comes from Roborock itself not from homey,

i have the s50 myself and have not had any problems with it.

i do have the map saving mode(beta) turned on do you have this to? if not i would try to turn it on in the vacuum settings.

also check if your robot has the latest firmware

if these things don’t fix the problem i think you should contact someone from Xiaomi itself for support

hope your problem will be solved!

[Previous page](https://community.homey.app/t/xiaomi-mi-roborock-s50-vacuum-cleaner-token/2516.md?page=1)

[Next page](https://community.homey.app/t/xiaomi-mi-roborock-s50-vacuum-cleaner-token/2516.md?page=3)
