I am testing the alt support on note images — here are some birds eating.
For about 10 days, while I’ve been distracted by fun implementations on my website, this #Arduino Mega board has been running the new alarm code. Constantly communicating with the Python application that will run on the #RaspberryPi — receiving 16 #Zigbee zones and responding accordingly. Not a single communication or checksum error has been logged.
I’d say this is a pretty good start 😀 Time to start building some IO interface boards…
Broken IPv6 network — multiple devices sending IPv6 RA
Back in early June I started getting emails from updown.io warning me of IPv6 ping issues to my CHR edge router. I didn’t notice anything wrong, and everything seemingly worked just fine, so I muted the alarm and did summer stuff instead.
Lately I’ve noticed that wget and curl, when IPv6 was used, would often time out — not always, about half the time.
We rented a boom lift recently, to paint part of the house. I used the opportunity to mount an outdoor siren.
Now all I need is a control cable from the alarm cabinet to the attic, and I can get this thing wired up.
To prevent annoying the neighbours too much — this thing will only go off if there is a manually triggered panic alarm, or intrusion with more than one zone in alarm.
Rebuilding the DIY alarm system
I’ve decided to completely rebuild my DIY alarm system.
- Mean Well UPS supply instead of C-TEK charger
- Bigger battery in dedicated cabinet
- Arduino Mega as core, Raspberry Pi only as MQTT relay
- End-of-line resistors
The biggest change is undoubtedly moving the alarm state machine and all logic from the Raspberry Pi to an Arduino Mega. There are three main reasons for this move:
- It’s fun and I’d like to work more with the Arduino
- The Arduino Mega has 16 analog inputs, making it possible to use end-of-line resistors
- An alarm system needs to be stable — not crash, hang or get a corrupted SD card
I’ve been thinking about end-of-line resistors since I first got started, but the Raspberry Pi doesn’t have any analog inputs. Initially I thought of using the Arduino Mega as an I/O interface device, but as I got started I figured why not let it do more.
So #RPiSecuritySystem is now #DIYAlarmSystem.
Home network v2 — the never-ending story
Back in 2021 I started to tag posts with Home network v2, and wrote about my plans to improve my home network. The year after — there was even an updated plan!
Then it evolved into a series, with the following description:
My home network 2.0 started with me replacing all my Unifi switches for MikroTik — and looking for a new router. Then followed a lot of network cabling and Wi-Fi improvements, and wrapping up with some IPv6.
TLDR; I’m taking my home network to the next level.
Now — five years and 17 posts later — I don’t really have any idea where I am going with this… I’m continuously improving my home network. That is a big part of my homelab hobby, a never-ending story.
So; keeping a Home network v2 tag, or series, feels a bit off. Let’s wrap this thing up.
After some trial and error I’m ready to try out the notes section on my Hugo blog. I’ve been thinking about this for a while — and this time it might just work. More changes than anticipated were needed to allow for no title — lists, RSS, OG image…
I like how @kev@fosstodon.org is doing his notes, and my implementation is inspired by that.
My goal is to reduce friction when posting a project update, while still using my own website.
Hero Camper exterior lights
When we bought the Hero Camper we opted for having exterior lights installed, one in each corner of the roof-rack, with a simple controller inside the cabin.
The two rear lights were facing backwards, while the two in the front were facing out to each side. This left a dark area in front of the camper.
So far we have mostly used the red (the lights have red and yellow in addition to regular lights) to find the camper when parked at a dark campsite. Having a “blind-spot” in front was a bit annoying.
I initially planned to get two more lights and face them forwards, but that left me with a dilemma. There are only four channels on the controller, how to wire two additional lights?
It turned out I didn’t actually need more lights, I just needed to adjust the ones I have differently 🙂
Fitting a wine cabinet in my home office
A home office can’t just be all fun and games; there needs to be some wine too.
I’ve wanted a wine cabinet for a while. I often pick up a few bottles of red wine when I’m out travelling but have had no good place to store them.
The basement is typically an ideal place to store wine, but our basement is warm all year round, as it has my home office and homelab rack.
A wine cabinet was the obvious choice, but how to fit one? My home office is already pretty crammed…
Securing Home Assistant API access for Dakboard — with Caddy
Back in 2021 I added Home Assistant sensor data to our Dakboard monitor. But I did so using a long-lived access token directly on the Dakboard blocks — which is not great for a couple of reasons:
- Tokens have no access scope, meaning they grant full admin access to everything
- The token was stored on Dakboard’s servers
I want Dakboard to be able to pull data from my locally hosted Home Assistant, but I’d like to restrict access.
I did this using Caddy as a reverse proxy 🤓