Skip to content

jakobkogler/WienerLinien_RealtimeRaspberryPi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WienerLinien_RealtimeRaspberryPi

As the name suggest, this project contains a script that displays realtime departure times from the Wiener Linien on a Raspberry Pi with an Adafruit 16x2 Character LCD + Keypad Kit.

This project was inspired by the project WL-Monitor-Pi, but was designed with more features in mind.

Especially it supports:

  • Interactive menu (via asyncio)
  • Multiple stations (switch the displayed station using Up/Down buttons)
  • Showing the next few arrivals times
  • Slow-Mode and Fast-Mode (switch request interval from 30 seconds to 5 seconds via the Select button)
  • Showing arrival in seconds, if possible.

Installation

The project uses Poetry for dependency management.

poetry env use 3.7
poetry install

Afterwards you can run the script for some given RBL numbers (find them here or at data.gv.at) with:

poetry run realtime RLB [RBL ...]

Testing

Run the unit-tests with:

poetry run pytest --mypy --black

About

Real time Wiener Linien Monitor for Raspberry Pi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages