-
Notifications
You must be signed in to change notification settings - Fork 47
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
Hour jumping #8
Comments
I have been facing that issue for some time. What did you change to correct it? |
I am facing this issue too. For example between 19:25 and 19:26 there seems to be a difference of 1 hour in displayed time. |
we debugged the time.cpp and found that the time zone query changes between 0 and 3600. the HTTP return is sometimes incorrect. So we changed the void loop() and set a fix time in seconds "void Time::loop() { int h = Time::ntpClient.getHours(); if(m != Time::minute) {
} |
Do you use the stable version (4.0.1) or the master branch? |
I have the same problem with the master branch 4.0.1. But i think, only when i have activate the automatic time zone. |
I can only download one branch from here. So I took this branch |
Hi, I had the same issue a while ago. Back then it was jumping between 0 and 7200 because of the daylight saving time. I fixed it that I did not use 0 as a fallback for the timezone, but using the last known timezone if we get a bad response from the time zone provider. I created a pull-request #10 , you might want to look into it ;) |
This might be only an issue for the master branch. The release 4.0.1 does not have automatic timezones. I'll check the #10 pull-request. |
where can i download 4.0.1 ? |
thank you for your great work |
In Master-Branch the Option "Automatische Zeitzone" is reset to "Aktiv" after set "Inaktiv" and coldstart ESP. |
i can confirm that, but the automatic will work fine with the last changes from ibrot. |
"Automatische Zeitzone" for me in germany is not working.. offset is not correct. Also Manual offset is not working. |
I can send you a ready to flash bin to test it out. wordclock.ino.d1_mini.bin_11x11_de_DE_Gridfirst2_gridsingleminute1.zip |
also with this one the automatic modus ist still one hour wrong.. edit: it still jumps |
With this version there is no automatic mode. It isn't wrong, it is fixed to a special timezone. The webinterface has to ne changed too With this time.cpp. |
pls have a look at #9 (comment) and you have to delete line 31-34 in your code, insert line "Time::ntpClient.setTimeOffset(3600);" also to setup in time.cpp |
I think I found a mistake. I have a grid in Config of 10×11 and DE_alt.
The the hour jumps back and forth between the correct hour and an hour before. every two minutes
The text was updated successfully, but these errors were encountered: