jantenhove / GoodWeLogger

ESP8266 based logger for GoodWe inverters. Can upload to pvoutput and publishes MQTT topics
GNU General Public License v3.0
98 stars 24 forks source link

Compilation error: call to 'HTTPClient::begin' declared with attribute error: obsolete API, use ::begin(WiFiClient, url) #38

Open jossie67 opened 1 year ago

jossie67 commented 1 year ago

Hi,

I have an issue with compling. "Compilation error: call to 'HTTPClient::begin' declared with attribute error: obsolete API, use ::begin(WiFiClient, url)" I'm using a "LOLIN(WEMOS) D1 R2 & mini" i think I'm making some misstake , I not so familiar witk Arduino, I 'm using Ardino IDE 2.0.1

Ev15 commented 1 year ago

Hi, in your board manager go to ESP8266 2.7.4 and this will fix this error. I had to downgrade from version 3.0.1. Good luck.

jossie67 commented 1 year ago

Thanks I will try your tip