New plugin for Roborock MiIO vacuum cleaner

Python and python framework

Moderator: leecollings

Post Reply
pfloryann
Posts: 253
Joined: Wednesday 09 January 2019 10:14
Target OS: Raspberry Pi / ODroid
Domoticz version: 2026.3
Location: BlooeSky
Contact:

New plugin for Roborock MiIO vacuum cleaner

Post by pfloryann »

New plugin for older Roborock vacuum cleaners. Tested with Roborock S5.

A local LAN plugin for Domoticz that controls older Roborock robot vacuum cleaners using the legacy Xiaomi miIO protocol.

The plugin communicates directly with the vacuum using its local IP address + 32-character miIO token.
No cloud connection is required during normal operation.

Other older Roborock vacuum cleaners may also work if they:

can be configured in Xiaomi Home / Mi Home
use the legacy Xiaomi miIO local protocol
have a local IP address
have a valid 32-character miIO token
are supported by python-miio as a roborock.vacuum.* device


Features:

Local LAN communication
No cloud dependency during normal operation
Dedicated isolated Python virtual environment (.venv)
Automatic Roborock model detection
Automatic reconnect
Offline detection
Start / Resume cleaning
Pause cleaning
Stop cleaning
Return to Dock
Spot Cleaning
Find Robot
Current vacuum status
Battery level
Fan mode selector
Current cleaned area
Current cleaning time
Error status
Carpet Boost control
Wi-Fi signal strength
Main Brush remaining life
Side Brush remaining life
Filter remaining life
Sensor cleaning remaining time
Reset consumables
Total cleaning count
Total cleaned area
Total cleaning time
Last cleaning information
Do Not Disturb status
DND schedule display
Voice volume control
Voice test
Model and firmware information
Read-only diagnostic tool

https://github.com/blooesky/Domoticz-Ro ... iIO-Plugin

(Also please check for more domoticz plugins https://github.com/blooesky?tab=repositories&q=plugin)
Attachments
Screenshot 2026-09-30 at 11-50-43 Domoticz.png
Screenshot 2026-09-30 at 11-50-43 Domoticz.png (127.26 KiB) Viewed 63 times
Screenshot 2026-09-30 at 11-50-58 Domoticz.png
Screenshot 2026-09-30 at 11-50-58 Domoticz.png (59.79 KiB) Viewed 63 times
Domoticz on Raspberry Pi 4 Debian 13 x64
Zigbee2mqtt and zigbee devices (Xiaomi, Ikea,Tuya, Philips, Osram), Broadlink, Solar power Victron Energy, Yeelight, Xiaomi Purifier Pro, Roborock S5, Gree AC, JBL soundbar, Philips Android Tv
Post Reply