Retrieving weather data takes 8 minutes #310
Unanswered
michaeloconnor1717
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to use this API to retrieve weather forecast via an HTTPS request from an ESP8266 using the Arduino IDE.
While it gets the JSON pretty quickly it things seems to keep receiving data from the request for 8 more minutes but does not display or show any data being returned.
I know that the esp8266 can handle these requests as I have done similar things, so i am hoping i am just not understanding the proper way to make a forecast request.
One thing to note is that no where in the program is it supposed to send a blank line to the terminal every 5 seconds, which is essentially whats happening for 8 minutes, and thats why i wanted to see if I am incorrectly calling the request.
Let me know if theres more information I can provide to clarify anything.
TLDR version
here's the simplified version of the request I'm using:
api.weather.gov/gridpoints/LZK/49,94/forecast
and its taking a really long time
Esp8266 Code
Serial Output
Beta Was this translation helpful? Give feedback.
All reactions