Skip to content

This project uses an ESP8266 to read temperature and humidity data from a DHT11 sensor and send it to an MQTT broker.

License

Notifications You must be signed in to change notification settings

isadfrn/esp8266-mqtt-temp

Repository files navigation

ESP8266 MQTT Temperature and Humidity monitor

Languages used Repository size Last commit

About

This project uses an ESP8266 to read temperature and humidity data from a DHT11 sensor and send it to an MQTT broker.

Run

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"

./run

Contributing

This 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.

Status

Finished

License

MIT

About

This project uses an ESP8266 to read temperature and humidity data from a DHT11 sensor and send it to an MQTT broker.

Topics

Resources

License

Stars

Watchers

Forks