SL Departures

Live Stockholm metro departures, and where the next trains are right now, on a small ESP32-C6 display.

The start screen with a small train running along the line colours, then the display showing Brommaplan on the green line, with trains on a line map and the next departures in each direction
Installing needs Chrome or Edge on a computer. Your browser doesn't support Web Serial. Installing needs a secure (https) page.

Connect the board with a USB-C data cable, click the button, and pick the port. Choose erase for a first install. After flashing, the installer asks for your Wi-Fi name and password, which are sent only to the board. Then Visit device opens the board's page for choosing the line and station and managing its Wi-Fi networks. You can also close the Wi-Fi dialog and set up from your phone instead (below).

What you need

Using it

Everything is done with the BOOT button. RESET just restarts the board.

WherePressDouble pressHold
Departure boardNext stationPrevious stationOpen the line list
Line listNext entryPrevious entrySelect
Station listNext stationPrevious stationSelect
Phone QR codeCloseCloseClose
Wi-Fi setupCancel

The line list has the three lines, then Mobil…, English and Om / Uppdatera…. English switches the board and its phone page to English; it then reads Svenska for switching back. Mobil… shows a QR code: scan it with a phone on the same Wi-Fi to choose the line and station, and to add or forget Wi-Fi networks. When the board is offline, Mobil… starts Wi-Fi setup instead (below).

The board remembers your station. The map shows four stations each side of yours. Trains are placed from SL's real-time departures at the neighbouring stations and glide along the track, in towards your station and on out the other side. An arrow and a trail mark a train on its way; a blinking outline marks one at the platform.

Wi-Fi setup from your phone

A new board shows a QR code by itself. Later, when the board has no Wi-Fi, hold the button, go to Mobil… in the line list, and hold again.

  1. Scan the QR code with your phone camera to join the board's hotspot.
  2. A setup page opens. If it doesn't, scan the second code that appears on the screen.
  3. Pick your network, enter the password, and choose the line and station. The board shows when it's connected.

The board remembers up to five networks, for example your home Wi-Fi and a phone hotspot, and joins the strongest one in range. A network set up here is only saved once the board has connected to it. While the board is online, add more networks from Mobil…; they're used when the current network is lost. From a computer, you can also open this page, connect, and choose Change Wi-Fi.

The Wi-Fi setup screen with a QR code

Updates

The board updates itself over Wi-Fi at night and keeps your Wi-Fi and station. To update right away, open Om / Uppdatera… in the line list and hold the button. If a new version can't fetch departures, the board goes back to the previous one by itself.

Boards installed before v1.1.0 need one update from this page first.

Troubleshooting