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 three different topics, make sure to look at our Node-RED flows 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 three different parameters around a set mean and standard deviation.
It publishes messages on the topic
ia/raw/development/ioTSensors/# wherein # is the parameter.
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 IoTSensorsMQTT. 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|
|Server URL of the MQTT server||valid MQTT server address|
|User authentication if enabled on the server||any|
|Specifies the user of the REST API||any|
|The Client ID for broker connection||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|