This repo contains code for weather monitoring station that uses BMP-280 to read temperature + pressure and DHT-22 to read temperature + relative humidity.
Sensors are connected to NodeMcu ESP-32 - see wiring.jpg
The ESP reads data from both sensors once every 5 minutes, connects to WiFi and sends POST request to backend API with the collected data. After that, ESP goes into deep sleep and wakes up after 5 minutes to repeat everything again.
The collected data is then displayed on frontend web app