Connecting the UMH with 3rd party systems Kepware

Connecting Kepware with the OPC-UA simulator

In this tutorial, we will guide you through the steps involved in installing and configuring Kepware, connecting it to UMH, and configuring data sources and devices.

Connecting Kepware with the OPC-UA simulator


To follow this tutorial, you need to have:

  1. UMH installed in a flatcar / k3d, etc. VM
  2. A Windows VM
  3. The OPC-UA simulator


1. Installing Java

  1. Download the latest Java version and install it on your windows VM. To check that the 32-bit version is installed, navigate to your Programmx86 folder and search for “Java”. If it doesn't exist try downloading Java (jre) 32-bit manually.

2. Installing KepServerEx 6

  1. You can request a free demo here.
  2. Once you’ve downloaded the installer, execute it on the Windows VM and follow the installation instructions.

3. Adding an OPC-UA channel

  1. Now open “KEPServerEX 6 ”and right click on “connectivity” and add “new channel”.
  2. Select as type “OPC UA Client” press next until you reach the endpoint url.
  3. Enter in “Endpoint URL” your hostname and relevant port. If you are using a local installation enter the opcua-simulator service name and the internal port. If you are using an external server use the hostname from that server you added in the config-file. Select “none” as “Security Policy”. Then click next and finish.
  4. Click on “Click to add a device”
  5. Skip through the process until “Add Device Wizard” where you click on “Select import items..”
  6. Here you can choose one of our “IoT Sensors” of our OPC-UA simulator. Simply select the sensor, click on “Add items” then “Ok” and procceed with the setup.

4. Creating an Mqtt-agent

  1. Click on “Add Agent” on the left under “IoT Gateway”.
  2. Enter an agent name, select “MQTT Client” under type, and click next.
  3. Next we configure the MQTT broker. Enter in URL your hostname or IP and leave the protocol (TCP) and port as autoconfigured. Decide on what topic your data should be subscribable to. In this case, we are using ia/raw/test/. In the publish tab, you can also select your QoS (Qualityof Service) and your publish rate. When you’re done, click next.
  4. The last thing you need to do is to configure the credentials for the agent. Choose a unique Client-ID and enter in Username node-red and as password INSECURE_INSECURE_INSECURE. Then click on “Finish”.
  5. If everything is working, a massage like the one shown below should appear in your console at the bottom.
  6. Click on “Add IoT items”
  7. Select the configured OPC-UA sensor and click on “Apply”
  8. To ensure that Kepware is working correctly, you can open Kowl/Redpanda in OpenLens under “Services”. Check if data is flowing through the specified topic.


KEPServerEX is a software platform that enables users to extract data from a wide range of industrial machines and devices, including those that do not support common protocols like OPC-UA, S7, or Modbus. With 142 drivers available, KEPServerEX’s library is significantly larger than that of Node-RED, which is included with the UMH. This makes KEPServerEX a valuable tool for connecting older production lines that need to be connected but do not support standard protocols. In this tutorial, we showed you how to install and configure KEPServerEX, connect it to the UMH, and configure data sources and devices to take full advantage of the data being collected from your production equipment. If you want more tutorials like this let us know over discord!

Stay up-to-date

Subscribe to the UMH Learning Hub Newsletter to receive the latest updates and gain early access to our blog posts.