thingsboard / thingsboard-gateway

Open-source IoT Gateway - integrates devices connected to legacy and third-party systems with ThingsBoard IoT Platform using Modbus, CAN bus, BACnet, BLE, OPC-UA, MQTT, ODBC and REST protocols
https://thingsboard.io/docs/iot-gateway/what-is-iot-gateway/
Apache License 2.0
1.74k stars 844 forks source link

[HELP] OPC UA Connection #340

Closed sayyam1994 closed 3 years ago

sayyam1994 commented 4 years ago

Hello Again,

I am trying to connect to Kepserver using opcua connector in two conditions:- 1) Getting data from a Tag with NodeId:- ns=2;s=Channel1.Device1.Tag1 Capture

In the above screenshot, I am connecting with the node having a complex path(ns=2;s=Channel1.Device1.Tag1) but I am not getting any data even after successful connection.

2)Getting data from a Tag with NodeId:-ns=2;i=2994 Capture2

In the above screenshot, I am connecting with the node having a simple path(ns=2;s=i=2994) and I am able to get data in thingsboard dashboard.

I have tried it in both Windows and Ubuntu and I am getting the same result. I also tried it with both exact path and Nodeid but I am getting the same result.

I want to know how to correctly map the complex path in opcua.json

Configuration (Attach your configuration file)

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

If you want I can mail the log files.

Versions (please complete the following information):

joerg555 commented 4 years ago

Hi Were is the contens of your opcua.json You need correct deviceidpattern.