MorphingClockRemix icon indicating copy to clipboard operation
MorphingClockRemix copied to clipboard

Timezone out of sync with configuration

Open lmirel opened this issue 5 years ago • 24 comments

After installing the MorphingClock from Hary (works very fine) I was intrested in You project. It also works fine excluding to show the correct time. Date and the minutes of the clock are correct but not the hours. In my case /Germany/ it is showing always +7 hours from the correct time in Germany. Btw, the same bug happens with the SW "MorphingclockRemixRemix (KoljaS). I have no idea what is the problem. Change settings in Timezone are not relevant, nothing will change.

I have taken a printout from the monitor ( to have more information I have included informations from NTPClientLib. I'm not a programmer.

Configuration NodeMCU1.0, Flash size:4M(1M SPIFFS), CPU F=160MHz

10:35 I started the monitor FM6126A - REG: 12 FM6126A - REG: 13 *WM: Adding parameter *WM: timeZone *WM: Adding parameter *WM: military *WM: Adding parameter *WM: metric *WM: Adding parameter *WM: date_fmt No Double Reset Detected *WM: *WM: AutoConnect *WM: Connecting as wifi client... *WM: Using last saved values, should be faster *WM: Connection result: *WM: 3 *WM: IP Address: *WM: 192.168.179.25 timezone=1 military=Y metric=Y date-format=D.M.Y WiFi connected, IP address: 192.168.179.25 NTP server 0 set to: pool.ntp.org NTP time zone set to: 1, result: OK --Set daylight OFF Short sync interval set to 5 Long sync interval set to 1800 Time sync started -- NTP Server hostname: pool.ntp.org -- Transmit NTP Request Sync frequency set low No daylight First sync! 17:35:06 20/03/2019

Succeccful NTP sync at 17:35:06 20/03/2019 Long sync interval set to 10 i:connecting to weather server.. connected. w:unable to retrieve weather data *WM: freeing allocated params! display color range [0 .. 65535] day mode brightness showing the weather !no weather data available showing the date Long sync interval set to 86400 i:connecting to weather server.. connected. w:unable to retrieve weather data

Once a time it happened that the clock started after flashing the sketh with the time/Date: 08:00:03 01/01/1970 and after 10sec. it shows the correct time for a long long time...but after power off the new time is again +7 hours (false).

May be You have any idea Thanks in advance

(Burkhard)

lmirel avatar Mar 20 '19 10:03 lmirel