Engineering-Research-and-Development / iotagent-opcua

IoT Agent for OPC UA protocol
https://iotagent-opcua.rtfd.io/
GNU Affero General Public License v3.0
42 stars 20 forks source link

support of (metadata) source timestamps #42

Closed joriwinderickx-fm closed 1 year ago

joriwinderickx-fm commented 3 years ago

I have a basic FIWARE architecture set up that has roughly the following dataflow:

OPC-UA simulation server -> IoT Agent OPC-UA -> Orion -> QuantumLeap -> CrateDB

The configuration of the IoT agent was based on the examples that were available, though, the IoT Agent does not seem to take into account the timestamp (Source Timestamp) of the value of the node that is configured to be pushed to Orion. Is it supported by the IoT agent e.g. to include this timestamp as a metadata value? If yes, is it documented somewhere on how to configure it?

You can find the configuration that was used for the IoT agent attached: config.properties.txt config.json.txt

rosieks commented 2 years ago

I would be happy to have that working with NGSI-LD and having observedAt value present in the request

MattiaMarzano-Eng commented 2 years ago

The support to metadata will be available in the newer version (v2) of the OPC UA Agent that will be released soon. See the dedicated branch

MattiaMarzano-Eng commented 1 year ago

Agent v2 available on the main branch