Closed dtq-one closed 1 year 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.
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.
pub/sub is not for free in node-opcua at the moment
This has to be an extra node-red contribution package, that we provide via PUS for Node-RED soon.
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.htmlWhen using
node-opcua-pubsub-*
it might be necessary to use the modules implementingPubSubConnectionDataTypeOptions
(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: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.