Skip to content

KevinAnthony/mmm-njt-rail

Repository files navigation

MagicMirror Module: NJ Transit Rail Service

MMM-NJT-Rail is a module for the MagicMirror. It displays departures for a given Train Station.

Preview

Usage

Installation

1. Clone this module into your MagicMirror's modules directory

cd modules && 
git clone https://github.com/KevinAnthony/mmm-njt-rail.git

2. Install this module's dependencies

cd mmm-njt-rail &&
npm install --production

3. Add this module to your MM config's modules array

cd ../.. && 
vi config/config.js

#Config ##Values

value Description Default Value
station Station name, taken from NJT Departure Vision NOTE: this is case-sensitive. New York Penn Station
fadePoint At which point down the list should the list start fading to nothing, set to 1 for no fade. .25
maxShown How many rows of departures should be shown, set to 0 for all. 0
refreshInterval How often should thee information be refreshed, in seconds. 60

##Example Config

{
    module: "MMM-NJT-Rail", 
    header: "Newark",
    position: "bottom_left",
    config: {
        station: "Newark Penn Station", 
        maxShown: 8,
    }
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published