MQTT Simulator
The technical documentation of the iotsensorsmqtt microservice,
which simulates sensors sending data to the MQTT broker.
less than a minute
This microservice is a community contribution and is not part of the main stack of the United Manufacturing Hub, but is enabled by default.
The IoTSensors MQTT Simulator is a microservice that simulates sensors sending data to the MQTT broker. You can read the full documentation on the
How it works
The microservice publishes messages on the topic ia/raw/development/ioTSensors/
,
creating a subtopic for each simulation. The subtopics are the names of the
simulations, which are Temperature
, Humidity
, and Pressure
.
The values are calculated using a normal distribution with a mean and standard
deviation that can be configured.
Kubernetes resources
- Deployment:
united-manufacturing-hub-iotsensorsmqtt
- ConfigMap:
united-manufacturing-hub-iotsensors-mqtt
Configuration
You can change the configuration of the microservice by updating the config.json
file in the ConfigMap.
Last modified May 5, 2023: feat: finishing touches (1147002)