thingsboard-gateway icon indicating copy to clipboard operation
thingsboard-gateway copied to clipboard

[HELP or New Feature] [OPC-UA] Contextualize each timeseries.

Open ivanlr opened this issue 1 year ago • 0 comments

Describe the issue How can be contextualized each timeseries, including for each one for instance the Node ID? We have set up a device in an IoT Gateway, with thousands of timeseries set up in following way:

.... 
{
    "key": "deviceUai",
    "path": "${ns=2;b=lywjfXXS5+CngBP9jxUlXQ==}"
 }
.....

Therefore we would like to have something like:

{
    "key": "deviceUai",
    "path": "${ns=2;b=lywjfXXS5+CngBP9jxUlXQ==}",
    "metadata": {"nodeID": "ns=2;b=lywjfXXS5+CngBP9jxUlXQ==", "RelativeBrowsePath":"Root/Facility/OP_1/DeviceUai"}
 }

Would it be possible to do a kind of the previous approach?

Connector name (If you need help with some connector/converter): OPC-UA Connector

Versions (please complete the following information):

  • OS: Ubuntu 24.04 LTS
  • Thingsboard IoT Gateway version 3.5.1
  • Python version 3.10.12

ivanlr avatar Jul 29 '24 06:07 ivanlr