Hi all, in the last weeks I have implemented some minor improvements and a new feature for the OPC UA adapter. You can find the corresponding changes in the pull request 31 (https://github.com/apache/incubator-streampipes-extensions/pull/31) in extensions.
The OPC UA adapter now checks each node for a property that refers to an Engineering Unit. Engineering Units are used to specify the unit of measurement in OPC UA. If a node has an Engineering Unit, the OPC UA adapter can now extract this information from the node and set the measurementUnit in the event properties. This allows StreamPipes to automatically detect the unit of measurement if when it is specified. Currently, the IDs for Engineering Units assigned by OPC UA are manually mapped to the corresponding QUDT URIs for a small sample. A better solution for this aspect needs to be found to make the feature widely applicable. In addition, the unit of measurement is not yet displayed in the UI, probably some adjustments will be necessary. Best regards, Tim
