This project uses an ESP8266 to read temperature and humidity data from a DHT11 sensor and send it to an MQTT broker.
sudo apt-get install mosquitto mosquitto-clients
sudo nano /etc/mosquitto/conf.d/default.conf
listener 1883
allow_anonymous true
sudo systemctl restart mosquitto
sudo systemctl status mosquitto
sudo ufw allow 1883/tcp
mosquitto_sub -h localhost -t "mestrado/iot/aluno/isabella/temperatura"
mosquitto_sub -h localhost -t "mestrado/iot/aluno/isabella/umidade"
./runThis repository is using Gitflow Workflow and Conventional Commits, so if you want to contribute:
- create a branch from develop branch;
- make your contributions;
- open a Pull Request to develop branch;
- wait for discussion and future approval;
I thank you in advance for any contribution.
Finished