Weird Home Assistant Scripts Bug

I ran into a weird Home Assistant scripts issue when I upgraded to 2023.11 from 2023.06 (I know, but I didn’t need the new features and had higher priority stuff to deal with) last week. After the update, when I went to add or edit a script, I started seeing 500s. After some messing around, I eventually moved the couple scripts I had from scripts.yaml as inline scripts in configuration.yaml, restarted, and when I went to edit them, HA offered to migrate them into scripts.yaml. Annoyingly, then when I went to create a new script, HA didn’t return 500s, but the new script didn’t show up in the script list either. I could see it in scripts.yaml, though, and configuration.yaml had the expected script: !include scripts.yaml line in it. ...

November 22, 2023 · 1 min · 174 words · Me

Homelab Upgrade from USG-Pro to UDM-Pro

Last Tuesday night, my USG Pro died. I got it secondhand and I got almost five years use out of it, so it was past time for a more performant replacement. ...

August 26, 2023 · 4 min · 735 words · Me

Set up nginx-proxy-manager with LetsEncrypt SSL certificates

In the next few posts, I’m going to document how to set up Home Assistant (HA) from scratch. We’re going to want to protect the admin UI interfaces for HA and its support services with SSL, and add authentication to services that don’t provide it themselves. We’re going to do this with Nginx Proxy Manager because it has built in support for using LetsEncrypt to obtain free SSL certificates, supports adding authentication to services that don’t do it themselves, and is overall easy to use. Before I start writing more Home Assitant articles, let’s set up a SSL proxy server to keep everything secure. ...

July 22, 2023 · 10 min · 2101 words · Me

Installing ESPHome

Some of my posts assume that the user already has ESPHome installed, so I’m documenting how to install it here so I don’t have to repeat it everywhere. ...

May 22, 2023 · 2 min · 334 words · Me

Blog Comments via Mastodon

As part of moving from Twitter to Mastodon I decided to add comments to the blog using Fediverse posts. Fortunately, Carl Schwan showed how he does it on his blog here. Here are the exact tweaks to his post I did to get it working with the papermod theme I’m using on this blog. ...

April 5, 2023 · 8 min · 1551 words · Me

Booting an Orange Pi 5 from NVMe

Just got an Orange Pi 5. I couldn’t find a simple set of instructions on how to boot it off the M.2 NVMe slot, so I’m documenting it here. ...

March 31, 2023 · 3 min · 581 words · Me

Add Smarts to IKEA Vindriktning Sensors

We’re doing a kitchen & bathrooms renovation, and the construction is generating a lot of dust, to the point that I was changing the HVAC filter twice a week. I wanted to see just how much garbage is in the air, so I started looking around for air quality sensors. Naturally I wanted one that I could integrate into my Home Assistant so I could generate notifications if the air was extra filthy. ...

March 18, 2023 · 5 min · 997 words · Me

Released ha-mqtt-discoverable 0.8.0

Released version 0.8.0 of ha-mqtt-discoverable and version 0.2.0 of ha-mqtt-discoverable-cli today. ...

March 11, 2023 · 1 min · 61 words · Me

Restic Backups on TrueNAS

I’ve been backing my homelab up with duplicacy (See Backing Up the Cluster Using Duplicacy), but I’m fed up with it returning a 0 exit code even if there’s a problem with the backup. This makes me have to do a lot of annoying rummaging through log output to be sure that a backup actually worked, so I decided to switch to restic. In this blog entry, I’m going to explain how to create a jail in TrueNAS, mount directories you want to back up into the jail, install restic, and how to use it to back up to Backblaze b2. ...

January 13, 2023 · 11 min · 2237 words · Me

Fix Congo Backticks

I considered a switch to the Congo theme for Hugo. The one thing I didn’t like in it was the way it handles inline backticks - it displays them, in addition to formatting the enclosed text as code. To fix it, create assets/css/custom.css with the following contents: .prose code::before { content: '' } .prose code::after { content: '' }

November 14, 2022 · 1 min · 59 words · Me