sfrwmaker / openweathermap.org-ESP8266

ESP8266 parsing library for openweathermap.org site
17 stars 11 forks source link

Reading and parsing takes long time #2

Open petus opened 3 years ago

petus commented 3 years ago

Hi, I would like to report the reading adn parsing takes very long time. See the output of serial 22:02:45.684 -> Current Conditions: 22:03:12.227 -> Latitude & Longtitude: <37.62 55.75> @20:54 03-11-2020: icon: 04n, temp.: 8.03, press.: 1026 22:03:12.227 -> Five days forecast: 22:04:20.648 -> Entries: 40

The time between Current conditions and Latitude is almost 45s.

Is it usual? The same is for forecast. I used your example code.

Thanks a lot, Petr

mxkmn commented 3 years ago

Hi, Please check my library, which can get weather in 250-1800ms (depends on the type and security). https://github.com/mxkmn/OWM_for_ESP