Node-RED Information
Links to Documentation
-
Node-RED Official Page: https://nodered.org/
-
Node-RED Official Documentation: https://nodered.org/docs/
-
Node-RED Git: https://github.com/node-red/node-red
-
Support Documentation to understand the tool: http://noderedguide.com/
Introduction
- Video that explains Node-RED: https://www.youtube.com/watch?v=vYreeoCoQPI
Intallation and running
How to install Node-RED
Before installing Node-RED in a Linux or Windows Machine, you must have a working installation of Node.js. It is recommend the use of Node.js LTS 8.x.
Installation command:
- Linux:
$ sudo npm install -g --unsafe-perm node-red - Windows:
npm install -g --unsafe-perm node-red
More Information about the installation:
Linux: https://nodered.org/docs/getting-started/installation
Windows: https://nodered.org/docs/platforms/windows
Other Alternatives:
Deploy Node-red using a Docker Container: https://nodered.org/docs/platforms/docker
We strongly suggest to use Linux for testing and Docker
Running Node-RED
If you have installed Node-RED as a global npm package, you can use the node-red command:
$ node-red
You can then access the Node-RED editor by pointing your browser at http://localhost:1880.
More Information: https://nodered.org/docs/getting-started/running
Usage of Flows
Examples of creation of flows:
https://nodered.org/docs/getting-started/first-flow https://nodered.org/docs/getting-started/second-flow
Adding more nodes
Node-RED comes with a core set of useful nodes, but there are a growing number of additional nodes available for install from both the Node-RED project as well as the wider community.
https://nodered.org/docs/getting-started/adding-nodes
INTER-IOT Example
Using the INTER-IOT example node
Install the node available in the folder "node-red-contrib-position-simu". For that, download this repository and enter the following command from the root of this repository:
npm install -g node-red-contrib-position-simu
You can find a flow to use as example of the use of this node in the file "flowexample.txt"
Official information about create new nodes
You can use the code of the "node-red-contrib-position-simu" node as example to develop a new set of nodes. But there are different ways to create nodes. The official documentation provided by Node-RED is the following link: https://nodered.org/docs/creating-nodes/
Interesting topics
-
Local installation: https://nodered.org/docs/getting-started/installation
-
Running under Docker: https://nodered.org/docs/platforms/docker
-
Documentation: https://nodered.org/docs/
-
Available nodes: https://flows.nodered.org/
-
Creating nodes: https://nodered.org/docs/creating-nodes/
I want to test NODE-RED but I don't want to test it locally, where can I test Node-red in the cloud without install?
Examples of cloud instances based in node-red. They do not allow all the functionality of a local node-RED installation, although they have some own nodes. * Pagenodes: https://pagenodes.com/# (without login)
- FRED: https://fred.sensetecnic.com (need registration)
Initial example
Example of an available node, developed by the partners of Inter-IOT: https://www.npmjs.com/package/@interiot/node-red-contrib-fiware-sth
Is a good example of how to develop a node.
More information:
-
Dashboard Node: https://github.com/node-red/node-red-dashboard
-
Guide: http://noderedguide.com/
-
Examples: https://github.com/watson-developer-cloud/node-red-labs
Examples of use of Node-red in IoT Platforms:
-
Vital and Node-Red: http://cordis.europa.eu/docs/projects/cnect/2/608682/080/deliverables/001-VITALD521300715DraftAres20153591765.pdf
-
Sofia2 and Node-Red: https://github.com/Sofia2/meetups/blob/master/Taller-IoT-NodeRED/Taller%20IoT.%20Desarrollo%20visual%20en%20Sofia2%20con%20Raspberry%20Node-RED%20y%20dashboards%2028-3-2017.pdf
-
Sofia2 and Node-Red:(In spanish) https://about.sofia2.com/2016/12/05/remote-deployment-of-node-red-flows-with-sofia2/
-
Example of creation sofia2 nodes (with confiugration node). https://github.com/Sofia2/sofia2-nodered FRED http://sensetecnic.com/how-fred-cloud-node-red-works/
-
Pagenodes: https://pagenodes.com/# https://github.com/monteslu/pagenodes
-
Reasons to use Node-RED https://developer.ibm.com/blogs/2017/08/30/top-5-reasons-to-use-node-red-right-now/