A set of nodes to connect between the data from different sources and OCTOBUS cloud
# change to your ~./node-red/ folder
cd ~/.node-red/
npm install npm i @octobus/node-red-contrib-octobus-connector
You can install the node also via the Manage palette feature in the Node-RED administration UI.
The data flow on OCTOBUS doesn't the same definition on Node-RED. If you have multiple data flow on client it will be created on the same flow on Node-RED.
- Names data flow and select protocol to OPC UA.
- Go to Setting/Parameters
- Go to Measurement Mapping tab
-
Open Node-RED web application.
-
Paste the configuration or select the downloaded configuration file then click import.
-
You will see the pop up that show the flow has been imported then DEPLOY it!
-
Go to Clients Tab create new Client.
-
Prepare the OCTOBUS payload node
-
Prepare the MQTT Client node
-
The wire for OCTOBUS payload node and mqtt out node will be look like this.
- Install to the .node-red folder if you have installed node-red globally
- Install to the userDir directory if you have custom userDir
- Make sure that your nodejs version is relatively current