Closed davidjbradshaw closed 1 year ago
Would be cool to not reduce default logging, as I am grabbing the samples from the log file to store them with my monitoring tool. The customer API only allows a limited query frequency, thus I opted to not collect them separately, as this would exceed the maximum number of allowed requests per hour.
Maybe create an option then, but it is not good to spam the log file every minute by default. It stops people seeing other issues.
Every other plugin I use also logs temperature etc. E.g. Govee, Fritz, Mhac-WiFi are all showing environmental data.
Merging, but planning to make this configurable like many other plugins so it can be opt-in for those who want to view it (and not have to enable debug globally within Homebridge).
Change the latest samples log message to use
log.debug
to reduce the amount of messages in the main HomeBridge log file to a manageable level.