Hi Gary! Thank you very much for the update and for making it available to us. My clocks so far have worked well with Open Weather but I'm going to do this update. It's strange that Open Weather is not explicitly warning about this API that will be discontinued, hundreds of projects use this service.
It's on their website, an email did go out but I never received one. Someone who built the clock forwarded me the email. It explains why the past few months the clock was getting a lot of http 400 errors. They also changed the 2.5 API for some reason and broke it, if your city had spaces in the name it would not work, you had to replace the spaces with a + sign. Going forward the code is a lot more flexible now, I can change the weather or web code very easily. Here is the link to the depreciated 2.5 call openweathermap.org/api/one-call-api
I agree a lot of devices use that API call and it's going to be dust storm when they pull the plug on it. I still don't know if it's happening on June 1 or June 30th.
Hi! I updated one of the clock's today and it's working fine. When compiling, the ESPAsyncTCP and UDP libraries were requested. They are not present in the Google package. Very good, the dim mode is really needed if the clock is in the bedroom!!!
Hi Gary. Thank you for the awesome clock. I am facing little issue. I am from India. And my time zone is +5:30. So what do I enter. I tried entering 5.3 In serial monitor it is showing ntp time 30min behind my time. How do I fix this. More over there is no wether info showing in the monitor. It says no wether info found Also please help if this will work with P4 led matrix. What changes do i need to make to make it work with P4 board
The library I use NTPClient does support time zones with 30 minute adjustments. What you need to do is manually edit the NTPClientLib.cpp, line 100. (_minutesOffset = minutes;). Try changing that to _minutesOffset = 30; Then recompile. Someone else had mentioned that to me and I believe he said it worked. The P4 board question, I am not a hardware guy. That code was Harry's, I'm not sure how or what the differences are with these LED boards.
@@GaryQuiring Thank you Gary for your suggestion, i did the changes with the NTPClientLib.cpp line 100 and now it looks like it is ok, however i am not able to get any wether updates for the location i privided kindly help to fix this 20:57:31.675 -> 20:57:31.675 -> 20:57:32.117 -> Weather: Unable to retrieve JSON data 20:57:37.884 -> Writing config file .... 20:57:37.943 -> Finished writing config 20:57:38.014 -> ���y�Setup begin 20:57:39.362 -> Trying WiFi Connect:George_2876 20:57:39.400 -> .........success! 20:57:43.533 -> IP Address is: 192.168.1.3 20:57:43.698 -> Reading data from: api.open-meteo.com 20:57:43.891 -> HTTP/1.1 200 OK 20:57:43.891 -> Date: Sun, 14 Jul 2024 15:27:45 GMT 20:57:43.953 -> Content-Type: application/json; charset=utf-8 20:57:44.005 -> Transfer-Encoding: chunked 20:57:44.026 -> Connection: close 20:57:44.026 -> 20:57:44.026 -> 215 20:57:44.026 -> 20:57:44.513 -> TimeZone for NTP.Begin:+5.3 20:57:44.545 -> Got NTP time: 00:00:00 00/00/1970 20:57:46.052 -> Time Sync error: NTP server not reachable 20:57:58.997 -> Got NTP time: 00:00:00 01/01/1970 20:57:59.228 -> Got NTP time: 20:58:00 14/07/2024 20:57:59.544 -> 24h Sync Enabled 21:00:30.830 -> Reading data from: api.open-meteo.com 21:00:31.387 -> HTTP/1.1 200 OK 21:00:31.387 -> Date: Sun, 14 Jul 2024 15:30:32 GMT 21:00:31.387 -> Content-Type: application/json; charset=utf-8 21:00:31.387 -> Transfer-Encoding: chunked 21:00:31.387 -> Connection: close 21:00:31.387 -> 21:00:31.387 -> 215 21:00:31.387 ->
The problem is the field in the upper left (Wind/Humidity) has room for 4 characters. The pressure field is usually 5-6 characters plus a symbol to indicate what it is. It won't fit there.
It's probably doable, there is a library for the DTH11 sensor. D3 is not being used on this project so the sensor could be hooked up to it. The problem is where to display that additional data. It would have to flip/flop between the internet weather data and the in-house data on the display and some sort of indicator would have to show what data it's displaying - indoor or internet.
Hi Gary! Thank you very much for the update and for making it available to us. My clocks so far have worked well with Open Weather but I'm going to do this update. It's strange that Open Weather is not explicitly warning about this API that will be discontinued, hundreds of projects use this service.
It's on their website, an email did go out but I never received one. Someone who built the clock forwarded me the email. It explains why the past few months the clock was getting a lot of http 400 errors. They also changed the 2.5 API for some reason and broke it, if your city had spaces in the name it would not work, you had to replace the spaces with a + sign.
Going forward the code is a lot more flexible now, I can change the weather or web code very easily.
Here is the link to the depreciated 2.5 call
openweathermap.org/api/one-call-api
I agree a lot of devices use that API call and it's going to be dust storm when they pull the plug on it. I still don't know if it's happening on June 1 or June 30th.
Hi! I updated one of the clock's today and it's working fine. When compiling, the ESPAsyncTCP and UDP libraries were requested. They are not present in the Google package.
Very good, the dim mode is really needed if the clock is in the bedroom!!!
@@andrelmarto Did you download the updated Google Drive package? The link changed with the new version.
I think so... line 124.
Tomorrow I'll check.
Hi Gary. Thank you for the awesome clock.
I am facing little issue. I am from India. And my time zone is +5:30. So what do I enter.
I tried entering 5.3
In serial monitor it is showing ntp time 30min behind my time. How do I fix this.
More over there is no wether info showing in the monitor. It says no wether info found
Also please help if this will work with P4 led matrix. What changes do i need to make to make it work with P4 board
The library I use NTPClient does support time zones with 30 minute adjustments. What you need to do is manually edit the NTPClientLib.cpp, line 100. (_minutesOffset = minutes;). Try changing that to _minutesOffset = 30; Then recompile. Someone else had mentioned that to me and I believe he said it worked.
The P4 board question, I am not a hardware guy. That code was Harry's, I'm not sure how or what the differences are with these LED boards.
@@GaryQuiring Thank you Gary for your suggestion, i did the changes with the NTPClientLib.cpp line 100 and now it looks like it is ok,
however i am not able to get any wether updates for the location i privided kindly help to fix this
20:57:31.675 ->
20:57:31.675 ->
20:57:32.117 -> Weather: Unable to retrieve JSON data
20:57:37.884 -> Writing config file ....
20:57:37.943 -> Finished writing config
20:57:38.014 -> ���y�Setup begin
20:57:39.362 -> Trying WiFi Connect:George_2876
20:57:39.400 -> .........success!
20:57:43.533 -> IP Address is: 192.168.1.3
20:57:43.698 -> Reading data from: api.open-meteo.com
20:57:43.891 -> HTTP/1.1 200 OK
20:57:43.891 -> Date: Sun, 14 Jul 2024 15:27:45 GMT
20:57:43.953 -> Content-Type: application/json; charset=utf-8
20:57:44.005 -> Transfer-Encoding: chunked
20:57:44.026 -> Connection: close
20:57:44.026 ->
20:57:44.026 -> 215
20:57:44.026 ->
20:57:44.513 -> TimeZone for NTP.Begin:+5.3
20:57:44.545 -> Got NTP time: 00:00:00 00/00/1970
20:57:46.052 -> Time Sync error: NTP server not reachable
20:57:58.997 -> Got NTP time: 00:00:00 01/01/1970
20:57:59.228 -> Got NTP time: 20:58:00 14/07/2024
20:57:59.544 -> 24h Sync Enabled
21:00:30.830 -> Reading data from: api.open-meteo.com
21:00:31.387 -> HTTP/1.1 200 OK
21:00:31.387 -> Date: Sun, 14 Jul 2024 15:30:32 GMT
21:00:31.387 -> Content-Type: application/json; charset=utf-8
21:00:31.387 -> Transfer-Encoding: chunked
21:00:31.387 -> Connection: close
21:00:31.387 ->
21:00:31.387 -> 215
21:00:31.387 ->
Hey, it is possible to add pressure from weather services.
The problem is the field in the upper left (Wind/Humidity) has room for 4 characters. The pressure field is usually 5-6 characters plus a symbol to indicate what it is. It won't fit there.
Hi Gary Quiring, is it possible to add a DTH11 temperature sensor? to see the temperature in the house.
It's probably doable, there is a library for the DTH11 sensor. D3 is not being used on this project so the sensor could be hooked up to it. The problem is where to display that additional data. It would have to flip/flop between the internet weather data and the in-house data on the display and some sort of indicator would have to show what data it's displaying - indoor or internet.
@@GaryQuiring switched with the weather on the Internet, and the letter C served as an indicator, it was possible without it
very nice 👍👍
😍😍😍
ОТЛИЧНО