Skip to content

rdiaz82/dht22_mqtt

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
src
 
 
 
 
 
 
 
 

ESP8266 temperature / humidity transmitter over MQTT

this repository contains a simple DHT22 temperature and humidity transmitter over MQTT.

Considerations

This project has been developed using PlatformIO. In order to run project a private_settings.h should be provided inside src folder. The private_setting has the following structure:

const char* ssid = "Wifi_SSID";
const char* password = "Wifi_password";
const char* mqtt_server = "MQTT host";
const char* clientID = "MQTT client ID";
const char* temperatureTopic = "topic/for/temperature";
const char* humidityTopic = "topic/for/humidity";
const char * token ="MQTT token String";
const int32 refreshTime = 300000; //Time to refresh in seconds

I promise to publish more information about the wiring in the next few days :)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages