Tags: infinitydev/python-miio
Tags
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)
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)
* 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`
PreviousNext