New Roborock S5 Max Vacuum Cleaner

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.

I got my S5 Max a few days ago and have successfully integrated it into HA.

Just wondering if there is anyway from within HA to control water levels for the mopping?

I’ve also found, if I set the vacuum power to “customize” it shows as “106” in HA. The other power settings show up correctly. I would like to be able to set the “customize” power setting via HA.

Any thoughts?

Hi, all s5 max on the way. Read the entire thread. One thing I do not understand yet about “getting the token” is if I need to “register somewhere”? Do I need to install an adroid app? Or windows app or other? And is that really needed? Can I delete that app afterwards and keep using the HA integration? In other words, can I attach the s5 via a separate ip subnet from my home network with internet access to home assistant without registering on a chinese cloud?

Thanks in advance for answering possibly stupid questions.

Yes, in the Mi Home app you have to create an account.

Yes. The Mi Home app. AFAIK, there is no Windows app.

Yup! Can’t register or activate the vacuum without it (which is REALLY stupid, but it is what it is).

Nope. If the vacuum can’t connect to the Xiaomi servers, it won’t be able to be controlled via either HA or the app.

What you can do though, is install Valetudo on it. For the S5 max, you have to connect to it via uart, though.

https://valetudo.cloud/pages/general/rooting-instructions.html
https://builder.dontvacuum.me/s5e-cheatsheet.txt

1 Like

Thanks for replying!

Hm… if I have added the S5 max to wifi it can connect to the server though? Do I really need to keep an app on my phone? really? prefer not to…

Valutedo? I that a custom firmware thing alike?

1 Like

You don’t have to have the app on your phone after you setup the vacuum, but you won’t be able to create zones, virtual walls, or any of those things (that I know of) without it.

It is and it’s fantastic. No reporting to any external (Chinese) servers and better features (imho). I have the S5 (non-max), so my install was a lot easier. But, it’s worth it.

And If I would do this would I still need that app? But then without a chinese server?

Nope. No app needed. Just a webbrowser (or HA):

Oh… why is this possible!?

The fact it comes via Ali, warranty is sh*t does not necessarily mean I should immediately flash the firmware and possibly brick it :slight_smile:

1 Like

On getting the token, it’s super simple to get it using this token extractor.

Yes, I believe so… but I do no have the vacuum cleaner yet and was wondering if to get that token it is really needed to install a Chinese app on my phone before getting the cleaner to work…

1 Like

Ok, gotcha.

I don’t know, but I have a vague recollection of someone discussing this topic in this thread:

Think it was someone who got the token and then deleted their account and maybe got some problems, something like that. See if you can get a hold of @Piotr_Chmielewski, I am sure he knows.