Skip to content

csethna/cta_sign

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CTA Transit Tracker

A project to make an LED sign with Python

example of objective

Objective:

Build a "transit tracker" app that runs on Raspberry Pi and outputs to an LED matrix to display:

  1. Next incoming train times for a specific station.
  2. Current weather conditions.
  3. Upcoming Google Calendar appointments.

Tools needed:

  • [] CTA Train Tracker API
  • [] Some weather service API (DarkSky, NWS, Open Weather Map, TBD)
  • [] Google Calendar OAuth

Production Notes

  • on line 67 we use r_south, there is a chance that based on location, you will only get southbound routes.
  • this could be remedied by duplicating the process used for r_south with already-defined r_north, but is not Pythonic due to repetition.
  • it is also possible that, because I am working on this from DC- outside Chicago, that I am already significantly south of the 22's ending terminus and therefore only get northbound results.
  1. establish wtf is going on with the bus direction
  2. figure out how to print BOTH directions for nearest stops (the stops will have different IDs)
  3. what are we going to do if a stop has multiple routes?

About

Make an LED sign for upcoming trains near home

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages