Tag Archives: open source

Repurposing APIs

A really interesting thing happens if you have a reasonably long standing, stable, and documented API in the wild for a while. Other people start building their own implementations to serve different needs. My current favorite example of this is the emulated_hue code in Home Assistant.

Philips Hue has been one of the most consumer ux friendly IoT platforms out there. They have an extremely robust and documented API. And they provide cloud level access to some of the larger vendors, which has made integrations with other platforms pretty extensive. It was one of the first IoT platforms that voice assistants like Amazon’s Alexa could talk to and control.

Which makes it an ideal platform to build your own copy of. Because, if Alexa can talk to it on the local network, you can tell Alexa that anything is a lightbulb, and get basic on / off / dimming controls of that. Which is exactly what was done in Home Assistant. Switches, lights, and even media players are exported as fake lightbulbs with names that voice assistants can address. And now, they can control parts of your house they weren’t originally designed to support.

This was originally written by my friend Bruce, this is now part of the Home Assistant base, and being extended to Google Home as we speak. It goes to show was stability and documentation do for making an API become embedded way more places than you imagined.

Open Source Tractor

NPR did a piece this morning on the Open Source Ecology project:

Jakubowski moved to Missouri, where he eventually bought 30 acres in the town of Maysville. He grew wheat, raised goats and tended a fruit orchard. But then one day, his tractor broke.

“I came from an institution of higher learning, so I had no practical skills,” he says. “I picked up a welder and a torch and started using it.”

Jakubowski actually made a tractor from scratch, using square steel tubing that he bolted together.

“A tractor is basically a solid box with wheels, each with a hydraulic motor,” he says. “So, conceptually, it’s actually very simple. And when I first did it, it was like, ‘Wow, a tractor’ … I was amazed to find this actually works.”

It’s a pretty amazing effort to identify the 50 most critical machines to modern existence, and create open source versions of them that can be built from raw materials.

Stupid Mutt Tricks

Key bindings for the Mutt email project that I should have known a long time ago, but only recently figured out:

  • D – delete messages matching some term
  • T – tag messages matching some term

These make it a lot easier to purge out all the mass email bits that very quickly become noise when trying to catch up on 2.5 weeks worth of email.