Python library for interfacing with Xiaomi smart appliances

xiaomi miio vacuum, home-assistant, miio, mijia, python, vacuum, xiaomi
pip install python-miio==0.4.3



PyPI version Build Status Code Health Coverage Status Documentation status

This library (and its accompanying cli tool) is used to interface with devices using Xiaomi's miIO protocol.


The project has been recently renamed to python-miio. Although the mirobo python package (as well as the console tool with the same name) are still available, the users of the library are encouraged to start using the miio package. The shipped console tools (and the API) are expected to stay backwards-compatible for the near future.

Supported devices

Feel free to create a pull request to add support for new devices as well as additional features for supported devices.

Getting started

Refer the manual for getting started.

Home Assistant support