Skip to content

Latest commit

 

History

History
44 lines (32 loc) · 2.38 KB

File metadata and controls

44 lines (32 loc) · 2.38 KB

"Wiener Linien Monitor" for Raspberry Pi

A Python 3 script for using your Raspberry Pi as a departure board for stations of your choice inside Vienna.

Requirements

  • Request an API key here.
  • Get RBL numbers here. (Special thanks to @mabe-at)

Software

  • Python 3 (pre installed)
  • Adafruit CircuitPython               sudo pip3 install adafruit-circuitpython-charlcd

Hardware

  • Raspberry Pi                           - Buy one here.
  • Adafruit LCD Keypad Kit         - Buy one here.

Usage

usage:
  python3 wl_monitor.py [-h] [-t time] -k apikey rbl[:rbl] [rbl[:rbl]...]
  ./wl_monitor.py [-h] [-t time] -k apikey rbl[:rbl] [rbl[:rbl]...]

arguments:
  -k, --key=    API key
  rbl           RBL number

optional arguments:
  -h, --help	  Show this help
  -t, --time=	  refresh time in seconds (Default: 10)

example:  wl_monitor.py -t 5 -k xxxxxxxx 232:222 18:46 525

Documentation

Photos

IMG_20190718_131042 IMG_20190718_131552
IMG_20190718_132222 IMG_20190718_131822

Data Source: City of Vienna (Stadt Wien) - https://data.wien.gv.at