Xiaomi S40 Pro vaccum cleaner not working with Xiaomi Wifi devices (Mi IO) Binding

Dear foundation friends,

I hope this message finds you well.

I recently purchased a Xiaomi S40 Pro Robot Vacuum, which appears to be quite similar to the first-generation Xiaomi vacuum model. While setting up the device, I encountered a few issues I’d like to kindly ask for your assistance with:

  • The robot is not detected during the scanning process—only a generic device appears. However, I am able to manually enter the device details, and it successfully comes online.

  • Unfortunately, when I attempt to use the “Start Vacuum” command, the robot does not respond or begin cleaning.

Below, I’ve included some additional information about the device that may help in diagnosing the issue:


NAME: Xiaomi S40 Pro

ID: xxxxx
MAC: xx:xx:xx:xx:xx:xx
IP: xxx.xxx.xxx.xxx
TOKEN: xxxxxxxxxxxxxxxxxxxxxxxxxxx
MODEL: xiaomi.vacuum.ov71gl

I would greatly appreciate your guidance on how to resolve this matter. Thank you in advance for your support!

best regards, Rene

your vacuum is unlikely to accept the commands from the first generation devices.

You need to remove the generic device and let it be discovered as unsupported device.

Then use the ‘create experimental support miot’ channel/switch to create the channel definitions for your robot.

Best to set the binding in debug mode, then you can see if our device is responding correctly to the commands. It takes few minutes so be patient. You may need to restart the binding/openhab if this is your first custom device so the folder gets detected correctly.

If the channels work well, please share the created file and confirm which channels are fine. Then we can include the device in the binding as supported device