2017-10-25 14 views
0

ThingsboardはリモートのOPC-DAサーバーに接続できますか?もしそうなら、IBAに接続するためにopc-config.jsonをどのように設定するのですか?ThingsBoard OPC-DA

> { "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}"} 
>   ] 
>   } 
>  ] 
>  } ] } 

私は設定でいくつかの異なる入力を試してみたが、ゲートウェイは任意の値 enter image description here

をバック送信していないこれは私がログに表示されるエラーです。

私は@ thingsboard:/ etc/tb-gateway/conf $ cat /var/log/tb-gateway/tb-gateway.log | grep ERROR 2017-10-25 13:42:00,900 [main] ERROR otgateway.util.ConfigurationTools - クラス org.thingsboard.gateway.extensions.opc.conf.OpcUaConfiguration をopc-configからロードするために失敗しました 。 json 2017-10-25 13:42:00,902 [main] エラーotgeopc.DefaultOpcUaService - OPC-UAサービス構成 が失敗しました。 2017年10月25日13:42:00929 [メイン] ERROR o.s.boot.SpringApplication - アプリケーションの起動は、OPC-DAは、現時点でサポートされていない

答えて

0

に失敗しました。 ThingsBoardは、プロトコルの新しいバージョンであるOPC-UAをサポートしています。現時点では、ロードマップでOPC-DAをサポートする計画はありませんが、オープンソースプロジェクトなので、自由に貢献してください。

関連する問題