rytilahti/python-miio
Python library & console tool for controlling Xiaomi smart appliances observed · 2026-08-28
Health v2 · maintenance only
65/100
- Activity 94
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3468
- days_rel: n/a
- days_push: 39
- n_releases_24m: 0
Adoption not part of the score
4294 stars · 602 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A Python library and accompanying miiocli console tool for controlling Xiaomi smart home appliances over the miIO and MIoT protocols. It supports device discovery, cloud token retrieval, and integration with projects like Home Assistant.
Use cases
- control xiaomi smart devices from python
- get xiaomi device tokens from cloud account
- control mi vacuum or air purifier from command line
- integrate xiaomi appliances with home assistant
- send commands to miot devices on local network
- discover xiaomi devices on lan
When to choose
- you need to programmatically control Xiaomi miIO/MIoT devices
- you want a CLI to interact with Xiaomi appliances
- you are building a Home Assistant integration for Xiaomi devices
When to avoid
- you need official vendor support or cloud API guarantees
- your device is not Xiaomi or uses a different protocol
- you need a stable 0.6 release for modern MIoT devices (still in pre-release refactoring)
Facets
library · maturity active
sdk cli developer-tools iot developer-tools python cli windows cross-platform xiaomi miio miot home-automation smart-home home-assistant miiocli automation linux macos
2 sources
- readme: https://github.com/rytilahti/python-miio · fetched 2026-08-28 · 47cf591fd82f
- registry_pypi: https://pypi.org/pypi/python-miio/json · fetched 2026-08-29 · 6e1900782aa6
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| rytilahti/python-miio | main | 65 |
For agents
markdown · JSON · MCP: product_card(name="rytilahti/python-miio")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem