aholstenson / miio

Control Mi Home devices, such as Mi Robot Vacuums, Mi Air Purifiers, Mi Smart Home Gateway (Aqara) and more
MIT License
1.86k stars 354 forks source link

Support consumable info for air purifiers #96

Open aholstenson opened 6 years ago

aholstenson commented 6 years ago

The vacuum cleaner reports information about its filter use. This information should be mapped and made available in miio.

leoneleone commented 6 years ago

It would be great to have the Filter info for the Air Purifiers too 😊

rytilahti commented 6 years ago

Maybe the code in https://github.com/rytilahti/python-miio/blob/master/miio/airpurifier.py helps to decode the information.

Steve-Wax commented 4 years ago

I see that the filter use properties are defined in air-purifier.js, but it doesn't seem like the properties are active. Is this still possible to do?