Workshop wall TV: a Raspberry Pi kiosk, and a cockpit that watches it
A Pi 5 on the workshop wall shows each bay's job, a dashboard watches every machine, and a frozen Pi and a white screen taught me the rest.
- Difficulty
- Advanced
- Parts cost
- A Raspberry Pi 5, a TV and a Bluetooth speaker, plus a server you already run
- Build time
- Built in stages, March to September
- Skills
- Raspberry Pi, Linux desktop, React, Node.js, Python
The problem
A small repair workshop I ran had two work bays and a job system I’d written myself. The job system knew what everyone should be working on. The techs didn’t, unless they walked to a PC and logged in. With greasy hands, nobody does that.
So I hung a TV on the workshop wall and put a Raspberry Pi 5 behind it. It showed the job board for each bay: what’s on now, what’s next, and a few seconds of “just finished” when a job is closed off. I called the whole thing Foreman, because that’s what it did. Behind the screen, a handful of small AI agents in the job system sorted the day’s work, chased parts and drafted invoices, so the wall always had something sensible to show. It ran on the workshop wall until the Pi came home in October and went into a case on my desk.
In September the screen got a second life. When the job system moved to a different machine, the wall page went dead, so I pointed the TV at the monitor page of my AI phone receptionist instead. That page shows the live calls and texts, reads new ones out loud, and has a radio player built in. The Pi played it through a UE BOOM 3 Bluetooth speaker, so the workshop got the radio and a voice saying who’d just called.
Once there were a few of these little machines around the place, I needed to know when one of them had quietly died. That’s the second half of this guide: a “cockpit” dashboard that watches every machine. And most of what I learned came from the screen going wrong, so the lessons at the bottom are the real meat.
How it works
The TV is just a monitor. The Pi 5 ran Raspberry Pi OS (Bookworm, 64-bit) with the labwc desktop, which
is one of the Wayland ones (Wayland is the modern way Linux draws windows). When the desktop started, an
autostart entry ran a small launch script, and that opened Chromium in kiosk mode: full screen, no address
bar, no tabs, pointed at one page of the job system, /wall/bench.
That page is part of the job system’s React front end. It splits the screen in two, one half per bay. Each bay shows one of three states: idle, a job in progress, or a “just finished” overlay that stays up for 10 seconds. The page asks the server for the schedule and the active jobs every 30 seconds, and for the customer’s intake photos every 60 seconds. There’s an Ask Assistance panel too (Ctrl+/ or Alt+A opens it, Ctrl+Enter sends): a tech types a question about the job and gets an answer, and answers that were marked helpful get fed back in as examples for next time.
There was no login on the wall. The server lets any page under /wall through without one. Instead, a
drop-down at the top lets a tech pick who they are, and the page remembers that in the browser. Every time
the page writes anything back, the server checks that person is a real tech or admin. Front-desk staff
aren’t in the list.
Behind it, in the job system, the agents run on timers:
| Agent | When | What it does |
|---|---|---|
| Scheduler | 6 am every day, or on demand | Re-ranks the work queue for the bays |
| Parts | Every minute, plus an inbox check every 2 minutes | Works through part requests |
| Invoice | Scans every 30 minutes, works the queue every 30 seconds | Generates the invoices waiting in its queue |
| Handover | Wednesday 5 pm | Writes a weekly handover summary |
Parts orders, invoices going out, one-off texts to customers and schedule changes land in an approvals queue first. Front desk checks each one, then I (or the other tech) approve it, and only then does it happen.
The cockpit is a separate dashboard on the server. A small Python agent runs on each machine: the server, the wall-TV Pi, the driveway camera Pi, the workshop PC, the Pi that runs the workshop guard, and Home Assistant (that one is read through Home Assistant’s own API, no agent needed). Each machine gets a tab with its services, gauges and live logs. If a machine stops answering three times in a row, it’s flagged offline and I get one text message, not one per service.
What you need
- A TV. Any TV with an HDMI input, big enough to read from across the workshop.
- A Raspberry Pi 5, with its power supply, an SD card, a case and a micro-HDMI to HDMI cable.
- Raspberry Pi OS Bookworm, 64-bit, with the default labwc desktop and Chromium.
- A job system you can add a page to. Mine is my own Node.js and SQLite app with a React front end.
- A Bluetooth speaker for the radio. Mine was a UE BOOM 3.
- For the cockpit: a machine that’s always on to host the dashboard, Python on every machine you want to watch, and a private network between them. Mine all sat on Tailscale, a private VPN, and the agents only listened on it.
Hardware and screen
| From | To | Notes |
|---|---|---|
| Pi 5 micro-HDMI | TV HDMI | Either of the Pi’s two micro-HDMI ports will do |
| Pi 5 | Network | Started on Wi-Fi, later moved to Ethernet |
| Pi 5 Bluetooth | Speaker | Paired with bluetoothctl, sound through PipeWire |
If you can run a cable to it, use Ethernet. Read the Wi-Fi lesson below before you trust the Pi’s onboard Wi-Fi with anything that has to stay up. One more reason: on the Pi 5, Bluetooth and Wi-Fi share the same little Broadcom chip, so a speaker and a busy Wi-Fi link are sharing one radio.
Firmware and config
There’s no firmware here. It’s a launch script, some Linux settings, a web page and the cockpit agents.
Opening the kiosk at login
labwc runs anything in ~/.config/autostart/ when the desktop starts. Mine has one .desktop file
pointing at a launch script, and the script opens Chromium on the wall page:
# ~/.config/autostart/wall-tv.desktop
[Desktop Entry]
Type=Application
Name=Wall TV
Exec=/home/YOUR_USER/.config/wall-tv-launch.sh
#!/bin/bash
# ~/.config/wall-tv-launch.sh
chromium-browser --kiosk --start-fullscreen http://SERVER:PORT/wall/bench
Make the script executable with chmod +x ~/.config/wall-tv-launch.sh. The file names above are mine
with the business name taken out. The Chromium line is the one that matters.
When I switched the TV to the phone system’s monitor page, the Chromium line changed to this:
chromium-browser --kiosk --start-fullscreen \
--autoplay-policy=no-user-gesture-required \
"http://SERVER:PORT/monitor?autoplay=1"
Browsers won’t play sound until someone has clicked on the page, and nobody clicks on a wall TV. The
--autoplay-policy flag lifts that rule. The ?autoplay=1 on the end is something I added to my own page:
when it’s there, the page starts the last radio station it played (or a default) as soon as it loads.
Without it, the page behaves exactly as it always did, so the same page on a desk PC doesn’t start blaring.
The Bluetooth speaker
Pairing is done once, from a terminal on the Pi:
bluetoothctl
# then, inside bluetoothctl:
scan on
pair XX:XX:XX:XX:XX:XX
trust XX:XX:XX:XX:XX:XX
connect XX:XX:XX:XX:XX:XX
Swap in your speaker’s address from the scan. trust is what lets it reconnect by itself later. Then make it
the default output in PipeWire (the Pi’s sound system), so Chromium plays through it and not the TV:
wpctl status # find the speaker's number under "Sinks"
wpctl set-default NUMBER
Notice what’s missing: anything that restarts Chromium if it dies. See the lessons.
Keeping the Pi alive
These came out of the Wi-Fi freeze in the lessons. The first is a hardware watchdog: a timer on the Pi’s chip that reboots the board if Linux stops checking in, so a hard freeze fixes itself instead of waiting for someone with a ladder.
# /etc/systemd/system.conf (in the [Manager] section)
RuntimeWatchdogSec=14s
The second keeps the system log on the card across reboots. Without it, the log of whatever froze the Pi is gone the moment you pull the power.
# /etc/systemd/journald.conf (in the [Journal] section)
Storage=persistent
Reboot after both. I also turned Wi-Fi power saving off. On Bookworm that’s NetworkManager’s job, so set it on the connection you use:
sudo nmcli connection modify NAME-OF-YOUR-WIFI-PROFILE 802-11-wireless.powersave 2
sudo nmcli connection up NAME-OF-YOUR-WIFI-PROFILE
A 2 means “off”. I also put the same setting in a NetworkManager drop-in file so new connections get it
too.
To find and remove a leftover hotspot, list the network profiles and delete the one you don’t use:
nmcli connection show
sudo nmcli connection delete NAME-OF-THE-HOTSPOT-PROFILE
Checking on the agents
Every agent run is a row in the job system’s database, and every AI call inside it is logged with its token count and how long it took. These are the queries I used most:
# How many times has each agent run?
sqlite3 /path/to/jobs.db \
"SELECT agent_name, COUNT(*) FROM agent_runs GROUP BY agent_name;"
# The last scheduler run
sqlite3 /path/to/jobs.db \
"SELECT * FROM agent_runs WHERE agent_name='scheduler' ORDER BY id DESC LIMIT 1;"
# Recent failures
sqlite3 /path/to/jobs.db \
"SELECT agent_name, error, started_at FROM agent_runs WHERE status='failed' ORDER BY id DESC LIMIT 10;"
# What's waiting for approval
sqlite3 /path/to/jobs.db \
"SELECT type, status, COUNT(*) FROM pending_actions GROUP BY type, status;"
And to make the scheduler re-rank the queue now instead of at 6 am (admins only):
curl -X POST http://SERVER:PORT/api/scheduler/run -H "Authorization: Bearer $TOKEN"
The cockpit agents
Each machine runs fleet-agent.py. It reads its token from a file under /etc, and only listens on the
private network. The dashboard polls each agent for its services, vitals and logs. A few things I’d
copy:
-
Some services can be restarted from the dashboard but never stopped. The workshop guard’s main service is marked that way. A misclick shouldn’t be able to switch off the thing that protects the workshop. Its network link can’t be touched from the dashboard at all.
-
Buttons that do something have to be held, not tapped, to confirm.
-
Restart commands have to let go of the agent completely. If a restart command keeps the agent’s output pipe open, the agent sits there waiting for it forever. And
pkill -fmatches anywhere in the full command line, so it can match the agent’s own restart command and kill that. The shape that works:pkill -x my-service; /usr/local/bin/my-service >/dev/null 2>&1 </dev/null & -
Machine down means one alert. Three missed polls in a row and the whole machine is marked offline. The per-service alerts for that machine are held back, so a dead Pi is one text, not a dozen.
Sleeping the screen at night
I don’t have notes of the wall TV ever sleeping on a schedule. The schedule I do have notes for is on my
other kiosk screen, the one on the Home Assistant box at home: the screen went off at 8 pm and on at 6 am. The kiosk add-on there had a small web API, and two Home Assistant automations called it
through a pair of rest_commands, one for on and one for off. The same add-on was set to reload its page
every 600 seconds, which matters for the white-screen lesson below.
Step by step
- Build the wall page in your job system first, and look at it in a normal browser on a PC. Get the layout right at TV distance before any Pi is involved.
- Decide how the wall gets past your login. Mine lets
/wallpages through and checks the tech on every write. Whatever you choose, never let the open page do anything a stranger on the network shouldn’t. - Flash Raspberry Pi OS Bookworm 64-bit, boot to the desktop and connect the network. If there’s any old hotspot profile on the card, delete it now.
- Add the watchdog and persistent journal settings, then reboot.
- Add the autostart file and launch script, swap in your server address, and reboot. The wall page should come up full screen by itself.
- Mount the TV, plug in the Pi, and check it from the far side of the workshop.
- For the cockpit: install the agent on one machine first, get its tab working, then add the rest one at a time.
- Do the offline drill below before you trust it.
Testing it
-
Is the page serving? From any machine on the network this should print
200:curl -s -o /dev/null -w "%{http_code}" http://SERVER:PORT/wall/bench -
Is the page pointing at the right server? Open a job on the job system’s real staff screen, start it, and watch the wall. It should change within 30 seconds. If it never does, read the lesson about the wrong server.
-
Did the watchdog take?
systemctl show | grep -i RuntimeWatchdog -
Is Wi-Fi power saving off?
nmcli -f 802-11-wireless.powersave connection show NAME-OF-YOUR-WIFI-PROFILEshould say2 (disable). (iwwasn’t even installed on my Pi, so usenmcli.) -
Is the sound going to the speaker? Run
wpctl status. The speaker should be marked as the default sink with a*, and Chromium should show up as a stream playing to it. -
Is the Wi-Fi chip unhappy? This should print
0. Lots of these errors was the warning sign before my freeze:journalctl -k | grep -c "bcdc_msg failed" -
The cockpit offline drill. On one Pi, stop the agent with
sudo systemctl stopand the agent’s service name, and watch the dashboard. Mine flagged the machine offline on exactly the third missed poll and sent no per-service alerts at all. Start the agent again and the tab should recover by itself. Mine did.
Lessons learnt
Nothing restarted the browser when it died. The kiosk is started once, at login, by the autostart
file. If Chromium crashes or gets killed, labwc doesn’t start it again, and the wall just shows the desktop.
The only way back was to get onto the Pi over SSH, kill what was left of Chromium and start it again.
Even that has traps. A plain nohup ... & over SSH dies when the SSH session closes, so the TV went black
the moment I logged out. What worked was setsid nohup bash ~/.config/wall-tv-launch.sh </dev/null &,
with WAYLAND_DISPLAY=wayland-0 and XDG_RUNTIME_DIR=/run/user/1000 set first so Chromium can find the
screen. And pkill -f chromium over SSH can match the SSH command itself and kill your own session, so
kill by process ID instead. The counter kiosk in my other workshop guide got a guard script that checks
every 5 seconds and restarts the browser. The wall TV never got one, and it should have had one from day
one.
A leftover hotspot froze the whole Pi. The wall-TV Pi hard-froze. Before that it had been “hard to
reach” for a long time, and I’d put that down to the network. It turned out an old Wi-Fi hotspot profile
I’d set up once and forgotten was still running on the Pi alongside the normal Wi-Fi connection. That was
wedging the firmware in the Pi’s onboard Wi-Fi chip, and the kernel log was full of bcdc_msg failed -110
errors. I ruled out power, heat, running out of memory and the SD card first. The fix was to delete the
hotspot, so the chip only ever acts as a normal client, turn Wi-Fi power saving off, switch on the hardware
watchdog so a future freeze reboots itself, and make the journal persistent so the next freeze leaves
evidence. A wired connection profile was ready as the fallback, and later on the Pi went onto Ethernet
for good. If a Pi is flaky on Wi-Fi, check for old
hotspot profiles before you blame anything else.
A white screen meant the browser had run out of memory. This one was the kiosk screen on my Home
Assistant box at home, a Pi 5 with 4 GB, but it applies to any kiosk. The screen went white with a Reload
button. The browser hadn’t crashed on its own: Linux had run out of memory, with swap 100% full, and its
out-of-memory killer had killed the part of the browser that draws the page. The real culprits were other
things on the same box: a music add-on’s audio analysis that grew to 1.6 GB overnight, and the speech-to-text
add-on idling at 1.25 GB. I turned the audio analysis off, moved speech-to-text to a smaller model, and set
the kiosk to reload itself every 10 minutes so any future white screen fixes itself. If a kiosk goes white,
check free -m and dmesg for the out-of-memory killer before you touch the browser.
The wall TV pointed at a server that no longer ran the job system. On 2026-09-04 I moved the job system off the old server and onto another machine. The launch script on the Pi still had the old address baked in, so from that day the wall TV showed nothing but a browser error page. It sat like that for four days until I repointed it on 2026-09-08, at the phone system’s monitor page. Nothing told me, because nothing was checking what the screen actually showed. When you move a service, search every kiosk, script and bookmark for its old address on the same day.
The speaker refused to pair until I held its button. Pairing failed twice with an
AuthenticationFailed error. The BOOM 3 was already bonded to another device, and a UE speaker won’t
accept a new one until you hold its Bluetooth button to put it in pairing mode. While you’re in there,
bluetoothctl prints “Failed to register agent object” if you type agent on. That one is harmless: it
already registered one for you.
The radio died silently for two days. The radio on the monitor page uses a library called hls.js to play the stream. My page never told it what to do when the stream hit a fatal error, so after a short network blip it simply stopped and waited for instructions that never came. The page’s other polling kept working, the Pause button still said Pause, and the speaker was still connected. Only the sound was gone. The fix was an error handler that restarts the stream, plus a check every 15 seconds that rebuilds the station if the playback position stops moving for about 45 seconds. If you play a stream on an unattended screen, assume it will stall and write the code that notices.
The radio chopped because the Pi was busy with something else. The same Pi also ran camera object detection for the workshop. The radio started sounding like morse code. It wasn’t the browser or the stream: a tone played straight from the Pi to the speaker chopped too. Stopping the detection gave a clean tone. On the Pi 5, Bluetooth hangs off a serial link and needs the CPU on time, and a busy CPU starves it. I cut the detection right back, and later moved the radio and speaker onto the workshop PC. Don’t put a Bluetooth speaker on a Pi that’s doing heavy work.
The timers only look forward. The agents are scheduled with node-cron, which only fires at the next
matching time. If the server was down at 5 pm on a Wednesday and came back later, that week’s handover summary
never ran. Nothing caught it up. If a scheduled job matters, store when it last ran and check on startup.
Some tables only existed on the live database. The agent tables (the work queue, the agent run logs,
the approvals queue and a few more) were only ever created on the live database, never in the job
system’s setup code. A rebuild from scratch would have come up without them. Put every CREATE TABLE IF NOT EXISTS in the setup code, even the ones you made in a hurry.
The parts agent ran far more than I expected. Every minute, plus every two minutes for the inbox, came to 30,178 runs in 14 days. Each one can be an AI call. Check your agent run counts in the first week, before the bill does it for you.
Cockpit agents don’t update themselves. The deployed copy of the agent lives in its own folder on each machine. Pulling the latest code onto the server doesn’t touch them. Change the agent, and you have to copy it out to each machine yourself.
Not everything can be measured. The camera’s video port answers a plain web check with an error, so it can’t have a simple “is it up” tile. And the Home Assistant version I had only reported CPU use and temperature, not memory or disk as a percentage. I left those gauges showing a dash rather than guessing. An honest blank beats a made-up number.
Use a test phone number for test texts. My first alert test went to a made-up mobile number that may well have belonged to a real person. Australia’s regulator sets aside a block of mobile numbers for films and testing. Use one of those.
Give every machine its own token. All my agents started with one shared token. That was simple, but if it had leaked, every machine would have been open. One token per machine costs nothing extra to set up at the start.
Questions and comments
Loading comments…