A best ever project on OLED Weather station. This is very versatile and displays a whole lot of weather data. Thanks for posting it and expect some more unique projects from you. With Great Regards.
Hi, I was able to solve the error 401 issue, and now my weather station is working great as described in the video. To get it work, you need to: First - Subscribe to One Call API 3.0 using your credit card info. It won't charge you anything until you use more than 1000 calls per day. Second - Scroll down to section "Get current weather data and weather forecast data for the following days", and in the line that says - "String current_forecast_serverpath =", change "...data/2.5/oncall..." to "...data/3.0/oncall...". So just change the number 2.5 to 3.0. That's it. Everything will start working as intended. Have fun 😄👍
Awesome tutorial! I absolutely loved doing this project. Right now I'm working on rewiring my 3d printer but when its finished I am excited to model up and print a case for this to keep on my desk in my home office.
Hi im getting all time error when compile In function 'void Set_Time_and_Date()': error: 'gmtime' was not declared in this scope struct tm *ptm = gmtime ((time_t *)&epochTime); error: invalid use of incomplete type 'struct tm' monthDay = ptm->tm_mday; exit status 1 'gmtime' was not declared in this scope Any help thanks a lot
Hi. I'm trying to repeat your project. When compiling the second part of the sketch in Arduino IDE 1.8.13 I get an error: http.begin(serverName); | ~~~~~~~~~~^~~~~~~~~~~~ exit status 1 call to 'HTTPClient::begin' declared with attribute error: obsolete API, use ::begin(WiFiClient, url) Please tell me how to fix it?
Quite a number of viewers have experienced this error message, but I've never experienced it. I'm still looking for the cause of the error message appearing. The only solution I can suggest is to install or use the esp8266 version on the Arduino IDE the same as the version I'm using, which is version 2.7.4 (esp8266 version on the board manager). If you followed my advice, try giving feedback on whether it worked.
@@utehstr Thanks for the quick response. It really worked, I replaced in my second Arduino IDE 1.8.5 in the ESP8266 board manager version 3.0.0. with 2.7.4. as you advised and the sketch compilation went without errors. Everything worked just like your video. I saw a solution for a similar error here: stackoverflow.com/questions/67702822/error-call-to-httpclientbegin-declared-with-attribute-error-obsolete-api But I don't understand how to use it in my case. Maybe you have more programming experience and will be able to figure it out. Thank you very much again.
@Abra Kadabra Thank you for the feedback you provided. That's very helpful. For the link you provided, I'll try it later. Thanks again 👍. I ask permission to share your feedback for other viewers who get the error message like you are experiencing.
I am getting this error when compile the code? Anyone help me please? call to 'HTTPClient::begin' declared with attribute error: obsolete API, use ::begin(WiFiClient, url)
Everything works for me, but I get error 401 and the current weather wont dispaly. I tried to generate a new API, but the problem is still there. Can you help me?
This project is an old project, about 2 years ago, maybe some "OpenWeatherMap API" rules have changed, I will check later. In the meantime maybe you can read the guide document "OpenWeatherMap API" to solve your problem.
@@sebastiancojuharii5958 from openwethaer faq said : You can get the error 401 in the following cases: You did not specify your API key in API request. Your API key is not activated yet. Within the next couple of hours, it will be activated and ready to use.
Per line of code - struct timelib_tm tinfo; //--> Structure that holds human readable time information; writes - Code:135:19: error: aggregate 'timelib_tm tinfo' has incomplete type and cannot be defined Code:137:1: error: 'timelib_t' does not name a type; did you mean 'timelib_tm'? Code:220:6: error: redefinition of 'void setup()' What to do?
kak saya kendala di error seperti ini: DynamicJsonBuffer is a class from ArduinoJson 5. Please see arduinojson.org/upgrade to learn how to upgrade your program to ArduinoJson version 6 sudah sy ikuti tutorial downgrade ke 5.13.5 kemudian upgrade namun masih gagal
A nice project !!!!1 i am no expect but i want to try i got this error why?Please can you help me!!!!! no matching function for call to 'NTPClient::NTPClient(WiFiUDP&, const char [13])' thanks in advance Eddy
Thanks to alll my project is working after installing ntpClient.h library but now I need the time in am/pm format someone can help me????thanks in advance Eddy
please fix the openweathermap code cause i tried everything to fix it and it still says 401
A best ever project on OLED Weather station. This is very versatile and displays a whole lot of weather data. Thanks for posting it and expect some more unique projects from you. With Great Regards.
Thank you sir :-)
instablaster.
Hi, I was able to solve the error 401 issue, and now my weather station is working great as described in the video. To get it work, you need to:
First - Subscribe to One Call API 3.0 using your credit card info. It won't charge you anything until you use more than 1000 calls per day.
Second - Scroll down to section "Get current weather data and weather forecast data for the following days", and in the line that says - "String current_forecast_serverpath =", change "...data/2.5/oncall..." to "...data/3.0/oncall...". So just change the number 2.5 to 3.0.
That's it. Everything will start working as intended. Have fun
😄👍
Awesome tutorial! I absolutely loved doing this project. Right now I'm working on rewiring my 3d printer but when its finished I am excited to model up and print a case for this to keep on my desk in my home office.
Can you make a updated video because we get 401 error
Hi im getting all time error when compile
In function 'void Set_Time_and_Date()':
error: 'gmtime' was not declared in this scope
struct tm *ptm = gmtime ((time_t *)&epochTime);
error: invalid use of incomplete type 'struct tm'
monthDay = ptm->tm_mday;
exit status 1
'gmtime' was not declared in this scope
Any help thanks a lot
I did it!!! Everything worked for me!!!Thank you dear friend to you!!!
Good work 👍
You're welcome 🙂
could you update the project to include esp8266 with built on OLED???
same here
Hi.
I'm trying to repeat your project.
When compiling the second part of the sketch in Arduino IDE 1.8.13 I get an error:
http.begin(serverName);
| ~~~~~~~~~~^~~~~~~~~~~~
exit status 1
call to 'HTTPClient::begin' declared with attribute error: obsolete API, use ::begin(WiFiClient, url)
Please tell me how to fix it?
Quite a number of viewers have experienced this error message, but I've never experienced it. I'm still looking for the cause of the error message appearing. The only solution I can suggest is to install or use the esp8266 version on the Arduino IDE the same as the version I'm using, which is version 2.7.4 (esp8266 version on the board manager). If you followed my advice, try giving feedback on whether it worked.
@@utehstr Thanks for the quick response.
It really worked, I replaced in my second Arduino IDE 1.8.5 in the ESP8266 board manager version 3.0.0. with 2.7.4. as you advised and the sketch compilation went without errors. Everything worked just like your video.
I saw a solution for a similar error here:
stackoverflow.com/questions/67702822/error-call-to-httpclientbegin-declared-with-attribute-error-obsolete-api
But I don't understand how to use it in my case.
Maybe you have more programming experience and will be able to figure it out.
Thank you very much again.
@Abra Kadabra Thank you for the feedback you provided. That's very helpful. For the link you provided, I'll try it later. Thanks again 👍.
I ask permission to share your feedback for other viewers who get the error message like you are experiencing.
@@utehstr thanks i fixed with version2.7.4 and i didn't downgrade my arduino IDE.
hello sir, it says error 400 in serial monitor and everything is showing "0", what to do? please help
Пишет: Failed to get weather data. HTTP responce 401.
Где ошибка ?
Is writing:Failed to get weather data. HTTP responce 401.
Where is the error ?
Terima kasih pak🙏
sama-sama 🙂
Omg you have the code I need plus you used millis timing and your from Idaho too , go Vandals
my code is showing zero errors but it is still not giving any output. All the outputs are showing 0. what to do?
Hi, it uploaded successfully but the port display were all zero , only the date normal
Sangat membantu bang semangat selalu
👍🙂
I'm getting error for date and time and in final code screen stucked in Get weather data from open weather
I am getting this error when compile the code? Anyone help me please?
call to 'HTTPClient::begin' declared with attribute error: obsolete API, use ::begin(WiFiClient, url)
me too that
Bang saya juga error disini, kira2 kenapa bang ? HTTPClient::begin' declared with attribute error: obsolete API, use ::begin(WiFiClient, url)
Coba gunakan esp8266 versi 2.7.4 di board manager Arduino IDE. Saya menggunakan versi itu dan gak ada masalah kayak gitu.
Would this work using arduino and normal esp8266 e12 ( not nodemcu) ?
I don't know for sure, I haven't tried it on "normal esp8266 e12".
Can you do one with esp32?
Everything works for me, but I get error 401 and the current weather wont dispaly. I tried to generate a new API, but the problem is still there.
Can you help me?
This project is an old project, about 2 years ago, maybe some "OpenWeatherMap API" rules have changed, I will check later. In the meantime maybe you can read the guide document "OpenWeatherMap API" to solve your problem.
@@utehstr I checked it out but there is nothing that helps, any ideas?
@@sebastiancojuharii5958 from openwethaer faq said : You can get the error 401 in the following cases: You did not specify your API key in API request. Your API key is not activated yet. Within the next couple of hours, it will be activated and ready to use.
Ada yang tahu cara atasi error: redefinition of 'void setup()'? Please help me
I want to ask how to use this code for esp32 because i try it, it always shown error
you need to replace variables..a lot of work to do.
Per line of code -
struct timelib_tm tinfo; //--> Structure that holds human readable time information;
writes -
Code:135:19: error: aggregate 'timelib_tm tinfo' has incomplete type and cannot be defined
Code:137:1: error: 'timelib_t' does not name a type; did you mean 'timelib_tm'?
Code:220:6: error: redefinition of 'void setup()'
What to do?
you need to install the correct library. shown at 6:36 video.
void setup() error
can it be used with an esp8266-01? and what changes in the code? thank you
I take it that you never received a reply? I too would like to use this with an ESP01.
kak saya kendala di error seperti ini:
DynamicJsonBuffer is a class from ArduinoJson 5. Please see arduinojson.org/upgrade to learn how to upgrade your program to ArduinoJson version 6
sudah sy ikuti tutorial downgrade ke 5.13.5 kemudian upgrade namun masih gagal
downgrade ke 5.13.5, jangan diupgrade .
@@utehstr siap sy coba kak
@@hasanetakiwa Ok
Semoga berhasil.
@@utehstr да друг!!! мне это помогло!!!
A nice project !!!!1
i am no expect but i want to try i got this error why?Please can you help me!!!!!
no matching function for call to 'NTPClient::NTPClient(WiFiUDP&, const char [13])'
thanks in advance Eddy
Thanks to alll my project is working after installing ntpClient.h library but now I need the time in am/pm format someone can help me????thanks in advance Eddy
link pls
Hello sir. Can i do this project with 128*64 6 pin oled ?
Hello
Do you mean OLED using SPI interface ?
@@utehstr yeah i mean that :)
Bg mungkin bisa dibuat pembaharuan dari program ini soalnya bagus konsepnya
Mungkin nanti jika saya ada waktu luang, saya akan perbarui kode program atau tutorialnya 🙂
👍👍😍
Thank you 🙂
Can u please explain the code for date and time please
hi, apakah produk yg sdh jadi ini bisa di jual dan bisa di custom ?
Saya sudah balas di DM Instagram.
Nice one
Thank you :-)
@@utehstr please chek instagram inbox message
@@yogeshitaliya473 Ok
please update the code
its working ...
👍
the code is in text format only?
Yes, look at the video for the use of parts of the code.
Medan Indonesia
Itu yang hijau pake module apa mas?
Yang hijau mana ya ? bisa kasi tau di menit ke berapa ?
@@utehstr module board yang dipake sama esp 8266
@@minoriproject4552 itu bkn modul, itu "pcb prototype double sides 5x7".
Bang ini bisa pakai esp8285 ga?
Saya kurang tau, saya belum pernah coba proyek ini di esp8285.
Пишет: Failed to get weather data. HTTP responce 401.
Где ошибка ?
Is writing:Failed to get weather data. HTTP responce 401.
Where is the error ?
please bantu pak, saya mengalami hal yg sama...