|Node-RED Another Way To The IoT|
|Written by Harry Fairhead|
|Wednesday, 08 October 2014|
It seems every one is trying to get on top of the IoT with some software that will rule the world - more or less literally in this case. Now IBM has an open source tool based on node.js cleverly called Node-RED.
Node-RED, which is a featured project of the UK-based IBM Emerging Technology team, is a visual tool for wiring things together. While it specifically mentions the "Internet of Things" it seems to be more capable than this narrow target.
It allows you to connect together message passing nodes. Its visual editor, based on Orion, lets you drag and drop nodes onto the design surface and then join them together by dragging lines between them.
The system comes with a set of predefined nodes of various types that can be used to create standard flows, including nodes for connecting to social networks, real networks, and for storage. Of course, for anything really new you will probably have to add your own custom nodes.
There are also nodes for working with a small range of popular development boards: Arduino, BeagleBone Black and Raspberry Pi. To make a flow work on any of these devices you have to download and configure some software. After that you can control them using an output node and/or input node. For example, the Arduino output node can be used in digital, analog or servo mode. The corresponding input node works in digital or analog.
Support for the Raspberry Pi isn't quite as well packaged. There is a GPIO node, which is simple, or you can install WiringPi which can then be used from within a standard function node. This means you are going to be writing more code than for the Arduino, say.
A complete flow can be saved and loaded in the form of a JSON file and this can be used to exchange flows as well. The Node-RED website has an area where flows can be uploaded and shared.
Currently what is lacking is a range of nodes that let you connect easily and at a high level to systems such as Z Wave, X10 and so on. It isn't enough to provide nodes that give you low level access to the hardware. There isn't much point in creating a high level abstraction like a flow if you have to drop down to do bit-twiddling in custom nodes.
To be informed about new articles on I Programmer, install the I Programmer Toolbar, subscribe to the RSS feed, follow us on, Twitter, Facebook, Google+ or Linkedin, or sign up for our weekly newsletter.
or email your comment to: firstname.lastname@example.org
|Last Updated ( Thursday, 09 October 2014 )|