Lorem ipsum dolor amet consectetur adipielit sed eiusm tempor incididunt ut labore dolore.
Node-RED is an open source visual tool for wiring physical and digital world hence an ideal tool for developing IoT projects. IoT projects are most often quite complex since they need to combine different devices, APIs and one or many other services for the integrated solution. The idea behind Node-RED is to create and manipulate different streams of events from the both physical and/or digital world even if you are not a programmer. For more complex projects and specific requirements Node-RED does require some coding knowledge but even for these situations it greatly simplifies the whole process.
Node-RED started as a side project from a guy named Nicholas O’Leary but eventually managed to get approval and support from IBM while still remained open source. The solution is used to interconnect physical things, cloud systems, databases and most APIs in all sort of ways and it is very popular nowadays.
Since Node-RED is before anything a flow based tool, for more information about flow control programming, you can find some more information here.
Node-RED can be run on a local computer and it supports docker. However, it can be run on small devices like Raspberry pi (Node-RED comes reinstalled on the Raspbian OS), Beaglebone Black, Android devices, and it can also interact with Arduino. It can be run in the cloud as well since it supports IBM Bluemix of course :), but also Amazon AWS, Microsoft Azure and more.
Node-RED is browser based flow editor which is based upon nodes that are interconnected. There are actually more than 225.000 modules, however if you need something custom you can always make your own module in JavaScript.
There are many companies in the IoT world using and supporting Node-RED. One of these is Multitech, a hardware IoT company that uses Node-RED as an environment for configuring the devices. Many companies sell it as a service, the famous being definitely AT&T, an American telco. There are other companies using it, like Opto22 in the IIOT field etc.
The Node-RED screen is quite simple to use and it is divided into three parts: on the left there are nodes to be used, the central part is used for drawing and configuring the flows and on the right side there is the info and debug part.
Nodes can be of input and output types. One of the key core nodes to start with is the inject node, but in flow base programming something has to inject the message into the flow and this inject node to start the process. Another core node is debug node where output of you flow can be seen and than there is also comment node which is used to comment and document your flow. One of the most powerful nodes is function nodes since it uses JavaScript to do pretty much anything you like but it requires programming knowledge.
Node-RED supports adding packages (many packages are community provided) which are like plugins that allow using other services like MySQL database, MSSQL database etc.
The flows and nodes are easy to drag ‘n drop, cut, copy and paste. The biggest advantage is the fact that these nodes are self-contained and reusable later.
Also, the flows can be easily exported and imported. Nodes, group of nodes and templates can be saved or revoked from the library. Node-RED uses subflows which are sort of templates that can be reused on any location in the flow.
The flows are stored using JSON. JSON is actually not a programming language but a structured format for sending and receiving information so that any programming language be that Java script, Pyton or maybe C# can use it. Some other well known formats are XML and CSV.
Node-RED is open source and it is supported by a growing community. It has a very good getting started guide, user guide, cook book and API reference.
Here I will link you to a very good and free introduction course about Node-RED features. The main site can be found here.
This blog is focused on simplifying and promoting the complex but also very interesting world of IoT, 5G, networking and digitalization.
Blog’s aim is to give short, interesting and useful information and content to business people and everyone interested in IoT/5G business development, entrepreneurship and practical use cases.
The blog presents concepts and analyses, use cases, product comparisons, news roundups, interviews, educational videos, tutorials, reports and whitepapers.
If you need a machine and don’t buy it, then you will ultimately find that you have paid for it and don’t have it.
Time isn't a commodity, something you pass around like a cake. Time is the substance of life. When anyone asks you to give your time, they're really asking for a chunk of your life.
To attain knowledge, add things every day. To attain wisdom, subtract things every day.