Projects / LAB-04
Pi Automation Box
Self-hosted n8n on a Raspberry Pi 5, with TLS, a firewall, private search and backups.
- Part no.
- LAB-04
- Status
- working
- Platform
- Raspberry Pi 5
- Year
- 2026
- Stack
- Docker Composenginxn8nPostgresSearXNG
Back of the napkinRough · not a forecast
Self-hosting instead of paying for cloud automation.
- Hosted automation plan (typical)≈ €20/mo
- ×Months12
- =Avoided per year≈ €240
- −Raspberry Pi 5 + SSD (one-off)≈ €130
- −Electricity (≈ 5 W around the clock)≈ €10/yr
- =Payback≈ 7 months
Running costs
- Electricity
- ≈ €10/yr
- Domain + TLS
- ≈ €10/yr, certs free
At 10× / 100×
One Pi runs dozens of workflows. Its limits are RAM and SD/SSD wear, not cost. Backups are the part that matters.
Verdict
Pays for itself in under a year, and it’s mine.
- 01nginx + TLSLet’s Encrypt certificates renewed by certbot.
- 02n8nWorkflow automation backed by Postgres.
- 03SearXNGPrivate meta-search for agents and for me.
- 04BackupsScripted dumps, with the ufw firewall locked down.