v2.0
CanLogServer Plugin for FM-DX-Webserver
This plugin provides a central server to manage the FMLIST logs and DX alerts.
Version 2.0 (only works from Scanner plugin version 2.8c and DX-Alert plugin 3.4 !!!)
- Added management for the alarms of the DX-Alert plugin
Installation notes:
- Download the last repository as a zip
- Unpack the CanLogServerPlugin,js and the CanLogServer folder (with the canlog.js and canlog_server.js) into the web server plugins folder (..fm-dx-webserver-main\plugins)
- Restart the server
- Activate the plugin it in the settings
Notes:
- Do not delete canlog.js even if it is empty!
- Please enter Server:Port (e.g. 127.0.0.1:2000) in the JSON configuration file of the scanner plugin and/or the dx-alert plugin
- When the server is used, the log interval set in the scanner.json/DX-Alert.json is inactive because the log interval set for the server takes precedence
Configuration options:
The following variables can be changed in the header of the canlog_server.js:
const PORT = 2000; // Port on which the server should run
let LogInterval_FMLIST = 60; // Specify here in minutes when a log entry can be sent again (default: 60, minimum 60, off: 0) ---> for Scanner Plugin!
let LogInterval_DXALERT = 60; // Specify here in minutes when a alarm entry can be sent again (default: 60, minimum 2, off: 0)) ---> für DX-Alert Plugin!
History:
Version 1.0
When using multiple web servers, it is recommended to use a central server to manage the FMLIST log entries. The CanLogServer prevents multiple web servers from entering the same station into the FMLIST database at the same time interval.