IoT application with MQTT and Python
This is an exercise to connect with a broker to receive(subscribe in a topic) and transmit(publish in a topic) messages.
Run the project
First you have to create an .env file and fill the variables and then run the following.
python3 -m venv iotenv
source iotenv/bin/activate
pip3 install -r requirements.txt
python main.py