Skip to content

v2.0

Choose a tag to compare

@Highpoint2000 Highpoint2000 released this 15 May 15:01
· 14 commits to main since this release

ES Alert Plugin for FM-DX-Webserver

This plugin displays toast notifications when ES alarms are triggered for the location via FMLIST

ES

image

Version 2.0

  • Use of the new FMLIST API for Ticker News
  • New selection options (North America, South America, Asia)
  • Added filter for Autolog entries

Installation notes:

  1. Download the last repository as a zip
  2. Unpack the ESAlert.js and the ES-Alert folder with the es-alert.js into the web server plugins folder (..fm-dx-webserver-main\plugins)
  3. Configure the settings in the header of the script
  4. Restart the server
  5. Activate the plugin it in the settings

Configuration options:

The following variables can be changed in the header of the es-alert.js:

/* ==== ES ALERT & MUF Info Options ================================================= */
const OMID               = '';	  // Enter the valid FMLIST OMID here, e.g. '1234'
const SELECTED_REGION    = 'EU';  // 'EU', 'NA', or 'AU'
const LAST_ALERT_MINUTES = 15;    // Minutes to look back when page loads (default is 15)
const PLAY_ALERT_SOUND   = true;  // true = play sound on new alert

/* ==== ES Ticker Options ================================================= */
const LAST_TICKER_MINUTES   = 5;		// Minutes to show last ticker logs (default is 5, maximum is 15)
const NUMBER_TICKER_LOGS    = 5;		// Number of ticker logs until repetition (5 is default, 1 is only the latest) 
const TICKER_ROTATE_SECONDS = 5;		// Rotate every X seconds
const TICKER_REGION         = 'EUR'; 	// 'EUR', 'NAM', 'SAM', 'AUS', 'ASI' or ITU Code of Country (D, SUI, GRC ...)
const AUTOLOGGED_ENTRIES    = true;		// displays autologged entries 

/* ==== Global Options ================================================= */
const USE_LOCAL_TIME        = true; // true = display in local time, false = UTC/GMT

Notes:

To use the plugin, you need an active FMLIST account. To receive ES alarm notifications via the plugin, you must enable ES email notifications in FMLIST. You must also specify your OMID in the plugin's configuration settings. After activating the plugin as an administrator using the ES alarm button, it checks every minute for notifications for the location. A long press on the ES alarm button after receiving an alarm notification opens the ES direction map. – Additionally, a status indicator for sporadic E (ES) is displayed in the menu bar, which, for ES, shows the MUF value for the region selected in the script header (NA, EU, or AU). Hovering over the indicator informs you when the message was published. The MUF display can be deactivated using a switch in the web server options. By default, the ticker displays the last 5 logs from the last 5 minutes. The logs change every 5 seconds; clicking on them opens the log entry in the FMLIST map. The ticker can be turned on or off in the web server settings. Clicking on the frequency in the ticker log switches to the web server. Clicking on the ticker heading opens the FMLIST ES page.

History:

Version 1.5b

  • Country flag added
  • Reverse FMLIST link added (shows all receptions from the current region)

Version 1.5a

  • bugfixing
  • the ticker now also retrieves country-specific logs

Version 1.5

  • ES Ticker in a new design with more information
  • Frequencies in the ticker are now clickable
  • Regions (EU, NA, and AU) now also apply to the ticker

Version 1.4

  • Added ES Ticker
  • Switch to quickly disable the ES Ticker implemented in the web server settings

Version 1.3

  • Added message duration for mouseover
  • Switch to quickly disable the MUF display implemented in the web server settings

Version 1.2

  • Sporadic E (ES) status indicator added

Version 1.1

  • a direction map has been integrated

Version 1.0

  • Displays toast notifications and play sound when ES alarms are triggered