[APP][Pro] Xiaomi Mi Home App

Hi,

Trying to connect my Roborock S8 Pro Ultra. Using a un-ecrypted icloud backup and SQlite, I retrieved the 96 character encrypted token:

image

Using the AES Encryption – Easily encrypt or decrypt strings or files site, I decrypted the token:

But when using the decrypted token 33…38, I’receive the following error:

What I’m doing wrong?

There error suggests Homey can’t reach that IP address.

Hmmm, I’m sure Ive entered the correct IP address (the same IP address for the Roborock in the Mi Home app). Also when I input a “wrong” IP address, I receive immediately: “Could not connect to device, handshake timeout”. So I think it is something else.

The “Network request failed” message takes +/- 25 seconds to display, this on my laptop, using https://my.homey.app/

When trying to same on my Iphone using the homey app, I receive an “Timeout after 30000ms”.

I’ve tried the Roborock homey app with the same IP and token. Without any problems.

Reboot the app. Try again and send me a diagnostic report from the app settings afterwards.

Well… It works. No idea why.
I’ve rebooted the app (and the homey) yesterday a couple of times.

Thanks for your support!

Next what I’m trying to do is to find the correct room id’s. Using the workflow I receive these id’s:

6,755001034497,12,17,755001034499,12,18,755001034498,12,19,755001034526,12

I tried 12 and 18, but the same room is cleaned?

image

How many rooms do you have? Try, 16, 17, 18 and 19. When you start to clean a room, look at the Xiaomi app and you will see witch room is highlighted.

Hii,

I am trying some new automations and I am really missing one status. It would be perfect if there was also a status for when the vacuum is done vacuuming, so the status before it has reached the dock and is charging (Aan het opladen).

I don’t know if this state is even available but within the Xiaomi app it shows “returning to dock”.

Could someone confirm if this state is available via the API? If so I’ll create a feature request via Github :slight_smile:

Not sure it’s there but what do you need it for ? Eg. I’m actually using “Is charging” because that happens when vacuuming is done :wink:

Most vacuums support a go charging state. But it’s not available in the vacuumcleaner_state capability the way Athom implemented it in the Homey SDK so I cant match it. If you are gonna submit feature request you should submit it at Athom HQ.

Aaah thank you! That’ll probably take a while even if they want to implement it. But will request this feature via them then :slight_smile:

Because I want to put the vacuum on pauze before it is even going back to the dock. I am currently letting the robot vacuum my bedroom with the door closed. When the vacuum is done cleaning it will try to reach the dock in the living room but because the door is closed it will go behind it, block the door and stay there. And so I have to use the app to move the robot to another pinpoint.

PS: Just to share something that I’m proud of. Today I made a vacuum cleaning playlist. In every room I have an eight-button-switch. One button in every room is dedicated to the vacuum cleaner. Short press means that room is added to the playlist. Longpress means it will clean up the room immediately (this isn’t shown on the flow). The playlist runs as soon as the last person leaves the house.

1 Like

Heey @Phuturist,

Correct me if I’m wrong. But if I’m correct the state is available within the Homey SDK.

Hi @Phuturist,

I installed 2 purifier 3H (zhimi.airpurifier.mb3) as Advanced Mi Air Purifier. Connected and read all properties well, but when i want to e.g. turn off, or set mode to Night, i get an error: User Ack Timeout. Not connect any other system, only Homey Pro and native Xiaomi app from phone. I tried to set polling frequency, but not help. Restart app, restart Homey restart Air purifier, but not help. What can i do? Thx. Created Diagnostic report: b19a22ea-69a9-4cf4-8958-6448eaaa54d6

Have a better look. This is not a state of the vacuumcleaner_state capability but as action card.

Are you using the correct driver?

Aaah now I see! Sorry and thanks!! Will be chasing Athom after all :wink:

Hi,

I think yes. At Github the mentioned driver for my Air Purifier 3H (zhimi.airpurifier.mb3) is: Advanced Mi Air Purifier MIoT driver. Exactly this name i can’t find, i choose this:


It’s look like working well:

At the “Purifier” section i found these:

Which is a correct driver? The first? But why Sensor? or one of them from the Purifier section? All action on device card cause this:

A rebooted all devices. Homey, purifiers, router, switch… :man_shrugging:

Hello,

Can you add the Xiaomi Robot Vacuum X20+ It’s the twin of Dreame L10s Ultra
The model is xiaomi.vacuum.c102gl

Xiaomi Robot Vacuum X20 = xiaomi.vacuum.c102gl
Dreame Bot L10s Ultra = dreame.vacuum.r2228o

Thanks in advance.

4 Likes