{"repo":"rytilahti/python-miio","free":true,"listed":false,"github":"https://github.com/rytilahti/python-miio","clone":"git clone https://github.com/rytilahti/python-miio.git","description":"Python library & console tool for controlling Xiaomi smart appliances","language":"Python","stars":4286,"topics":["xiaomi","python","home-assistant","miio","home-automation","smart-home","miot","miot-spec"],"license":"GPL-3.0","category":"cli-tools","readme_excerpt":"python-miio This library (and its accompanying cli tool, miiocli ) can be used to control devices using Xiaomi's miIO and MIoT protocols. This is a voluntary, community-driven effort and is not affiliated with any of the companies whose devices are supported by this library. Issue reports and pull requests are welcome, see contributing! --- The full documentation is available at python-miio.readthedocs.io. --- Installation Getting started Controlling modern (MIoT) devices Controlling older (miIO) devices Troubleshooting API usage Contributing Simulators Supported devices Projects using this library Other related projects --- Installation The most recent release can be installed using pip : pip install python-miio Alternatively, you can install the latest development version from GitHub: pip install git+https://github.com/rytilahti/python-miio.git This project is currently ongoing a major refactoring effort. If you are interested in controlling modern (MIoT) devices, you want to use the git version (or pre-releases, pip install --pre python-miio ) until version 0.6.0 is released. Getting started The miiocli command allows controlling supported devices from the command line, given that you know their IP addresses and tokens. The simplest way to acquire the tokens is by using the miiocli cloud command, which fetches them for you from your cloud account using micloud: miiocli cloud Username: example@example.com Password: == name of the device (Device offline ) == Model: example.d","default_branch":null,"files":null,"tree":[],"storefront":"/r/rytilahti","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/rytilahti/python-miio/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}