📌Note: This article applies to all TeamViewer Embedded users and works with any officially released TeamViewer Windows Embedded Host.
OPC Technology stands for “Open Platform Communications” and is an approved communication standard for the process industry. The OPC Unified Architecture (UA) is an interoperability standard and provides a secure and reliable data exchange mechanism. OPC UA is a platform-independent system and ensures information flow between devices from multiple vendors. For real-time data access, the OPC Data Access specification is being used.
TeamViewer Embedded provides an OPC UA Connector that connects to the OPC UA Server and collects values from OPC UA Variables. The connector communicates with TeamViewer Embedded Cloud with the help of the Embedded Agent.
The setup contains three basic steps. Follow the sections in this article:
In most cases, the OPC UA servers are being configured by other companies. And the configuration is specific to the installation and the environment where it is being used. You need to configure the OPC UA Connector according to your server’s configuration by providing the URL of the server, security settings, and authentication options.
For setting the connector configuration, edit the “config.json” file according to your OPC UA server settings. The file is located in the C:\Program Files (x86)\TeamViewer\ directory.
"OPCUA_CONN_SETTINGS": { "URL": "opc.tcp://127.0.0.1:49320", "SEC_POLICY": "None", "AUTH": "Anonymous!”
Note: For the moment are only supported anonymous connections without security policy to OPC UA servers.
"MQTT_OPCUA_MAP_CFG": { "Sensor1": { "OPCUA_NODE_LIST": [ { "Name": "Tag1", "Nodeid": "ns=2;s=Channel1.Device1.Tag1" }, { "Name": "Tag2", "Nodeid": "ns=2;s=Channel1.Device1.Tag2" } ] }, "Sensor2": { "OPCUA_NODE_LIST": [ { "Name": "Bool", "Nodeid": "ns=2;s=Channel1.Device1.Bool" }, { "Name": "String", "Nodeid": "ns=2;s=Channel1.Device1.Str"