Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OPC UA Client to support Data Change Subscription #10235

Closed
Jayclifford345 opened this issue Dec 7, 2021 · 2 comments
Closed

OPC UA Client to support Data Change Subscription #10235

Jayclifford345 opened this issue Dec 7, 2021 · 2 comments
Labels
area/mqtt feature request Requests for new plugin and for new features to existing plugins

Comments

@Jayclifford345
Copy link

Jayclifford345 commented Dec 7, 2021

Proposal:

OPC UA Client should be given the ability to subscribe to OPC UA server tags using a Data Change subscription. This would allow Telegraf to collect all metric changes coming from the OPC UA server. This is much like how the MQTT Client works in the fact we accept all incoming messages from a given topic.

https://github.com/gopcua/opcua/blob/main/examples/subscribe/subscribe.go

Current behaviour:

If I have an OPC UA tag that acts as an incremental counter (1, 2, 3, 4, 5). The Telegraf OPC UA client will only collect the current tag state based on the interval trigger. This means state changes within that interval time are lost.

Desired behaviour:

Using a Data change subscription means that each time the OPC UA server tag updates our client also collects the new value. This means that all tag changes no matter the interval trigger are collected by Telegraf.

Use case:

In most industrial use cases of OPC UA users care about the state changes of tags within a server. This could be an engine value turning from on to off. Or an alarm being triggered.

@Jayclifford345 Jayclifford345 added the feature request Requests for new plugin and for new features to existing plugins label Dec 7, 2021
@R290
Copy link
Contributor

R290 commented Dec 7, 2021

Duplicate of #8083?

@Jayclifford345
Copy link
Author

Hi @R290 you are correct! I will link and close this one out:
#8083

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/mqtt feature request Requests for new plugin and for new features to existing plugins
Projects
None yet
Development

No branches or pull requests

2 participants