04-11-2019, 19:31
(04-11-2019, 02:47)Werk_AG Wrote:(03-11-2019, 15:49)xxDvDxx Wrote: ...
Now i see its connected on my Wlan also, but the current time is not right, will try to change by OTA.
If the time is not right, check this settings:
Code:// --------------------------------------------------------------------------------------
// Define rules for Auto Summer Time Display, and clock adjustment
// --------------------------------------------------------------------------------------
// Example for Australia Eastern Time Zone (Sydney, Melbourne)
// TimeChangeRule aEDT = {"AEDT", First, Sun, Oct, 2, 660}; //UTC + 11 hours
// TimeChangeRule aEST = {"AEST", First, Sun, Apr, 3, 600}; //UTC + 10 hours
// Timezone myTZ(aEDT, aEST);
TimeChangeRule PST = {"PST", Last, Sun, Mar, 1, 60}; //Portuguese Summer Time - "UTC + 1" or GMT + 1
TimeChangeRule GMT = {"GMT", Last, Sun, Oct, 2, 0}; //Portuguese Winter Time - "UTC + 0" or GMT
Timezone myTZ(PST, GMT);
Time is set automatically even when it changes due to Summer / Winter Time
Ok I will check this , thanks , but wanted to know how OTA programming works and I didn’t find how to .