This microservice is a community contribution and is not part of the main stack of the United Manufacturing Hub, but it is enabled by default.
This microservice simulates data in four different topics by default, make sure to look at our OPCUA simulator guide to see how to utilize them to generate custom data. You can read the documentation of the standalone application here.
With the standard configuration it simulates four different parameters around a set mean and standard deviation. It publishes messages on an OPC UA server, you can look up the address in OpenLens when inspecting the pod logs.
If you want the simulated messaged to be processValues or other message types, just quickly adjust them via a Node-RED flow. We have some templates in our Node-RED repository.
This chapter explains all the variables used in the opcuasimulator. Be aware that in the UMH stack implementation of this microservice many environment variables are set in its own config.yaml instead of the values.yaml which retrieves environment variables for other microservices.
|Variable name||Description||Type||Possible values||Example value|
|Maps of user name password combinations that can access the server, leave blank if you want no authentication||all|
|delay between messages in seconds||positive numbers||15|
|Whether or not the duration between data points should be randomized||true, false||false|
|Map with the specifications for all parameters||valid maps with name, mean and standard deviation|
|Name of the parameter||all|
|mean value of the parameter||positive floating point numbers||80.7|
|standard deviation of the parameter||positive floating point numbers||1.54|
|Main host name considered for the certificates, standard is os.Hostname|
|Maps of hostnames and IPs||all|
|list of additional hostnames||all|
|list of IPs||all|