The OPC-UA Device Service can automatically discover OPC-UA endpoints.
A Local Discovery Server (LDS) must be set up as a device in Edge Xpert to use device discovery.
Endpoint discovery is not supported for HTTPS servers and endpoints.
The device discovery process is as follows:
A discovery request is sent to the OPC-UA Device Service
The OPC-UA Device Service contacts the LDS and requests a list of registered servers
The Device Service requests a list of endpoints from all registered servers
The OPC-UA Device Service adds the endpoints to the Edge Xpert metadata
The OPC-UA Device Service must know the name of every LDS used for server discovery.
The environment variables are specified in the environments section of the docker-compose.yml file. The default entry is as follows:
environment: <<: *common-variables SERVICE_HOST: device-opc-ua LDSName:
You can configure the environment variables to match your requirements, as shown in the following table:
|LDSName||The names of LDS devices in Edge Xpert for discovery|
Multiple LDS can be specified using a semi-colon as a delimiter
The following protocol properties are generated for each discovered endpoint:
ApplicationURI are optional and are only generated if the endpoint supports OPC-UA security settings.