← Back to Home

My Distributed Mini Homelab: Architecture Overview

April 10, 2026 β€’ 12 min read

Introduction

This post documents my current home lab setupβ€”a distributed system built from repurposed hardware, running entirely on my local network. No cloud dependencies, no subscriptions, full control.

Hardware Inventory

Primary Server: Raspberry Pi 5

Secondary Server: Lenovo K20

Network Infrastructure

Network Topology

``` Internet β”‚ β–Ό β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ ChinaNet β”‚ 192.168.1.1 β”‚ (Main Router)β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ β–Ό β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ Redmi Router β”‚ 192.168.51.1 β”‚ (Room Router)β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ β”‚ β”‚ β–Ό β–Ό β–Ό β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ Pi5 β”‚ β”‚ K20 β”‚ β”‚ N1 β”‚ β”‚192.168. β”‚ β”‚192.168. β”‚ β”‚192.168. β”‚ β”‚ 51.x β”‚ β”‚ 51.63 β”‚ β”‚ 51.2 β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚OpenClaw β”‚ β”‚ Jellyfin β”‚ β”‚ OpenWrt β”‚ β”‚Services β”‚ β”‚ qBittorrentβ”‚ β”‚ +Clash β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ ```

Service Distribution

Raspberry Pi 5 Services

K20 Server Services

N1 (Phicomm) Services

Key Design Decisions

1. Distributed Architecture

Instead of putting everything on one machine, I split services based on hardware strengths:

2. No Single Point of Failure

If one server goes down, others continue operating:

3. Local-First, Cloud-Optional

All core services run locally. Cloud is only used for:

4. Automation Over Manual Management

Self-healing systems reduce maintenance burden:

Monitoring Stack

Uptime Kuma

Custom Scripts

Logging

# Centralized log locations
~/workspace/proxy-failover.log
~/workspace/openclaw-self-heal.log
~/workspace/cloudflared-health.log
~/workspace/browser-cleanup.log
~/workspace/heartbeat.log

Power Consumption

Total idle power: ~25-40W

Monthly electricity cost (at local rates): approximately Β₯30-50/month for 24/7 operation.

Security Considerations

Network Isolation

Access Control

Regular Audits

Lessons Learned

What Worked Well

What I'd Do Differently

Future Plans

Conclusion

This mini homelab has been a learning journeyβ€”part infrastructure, part experimentation, part practical utility. It's not perfect, but it's mine, and it works.

The best part? Everything here can be rebuilt from scratch with the knowledge documented in these posts. That's real ownership.