Python-miio

Latest version: v0.5.12

Safety actively analyzes 681812 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

0.5.0.1

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.

[Full Changelog](https://github.com/rytilahti/python-miio/compare/0.5.0...0.5.0.1)

**Closed issues:**

- Xiaomi Mijia Smart Sterilization Humidifier \(SCK0A45\) error - DEBUG:miio.protocol:Unable to decrypt, returning raw bytes: b'' [\649](https://github.com/rytilahti/python-miio/issues/649)

**Merged pull requests:**

- Prepare for 0.5.0 [\658](https://github.com/rytilahti/python-miio/pull/658) ([rytilahti](https://github.com/rytilahti))
- Add miottemplate tool to simplify adding support for new miot devices [\656](https://github.com/rytilahti/python-miio/pull/656) ([rytilahti](https://github.com/rytilahti))
- Add Xiaomi Zero Fog Humidifier \(shuii.humidifier.jsq001\) support \(\642\) [\654](https://github.com/rytilahti/python-miio/pull/654) ([iromeo](https://github.com/iromeo))
- Gateway get_device_prop_exp command [\652](https://github.com/rytilahti/python-miio/pull/652) ([fsalomon](https://github.com/fsalomon))
- Add fan_speed_presets\(\) for querying available fan speeds [\643](https://github.com/rytilahti/python-miio/pull/643) ([rytilahti](https://github.com/rytilahti))
- Initial support for xiaomi gateway devices [\470](https://github.com/rytilahti/python-miio/pull/470) ([rytilahti](https://github.com/rytilahti))

0.5.0

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:

- Air purifier 3/3H support (zhimi.airpurifier.mb3, zhimi.airpurifier.ma4)
- Xiaomi Gateway devices (lumi.gateway.v3, basic support)
- SmartMi Zhimi Heaters (zhimi.heater.za2)
- Xiaomi Zero Fog Humidifier (shuii.humidifier.jsq001)

Fixes & Enhancements:

- Vacuum objects can now be queried for supported fanspeeds
- Several improvements to Viomi vacuums
- Roborock S6: recovery map controls
- And some other fixes, see the full changelog!

[Full Changelog](https://github.com/rytilahti/python-miio/compare/0.4.8...0.5.0)

**Closed issues:**

- viomi.vacuum.v7 and zhimi.airpurifier.mb3 support homeassistain yet? [\645](https://github.com/rytilahti/python-miio/issues/645)
- subcon should be a Construct field [\641](https://github.com/rytilahti/python-miio/issues/641)
- Roborock S6 - only reachable from different subnet [\640](https://github.com/rytilahti/python-miio/issues/640)
- Python 3.7 error [\639](https://github.com/rytilahti/python-miio/issues/639)
- Posibillity for local push instead of poll? [\638](https://github.com/rytilahti/python-miio/issues/638)
- Xiaomi STYJ02YM discovered but not responding [\628](https://github.com/rytilahti/python-miio/issues/628)
- miplug module is not working from python scrips [\621](https://github.com/rytilahti/python-miio/issues/621)
- Unsupported device found: zhimi.humidifier.v1 [\620](https://github.com/rytilahti/python-miio/issues/620)
- Support for Smartmi Radiant Heater Smart Version \(zhimi.heater.za2\) [\615](https://github.com/rytilahti/python-miio/issues/615)
- Support for Xiaomi Qingping Bluetooth Alarm Clock? [\614](https://github.com/rytilahti/python-miio/issues/614)
- How to connect a device to WIFI without MiHome app | Can I connect a device to WIFI using Raspberry Pi? \help wanted \Support [\609](https://github.com/rytilahti/python-miio/issues/609)
- Additional commands for vacuum [\607](https://github.com/rytilahti/python-miio/issues/607)
- "cgllc.airmonitor.b1" No response from the device [\603](https://github.com/rytilahti/python-miio/issues/603)
- Xiao AI Smart Alarm Clock Time [\600](https://github.com/rytilahti/python-miio/issues/600)
- Support new device \(yeelink.light.lamp4\) [\598](https://github.com/rytilahti/python-miio/issues/598)
- Errors not shown for S6 [\595](https://github.com/rytilahti/python-miio/issues/595)
- Fully charged state not shown [\594](https://github.com/rytilahti/python-miio/issues/594)
- Support for Roborock S6/T6 [\593](https://github.com/rytilahti/python-miio/issues/593)
- Pi3 b python error [\588](https://github.com/rytilahti/python-miio/issues/588)
- Support for Xiaomi Air Purifier 3 \(zhimi.airpurifier.ma4\) [\577](https://github.com/rytilahti/python-miio/issues/577)
- Updater: Uses wrong local IP address for HTTP server [\571](https://github.com/rytilahti/python-miio/issues/571)
- How to deal with getDeviceWifi\(\).subscribe [\528](https://github.com/rytilahti/python-miio/issues/528)
- Move Roborock when in error [\524](https://github.com/rytilahti/python-miio/issues/524)
- Roborock v2 zoned_clean\(\) doesn't work [\490](https://github.com/rytilahti/python-miio/issues/490)
- \[ADD\] Xiaomi Mijia Caméra IP WiFi 1080P Panoramique [\484](https://github.com/rytilahti/python-miio/issues/484)
- Add unit tests [\88](https://github.com/rytilahti/python-miio/issues/88)
- Get the map from Mi Vacuum V1? [\356](https://github.com/rytilahti/python-miio/issues/356)

**Merged pull requests:**

- Add miottemplate tool to simplify adding support for new miot devices [\656](https://github.com/rytilahti/python-miio/pull/656) ([rytilahti](https://github.com/rytilahti))
- Add Xiaomi Zero Fog Humidifier \(shuii.humidifier.jsq001\) support \(\642\) [\654](https://github.com/rytilahti/python-miio/pull/654) ([iromeo](https://github.com/iromeo))
- Gateway get_device_prop_exp command [\652](https://github.com/rytilahti/python-miio/pull/652) ([fsalomon](https://github.com/fsalomon))
- Add fan_speed_presets\(\) for querying available fan speeds [\643](https://github.com/rytilahti/python-miio/pull/643) ([rytilahti](https://github.com/rytilahti))
- Air purifier 3/3H support \(remastered\) [\634](https://github.com/rytilahti/python-miio/pull/634) ([foxel](https://github.com/foxel))
- Add eyecare on/off to philips_eyecare_cli [\631](https://github.com/rytilahti/python-miio/pull/631) ([hhrsscc](https://github.com/hhrsscc))
- Extend viomi vacuum support [\626](https://github.com/rytilahti/python-miio/pull/626) ([rytilahti](https://github.com/rytilahti))
- Add support for SmartMi Zhimi Heaters [\625](https://github.com/rytilahti/python-miio/pull/625) ([bazuchan](https://github.com/bazuchan))
- Add error code 24 definition \("No-go zone or invisible wall detected"\) [\623](https://github.com/rytilahti/python-miio/pull/623) ([insajd](https://github.com/insajd))
- s6: two new commands for map handling [\608](https://github.com/rytilahti/python-miio/pull/608) ([glompfine](https://github.com/glompfine))
- Refactoring: Split Device class into Device+Protocol [\592](https://github.com/rytilahti/python-miio/pull/592) ([petrkotek](https://github.com/petrkotek))
- STYJ02YM: Manual movement and mop mode support [\590](https://github.com/rytilahti/python-miio/pull/590) ([rumpeltux](https://github.com/rumpeltux))
- Initial support for xiaomi gateway devices [\470](https://github.com/rytilahti/python-miio/pull/470) ([rytilahti](https://github.com/rytilahti))

0.4.8

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](https://github.com/rytilahti/python-miio/compare/0.4.7...0.4.8)

**Implemented enhancements:**

- Support for new vaccum Xiaomi Mijia STYJ02YM [\550](https://github.com/rytilahti/python-miio/issues/550)
- Support for Mi Smart Humidifier \(deerma.humidifier.mjjsq\) [\533](https://github.com/rytilahti/python-miio/issues/533)
- Support for Mi Fresh Air Ventilator dmaker.airfresh.t2017 [\502](https://github.com/rytilahti/python-miio/issues/502)

**Closed issues:**

- The voice pack does not change in Xiaomi Vacuum 1S [\583](https://github.com/rytilahti/python-miio/issues/583)
- Support for chuangmi.plug.hmi206 [\574](https://github.com/rytilahti/python-miio/issues/574)
- miplug crash in macos catalina 10.15.1 [\573](https://github.com/rytilahti/python-miio/issues/573)
- Roborock S50 not responding to handshake anymore [\572](https://github.com/rytilahti/python-miio/issues/572)
- Cannot control my Roborock S50 through my home wifi network [\570](https://github.com/rytilahti/python-miio/issues/570)
- I can not get load_power with my set is Xiaomi Smart WiFi with two usb \(chuangmi.plug.v3\) [\549](https://github.com/rytilahti/python-miio/issues/549)

**Merged pull requests:**

- Add Xiaomi Mi Fresh Air \(dmaker.airfresh.t2017\) support [\591](https://github.com/rytilahti/python-miio/pull/591) ([syssi](https://github.com/syssi))
- Add philips.light.rwread support [\589](https://github.com/rytilahti/python-miio/pull/589) ([syssi](https://github.com/syssi))
- Add philips.light.hbulb support [\587](https://github.com/rytilahti/python-miio/pull/587) ([syssi](https://github.com/syssi))
- Add support for deerma.humidifier.mjjsq [\586](https://github.com/rytilahti/python-miio/pull/586) ([syssi](https://github.com/syssi))
- Improve toiletlid various parameters [\579](https://github.com/rytilahti/python-miio/pull/579) ([scp10011](https://github.com/scp10011))
- Add support for Xiaomi Mijia STYJ02YM \(viomi.vacuum.v7\) [\576](https://github.com/rytilahti/python-miio/pull/576) ([rytilahti](https://github.com/rytilahti))
- Add check-manifest, check for pypi-description, flake8-docstrings [\575](https://github.com/rytilahti/python-miio/pull/575) ([rytilahti](https://github.com/rytilahti))
- Remove UTF-8 encoding comment [\569](https://github.com/rytilahti/python-miio/pull/569) ([quamilek](https://github.com/quamilek))
- Improve the contribution process with better checks and docs [\568](https://github.com/rytilahti/python-miio/pull/568) ([rytilahti](https://github.com/rytilahti))
- add azure pipeline for tests, and enforce black, flake8 and isort for commits [\566](https://github.com/rytilahti/python-miio/pull/566) ([rytilahti](https://github.com/rytilahti))

0.4.7

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](https://github.com/rytilahti/python-miio/compare/0.4.6...0.4.7)

**Implemented enhancements:**

- Add support for WIDETECH WDH318EFW1 dehumidifier \(nwt.derh.wdh318efw1\) [\534](https://github.com/rytilahti/python-miio/issues/534)
- Support for Xiaomi Xiao AI Smart Alarm Clock \(zimi.clock.myk01\) [\505](https://github.com/rytilahti/python-miio/issues/505)
- Add support for the cgllc.airmonitor.b1 [\562](https://github.com/rytilahti/python-miio/pull/562) ([fwestenberg](https://github.com/fwestenberg))

**Fixed bugs:**

- Air Humidifier [\529](https://github.com/rytilahti/python-miio/issues/529)

**Closed issues:**

- mirobo updater -- No request was made [\557](https://github.com/rytilahti/python-miio/issues/557)
- What‘s the plan to release 0.4.6? [\553](https://github.com/rytilahti/python-miio/issues/553)
- does this support aqara water leak sensor? [\551](https://github.com/rytilahti/python-miio/issues/551)
- Unsupported device chuangmi.plug.hmi206 [\545](https://github.com/rytilahti/python-miio/issues/545)
- python-miio not compatible with Python \<=3.5.1 [\494](https://github.com/rytilahti/python-miio/issues/494)
- Support for Xiaomi Air Quality Monitor 2gen [\419](https://github.com/rytilahti/python-miio/issues/419)

**Merged pull requests:**

- Add travis build for python 3.7 [\561](https://github.com/rytilahti/python-miio/pull/561) ([syssi](https://github.com/syssi))
- bump required python version to 3.6+ [\560](https://github.com/rytilahti/python-miio/pull/560) ([rytilahti](https://github.com/rytilahti))
- Use black for source code formatting [\559](https://github.com/rytilahti/python-miio/pull/559) ([rytilahti](https://github.com/rytilahti))
- Add initial support for Xiao AI Smart Alarm Clock \(zimi.clock.myk01\) [\558](https://github.com/rytilahti/python-miio/pull/558) ([rytilahti](https://github.com/rytilahti))
- Improve firmware version parser of the Air Humidifier \(Closes: \529\) [\556](https://github.com/rytilahti/python-miio/pull/556) ([syssi](https://github.com/syssi))
- Bring cgllc.airmonitor.s1 into line [\555](https://github.com/rytilahti/python-miio/pull/555) ([syssi](https://github.com/syssi))
- Add Xiaomi ZNCZ05CM EU Smart Socket \(chuangmi.plug.hmi206\) support [\554](https://github.com/rytilahti/python-miio/pull/554) ([syssi](https://github.com/syssi))

0.4.6

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](https://github.com/rytilahti/python-miio/compare/0.4.5...0.4.6)

**Closed issues:**

- Roborock Vacuum Bin full [\546](https://github.com/rytilahti/python-miio/issues/546)
- Add support for Xiao AI Smart Alarm Clock [\538](https://github.com/rytilahti/python-miio/issues/538)
- rockrobo.vacuum.v1 Error: No response from the device [\536](https://github.com/rytilahti/python-miio/issues/536)
- Assistance [\532](https://github.com/rytilahti/python-miio/issues/532)
- Unsupported device found - roborock.vacuum.s5 [\527](https://github.com/rytilahti/python-miio/issues/527)
- Discovery mode to chuangmi_camera. [\522](https://github.com/rytilahti/python-miio/issues/522)
- 新款小米 1X 电风扇不支持 [\520](https://github.com/rytilahti/python-miio/issues/520)
- Add swing mode of a Chigo Air Conditioner [\518](https://github.com/rytilahti/python-miio/issues/518)
- Discover not working with Mi AirHumidifier CA1 [\514](https://github.com/rytilahti/python-miio/issues/514)
- Question about vacuum errors_codes duration [\511](https://github.com/rytilahti/python-miio/issues/511)
- Support device model dmaker.fan.p5 [\510](https://github.com/rytilahti/python-miio/issues/510)
- Roborock S50: ERROR:miio.updater:No request was made.. [\508](https://github.com/rytilahti/python-miio/issues/508)
- Roborock S50: losing connection with mirobo [\507](https://github.com/rytilahti/python-miio/issues/507)
- Support for Xiaomi IR Remote \(chuangmi.remote.v2\) [\506](https://github.com/rytilahti/python-miio/issues/506)
- Support for Humidifier new model: zhimi.humidifier.cb1 [\492](https://github.com/rytilahti/python-miio/issues/492)
- impossible to get the last version \(0.4.5\) or even the 0.4.4 [\489](https://github.com/rytilahti/python-miio/issues/489)
- Getting the token of Air Purifier Pro v7 [\461](https://github.com/rytilahti/python-miio/issues/461)
- Moonlight sync with HA [\452](https://github.com/rytilahti/python-miio/issues/452)
- Replace pretty-cron dependency with cron_descriptor [\423](https://github.com/rytilahti/python-miio/issues/423)

**Merged pull requests:**

- remove pretty_cron and typing dependencies from requirements.txt [\548](https://github.com/rytilahti/python-miio/pull/548) ([rytilahti](https://github.com/rytilahti))
- Add tinymu smart toiletlid [\544](https://github.com/rytilahti/python-miio/pull/544) ([scp10011](https://github.com/scp10011))
- Add support for Air Quality Monitor S1 \(cgllc.airmonitor.s1\) [\539](https://github.com/rytilahti/python-miio/pull/539) ([zhumuht](https://github.com/zhumuht))
- Add pwzn relay [\537](https://github.com/rytilahti/python-miio/pull/537) ([SchumyHao](https://github.com/SchumyHao))
- add mi dehumidifier v1 \(nwt.derh.wdh318efw1\) [\535](https://github.com/rytilahti/python-miio/pull/535) ([stkang](https://github.com/stkang))
- add mi robot s1 \(m1s\) to discovery [\531](https://github.com/rytilahti/python-miio/pull/531) ([rytilahti](https://github.com/rytilahti))
- Add preliminary Roborock M1S / Mi Robot S1 support [\526](https://github.com/rytilahti/python-miio/pull/526) ([syssi](https://github.com/syssi))
- Add state 18 as "segment cleaning" [\525](https://github.com/rytilahti/python-miio/pull/525) ([syssi](https://github.com/syssi))
- Add particular swing mode values of a chigo air conditioner [\519](https://github.com/rytilahti/python-miio/pull/519) ([syssi](https://github.com/syssi))
- Add chuangmi.camera.ipc009 support [\516](https://github.com/rytilahti/python-miio/pull/516) ([impankratov](https://github.com/impankratov))
- Add zhimi.fan.za3 support [\515](https://github.com/rytilahti/python-miio/pull/515) ([syssi](https://github.com/syssi))
- Add dmaker.fan.p5 support [\513](https://github.com/rytilahti/python-miio/pull/513) ([syssi](https://github.com/syssi))
- Add zhimi.fan.za4 support [\512](https://github.com/rytilahti/python-miio/pull/512) ([syssi](https://github.com/syssi))
- Require click version \>=7 [\503](https://github.com/rytilahti/python-miio/pull/503) ([fvollmer](https://github.com/fvollmer))
- Add indicator led support of the chuangmi.remote.h102a03 and chuangmi.remote.v2 [\500](https://github.com/rytilahti/python-miio/pull/500) ([syssi](https://github.com/syssi))
- Chuangmi Plug: Fix set_wifi_led cli command [\499](https://github.com/rytilahti/python-miio/pull/499) ([syssi](https://github.com/syssi))
- Add discovery of the Xiaomi IR remote 2gen \(chuangmi.remote.h102a03\) [\497](https://github.com/rytilahti/python-miio/pull/497) ([syssi](https://github.com/syssi))
- Air Humidifier: Handle poweroff exception on set_mode [\496](https://github.com/rytilahti/python-miio/pull/496) ([syssi](https://github.com/syssi))
- Add zhimi.humidifier.cb1 support [\493](https://github.com/rytilahti/python-miio/pull/493) ([antylama](https://github.com/antylama))
- Add easily accessible properties to DeviceError exception [\488](https://github.com/rytilahti/python-miio/pull/488) ([syssi](https://github.com/syssi))
- Always import DeviceError exception [\487](https://github.com/rytilahti/python-miio/pull/487) ([syssi](https://github.com/syssi))

0.4.5

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](https://github.com/rytilahti/python-miio/compare/0.4.4...0.4.5)

**Fixed bugs:**

- miio-extract-tokens raises a TypeError when running against extracted SQLite database [\467](https://github.com/rytilahti/python-miio/issues/467)
- Do not crash on last_clean_details when no history available [\457](https://github.com/rytilahti/python-miio/issues/457)
- install-sound command not working on Xiaowa vacuum \(roborock.vacuum.c1 v1.3.0\) [\418](https://github.com/rytilahti/python-miio/issues/418)
- DeviceError code -30001 \(Resp Invalid JSON\) - Philips Bulb [\205](https://github.com/rytilahti/python-miio/issues/205)

**Closed issues:**

- Issues adding roborock s50 vacuum to HA and controlling from mirobo [\456](https://github.com/rytilahti/python-miio/issues/456)
- Support for chuangmi plug m3 [\454](https://github.com/rytilahti/python-miio/issues/454)
- Xiaomi Phillips Smart LED Ball Lamp and API token for Home Assistant \(yaml\) [\445](https://github.com/rytilahti/python-miio/issues/445)
- xiaomi ir control [\444](https://github.com/rytilahti/python-miio/issues/444)
- Mirobo does not start on raspberry pi [\442](https://github.com/rytilahti/python-miio/issues/442)
- Add mi band 3 watch to your library [\441](https://github.com/rytilahti/python-miio/issues/441)
- Unsupported Device: chuangmi.plug.hmi205 [\440](https://github.com/rytilahti/python-miio/issues/440)
- Air Purifier zhimi.airpurifier.m1 set_mode isn't working [\436](https://github.com/rytilahti/python-miio/issues/436)
- Can't make it work in a Domoticz plugin [\433](https://github.com/rytilahti/python-miio/issues/433)
- chuangmi.plug.hmi205 unsupported device [\427](https://github.com/rytilahti/python-miio/issues/427)
- Some devices not responding across subnets. [\422](https://github.com/rytilahti/python-miio/issues/422)

**Merged pull requests:**

- Add missing error description [\483](https://github.com/rytilahti/python-miio/pull/483) ([oncleben31](https://github.com/oncleben31))
- Enable the night mode \(scene 6\) by calling "go_night" [\481](https://github.com/rytilahti/python-miio/pull/481) ([syssi](https://github.com/syssi))
- Philips Moonlight: Support up to 6 fixed scenes [\478](https://github.com/rytilahti/python-miio/pull/478) ([syssi](https://github.com/syssi))
- Remove duplicate paragraph about "Tokens from Mi Home logs" [\477](https://github.com/rytilahti/python-miio/pull/477) ([syssi](https://github.com/syssi))
- Make android_backup an optional dependency [\476](https://github.com/rytilahti/python-miio/pull/476) ([rytilahti](https://github.com/rytilahti))
- Drop pretty_cron dependency [\475](https://github.com/rytilahti/python-miio/pull/475) ([rytilahti](https://github.com/rytilahti))
- Vacuum: add resume_zoned_clean\(\) and resume_or_start\(\) helper [\473](https://github.com/rytilahti/python-miio/pull/473) ([rytilahti](https://github.com/rytilahti))
- Check for empty clean_history instead of crashing on it [\472](https://github.com/rytilahti/python-miio/pull/472) ([rytilahti](https://github.com/rytilahti))
- Fix miio-extract-tokens for devices without tokens [\469](https://github.com/rytilahti/python-miio/pull/469) ([domibarton](https://github.com/domibarton))
- Rename speed property to avoid a name clash at HA [\466](https://github.com/rytilahti/python-miio/pull/466) ([syssi](https://github.com/syssi))
- Corrected link in discovery.rst and Xiaomi Air Purifier Pro fix [\465](https://github.com/rytilahti/python-miio/pull/465) ([swiergot](https://github.com/swiergot))
- New method to obtain tokens [\464](https://github.com/rytilahti/python-miio/pull/464) ([swiergot](https://github.com/swiergot))
- Add a troubleshooting entry for vacuum timeouts [\463](https://github.com/rytilahti/python-miio/pull/463) ([rytilahti](https://github.com/rytilahti))
- Extend miio-extract-tokens to allow extraction from yeelight app db [\462](https://github.com/rytilahti/python-miio/pull/462) ([rytilahti](https://github.com/rytilahti))
- Docs for token extraction for Apple users [\460](https://github.com/rytilahti/python-miio/pull/460) ([domibarton](https://github.com/domibarton))
- Add troubleshooting guide for cross-subnet communications [\459](https://github.com/rytilahti/python-miio/pull/459) ([domibarton](https://github.com/domibarton))
- Sphinx config fix [\458](https://github.com/rytilahti/python-miio/pull/458) ([domibarton](https://github.com/domibarton))
- Add Xiaomi Chuangmi Plug M3 support \(Closes: \454\) [\455](https://github.com/rytilahti/python-miio/pull/455) ([syssi](https://github.com/syssi))
- Add a "Reviewed by Hound" badge [\453](https://github.com/rytilahti/python-miio/pull/453) ([salbertson](https://github.com/salbertson))
- Air Humidifier: Add set_led method [\451](https://github.com/rytilahti/python-miio/pull/451) ([syssi](https://github.com/syssi))
- Air Humidifier CA1: Fix led brightness command [\450](https://github.com/rytilahti/python-miio/pull/450) ([syssi](https://github.com/syssi))
- Handle "resp invalid json" error \(Closes: \205\) [\449](https://github.com/rytilahti/python-miio/pull/449) ([syssi](https://github.com/syssi))
- Air Conditioning Partner: Extract the return value of the plug_state request properly [\448](https://github.com/rytilahti/python-miio/pull/448) ([syssi](https://github.com/syssi))
- Expose power_socket property at AirConditioningCompanionStatus.\_\_repr\_\_\(\) [\447](https://github.com/rytilahti/python-miio/pull/447) ([syssi](https://github.com/syssi))
- Air Conditioning Companion: Fix some conversion issues [\446](https://github.com/rytilahti/python-miio/pull/446) ([syssi](https://github.com/syssi))
- Add support v7 version for Xiaomi AirPurifier PRO [\443](https://github.com/rytilahti/python-miio/pull/443) ([quamilek](https://github.com/quamilek))
- Add control for persistent maps, no-go zones and barriers [\438](https://github.com/rytilahti/python-miio/pull/438) ([rytilahti](https://github.com/rytilahti))
- Moonlight: Fix parameters of the set_rgb api call [\435](https://github.com/rytilahti/python-miio/pull/435) ([syssi](https://github.com/syssi))
- yeelight bedside: fix set_name and set_color_temp [\434](https://github.com/rytilahti/python-miio/pull/434) ([rytilahti](https://github.com/rytilahti))
- AC Partner: Add swing mode 7 with unknown meaning [\431](https://github.com/rytilahti/python-miio/pull/431) ([syssi](https://github.com/syssi))
- Philips Moonlight: Align signature of set_brightness_and_rgb [\430](https://github.com/rytilahti/python-miio/pull/430) ([syssi](https://github.com/syssi))
- Add support for next generation of the Xiaomi Mi Smart Plug [\428](https://github.com/rytilahti/python-miio/pull/428) ([syssi](https://github.com/syssi))
- Add Xiaomi Air Quality Monitor 2gen \(cgllc.airmonitor.b1\) support [\420](https://github.com/rytilahti/python-miio/pull/420) ([syssi](https://github.com/syssi))
- Add initial support for aqara camera \(lumi.camera.aq1\) [\375](https://github.com/rytilahti/python-miio/pull/375) ([rytilahti](https://github.com/rytilahti))

[0.4.4](https://github.com/rytilahti/python-miio/tree/0.4.4) (2018-12-03)

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](https://github.com/rytilahti/python-miio/compare/0.4.3...0.4.4)

**Implemented enhancements:**

- Not working with Rockrobo Xiaowa \(roborock.vacuum.e2\) [\364](https://github.com/rytilahti/python-miio/issues/364)
- Support for new vacuum model Xiaowa E20 [\348](https://github.com/rytilahti/python-miio/issues/348)

**Fixed bugs:**

- No working with Xiaowa \(roborock.vacuum.c1 v1.3.0\) [\370](https://github.com/rytilahti/python-miio/issues/370)
- Send multiple params broken result [\73](https://github.com/rytilahti/python-miio/issues/73)

**Closed issues:**

- Add lumi.gateway.aqhm01 as unsuppported gateway [\424](https://github.com/rytilahti/python-miio/issues/424)
- Unsupported device zhimi.airpurifier.mc1 [\403](https://github.com/rytilahti/python-miio/issues/403)
- xiaomi repeater v1 [\396](https://github.com/rytilahti/python-miio/issues/396)
- Control Air Conditioner Companion like Xiaomi Mi Smart WiFi Socket [\337](https://github.com/rytilahti/python-miio/issues/337)

**Merged pull requests:**

- Improve discovery a specific device models [\421](https://github.com/rytilahti/python-miio/pull/421) ([syssi](https://github.com/syssi))
- Fix PEP8 lint issue: unexpected spaces around keyword / parameter equals [\416](https://github.com/rytilahti/python-miio/pull/416) ([syssi](https://github.com/syssi))
- AC Partner V3: Add socket support \(Closes \337\) [\415](https://github.com/rytilahti/python-miio/pull/415) ([syssi](https://github.com/syssi))
- Moonlight: Provide property rgb as tuple [\414](https://github.com/rytilahti/python-miio/pull/414) ([syssi](https://github.com/syssi))
- fix last_clean_details to return the latest, not the oldest [\413](https://github.com/rytilahti/python-miio/pull/413) ([rytilahti](https://github.com/rytilahti))
- generate docs for more modules [\412](https://github.com/rytilahti/python-miio/pull/412) ([rytilahti](https://github.com/rytilahti))
- Use pause instead of stop for home command [\411](https://github.com/rytilahti/python-miio/pull/411) ([rytilahti](https://github.com/rytilahti))
- Add .readthedocs.yml [\410](https://github.com/rytilahti/python-miio/pull/410) ([rytilahti](https://github.com/rytilahti))
- Fix serial number reporting for some devices, add locale command [\409](https://github.com/rytilahti/python-miio/pull/409) ([rytilahti](https://github.com/rytilahti))
- Force parameters to be an empty list if none is given [\408](https://github.com/rytilahti/python-miio/pull/408) ([rytilahti](https://github.com/rytilahti))
- Cooker: Fix mixed model name [\406](https://github.com/rytilahti/python-miio/pull/406) ([syssi](https://github.com/syssi))
- Waterpurifier: Divide properties into multiple requests \(Closes: \73\) [\405](https://github.com/rytilahti/python-miio/pull/405) ([syssi](https://github.com/syssi))
- Add Xiaomi Air Purifier 2s support [\404](https://github.com/rytilahti/python-miio/pull/404) ([syssi](https://github.com/syssi))
- Fixed typo in log message [\402](https://github.com/rytilahti/python-miio/pull/402) ([microraptor](https://github.com/microraptor))

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.