rytilahti / python-miio

Python library & console tool for controlling Xiaomi smart appliances
https://python-miio.readthedocs.io
GNU General Public License v3.0
3.64k stars 550 forks source link

Found an unsupported model 'zhimi.airpurifier.mc1' for class 'AirPurifier' on Jeedom 4.1.27 #1234

Closed myke94 closed 2 years ago

myke94 commented 2 years ago

Describe the bug Warning after execute command sudo miiocli airpurifier --ip <ip address> --token <token> status but if i execute command sudo miiocli airpurifier --ip <ip address> --token <token> off or sudo miiocli airpurifier --ip <ip address> --token <token> on The air purifier went off and on !!

Version information:

Device information: sudo miiocli airpurifier --ip <ip address> --token <token> info :

To Reproduce Steps to reproduce the behavior:

  1. After execute command sudo miiocli airpurifier --ip <ip address> --token <token> status

Expected behavior No Warning

Console output WARNING:miio.device:Found an unsupported model 'zhimi.airpurifier.mc1' for class 'AirPurifier'. If this is working for you, please open an issue at https://github.com/rytilahti/python-miio/ Power: on AQI: 1 μg/m³ Average AQI: 5 μg/m³ Temperature: 20.3 °C Humidity: 62 % Mode: auto LED: True LED brightness: None Illuminance: 0 lx Buzzer: False Child lock: False Favorite level: 14 Filter life remaining: 0 % Filter hours used: 11908 Use time: None s Purify volume: None m³ Motor speed: 352 rpm Motor 2 speed: None rpm Sound volume: None % Filter RFID product id: x:x:xx:xx Filter RFID tag: xx:xx:xx:xx:xx:xx:x Filter type: FilterType.Regular Learn mode: False Sleep mode: None Sleep time: None Sleep mode learn count: None AQI sensor enabled on power off: None

snp88 commented 2 years ago

The same is for humidifiers

Logger: miio.device Source: /usr/local/lib/python3.9/site-packages/miio/device.py:153 First occurred: 19:16:11 (2 occurrences) Last logged: 19:16:11

Found an unsupported model 'zhimi.airpurifier.mb3' for class 'AirPurifierMiot'. If this is working for you, please open an issue at https://github.com/rytilahti/python-miio/ Found an unsupported model 'zhimi.humidifier.ca4' for class 'AirHumidifierMiot'. If this is working for you, please open an issue at https://github.com/rytilahti/python-miio/