Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unsupported device Xiaomi Smart Air Purifier 4 (zhimi.airp.mb5a) #1523

Closed
Som83 opened this issue Sep 13, 2022 · 1 comment · Fixed by #1527
Closed

Unsupported device Xiaomi Smart Air Purifier 4 (zhimi.airp.mb5a) #1523

Som83 opened this issue Sep 13, 2022 · 1 comment · Fixed by #1527

Comments

@Som83
Copy link

Som83 commented Sep 13, 2022

Device information:

Work fine with either "--model zhimi.airp.mb5" or "--model zhimi.airp.va2" except for 'set_led_brightness bright'. Backlight just switch off insted of lighting bright. 'Dim' and 'Off' work as intended.

>miiocli airpurifiermiot --model zhimi.airp.mb5 --ip 172.16.0.199 --token **** status
Power: on
Anion: True
AQI: 3 μg/m³
TVOC: None
Average AQI: 6 μg/m³
Humidity: 62 %
Temperature: 19.3 °C
PM10 Density: None μg/m³
Fan Level: 1
Mode: OperationMode.Auto
LED: None
LED brightness: LedBrightness.Dim
LED brightness level: None
Gestures: None
Buzzer: False
Buzzer vol.: None
Child lock: False
Favorite level: 11
Filter life remaining: 73 %
Filter hours used: 1947
Filter left time: 210 days
Use time: None s
Purify volume: 97365 m³
Motor speed: 447 rpm
Filter RFID product id: 0:0:32:36
Filter RFID tag: 81:73:bb:f2:73:54:4
Filter type: FilterType.Regular
@rytilahti
Copy link
Owner

rytilahti commented Sep 13, 2022

Thanks for the report! You could try to add your model to this list (and adjust the status container to fix the reporting) to see if that fixes the issue: https://github.com/rytilahti/python-miio/blob/master/miio/integrations/airpurifier/zhimi/airpurifier_miot.py#L693

If you wish, feel free to create a PR to adjust the file (the mapping, the led brightness pieces)!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants