{"categories":[{"label":"Home Automation","url":"https://skillfed.io/packages/category/home-automation"},{"label":"Hardware","url":"https://skillfed.io/packages/category/system-hardware"}],"enrichment":{"capability":"Python library and CLI tool for controlling Xiaomi smart devices using the miIO and MIoT protocols over the network.","skillfed_tags":["smart-home","iot-control","xiaomi-devices"],"use_cases":["Control a Xiaomi robot vacuum from Python or the command line without proprietary apps.","Automate Xiaomi smart home devices in a home automation system.","Query device status and execute device-specific commands via miiocli.","Build custom integrations for unsupported Xiaomi devices by extending the Device or MiotDevice base classes.","Monitor and control air purifiers, humidifiers, and environmental devices on a local network."],"what_it_does":"python-miio is a Python library and command-line tool for communicating with Xiaomi smart home devices using their proprietary miIO and MIoT protocols. It provides both a programmatic API (via classes like RoborockVacuum and Device) and a CLI tool (miiocli) for discovering devices, querying their status, and sending control commands. The library abstracts away protocol details and handles device model detection automatically.\n\nThe package supports a wide range of Xiaomi and compatible devices\u2014robot vacuums, air purifiers, fans, smart plugs, lights, humidifiers, and others\u2014each exposed through a dedicated module. It is actively used by Home Assistant for official device integration. Installation is straightforward with low friction, though operation requires obtaining a device token and network access to the target device.","worth_installing":"Yes, if you own Xiaomi smart devices and want programmatic or CLI control without relying on cloud services or proprietary apps. The library is stable, actively maintained, and widely used. The copyleft GPL-3.0-only license is a consideration if you plan to distribute derivative work. No known security vulnerabilities as of the query date."},"id":"python-miio","links":{"html":"https://skillfed.io/packages/python-miio","md":"https://skillfed.io/packages/python-miio.md","pypi":"https://pypi.org/project/python-miio/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2022-07-18","license_spdx":null,"license_treatment":"copyleft","name":"python-miio","python_support":"supports_current","summary":"Python library for interfacing with Xiaomi smart appliances"},"popularity":{"monthly_downloads":329400,"position":7546,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.5.12"}
