Skip to content

An ESP32 and a 2.9" or 4.2" ePaper Display reads Weather Underground and displays the weather

Notifications You must be signed in to change notification settings

andymule/ESP32-e-Paper-Weather-Display

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESP32-e-Paper-Weather-Display

An ESP32 and a 2.9" ePaper Display reads Weather Underground and displays the weather

THERE ARE TWO SETS OF INSTRUCTIONS HERE: WU and OWM

Download the software and install all 3 files in the same sketch folder.

WEATHERUNDERGROUND VERSION

  1. ESP32_WU_Current_Forecast_XX_epaper_vX
  2. credentials.h
  3. ArialRounded.h

Install the libraries required via the Arduino IDE Library Manager, by:

Go to Sketch > Include Library... > Manage Libraries.... Then, for each library, put its name into the text field to have its metadata pulled from the internet and displayed below. Select the latest version and install it. Make sure to come back to this dialog from time to time to keep each library up to date. Also make sure that you only have one version of each of the libraries installed.

  1. 'Mini Grafx' by Daniel Eichhorn
  2. 'ESP8266 WeatherStation' by Daniel Eichhorn (required for additional fonts)

Edit the Credentials tab and enter your network SSID and password in the variable assignment places provided.

Adjust your Country and Town location. You need to select the correct country and city in the Credentials tab.

  1. Find your country here: https://www.wunderground.com/weather-by-country.asp

  2. Click on your Country and then it shows you all available City's that WU has data for, there are a lot...

  3. Or you can browser the Weather Underground map and choose a station from on the map. There are many PWS too that increase the volume of data available.

Go to the Main tab and choose your Units display format, set to either 'M' for Metric or 'I' for Imperial

Go to the time Setup function near the end of the programme and adjust your time zone to suit your location, there is a link to the list of avialable time zones.

UK is typically 'GMT0BST,M3.5.0/01,M10.5.0/02' the 5 denotes the last Sunday in the month of 3 which is March and 10 October

OPEN WEATHER MAP VERSION

Go to Sketch > Include Library... > Manage Libraries.... Then, for each library, put its name into the text field to have its metadata pulled from the internet and displayed below. Select the latest version and install it. Make sure to come back to this dialog from time to time to keep each library up to date. Also make sure that you only have one version of each of the libraries installed.

'Mini Grafx' by Daniel Eichhorn 'ESP8266 WeatherStation' by Daniel Eichhorn (required for additional fonts) Download the software and install all 3 files in the same sketch folder.

  1. ESP32_OWM_Current_Forecast_29_epaper_vX always choose the latest version ESP32_OWM_Current_Forecast_42_epaper_vX always choose the latest version ESP32_OWM_Current_Forecast_75_epaper_vX always choose the latest version

  2. owm_credentials2.h

  3. ArialRounded.h

Obtain your OWM API key - it's free

  1. Edit the owm_credentials2.h file in the IDE (TAB at top of IDE) and change your Language, Country, choose your units Metric or Imperial and be sure to find a valid weather station location on OpenWeatherMap, if your display has all blank values your location does not exist!.

OPEN WEATHER MAP VERSION - STREAMING JSON

This version requires *** Arduino JSON v6 or above *** it streams the Openweather and processes the data as received, rather than downloading all the data first, then decoding it. It uses a lot less memory this way.

Go to Sketch > Include Library... > Manage Libraries.... Then, for each library, put its name into the text field to have its metadata

Compile and upload the code - Enjoy!

alt text

About

An ESP32 and a 2.9" or 4.2" ePaper Display reads Weather Underground and displays the weather

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 73.0%
  • C 27.0%