• Cart0
    Total 0.00 DKK
    Your shopping cart is empty!
Monday, 25 May 2020 16:23

An Node-RED example in detail

Written by
Rate this item
(0 votes)

The correct handling of Node-RED

Node-RED example

We would like to bring you closer to working with Node-RED here. Watch the video opposite or read the description on this page, in which we give an overview of the areas of the editor and explain the sample flow preinstalled on rule.box step by step.



What is needed:

What is explained:

  1. Orientation in the Node-RED Editor - the nodes
  2. Orientation in the Node-RED Editor - the work surface
  3. Orientation in the Node-RED Editor - the info column
  4. Creation of the sample flow

Node-RED with rule.box


1. Orientation in the Node-RED Editor - the nodes

  • You can access the Node-RED Editor via the corresponding link on the overview page of your rule.box.
  • In the left area of ​​the editor you will find a list of installed nodes, the so-called nodes. These are divided into categories according to their functions.
  • If you move the mouse over a node, you will see a brief description of the function of the node.

  • To use a knot, simply drag and drop it onto your workspace.
  • Double-click the nodes to configure them. The text in the "Name" field names and identifies the node on the work surface. Additional information that the node can send can be stored under "Topic".
  • Depending on the type of node, many other properties can be configured.

2. Orientation in the Node-RED Editor - the work surface

  • The working area is in the middle of the Node-RED editor, on which you create your flows.
  • New flows can be added using the plus symbol at the top right corner of the work area.
  • With the list symbol to the right you can see an overview of the available flows.

3. Orientation in the Node-RED Editor - the info column

  • The information column on the right shows you information about the elements you have selected, depending on the work step.
  • You will also find two more symbols in the information column.

  • The debug output can indicate possible errors or problems.
  • You will also find an overview of the layout of your dashboard. If you want to use visualization elements for your flow, you can specify here how and where your flow should be displayed in the dashboard.

4. Creation of the sample flow

  • A flow is already set up on the rule.box ex works, which uses a web thermometer to display the outside temperature at the W&T company building in Wuppertal on the dashboard.

  • For this, the nodes "Analog IN", "gauge", "chart" and "text" required for this application were first added to the work area and configured accordingly below.
  • The output of the "Analog IN" node was connected to the inputs of the "gauge" and "chart" nodes to enable the temperature to be correctly displayed on the dashboard.
  • With deploy , created flows are confirmed and implemented.
  • You can also access the dashboard from the overview page of your rule.box. The current temperature can now be read there.

Read 118 times Last modified on Wednesday, 27 May 2020 22:28
More in this category: « Temperatures in Slack

Leave a comment

Make sure you enter all the required information, indicated by an asterisk (*). HTML code is not allowed.