This is a module for MagicMirror.
MMM-aviationwx
displays aviation weather information (METAR data) for airports on your MagicMirror. If
the FAA tracks delay information for that airport, it will also note if there are any current delays and the reason for the delay if the airport has provided one.
The module includes hyperlinks and tooltips that are generally not accessible with a Raspberry PI installation, but will work if you have mouse control (which is more often the case if you run Magic Mirror on another OS, such as macOS).
- Navigate to your MagicMirror
modules
directory. - Execute
git clone https://github.com/stuloh/MMM-aviationwx
. - Add the module to your MagicMirror's
config.js
file (see next section).
To use this module, add it to the modules array in the config/config.js
file:
modules: [
...,
{
module: 'MMM-aviationwx',
header: 'Aviation Weather',
position: 'top_left',
config: {
airports: "KSFO ,JFK ,LFBD ,ORY", // airports list
US_country: "Y ,Y ,N ,N",//if the airport is in the US put Y (yes) otherwise put N (no)
updateInterval: 10, // in minutes
legend:1 // show legend for VFR, MVFR, IFR, MIFR
}
},
...
]
position
: See MagicMirror documentation for usage.header
: Optional. See MagicMirror documentation for usage.config.airports
: Comma delimited list of airport codes (spaces and tab allowed). Supports 3-character IATA codes or 4-character ICAO codes.config.US_country
: Comma delimited to specify if the airports upward is in the US or not(spaces and tab allowed).config.updateInterval
: How often the module will pull new data in minutes. Airports generally only update every 60 minutes. Additionally, because of how the Aviation Weather Center provides METAR data, each update pulls down the data for most airports in the continental U.S., so I suggest going easy on the update frequency.config.legend
: to print the color legend for flight categories.
- If there is a ceiling, it will show the height in hundreds of feet and whether it's a broken or overcast layer. If there's no ceiling, it will just show the type of highest cloud cover: few, scattered, human-generated clear sky (SKC), automated clear sky (CLR).
- The time displayed at the end of each weather summary is the time of the last weather report (converted to your local time)
- Hover over weather summary for raw METAR data.
- Click on airport code for TAF data.
- For links and tooltips to work, ensure another module is not 'covering'
MMM-aviationwx
(check your relativez-index
). - If there's an airport delay, the module will send a notification to the alert module that is included by default with MagicMirror.
- Decoding of wx (
+RA
,BR
, etc.) to English or icons - Decoding of delay abbreviations (
VOL
, etc.) - General code and technique clean up
MMM-aviationwx
is licensed under the Apache License, Version 2.0.