Skip to main content

Python library for interfacing with Xiaomi smart appliances

Project description

PyPI version Build Status Code Health Coverage Status

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

Supported devices

  • Xiaomi Mi Robot Vacuum (miio.vacuum)

  • Xiaomi Mi Home Air Conditioner Companion (miio.airconditioningcompanion)

  • Xiaomi Mi Air Purifier (miio.airpurifier)

  • Xiaomi Mi Smart WiFi Socket (miio.plug)

  • Xiaomi Chuangmi Plug V1 (1 Socket, 1 USB Port) (miio.plug_v1)

  • Xiaomi Chuangmi Plug V3 (1 Socket, 2 USB Ports) (miio.plug_v3)

  • Xiaomi Smart Power Strip (WiFi, 6 Ports) (miio.powerstrip)

  • Xiaomi Philips Eyecare Smart Lamp 2 (miio.philips_eyecare)

  • Xiaomi Philips LED Ceiling Lamp (miio.ceil)

  • Xiaomi Philips LED Ball Lamp (miio.philips_bulb)

  • Xiaomi Universal IR Remote Controller (Chuangmi IR) (miio.chuangmi_ir)

  • Xiaomi Mi Smart Fan (miio.fan)

  • Xiaomi Mi Air Humidifier (miio.airhumidifier)

  • Xiaomi Mi Water Purifier (Basic supportmiio.waterpurifier)

  • Xiaomi PM2.5 Air Quality Monitor (miio.airqualitymonitor)

  • Xiaomi Smart Wifi Speaker (miio.wifispeaker) (incomplete, please feel free to help improve the support)

  • Yeelight light bulbs (miio.yeelight) (only a very rudimentary support, use python-yeelight for a more complete support)

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-miio-0.3.8.tar.gz (41.9 kB view hashes)

Uploaded Source

Built Distribution

python_miio-0.3.8-py3-none-any.whl (64.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page