====== 5 Node-RED ======
This section describes how the SDCI data can be processed in Node-RED and vice versa. The Pinebox’s web interface creates data to import nodes into Node-RED specific to the connected device based on the IODD file.
There are many introduction tutorials available for Node-RED. We recommend you to get familiar with the principles e.g., by starting with the official Node-RED documentation: __[[https://nodered.org/docs/tutorials/]]__\\
{{:pinebox:manual:5-0_1_node-red-tutorial.png?direct&400|}}
===== Node-RED Workspace =====
The Node-RED Flows workspace can be accessed over the menu in the Pinebox web interface:
|{{:pinebox:manual:5-0_2_webpage-flows.png?direct&200|}}|
Alternatively, the Flows workspace is available over port :1880 (with IP-address or hostname). If you perform changes in the Node-RED Flows, you need to perform a “Deploy” action to submit the changes:
|{{:pinebox:manual:5-0_2-1_deploy.png?direct&150|}}|
===== Node-RED Dashboards =====
The Node-RED dashboards can be accessed over the menu Pinebox web interface:
|{{:pinebox:manual:5-0_3_webpage-dashboards.png?direct&200|}}|
Alternatively, the Flows workspace is available over port :1880/ui (with IP-address or hostname).
Please note that on deploy, the current view is being reset to the first tab.
==== Default dashboards ====
There are several tabs in the dashboard. Per default, the first two tabs are the “Node-RED System Info” with current CPU load and CPU load history to determine if the Pinebox is overloaded.
CPU core 3 and core 4 are for SDCI functionality and cannot be utilized for user application.
{{:pinebox:manual:5-0_4_default-dashboard.png?direct&300|}}
The second tab is “the port control “Power/Status” to control the port power and receive the status from Node-RED. If not needed, the firt two tabs can be deleted. They will be re-created on factory reset.