YinHangCode / homebridge-mi-airpurifier

XiaoMi air purifier plugins for HomeBridge.
115 stars 34 forks source link

Add polling and update miio #29

Open arrizer opened 5 years ago

arrizer commented 5 years ago

I added polling device values every 5 seconds. This allows HomeKit automations that use a sensor value from the device as input to work. Without polling, a rule never gets executed.

I also updated the underlying miio module to allow for more devices to be supported.

kot-925 commented 5 years ago

some reason not updated the air quality and humidity. To update the data you need to close homekit and open it again. status of the inclusion is updated normally.

MacDyson909 commented 5 years ago

Hello, i've tried to modify the files for my AirPurifierPro, but i didn't get more update, i need to re-load Home to run Automation. A conf.js file modification is it necessary to enable this future ? Could you help me please ? Regards

arrizer commented 2 years ago

@Aekung You can install this fork using npm:

npm -g i arrizer/homebridge-mi-airpurifier