torifat/xiaomi-mi-air-purifier

Can modify fan speed or modes on Smartmi Air Purifier

Opened this issue · 3 comments

Device does not respond to Homekit request. Can't change the fan speed or turn on modes. Sensors are ok, I can see Air Quality (but as good or bad), humidity in % and temperature. Did I do something wrong in the device configuration?

Having the same issue, the https://github.com/seikan/homebridge-mi-air-purifier plugin seems to work but also seems to be discontinued..

Can you please try the new version? The old one wasn't working properly with Homebrige 1.3.

Nope, still get issues with the fan speed:

Jan 21 21:37:13 homebridge homebridge[4220]: [2022-1-21 21:37:13] [homebridge-xiaomi-mi-air-purifier] This plugin threw an error from the characteristic 'Rotation Speed': Unhandl
ed error thrown inside write handler for characteristic: device.changeFanSpeed is not a function. See https://git.io/JtMGR for more info.
Jan 21 21:37:14 homebridge homebridge[4220]: MiioDevice {
Jan 21 21:37:14 homebridge homebridge[4220]:   model=zhimi.airpurifier.m1,
Jan 21 21:37:14 homebridge homebridge[4220]:   types=miio:air-purifier, sensor, miio, air-purifier,
Jan 21 21:37:14 homebridge homebridge[4220]:   capabilities=fan-speed, miio:buzzer, miio:led-brightness, miio:switchable-led, pm2.5, relative-humidity, temperature, switchable-mo
de, mode, switchable-power, restorable-state, power, state
Jan 21 21:37:14 homebridge homebridge[4220]: }
Jan 21 21:37:14 homebridge homebridge[4220]: [2022-1-21 21:37:14] [homebridge-xiaomi-mi-air-purifier] This plugin threw an error from the characteristic 'Rotation Speed': Unhandl
ed error thrown inside write handler for characteristic: device.changeFanSpeed is not a function. See https://git.io/JtMGR for more info.
Jan 21 21:37:16 homebridge homebridge[4220]: MiioDevice {
Jan 21 21:37:16 homebridge homebridge[4220]:   model=zhimi.airpurifier.m1,
Jan 21 21:37:16 homebridge homebridge[4220]:   types=miio:air-purifier, sensor, miio, air-purifier,
Jan 21 21:37:16 homebridge homebridge[4220]:   capabilities=fan-speed, miio:buzzer, miio:led-brightness, miio:switchable-led, pm2.5, relative-humidity, temperature, switchable-mo
de, mode, switchable-power, restorable-state, power, state
Jan 21 21:37:16 homebridge homebridge[4220]: }