New Roborock S5 Max Vacuum Cleaner

Have you got the token from the roborock app or mi home app?

The MiHome app

So it seems that siaomi tries to avoid third party control. First, it removed the token from the data obtained from my home app in the latest versions. Now they must have changed something else in the protocol … it sounds bad …

I’m yet in 3.5.4_0602 and works right.

Is there any way to get the token if you are using the Roborock app or do you need to use MI Home? Sorry if this was answered, but I did not see it.

1 Like

I think I was wrong. I only tried to get token with mi home app and this is the way I using it. Sorry.

In my experience, the easiest way is to use the windows “roborock_token” app: https://github.com/prinz3nroll3/roborock-token

BUT … what I’ve found for me (I use the Roborock app):

  • Resetting the Wifi and using the app above easily gets the token
  • Use the Roborock app to setup the S5 Max as a “new” vacuum (it, does infact just replace thje eixsting one, with all maps etc maintained) to connect it back to WiFi

BUT - this then appears to create a new token - which means we are back at square one. Anyone who uses Roborock app managed to get a token and then manage to get S5 max back in the app and also have a usable token??

Same here with an S5 Max, with an older firmware (01.06.xx) it worked also when connected to the network. With both firmwares, it said “unavailable” in Home Assistant :frowning:

1 Like

Used same app, token is showed, but I used it in NodeRed plugin and problem with connection.

Have S5 Max with firmare 1.08.76

So, I bought recently S5 Max as an upgrade of my S5. Still to understand if it really vacuums and mops better, but this ain’t the question.
I want to ease how I use it - since I use one setting for vacuuming and one setting for mopping I could really benefit of some widget-style operation - one button for vacuuming and one for mopping.

I found this - https://github.com/jghaanstra/com.robot.xiaomi-mi
If I understand correctly, if I spoof the UDP package for vacuuming and mopping I can potentially create my own widget.

My question - is it possible to obtain this with S5 Max and Roborock app? I have been trying for a while with the method above but I either get UDP packages, but they don’t work or I don’t get any. Does this work, in general? Or there is something wrong with the way I spy on my traffic?

Dont think it’s possible…yet. It appears that the token changes too often for it to be reliable when paired with the Roborock app. More discussion can be found here:

Please take a look at the following request for feedback on Roborock and share your feedback:

Hey Folks

I’ve added S5 Max to Home assistant on a very basic level… But i want to further integrate with homekit and show maps and do various things? Is it possible? Just shows as a switch currently in homekit

Can anyone guide on how to make this integration full with maps, scripts, zones etc so that we can do automation etc?

Hi, which version of Xiaomi Mi Home did you use to find the robot?
I can’t find a version that detects the robot

I’m with roborock 5s max and nonway to get token to allow HA manage the device…
any of workaround works… :frowning:
any idea…?

I recently picked up a Roborock S5 max on a pre-black Friday sale and though I would share my experience with getting it integrated with home assistant. There are a number of guides around for getting the token using a older version of the Mi Home app, downloaded an an apk. I could not get any of these to work. What worked very well was Mi-Home-token-extractor. I should note that my vacuum is set up with a country value of “us”. However, token-extractor reported no us token. I ran it again without specifying so it would search all countries. It reported the token under both “tw” and “sg”.

Set up of the integration proceeded normally after this. I also upgraded the firmware to the latest version without it impacting connectivity.

1 Like

So, anyone have the new S4 Max? From my google’ing its only compatible with the Roborock app, not the Mi home. Anyone have it connected to Home Assistant?

Hey,
If you haven’t got an answer, the S4 Max is supported in the Mi app
here is a picture of presumably all the vacuum supported by the Mi app

.

Given the volume and recency of the comments above is putting me off buying the S5 Max at all. Anyone want to convince me otherwise?

I have a s5 max in the mail on route to me. But I agree with you that integration in Home Assistant seems complicated.
It seems like there are multiple options to do so and it can be done with the mi app and the roborock app, but none of the solutions are very straightforward.

No, your choice.
If not ingrated into HA is a big item for you, don’t do it.
Otherwhise it is a supurb vacuumcleaner and I’m very happy with it.