Skip to content

konecnyna/MMM-MTA

Repository files navigation

Module: MMM-MTA

The MMM-MTA module is to get the MTA status of subway lines in NYC.

Install

In your MagicMirror/modules directory run:

git clone https://github.com/konecnyna/MMM-MTA.git; cd MMM-MTA/; npm install

Using the module

To use this module, add it to the modules array in the config/config.js file:

modules: [
	{
		module: "MMM-MTA",
		position: "top_right",
		header: "MTA",
		config: {
			lines: ['123', 'BDFM', 'JZ'],
			showDelaysOnly: true,
			delayAlertFlash: true,
			fetchInterval: 60000
		}
	}
]

Screenshot

Configuration options

The following properties can be configured:

Option Description
lines The lines that you care about.
showDelaysOnly Only display updates for lines that have delays
delayAlertFlash Enabled/Disable slow fade alert for delays
fetchInterval Check train status interval. Default is 5 minutes;

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published