Skip to content

Weather precipitation graph using Lilygo T5 2.13" ESP32 E-paper screen

Notifications You must be signed in to change notification settings

kamerat/Epaper-Rain-Graph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lilygo-T5 Rain Graph

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.

drawing

Hardware Requirements

Software Setup

  1. Install VS Code

  2. Install PlatformIO IDE extension for VS Code

  3. Clone this repository

  4. Create a src/config.h file based on the provided src/example.config.h

  5. Open the project in VS Code:

    • File > Open Folder > Select the project folder
    • PlatformIO will automatically install all required dependencies defined in platformio.ini
  6. 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
  7. Build and Upload:

    • Click the PlatformIO "Upload" button
    • Select the appropriate port when prompted

Usage

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.

Development

The project uses PlatformIO for dependency management and building. Key dependencies include:

  • QRcodeDisplay
  • Adafruit GFX Library
  • GxEPD2
  • WiFiManager
  • ArduinoJson
  • Time

Contributing

Feel free to open issues or submit pull requests to improve this project.

License

This work is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International

Attributions

  • Weather data provided by the Norwegian Meteorological Institute. Used under the CC BY 4.0 license.

About

Weather precipitation graph using Lilygo T5 2.13" ESP32 E-paper screen

Resources

Stars

Watchers

Forks

Packages

No packages published