Sooner or later someone asks you to “just put the dashboard on the TV.” Queue stats on the contact center floor, server status in the NOC, orders shipped in the warehouse. The cheapest reliable way I know to do that is a Raspberry Pi in kiosk mode: it boots straight into a full-screen browser pointed at one page, with no desktop, no taskbar and nothing for anyone to click.

Here’s how to build one that survives a power blip and keeps running for months.

What you need

Step 1: Install Raspberry Pi OS

Use Raspberry Pi Imager and pick Raspberry Pi OS (64-bit), the desktop version. Before writing the card, open the OS customization settings and:

You’ll do almost everything else over SSH, so the TV never needs a keyboard plugged in.

Once it boots, update it:

sudo apt update
sudo apt -y full-upgrade
sudo reboot

Step 2: Boot straight to the desktop

The kiosk needs to log in on its own after a power cut. Run sudo raspi-config, go to System Options, then Boot / Auto Login, and choose Desktop Autologin.

While you’re in raspi-config, turn off screen blanking (under Display Options). Otherwise the TV goes black after ten minutes and someone files a ticket. Menu names move around a little between releases, so if you don’t see these exactly, look nearby.

Step 3: Write a kiosk script

Here’s the part that trips people up: a lot of older guides tell you to edit the LXDE autostart file. That stopped working when Raspberry Pi OS Bookworm switched to Wayland by default. Current releases use the labwc compositor, and it reads its own autostart file.

Rather than putting the Chromium command straight into that file, I like to use a small script. It waits until the dashboard is reachable, then starts Chromium, and if Chromium ever crashes, it starts it again:

#!/bin/bash
# ~/kiosk.sh
URL="https://dashboard.example.com/floor"

# Wait until the network is up and the dashboard answers
until curl -s --head --max-time 5 "$URL" > /dev/null; do
  sleep 5
done

# Start Chromium full screen, and restart it if it ever exits
while true; do
  chromium "$URL" \
    --kiosk \
    --noerrdialogs \
    --disable-infobars \
    --no-first-run \
    --enable-features=OverlayScrollbar \
    --start-maximized
  sleep 5
done

The Chromium flags are the same ones the official Raspberry Pi kiosk tutorial uses:

Make it executable:

chmod +x ~/kiosk.sh

Step 4: Start it automatically

Create (or edit) the labwc autostart file:

mkdir -p ~/.config/labwc
nano ~/.config/labwc/autostart

Add one line:

~/kiosk.sh &

Reboot. The Pi should come up, log in, wait for the network, and open your dashboard full screen.

Step 5: Protect the SD card

SD cards don’t love being written to all day, and a kiosk that loses power a few times a month will eventually corrupt one. Raspberry Pi OS can run with a read-only overlay so nothing is written to the card during normal use.

In sudo raspi-config, go to Performance Options, then Overlay File System. Enable the overlay, write-protect the boot partition, and reboot.

One catch: with the overlay on, any change you make (a new URL, an update) disappears on reboot. To make a change, turn the overlay off, reboot, change what you need, then turn it back on. Do this last, once the kiosk is working the way you want.

Make the dashboard itself kiosk-friendly

The Pi is only half of it. A few things on the dashboard side save you trips up a ladder:

For the contact center version of this, service level and calls waiting matter more than ten other metrics in small type.

When you have more than a couple of screens

One kiosk is a fun afternoon project. Twelve kiosks is a fleet. Changing what a screen shows means SSHing into it, turning off the overlay, editing a script and rebooting, times however many TVs you have. Updates, a dead SD card or a new floor layout all turn into tickets.

That’s the problem the CenterSync Pro display solves for contact centers. It’s a small display box that plugs into a TV, and what each screen shows is controlled entirely from the CenterSync Pro web app, so changing a layout doesn’t involve a ladder or an SSH session. If you’re in the middle of replacing an older wallboard system, I also wrote about replacing Inova LightLink.

If you just need one TV showing Grafana in the server room, though, the steps above will get you there in an afternoon.

References

← Back to all posts