Repository navigation
Maxim Prokhorov edited this page Oct 22, 2026
·
16 revisions
🔴 NOTICE Current version will not correctly parse TZ strings starting with: "<[+-]?[0-9]+>"
For more information, see https://github.com/esp8266/Arduino/issues/7690 and https://github.com/esp8266/Arduino/pull/7702
| Configuration key | Build flag | Description |
|---|---|---|
ntpServer |
NTP_SERVER |
(default: pool.ntp.org) |
ntpTZ |
NTP_TIMEZONE(default: TZ_Etc_UTC, definition value from esp8266/Arduino:cores/esp8266/TZ.h) |
(default: UTC0)See Values in the table below |
ntpDhcp |
NTP_DHCP_SERVER |
(default: 1, enabled) Automatically replace the NTP server value with the one received with the DHCP packet |
ntpStartDelay |
NTP_START_DELAY (seconds) |
(default: 3 seconds) NTP initial update delay after network connection |
ntpUpdateIntvl |
NTP_UPDATE_INTERVAL |
(default: 1800 seconds / 30 minutes) NTP update interval after an initial sync |
NTP_SUPPORT(default: 1, enabled) |
Build with NTP support |
See the latest timezone variable list
These only apply to Core version 2.3.0 (releases before 1.15.0):
| Configuration key | Build flag | Description |
|---|---|---|
ntpTimeout |
NTP_TIMEOUT |
(default: 2000 ms) How long to wait for NTP server response |
ntpOffset |
NTP_TIME_OFFSET |
(default: 60 minutes, UTC+1) |
ntpDst |
NTP_DAY_LIGHT |
(defaut: 1) Enable DST based on the current region |
ntpRegion |
NTP_DST_REGION |
(default: 0, Europe)Set to 1 for USA (Constants defined by the NtpClientLib) |
NTP_SYNC_INTERVAL |
(defaut: 60 seconds) Initial NTP sync interval |
If you're looking for support:
- Issues: this is the most dynamic channel at the moment, you might find an answer to your question by searching open or closed issues.
- Wiki pages: might not be as up-to-date as we all would like (hey, you can also contribute in the documentation!).
- Gitter channel: you have better chances to get fast answers from project contributors or other ESPurna users. (also available with any Matrix client!)
- Issue a question: as a last resort, you can open new question issue on GitHub. Just remember: the more info you provide the more chances you'll have to get an accurate answer.
- Backup the stock firmware
- Flash a pre-built binary image
- Flash a virgin Itead Sonoff device without opening
- Flash TUYA-based device without opening
- Flash Shelly device without opening
- Using PlatformIO
- from Visual Studio Code
- Using Arduino IDE
- Build the Web Interface
- Over-the-air updates
- Two-step updates
- ESPurna OTA Manager
- NoFUSS
- Troubleshooting
- MQTT
- REST API
- Domoticz
- Home Assistant
- InfluxDB
- Prometheus metrics
- Thingspeak
- Alexa
- Google Home
- Architecture
- 3rd Party Plugins
- Coding style
- Pull Requests