03 / Automation & ops / 2026 — now
HamBot.
A Discord bot for the house. Everyone at home uses it for chores and the cat's litter box. I use it to patch my VMs, check on things, and get alerts before stuff breaks.
Status
Running
Stack
Python / discord.py / Docker / GitHub Actions / GHCR / Dockhand
20modules
15 minfrom push to running
0third-party alert services
# house
HB
HamBotBOT
☀️ Morning digestClear, 28°F → 41°F · no SPC riskHouse used 31 kWh yesterday2 chores due · 1 package out for delivery
What it is
This started as two webhooks: a morning cyber briefing and a ping when the Litter-Robot drawer got full. Now it's the house's control panel.
One rule: nothing leaves my server. No hosted price trackers or alert services. If I need it, I build it and run it myself.
What I did
- Each bot runs in its own container. GitHub Actions builds only what changed and pins the image. Dockhand sees the commit and swaps just that container.
- Wrote /update and /ops. They patch, snapshot, and reboot my Raskal VMs over SSH. Each VM only accepts a fixed set of commands from HamBot's key.
- Built pricewatch, a headless-browser price tracker, as its own container instead of signing up for a service.
- Morning and night digests: weather and SPC risk, power use from the Emporia monitor, chores, packages, and the litter box.
- Reads Flight Wall's API for rare and military aircraft alerts.
What broke
- GitLab CE can't pull-mirror. That's a paid feature. So I wrote a small container that pushes copies from GitHub every 15 minutes.
- The Litter-Robot carbon filter reset kept getting stuck. I pulled the feature instead of shipping something flaky.
- Letting a bot reboot servers is scary. Each VM only takes a fixed list of verbs from HamBot's key, so a bad command can't become a shell.
Where it's at
Running. I keep adding modules when the house asks for something.