This is a simple weather station created for using with my old pwnagotchi display, a Waveshare 2.13 inches e-ink display, and a ESP32 dev board I had laying around.
For compiling and running this project, you will need:
- A USB cable that has data lines - IMPORTANT
- A IDE configured with PlatformIO - VSCode recommended
- ArduinoJson and GxEPD2 libs
First you need to rename the header file config.h.example to config.h and configure the WiFi and API parameters.
For getting a OpenWeatherMap API key, please register at OpenWeatherMap.
Note: you will need to wait up to 2 hours for you API key to be activated!
This project is itended to be power efficient, so it doesn't refreshes every second; that said, the clock will only refresh every 10 minutes and the WiFi will reconnect after every deep sleep cycle, so be sure you have an reliable WiFi connection.
This can be modified with the use of partial refresh in some future implementations. I'm not planning on doing that, so feel free for opening a PR.