GET Weather data with your ESP32 for FREE
HTML-код
- Опубликовано: 6 фев 2025
- Use your ESP32 to GET weather data from the internet data. The example here shows how to get weather data from the National Weather Service. Steps shown are how to get your locations grid points, daily weather forecast, and how to extract information "hack" from the sites JSON reply. The general process is to send a special URL and use a GET method to ask for JSON data. Parse the JSON string to retrieve desired data.
Get the project source code at:
github.com/Kri...
WOW!! I am getting back into Arduino and this is blueprint to help me. Thanks!
Great, keep inventing!
the one im looking for, :) do you have AQI?
Perfect. Great Job sir.
Many thanks!
Can this API extract real time temperature data from ASOS stations?
Possibly, this code requires a dedaicated ESP32 to build and update a webpage, how you get the data will require a separate MCU. You would most likely have to have a second ESP32 that gets or pings weather services to get data, then that data needs to be sent to the ESP32 that is managing the web page. I've done something similar in the past where on ESP was connected to the internet and getting data from a server, then sending that data (XML) the the first ESP32 for web page updating. Connection between ESP's was the I2C bus.
Great! Thanks for your video
Glad you liked it!
Awesome. ❤️❤️❤️
Thank you! Cheers!
One more best from you.🙌 I am getting this compiling Error: avr/dtostrf.h: No such file or directory Please help.
in the FlickerFreePrint.h, comment out line 49 so it's like this
// #include
Thank you for your help, I tried it, then compiled smoothly.