an old ipad mini, now a homelab dashboard
i had an ipad mini 2 sitting in a drawer, stuck on ios 12.5.8. it can’t run anything modern, but it has a nice screen and an ambient light sensor, and it sips power. so it became an always-on dashboard for my homelab.
(fun fact: apple shipped ios 12.5.8 in january 2026, more than a decade after this ipad came out, just to keep imessage and facetime certificates working. the hardware is ancient. the os is still technically getting updates.)
here’s what the finished thing does:
- shows live cpu and gpu temps, fan rpm, load, and ram for two linux machines
- swipes between the machines (infinite scroll), with a settings toggle for a side-by-side view
- shows a quiet “12 services up” line that turns into a red bar when uptime kuma sees something down
- turns the screen fully off when the room is dark, and back on when the light returns
- launches fullscreen from a home-screen icon, like a native app
- survives reboots of everything except the ipad itself (more on that below)
how it works
the ipad is jailbroken with checkra1n and plugged into my linux box, mac-ubuntu, over usb. the ipad can’t do much on its own, so the linux box does the real work:
- blackboxgpu + cpu sensors
- ssh, every few seconds
- mac-ubuntupython server ·
/datajson - usb · iproxy + reverse ssh tunnel
- ipad mini 2fullscreen webclip at
127.0.0.1:8080
/metrics endpoint.- a small python server (
http.server, no dependencies) onmac-ubuntureads its own sensors and serves the page plus a/datajson endpoint. iproxyforwards ssh to the ipad over usb, and a reverse ssh tunnel makes the server show up at127.0.0.1:8080on the ipad itself. no wifi involved.- the ipad opens that address as a fullscreen home-screen webclip, so it looks and launches like a native app.
the page is old-school es5 javascript. safari on ios 12 is missing a lot of newer syntax (optional chaining, ??, and friends), so i kept it plain and never had to wonder. it polls every 10 seconds, and it reloads itself whenever the server’s file version changes, so i never touch the ipad after a layout change.
the second machine
my other box, blackbox, is an hp z220 i’m sharing with some friends over tailscale. the server polls it over key-based ssh every few seconds and reads cpu core temps, dimm temps, memory, and load. it has two gpus, a quadro 600 and a quadro k420, on two nvidia drivers that normally can’t coexist. that’s where it got interesting.
the gpu readings broke, then got fixed properly
when i moved the quadro 600 to its separate nvidia390 driver, the dashboard’s gpu numbers disappeared. the old driver’s temperature and fan values no longer showed up in the same place, and the old and new nvidia userspace tools didn’t agree with each other.
my first fix was a guess: estimate fan rpm from the fan percentage. the estimates were wrong, because fan curves aren’t linear. the k420 at 35% was estimated at about 2,300 rpm and actually spins around 3,060. so i stopped estimating and wrote a small root systemd service that writes real values to world-readable files in /run. the dashboard just reads those:
/run/q600.txthas temp, fan %, and utilization for the quadro 600/run/gpu-rpm.txthas the real rpm for both cards
the lesson: when a sensor stops reporting, don’t interpolate. find the real source, even if it takes a root service to get at it.
the light sensor
the ipad’s ambient light sensor is reachable through a private hid api. a tiny launchd daemon reads it in a loop:
- bright room: checks every couple of seconds
- dark: checks about once a second, and if it stays dark for 5 seconds, it presses the power button with a simulated hid event
- light returns on two readings in a row: it wakes the screen
the thresholds are low on purpose, so a shadow or someone walking past doesn’t flip it. the first version took about 30 seconds to react, which felt broken. 5 seconds felt right.
making it survive reboots
everything on the linux side is a systemd unit: the usb proxy, the dashboard server, the reverse tunnel, and a fast-charge unit that sends the usb vendor request so the ipad actually charges at full speed. i rebooted the box at midnight and it all came back on its own.
the catch: checkra1n is semi-tethered. if the ipad itself reboots, it loses the jailbreak, and the whole chain with it, until i re-run checkra1n from the linux box. it’s a dashboard, so i can live with that. just don’t let it die.
uptime kuma, but quiet
i already run uptime kuma. the server reads its prometheus /metrics endpoint every 15 seconds. when everything is fine, the page shows a very dim line at the bottom. when something is down, it turns into a red bar naming the service. a dashboard that’s always shouting gets ignored, so this one stays quiet until it matters.
the small ui decisions took the longest
- color thresholds: green under 70°C, warm at 70, hot at 80, for both cpus and gpus
- layout: fan and temp stacked, with the rpm evenly spaced between elements
- numbers: bigger load and ram figures, and no units where the label already says it
- swiping: native scroll-snap kept getting stuck, so i wrote a small custom touch carousel with drag resistance and snap-to-page. my first resistance value was too sticky, and the second was too loose
quick answers
can you still jailbreak an ipad mini 2? yes. it has an a7 chip, which is vulnerable to the checkm8 bootrom exploit that checkra1n uses. apple can’t patch that in software, but the jailbreak is semi-tethered, so it’s gone after every reboot until you re-run it from a computer.
can an old ipad show a web page fullscreen without the safari toolbar? yes. add the page to the home screen with the right meta tags and it opens as a standalone webclip with no address bar.
how do you reach a server from an ipad over usb, without wifi?
iproxy from libusbmuxd forwards a local port to the ipad’s ssh port over the usb cable. a reverse ssh tunnel over that connection then exposes the computer’s web server on the ipad’s own 127.0.0.1.
what’s next
- a recovery plan for ipad reboots. right now it’s me, a cable, and checkra1n.
- a cpu fan reading for blackbox. the z220 doesn’t expose one, so that cell is empty.
- cleaning up the code so i can open-source it.
the stack
python http.server, iproxy, ssh tunnels, systemd, launchd, tailscale, uptime kuma, lm-sensors, nvidia-smi, and vanilla javascript for ios 12.
an old tablet and a linux box turned out to make a pretty good dashboard. the hardest parts were the unglamorous ones: getting real sensor values, and making everything come back on its own after a reboot. the macbook side of this has its own story, about getting a 2009 gpu off nouveau.