This is the OPC UA gateway specifically developed for the umati.app Dashboard.
The client subscribes to values from one or more machine instances on a single OPC UA server and then publishes them using MQTT in a JSON encoding format.
All instances are read based on OPC UA ObjectType-definitions.
Invalid instances (e.g., those missing mandatory nodes) are skipped.
To maintain uniform output via MQTT, additional nodes not specified are also ignored.
The Dashboard-OPCUA-Client
can be run either as a standalone application or as a container image.
To install and configure the client, please follow these instructions:
You can use the client for instance testing or for connecting to the umati.app Dashboard.
Follow these instructions to use the client as a testing tool for your implementation: Model Testing usage
For the local instance testing you need to run your own MQTT Broker and a MQTT Client. See MQTT Doc for more information and instructions
Here is an docker compose
example including a mqtt broker, a umati Sample Server and the gateway. The example contains also the need configuration for the samples.
Follow these instructions to use the client for connecting your local OPC UA Server to the umati.app Dashboard: umati Dashboard Connection
This project uses cmake for building.
The following packages are necessary for building:
# Clone the repository and initialize the submodules
git clone git@github.com:umati/Dashboard-OPCUA-Client.git
cd Dashboard-OPCUA-Client
git submodule update --init --recursive
# Build the dependencies
cd .github
mkdir build
cd build
cmake ..
make
# Build the Dashboard OPC UA Client
cd ../..
mkdir build
cd build
cmake ..
make
# Adjust configuration regading your setup
cp configuration.json.example configuration.json
nano configuration.json
# Start the Dashboard OPC UA Client
./DashboardOpcUaClient
# Alternatively build everything in one go:
mkdir -p install
mkdir -p build
cd build
cmake ../.github/ -DCMAKE_INSTALL_PREFIX:PATH=<PATH/TO/>Dashboard-OPCUA-Client/install/ -DCMAKE_BUILD_TYPE=Debug
cmake --build .
Unless otherwise specified, source code in this repository is licensed under the Mozilla Public License v2.0 (MPLv2).