Building a Distributed Home Lab Monitoring System with Home Assistant
Putting two dashboard monitors in my studio was the easy part to explain. The more interesting question was what I wanted to see on them. I have several computers doing different jobs, shared storage, backup archives and a website with its own set of numbers. Checking each one separately is possible, but it is not how I want to spend my time.
I wanted to glance up and know whether the GPU server was working, whether Unraid was healthy and whether the information in front of me was current. That last point matters. A beautiful dashboard showing yesterday’s numbers without telling me they are stale can be worse than no dashboard at all.
As I built Studio Command, I realized that the monitors were really the end of a much larger project. Home Assistant could bring everything together, but first I needed a dependable way for each computer to report what it knew. Here is how I put those pieces together.
The architecture
OC Compute collects its GPU and host data. Unraid collects cached array and backup metadata. Both publish structured JSON through shared storage. OC Prime synchronizes the files into the local Home Assistant environment and validates them with readers. Prime’s own host and content collectors write locally. Studio Command displays the native dashboards.
The monitoring tasks do not require recurring AI inference. Python can read resource counters, validate timestamps and calculate percentages predictably. Existing analytics reports are reused; the telemetry collectors do not initiate new external analytics API requests.
Collection and transport
Rather than have the display machine reach into every server, I decided to let the servers do the work they were best positioned to do. That also means I can change the dashboard without redesigning the collection process.
The Compute collector runs on a 60-second systemd timer. Its publisher validates source, schema, file age and mount availability before atomic publication. The publisher has a 15-second timeout and the service a 65-second timeout. Prime’s synchronization timer also runs every 60 seconds and validates the actual CIFS mount before accepting data.
Unraid’s root cron invokes its collector every minute through flock and a 30-second timeout. Its persistent installation is connected to the boot configuration. The collector reads cached array information rather than intentionally invoking SMART queries or spinning up disks. Prime synchronizes that result on a separate timer.
Freshness is a measurement
One of the most useful design decisions was to treat the age of a measurement as information in its own right. I would rather see that a value is unavailable than be reassured by a number that is no longer true.
The infrastructure readers use a 180-second freshness threshold. Provider state has its own 1,800-second threshold; stale provider information must not make otherwise current host metrics invalid. The content collector runs every 15 minutes, with a 2,100-second reader threshold. Analytics and sitemap inputs have longer source-specific thresholds. The readers reject malformed files, unexpected schemas, missing sources and future timestamps rather than pretending a stale value is current.
Unraid maintenance and storage monitoring
I upgraded Unraid from 7.3.4 to 7.4.1 and verified SMB after reboot. A parity check started; its final outcome is a separate verification item. The array has intentionally unused slots, including the second parity slot and Disk 5. My collector distinguishes those expected conditions from unexpected faults. That is specific to my configuration, not a recommendation to ignore disabled disks.
Monitoring backups without claiming recoverability
Backup status is a particularly good example of why I want the dashboard to be precise about what it knows. Seeing a recent archive is reassuring, but it is not the same as successfully restoring one.
The November 28 baseline recorded 87 backup archives, a latest archive of 11.38 GiB and total inventory of 1,109.29 GiB. The metadata cache refreshes every 30 minutes. Backup age is classified using 30-hour and 48-hour thresholds. Recent file writes can indicate an archive may still be in progress. None of this proves the contents are recoverable: the producer, integrity and sample restore still need verification.
Content operations on the second screen
The dashboard brings together existing website analytics, Search Console, YouTube, Amazon reports, comments, the SQLite content sitemap and a daily monetization action. Each source has a different meaning. Collected comments are not unanswered comments, a fresh report may contain an older reporting period, and sitemap component coverage is not equivalent to complete editorial restoration.
Testing the failure cases
Once the screens looked right, I wanted to know how the system behaved when the data was wrong. That is a very different test from simply looking at the dashboard while everything is working.
On November 28, isolated fixture tests recorded 11 Compute assertions, 15 Prime assertions, 11 Unraid assertions and 15 content assertions. All 52 passed. Production files and readers were not modified; temporary fixtures were removed. The test scope covers reader behavior, not a complete network outage, dashboard rendering recovery or disaster recovery.
Troubleshooting without unnecessary restarts
When a value is stale, I want to determine whether the source stopped collecting, the transport failed or the reader rejected the data. Checking timestamps, mount status and the affected service logs is more useful than restarting every host. The documented baseline also identifies a stale CIFS handle and an unresolved provider refresh trigger for follow-up.
The best outcome is a monitoring system I can understand and maintain without asking a model to make every routine decision. It makes the home lab more useful while preserving a clear distinction between current information and unavailable information.
The service and reader boundaries
The Compute service and its publisher operate on the source machine. Prime’s Compute synchronization service runs independently, while a local Home Assistant reader exposes the resulting entity. The Unraid collector, synchronizer and reader follow the same pattern. Prime’s host collector runs under a user timer with linger enabled. The content collector also uses a user timer, with a longer cadence suitable for existing analytics reports.
jimbot-telemetry.service
jimbot-telemetry.timer
jimbot-telemetry-sync.timer
jimbot-unraid-sync.timer
jimbot-oc-prime-telemetry.timer
jimbot-content-telemetry.timer
The Home Assistant readers reside under /config/jimbot-telemetry and the package definitions under /config/packages. Infrastructure readers scan every 30 seconds; the content reader scans every 60 seconds. These intervals are distinct from the upstream collection intervals. A frequent scan does not make a stale source fresh.
The dashboard deployment boundary
The dashboard configuration is deployed through Home Assistant’s authenticated WebSocket API, using existing versioned scripts. The process backs up the previous configuration, saves the intended configuration and validates the readback while preserving the dashboard registry. At the accepted content dashboard checkpoint the registry remained 34 of 34 and seven content sources were checked. A dashboard save does not require a Home Assistant restart.
Diagnosing a stale value
I can inspect a reader directly inside the Home Assistant container, substituting the actual reader filename. This is an example of the documented diagnostic pattern.
sudo docker exec homeassistant python3 /config/jimbot-telemetry/read-oc-compute.py
systemctl is-active jimbot-telemetry-sync.timer jimbot-unraid-sync.timer
systemctl --user is-active jimbot-oc-prime-telemetry.timer jimbot-content-telemetry.timer
I first examine source age, then transport state, then reader validation. If the provider state alone is stale, the host measurements can still be valid. If a CIFS mount is not actually mounted, a directory with the expected name is not adequate proof that the remote transport is working. I do not change timestamps to hide missing data.
What the acceptance tests do not establish
The 52 passing assertions were performed with isolated fixtures and the production services remained active. The receipt was preserved, but the standalone test source was not confirmed saved. A complete recovery exercise would also need to interrupt the actual transport, observe the dashboard and verify recovery when the network returns. I have not performed that exercise as part of this acceptance result.
Thanksgiving 2026 technology series
Part 5 of 6. New articles are published daily November 30 through December 5. Links to upcoming installments become available when those posts publish.
- Thanksgiving Weekend Recap — November 30
- Studio Command — December 1
- OC Compute — December 2
- Local Podcast Transcription — December 3
- Distributed Home Lab Monitoring (this article) — December 4
- Podcast Archive Restoration — December 5


