This is a module for the MagicMirror²-Project.
It displays METARs from airports defined in config.
Decoded view
Raw view
Assuming ~/MagicMirror is the directory where you installed MagicMirror².
cd ~/MagicMirror/modules
git clone https://github.com/calonmerc/MMM-MetarAdd 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:
{
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.

