node-red-contrib-iiot-opcua 3.12.0

The LTS IoT/IIoT OPC UA toolbox package for Node-RED based on node-opcua.

npm install node-red-contrib-iiot-opcua

Platform Node-RED Node-RED IIoT OPC UA NPM version ES_Deploy_Version NodeJS_Version Standard - JavaScript Style Guide NPM download Build Status Codacy Badge


The IoT/IIoT OPC UA toolbox package for Node-RED based on node-opcua.


  • v3.x is now LTS version until Oktober 2019 (branch 3.0)
  • tested with Node.js v10 and Node-RED v0.19
  • based on node-opcua v0.4 (OPC UA v1.03)
  • extendable with node-opcua-isa95

If you like that contributor's package for OPC UA, then please give us your star at GitHub!

You could also help as a backer of the project.


Run command on Node-RED installation directory.

npm install node-red-contrib-iiot-opcua

or run command for global installation.

npm install -g node-red-contrib-iiot-opcua

try these options on npm install to build, if you have problems to install

--unsafe-perm --build-from-source

Flow Example

To get a special version please set the version with @M.M.F:

npm install [email protected]

or global with the -g option of npm. You get more help in the npm docs.


Let's work together! Please, read and in best case accept CONTRIBUTING by your sign and send it via E-Mail. You could also just send a pull request or issues while testing, please!

Click here if you want to back the project!


Debugging on remote devices is important to help users. The verbose logging provides interesting points in different abstractions if IDE or console debugging is not possible.

Start debug with Node-RED in verbose (-v) mode to get a verbose logging:

DEBUG=opcuaIIoT* node-red -v 1>nodeREDIIoTOPCUA.log 2>&1

or on local Node-RED

DEBUG=opcuaIIoT* node red.js -v 1>nodeREDIIoTOPCUAServer.log 2>&1

Debug Options

Please, read the Wiki article


Follow the white rabbit!

Your own address space model!

With the flex server you could create your own information model with the OPC UA address space.

Flex server Example

Learn with the examples!

The server node contains demo objects and variables to start playing with OPC UA method call, read and write operations.

see Node-RED menu (right upper corner) -> Import -> Examples -> iiot opcua

Flow Example

... secure reading from OPC UA servers with your own key pairs ...

Read Example

... and secure writing and moving data between OPC UA servers ...

Write Example

Read Write Example

... create your own variables and objects from events ...

Node-RED UAExpert / Client
ASO Example ASO UAExpert

Reconnect via events with the Flex Connector!

Flow Flex Connector

Package Information

Known Issues and TODO's


  • methods calls
    • complex
    • dynamic
    • structured object parameters


  • more Bad status situations handling
  • API changes to 0.4.+ bring some breaking changes in connection handling
    • Please, test and report issues via GitHub!


The BSD 3-Clause License

Klaus Landsdorf

That is a whole new Node-RED package started in 2017 based on the node-opcua v0.4 and the API documentation. The old copyrights by Mika Karaila are just to honor his pioneer work in the years 2015/2016 for Node-RED and OPC UA.


This is not an official product of the OPC Foundation or Plattform Industrie 4.0.

Contribution node-opcua

I'd like to give special thanks to Etienne Rossignon for the node-opcua packages and very special for the node-opcua-isa95 package!

Node Info

Version: 3.12.0
Updated 1 month, 1 week ago
License: BSD-3-Clause
Rating: not yet rated


78 in the last day
499 in the last week
1560 in the last month


  • OPCUA-IIoT-Connector
  • OPCUA-IIoT-Flex-Connector
  • OPCUA-IIoT-Node
  • OPCUA-IIoT-Event
  • OPCUA-IIoT-Listener
  • OPCUA-IIoT-Read
  • OPCUA-IIoT-Write
  • OPCUA-IIoT-Response
  • OPCUA-IIoT-Browser
  • OPCUA-IIoT-Crawler
  • OPCUA-IIoT-Server
  • OPCUA-IIoT-Flex-Server
  • OPCUA-IIoT-Server-ASO
  • OPCUA-IIoT-Server-Command
  • OPCUA-IIoT-Result-Filter
  • OPCUA-IIoT-Method-Caller
  • OPCUA-IIoT-Discovery


  • node-red
  • node-opcua
  • automation
  • iiot
  • biancoroyal