Skip to content

OPC UA listener input. Support for nsu Identifier and OPC naming rules. #14417

@alexmc1510

Description

@alexmc1510

Use Case

The current configuration of inputs.opcua_listener is not following the real naming structure of OPC UA and the current configuration, based on NamespaceIndex is a risk because the index can change on server side after a restart as you can see in the link provided.

Current conguration of a node:
nodes = [ {name="namespaces", namespace="0", identifier_type="i", identifier="2255"}, ]

Expected behavior

I would propose a configuration string like the following when accessing by NamespaceIndex (for the ones who still want to use the legacy method).
nodes = [ {name="namespaces", NamespaceIndex="0", IdentifierType="i", Identifier="2255"}, ]

I would propose a configuration string like the following when accessing by Namespace (for the ones who want to use the new and secure method).
nodes = [ {name="namespaces", Namespace="http://opcfoundation.org/UA/", IdentifierType="i", Identifier="2255"}, ]

Actual behavior

The behavior in the end will be the same with the only benefit of having the namespace change under control.

Additional info

Clear explanation of the behavior.
https://documentation.unified-automation.com/uasdkhp/1.4.1/html/_l2_ua_node_ids.html

Metadata

Metadata

Assignees

Labels

area/opcuafeature requestRequests for new plugin and for new features to existing pluginshelp wantedRequest for community participation, code, contributionsize/m2-4 day effort

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions