Tasmota and Time

wiki.TerraBase.info
Jump to navigation Jump to search

...step one, get over the frustration.

Step Two (below example is for the Pacific Time Zone);

  • Check the Time: Time
  • Set the Time Zone: Timezone 99
  • Set when Daylight Savings Time Begins: TimeDST 0, 2, 3, 1, 2, -420
  • Set when Daylight Savings Time Ends (AKA Standard Time, not the Standard Time Zone): TimeSTD 0, 1, 11, 1, 2, -480
  • Or in one line: Backlog Time; Timezone 99; TimeStd 0,1,11,1,2,-480; TimeDst 0,2,3,1,2,-420; Status 7; Restart 1

What's going on?

Well, as it turns out, setting the Timezone to whatever Time Zone you're in works great (like -8 for Pacific Time). Except when taking Daylight Savings Time into account. For that, Timezone needs to be set to a 'special Time Zone'. 99.

Values and Their Meaning in the Above Example

Value Meaning
0 Hemisphere (0=North, 1=South)
2 Week (1, 2, 3, 4, or 0 for last)
3 Month (1-12)
1 Day of week (1=Sunday, 2=Monday, etc.)
2 Hour (Military Time, 0-23)
-240 Offset (in Minutes from UTC 0, in the UK)

...and of course Timezone 99 essentially means: "Use the values in TimeDST and TimeSTD"