This is a module for the MagicMirror²-Project.
It displays METARs from airports defined in config.
Assuming ~/MagicMirror
is the directory where you installed MagicMirror².
cd ~/MagicMirror/modules
git clone https://github.com/ooohfascinating/MMM-Metar.git
Code was forked from calonmerc/MMM-Metar all props should go to them.
Add a configuration block to the modules array in the ~/MagicMirror/config/config.js
file
var config = {
modules: [
{
module: "MMM-Metar",
position: "top_right",
config: {
airports: [ "KSFO","PAO","HAF","JFK" ],
},
},
],
};
full config
{
airports: [ "KSFO","PAO","HAF","JFK" ],
updateInterval: 10 * 60 * 1000, //every 10 minutes
initialLoadDelay: 0, // 0 seconds delay
listClass: "metarsList",
alternateBackgrounds: true,
borderBottom: true,
warnLength: 10,
}