New features
-
Support for multiple watchdogs, to not just monitor heartbeats but to also monitor occurrences of specific messages.
-
Support to count specific messages during a configurable interval, to report basic statistics (and to implicitly ensure the monitor itself is still operational).
-
Displaying times in Slack and Telegram notifications in the local timezone rather than UTC.
-
The log file's directory name can either be specified in
filename
, or indirname
(default: current folder).
Breaking changes
-
The filename suffix has moved from
datePattern
intofilename
. The latter now supports the%DATE%
token, where the first now uses the moment.js date format, likedatePattern: 'YYYYMMDD'
(instead of'yyyyMMdd.log'
) andfilename: 'uart-monitor-all-%DATE%.log'
. -
The configuration for the watchdogs is now an array, and has been renamed to
watchdogs
; seeconfig-example-ttn.js
.