-
-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
brightsky in Arduino/ESP8266 environment #159
Comments
Hi @MHz000, thanks for reaching out! I edited your post to fix the code highlighting. Could you please paste the output from your Serial Monitor? Additionally, could you please try with this URL (which returns less data): Thanks! |
Hi jdemaeyer, my program output (original URL): Waiting 2min before the next round... thanks for fast response |
Sorry, that was badly formatted on my part. The question mark is not part of the URL, it should end with Could you add the following code directly above Serial.println("content-length: %i\n", https.getSize()); Then retry running the code both with your original URL and with the new URL, and paste the serial monitor content? |
Hi Jakob, While |
Could you please please try with the other URL to see if this is related to the response size? ;) |
https://api.brightsky.dev/current_weather?lat=52&lon=7.6 and correct payload.length as well payload output :-)) |
My guess is that there is not enough memory available to fit the response (see esp8266/Arduino#4603). This thread on the Arduino forum might be of help to you: https://forum.arduino.cc/t/https-getstring-returns-empty-string/1148362 I'm closing this as it's not a Bright Sky issue, but feel free to keep posting. :) Note that there is a related discussion about adding Bright Sky parameters to reduce the response size: #135 |
Thank you Jakob for your commitment to solving Arduino problems too. |
No sweat at all, my pleasure :) A small correction: The alternative URL I gave you does not (only) omit the Probably the simplest solution (for now) if you're looking for past or forecasted weather (i.e., if you want to use the |
Thank you Jdemaeyer for the great undertaking of providing the DWD weather data in a user-friendly format.
However, I'm running into a problem retrieving the data from my "hobby" environment. When I contact the brightsky server I get a 0-string in response :-((
Who is responsible? My program or the server? If I query the "https://www.howsmyssl.com/a/check" server with my program I get a correct answer. On the other hand, I believe that you and others have tested Brightsky very carefully.
It would be great if you or one of your colleagues could test my program. I am attaching the code. It would be just as good if someone would post a working example for the Arduino/ESP8266. I'm definitely not the only one who is interested in this.
Thank you
The text was updated successfully, but these errors were encountered: