Introduction to Node-RED

Node-RED is a programming tool for wiring together hardware devices, in E2D we use this tool to create logic for lighting control. Logic is made in a browser-based editor using a graphical language with system blocks called nodes. To create a working program, you need to choose and link the nodes and after deploying in a single click the devices are programed together.

How to get to the Node-RED editor?

  1. Select Logic in the E2D UI.

2. In the Node-RED login panel, log in using the admin username and password.

Default credentials are:

  • username: admin

  • password: admin1234

 

3. You see now the main screen of the Node-RED.

Node-RED user interface description

 

  1. Workspace - the main area where flows are developed by dragging nodes from the palette and wiring them together.

  2. Node - the basic building block of a flow.

  3. Palette – browse through nodes that are available to use in flows

  4. Flows – a way to organise your work into smaller sections, each flow is represented as a tab within the editor workspace and is the main way to organise nodes.

  5. Sidebar - it contains panels that provide a number of useful tools within the editor (info, debug, dashboard).

  6. Deploy button – use to save your programs and send them to the application controller.

If you want more general information go to: https://nodered.org/docs/user-guide/concepts

Â