This project is based on code from "ESP8266 weather station using Arduino IDE" tutorial but another sensors and with significant revisions in backend.
The weather station is based on the NodeMCU ESP8266 board
and three sensors:
- BMP180 - temperature and pressure (degrees Celsius and bar)
- BH1750 - illumination (lux)
- AM2320 - humidity (can also measure temperature)
NodeMCU connect to Wi-Fi AP and runs the web server with site. The measurements from all sensors are sent to the web server in JSON format and site display current date and measurements every 2 second with JS script. The HTML, CSS and JS web page code is stored in the index.h.