Hi everyone I need help regarding error that I encountered. I bought a weather station kit which required me to compile and upload weatherstationdemo from ESP8266 weather station example. However I cant verify it . It said error as below:
It stated about Aeris Forecast but I only want to use ThingSpeak and OpenWeatherMap Api in my project
Arduino: 1.8.4 (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Disabled (new aborts on oom), Disabled, All SSL ciphers (most compatible), 32KB cache + 32KB IRAM (balanced), Use pgm_read macros for IRAM/PROGMEM, 4MB (FS:2MB OTA:~1019KB), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"
C:\Users\User\Documents\Arduino\libraries\ESP8266_Weather_Station\src\AerisForecasts.cpp: In member function 'void AerisForecasts::doUpdate(AerisForecastData*, String, uint8_t)':
C:\Users\User\Documents\Arduino\libraries\ESP8266_Weather_Station\src\AerisForecasts.cpp:49:13: error: call to 'HTTPClient::begin' declared with attribute error: obsolete API, use ::begin(WiFiClient, url)
49 | http.begin(url);
| ~~~~~~~~~~^~~~~
exit status 1
Error compiling for board NodeMCU 1.0 (ESP-12E Module).
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.