Homelab · The Build Series
Homelab power: PDUs, and NUT for graceful whole-rack shutdown
A UPS buys you minutes. What those minutes are for is an orderly shutdown — and that takes two more pieces: a PDU that distributes and meters the power, and NUT, the open-source system that tells every machine in the rack when to shut down, and in what order.
Published Nov 20, 2026
The PDU: a power strip that grew up
A rack PDU does three things a strip does not: it mounts properly (1U, outlets where the gear is), it survives (metal case, no wall-wart geometry puzzles), and — in the tiers that matter — it reports. Basic PDUs (~$40–80) just distribute. Metered PDUs (~$130–160, e.g. CyberPower's metered line) show total draw on a display or web page — the number that sizes your next UPS and verifies the rack's real watts against the plan. Switched PDUs add per-outlet remote on/off: CyberPower's PDU41001 (8 outlets, web/SNMP control) is $555–606 new — but the homelab route is used enterprise gear, with APC AP7900B switched PDUs trading around $60–150 used. A switched outlet is the remote power-cycle for a hung NAS when you are away: the difference between "I'll fix it when I'm home" and fixing it from the airport.
Safety note, plainly: a PDU is not a UPS and not a surge protector unless it says so; it distributes what it is fed. Keep the whole rack on one circuit if you can (the Rack Planner flags totals approaching a 15A circuit's ~1,440W continuous comfort zone), and anything beyond plugging in — new circuits, panel work — is a licensed electrician's job, full stop.
NUT: one UPS, every machine, right order
Network UPS Tools (NUT, current release 2.8.3) is the open-source standard for coordinated shutdown, and its model is simple enough to state in four parts:
- A driver on one machine talks to the UPS over USB, serial or SNMP.
- upsd, the server daemon, publishes that data on the network (TCP 3493).
- upsmon runs on every protected machine as the client, watching the published state.
- When the UPS is on battery and reaches low battery, the primary machine's upsmon sets FSD (forced shutdown): every secondary shuts down first, the primary last, and the UPS then cuts power to rest.
The order is the point. The NAS holding everyone's files should outlive the node mounting them; the node should outlive nothing but itself. NUT's primary/secondary roles encode exactly that, and the same server can watch a PDU's outlets too. Most NAS platforms (Synology DSM and TrueNAS among them) can act as the NUT server out of the box — if your UPS is plugged into the NAS, the rest of the rack can already be clients. Home Assistant's built-in NUT integration reads the same server, which is how the power layer lands on your dashboards in the integration guide.
Putting the layer together
The reference build's chain: wall → UPS (sized by the UPS guide) → PDU → gear, with the UPS's USB lead in the NAS or the node running the NUT server, and upsmon on everything else. Test it the day you build it: pull the UPS plug, watch the order happen, read the logs. A shutdown system that has never been tested is a hope, not a system — and the test is free, takes ten minutes, and is the entire difference.
Official documentation and references
- Network UPS Tools (NUT) — documentation for the driver/upsd/upsmon model and the 2.8.x releases
- Home Assistant — NUT integration — what the same NUT server exposes to Home Assistant
Frequently asked questions
Does every machine need its own UPS instead?
No — that is the problem NUT exists to solve. One correctly sized UPS plus NUT gives the whole rack a coordinated shutdown, which several small UPSes without communication cannot: each would die on its own schedule, in the wrong order. Spend the difference on one better UPS.
What runs the NUT server if my UPS is plugged into a Proxmox node?
The node itself: install the nut-server packages on the Proxmox host (or in a small always-on LXC), and let every other machine — including VMs that matter — run upsmon as clients. The rule is only that the server machine must be the last one standing, which the primary/secondary design handles.
How low should the battery get before shutdown starts?
NUT triggers on the UPS’s own low-battery signal by default, which on most units arrives with a few minutes in reserve — enough for an orderly shutdown, not for riding out a long outage. If your goal is to ride out short outages and only shut down on long ones, that default is roughly right; test it and read the actual runtime your UPS reports at your load.
The Homelab Build Series · Stage 2 · Hardware
This guide is step 9 of 20 in a single build sequence: plan, hardware, network, platform, integration, operation. Each step assumes the ones before it and sets up the ones after.
← Previous: Cooling and noise · Next: Network architecture → · The whole build, in order — the homelab hub

