AWS IoT to Node-RED

Duong Dinh Cuong (on Github as cuongquay) has contributed a node for Node-RED that encapsulates the AWS IoT service and allows straightforward communication between the two systems over MQTT. The node, node-red-contrib-aws-iot-hub, includes support for the message-passing part of AWS IoT using MQTT, allowing you to open a channel to the IoT service and publish or subscribe to message topics. The result is easy integration between the two systems. As a part of this process, the node includes support for AWS certificates that have to be installed “just so” to allow AWS to trust Node-RED. »

full stack plane spotting and data analysis

The task at hand is simple. Whenever a particular airplane is visible overhead, send out a tweet with that notice. Don’t repeat yourself with this announcement more than twice an hour, but try not to have too much lag in reporting. The full stack of hardware and software to do this is not particularly complicated to use once you get it all running, but there are a series of issues and observations along the way that add to the complexity. »

Coworking notes at Elixir Vitae

A productive afternoon with Mohan Kartha in which I opened a great many tabs in Chrome. This bit of writing to close those out. Elixir Vitae is a great spot for writing - lots of quiet noise from the coolers to keep a background hum, and close to the bus station. I’m sorting out the simplest task that I’d like to do with Node-RED, now that I have a Raspberry Pi 2 running it under Docker in a configuration that’s reliable enough that it seems like it’s stable. »

Bringing up Node-RED and mosquitto under "docker compose" on a Raspberry Pi

Progress, actually quite a lot of it: The problem, neatly stated. Docker is good for bringing up single services ("microservices"), but sometimes your application needs more than one thing running for the whole thing to work. Enter "docker compose", formerly "fig", which automates the process of running various Docker commands in the right order with the right arguments all driven from a configuration file. As described by their documentation: Compose is a tool for defining and running complex applications with Docker. »

Running Node-RED on a Raspberry Pi with Docker and Hypriot

My goal for the week was to empty out my inbox sufficiently that I would be able to make progress on some programming tasks that are hard to do when there's distractions. The inbox got all the way down to zero, and that meant that there was a chunk of evening time suitable for hacking. Happy to report that the result of this is Node-RED running on a Raspberry Pi under Docker on top of Hypriot. »

Just how cold is that window? Winter monitoring with the TI Sensortag, Node-RED, and Freeboard

Our living room has lovely (old) wooden windows. When it's cold, the windows get cold. Last year we got some lovely thermal curtains to insulate. I thought I'd use some of the equipment I had to see just how cold the windows were and how much warmer the curtains are to the touch. The setup: Macbook Air running OS X 10.9 (Mavericks), Node-RED 0.9.1, Freeboard, TI Sensortag. I'm using RabbitMQ as my MQTT message passing system, but that's not strictly necessary for this application. »

that new computer smell

I won't be complaining about a small keyboard or a small screen for a while, but I have a lot of tools to reinstall on a new system. In order of appearance: Chrome, first thing. I like Safari enough in a pinch, but when it comes time to sync up my working environment, Chrome is what I need. A bonus on this system is that there's a working full-screen mode. »

The internet of power outages

The single most popular page on this web site is the power outage tracking map collection page. It has static copies of samples of power outage maps from utilities around the country, and it gets bunches of hits every single time there's bad weather - to the extent that I can pretty much tell where there's bad weather by the outbound clicks on the page. The page, however, is not fed with live data; it only has static instances of previous maps. »