Files
ESP8266-NTP2DCF77/settings.h
2019-10-20 11:45:45 +02:00

13 lines
489 B
C

// TODO: create an interface to change these
const char* ntpServerName = "europe.pool.ntp.org"; // NTP server hostname - see http://www.pool.ntp.org/en/vendors.html
#define NTP_INTERVAL 1024 // seconds between polling the NTP server - check with your ntp operator before lowering this
// TODO: more time zones
TimeChangeRule euCDT = {"ST", Last, dowSunday, Mar, 2, +120};
TimeChangeRule euCST = {"WT", Last, dowSunday, Oct, 2, +60};
Timezone euCT(euCDT, euCST);
#define TIMEZONE euCT