1. Purpose

The aim of the Simulator is to send testdata to a MQTT-Broker, wich can be used to Test the sofware without a physical sensor.

2. Repositroy of the Simulator

Note that you need the permission to have access to this repo. Make sure you contact the current team leader for the access.

2.1. How to setup the Simulator?

Start Quarkus with

./mvnw clean compile quarkus:dev

Connect with the MQTT-Server.For example with MQTT-Explorer. Ask the leader for the Password.

docu1

Use a Tool like Postman to Add or Delete Rooms. Make sure that you choose POST instead of GET on the left.

docu2

then you can see the new Room displayed on the MQTT-Server. Every Room has simulated values. The Temperature for example, changes his value just a little bit like the real temperature value would.

docu3

If you want to delete the room you created before you can use postman like in this picture again.

docu4