OpenSprinkler Forums OpenSprinkler Unified Firmware Wrong time on the unit? Reply To: Wrong time on the unit?

#65368

robi
Participant

In my .json file I have "tz":56.
The NTP server doesn’t provide any information about the timezone. All time data handled by NTP is in UTC; it’s the local time zone setting which determines the offset from there.

For some reason OpenSprinkler doesn’t calculate the correct time based on the timezone.
Is the timezone information avilable at the moment of calculation? Because i’ve noticed that after reboot, the first thing is to do an NTP sync. Maybe during boot the NTP sync and time calculation is done first, and connection to opensprinkler weather server afterwards, thus the determination of the timezone is done after the time has been calculated?

Just a tip…