Skip to main content

Python library for interfacing with Xiaomi smart appliances

Project description

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.

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.chuangmi_plug)

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

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

  • Xiaomi Smart Power Strip V1 and V2 (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 Philips Zhirui Smart LED Bulb E14 Candle Lamp (miio.philips_bulb)

  • Xiaomi Philips Zhirui Bedroom Smart Lamp (miio.philips_moonlight)

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

  • Xiaomi Mi Smart Pedestal Fan V2, V3, SA1 and ZA1 (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)

  • Xiaomi Mi WiFi Repeater 2 (miio.wifirepeater)

  • Xiaomi Mi Smart Rice Cooker (miio.cooker)

  • Xiaomi Smartmi Fresh Air System (miio.airfresh)

  • 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.4.3.tar.gz (132.4 kB view details)

Uploaded Source

Built Distribution

python_miio-0.4.3-py3-none-any.whl (115.5 kB view details)

Uploaded Python 3

File details

Details for the file python-miio-0.4.3.tar.gz.

File metadata

  • Download URL: python-miio-0.4.3.tar.gz
  • Upload date:
  • Size: 132.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.5

File hashes

Hashes for python-miio-0.4.3.tar.gz
Algorithm Hash digest
SHA256 dac105d7c1700b344f282aa477ec30a3284a56470630a3c7c8bb4dff00bbc303
MD5 57d36238457a6490b2bd9bf6fac40321
BLAKE2b-256 4650a1688ec7c9117cb439673c8c2e46229274d79b394d779be153d177b0555e

See more details on using hashes here.

File details

Details for the file python_miio-0.4.3-py3-none-any.whl.

File metadata

File hashes

Hashes for python_miio-0.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 bba2de7000256b21b32980b4018bea212dcaf092551961583aefbda68a142d32
MD5 056a03e35a0bd8b56c24d1ffde5f5bf5
BLAKE2b-256 7c37f22a5a9ee9204eab09debc46e275d41e54fc032f0b919bfb97f0de8a93cf

See more details on using hashes here.

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