Comments on: ESP8266 NodeMCU HTTP GET with Arduino IDE (OpenWeatherMap.org and ThingSpeak) https://randomnerdtutorials.com/esp8266-nodemcu-http-get-open-weather-map-thingspeak-arduino/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Sun, 22 Jan 2023 02:08:09 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: John Tech https://randomnerdtutorials.com/esp8266-nodemcu-http-get-open-weather-map-thingspeak-arduino/#comment-812091 Sun, 22 Jan 2023 02:08:09 +0000 https://randomnerdtutorials.com/?p=96921#comment-812091 In reply to John Tech.

I was reading through the comments and found the answer.
Serial.print(myObject[“weather”][0][“description”]);

]]>
By: John Tech https://randomnerdtutorials.com/esp8266-nodemcu-http-get-open-weather-map-thingspeak-arduino/#comment-812087 Sun, 22 Jan 2023 01:48:09 +0000 https://randomnerdtutorials.com/?p=96921#comment-812087 I am working on the openweather project on an ESP32 and have figured out how to get most of the data to print out. The one set of data I can not get is the Clouds: “description:” to print out.

“weather”: [
{
“id”: 804,
“main”: “Clouds”,
“description”: “overcast clouds”, <<<<<<<<<<<
“icon”: “04n”
}

I have tried
Serial.print(myObject[“description”]);
Serial.print(myObject[“weather”][“description”]);
Serial.print(myObject[“weather”][“main”][“description”]);

Any help to be able to get the Clouds description to

]]>
By: Lydia https://randomnerdtutorials.com/esp8266-nodemcu-http-get-open-weather-map-thingspeak-arduino/#comment-739349 Sun, 17 Apr 2022 21:07:45 +0000 https://randomnerdtutorials.com/?p=96921#comment-739349 Hi please i want the temperature with celsius how can I do it?

]]>
By: Jeff Noblet https://randomnerdtutorials.com/esp8266-nodemcu-http-get-open-weather-map-thingspeak-arduino/#comment-730697 Tue, 08 Mar 2022 05:11:43 +0000 https://randomnerdtutorials.com/?p=96921#comment-730697 The example for open weather worked great. So glad you’re sharing your knowledge and experience. Wish I had read all the comments. I spent too long figuring out the array in json data.

]]>
By: Eddy https://randomnerdtutorials.com/esp8266-nodemcu-http-get-open-weather-map-thingspeak-arduino/#comment-698256 Sun, 14 Nov 2021 12:36:38 +0000 https://randomnerdtutorials.com/?p=96921#comment-698256 In reply to Sara Santos.

Thanks for the link.

]]>
By: Sara Santos https://randomnerdtutorials.com/esp8266-nodemcu-http-get-open-weather-map-thingspeak-arduino/#comment-698247 Sun, 14 Nov 2021 11:49:42 +0000 https://randomnerdtutorials.com/?p=96921#comment-698247 In reply to Eddy.

Hi.
We only have this tutorial about LED Matrix: https://randomnerdtutorials.com/guide-for-8×8-dot-matrix-max7219-with-arduino-pong-game/
Regards,
Sara

]]>
By: Eddy https://randomnerdtutorials.com/esp8266-nodemcu-http-get-open-weather-map-thingspeak-arduino/#comment-697942 Sat, 13 Nov 2021 12:05:29 +0000 https://randomnerdtutorials.com/?p=96921#comment-697942 Is there a Tuto on how to get these weather informations displayed as scrolling text using a led matrix?
Thanks

]]>
By: moon https://randomnerdtutorials.com/esp8266-nodemcu-http-get-open-weather-map-thingspeak-arduino/#comment-643435 Fri, 09 Jul 2021 06:09:30 +0000 https://randomnerdtutorials.com/?p=96921#comment-643435 In reply to Paul Gillot.

thanks, I spent lots of time to find it.

]]>
By: Dan Goneau https://randomnerdtutorials.com/esp8266-nodemcu-http-get-open-weather-map-thingspeak-arduino/#comment-636030 Sat, 26 Jun 2021 01:36:03 +0000 https://randomnerdtutorials.com/?p=96921#comment-636030 I found my answer!

to access the sub items under “weather”, just do:
Serial.println(myObject[“weather”][0][“id”]);

I never would have guessed [0]..

]]>
By: Sara Santos https://randomnerdtutorials.com/esp8266-nodemcu-http-get-open-weather-map-thingspeak-arduino/#comment-627837 Mon, 14 Jun 2021 09:22:50 +0000 https://randomnerdtutorials.com/?p=96921#comment-627837 In reply to Edward Veitch.

Hi.
There was an update on the HTTPClient library. If the issue is related with that, this is what you need to change:

old:

HTTPClient http;
http.begin(serverName);

new:

WiFiClient client;
HTTPClient http;
http.begin(client, serverName);

I hope this helps.
Regards,
Sara

]]>