Hello there

Personal blog

A workaround for the solution (file)

Dealing with merge conflicts in the solution (.sln) file is a pain, and it seems I am not the only one annoyed by the cryptic format: [Discussion] Clean up sln (VisualStudio solution) files Nick Craver on Twitter Sadly Microsoft hasn’t done anything to improve the situation (yet), but people in the .NET community has played around with creating a new format for the solution file: JeffCyr/MSBuild.SolutionSdk ....

March 30, 2022

Mounting samba share on Ubuntu 20.04

I recently had to mount a samba share on Ubuntu 20.04 server on a Raspberry Pi 4, and found that piecing things together from examples was a bit of a pain Installing the required packages Installing the required packages is easy, as they are available in the default installed repositories in Ubuntu and most other Linux distributions sudo apt install smbclient cifs-utils Editing fstab To automatically mount the share on boot, the following line must be added to the end of /etc/fstab, with placeholders replaced:...

February 16, 2022

Containerized Home Assistant setup

I recently migrated my Home Assistant setup from running Home Assistant Operating System on a Hardkernel C2 , to running in containers on my NAS The process was reasonably straight-forward, but finding up-to-date documentation and examples online are always a challenge when the platform moves fast My Home Assistant needs are covered by just three services; home-assistant , deconz and node-red . I use deconz because I have a ConBee II as my ZigBee gateway...

January 30, 2022

WSL2 + podman

I had been having some issues with the docker-desktop service on Windows, where it wouldn’t autostart properly and would start into a broken state where nothing worked. These problems, together with the license change of the docker-desktop product and recommendations to give podman a try, led me to try podman instead. About podman podman is a container runtime like docker but designed with a different philosophy. The podman model doesn’t have a main daemon that always needs to run, nor does it require running the containers with root....

January 24, 2022

Pi Zero Plant Humidifier

I have some plants (philodendrons) that are a bit demanding about humidity, and I want to make sure they don’t dry out and have ample humidity to grow optimally. To solve this, I considered a number of solutions, including finding some ZigBee capable humidifier that I could control with Home Assistant. I didn’t find anything like that and even if such a product existed, it would probably be prohibitively expensive because it’s for a niche of niche....

January 21, 2022