~/lab
The lab
The infrastructure I run at home, and the hardware builds around it.
Infrastructure
- node/01up
Edge gateway
Raspberry Pi 4B 8 GB: Home Assistant, Traefik v3.7, Pi-hole, Tailscale, snapclient
Pi and switch, top shelf - node/02up
Hypervisor
Proxmox VE 8.2 on a recycled laptop, an ASUS VivoBook S14 (i7-8550U, 16 GB): 14 LXC, weekly backups to the NAS
Laptops on the middle shelves - node/03up
Storage
TrueNAS SCALE on a Lenovo IdeaCentre H530 (i7-4790) + TerraMaster 4-bay over USB: 4× 4 TB IronWolf, RAIDZ1
4× 4 TB IronWolf, RAIDZ1 - node/04up
Dev runtime
ASUS laptop (i5, 8 GB): Postgres/pgvector, Temporal, S3 (Garage), BuildKit
Stacked laptops, side view
+ a second Pi 4B, TP-Link 8-port switch — all in a rack I built from an old cabinet.
- 14Zigbee devices
- 27automations
- 23audio players
- 14containers (LXC)
Home Assistant · Proxmox
Builds
Standing desk over Wi-Fi
Wired an ESP32-S3 into the desk’s RJ12 control bus, following the community’s guide: height, M1–M4 presets and a slider in Home Assistant.
- ESPHome
- UART
- C++ lambdas
Installed under the desk · sealed board · wiring · HA controls Before and after The rack
Spray-painted a cabinet into a quiet home rack: switch, Proxmox laptops, NAS and mini PC.
- DIY
- cable management
Smart USB KVM
Modded a USB switch: soldered an ESP32-S3 to its button and status LEDs; ESPHome pulses the button and reads the LEDs over ADC, so Home Assistant knows and switches the active PC.
- ESPHome
- ADC
- Home Assistant
- soldering
Button and LED pads tapped · mounted under the desk My launcher on the TCL Google TV · Ambilight Living-room TV, rebuilt
Turned a stock TCL Google TV into a custom Ambilight setup: debloated over ADB, replaced the home screen with my own Compose launcher, and patched the open-source grabber and Jellyfin client so every source drives the LEDs.
- Custom Jetpack Compose launcher: animated ribbon background capped at 60 fps, pinned apps, HDMI tile, lights panel
- Accessibility service catches TCL’s Settings key to open a custom quick panel
- 25 bloat packages disabled reversibly, with restore scripts
- Jellyfin build swaps SurfaceView for TextureView so playback is capturable
- Self-healing daemon handles TV-off, DRM black frames and HDMI source switches (211 LEDs, Hyperion → WLED)
- Kotlin
- Jetpack Compose
- Android TV
- ADB
- Hyperion
- WLED
- Home Assistant
- Docker
launcher & stack: my code · grabber & Jellyfin: patched forks
Read in the log: Living-room TV, rebuiltLauncher: Living-room TV, rebuilt
Wired speakers, Bluetooth brain
ESP32-WROVER + PCM5102 DAC turns my Mackie CR3 speakers into a PIN-protected Bluetooth receiver; the Pi streams Snapcast and MPD to it.
- ESP32
- PCM5102
- I2S
- A2DP
- Snapcast
- MPD
DIY voice satellite
ESP32-S3, I2S mic and amp, on-device wake word.
- ESPHome
- microWakeWord
Home Assistant hub
14 Zigbee devices via ZHA, 27 automations, and the dashboards that run the flat.
Dumb wall switches made smart with Sonoff ZBMINIL2 Zigbee modules.
- Home Assistant
- ZHA
- ZBMINIL2
- Frigate
Media server
Jellyfin in its own LXC, libraries on the ZFS pool, custom library tiles matching my TV launcher.
- Jellyfin
- Docker
- ZFS
Bilingual voice assistant
French and English Assist pipelines, local speech-to-text and voices, LLM agent.
- Wyoming
- faster-whisper
- Piper
Edge gateway
Traefik v3.7 (36 routers) with wildcard TLS via DNS challenge, security headers, two synced Pi-holes, Tailscale for remote access.
- Traefik v3.7
- Pi-hole
- Tailscale
One service per LXC
14 containers, weekly snapshot backups.
- Proxmox VE
- Docker
- vzdump
Observability
Prometheus with 9 targets at 15 s and Grafana; a custom TrueNAS exporter in ~180 lines of Python.
- Prometheus
- Grafana
- Python
Multiroom audio
23 players across Snapcast, AirPlay and Cast, plus a mobile client.
- Music Assistant
- Expo
Local NVR
Motion and presence-driven recording.
- Frigate
- go2rtc
- MQTT
Redundant DNS
Two synced Pi-holes on separate hosts.
- Pi-hole
Self-hosted services
- Nextcloudfiles, calendar, contacts
- Vaultwardenpasswords
- Jellyfinmedia
- PortainerDocker across LXCs
- Homepagedashboard
- IT-Toolsdev utilities
- BentoPDFPDF toolkit
- Music Assistant + Snapcastmultiroom
- Pi-hole ×2DNS
- Grafana + Prometheusmonitoring
- FrigateNVR
- ESPHomefirmware
- Streamer.bot overlays for OBSchat, multichat, ad timer
Screens
Grafana — homelab overview Home Assistant — tablet dashboard Proxmox VE 8.2 — 14 LXC Traefik v3.7 — 36 routers, 54 services Pi-hole — 29k queries/day, 18% blocked Portainer — Docker across the LXCs Nextcloud — dashboard Music Assistant — Snapcast output