Skip to content

Shows next departures for multiple stations of Zurich Public Transport (VBZ), in real time.

License

Notifications You must be signed in to change notification settings

jo-m/raspi-stationboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Raspberry Pi Stationboard

Shows next departures for multiple stations of Zurich Public Transport (VBZ), in real time. Needs a ScrollPhat HD. Uses the Search.ch public transport API.

Tested on a Raspberry Pi Zero W.

Setup

# on raspi
sudo hostnamectl set-hostname stationboard-pi
curl https://get.pimoroni.com/scrollphathd | bash

# deploy
scp raspi_stationboard.py pi@192.168.0.102:stationboard

crontab -e
# @reboot /home/pi/stationboard/raspi_stationboard.py

Avahi

/etc/avahi/services/ssh.service:

<?xml version="1.0" standalone='no'?><!--*-nxml-*-->
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>
  <name replace-wildcards="yes">SSH on %h</name>
  <service protocol="any">
    <type>_ssh._tcp</type>
    <port>22</port>
  </service>
</service-group>

About

Shows next departures for multiple stations of Zurich Public Transport (VBZ), in real time.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages