Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce verbosity of logging by using Homebridge debug mode #24

Closed
PuzzledUser opened this issue Apr 14, 2023 · 1 comment
Closed

Reduce verbosity of logging by using Homebridge debug mode #24

PuzzledUser opened this issue Apr 14, 2023 · 1 comment

Comments

@PuzzledUser
Copy link
Contributor

PuzzledUser commented Apr 14, 2023

Homebridge logs (for other plugins) are obscured by lots of verbose logging from Away Mode. Relegate many log events to Homebridge Debug (-D) mode — they're still available when needed, but otherwise out of the way.

Replace initialisation dump of JSON timer config with summary of times for each sensor.

Also (perhaps controversially) add a new more compact single line log entry for ON events, rather than details of timers for future OFF (currently on) and ON (currently off) events.

e.g.
[13/04/2023, 21:21:03] [Away Mode] Bed (0): Motion on for 1055s until [21:38:38]

I've (hopefully) made a Pull Request with the specifics.
Cheers

@isalkind
Copy link
Owner

@PuzzledUser version 1.6.5 was published this morning that included your PR. Again, thanks for your efforts!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants