Xiaomi Mi IO Binding - L10s Ultra

I have installed openHAB 4.1.0 to have support for DreameBot L10s Ultra. I have installed and configured the binding and see all status information like Battery Level, Charging State, Brush Lifetime, etc.

Is there any documentation available how I can send command to the robot to start cleaning? I have not found it documented within the Binding documentation.

Has anyone have it running already and can provide hints or documentation on it?

I am hoping someone can help me on that topic :slight_smile:

I have the same robot and managed to get it to work with the “actions” channel.
You can define that as a String Item and just

actionItem.sendCommand("vacuum-start-sweep") // Starts cleanup
actionItem.sendCommand("battery-start-charge") // Starts docking

Has anyone an idea how to get the room cleanup to work?
I tried sending a rpc action command via an item for

miio:basic:dreameL10:actions#rpc
rpcItem.sendCommand('action{"did":"vacuum-extend-start-clean","siid":4,"aiid":1,"in":[{"piid":1,"value":18},{"piid":10,"value":"{\"selects\":[[3,1,1,3,1],[2,1,1,3,2],[4,1,1,3,3]]}"}]}')

This command seems to work for the L10 Pro, see [miio] Add support for Dreame L10 Pro vacuum cleaner (p2029) by leifbladt · Pull Request #12803 · openhab/openhab-addons · GitHub

May I ask how you added it? Do you manage it via Xiaomi App and cloud and let the binding fetch the token? If so, I guess you stopped using the dreame app? Do you see any drawbacks with the Xiaomi app?

I like to keep my configuration file based, so I used the Xiaomi token extractor found here https://github.com/PiotrMachowski/Xiaomi-cloud-tokens-extractor
But apparently the binding will fetch the tokens when you enter your cloud data there and just let it discover the devices.

I also have several roborock s50, so I use the Xiaomi app anyway. Never tried the dreame app.
Also I use the Xiaomi app only for the first time setup and to room clean (can get the latter to work with openHAB unfortunately)

Ah ok. I went with the dreame app+account as I read some functionality would not work with the xiaomi app. I’m wondering if I could get the token from the dreame cloud somehow instead and keep using their app. But also having the openhab integration. Seems not really possible with the miio binding (?).

That worked out well for me. Thank you!

I am now facing the same issue to start cleaning of a specific room with the L10s Pro / Ultra. These devices seem to have a separate action command for it:

actionItem.sendCommand(“vacuum-start-room-sweep”)

Unfortunately I was not able to figure out how the format needs to look like, resp. what the room-ids, which seem to be needed, would be.

Has anyone been able to get that sorted using the vacuum cleaner models Dreame L10s Pro / Ultra?

I know it is a little bit latte but as it is the same command as for my Xiaomi Mop 2s regarding to the official Bindings documentation it would try using:

XYZ_Command.sendCommand('action{"siid":7,"aiid":3,"in":[{"piid":24,"value":"11, 12"},{"piid":25,"value":0},{"piid":26,"value":1}]}')

Where the numbers after Value, in my case the room numbers 11 and 12, are the rooms it starts to clean, btw. numbers normally start at 10, so if you do not know how to find out you probably just try and error.

Let me know if this helps.

1 Like

I gave it a quick try, but it didn’t work as expected.

I have not found such command in the L10s Ultra Binding documentation, can you provide a link to the documentation you are referring to?

Hi,
I bought one myself and yesterday it arrived. At the moment I‘m stuck at the same place.

As soon as I found out I will keep you posted.

The documentation is here: https://home.miot-spec.com/spec?type=urn:miot-spec-v2:device:vacuum:0000A006:dreame-r2228o:1

Ok the solution is:
sendCommand(‘XYC_Command’, ‘action{“did”:“CleanRoom”,“siid”:4,“aiid”:1,“in”:[{“piid”:1,“value”:18},{“piid”:10,“value”:“{\“selects\”:[[1]]}”}]}’)

The one in the select array is the room number.

Hope it helps.

My L20 Ultra is on the way but I read it no longer support Mi Home - same path as roborock so annoying