ebaauw / homebridge-p1

Homebridge plugin for DSMR end-consumer (P1) interface
Apache License 2.0
53 stars 11 forks source link

Can we have a config option to disable the log output? #54

Closed x5nder closed 2 years ago

x5nder commented 2 years ago

I love this plugin and am very happy with the development! I do, however, wish to disable the continuous logging because it's pretty hard to troubleshoot other plugins when the log files are completely filled with lines like these:

[9/7/2021, 4:25:22 PM] [P1] Electricity: set Total Consumption from 36128.027 kWh to 36128.028 kWh
[9/7/2021, 4:25:22 PM] [P1] Electricity: set Total Consumption Normal from 16578.191 kWh to 16578.192 kWh
[9/7/2021, 4:25:22 PM] [P1] Electricity: set Current Consumption from 340 W to 330 W
ebaauw commented 2 years ago

Set Log Level to 0 in the electricity accessory.