It is a simulator of the Device (ESP32 and temperature sensor )
https://mosquitto.org/download/
$ python3 main.py
simplesensor.py: Initialize a sensor simulator that generates aleatory values of temperature and humidity
To execute this script. First, we need to install the Paho module using the following command:
$ pip install paho-mqtt
$ python3 simplesensor.py -h 127.0.0.1 -v -i 02 -n testclient1
$ python3 sub-all.py