Posts for: #Home

Pushing Data From Meshtastic to Home Assistant

I mentioned previously that I was playing around with Meshtastic stuff, but here’s more detail on the software side of those projects. I’ll show the hardware side and what Meshtastic does in a later post, but here I talk about three ways I’m getting information from my Meshtastic node into Home Assistant:

  1. Using the MQTT pub/sub protocol
  2. Polling a telemetry REST API on the node
  3. Using the Meshtastic python API to poll the node

All of these offer a different subset of the same info and none of them offer everything. Years of operating long lived systems has me really reluctant to modify more than I have to to get what I want – every customization is a maintenance task when you upgrade. For all of these I’ve avoided integrations that aren’t built-in and Add-Ons/Apps that aren’t bog standard.

[Read more]

Home Automation Part 2

Back in October I talked about my growing, local Home Assistant setup, including some of my favorite custom automations. Three months on I’m still having fun with it. Recent automations include:

I’m particularly happy with how that undercabinet lighting synchronization worked out. We have a galley kitchen and wall-switched undercabinet lights on both sides. We always use the ones on the south side with a conveniently located switch and seldom use the ones on the north side with the awkwardly placed switch. Now when we turn on one, the other turns on. That could have been done when it was wired 20 years ago, but now one Sonoff switch module in each switch, and it’s done over radio in a way no one has to think about.

[Read more]

Home Automation Part 1

I’ve been futzing with home automation projects for longer than I’ve had a home, but it sure has gotten easier lately. Twenty years ago I was cobbling together individual hardware sensor and actuator pairs for automations with no central coordinating system and no logging. Ten years ago I was buying third party automation sets where everything was controlled by a cloud service and everything worked well until that company lost interest in the product they’d sold you and then everything stopped working suddenly. Now there are great local control options, with open sensors, open acutators, open controller software, and great history keeping. I’m buying parts from many companies, but the continued working of my setup doesn’t require any of them being around next year.

[Read more]

Front Door Rehab

Kate and I like old homes even if they come with a lot of mechanical puzzles. One of my favorite features on our current 100+ year old home is its original oak and stained glass front door.

A hundred years of slamming and freezing weather had left the stained glass precariously loose with broken zinc came and gaps you could pass a pencil though. After a lot of hunting we found a local restoration company who did a great job fixing the window using all the original glass and new lead came.

[Read more]

Home Alarm Analytics With AWS Kinesis

Home security system projects are fun because everything about them screams "1980s legacy hardware design". Nowhere else in the modern tech landscape does one program by typing in a three digit memory address and then entering byte values on a numeric keypad. There's no enter-key -- you fill the memory address. There's no display -- just eight LEDs that will show you a byte at a time, and you hope it's the address you think it is. Arduinos and the like are great for hobby fun, but these are real working systems whose core configuration you enter byte by byte.

[Read more]

Raspberry Pi UPS

I'm starting to do more on a raspberry pi I've got in the house, and I wanted it to survive short power outages. I looked at buying an off the shelf Uninteruptable Power Supply (UPS), but it just struck me as silly that I'd be using my house's 120V AC to power to fill a 12V DC battery to be run through an inverter into 120V AC again to be run through a transformer into DC yet again. When the house is out of power that seemed like a lot of waste.

[Read more]

Crossed Lamps

Last weekend we bought two Rodd lamps at Ikea for the guest room, and it struck me how amused I'd be if each one switched the other. Six hours and a few new parts later, and it came out pretty well:

The remote action is especially jarring because the switches are right next to the bulbs they would normally control:

Ikea Rodd lamp head

I really lucked out with those lamps. The switches aren't integral to the bulb sockets as is often the case, and they're not even soldered. I was able to fit two extra wires through the lamp's main tube without going to a wire gauge that felt scarily thin -- LED bulbs helped there.

[Read more]

Home Carbonator

Last year I read about home carbonation, and looking at the amount of club soda Kate and I buy it made sense. The only unknown was where to put the ugly tank that would be out of sight yet still convenient to use.

Months later coworkers and I were at the Red Stag, which carbonates their own sparkling water, and talked about doing the same at the office. I still didn't act until a friend got a soda club machine as a gift.

[Read more]

Alarm System

My favorite book in the Wren Hollow Elementary school library was The Gadget Book by Harvey Weiss. I must have checked it out a hundred times during the second and third grade and tried to build most of the half-practical projects it detailed. The best among them was the burglar alarm. It used wooden blocks, a door hinge, and a strip of metal to make a simple normally-open contact switch. It was the first electrical work I ever did and almost certainly shaped my interests and career path.

[Read more]

Trash Can Snorkel

This one's dumb. We've got the same trash can that everyone who shops at Target has. The inner removable pail is handy for keeping spills from pouring out the foot pedal hole, but its air-tight nature creates quite the vacuum when you're trying to pull the bag out.

|http://www.target.com/gp/detail.html/sr=1-11/qid=1169524414/ref=sr_1_11/602-0868447-3796659?ie=UTF8&asin=B000JT7N7A|

After ripping the handles off yet another Glad bag trying to get it out of the pail I went to get a drill to poke an air hole in the bottom -- leak proof be damned. Next to the drill I saw a piece of 3/4" plastic tubing, which I ran from the top of the inner pail to the bottom.

[Read more]