/node-red-contrib-opcua

A Node-RED node to communicate OPC UA. Uses node-opcua library.

Primary LanguageJavaScriptOtherNOASSERTION

NPM download NPM version

Node-RED OPC UA

node-red-contrib-opcua

opcuanodeLogo64

A Node-RED nodes to communicate or serve via OPC UA.

based on node-opcua

nodeopcua64

Install

Run command on Node-RED installation directory.

npm install node-red-contrib-opcua

or run command for global installation.

npm install -g node-red-contrib-opcua

Usage

Use OpcUa-Item to define variables. Use OpcUa-Client to read / write / subscribe / browse OPC UA server.

See some flows under Examples.

Here you got some ready to use examples. You can use the Import in Node-RED in the right upper corner menu.

node-red-opcua-flow

Examples are available for Schneider IGSS and Prosys Simulation Server as Node-RED flow. Search for OPC UA on: http://flows.nodered.org/

node-red-opcua-flow-Prosys

Authors

Testing

karma start opcua.conf.js --log-level debug --single-run

TBD List

Nodes Function Done
All
Project structure ✅
Async calls 🌒
UnitTesting 🌑
Documentation 🌒
Item ✅
Browser
Browse ✅
Simple UI interface 🌓
Client
Read ✅
Read Multiple ✅
Write ✅
Subscribe ✅
AE 🌑
reconnect on error 🌒
Server
Commands
Restart ✅
Add Folder ✅
Set Folder ✅
Add Variable ✅
Add Object 🌑
Add Method 🌑
Add Equipment 🌓
Add PhysicalAssets 🌓
Delete by NodeId ✅
Examples
Methods
Structures
Variables
Objects
AE
Alarm and Events
Subscribe ✅

EMOJI CHEAT SHEET