东西板会连接到远程OPC服务器吗?如果是这样,如何配置opc-config.json连接到IBA?
> { "servers": [
> {
> "applicationName": "",
> "applicationUri": "",
> "host": "10.x.x.x.",
> "port": 135,
> "scanPeriodInSeconds": 10,
> "timeoutInMillis": 5000,
> "security": "None",
> "identity": {
> "type": "username",
> "username": "me",
> "password": "me password"
> },
> "mapping": [
> {
> "deviceNodePattern": "Channel1\\.Device\\d+$",
> "deviceNamePattern": "Device ${_System._DeviceId}",
> "attributes": [
> {"key":"Tag1", "type": "string", "value": "${Tag1}"}
> ],
> "timeseries": [
> {"key":"Tag2", "type": "long", "value": "${Tag2}"}
> ]
> }
> ]
> } ] }我在配置中尝试了几个不同的输入,但是网关没有发送任何值

这是我在日志中看到的错误:
me@thingsboard:/etc/tb-网关/conf$ cat /var/log/tb-网关/tb-gateway.log grep错误2017-10-25 13:42:00,900主要错误o.t.gateway.util.ConfigurationTools -未能从opc-config.json 2017-10-25 13 :42:00902主要错误o.t.g.e.opc.DefaultOpcUaService - OPC-UA服务配置失败!:42:00929主要错误o.s.boot.SpringApplication -应用程序启动失败
发布于 2017-10-26 08:37:32
目前还不支持OPC.ThingsBoard支持新版本的协议-OPC.目前还没有在我们的路线图中支持OPC的计划,但是,由于这是一个开源项目,所以可以随意做出贡献。
https://stackoverflow.com/questions/46939213
复制相似问题