Home Assistant, cold nights and some SQL
I recently decided to only use Home Assistant primitives to manage my ‘smart’ home, where I previously also used Node Red for automations. Since I was redoing a few things I decided to make them better this time around - like my critical automation to each morning notify me what the lowest temperature was during the night!
I also cheated a bit, and went straight for the database instead of trying anything else. (-:
…PostNord delivery dates in Home Assistant
I live in Sweden, and the postal service PostNord only delivers post every other day or so. Instead of trying to learn the schedule or just checking PostNord’s website if I’m curious, we are going to poll their API and have a template sensor to automagically update itself depending on the API reply.
…NixOS for system configuration 🩷
I know that developers (and operators) likes nix due to it’s capabilities as a package manager, and that is also where I started my journey. It is a lovely package manager!
But coming back to NixOS after a hiatus, I’ve managed to learn some nix and finally really started to appreciate how amazing it is for setting up machines as well!
…CoreRAD is pretty rad
I’m currently working on replacing my router with a newer machine running NixOS. While preparing the necessary configuration I discovered mdlayher/corerad, which looks like a modern replacement for radvd.
…Webhooks & Forgejo
Just another short note to Future Me(tm) – this time on a valid configuration for receiving webhooks from Forgejo.
…Linkding on fly.io
Yet another container running on fly.io, this time a Django application.
Shortly after writing this up, I discovered the excellent repository fspoettel/linkding-on-fly which does a better job than below, including setting up litestream backups. :-)
…ZeroTier on FreeBSD 14
I recently built a new machine and installed FreeBSD 14 and ZeroTier on it, due to reasons.
However, when I tried to join a ZT network I just got HTTP 401 back on any command I tried.
…Mass remove devices in Home Assistant
At one point I though letting RFXTRX listen to all 433 MHz devices around, and add them to Home Assistant, was a good idea. I thought I could eavesdrop on all temperature sensors and combine them into an approximation of the real outdoor temperature, or so I thought.
Now I’ve finally found a piece of code that lets me remove the hundreds and hundreds of devices RFXTRX had autocreated in my Home Assistant.
…