ThingPulse / esp8266-weather-station

ESP8266 Weather Station library supporting OpenWeatherMap, Aeris and other sources
MIT License
1.08k stars 363 forks source link

WorldClockClient stoped working #136

Closed rverzinkevicius closed 6 years ago

rverzinkevicius commented 6 years ago

Part below stopped working and is not returning time anymore

WorldClockClient.cpp

// http://api.thingspeak.com/channels/CHANNEL_ID/feeds.json?results=2&api_key=API_KEY const char host[] = "oleddisplay.squix.ch"; String url = "/rest/time";

Matz88 commented 6 years ago

I have solved reverting timeclient.cpp to the old version in which the addresses of the server were with www. in front

squix78 commented 6 years ago

Hi guys

Thank you for this report. Could you please add some more information? Is this about WorldClockClient.cpp or TimeClient.cpp? Can you please add the output from the serial console and explain in more detail how you fixed it?

Thank you so much!

marcelstoer commented 6 years ago

not returning time anymore

This (not mentioning any exceptions or the like) sounds suspiciously like #140 which I now fixed for WorldClockClient.cpp as well in dddb014f7f9bc14ca982099c1b73d1b4cf8ebc79.

rverzinkevicius commented 6 years ago

Hi,

for me issue is that time is not always received in wordclockdemo sketch. After several retries it succeeds.

marcelstoer commented 6 years ago

Works for me with the latest 1.6.4 -> closing