Home > News > Node-RED, the visual programming tool for Internet of Things
11 May 2020

 

From the beginning of programming, one of the industry’s main challenges has been to facilitate the applications development to simplify the integration between the hardware devices, the software and us, the humans. Thanks to Node-RED we are much closer of this goal. Programming, without programming.

What is Node-RED and what is it for?

Node-RED is an open-source development tool based on visual programming that was created by IBM to connect hardware devices, APIs and online services.

Node-RED is a solid tool, easy to learn, and it does not require any programming knowledge. It has been consolidated as one of the main applications for real-time data management and transformation for IoT and Industry 4.0 solutions.

Node-RED allows to graphically connect predefined blocks, called nodes, to develop a concrete task. The nodes connection, usually a combination of input nodes, processing nodes and output nodes, when wired together, make up a flow.

Among all the available nodes we can find standard protocols as MQTT, REST, Modbus, OPC-UA, Bacnet, Websocket; and third party API integrations as Microsoft Azure, Amazon Web Services, Twitter, Facebook and many more.

 

Node-RED MQTT Modbus Flow Example

 

Where can I install Node-RED?

Node-RED is built on Node.js, taking full advantage of its power and assuring scalability, liability and low hardware requirements. These features allow to run Node-RED in personal computers, cloud servers and low-cost embedded hardware.

If you want to take your first steps in Node-RED you just need to click here to access to all the documentation. Follow step by step how to install the tool on your computer, your cloud services regular provider or your embedded device eManager.

 

Nodes library

The nature of the tool, being open source, and the facility to develop new nodes, come together into a nodes library which grows each day with new community contributions.

Nowadays we can find more than 2500 available nodes in the Node-RED official library, including Smart Home integrations, converters between IoT protocols, geolocation functions, OAuth2 authentication and many more.

 

Hello world in Node-RED

To conclude this article there is no better way than taking your first steps on Node-RED generating the classic Hello world. Below, we show step by step the process to achieve it:

Message creation with Inject node

  1. If you are running Node-RED on your computer, you can access http://127.0.0.1:1880 or whatever address or hostname you’re using
  2. If it is our first time in Node-RED, we will see a flow named Flow 1
  3. On the node palette on the left side of the Node-RED, we will select the Inject node and will drag it onto our flow
  4. In order to edit the node we will double click on it. After that, we will select string on the Payload field and we will write Hello world!
  5. Once we finish the previous steps, we click Done
Node-RED Hello world

Printing our message

  1. In order to add a destination for our message we will select the Debug node. We will click and drag it onto our flow. It’s very important to place it on the right-hand side of the Inject node
  2. To connect both nodes we just need to click the Inject node's output and drag it to the Debug node's input. A wire that links both nodes will be created
  3. Debug node will automatically print the message to the console window as we will see in the next step
Node-RED Hello world

Deployment

  1. In order to start our application you must click on Deploy button
  2. Now click the Debug tab in the right-hand side of the editor window
  3. Finally, to launch our message you will click on the blue button coming out from the left-hand side of the Inject node
  4. “Hello world” will appear on the Debug screen. Welcome to Node-RED!
Node-RED Hello world

 

As PickData, we firmly believe in solutions like Node-RED, because those allow you to focus on what really matters, bring our added value to the solutions and skip losing time between ins and outs of the usual programming.

If you are interested in learning more about topics related to Internet of Things, Big Data, Industry 4.0 and Analytics, do not hesitate to continue reading our publications in the News section.

 

Documentation and other information

    How to start

    Node-RED nodes library

    Hello world

    eManager, the industrial IoT controller with Node-RED integrated

 


Also, don’t forget to follow us on Twitter , Linkedin  and other social networks to be permanently updated.

 

PickData Circutor IoT Tariff
 
PickData Download eManager IoT Controller Catalogue Portfolio
 

Latest News

Docker, OpenSSL, OpenVPN and other applications available in the eManager industrial software suite

29 Mar 2023

The software suite of the eManager solution continues to grow with the goal of making it as easy as possible for our customers to develop applications and projects. As important as providing industrial and reliable hardware, is accompanying it with the best software tools to create a comfortable and streamlined programming environment.

PickData SL is the new IoT & Software Business Unit of Circutor SAU

15 Feb 2023

We are pleased to inform you that on 1 January 2023, the company PickData SL was integrated into Circutor SAU as the new IoT & Software Business Unit.

PickData will be at IoT Solutions World Congress 2023

27 Jan 2023

PickData will attend to IoT Solutions World Congress 2023, one of the biggest events in Internet of Things, Blockchain AI & Big Data, Cloud and Cybersecurity in Europe, taking place from January 31 to February 2 in Barcelona. This year you will find us at Stand 341 of Hall 4, organized by Generalitat de Catalunya and ACCIÓ.

Best industrial IoT software for data collection, visualization and storage available in eManager

30 May 2022

eManager’s solution has born to become a reference industrial IoT controller for software professionals. The best partner for developers searching a versatile multiprotocol hardware where they can implement their projects in a comfortable and agile way. Today we present the Top 8 software for data collection, visualization and DB storage available in the eManager’s repository.

PickData will be at IoT Solutions World Congress 2022

05 May 2022

PickData will attend to IoT Solutions World Congress 2022, one of the biggest events in Internet of Things, Blockchain AI & Big Data, Cloud and Cybersecurity in Europe, taking place from May 10th to 12th in Barcelona. This year you will find us at Booth 8 Stand 321 of Hall 4, organized by Generalitat de Catalunya and ACCIÓ.

New eManager suite including Node-RED 2.1.4, Yocto Dunfell, UPnP protocol and more

14 Mar 2022

eManager’s product range updates its software suite to the newest version of Node-RED and Yocto Dunfell to keep offering the maximum performance and the best tools to easy develop industrial IoT applications. Below we detail the main software innovations for PickData’s controllers and gateways product range.

New toolkit to create SCADA synoptic UI lands on PickData EVO

25 Jan 2022

Each project and customer have specific needs to visualize and analyze data in a comfortable, intuitive and useful way. At PickData we have developed a new display format focused on tailored projects where instant data refresh and remote control are key features of the application. The SCADA synoptic has arrived to PickData EVO with multiple features detailed inside.

Energy metering joins control and automation with eManager

24 Nov 2021

Three-phase energy metering joins eManager to extend the features of the best markets modular solution, combining energy management with automation and industrial control. From now on you can add electric consumption monitoring to the data capturing and computing point.

PickData will be at IoT Tech Expo Amsterdam 2021

28 Oct 2021

PickData will attend to IoT Tech Expo 2021, one of the biggest events in Internet of Things, Blockchain AI & Big Data, Cloud and Cybersecurity in Europe, taking place from November 23rd to 24th in Amsterdam. This year you will find us at Stand 524 of Main Hall.

August schedule and summer holidays

13 Jul 2021

In August, our business hours will be from 8.00 to 16.00 CET. PickData’s offices, factory and warehouse will remain closed for summer holidays from August 16th to 22th. Remember to send your orders no later than July 23th for guaranteed pre-holiday delivery. We thank you for your understanding and wish you happy holidays!

Contact

Viladecavalls (Barcelona) Spain