Lurker News
It's been years (over a decade?) since I've had a server at home but I'm setting one up for media and I got to thinking: what else should I do with this box? So I was wondering what cool/nerdy/weird stuff you all are using home servers for. DNS and file sharing seem like obvious applications I could set up. I already run email and web on a VPS so that's taken care of. What are you doing with your home server?

Comments (456) 205 threads

Show all comments

Showing thread 2 of 205

lxgr3 replies#
I've been using a Raspberry Pi as a home server, and it's been holding up amazingly well, given everything I've thrown at it:

- The excellent Home Assistant, for unifying across Homekit and Google Home and tracking historical temperatures and a couple of automations. The RPi has Bluetooth built in, so I can capture the data from a few Bluetooth thermometer/hygrometers running custom firmware (https://github.com/pvvx/ATC_MiThermometer) without a 802.15.4 bridge or similar.
- An AirPlay to Google Cast bridge, mainly for listening to Overcast or the occasional YouTube video on Google speakers (without subscribing to Youtube Premium/Music)
- A SMB server, for file storage and potential Time Machine backups (but I don't currently have enough storage, and locally attached SSDs are just hard to beat in terms of performance)
- A DLNA server, for watching photos and videos on my TV
- Tailscale, for the occasional use of my home connection as a VPN when traveling (really glad to be having symmetric fiber for this!)
- Caddy, as a frontend for everything web facing, to benefit from its excellent Let's Encrypt integration for automatic certificate requests and renewals
Most of this is running in Docker containers and configured via Ansible, so that if the microSD card burns out (or I botch an OS update), I can just flash a new one with an empty image and recover from there.

LeoPanthera2 replies#
All of my Raspberry Pis netboot, which means I never have to worry about a card burning out, and I can change what they boot into by just renaming a symlink on the server.
BanjoBass2 replies#
Seems like a smart way to do it, but that relies on having another always-on system standing as the server. OP's solution only requires the one device, the rPi unless something needs to be changed.
LeoPanthera#
That's true. In theory you could use an extra Raspberry Pi itself as the netboot server. But since my home network already has a fileserver it was an easy choice.
cassianoleal#
If you run an open source router distro like OpenWRT or OPNSense, you can use it as the PXE Boot host. That's a device that needs to be running anyway.

I've seen a lot of people running their routers as a VM on something like Proxmox and that gives you even more flexibility but it does require a beefier server - one that could potentially replace all the RasPis, potentially making the PXE boot redundant. :D

sorenjan1 reply#
Can you netboot from a desktop computer that's not always on? If the desktop is running when the pi is booting, does the pi then need the "server" (desktop pc) again until it needs to reboot?
LeoPanthera#
No, because the root filesystem is mounted by NFS.
joejoesvk3 replies#
i'm trying to buy rpi but can't decide which configuration. what are minimum requirements to run airplay bridge, home assistant?
3np#
In terms of minimum requirements, you could even run that on a 0 or older.

In practice, you probably want at least 3b+ for reasonable performance. If you're buying new anyway and can get them for MSRP I don't see why you wouldn't get a 4.

lxgr#
I'm using a Model 4 with 4GB of RAM, but 2GB would probably also be ok. (I haven't measured peak memory usage, but I imagine that having some spare memory for file caching reduces read contention for the SD.)

Home Assistant can take a minute or two to start up, keeping all four cores quite busy, so I wouldn't recommend trying this on an older model myself.
If you want to use the Pi's internal Bluetooth module, obviously you'll also need one that has one and supports Bluetooth LE. Again, I can only speak for the Model 4 here, which works great for that.

greggyb#
If you want a Pi (or alike) for specific reasons, go for it!

But, if you are looking for cheap and relatively low-power compute, I strongly recommend looking at used ultra small form factor PCs. You can get much more computational power and expansion, often for cheaper than a Pi. And eBay is riddled with these things, unlike recent Pi availability.
https://www.ebay.com/sch/171957/i.html?_from=R40&_nkw=%28len...
The pricing gets even better if you want to buy them in a lot.

mattvot1 reply#
Which AirPlay to Google Cast bridge are you using? Thanks