Node-RED provides a browser-based editor that makes it easy to wire together flows that can be deployed to the runtime in a single click.
The version running here has been customized for the IBM Watson IoT Platform.
We strongly suggest you secure your Node-RED flow editor with a username and password, as otherwise anyone who can guess the URL of this application will be able to launch the flow editor and access your IoT device data.
To do this, follow the instructions that you find here.
Use Node-RED to build an application using the data from any device that you have connected to the IBM Watson IoT Platform.
The sample has a ready-made flow that processes temperature readings from a simulated device. The flow checks these readings against a threshold, then tells you whether the temperature is safe. Imagine that we're monitoring a CPU temperature from a real device.
To work through the sample application, follow the IBM Watson IoT Platform starter application documentation.
To view the complete list of IBM Watson IoT Platform recipes go to the IBM IoT developerWorks site.
If your device is connected you can visualize your data on the IBM Watson IoT Platform QuickStart.
This template instance of Node-RED is enough to get you started creating flows.
You may want to customise it for your needs, for example replacing this introduction page with your own, adding http authentication to the flow editor or adding new nodes to the palette.
To start customising your instance of Node-RED, you can either download the application locally or use IBM DevOps Services to edit and deploy your changes.
By default, the editor is open for anyone to access and modify flows. To password-protect the editor:
NODE_RED_USERNAME- the username to secure the editor with
NODE_RED_PASSWORD- the password to secure the editor with
package.jsonand add the required node package to the
dependenciessection. The format is:
x.x.xis the desired version number.
bluemix-settings.js, delete the