[go: nahoru, domu]

Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 1.2 KB

README.md

File metadata and controls

29 lines (23 loc) · 1.2 KB

minitransportsign

Transit sign with downtown tram 17 and bus 31 and next three departures for each

Micro python signage 'player' for a 16x2 transit arrival times sign (currently for Norwegian (Entur-based) transit only)

This particular project requires:

  • A Raspberry Pi or any other computer assigned to the sign
  • A 16x2 (or larger) character display

NOTE: Relies on the community-made lcdbackpack library, an easier-to-use library of functions for the i2c/usb adafruit backpack.

Installation:

  1. Download minitransportsign
  2. Install dependencies (listed in requirements.txt)
  3. Configure a 16x2 character display via Serial/i2c/USB to a Raspberry Pi
  4. Select station ID to point to
  5. Run on RPI at boot with an entry at /etc/rc.local:
python3 /path/to/signageFunction.py &

TODO:

  • migration to entur API (new branch, using this translation guide
  • Further abstraction for selected lines and directions
  • Use external profiles-based favorites system + CLI calls
  • Upgrade to python3
  • Better howto