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.73k stars 842 forks source link

[HELP] op-ua does not refresh data. #1560

Closed DuXiaoChuang closed 1 week ago

DuXiaoChuang commented 1 week ago

does not refresh data.

{ "server": { "name": "OPC-UA Default Server", "url": "opc.tcp://lcsys:53530/OPCUA/SimulationServer", "timeoutInMillis": 5000, "scanPeriodInMillis": 500, "disableSubscriptions": false, "subCheckPeriodInMillis": 100, "showMap": false, "security": "Basic128Rsa15", "identity": { "type": "anonymous" }, "mapping": [ { "deviceNodePattern": "Root\.Objects\.Simulation", "deviceNamePattern": "Device OPC-UA", "attributes": [ { "key": "Counter", "path": "${ns=3;i=1002}" }, { "key": "Random", "path": "${ns=3;i=1003}" } ], "timeseries": [ { "key": "Square", "path": "${ns=3;i=1006}" } ], "rpc_methods": [ { "method": "multiply", "arguments": [2, 4] } ], "attributes_updates": [ { "attributeOnThingsBoard": "Constant", "attributeOnDevice": "${ns=3;i=1001}" } ] } ] }, "id": "340f1344-4bec-48d0-820e-2534d78d2341" }

image image

DuXiaoChuang commented 1 week ago

11