A replica, near real-time, miniature UK railway station train departure sign based upon a Raspberry Pi Zero and 256x64 SPI OLED display(s). Uses the publicly available OpenLDBWS API by National Rail Enquiries.
This version is designed to work better on docker (without balena), though it only has support for one display. It requires more hands on editing to work, so you should be familiar with Docker and a little bit of python to use this.
commands below do not work yet
First run
docker pull ghcr.io/googanhiem/uk-train-departure-display-docker:latest
Then run (putting your updated config.py file in your home dir /train-sign/)
docker run -v ~/train-sign/config.py:/src/config.py ghcr.io/googanhiem/uk-train-departure-display-docker:latest --restart=always redis
The config should look like, this config.py file - More details on getting a station code and API key below in the configuration
- See local departures: Display the depatures from your local station at home for up to date train information.
- 3D-printable cases: Print your own miniature case to keep everything tidy - both desktop and 'hanging' style available.
Check out the documentation for full hardware/software requirements and complete build guide.
Chrisys did a lot of this, I just took stuff out, ha.
A big thanks to Chris Hutchinson who originally started this project and inspired me to develop it further. Blake made some further improvements and this project was forked from there.
The fonts used were painstakingly put together by DanielHartUK
and can be found on GitHub at https://github.com/DanielHartUK/Dot-Matrix-Typeface - A huge thanks for making that resource available!
Thanks to @jajasilver and @MatthewAscough for forming the basis of the OpenLDBWS implementation.