In addition to this, I’ve been successful in retrieving the tokens using this method:
What you first do is, reset the device to manufacturing settings. This will normally let you re-pair the device to your home WiFi via your mobile phone app (how-to in this video: https://youtu.be/NZl1P7rR8WQ?t=64), but that’s NOT what we want for now… We want to get that token.
Hey I have a problem and i have the token and right ip but i get " Could not connect to device, handshake timeout " in the homey app this is about a xiaomi roborock v2 is there any easyfix for this?
Waterlevel does not seem to be a supported capability within the miio library. If you submit a feature request in my repo on GitHub I might look into it when I have more time.
This seems to be the issue where a command send through the miio library sometimes is not processed by the miio device. Have your tried repeating the same command a couple of times?
Hi Phuturist! First of all: many thanks that you created and maintain this application.
I’m using it to control my Roborock S50 (v2) and succeeded in getting the token. I’m able to control it through Homey but I have a reliability issue. Only about half of the requests come through. The vacuum is scheduled to clean every day (through my Homey) and sometimes it works like a charm for a few days, and then it doesn’t. I’ve ruled out issues on my side (flow does fire (confirmed by logging + push notification), network connectivity, RAM, CPU, etc). Is this perhaps a known issue? If not, how can I support you with troubleshooting?