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