luisiam / homebridge-cmdswitch2

CMD Plugin for HomeBridge (API 2.0): https://github.com/nfarina/homebridge
Apache License 2.0
176 stars 29 forks source link

Excessive log chatter showing current state #76

Open pinsonlawrimore opened 2 years ago

pinsonlawrimore commented 2 years ago

I have 3 cmd switches set up, and every 2 minutes all 3 report their current state in the homebridge logs.

Ex: [2/17/2022, 10:45:27 AM] [cmdSwitch2] Fog Button is off. [2/17/2022, 10:45:27 AM] [cmdSwitch2] Play Channel 10 is off. [2/17/2022, 10:45:27 AM] [cmdSwitch2] Play Channel 20 is off. [2/17/2022, 10:47:27 AM] [cmdSwitch2] Fog Button is off. [2/17/2022, 10:47:27 AM] [cmdSwitch2] Play Channel 10 is off. [2/17/2022, 10:47:27 AM] [cmdSwitch2] Play Channel 20 is off. [2/17/2022, 10:49:27 AM] [cmdSwitch2] Fog Button is off. [2/17/2022, 10:49:27 AM] [cmdSwitch2] Play Channel 10 is off. [2/17/2022, 10:49:27 AM] [cmdSwitch2] Play Channel 20 is off. [2/17/2022, 10:51:27 AM] [cmdSwitch2] Fog Button is off. [2/17/2022, 10:51:27 AM] [cmdSwitch2] Play Channel 10 is off. [2/17/2022, 10:51:27 AM] [cmdSwitch2] Play Channel 20 is off.

Is there a way to disable this and only report errors (or similar messages) to the log?