Tasmota and Time: Difference between revisions
Created page with "...step one, get over the frustration. Step Two; * <code>TimeSTD 1, 1, 11, 1, 2, -300</code> * <code>TimeSTD 1, 1, 11, 1, 2, -300</code> * <code>TimeSTD 1, 1, 11, 1, 2, -300</code> * <code>TimeSTD 1, 1, 11, 1, 2, -300</code>" |
mNo edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
...step one, get over the frustration. | ...step one, get over the frustration. | ||
Step Two; | Step Two (below example is for the Pacific Time Zone); | ||
* <code> | * Check the Time: <code>Time</code> | ||
* <code>TimeSTD | * Set the Time Zone: <code>Timezone 99</code> | ||
* <code> | * Set when Daylight Savings Time Begins: <code>TimeDST 0, 2, 3, 1, 2, -420</code> | ||
* Set when Daylight Savings Time Ends (AKA Standard Time, not the Standard Time Zone): <code>TimeSTD 0, 1, 11, 1, 2, -480</code> | |||
* Or in one line: <code>Backlog Time; Timezone 99; TimeStd 0,1,11,1,2,-480; TimeDst 0,2,3,1,2,-420; Status 7; Restart 1</code> | |||
=== 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 === | |||
{| class="wikitable" | |||
! colspan="undefined" |Value | |||
! colspan="undefined" |Meaning | |||
|- | |||
| colspan="undefined" |'''0''' | |||
| colspan="undefined" |'''Hemisphere''' (0=North, 1=South) | |||
|- | |||
| colspan="undefined" |'''2''' | |||
| colspan="undefined" |'''Week''' (1, 2, 3, 4, or 0 for last) | |||
|- | |||
| colspan="undefined" |'''3''' | |||
| colspan="undefined" |'''Month''' (1-12) | |||
|- | |||
| colspan="undefined" |'''1''' | |||
| colspan="undefined" |'''Day of week''' (1=Sunday, 2=Monday, etc.) | |||
|- | |||
| colspan="undefined" |'''2''' | |||
| colspan="undefined" |'''Hour''' (Military Time, 0-23) | |||
|- | |||
| colspan="undefined" |'''-240''' | |||
| colspan="undefined" |'''Offset''' (in Minutes from UTC 0, in the UK) | |||
|} | |||
...and of course <code>Timezone 99</code> essentially means: "Use the values in TimeDST and TimeSTD" | |||