README.md 860 B

omegalines

python script to use onion omega with oled expansion as a departure monitor for the public transport service in Vienna/Austria supporting Wiener Linien and ÖBB

oled display

Hardware

onion omega2

onion oled expansion

Installation

opkg install python-light git pyOledExp
wget https://bootstrap.pypa.io/get-pip.py
python get-pip.py
git clone git@github.com:fphammerle/omegalines.git
pip install ./omegalines
cp ./omegalines/config-sample.yml /etc/omegalines

Configuration

See sample config for details

wiener_linien:
  api_key: a1b2c3d4e5f6
  update_interval_seconds: 7
  rbl: 4648
oebb:
  eva_ids: [8101934, 8101947]
  update_interval_seconds: 17
offset_seconds: 60