homebridge-xiaomi-air-purifier3 icon indicating copy to clipboard operation
homebridge-xiaomi-air-purifier3 copied to clipboard

Log output control

Open To-Azamat opened this issue 4 years ago • 3 comments

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

Thanks!

To-Azamat avatar Jul 20 '20 19:07 To-Azamat

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

paqpaqpaq avatar Oct 28 '20 12:10 paqpaqpaq

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

Cocco17 avatar Nov 05 '20 11:11 Cocco17

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?

paqpaqpaq avatar Nov 30 '20 20:11 paqpaqpaq