Skip to main content

Python library for interfacing with Xiaomi smart appliances

Project description

PyPI version Build Status Coverage Status Documentation status Hound

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

Supported devices

  • Xiaomi Mi Robot Vacuum V1, S5, M1S (miio.vacuum)

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

  • Xiaomi Mi Air Purifier (miio.airpurifier)

  • Xiaomi Aqara Camera (miia.aqaracamera)

  • Xiaomi Mijia 360 1080p (:class`miio.chuangmi_camera`)

  • 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, ZA1, ZA3, ZA4, P5 (miio.fan)

  • Xiaomi Mi Air Humidifier V1, CA1, CB1 (miio.airhumidifier)

  • Xiaomi Mi Water Purifier (Basic supportmiio.waterpurifier)

  • Xiaomi PM2.5 Air Quality Monitor V1, B1, S1 (miio.airqualitymonitor)

  • Xiaomi Smart WiFi Speaker (miio.wifispeaker)

  • 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)

  • Xiaomi Mi Air Dehumidifier (miio.airdehumidifier)

  • Xiaomi Tinymu Smart Toilet Cover (miio.toiletlid)

  • Xiaomi 16 Relays Module (miio.pwzn_relay)

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.6.tar.gz (147.2 kB view details)

Uploaded Source

Built Distribution

python_miio-0.4.6-py3-none-any.whl (156.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for python-miio-0.4.6.tar.gz
Algorithm Hash digest
SHA256 9f8b3c261d2cdea8618923c997959cf6704e47528760ab5df34b62f72070de06
MD5 9960d64b21bb0c342bfdb471eaf7c78c
BLAKE2b-256 a458425c0547d806146f8563d097ed761fbaf527ca4ac148466590877182f71d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for python_miio-0.4.6-py3-none-any.whl
Algorithm Hash digest
SHA256 febc5572bd487f384e184666963701bbadee8e8c85ed1e8c39a5755b2b89a226
MD5 ce9ea57e062f90f9bf4492de47dbb9fa
BLAKE2b-256 2db86f91e24dfffb87f7276fb22b13f7053891b181bdd7830696082bea42d6bb

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