MC100
Mobile programmable gateway
MC Technologies GmbH, Kabelkamp 2, 30179 Hannover, Germany
Tel: +49511 67 69 99-0, Fax: +49511 67 69 99-150, Website & Shop: www.mc-technologies.net, Email: [email protected]
18
9.11 Node-RED Web Interface
Node-RED is a programming tool that allows hardware devices, APIs and online services to
be wired together. It is builds on Node.js, fully utilizing the advantages of its event-driven,
non-blocking model.
It offers a browser-based editor that enables to easily wire flows by using the wide range of
nodes in the palette.
If Node-RED is installed, you can reach the Node-RED web interface with the same IP
address as the standard web interface and the specification of the port (e.g. 1880)
Example with default address:
(Note: Using https:// will not work.)
Enable the Node-Red installed in MC100:
9.11.1
Click on "System" in the left menu and then on "Startup".
Search for Initscript: “node-red” and Click the "Enable/Disable" button.
Install extra modules:
9.11.2
To install modules for Node-RED:
1. Open Node-RED web interface.
2. On the left upper corner, click on the 3 dash button.
3.
Click on “Manage Palette”.
4.
In the “Manage Palette” interface, Click on install.
5.
Type the modules name in “Search modules”.
Add a node
9.11.3
Select the node you want to add from the nodes list (i.e. Inject node, allow injecting
messages into a flow). Drag it into the workspace.