agoodWatch
agoodWatch copied to clipboard
Other timezones
It seems you can only set the time via NTP. But it is 2 hours off as I am here in CEST. How can I change the timezone or manually set the time?
OK ... I noticed there is a define: #define RTC_TIME_ZONE "CEST-2" Now when I synchronize with NTP it shows the correct time. After the screen times out, it shows completely false time. Maybe issue with writing the new NTP time into the RTC??
Yeah... same problem here. It syncs the wrong time in the first place (17:58 instead of 20:58) and I am living in CEST+1 which is also set in the sketch... and after that when the screen times out the time is completely wrong
The instructions for setting the correct time string are in the gui.h file immediately above the #define RTC_TIME_ZONE definition. CEST, CEST-2 and CEST-1 do not appear in the spreadsheet at https://github.com/nayarsystems/posix_tz_db/blob/master/zones.csv Find a city in your time zone and set that string. Also continue to read the comment and it will warn you that the existing simpleWatch code will often first return an incorrect time. In which case just cancel the time update and request a new one.