-
-
Notifications
You must be signed in to change notification settings - Fork 569
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.mb5) #1352
Comments
Is it working or not? If it is not working, that's likely the wrong implementation class. There exist a couple of models in AirpurifierMiot with the same |
Nope, device is working, $ miiocli airpurifiermiot --ip 192.167.3.7 --token XXXXXXXXX info |
By the way, it's working now. |
Fixed. |
So it's using the same mapping as VA2, or is it working with the fallback |
Nope, it's working by manually added fallback `_MAPPING |
If it works with the mapping of VA2, it is enough to add a new line to https://github.com/rytilahti/python-miio/blob/master/miio/airpurifier_miot.py#L112 just like you did :-) edit: oh, there's already a PR to just do exactly that! 🎉 |
Device information:
Name(s) of the device: Xiaomi Smart Air Purifier 4
Link: https://www.mi.com/global/product/xiaomi-smart-air-purifier-4/specs
Use
miiocli device --ip <ip address> --token <token>
.Model: zhimi.airp.mb5
Hardware version: esp32
Firmware version: 2.2.1
Could not be used due to error:
Found an unsupported model 'zhimi.airp.mb5' for class 'AirPurifier'
The text was updated successfully, but these errors were encountered: