Integrated-Project-2-2024-UVic-UCC / organic-weather

Anti puzzle machine
GNU General Public License v2.0
0 stars 1 forks source link

Reading city forecast #26

Closed Enric1Vic closed 1 month ago

Enric1Vic commented 1 month ago

This is an alternative way from reading the city forecast. The telegram bot had some issues. From OpenWeatherMap we can call an instructions that returns the city forecast. From this task has two steps:

-Achieve the ESP32 call this webpage instruction

Enric1Vic commented 1 month ago

Search information on how to read and publish information of city weather-forecast

davidvega2001 commented 1 month ago

The program uses the OpenWeatherMap webpage, with a particular API key. The esp do a call for this API with the httpclient library, receive a JSON file and deserialitzes it. Next upgrades could be: