2022.1

Table Of Contents
OL Connect automation with Node-RED
Node-RED is a programming tool for wiring together hardware devices, APIs and online
services. It was originally developed by IBM as an open source project and evolved into a
general purpose IoT/IIoT (Internet of Things/Industrial Internet of Things) programming tool. It
provides a browser-based editor that makes it easy to wire together flows using the wide range
of nodes in the palette.
Objectif Lune has added its own set of nodes to this palette: OL Connect nodes. These nodes
allow Node-RED to communicate with the OL Connect server and access the OL Connect
database and File Store.
The information in this chapter will help you get started using Node-RED as an automation tool
with OL Connect. It focuses on the OL Connect nodes, the settings that need to be made to
communicate with the OLConnect server, and the most common flows in OLConnect solutions
with Node-RED.
Tips and techniques regarding standard nodes and tasks in such solutions can be found in
another topic: "Node-RED: nodes and common techniques" on page204.
For general information about Node-RED, please refer to Node-RED's website: nodered.org.
Installation
Follow the instructions on Downloading and installing Node.js and npm | npm Docs
(npmjs.com).
Start the Node-RED editor. Next, download and install the OL Connect Nodes using the Palette
module: in the right-hand sidebar, click Manage Palette and look for 'olc'.
OL Connect nodes
In a Node-RED application for OL Connect, flows communicate with the Connect Server and
access its Database and/or File Store through one or more OL Connect nodes.
Page 200