It’s been a while since I’ve posted anything new about my experiences with home automation, largely because I haven’t done anything new in a few months. I’ve been busy, and at the same time, things are working as expected, so I haven’t come up with new ideas to test or dreamt up something else to automate (much to my husband’s relief).
That said, I’ve been thinking about replacing our hacked Amazon Dash buttons with something purpose-built. While the hijacked buttons work well-enough, there’s a noticeable delay between button press and response, and their battery life is quite finite. Also, there’s only so much one can do with vinyl tape to make the Dash buttons less of an eyesore.
Enter Flic, one of the only “smart buttons” available right now, and the only one I’ve found that doesn’t require its own hub. Fortunately, they offer a Linux SDK, so I can associate the buttons with one of my Raspberry Pis, rather than a smartphone (alleviating a common complaint about the product). Since the SDK requires exclusive use of a device’s Bluetooth controller, I benefit from having two Pis, and this project is simplified because the Pi I intended to use with the Flic happens to be the one whose Bluetooth isn’t in use.
My first project is to configure the Flic button to toggle the lights on our Christmas Tree. The lights are connected to a SmartThings outlet, which turns up in our Home Assistant instance thanks to MQTT, but Home Assistant is only accessible to my husband and I, while any of our guests should be able to turn on the tree. 🎄
Being away from home makes me appreciate how accustom I’ve become to my home automations…
At the beginning of the year, I wrote about using
nsd3 to run my own nameservers: “Authoritative DNS with redundancy, using
nsd and Debian Wheezy“. That post focused on the public-facing benefits of running my own nameservers, notably the flexibility it gives me with regard to record types and update frequency.
As I’ve added more and more services to the Raspberry Pis running on our home network, the flexibility I have has demonstrated another benefit: assigning a domain name to the network’s ever-changing IP address. Time Warner doesn’t offer static IPs for consumer accounts, which presents a challenge to using our router’s native VPN functionality. To make it convenient to connect to our home network from afar, I’ve employed an open-source script and a custom DNS zone to provide dynamic DNS via my own servers.
Continue reading With your own authoritative DNS, dynamic DNS is easy
For quite some time, I avoided acquiring any Rasbperry Pis. I already have four VPS, and I genuinely wanted to avoid expanding the number of Linux instances I was responsible for. My hesitation was for good reason; less than a month after acquiring my first Pi 3, I found a reason to add a second to our home network.
To be clear, I’ve nothing against the Raspberry Pi; I simply knew that my addictive personality would compel me to find ever-more uses for the devices, compelling their multiplication.
Continue reading Give me a Raspberry Pi and I’ll want 12
As is the case with many things I post, this is mostly a reminder to myself of the math behind
x = 1 (execute)
w = 2 (write)
r = 4 (read)
In the month since I first posted about how I am using Home Assistant, I’ve made a number of improvements to my configuration. These changes were mostly focused around usability–removing clutter from the interface and simplifying the layout–without losing any functionality. Two changes in particular really simplified the default view, making our light groupings more manageable and less overwhelming.
Continue reading My latest Home Assistant configuration
At the time, someone asked why my post in response to the Orlando nightclub shooting didn’t support comments or WordPress.com likes. The answer is simple, sad, and a bit insidious: given the subject, I was concerned about the response, and any undue attention that those interactions might draw.
I installed a GE switch that supports Zigbee, so the painful florescent light in our kitchen doesn’t glare at me any longer without recourse.
I’m absurdly happy about being able to control a built-in light from Home Assistant.
I’ve also learned that GE’s Zigbee line is far more reliable than Leviton’s Z-Wave products.
There are several reasons why a robust, reliable home network are important to my husband and me. First, we both work from home. Second, the vast majority of our entertainment is streamed. Lastly, the mobile phone reception in our apartment complex is poor. In many ways, our connection to the internet is our only connection to our lives and livelihoods.
We’re fortunate, as far as networking is concerned, to have all of our connected devices concentrated in two areas of two adjacent rooms. As a result, only one long cable run was needed to wire all but our mobile phones to the network. We’re also lucky enough to live in part of Time Warner Cable’s territory that offers 300mpbs service, providing further incentive for a strong home network.
Continue reading A bit of fun with home networking
As promised, I’m open-sourcing my Home Assistant configuration files. I benefitted greatly from the samples Home Assistant links to at https://home-assistant.io/cookbook/, and hope that by sharing these, others can similarly benefit.
Continue reading My Home Assistant configurations