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

#65341

Ray
Keymaster

The time is calculated using two pieces of information: the NTP time (which is UTC+0 time) and the time zone (this is obtained from the opensprinkler weather server, which calculates your time zone using your location). If you export your configurations to a .json file, and open the file, there is a variable called “tz”, which is the time zone. This value should be equal to your time zone (sign included) times 4 plus 48. For example, if your time zone is UTC+0, it should be 48, if it’s UTC+2, it should be 56; if it’s UTC-4, it should be 32 and so on.

Basically if time zone is correct, then the issue has to do with NTP sync, otherwise it has to do with time zone not being calculated correctly.