Git Product home page Git Product logo

mmm-faa-delay's Introduction

MMM-FAA-Delay

FAA delay

This a module for the MagicMirror. This module shows FAA published delays at major US airports.

Installation

  1. Navigate into your MagicMirror's modules folder and execute git clone https://github.com/nigel-daniels/MMM-FAA-Delay. A new folder MMM-FAA-Delay will appear, navigate into it.
  2. Execute npm install to install the node dependencies.

Config

The entry in config.js can include the following options:

Option Description
interval How often the traffic is updated.

Type: integer
Default value: 900000 // 15 minutes
airports Required This is a list of airports you want to monitor for delays. Use the airports International Air Transport Association (IATA) code. The FAA supported IATA codes can be found here

Type: string
showWeather Display the weather for that airport. This may not be needed if you live close by.

Type: boolean
Default value: true // Display the weather

Here is an example of an entry in config.js

{
    module:		'MMM-FAA-Delay',
    position:		'top_left',
    header:		'Airport Delays',
    config:		{
                interval:		300000,  // 5 min updates
                airports:		['SFO', 'SJC']
                }
},

Dependencies

  • request (installed via npm install)

Notes

Enjoy this module, sorry this only covers the US if there are other systems for different regions please let me know and I'll look at integration. Feel free to submit pull requests or post issues and I'll do my best to respond.

Thanks To...

mmm-faa-delay's People

Contributors

nigel-daniels avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

moabifokotsane

mmm-faa-delay's Issues

Stuck at "Loading Airport Data..."

Module was working yesterday, not sure what happened.

MM app returns the following:

Whoops! There was an uncaught exception...
TypeError: Cannot read property 'Weather' of undefined
at Request._callback (/home/odroid/MagicMirror-master/modules/MMM-FAA-Delay/node_helper.js:78:57)
at Request.self.callback (/home/odroid/MagicMirror-master/modules/MMM-FAA-Delay/node_modules/request/request.js:185:22)
at Request.emit (events.js:182:13)
at Request. (/home/odroid/MagicMirror-master/modules/MMM-FAA-Delay/node_modules/request/request.js:1161:10)
at Request.emit (events.js:182:13)
at IncomingMessage. (/home/odroid/MagicMirror-master/modules/MMM-FAA-Delay/node_modules/request/request.js:1083:12)
at Object.onceWrapper (events.js:273:13)
at IncomingMessage.emit (events.js:187:15)
at endReadableNT (_stream_readable.js:1090:12)
at process._tickCallback (internal/process/next_tick.js:63:19)

Stuck at "Loading Airport Data"

I've rebooted a few times now and still the same message on the module/dipslay. This module has been rock solid for years for me. Lately now it's no longer pulling the FAA data for the past week. Perhaps the FAA changed their API or something?

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.