smhex / homebridge-wled-ws

Homebridge Plugin for LED strips controlled by WLED
Apache License 2.0
10 stars 1 forks source link

Option for less-verbose logging for routine operation #182

Open mishakim opened 3 days ago

mishakim commented 3 days ago

Is your feature request related to a problem? Please describe: It seems that even the most basic operation - turning on a single preset, for example - results in multiple lines being logged, at leave five, maybe more. With my system operating normally and stably, my logs are basically filled with entries from this plugin. Example below of what I'm talking about

Describe the solution you'd like: Have the option to not log routine on/off/status update actions, or to consolidate all the events that represent a single change into a single log entry

Additional context: I have two controllers, both controlled by HomeKit automations to turn the strips on and off and to switch between various presents throughout the day

Example logs for a single event: `[20/11/2024, 15:48:14] [wled-ws platform] Set On state for preset 1 (Pride) of controller Roofdeck to: On

[20/11/2024, 15:48:14] [wled-ws platform] Received controller Roofdeck state update

[20/11/2024, 15:48:14] [wled-ws platform] Controller Roofdeck updated current On state to: true

[20/11/2024, 15:48:14] [wled-ws platform] Controller Roofdeck updated current preset to: 1

[20/11/2024, 15:48:14] [wled-ws platform] Set On state for new preset 1 (Pride) of controller Roofdeck to: On

[20/11/2024, 15:48:14] [wled-ws platform] Received info for controller Roofdeck`

smhex commented 14 hours ago

Thank for sharing - I got your point. As the plugin is still in beta I kept the log messages. The next version will contain additional settings to reduce the output.