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.

 

 

Latest News

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!

Node-RED online simulator for eMOD & eManager now available

07 Jul 2021

eManager is an IoT controller designed with eMOD technology for monitoring, control and automation applications. Node-RED is fully integrated on eManager’s product range, including customized nodes. Today we present an online Node-RED simulator as the best tool to program and test our industrial modular solution without needing hardware.

PLC vs Raspberry Pi vs eManager, the best device for industrial IoT projects

17 Jun 2021

Industrial monitoring and control world has always been associated with PLC concept. Until recently, programmable logic controllers were always the first option to digitalize a factory, but this paradigm has just changed. Devices like eManager or Raspberry Pi provide a solid alternative, or even a complement, to make the leap into Industry 4.0.

Main nodes for monitoring and industrial automation in Node-RED

13 May 2021

The Node-RED’s community is more alive than ever, and proof of that are the increasing numbers of available nodes and the number of manufacturing companies that opt for the integration of this software tool. This article will explore the main nodes to develop applications for the industrial automation and monitoring in Node-RED.

New eManager modules integrated with Node-RED; 5 Digital inputs + 2 Relays & Supercap (Battery)

02 Mar 2021

As we announced in previous blog entries, we are performing a full integration between eManager and Node-RED software, creating customized nodes for each of our expansion modules. Today we present two new modules which are already integrated in Node-RED: the module of 5 Digital inputs and 2 Power relays and the Supercap (battery) module.

Using Edge computing and Node-RED to implement IoT in your company

08 Feb 2021

It is relatively easy to put together an IoT proof of concept (PoC) that sends device data to the cloud, but the challenges get more complex when deploying enterprise-grade IoT at scale. These challenges include integration with factory and enterprise systems, data securitization and doing all of this without incrementing the project budget. Check how Node-RED and Edge computing can help on IoT company projects.

Discover the new eManager Pro with relays, digital and analog inputs

25 Jan 2021

eMOD’s solution welcomes a new model prepared to any kind of installation, the eManager Pro GPRS ACTIO 1072. It is an allrounder eManager Pro, with 10 digital inputs, 7 analog inputs and 2 relays. A device fully integrated with Node-RED to ease the integration with any IoT application.

IoT trends for 2021

22 Dec 2020

During the last years, Internet of Things has experienced a significant growth and 2020 has been its most successful year. The coronavirus crisis has raised the market regarding the remote control and monitoring needs for facilities, establishments and factories. In 2021, the sector will undergo a new evolution to achieve these new challenges caused by this new scenario.

The best IoT applications for LoRa™ Technology

04 Nov 2020

Nowadays, nobody will call into question that LoRa™ is a fundamental technology in the IoT world. It can be used on a great many different applications where long-distance device communication and cabling cost reduction are required in an efficient way. Even so, there are five applications where LoRa™ is truly beneficial at the level of both performance and costs reduction.

eManager and Node-RED cross paths with customized nodes

19 Oct 2020

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. We have gone one step further on the integration of eManager and Node-RED creating customized nodes for each of our expansion modules.

Contact

  • info@pickdata.net
  •   +34 935 117 505
  •   C/ Innovació, 3 – Polígono Industrial Can Mitjans -

08232 Viladecavalls (Barcelona)

Copyright © 2021 PickData

                   Privacy policy

                  Cookies policy

                         Newsletter