Tags: osori/python-miio
Tags
This release provides major improvements for various supported device… …s. Special thanks goes to @yawor for his awesome work! Additionally, a compatibility issue when using construct version 2.9.23 and greater -- causing timeouts and inability to control devices -- has been fixed again. Device errors are now wrapped in a exception (DeviceException) for easier handling. New devices: * Air Purifier: Some additional models added to the list of supported and discovered devices by mDNS (@syssi) * Air Humidifier CA added to the list of supported and discovered devices by mDNS (@syssi) Improvements: * Air Conditioning Companion: Extended device support (@syssi) * Air Humidifier: Device support tested and improved (@syssi) * Air Purifier Pro: Second motor speed and filter type detection added (@yawor) * Air Purifier: Some additional properties added (@syssi) * Air Quality Monitor: Additional property "time_state" added (@syssi) * Revise error handling to be more consistent for library users (@rytilahti) * Chuangmi IR: Ability to send any Pronto Hex encoded IR command added (@yawor) * Chuangmi IR: Command type autodetection added (@yawor) * Philips Bulb: New command "bricct" added (@syssi) * Command line interface: Make discovery to work with no IP addr and token, courtesy of @M0ses (@rytilahti)
The most significant change for this release is unbreaking the commun… …ication when using a recent versions of construct library (thanks to @syssi). On top of that there are various smaller fixes and improvements, e.g. support for sound packs and running python-miio on Windows. New devices: * Air Purifier 2S added to the list of supported and discovered devices by mDNS (@harnash) Improvements: * Air Purifier Pro: support for sound volume level and illuminance sensor (@yawor) * Vacuum: added sound pack handling and ability to change the sound volume (@rytilahti) * Vacuum: better support for status information on the 2nd gen model (@hastarin)
This release brings support for Air Conditioner Companion along some … …improvements and an increase in the test coverage for future-proofing the code-base. Special thanks for this release goes to @syssi & to all new contributors! A bug exposed in python-miio when using version 2.8.17 or newer of the underlying construct library -- causing timeouts and inability to control devices -- has also been fixed in this release. New supported devices: * Xiaomi Mi Home Air Conditioner Companion Improvements: * Mi Vacuum 2nd generation is now detected by discovery * Air Purifier 2: expose additional properties * Yeelight: parse RGB properly
This release includes small improvements for powerstrip and vacuum su… …pport. Furthermore this is the first release with proper documentation. Generated docs are available at https://python-miio.readthedocs.io - patches to improve them are more than welcome! Improvements: * Powerstrip: expose correct load power, works also now without cloud connectivity * Vacuum: added ability to reset consumable states * Vacuum: exposes time left before next sensor clean-up
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