This tutorial shows how to build a simple chart on the cloud with a simple node that sends values to the cloud.

Here how the result looks like:

For this tutorial, we use the IoT Bluemix cloud from IBM and a node also provided by IBM to send datas.

IBM offers a GREAT idea named “QuickStart” where you can get a result without all the pain of registering the service. First give a seamless result to the customer, then if he wants more you can ask him to invest some time (or money). Great lesson a lot of cloud service providers should ear.

Install the nodes

Click the right menu in the Node-RED web page. Choose Import then node.

Type

node-red-contrib-ibm-watson-iot

in the edit box and click the OK button.

This imports a third party software. The installation may take minutes (a progress bar shows the progress), depending on what is already installed on your device.

At the end, click the reboot button to restart the device.

Now you can find this node in the palette (use the filter to find it):

Drag’n drop it on the workspace, and double click it to set parameters:

You can click the button below to get the cloud bluemix chart:

all these technical datas should normally not appear in a quickstart node that provide a seamless user experience.

Send data and build a chart

Now you can send any numeric value. Let’s build the simpliest flow: add an “inject” node and set it to send the current date as a number every one second:

And look the beautiful result:

Beyond this Quickstart mode, IBM offers a full featured cloud for IoT.

Credits

This tutorial uses IBM IoT Bluemix: http://discover-iot.eu-gb.mybluemix.net

Where to go now

Back to top