github rytilahti/python-miio 0.3.5

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

This release provides major improvements for various supported devices. 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)

Full Changelog

Fixed bugs:

  • TypeError: build() takes 2 positional arguments but 3 were given #201
  • Error on build message #197

Closed issues:

  • Control Air purifier and Humidifier? #177
  • Construct error, "subcon should be a Construct field" #167

Merged pull requests:

  • mDNS discovery: Additional air humidifier model (zhimi-humidifier-ca1) added #200 (syssi)
  • Make discovery to work with no IP addr and token, courtesy of M0ses #198 (rytilahti)
  • Minimum supported version of construct specified #196 (syssi)
  • Chuangmi IR command type autodetection #195 (yawor)
  • Point hound-ci to the flake8 configuration. Second try. #193 (syssi)
  • Fix a breaking change of construct 2.9.23 #192 (syssi)
  • Air Purifier: SleepMode enum added. SleepMode isn't a subset of OperationMode #190 (syssi)
  • Point hound-ci to the flake8 configuration #189 (syssi)
  • Features of mixed air purifier models added #188 (syssi)
  • Air Quality Monitor: New property "time_state" added #187 (syssi)
  • Philips Bulb: New setter "bricct" added #186 (syssi)
  • Tests for the Chuangmi IR controller #184 (syssi)
  • Chuangmi IR: Add ability to send any Pronto Hex encoded IR command. #183 (yawor)
  • Tests for the Xiaomi Air Conditioning Companion #182 (syssi)
  • Flake8 configuration updated #181 (syssi)
  • Revise error handling to be more consistent for library users #180 (rytilahti)
  • All device specific exceptions should derive from DeviceException #179 (syssi)
  • Air Purifier Pro second motor speed #176 (yawor)
  • Tests of the Air Purifier improved #174 (syssi)
  • New properties of the Xiaomi Air Humidifier added #173 (syssi)
  • Return type of the property "volume" should be Optional #172 (syssi)
  • Missing dependency "appdirs" added #171 (syssi)
  • Xiaomi Air Humidifier: Unavailable property "led" removed. #170 (syssi)
  • Extended Air Conditioning Companion support #169 (syssi)

Don't miss a new python-miio release

NewReleases is sending notifications on new releases.