benzman81 / homebridge-nukiio

Nuki.io support for Homebridge: https://github.com/nfarina/homebridge
GNU General Public License v3.0
42 stars 6 forks source link

Disable log entries?! #87

Open tobihoby opened 2 years ago

tobihoby commented 2 years ago

Hi, How can I limit or minimize the messages displayed in the log?

Regards Tobi

benzman81 commented 2 years ago

Not yet possible. Feel free to open a pull request.

solbadguy2010 commented 2 years ago

Yes, please move the log-entires to the Homebridge Debug Mode.

jenstheclown commented 1 year ago

+1

It's terrible.

madcat-nl commented 11 months ago

To solve this issue, I edited the javascript to disable the cached logging which was keep showing up. I have configured with "lock_state_mode": 1

sudo nano +69 /var/lib/homebridge/node_modules/homebridge-nukiio/src/nuki/NukiLock.js Add // to this line, so it shows like this: //this.log("Cached lock state is isLocked = '%s'.", cachedIsLocked);