The TimeSTD and TimeDST has been driving me mad. I live in the UK and expect to be in TimeZone 0. However, TimeZone 0 seems to default to GMT/UTC+60 and GMT/UTC+120 for STD and DST respectively. A table showing what result each TimeZone will give will save many people from having to set TimeDST/TimeSTD and TimeZone to 99. It might then be possible to set the TimeZone via the webserver instead of via console.
See wiki commands
In short, timezone -13 to 13 set a fixed timezone without daylightsaving. Timezone 99 uses the offsets entered with TimeDst and TimeStd at the configered time periods.
Hi,
I tested timezone 0 and works as expected. It gives UTC +0 h
If you are in the UK at this moment you are in UTC +1 h
See extracted from https://24timezones.com/world_directory/time_in_london.php

So, for UK, your configuration, to be typed on the console, should be:
TimeZone 99
TimeDST 0,0,3,1,1,60
TimeSTD 0,0,10,1,2,0
So, if your country has DST, you will have to use timezone 99 and config the STD and DST times.
There are some countries that have the same Timezone for all the year, so, for those, you use just the timezone command alone.
All the information regarding TimeZone, DST and STD is on the wiki at https://github.com/arendst/Sonoff-Tasmota/wiki/Commands#management
It might then be possible to set the TimeZone via the webserver instead of via console.
Yes, would be nicer, of course, but an extra webpage requires more FLASH and RAM memories that are very restricted resources in the ESP8266. So, as the Sonoff-Tasmota is an alternative Firmware for Sonoff Devices to be controlled by MQTT, a console for the one-time configuration should be enough. Remember that the original sonoff firmware does not have a webpage. All the configuration is being made by an app on your phone.
At this moment, to configure Tasmota, there are some external softwares as:
Those allows you to configure some Tasmota features using an UI (User Interface). I believe that more options will be added to those softwares, making the Tasmota Webpage used only for advance configurations/debug/etc.
Hope this helps.
If this solves your issue, please close it. Thanks.
Corrected commands. See updated comment above.
Thank you it explains why the time wasn’t correct. It’s not clear that the timezones other than 99 don’t adjust for DST.
Decided to back up a ‘standard’ configuration and upload it each time I get a new device.
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10
From: Theo Arends notifications@github.com
Sent: Friday, May 25, 2018 5:35:40 PM
To: arendst/Sonoff-Tasmota
Cc: pmknowles; Author
Subject: Re: [arendst/Sonoff-Tasmota] Time zone table (#2828)
See wiki commands
In short, timezone -13 to 13 set a fixed timezone without daylightsaving. Timezone 99 uses the offsets entered with TimeDst and TimeStd at the configered time periods.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/arendst/Sonoff-Tasmota/issues/2828#issuecomment-392113287, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Ajqns1MzUx3dZ6b-z0SqHEQd2dmE1eBfks5t2DLbgaJpZM4UOH2K.
Thank you for taking the time to do this. It really helps and I appreciate it.
I think this is EST5EDT
TimeZone 99
TimeDST 0,2,3,1,2,-240
TimeSTD 0,1,11,1,2,-300
from Wikipedia
TZ='EST5EDT,M3.2.0/02:00,M11.1.0/02:00'
Hi everyone,
i not quite sure what command should i execute to set my timezone to Europe/Berlin. Could anyone share TimeDST and TimeSTD command to set correct time offset for Berlin Europe?
@nikolicjakov Jakov,
If you follow the procedure on this previous comment of this issue, you can look for DST and STD at https://24timezones.com/Berlin/time. From there, you can take the needed data. Then from the Tasmota Docs, you can read how to input that data into timezone commands.
TimeZone 99
TimeDST 0,0,3,1,2,120
TimeSTD 0,0,10,1,3,60
Most helpful comment
Hi,
I tested
timezone 0and works as expected. It gives UTC +0 hIf you are in the UK at this moment you are in UTC +1 h
See extracted from https://24timezones.com/world_directory/time_in_london.php
So, for UK, your configuration, to be typed on the console, should be:
So, if your country has DST, you will have to use timezone 99 and config the STD and DST times.
There are some countries that have the same Timezone for all the year, so, for those, you use just the timezone command alone.
All the information regarding TimeZone, DST and STD is on the wiki at https://github.com/arendst/Sonoff-Tasmota/wiki/Commands#management
Yes, would be nicer, of course, but an extra webpage requires more FLASH and RAM memories that are very restricted resources in the ESP8266. So, as the Sonoff-Tasmota is an alternative Firmware for Sonoff Devices to be controlled by MQTT, a console for the one-time configuration should be enough. Remember that the original sonoff firmware does not have a webpage. All the configuration is being made by an app on your phone.
At this moment, to configure Tasmota, there are some external softwares as:
Those allows you to configure some Tasmota features using an UI (User Interface). I believe that more options will be added to those softwares, making the Tasmota Webpage used only for advance configurations/debug/etc.
Hope this helps.
If this solves your issue, please close it. Thanks.