-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Improve OPC UA Schema Detection to Support All Identifier Types #1579
Comments
Automatic detection of identifier type should be easy to accomplish since each node comes with the field "IdentifierType" as part of its metadata in OPC UA. |
thanks a lot for the great issue description @tenthe |
I am not sure if this is a good candidate for a |
Hey @curichan, please take for granted that you don't bother us. We highly appreciate all the feedback and insights you share with us, we are gaining a lot of value from them. So please keep that spirit and help us to improve StreamPipes 🙂 From our side, improving the OPC-UA adapter is the next topic we want to address, as we have already received some feedback where we should improve (your feedback counts massively here). Currently, there is a huge big PR (#1290) that we need to complete first. But after that, OPC-UA will be definitely a focus topic. As for the time until a possible release, it's quite hard to put a number on as we can't really plan how many time we can invest in StreamPipes besides our everyday life. |
Hi @bossenti , many thanks for your kind words and explanations. I found a workaround for my specific problem for now. However, allowing for custom data types would certainly be a major improvement to the OPC UA adapter. Given this backrground, a solution by the end of June would be great! |
Issue:
The current implementation of OPC UA schema detection in our GitHub repository only supports numbers as Identifier Types. However, as discussed in issue #1567 and according to the OPC UA specification Link, the schema detection should be enhanced to support all Identifier Types defined by OPC UA.
Open question:
We need to clarify whether the identification of Identifier Types can be inferred automatically or if users need to provide this information manually.
Proposed Solution:
To optimize the current implementation, the following steps are suggested:
By implementing these changes, we can enhance the OPC UA schema detection capabilities, making it more versatile and accommodating for a wider range of OPC UA servers and Identifier Types.
Discussed in #1567
Originally posted by curichan May 11, 2023
Hi there,
after Streampipes has connected to an OPC UA server and a node has been selected, I get the error "Could not guess schema for opc node: class java.lang.String cannot be cast to class org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger (java.lang.String is in module java.base of loader 'bootstrap'; org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger is in unnamed module of loader org.springframework.boot.loader.LaunchedURLClassLoader" when progressing to the "Configure fields" dialogue. It's not clear to me why Streampipes is trying to cast a string to an integer at this stage. Can someone help or is this a bug?
The text was updated successfully, but these errors were encountered: