๐Ÿ’พ Archived View for m0yng.uk โ€บ Self-hosted-stuff captured on 2024-07-08 at 23:43:10. Gemini links have been rewritten to link to archived content

View Raw

More Information

โฌ…๏ธ Previous capture (2024-05-10)

โžก๏ธ Next capture (2024-08-18)

๐Ÿšง View Differences

-=-=-=-=-=-=-

Self hosted stuff - M0YNG.uk

Modified 2024-03-29

I have a **lot** of computers doing *stuff* at home, and inspired by Werefox[1] I thought I'd share a bit about them.

1: https://info.werefox.dev/projects/services

[TOC]

Private Stuff

All of this lives on a low power computer and a diminishing number of Pis at home, and can be accessed from the home network or remotely via VPN.

Most of this is available via ~~lighttpd~~ nginx reverse proxy with a real wildcard let's encrypt certificate for a real domain, so I regularly have to do a DNS validation dance. But it does make life easier to be able to hit up a valid HTTPS service without certificate warnings etc. It also means I can change the backend without updating things in too many places, and I don't have to remember port numbers.

Hardware Summary

A lot of this runs on a Lenovo ThinkCentre with an Intel i5 4570 at 2.9GHz, 12gb of RAM, and a 128GB SSD, running Debian. It has a GPS receiver attached via USB for high resolution time syncing, which it offers over the network.

Previously it was an Acer Revo M1-601 with a 2.1GHz Atom/Celeron/Pentium Processor (it depends who you ask, and the computer itself gives all three!) and 8Gb of RAM. It has a measly 32Gb of storage onboard, but I've got a 2Tb spinning rust disk attached via USB3. I use Docker to avoid dependency nightmares on here.

For **big storage** there is a NAS (Network Attached Storage). This is a Buffalo TeraStation and has 4x 2Tb drives, which run mostly in RAID5 (this was a bad idea, the CPU cannot keep up and significantly slows down the write speed but the data should be fairly stable, although I fear what happens when a drive fails and it has to rebuild stuff) giving 5.5Tb total accessible storage. It runs Debian and provides access via NFS and SMB (and SSH I guess?)

There are (*counts*) many Raspberry Pis around doing various things. Most are listed below by their function.

Vaultwarden

An alternative implementation of the Bitwarden API that I can use from various places for password management.

Runs in Docker

Nextcloud

Mostly used as a simple way to automatically back up photos from my phone. The data is stored on the NAS.

Runs in Docker

Gitea

A place to put code as I work on it. Not that I do much. I also sync code "in real time" using syncthing.

Runs in Docker

ADSB

An ADSB aircraft tracking thing that lives on the upstairs landing with a custom made collinear aerial.

It can "see" about 100 Nautical Miles in some directions, mostly 50, which isn't bad considering it's all inside.

Has a nice web UI I can watch aircraft on and see what is making that noise. Data is fed to adsb.fi[2] and adsb.lol[3]

2: https://adsb.fi

3: https://adsb.lol

Pi-Star

A Pi-Zero-W with an MMDVM Hat that provides DMR and Pocsag services to my (very) local area.

Home Assistant

Previously this page said I wasn't convinced, but in the three years since I updated this page I've been using HA for many many things and it is now something I consider essential.

It does various things, including but not limited to:

It runs on a dedicated Pi4, although I'm considering upgrading it to a low power computer to give it a little more processing power, and reliability (it hasn't had issues, yet, but it's a Pi...) it has 433MHz via and RTLSDR and a ZigBee dongle.

PiHole

It's a network wide DNS based black hole for advertising and trackers. If you aren't already using it, I'd seriously suggest you consider it!

This also does the internal only subdomains for the reverse proxy stuff I mentioned before.

Runs in Docker.

Unifi Controller

My home network is mostly Unifi hardware (2x WiFi access points, 1x 8 port managed switch, 1x router/gateway thing)(plus at least 4x unmanaged non-unifi switches, ISP modem, etc.)

This software sits there and "manages" it all. It's normally a bad day if I need to open this! But it does give nice details like what devices are connected, how good their connection is, how much data is being used, etc. Fun for scaring guests as I can tell them what apps they are using based on the deep packet inspection of Unifi + PiHole's DNS logs.

Runs in Docker

Syncthing

Uses the bittorrent protocol to sync stuff between things. Generally pretty good for my needs, and I have one running on an always on computer so I basically have a dropbox style service where laptop, desktop, phone, etc. can all keep files in sync without having to be on at the same time (although it is faster if they are.)

Mostly used for `~/Documents` and `~/Code`.

Asterisk

VoIP (Voice over IP) phone service for the house. I have a few handsets dotted around the house and an app on my phone so I can call other bits of the house or home when I'm away (via the VPN) rather than shouting at people. Mostly pointless, but kind of fun.

Also has connections to Hams Over IP and Hamshack Hotline. I've got a "landline" number which I need to configure too.

There is a Linksys/Cisco VoIP to analogue thing connected to house wiring which I've retrofitted (and disconnected from the public network) so the two analogue handsets connect seamlessly.

Runs directly on Rhydon, with no gui or admin interface, which ... isn't fun but I can't find anything that suits my needs.

Radiopi-10

Is a Pi v3 and TNC-Pi hat running aprx and doing APRS stuff.

Was running on a 100w solar panel, but hasn't been re-commissioned since moving house.

Wireguard

A fairly simple to use VPN service that allows me to "dial in" to my home network and access stuff from anywhere.

Runs on Home Assistant.

Abra

A Pi Zero W with a 7.5in ePaper display that lives in the kitchen and can pull data from various sources and display, for example:

Mostly runs via cron which displays time context suitable information, but also has a 6 key keyboard that can trigger 6 different displays on demand (8+ as some display differently based on the time of day) and a minimal web interface which allows uploading images for immediate display, etc.

Pretty much all of this is custom python scripts, and most of it will never be shared, sorry!

Navidrome

Has replaced Funkwhale as it's much simpler to manage and does all I need. Which is make it easy to listen to and share my music collection with others in the house. Also via VPN-ing home.

Persian

My desktop. It's a Dell OptiPlex 3090 with an Intel i5 10500 CPU @ 2.30GHz, 32GB RAM, a 256GB NVMe, and 1TB SSD. It sips power and is plenty good enough for almost everything I need.

Mainsail

A Pi 3 running Mainsail OS / Klipper connected to the Anycubic Vyper 3d printer.

Dead stuff I don't use anymore

Rainloop webmail

I thought it might be helpful to have a web mail client available locally, but I just didn't use it.

Cockpit

A web interface to manage your servers. Doesn't do anything I can't do faster via SSH.

Funkwhale

An easy way to access all the music I have on a NAS. It was a right pain to keep updated and I don't need the federation aspect.

Shed Music

A temperamental raspberry pi v1 hooked upto some powered speakers. This runs MPD and I can control it from the command line, an app on my phone, and a web interface on the pi itself. I don't have a shed office thing anymore.

Pidgey

This is the Chicken Pi.

Cameras, temperature sensors, chicken detection systems, all that on a Pi3.

Find out more on the Chicken page. We no longer have chickens.

Previously ran Grafana, now just sends data to an influxdb on Rhyhorn, and graphs are viewed on Abra / a.n.other. way of making graphs (e.g. plotext)

InfluxDB

Runs on Rhyhorn and stores data on the NAS, a good dumping place for data such as:

Not really needed now as Home Assistant has taken over.

Muk

Is a Pi v4 running my data mode HF radio stuff. I can VNC into the Pi and run WSJTX, JS8Call, Gridtracker, etc. and play radio without needing to be physically near the radio.

I have a SignaLink interface between the Pi and the radio, it works ok most of the time, but does annoyingly often not trigger the PTT and there is no way to know this when just looking at WSJTX. I consider this a fault, but I've never put any effort into diagnosing it, other than opening the case and looking for dry solder (none that I could spot.)

Another limitation is that even my ATU (currently broken) cannot be controlled remotely, so I have to pick a band, match it, and then stick with that for all remote operation until I go and change it. This means I often just stick with 20m.

Hasn't been re-commissioned since moving house and the Pi has been repurposed for Home Assistant.

Public Stuff

These are things that are available on the internet, even if I'm the only actual user.

mastodon.radio

I run the mastodon.radio[4] instance.

4: https://mastodon.radio

It runs on a Mythic Beasts VPS - because they are very good.

m0yng.uk

This site, available via HTTP, HTTPS, TOR, Gopher, and Gemini. It's also a helpful place to play with stuff.

Runs on an Inception Hosting VPS - because it's very very cheap.

Cloudlog

I host my amateur radio log at log.m0yng.uk[5] so I can easily access it from anywhere, and people can see what I've been up to.

5: https://log.m0yng.uk

-+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+-

๐Ÿ–ค Black Lives Matter

๐Ÿ’™๐Ÿค๐Ÿ’œ Trans Rights are Human Rights

โค๏ธ๐Ÿงก๐Ÿ’›๐Ÿ’š๐Ÿ’™๐Ÿ’œ Love is Love

Copyright ยฉ 2024 Christopher M0YNG - It is forbidden to use any part of this site for crypto/NFT/AI related projects.

Code snippets are licenced under the Hippocratic License 3.0 (or later.)

Page generated 2024-07-04 by Complex 19