Spectra GmbH & Co. KG
vertrieb@spectra.de
User Manual
Spectra PowerBox 100-IoT
Version 1.1
November 2017
8.1 Node-Red Programming
Node-Red enables developers to connect different function modules (“nodes”) to form
complex circuit diagrams (“flows”). While device and data connection can be visually
designed via the Node-Red editor, the process logics must be individually programmed in
most of the cases due to the diversity of data structures.
The user manual of the Spectra PowerBox 100-IoT can only cover the technical operation of
Node-Red, also for reasons of topicality. Since Node-Red is continuously developing, the
online documentation should be the first source for details on Node-Red nodes and flow
programming. The updated versions of the documentation are provided at http://nodered.org.
Here you can also obtain a vast collection of nodes as well as exemplary flows.
8.2 Node-Red Debugging & Process Handling
Under certain conditions it might be necessary to manually reboot the Node-Red process or
to track the runtime log.
The Node-Red process is started and monitored by the PM2 Process Manager. If the Node-
Red process crashes, PM2 automatically triggers the Node-Red reboot, and the instance will
be available within seconds. Therefore it makes sense to run all process actions via PM2.
93