INFRA / COMMAND
A local-first engineering operations console for my home lab: device inventory, Windows-native monitoring, service checks, administrative workflows and a secure LAN dashboard.
One view of the lab.
Separate trust boundaries.
Why I built it
I’ve spent time working with repurposed computers, network equipment and different operating systems, and I wanted one place to see what was happening across my home lab. Jumping between machines and tools for basic status checks wasn’t a great way to understand the environment.
INFRA / COMMAND is my attempt to build that control panel myself. It started as a Windows/WSL prototype and grew into a browser-based operations console available on my trusted home network.
The aim is straightforward: show real device and workstation information, keep useful history and make routine inspection easier without introducing a huge monitoring stack before I understand what I actually need.
What I’ve built
The working home-LAN prototype combines:
- A React and TypeScript dashboard for an inventory of devices, system status, inspection results, service checks, alerts and operational records.
- A FastAPI backend with SQLite running inside Ubuntu on WSL2 to store and serve the data.
- A Windows-native agent built with C#/.NET to collect genuine Windows host measurements and read-only inspection snapshots.
- A Caddy HTTPS entry point on the Windows host, serving the frontend and forwarding API traffic to the backend without directly exposing that backend to the LAN.
- Local administrator access controls around protected workflows.
- An iPhone integration path with inventory/check-in API work and a packaged SwiftUI project.
I’ve since added the devices in my home lab to the inventory. Having a device in the inventory doesn’t automatically mean it has its own continuously reporting sensor: the project documentation validates native telemetry for the primary Windows workstation, while broader monitoring and mobile features are still being developed.
The result is a functioning home-lab control panel rather than a finished, production security product.
Architecture
The diagram above shows the main deployed trust boundary at a high level. It intentionally omits private addresses and operational secrets.
- A trusted device connects to the LAN-facing HTTPS dashboard.
- Caddy serves the built React interface and routes API requests to the local service.
- FastAPI handles administrative sessions, inventory and stored operational records.
- SQLite stores device, sample, event and inspection data.
- A separate Windows-native agent reports actual host measurements and read-only inspection results.
- The iPhone path remains a distinct integration boundary; packaging the native app is not the same as proving end-to-end device operation.
The Windows agent matters because WSL2 has its own CPU and memory usage. Treating Linux guest statistics as physical Windows workstation measurements would give me the wrong picture. I added source-aware telemetry rather than trying to guess which numbers represented the real host.
What works and what I’m improving
| Area | Working or demonstrated | Further work |
|---|---|---|
| Dashboard | Built React interface, authenticated access on the LAN | More polish and consistency across device types |
| Inventory | Lab devices can be registered and reviewed | Confirm active telemetry coverage for each asset |
| Monitoring | Native Windows CPU/RAM reporting, inspections and trends on the main workstation | Scheduled independent collectors and reliability checks |
| Operations | Device records, alerts, web checks and audit-oriented data | More dependable health probes and event workflows |
| Mobile | API/check-in pathway and SwiftUI source packaged | Full on-device validation and mobile telemetry |
| Remote administration | Trust boundaries and safety model documented | Authorised remote access and audited actions |
Security decisions
My rule for this project has been read-only first, remote control later.
The browser interface, Windows agent and prospective mobile client have different responsibilities. The API and database stay behind the LAN-facing gateway, rather than being exposed directly. I also wanted to be clear about what the system doesn’t do: it isn’t a public VPN gateway, internet-accessible remote shell, or replacement for a dedicated security monitoring product.
If remote maintenance becomes part of the build, it needs separate authentication, explicit authorisation, an audit trail and a safe way to roll changes back.
What I learned
The source of telemetry matters. A dashboard can look convincing while reporting numbers from the wrong system. Tracking measurement sources and distinguishing Windows host data from WSL guest metrics made the results much more believable.
Inventory is not observability. I can register all my devices before I’ve validated how each one should report live measurements. Keeping those states separate avoids misleading the person using the interface.
Keeping the scope local helped. HTTPS on a trusted LAN with a loopback-only backend was a better early milestone than rushing into internet-exposed administration.
Small, verifiable steps add up. I got a usable control panel running and can keep expanding its collectors, mobile integration and security model over time.
Documentation and next steps
This record is based on my INFRA / COMMAND project specification (status snapshot dated 1 November 2026) and the current working home-lab build.
This is a personal lab project, not production security software. I haven’t published its source repository here. I can add sanitised screenshots, architecture diagrams and a public code sample later without exposing private network configuration.