BiancoRoyal / node-red-contrib-iiot-opcua

deprecated - very new developed by PLUS for Node-RED - https://plus4nodered.com
https://www.npmjs.com/package/node-red-contrib-iiot-opcua
BSD 3-Clause "New" or "Revised" License
34 stars 9 forks source link

[WIP/Discuss] Add pub support for OPC-UA pub/sub #142

Closed dtq-one closed 1 year ago

dtq-one commented 2 years ago

Describe the requested feature

Add a new Node-RED node for publishing OPC-UA node values according to OPC-UA pub/sub. The selection of nodes to be published could be accomplished with existing nodes, and even publishing of the generated payload could be accomplished using existing nodes, such as MQTT (and perhaps contributed nodes for AMQP). Hence, the new node would be mainly responsible for properly encoding the payload (writegroup, datasets, etc).

Etienne implemented some node-opcua-pubsub-* modules that would allow to do that. An interesting write-up to get started on those can be found here https://node-opcua.github.io/tutorial/2022/02/16/node-opcua-pubsub-episode1.html

When using node-opcua-pubsub-* it might be necessary to use the modules implementing PubSubConnectionDataTypeOptions (MQTT seems to exist already), though.

❗ However, those node-opcua-pubsub-* packages are currently not fully open-source and we need to closely and carefully:

The node-opcua-pubsub-* modules demonstrated here are developed by sterfive. They are published under a dual-license. The public version is suitable for evaluation in your proof of concept. The professional edition can be subscribed to from www.sterfive.com and comes with complete source code, unit tests, an extended license, professional support. It is suitable for industrial grade applications. contact us for more information

Motivation

In order to help with adoption and general understanding of pub/sub concepts (as opposed to traditional OPC-UA pull-based and client-server) it would be helpful to incorporate node-opcua-pubsub-* into our project.

biancode commented 2 years ago

It would be a good point to work or talk with @erossignon to find a good solution for that. From my point it would be great to have a second package like node-red-contrib-opcua-pubsub etc.

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 45 days with no activity. It will be closed in 5 days, but can be saved by removing the stale label or commenting.

biancode commented 2 years ago

pub/sub is not for free in node-opcua at the moment

biancode commented 2 years ago

This has to be an extra node-red contribution package, that we provide via PUS for Node-RED soon.