Coder Social home page Coder Social logo

mmm-taf's Introduction

Module: Magic Mirror TAF (MMM-TAF)

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.

Screenshot

screenshow

Installation

  1. Navigate to your MagicMirror modules directory.
  2. Execute git clone https://github.com/imperian/MMM-TAF.git.
  3. Add the module to your MagicMirror's config.js file (see next section).

Using the Module

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
		}
	},
	...
]

Parameters

  • 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.

Notes

  • The time displayed at the end of each weather summary is the time of the last weather report (converted to your local time)

License

MMM-TAF is licensed under the Apache License, Version 2.0.

mmm-taf's People

Contributors

imperian avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.