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 Universal IR Remote Controller (Chuangmi IR) (miio.chuangmi_ir)

  • Xiaomi Mi Smart Pedestal 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)

  • Xiaomi Mi WiFi Repeater 2 (miio.wifirepeater)

  • Xiaomi Mi Smart Rice Cooker (miio.cooker)

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

Uploaded Source

Built Distribution

python_miio-0.4.0-py3-none-any.whl (80.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: python-miio-0.4.0.tar.gz
  • Upload date:
  • Size: 59.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for python-miio-0.4.0.tar.gz
Algorithm Hash digest
SHA256 15d75f64ac66e7c5a29bcfed755df0a43afc2c0ce238066ba93d94c25759c6db
MD5 e2673c9886fa1a0f455a60af643cf49e
BLAKE2b-256 7a6d8aeb72fd4b8681174547e60a11d7ea6cf50000904f75cf463f4e9edd6d36

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for python_miio-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 672b3e87d3e4b8e4811157d0d746ed5eceafdf2a0c14bc5a626e6eb2ba1a8871
MD5 8d49cfaf5e51ffadf58b4ac38e19ebfa
BLAKE2b-256 84c8253143fc0a9baae70b041368cd71b8a6823015d993bddf1ed9f46a3a8965

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