Description:
MMM-transitfeed uses GTFS (General Transit Feed Specification) sources to generate a live departures board that works for most public transit agencies. Agencies decide whether to publish GTFS data, so YMMV. For instance, SEPTA publishes one file with regional rail routes, and a second with everything else. As long as both are imported in the config
, queries for bus, regional rail, trolley, and subway lines all work.
Using the configuration, you can specify which routes, stations, and directions to monitor. By default, the next three departures are shown, but that’s configurable too. The README
has more detail on configuration options.
GTFS is used by Google/Apple/etc to generate transit directions, and you can usually find download URLs on the transit agencies website. transitfeeds.com has an index with a ton of GTFS files, though warns they may be out of date.
This is my first module with MagicMirror. I wanted a reference for when transit options were near me, and figured it’d be useful to other people. As far as I can tell, the other transit modules here are specialized to an agency; this one works with any GTFS source. (It is a little harder to find the source and get setup, though.)
Screenshots:
Download:
[card:bnitkin/MMM-transitfeed]
Version 1.0.0
- Initial release
- Search & display any number of stations, with filtering by route & direction
- Highlights departures in the next 5 minutes (configurable)
- Can either consolidate or show all terminii for multi-head routes
- Display departures as wall time or in-X-minutes
- Doesn’t currently support
- Realtime updates
- Holiday schedules