rgavril / homebridge-xiaomi-air-purifier3

Homebridge plugin for controlling Xiaomi Air Purifier 3/3H
46 stars 7 forks source link

Log output control #18

Open To-Azamat opened 3 years ago

To-Azamat commented 3 years ago

Can you please add option to disable/limit log output? Running 2 purifiers my log gets really noisy very fast.

Thanks!

paqpaqpaq commented 3 years ago

was looking for the same thing. log files are flooding with purifier data

Cocco17 commented 3 years ago

Would love to see this function/option realized as well! Information is just needed in the beginning for debug purposes, but is unnecessary in the log output afterwards

paqpaqpaq commented 3 years ago

I think this plugin is not maintained anymore. anyway, in index.js There is (line 66)

setInterval(function() { try { that.log('Polling properties') that.miotPurifier.pollProperties(); } catch (e) { that.log(e); } }, 30000); }

It needs to log to communicate/update with Home I presume, however, who has an option to simply block it from outputing to homebridge log?