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

Feature: Enhance OPC-UA adapter to be more customizable and to perform additional functions #2124

Open
WashingtonKK opened this issue Mar 22, 2024 · 2 comments
Assignees

Comments

@WashingtonKK
Copy link
Contributor

Is your feature request related to a problem? Please describe.

No issue

Describe the feature you are requesting, as well as the possible use case(s) for it.

Currently, when a successful subscription is made to the opc-ua server by the opc-ua adapter, the subscription details are stored such that the subscription will always be maintained even when the adapter is restarted or the thing is disconnected from the channel in magistrala.

This is a proposal that when the thing is disconnected from the channel, there needs to be an option to disconnect the adapter from the server so that the adapter will not keep consuming data from the opc-ua server.

Additionally, we can have the adapter such that it exposes another endpoint apart from /browse which can be used to perform these operations, say to establish a connection to a server, disconnect from a server.

Indicate the importance of this feature to you.

Nice-to-have

Anything else?

No response

@arvindh123 arvindh123 added this to the S1 milestone Mar 25, 2024
@WashingtonKK
Copy link
Contributor Author

Also update the adapter to the latest version of gopcua library.

@WashingtonKK WashingtonKK self-assigned this Apr 2, 2024
@WashingtonKK
Copy link
Contributor Author

Additional proposal to add the following endpoints:

  1. /subscribe to give provision for manual subscription to a server.
  2. /unsubscribe to allow a user to manually cancel a subscription to a sever.

@dborovcanin dborovcanin removed this from the S1 milestone Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

3 participants