Skip to content

Releases: rytilahti/python-miio

0.4.8

12 Dec 17:12
Compare
Choose a tag to compare

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

Full Changelog

0.4.7

27 Oct 07:47
Compare
Choose a tag to compare

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

Full Changelog

0.4.6

02 Oct 20:00
5184dcf
Compare
Choose a tag to compare

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

Full Changelog

0.4.5

19 Mar 07:21
4d9a1e9
Compare
Choose a tag to compare

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

Full Changelog

0.4.4

05 Dec 15:35
54befef
Compare
Choose a tag to compare

This release adds support for the following new devices:

  • Air Purifier 2s
  • Vacuums roborock.vacuum.e2 and roborock.vacuum.c1 (limited features, sound packs are known not to be working)

Fixes & Enhancements:

  • AC Partner V3: Add socket support
  • AC Parner & AirHumidifer: improved autodetection
  • Cooker: fixed model confusion
  • Vacuum: add last_clean_details() to directly access the information from latest cleaning
  • Yeelight: RGB support
  • Waterpurifier: improved support

API changes:

  • Vacuum: returning a list for clean_details() is deprecated and to be removed in the future.
  • Philips Moonlight: RGB values are expected and delivered as tuples instead of an integer

Full Changelog

0.4.3

01 Nov 15:12
b328fdf
Compare
Choose a tag to compare

This is a bugfix release which provides improved compatibility.

0.4.2

07 Oct 06:15
Compare
Choose a tag to compare

This release removes the version pinning for "construct" library as its API has been stabilized and we don't want to force our downstreams for our version choices. Another notable change is dropping the "mirobo" package which has been deprecated for a very long time, and everyone using it should have had converted to use "miio" already. Furthermore the client tools work now with click's version 7+.

This release also changes the behavior of vacuum's got_error property to signal properly if an error has occured. The previous behavior was based on checking the state instead of the error number, which changed after an error to 'idle' after a short while.

0.4.1

21 Aug 15:17
46798a7
Compare
Choose a tag to compare

This release provides support for some new devices, improved support of existing devices and various fixes.

New devices:

  • Xiaomi Mijia Smartmi Fresh Air System Wall-Mounted (@syssi)
  • Xiaomi Philips Zhirui Bedside Lamp (@syssi)

Improvements:

  • Vacuum: Support of multiple zones for app_zoned_cleaning added (@ciB89)
  • Fan: SA1 and ZA1 support added as well as various fixes and improvements (@syssi)
  • Chuangmi Plug V3: Measurement unit of the power consumption fixed (@syssi)
  • Air Humidifier: Strong mode property added (@syssi)

0.4.0

03 Jun 16:06
a153c6e
Compare
Choose a tag to compare

The highlight of this release is a crisp, unified and scalable command line interface called miiocli (thanks @yawor). Each supported device of this library is already integrated.

New devices:

  • Xiaomi Mi Smart Electric Rice Cooker (@syssi)

Improvements:

  • Unified and scalable command line interface (@yawor)
  • Air Conditioning Companion: Support for captured infrared commands added (@syssi)
  • Air Conditioning Companion: LED property fixed (@syssi)
  • Air Quality Monitor: Night mode added (@syssi)
  • Chuangi Plug V3 support fixed (@syssi)
  • Pedestal Fan: Improved support of both versions
  • Power Strip: Both versions are fully supported now (@syssi)
  • Vacuum: New commands app_goto_target and app_zoned_clean added (@ciB89)
  • Vacuum: Carpet mode support (@rytilahti)
  • WiFi Repeater: WiFi roaming and signal strange indicator added (@syssi)

0.3.9

27 Mar 18:23
056954c
Compare
Choose a tag to compare

This release provides support for some new devices, improved support of existing devices and various fixes.

New devices:

  • Xiaomi Mi WiFi Repeater 2 (@syssi)
  • Xiaomi Philips Zhirui Smart LED Bulb E14 Candle Lamp (@syssi)

Improvements:

  • Repr of the AirPurifierStatus fixed (@sq5gvm)
  • Chuangmi Plug V1, V2, V3 and M1 merged into a common class (@syssi)
  • Water Purifier: Some properties added (@syssi)
  • Air Conditioning Companion: LED status fixed (@syssi)
  • Air Conditioning Companion: Target temperature property renamed (@syssi)
  • Air Conditioning Companion: Swing mode property returns the enum now (@syssi)
  • Move some generic util functions from vacuumcontainers to utils module (@rytilahti)
  • Construct version bumped (@syssi)