merdok / homebridge-miot

Homebridge plugin for devices supporting the Xiaomi miot protocol
MIT License
391 stars 61 forks source link

Add support for zhimi.airpurifier.xa1 #68

Closed krmkrx closed 2 years ago

krmkrx commented 3 years ago

Please add support for the Xiaomi Mijia Air Purifier X (zhimi.airpurifier.xa1). Currently this is exposed as an ON/OFF switch only.

merdok commented 3 years ago

Will add support for that device in the next update. Can you tell me the exact name of the device?

krmkrx commented 3 years ago

Thank you.

It is this device: https://de.aliexpress.com/i/1005001710827302.html

image

image

This device is currently exposed by the plugin as a simple but working ON/OFF switch. In the HomeKit device details I can see that the Plugin recognises the Air Purifier as "zhimi.airpurifier.xa1"

image

Please note two special functions of this Air Purifier which differentiates it from the other Xiaomi Air Purifiers:

1) Shutter switch angle / Vane angle setting

image

2) VOC Sensor

image

merdok commented 3 years ago

Version 0.9.9 now has support for the device! Please try it out and let me know!

AaronMahn commented 3 years ago

This error, "[Mi Air Purifier X] Poll failed 4 times in a row! Stopping polling and trying to reconnect! Reason: Error: busy", may always appear.

merdok commented 3 years ago

Try to set a higher polling interval value to reduce the load on the device.