An ESP32 Arduino sketch that fetches live temperature readings from an Ecowitt weather station and displays them on a TFT screen.
The display alternates between indoor and outdoor temperature readings, refreshing weather data from the Ecowitt API every 30 seconds.
Features
- Connects to Wi-Fi from local credentials
- Calls the Ecowitt real-time device API over HTTPS
- Displays indoor and outdoor temperatures in Celsius
- Alternates the display every 5 seconds
- Shows simple status messages while connecting, updating, or handling errors
Hardware
- ESP32-compatible board
- TFT display supported by the
TFT_eSPIlibrary - Ecowitt weather station with API access enabled