[APP][Pro] Roborock Vacuum Cleaners

Thanks Chris for the tip. I will defenitly try to test that once I get the S7 recognized by Homey again. ‘Good’ to know i’m at least not the only one with this issue…

I have a similar problem with S6 MaxV since a few days. I need to restart Roborock Homey-app because my vaccum is unavailable.
I experienced this problem half a year ago and created a flow for restarting Roborock Homey-app every night. It has been disabled for several months but now I have enabled it again. I think it is a problem with Xiaomi server service (API) or the communication with it.

Hi Morgen,
Thanks, I have a similar flow to restart the app once per day but re-starting did only in 2 occassion resolved the issue for me. Most of the time however restarting the app did not bring the connection to the S7 back unfortunately

Hi there, I have a problem with S6 vacuum. None of above mentioned worked for me to get token. This one worked - Guide to retrieve Xiaomi Roborock (and other) tokens! - Hardware - Home Assistant Community (home-assistant.io)
But only till I have connected S6 to my iphone again via app… after I have connected roborock to iphone app, it has disappeard from homey (became unreachable).
I am based in Czech Republic and have EU version od vacuum which cant be added to china server :(.

Ahoj, I’m using EU version on CZ cloud and no issues… and I’m having S6. So you must be doing something differently. I’m on S6 FW version 3.5.8_2700, if that’s help. But I’m using Android MI Home app but I don’t think it’s relevant…

1 Like

First love The app!

But any hobe in adding clean floor 2 times when i start cleaning a room. After one of the last updates it now clean # pattern when 2 times:)

1 Like

I just use a logic counter, it cleans either entire house or only kitchen/storing, so I know the number of m2. When it has cleaned 175m2 it moves to the dustbin at 18.00

1 Like

Ahoj,
So what I have been doing wrong with my S6?

  1. Setup static IP adress for vacuum
  2. Restarted wifi on vacuum
  3. Connected to old version of Xiami Mi Home app on Xiami Mi Pad
  4. Retrieved token
  5. Connected Roborock to Homey
  6. Homey is communicating with Roborock ok, but device is marked as offline on iPhone Xiaomi App
  7. Restarted wifi on vacuum to add it to iPhone app
  8. Vacuum shows in iPhone app and gets commands
  9. Homey stops comunication with Vacuum
  10. Try to re-add vacuum in homey (same token, same IP adress), but device is not recognized

iPhone :wink:
Just kidding but can you try to use app on Android, of you will loose connectivity as well?
For sure you can’t re-add vacuum in the official app because it will create new token…

Interesting, would you be willig to share these flows?

In case someone would like to move robot to some specific place, after cleaning some specific amount of m2, what is required for it until (if) developer add area cleaned to the app itself (sorry for being slightly OT) :

  • MQTT Broker also MQTT Hub and MQTT Client + HomeyScript for converting value - search for related topics

  • IoBroker Docker Hub ! with relevant adapters MiHome-Vacuum Adapter and publish it via MQTT-client (which needs to be connected to MQTT Broker running on Homey) - IoBroker is running for me as container on my Synology NAS (on Docker container - but you can use for example Raspberry) - again search forum for details. If you have two vacuum robots, you need to install those adapter twice …

  • this shows which parts I published via the MQTT



(2nd is example, you can take state from app)

Flows for updating m2 cleaned

https://homey.app/en-us/flow/jG_LVU/

(you need Homey script to convert string value to number for calculation using this HomeyScript - maybe you can use some other way…

// Converts a atring to a number
var MyNum = parseFloat(args[0])
await tag("RetNum",MyNum);
return true;

https://homey.app/en-us/flow/wGOMVU/

And then action when “bin is full” - naturally you have to use your coordinates etc.


https://homey.app/en-us/flow/MIjNVU/

It’s not easy and this is not full guidance…but maybe just to get idea.
Hopefully I didn’t skip anything crucial.

It’s working for me much better then the notification from the Mi-Home app honestly.

Yes sure. This one I use to determine what areas should be cleaned in the night. (Depends if at daytime living is cleaned when house is empty)

https://homey.app/f/FUtPVU

And this one for the full bin:

https://homey.app/f/e8WPVU

1 Like

Hi Chris_nl,

I’ve finally managed to get my S7 recognized by Homey again, but unfortunately the connection with the S7 is lost for Homey after a certain amount of time. Resetting the App does not work.

However, your hint on ‘lifting the vacuumcleaner from the dock’ does work!!! :partying_face:
Now the million dollar question is; how to get the same result (restoring connection to the robot) via a flow instead of physically lifting the S7 myself each time i want to use it via Homey.

Does anybody have a clue how to achieve this?

Thanks!

1 Like

Thanks, i will try not to reconnect vacuum to original app on iphone (i think it will be ok), but I used that app for room cleaning as it is much easier for my girl friend to run original app :).

When you loose conection, have Homey send a text to your significant other .

2 Likes

:rofl: :joy:

If I would be able to enforce that level of ‘obedience’ at home, I would not have needed a robot vacuum in the first place :wink: :innocent:

1 Like

:joy:

Hi Justin,

Is there any timeframe for your app to used on the Homey Bridge?

Kind regards

1 Like

@Justin is there any way we can figure out why this is happening and maybe it can be resolved in the app, would logs help you debug this issue, or are you already aware why this happens?

Hi Chris_NL

Thank you for bumping this topic.

During the last week’s i have often used ‘your trick’ to wake up the vacuum and noticed that, in combination with frequently resetting the app and to -when a connection with the vacuum was available- to manually change the status of the device from “op het laadstation” to “aan het laden”, that the up time of the vacuum in homey improved up to a point that only an app reset seems to be enough to keep the device connected.

I have no logical explanation for it, but it seems to do the trick somehow…(knock on wood) and have not noticed any glitches anymore resulting in flows not working.

So I’m a happy user :blush: