I made a thing: gpio-to-mqtt

I’ve wanted to formalize this project for a while and just recently got some free time to do so. gpio-to-mqtt is a Go application that monitors state changes to GPIO pins on a Raspberry Pi and relays those changes as JSON messages to an MQTT broker. That’s a mouthful. Hear me out though. Say you have an old alarm system in your house that you aren’t using. You have the little magnetic reed switches on your windows and maybe some door jamb switches that all run back to a central security system box somewhere in a laundry room, garage, basement, or wherever. »

I made a thing: Goboom, a Go port of Boom

The other day, while playing around with some Alfred workflows, I had the need to store small bits of data between workflows in a key/value fashion. In the past, I’ve used either environment variables to do so or something like boom by Zach Holman. I don’t really like defining tons of environment variables for stuff like this, so boom was a natural fit. After creating the workflow and adding boom to it, I ran into some issues related to running Ruby via an embedded Alfred script. »

Author image James Miller on #Go,

Connecting Go to the IFTTT Maker Channel

The other day, I noticed that IFTTT has added a new channel called the IFTTT Maker Channel. The premise being that you can send a POST or GET request to IFTTT to trigger a recipe. This opens up IFTTT quite a lot if you want to do some really custom work without trying to shoehorn a combination of workflows into producing some desired result. A few days later I also noticed they released a Spotify Channel, something else I’d been hoping for. »