This is a module for MagicMirror.
MMM-TAF
displays aviation weather information including both METAR and TAF data on your MagicMirror. It pulls its data from avwx.rest,
which is an open source API that pulls from NOAA. Source for AVWX is available here.
This module uses the layout from MMM-aviationwx but is not limited to US airports, and parses the results more.
- Navigate to your MagicMirror
modules
directory. - Execute
git clone https://github.com/imperian/MMM-TAF.git
. - 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-TAF',
position: 'top_left',
config: {
airports: 'KPHL,KGLL', // 4-Letter ICAO only. Will convert 3 letter IATA for US only
token: 'XXXXXXX', // Token obtained at AVWX.REST
updateInterval: 10, // update interval in minutes
}
},
...
]
position
: See MagicMirror documentation for usage.config.airports
: Comma delimited list of 4-character ICAO airport codes. 3-Character US codes should also work.config.token
: Token for authentication to avwx.rest service. Tokens required as of November 2019.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.
- The time displayed at the end of each weather summary is the time of the last weather report (converted to your local time)
MMM-TAF
is licensed under the Apache License, Version 2.0.