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/calonmerc/MMM-Metar.git
Add a configuration block to the modules array in the ~/MagicMirror/config/config.js
file and define your AVWX.rest (register for an account) API Key:
var config = {
modules: [
{
module: "MMM-Metar",
position: "top_right",
config: {
apiKey: "<api-key-here>",
airports: [ "KSFO","PAO","HAF","JFK" ],
},
},
],
};
This is the minimal config setup, you find more params in the default
section of MMM-Metar.js
.