MMM-NJT-Rail
is a module for the MagicMirror. It displays departures for a given Train Station.
cd modules &&
git clone https://github.com/KevinAnthony/mmm-njt-rail.git
cd mmm-njt-rail &&
npm install --production
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,
}
}