/mta-portal

Code for a MatrixPortal to display MTA arrival times

Primary LanguagePython

Warning

Under development -- likely to not work as documented currently.

MTA Portal

drawing

Run your own MTA Portal on CircuitPython to display trains arrivals using Adafruit's hardware and libraries.

Follow Adafruit main tutorial to set up your MatrixPortal.

Config

You'll need your own secrets.py. Check here on how to create one.

Config variables:

  • STOP_ID: Find your station ID here
  • UPDATE_DELAY: Delay in seconds before fetching new data
  • MINIMUM_MINUTES_DISPLAY: Only display arrival times greater or equal than this value. Useful to only show trains you can catch.
  • BACKGROUND_IMAGE: Image to use for the background

Installation

Just copy all the files into your CIRCUITPYTHON drive