Tags: rnovatorov/python-miio
Tags
New devices: * Xiaomi Mi Air Humidifier CA4 (zhimi.humidifier.ca4) (@Toxblh) Improvements: * S5 vacuum: adjustable water volume for mopping * Gateway: improved light controls (@starkillerOG) * Chuangmi Camera: improved home monitoring support (@impankratov) Fixes: * Xioawa E25: do not crash when trying to access timers * Vacuum: allow resuming after error in zoned cleanup (@r4nd0mbr1ck) [Full Changelog](rytilahti/python-miio@0.5.2.1...0.5.3)
A quick minor fix for vacuum gen1 fan speed detection. [Full Changelog](rytilahti/python-miio@0.5.2...0.5.2.1) **Merged pull requests:** - vacuum: Catch DeviceInfoUnavailableException for model detection [\rytilahti#748](rytilahti#748) ([rytilahti](https://github.com/rytilahti))
This release brings several improvements to the gateway support, than… …ks to @starkillerOG as well as some minor improvements and fixes to some other parts. Improvements: * gateway: plug controls, support for aqara wall outlet and aqara smart bulbs, ability to enable telnet access & general improvements * viomi: ability to change the mopping pattern * fan: ability to disable delayed turn off Fixes: * airpurifier_miot: Incorrect get_properties usage
The most noteworthy change in this release is the work undertaken by @… …starkillerOG to improve the support for Xiaomi gateway devices. See the PR description for more details at rytilahti#700 . For downstream developers, this release adds two new exceptions to allow better control in situations where the response payloads from the device are something unexpected. This is useful for gracefully fallbacks when automatic device type discovery fails. P.S. There is now a matrix room (https://matrix.to/#/#python-miio-chat:matrix.org) so feel free to hop in for any reason. This release adds support for the following new devices: * chuangmi.plug.hmi208 * Gateway subdevices: Aqara Wireless Relay 2ch (@bskaplou), AqaraSwitch{One,Two}Channels (@starkillerOG) Fixes & Enhancements: * The initial UDP handshake is sent now several times to accommodate spotty networks * chuangmi.camera.ipc019: camera rotation & alarm activation * Vacuum: added next_schedule property for timers, water tank status, is_on state for segment cleaning mode * chuangmi.plug.v3: works now with updated firmware version * Viomi vacuum: various minor fixes API changes: * Device.send() accepts `extra_parameters` to allow passing values to the main payload body. This is useful at least for gateway devices. * Two new exceptions to give more control to downstream developers: * PayloadDecodeException (when the payload is unparseable) * DeviceInfoUnavailableException (when device.info() fails) * Dependency management is now done using poetry & pyproject.toml [Full Changelog](rytilahti/python-miio@0.5.0.1...0.5.1)
Due to a mistake during the release process, some changes were comple… …tely left out from the release. This release simply bases itself on the current master to fix that. [Full Changelog](rytilahti/python-miio@0.5.0...0.5.0.1)
Xiaomi is slowly moving to use new protocol dubbed MiOT on the newer … …devices. To celebrate the integration of initial support for this protocol, it is time to jump from 0.4 to 0.5 series! Shout-out to @rezmus for the insightful notes, links, clarifications on rytilahti#543 to help to understand how the protocol works! Special thanks go to both @petrkotek (for initial support) and @foxel (for polishing it for this release) for making this possible. The ground work they did will make adding support for other new miot devices possible. For those who are interested in adding support to new MiOT devices can check out devtools directory in the git repository, which now hosts a tool to simplify the process. As always, contributions are welcome! This release adds support for the following new devices: * Air purifier 3/3H support (zhimi.airpurifier.mb3, zhimi.airpurifier.ma4) * Xiaomi Gateway devices (lumi.gateway.v3, basic support) * SmartMi Zhimi Heaters (zhimi.heater.za2) * Xiaomi Zero Fog Humidifier (shuii.humidifier.jsq001) Fixes & Enhancements: * Vacuum objects can now be queried for supported fanspeeds * Several improvements to Viomi vacuums * Roborock S6: recovery map controls * And some other fixes, see the full changelog! [Full Changelog](rytilahti/python-miio@0.4.8...0.5.0)
This release adds support for the following new devices: * Xiaomi Mijia STYJ02YM vacuum \(viomi.vacuum.v7\) * Xiaomi Mi Smart Humidifier \(deerma.humidifier.mjjsq\) * Xiaomi Mi Fresh Air Ventilator \(dmaker.airfresh.t2017\) * Xiaomi Philips Desk Lamp RW Read \(philips.light.rwread\) * Xiaomi Philips LED Ball Lamp White \(philips.light.hbulb\) Fixes & Enhancements: * Improve Xiaomi Tinymu Smart Toilet Cover support * Remove UTF-8 encoding definition from source files * Azure pipeline for tests * Pre-commit hook to enforce black, flake8 and isort * Pre-commit hook to check-manifest, check for pypi-description, flake8-docstrings
This release adds support for the following new devices: * Widetech WDH318EFW1 dehumidifier \(nwt.derh.wdh318efw1\) * Xiaomi Xiao AI Smart Alarm Clock \(zimi.clock.myk01\) * Xiaomi Air Quality Monitor 2gen \(cgllc.airmonitor.b1\) * Xiaomi ZNCZ05CM EU Smart Socket \(chuangmi.plug.hmi206\) Fixes & Enhancements: * Air Humidifier: Parsing of the firmware version improved * Add travis build for python 3.7 * Use black for source code formatting * Require python \>=3.6
This release adds support for the following new devices: * Xiaomi Air Quality Monitor S1 \(cgllc.airmonitor.s1\) * Xiaomi Mi Dehumidifier V1 \(nwt.derh.wdh318efw1\) * Xiaomi Mi Roborock M1S and Mi Robot S1 * Xiaomi Mijia 360 1080p camera \(chuangmi.camera.ipc009\) * Xiaomi Mi Smart Fan \(zhimi.fan.za3, zhimi.fan.za4, dmaker.fan.p5\) * Xiaomi Smartmi Pure Evaporative Air Humidifier \(zhimi.humidifier.cb1\) * Xiaomi Tinymu Smart Toilet Cover * Xiaomi 16 Relays Module Fixes & Enhancements: * Air Conditioning Companion: Add particular swing mode values of a chigo air conditioner * Air Humidifier: Handle poweroff exception on set\_mode * Chuangmi IR controller: Add indicator led support * Chuangmi IR controller: Add discovery of the Xiaomi IR remote 2gen \(chuangmi.remote.h102a03\) * Chuangmi Plug: Fix set\_wifi\_led cli command * Vacuum: Add state 18 as "segment cleaning" * Device: Add easily accessible properties to DeviceError exception * Always import DeviceError exception * Require click version \>=7 * Remove pretty\_cron and typing dependencies from requirements.txt
This release adds support for the following new devices: * Xiaomi Chuangmi Plug M3 * Xiaomi Chuangmi Plug HMI205 * Xiaomi Air Purifier Pro V7 * Xiaomi Air Quality Monitor 2gen * Xiaomi Aqara Camera Fixes & Enhancements: * Handle "resp invalid json" error * Drop pretty\_cron dependency * Make android\_backup an optional dependency * Docs: Add troubleshooting guide for cross-subnet communications * Docs: Fix link in discovery.rst * Docs: Sphinx config fix * Docs: Token extraction for Apple users * Docs: Add a troubleshooting entry for vacuum timeouts * Docs: New method to obtain tokens * miio-extract-tokens: Allow extraction from Yeelight app db * miio-extract-tokens: Fix for devices without tokens API changes: * Air Conditioning Partner: Add swing mode 7 with unknown meaning * Air Conditioning Partner: Extract the return value of the plug\_state request properly * Air Conditioning Partner: Expose power\_socket property * Air Conditioning Partner: Fix some conversion issues * Air Humidifier: Add set\_led method * Air Humidifier: Rename speed property to avoid a name clash at HA * Air Humidifier CA1: Fix led brightness command * Air Purifier: Add favorite level 17 * Moonlight: Align signature of set\_brightness\_and\_rgb * Moonlight: Fix parameters of the set\_rgb api call * Moonlight: Night mode support and additional scenes * Vacuum: Add control for persistent maps, no-go zones and barriers * Vacuum: Add resume\_zoned\_clean\(\) and resume\_or\_start\(\) helper * Vacuum: Additional error descriptions * Yeelight Bedside: Fix set\_name and set\_color\_temp
PreviousNext