-
Notifications
You must be signed in to change notification settings - Fork 639
Max Prokhorov edited this page Feb 4, 2020
·
15 revisions
Configuration key | Build flag | Description |
---|---|---|
ntpServer |
NTP_SERVER |
(default: pool.ntp.org ) |
ntpTZ |
NTP_TIMEZONE |
(default: TZ_Etc_UTC , definition value from TZ.h that translates to PSTR("UTC0") ) |
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_WAIT_FOR_SYNC |
(default: 1 , enabled)Normally, ESPurna will wait for NTP to sync over wifi before enabling the scheduler. This is so it ensures that the schedules will never run outside their specified times, even if that means they don't run at all. If, instead, you want them to always run, even if the time is not correct, you can set this build flag to 0 , which will cause ESPurna to act as if the time is correct when it boots up. That way, schedules will run even if NTP has not synced (but obviously at potentially the wrong times). If the network becomes available at some point, NTP will sync and resume running at the correct times. |
These only apply to Core version 2.3.0 (current release .bin and custom build with platformio.ini with default settings):
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