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 Mi Smart Socket Plug (1 Socket, 1 USB Port) (miio.plug)

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

Uploaded Source

Built Distribution

python_miio-0.3.6-py3-none-any.whl (59.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for python-miio-0.3.6.tar.gz
Algorithm Hash digest
SHA256 c6745d78db370f778936f7f4a1fe2e48043f22d1244147ce1866db823c5dd06c
MD5 9bde39f42fb99433b5718c75afca7740
BLAKE2b-256 1f5fb30ae59f4beb7ee191db722d0e1e6c5f5de83700f82f72476f7105775fba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for python_miio-0.3.6-py3-none-any.whl
Algorithm Hash digest
SHA256 66a17cdd98da08164e0ed2ae260f9cb9fc6448dc7b08b2bbb2cef1b49fb02098
MD5 a0e3211ee7a44bb70dde5216d40eba9d
BLAKE2b-256 01354f4f6a8e4c31471dd9eb0e59e7716a6274a7d2a1413d39fd3ab7feef7833

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