Pandemic Journal, Day 729 (3⁶)

I got Home Assistant (HA) talking to the Insteon (which is what controls the lights and switches in the house) this afternoon. It was able to bring all of the devices into its database, and now I will put a human-friendly name on each one (recognizing “4C.13.AE” isn’t quite as easy as recognizing “Porch Light”). There should be some way to import all of the names I’ve already defined in Indigo, but with only 20 devices, it’s probably easiest to just do it through the menus in Home Assistant. Tedious, but easy.

I was even able to set up an automation to make pressing a button on a switch in the kitchen turn the Sonos in the living room on and off – just like I have in Indigo.

Despite spending too long on the computer, we did manage to take our usual walks; there are more flowers every day, like this sunflower.

Pandemic Journal, Day 728

Diane spent the afternoon working on a photo book for our 2019 Tulip Time trip with her brother and sister-in-law, and I spent the afternoon working on improving our home automation.

Today’s project was installing the latest version of Home Assistant on the new Raspberry Pi I bought last month. Yesterday, I’d tried installing the version that runs on the “Home Assistant Operating System”, which is their preferred Raspberry Pi setup. It’s based on Linux, but is locked down tightly; it was also painfully slow to boot up and shut down (to be fair, that might have something to do with running it from an SD card). So today, I tried installing Home Assistant in a Docker container; it was much faster.

I had a basic setup running with a few critical devices defined in just over an hour – and then I discovered I’d made a mistake in my Docker configuration. I wanted all of the Home Assistant configuration and log files to be in a directory on the host machine, but I hadn’t put that into the Docker file – so when I restarted the Docker container, all of that work vanished.

I fixed that mistake and started again; it was easier the second time. I still have to get the lights and switches into the system, expose everything to Alexa and HomeKit, and rebuild my automations, so there’s a lot of work ahead, but I’m hopeful.

I’m also motivated. Apple released Mac OS 12.3 today, which removes Python 2 from the system. That breaks Indigo completely – they’re working on an update to use Python 3 but it’s not ready yet. And then all of the user-contributed plugins will need to be updated, too, and not all of them still have owners. I suspect it’s not going to be smooth.