The LXC That Builds Nothing
A dashboard LXC never compiles a single line of firmware itself - and the one time that distinction got confusing, it looked exactly like a dashboard bug instead of a sleeping desktop.
Table of contents
The small always-on box that hosts the ESPHome dashboard for every device in this homelab has never once compiled a single line of firmware. It isn't supposed to - and the one time that distinction got confusing, it looked exactly like the dashboard was broken.
Why a dedicated box exists at all
The dashboard LXC sits on its own IoT-only network, isolated from the main LAN where the Proxmox cluster, Gitea, and everything else lives. That's deliberate: ESP32/ESP8266 firmware and the devices running it are low-trust by default - closed-source vendor components, no real patching story, often physically accessible to anyone who can reach the device. Giving that whole category of hardware its own network segment means a compromised or just-misbehaving device can't reach anything that actually matters. The dashboard itself runs with no login at all, which only works because the trust boundary is the network segment, not a password screen in front of it.
Compilation happens somewhere else entirely
ESP-IDF and PlatformIO builds are heavy - CPU and RAM in a way that's wasteful to provision permanently just for occasional firmware builds on a box that otherwise idles. The dashboard's answer is a remote-compute pairing feature: a desktop machine on the network runs its own small receiver process, pairs with the dashboard over a key-exchange handshake, and from then on every build job gets shipped to that desktop instead of running locally. The LXC stays small and cheap to run around the clock; the heavy, occasional work happens on hardware that's already sized for it.
The current pairing sends every single build to the desktop - none compile on the LXC at all. That's a clean design as long as one thing holds true: the desktop actually has to be on.
The failure mode that looks like something else
Here's the gotcha, and it's a real one: "compile" and "install" actions on the dashboard will hang or fail outright if the paired desktop happens to be powered off. From the dashboard's side, that's indistinguishable at a glance from a dozen other things that could be wrong - a flaky connection, a dashboard bug, a device that's gone unresponsive. The actual cause is mundane and has nothing to do with the dashboard, the LXC, or the firmware: a desktop that only runs sometimes is, by design, only available for builds sometimes. Knowing that in advance turns a confusing stuck build into a one-second diagnosis - check whether the receiver is actually up - instead of a debugging session aimed at the wrong box entirely.
Does this generalize?
It's a reasonable pattern beyond ESPHome specifically: a small, cheap, always-on service box handles routing, state, and the UI, while a heavy and infrequent workload gets offloaded to a machine that's already paying for the hardware anyway. The tradeoff is explicit and worth stating plainly rather than discovering by accident - the offloaded work is only as available as the machine it's offloaded to. For something like a nightly backup job against a NAS that's always on, that tradeoff basically disappears. For a desktop someone actually sits down at and turns off, it's a real constraint, not a hypothetical one - and the fix isn't code, it's just knowing which box to check first.