How cerevisis/esp32-weather-station works
This is an ESP32 weather-station firmware and device-hosted dashboard. The main workflow reads environmental and power/weather sensors, processes readings, presents live and historical data in the web UI, and uploads readings to configured weather services. WiFi setup and persistent configuration support operation; the README also describes logging and history retention. The firmware source was not excerpted, so its internal divisions and some wiring are represented only where the README explicitly documents them; the dashboard assets are present as compressed files.
Main entry points: ESP32-Weather-Station.ino Station firmware · index.html.gz Dashboard UI · update.js.gz Live charts and controls · style.css.gz Responsive styling
Components 16
Device firmware
- Station firmware
ESP32-Weather-Station.ino - Status LED patterns
extra.h - Local WiFi and setup portal
Web dashboard
- Dashboard UI
data/index.html.gz - Live charts and controls
data/update.js.gz - Responsive styling
data/style.css.gz
Device persistence
- Filesystem utilities
utilities.h - WiFi and API configuration
data/config.json - Persistent UI state
data/varVals.json - Logs and raw history
data
Sensors and services
- Weather and power sensors
- Windy
- Wunderground
- ThingSpeak
- MQTT and Home Assistant
Other components
- Station operator
Connections 14
- Station operator → Dashboard UI: uses
README.md - Weather and power sensors → Station firmware: provides readings
README.md - Station firmware → Dashboard UI: serves
README.md - Dashboard UI → Live charts and controls: loads
README.md - Dashboard UI → Responsive styling: uses styling
README.md - Live charts and controls → Station firmware: exchanges WebSocket data
README.md - Station firmware → WiFi and API configuration: persists configuration
README.md - Station firmware → Persistent UI state: persists UI state
README.md - Station firmware → Logs and raw history: stores logs and history
README.md - Station firmware → Local WiFi and setup portal: connects or starts portal
README.md - Station firmware → Windy: uploads readings
README.md - Station firmware → Wunderground: uploads readings
README.md - Station firmware → ThingSpeak: uploads readings
README.md - Station firmware → MQTT and Home Assistant: publishes readings
README.md