Your own realtime monitor


By request, a quick how-to on setting up your own realtime monitor for, Oslos public transit.

Ruter realtime example

As simple as possible



Ruter has an API, so you can go crazy and implement your own client easily, like I’ve done with rutercli. But there’s a much simpler solution. They’ve got a website in the same style as their public monitors, You can start with the link above, and find the numbers and names you need from a normal search. You’ll also find NSB stuff there. See for more info.

In a white wooden frame

Here’s a basic example in a photo frame:

Front view Back view On wall

This one is run by a Raspberry Pi model B, but any model will do. The screen is from Chalk-elec, but any display will do. The frame is a normal photo frame. Then there’s some glue and plastics on the back to hold it all together.

To align two different transits use something like this HTML:

<!DOCTYPE html>
<TITLE>Info Screen</TITLE>
<meta http-equiv="refresh" content="6000">
<meta charset="utf-8">
<body style="background-color:#2a2a2a" scroll="no">

  <iframe src="Østerås [T-bane] (Bærum)?rows=4 " align="left" width=100% height=550 scrolling="no"  frameborder="0">

  <iframe src="Østerås [T-bane] (Bærum)?rows=4 " align="left" width=100% height=550 scrolling="no"  frameborder="0">


And to have it start automatically at boot, edit /etc/xdg/lxsession/LXDE/autostart to look like this:

@xset s off
@xset -dpms
@xset s noblank

My crontab:

@daily /sbin/reboot
@reboot sleep 10; /root/

And /root/ contains:


killall midori
midori \
  --app=rutyr.html \
  --display=:0 \
  --execute Fullscreen