Skip to content

v2.0

Choose a tag to compare

@Highpoint2000 Highpoint2000 released this 02 Nov 12:09
· 9 commits to main since this release
d893d08

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:

  1. Download the last repository as a zip
  2. 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)
  3. Restart the server
  4. 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.