Skip to content

Tags: infinitydev/python-miio

Tags

0.3.0

Toggle 0.3.0's commit message
Good bye to python-mirobo, say hello to python-miio!

As the library is getting more mature and supports so many other devices besides the vacuum sporting the miIO protocol,
it was decided that the project deserves a new name.
The name python-miio was previously used by a fork of python-mirobo, and we are thankful to SchumyHao for releasing the name for us.

The old "mirobo" package will continue working (and is API compatible) for the foreseeable future,
however, developers using this package (if any) are encouraged to port their code over to use the the new "miio" package.
The old command-line tools remain as they are.

In order to simplify the initial configuration, a tool to extract tokens from a Mi Home's backup (Android) or its database (Apple, Android) is added. It will also decrypt the tokens if needed, a change which was introduced
recently how they are stored in the database of iOS devices.

Improvements:
* Vacuum: add support for configuring scheduled cleaning
* Vacuum: more user-friendly do-not-disturb reporting
* Vacuum: VacuumState's 'dnd' and 'in_cleaning' properties are deprecated in favor of 'dnd_status' and 'is_on'.
* Power Strip: load power is returned now correctly
* Yeelight: allow configuring 'developer mode', 'save state on change', and internal name
* Properties common for several devices are now named more consistently

New supported devices:
* Xiaomi PM2.5 Air Quality Monitor
* Xiaomi Water Purifier
* Xiaomi Air Humidifier
* Xiaomi Smart Wifi Speaker (incomplete, help wanted)

0.2.0

Toggle 0.2.0's commit message
Considering how far this project has evolved from being just an inter…

…face for the Xiaomi vacuum, it is time to leave 0.1 series behind and call this 0.2.0.

This release brings support to a couple of new devices, and contains fixes for some already supported ones.
All thanks for the improvements in this release go to syssi!

* Extended mDNS discovery to support more devices (@syssi)
* Improved support for the following devices:
  * Air purifier (@syssi)
  * Philips ball / Ceiling lamp (@syssi)
  * Xiaomi Strip (@syssi)
* New supported devices:
  * Chuangmi IR Remote control (@syssi)
  * Xiaomi Mi Smart Fan (@syssi)

0.1.4

Toggle 0.1.4's commit message
Fix dependencies

0.1.3

Toggle 0.1.3's commit message
* New commands:

  * --version to print out library version
  * info to return information about a device (requires token to be set)
  * serial_number (vacuum only)
  * timezone (getting and setting the timezone, vacuum only)
  * sound (querying)

* Supports for the following new devices thanks to syssi and kuduka:

  * Xiaomi Smart Power Strip (WiFi, 6 Ports) (@syssi)
  * Xiaomi Mi Air Purifier 2 (@syssi)
  * Xiaomi Mi Smart Socket Plug (1 Socket, 1 USB Port) (@syssi)
  * Xiaomi Philips Eyecare Smart Lamp 2 (@kuduka)
  * Xiaomi Philips LED Ceiling Lamp (@kuduka)
  * Xiaomi Philips LED Ball Lamp (@kuduka)

* Discovery now uses mDNS instead of handshake protocol. Old behavior still available with `--handshake true`

0.1.2

Toggle 0.1.2's commit message
New release 0.1.2:

* Add support for Wifi plugs (thanks to syssi)
* Make communication more robust by retrying automatically on errors

0.1.1

Toggle 0.1.1's commit message
add 'typing' requirement for python <3.5

0.1.0

Toggle 0.1.0's commit message
version 0.1.0

0.0.9

Toggle 0.0.9's commit message
0.0.9 which fixes communication with newer firmwares

0.0.7

Toggle 0.0.7's commit message
0.0.7: cleanup in preparation for homeassistant inclusion