Python library & console tool for controlling Xiaomi smart appliances
This release is mainly to re-add mapping parameter to MiotDevice constructor for backwards-compatibility reasons, but adds also PyYAML dependency and improves MiOT support to allow limiting how many properties to query at once.
Implemented enhancements:
MiotDevice
constructor #982
Fixed bugs:
Merged pull requests:
This release fixes a single regression of non-existing sequence file for those users who never used mirobo/miiocli vacuum previously. Users of the library do not need this upgrade.
This release adds support for several new devices, and contains improvements and fixes on several existing integrations. Instead of summarizing all changes here, this library seeks to move completely automated changelogs based on the pull request tags to facilitate faster release cycles. Until that happens, the full list of changes is listed below as usual.
Implemented enhancements:
Fixed bugs:
Closed issues:
Merged pull requests:
New devices:
Improvements:
Fixes:
Implemented enhancements:
Fixed bugs:
Closed issues:
Merged pull requests:
New devices:
Improvements:
Fixes:
Implemented enhancements:
Fixed bugs:
Closed issues:
Merged pull requests:
This release brings several improvements to the gateway support, thanks to @starkillerOG as well as some minor improvements and fixes to some other parts.
Improvements:
Fixes:
Fixed bugs:
Closed issues:
Merged pull requests:
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 https://github.com/rytilahti/python-miio/pull/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:
Fixes & Enhancements:
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:
Dependency management is now done using poetry & pyproject.toml
Due to a mistake during the release process, some changes were completely left out from the release. This release simply bases itself on the current master to fix that.
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 #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:
Fixes & Enhancements: