feat(common.opcua): Add string configuration option for node ID#18232
Open
skartikey wants to merge 5 commits intoinfluxdata:masterfrom
Open
feat(common.opcua): Add string configuration option for node ID#18232skartikey wants to merge 5 commits intoinfluxdata:masterfrom
skartikey wants to merge 5 commits intoinfluxdata:masterfrom
Conversation
…ration option
- Add support for specifying OPC UA node IDs using the standard string format
(e.g., "ns=0;i=2262" or "nsu=http://...;s=Name") as an alternative to
specifying namespace, identifier_type, and identifier separately.
- This simplifies configuration and matches the format used in OPC UA browsers.
Example usage:
{name="ProductUri", node_id="ns=0;i=2262"}
Instead of:
{name="ProductUri", namespace="0", identifier_type="i", identifier="2262"}
srebhan
reviewed
Jan 28, 2026
Member
srebhan
left a comment
There was a problem hiding this comment.
Thanks @skartikey! Some comments from my side.
Contributor
|
Download PR build artifacts for linux_amd64.tar.gz, darwin_arm64.tar.gz, and windows_amd64.zip. 📦 Click here to get additional PR build artifactsArtifact URLs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds support for specifying OPC UA node IDs using the standard string format (e.g., ns=0;i=2262 or nsu=http://...;s=Name) as an alternative to specifying namespace, identifier_type, and identifier separately.
New style (recommended for simplicity):
Existing style (still fully supported):
Supported node ID formats:
Checklist
Related issues
resolves #12396