# ESP32 Meteomatics 10 Days Weather Forecast on a WeAct Epaper Display

This is the accompanying repository for my article "**Create an Internet Weather Station with 10 days Forecast on an ESP32 with an Epaper Display  (Meteomatics.com)**" available here: https://medium.com/@androidcrypto/create-an-internet-weather-station-with-10-days-forecast-on-an-esp32-with-an-epaper-display-981d52e42880

The tutorial shows how to develop an Internet based Weather Station that displays a **10 days temperature and precipitation forecast** for nearly every place on earth. The weather data is obtained from the **Meteomatics.com Weather API**. They offer a **Free Basic Weather API plan with 15 basic weather parameters** that are enough for our purpose, and the **forecast is a short 1-hour interval**.

![Image 1](./images/esp32_epaper_meteomatics_04_600w.png)

## Required Libraries
````plaintext
GxEPD2 by "ZinggJM" version 1.6.4 (https://github.com/ZinggJM/GxEPD2)
Adafruit-GFX-Library by "Adafruit" version 1.12.1 (https://github.com/adafruit/Adafruit-GFX-Library)
U8G2_FOR_ADAFRUIT_GFX by "olikraus" latest version (https://github.com/olikraus/u8g2/)
````

## Runtime Environment
````plaintext
Arduino 2.3.6 (Windows)
esp32 boards version 3.2.0
For compiling and uploading, I'm using the "ESP32-C3 Dev Module" board
````

## Wiring
````plaintext
Nr name  color   ESP32 pin
1  BUSY  violet  32 
2  RES   orange  33
3  D/C   white   25
4  CS    blue    26
5  SCL   green   27 
6  SDA   yellow  13 ('SDA' terminal is known as 'MOSI')
7  GND   black   GND
8  VCC   red     VCC is 3.3 volt, not 5 volt !
````
Back side of the display:

![Image 2](./images/weact_29_epaper_bw_01_back_600w.png)
