github rytilahti/python-miio 0.3.0

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

Good bye to python-mirobo, say hello to python-miio!
As the library is getting more mature and supports so many other devices besides the vacuum sporting the miIO protocol,
it was decided that the project deserves a new name.
The name python-miio was previously used by a fork of python-mirobo, and we are thankful to SchumyHao for releasing the name for us.

The old "mirobo" package will continue working (and is API compatible) for the foreseeable future,
however, developers using this package (if any) are encouraged to port their code over to use the the new "miio" package.
The old command-line tools remain as they are.

In order to simplify the initial configuration, a tool to extract tokens from a Mi Home's backup (Android) or its database (Apple, Android) is added. It will also decrypt the tokens if needed, a change which was introduced recently how they are stored in the database of iOS devices.

Improvements:

  • Vacuum: add support for configuring scheduled cleaning
  • Vacuum: more user-friendly do-not-disturb reporting
  • Vacuum: VacuumState's 'dnd' and 'in_cleaning' properties are deprecated in favor of 'dnd_status' and 'is_on'.
  • Power Strip: load power is returned now correctly
  • Yeelight: allow configuring 'developer mode', 'save state on change', and internal name
  • Properties common for several devices are now named more consistently

New supported devices:

  • Xiaomi PM2.5 Air Quality Monitor
  • Xiaomi Water Purifier
  • Xiaomi Air Humidifier
  • Xiaomi Smart Wifi Speaker (incomplete, help wanted)

Full Changelog

Implemented enhancements:

  • Column ZToken of the iOS app contains a 96 character token #75
  • Xiaomi PM2.5 Air Quality Monitor support #70

Closed issues:

  • Calling message handler 'onHeartbeat'. #82
  • How do I find more features? #10

Merged pull requests:

  • Device support of the Xiaomi PM2.5 Air Quality Monitor introduced #89 (syssi)
  • wrap vacuum's dnd status inside an object #87 (rytilahti)
  • Initial support for wifi speakers #86 (rytilahti)
  • Extend yeelight support #85 (rytilahti)
  • Discovery: Device name of the zimi powerstrip v2 fixed #84 (syssi)
  • Rename the project to python-miio #83 (rytilahti)
  • Device support of the Xiaomi Power Strip updated #81 (syssi)
  • WIP: Extract Android backups, yield devices instead of just echoing #80 (rytilahti)
  • add a note about miio-extract-tokens #79 (rytilahti)
  • Implement adding, deleting and updating the timer #78 (rytilahti)
  • Add miio-extract-tokens tool for extracting tokens from sqlite databases #77 (rytilahti)
  • WIP: Avoid discovery flooding #72 (syssi)
  • mDNS discovery: New air purifier model (zhimi-airpurifier-m2) #68 (syssi)
  • First draft of the water purifier support #67 (syssi)
  • Device support of the Xiaomi Air Humidifier #66 (syssi)
  • Device info extended by two additional properties #65 (syssi)
  • Abstract device model exteded by model name (identifier) #64 (syssi)
  • Adjust property names of some devices #63 (syssi)

Don't miss a new python-miio release

NewReleases is sending notifications on new releases.