Skip to content

Arduino library to fetch weather forecasts from OpenWeatherMap

License

Notifications You must be signed in to change notification settings

MacGnG/OpenWeather

 
 

Repository files navigation

RP2040 Nano Connect, ESP8266 and ESP32 OpenWeather client

Arduino client library for https://openweathermap.org/

Collects current weather plus daily forecasts.

Requires the JSON parse library here: https://github.com/Bodmer/JSON_Decoder

The OpenWeather_Test example sketch sends collected data to the Serial port for API test. It does not not require a TFT screen and works with RP2040 Nano Connect, ESP32 and ESP8266.

The TFT_eSPI_OpenWeather_LittleFS example works with the RP2040 Nano Connect, ESP32 and ESP8266 and uses LittleFS, it displays the weather data on a TFT screen.

The TFT_eSPI_Weather example works with the ESP8266 and ESP32 only and uses SPIFFS, it displays the weather data on a TFT screen.

The RP2040 Nano Connect must be used with Earle Philhower's board package: https://github.com/earlephilhower/arduino-pico

These examples use anti-aliased fonts and newly created icons:

Weather isons

Latest screen grabs:

TFT screenshot 1

About

Arduino library to fetch weather forecasts from OpenWeatherMap

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 80.2%
  • C 19.8%