node-red-contrib-octobus-connector
A set of nodes to connect between the data from different sources and OCTOBUS cloud
Installing OCTOBUS connector using npm
# change to your ~./node-red/ folder
cd ~/.node-red/
npm install npm i @octobus/node-red-contrib-octobus-connector
Installing OCTOBUS connector via Node-RED palette
You can install the node also via the Manage palette feature in the Node-RED administration UI.
Connecting to OCTOBUS via OPC UA using Generated Flow function on OCTOBUS
1: Create Client on OCTOBUS
2: Create Data Flow on Client
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
3: Deploy to Node-RED
-
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!
Connecting to OCTOBUS using MQTT Client and OCTOBUS payload node.
1: Create Client on OCTOBUS
-
Go to Clients Tab create new Client.
2: Preparing nodes on Node-RED
-
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.
FAQ
- 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