onion omega: departure monitor for public transport (wiener linien, öbb) in vienna/austria
Fabian Peter Hammerle 0a693c43f7 wiener linien: fix crash when 'timeReal' not in departure data | 6 лет назад | |
---|---|---|
openwrt | 6 лет назад | |
pictures | 6 лет назад | |
scripts | 6 лет назад | |
README.md | 6 лет назад | |
config-sample.yml | 6 лет назад | |
setup.py | 6 лет назад |
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
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
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