openevse_esp32_firmware
openevse_esp32_firmware copied to clipboard
Timer must be set in UTC
When setting the timer via web GUI it uses UTC time.
This is confusing as the time under "Setup" directly below it shows local time
I'm not seeing this behavior in 4.1.0 or 4.1.2. Timer start and end clearly behaves as expected with my selected local time zone once I press the update button. My OpenEVSE clock is set correctly via NTP.
New clue to the possible root cause of this:
Daylight savings time just happened last night in the US. Time was correctly set via NTP mode last I checked mid day yesterday. I woke up this morning, and the clock had not gone forward an hour, but closer to an hour and a half for some reason. So I started mucking about with manual and browser based time setting. Both of those result in UTC being the time displayed, NOT the time manually or automatically chosen by browser.
However, when I went back to NTP mode, the UTC offset for my timezone (UTC -6 at the moment) was applied in the wrong direction. So instead of getting 08:22 local from 14:22 UTC, the EVSE wants to update from NTP to be 20:22 local (on the same day so acting as if UTC+6 was picked).
Restarting the wifi firmware resulted in UTC+7 being retrieved and set from NTP, despite America/Denver time zone correctly saved and retrieved.
I am now wondering if this was also causing the OP's stated issue.
Is anyone else seeing the clock changing itself to some random day and time in the future? And that saving manual day / time settings producing basically random results?
4.1.2 and 7.1.3 here....
Possibly fixed by #569, please cleack