Skip to content

Relay Scheduler with RTC Clock Sync with the NTP Protocol on ESP8266 Arduino by Anjum9694

Notifications You must be signed in to change notification settings

Anjum9694/ESP8266-Relay-Scheduler-with-automatic-RTC-sync

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Relay Scheduler with RTC Clock Sync with the NTP Protocol on ESP8266

by Anjum9694

Libs

You must have the libs:

You can install from Arduino/ Manage Libraries menu

Wifi

Copy WifiPass.h.config to WifiPass.h and change the ssid and password to your wifi network information.

Parameters

Change the NTP_SERVER to a suitable server.

#define NTP_SERVER "0.us.pool.ntp.org"

Change the GMT time zone GMT_TIME_ZONE you can add a signed number

#define GMT_TIME_ZONE -7

You can force the time sync after the first time changing the FORCE_RTC_UPDATE to a random number between 0-255

#define FORCE_RTC_UPDATE 2

About

Relay Scheduler with RTC Clock Sync with the NTP Protocol on ESP8266 Arduino by Anjum9694

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 98.1%
  • C 1.9%