YinHangCode / homebridge-mi-airpurifier

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

Xiaomi sensors update (Air Purifier Pro / PM2.5) #35

Open MacDyson909 opened 5 years ago

MacDyson909 commented 5 years ago

Hello, After working 1 month to build my Homebridge, I am very happy with the result and would like to thank all the contributors of this project, it's just fabulous! I still have a shadow on the board, the automatic update of Xiaomi sensor information that does not work. I have an "Air Purifier Pro" that I integrated using the plugin "Homebridge Mi Airpurifier" and a "PM2.5" integrated with "Homebridge Mi Pm2_5", both distributed by @deserteageal. I saw that the "polling" had worked, I added the lines of code to the .json Air Purifier Pro device, but nothing better. For PM2.5, no more updates ... I am forced to relaunch the app to get the update, which prevents any automatic use ... If anyone had a solution or idea to solve this problem? Thanks in advance