/ESP8266-DHT22-weather-station

Stream temperature and humidity data from a DHT22 sensor to an MQTT broker in the cloud.

Primary LanguageCGNU General Public License v2.0GPL-2.0

ESP8266-DHT22 Weather Station

A pure C implementation of a weather station using an ESP-01 and a DHT22 sensor. Special thanks to Fonger for the DHT22 protocol implementation.

Prerequisites

Building the project

  • Rename Kconfig.projbuild.example to Kconfig.projbuild.
  • Update configuration settings for your WiFi AP and the MQTT broker in the Kconfig.projbuild.
  • Run make flash to build and upload the program to ESP8266.