Weather precipitation graph using Lilygo T5 2.13" ESP32 E-paper screen. This project displays a precipitation forecast for the next 90 minutes using data from YR.no.
-
Install VS Code
-
Install PlatformIO IDE extension for VS Code
-
Clone this repository
-
Create a
src/config.h
file based on the providedsrc/example.config.h
-
Open the project in VS Code:
- File > Open Folder > Select the project folder
- PlatformIO will automatically install all required dependencies defined in
platformio.ini
-
Customize your configuration in
src/config.h
:- Modify the
USER_AGENT
and add a link to your GitHub profile to properly authenticate with YR.no - Set
SHOW_GRAPH_ON_NO_PRECIPITATION
to liking - Set
SHOW_BATTERY_INDICATOR
to liking
- Modify the
-
Build and Upload:
- Click the PlatformIO "Upload" button
- Select the appropriate port when prompted
Once uploaded, the device will prompt you to connect to Wi-Fi. Once connected, it will fetch precipitation data from YR.no, and display a graph showing the precipitation forecast for the next 90 minutes.
The project uses PlatformIO for dependency management and building. Key dependencies include:
- QRcodeDisplay
- Adafruit GFX Library
- GxEPD2
- WiFiManager
- ArduinoJson
- Time
Feel free to open issues or submit pull requests to improve this project.
This work is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International
- Weather data provided by the Norwegian Meteorological Institute. Used under the CC BY 4.0 license.