github rytilahti/python-miio 0.5.5

latest releases: 0.6.0.dev0, 0.5.12, 0.5.11...
3 years ago

0.5.5 (2021-03-13)

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.

Full Changelog

Implemented enhancements:

  • Connecting from external network #931
  • Filter out value 1 from the property AQI #925
  • Any plans on supporting Air Detector Lite PM2.5? #879
  • Get possible device commands/arguments via API #846
  • Add support for xiaomi scishare coffee machine #833
  • Make netifaces optional dependency #970 (rytilahti)
  • Unify subdevice types #947 (starkillerOG)
  • Cleanup: add DeviceStatus to simplify status containers #941 (rytilahti)
  • add method to load subdevices from dict (EU gateway support) #936 (starkillerOG)
  • Refactor & improve support for gateway devices #924 (starkillerOG)
  • Add docformatter to pre-commit hooks #914 (rytilahti)
  • Improve MiotDevice API (get_property_by, set_property_by, call_action, call_action_by) #905 (rytilahti)
  • Stopgap fix for miottemplate #902 (rytilahti)
  • Support resume_or_start for vacuum's segment cleaning #894 (Sian-Lee-SA)
  • Add missing annotations for ViomiVacuum #872 (dominikkarall)
  • Add generic __repr__ for Device class #869 (rytilahti)
  • Set timeout as parameter #866 (titilambert)
  • Improve Viomi support (status reporting, maps) #808 (titilambert)

Fixed bugs:

  • Make netifaces optional dependency #964
  • Some errors in miio/airdehumidifier.py #960
  • Roborock S5 Max not discovered #944
  • Vacuum timezone returns 'int' object is not subscriptable #921
  • discover_devices doesnt work with xiaomi gateway v3 #916
  • Can control but not get info from the vacuum #912
  • airhumidifier_miot.py - mapping attribute error #911
  • Xiaomi Humidifier CA4 fail to read status. (zhimi.humidifier.ca4) #908
  • miottemplate.py print specs.json fails #906
  • Miiocli and Airdog appliance #892
  • ServiceInfo has no attribute 'address' in miio/discovery #891
  • Devtools exception miottemplate.py generate #885
  • Issue with Xiaomi Miio gateway Integrations ZNDMWG03LM #864
  • Xiaomi Mi Robot Vacuum V1 - Fan Speed Issue #860
  • Xiaomi Smartmi Evaporation Air Humidifier 2 (zhimi.humidifier.ca4) #859
  • Report more specific exception when airdehumidifer is off #963 (rytilahti)
  • vacuum: second try to fix the timezone returning an integer #949 (rytilahti)
  • Fix the logic of staring cleaning a room for Viomi #946 (AlexAlexPin)
  • vacuum: skip pausing on s50 and s6 maxv before return home call #933 (rytilahti)
  • Fix airpurifier_airdog x5 and x7sm to derive from the x3 base class #903 (rytilahti)
  • Fix discovery for python-zeroconf 0.28+ #898 (rytilahti)
  • Vacuum: add fan speed preset for gen1 firmwares 3.5.8+ #893 (mat4444)

Closed issues:

  • miiocli command not found #956
  • [Roborock S6 MaxV] Need a delay between pause and charge commands to return to dock #918
  • Support for Xiaomi Air purifier 3C #888
  • zhimi.heater.mc2 not fully supported #880
  • Support for leshow.fan.ss4 (xiaomi Rosou SS4 Ventilator) #806
  • Constant spam of: Unable to discover a device at address [IP] and Got exception while fetching the state: Unable to discover the device [IP] #407
  • Add documentation for miiocli #400

Merged pull requests:

  • Fix another typo in the docs #968 (muellermartin)
  • Fix link to API documentation #967 (muellermartin)
  • Add section for getting tokens from rooted devices #966 (muellermartin)
  • Improve airpurifier doc strings by adding raw responses #961 (arturdobo)
  • Add troubleshooting for Roborock app #954 (lyghtnox)
  • Initial support for Vacuum 1C STYTJ01ZHM (dreame.vacuum.mc1808) #952 (legacycode)
  • Replaced typing by pyyaml #945 (legacycode)
  • janitoring: add bandit to pre-commit checks #940 (rytilahti)
  • vacuum: fallback to UTC when encountering unknown timezone response #932 (rytilahti)
  • [miot air purifier] Return None if aqi is 1 #930 (bieniu)
  • added support for zhimi.humidifier.cb2 #917 (sannoob)
  • Include some more flake8 checks #915 (rytilahti)
  • Improve miottemplate.py print to support python 3.7.3 (Closes: #906) #910 (syssi)
  • Fix __repr__ of AirHumidifierMiotStatus (Closes: #908) #909 (syssi)
  • Add clean mode (new feature) to the zhimi.humidifier.ca4 #907 (syssi)
  • Allow downloading miot spec files by model for miottemplate #904 (rytilahti)
  • Add Qingping Air Monitor Lite support (cgllc.airm.cgdn1) #900 (arturdobo)
  • Add support for Xiaomi Air purifier 3C #899 (arturdobo)
  • Add support for zhimi.heater.mc2 #895 (bafonins)
  • Add support for Yeelight Dual Control Module (yeelink.switch.sw1) #887 (IhorSyerkov)
  • Retry and timeout can be change by setting a class attribute #884 (titilambert)
  • Add support for all Huizuo Lamps (w/ fans, heaters, and scenes) #881 (darckly)
  • Add deerma.humidifier.jsq support #878 (syssi)
  • Export MiotDevice for miio module #876 (syssi)
  • Add missing "info" to device information query #873 (rytilahti)
  • Add Rosou SS4 Ventilator (leshow.fan.ss4) support #871 (syssi)
  • Initial support for HUIZUO PISCES For Bedroom #868 (darckly)
  • Add airdog.airpurifier.{x3,x5,x7sm} support #865 (syssi)
  • Add dmaker.airfresh.a1 support #862 (syssi)
  • Add support for Scishare coffee maker (scishare.coffee.s1102) #858 (rytilahti)

Don't miss a new python-miio release

NewReleases is sending notifications on new releases.