ESP8266 Scheduling activity


How to make a scheduling activities with ESP8266.
For example, from 22:00 - 02:00 to a run a specific code. And from 02:00 - 22:00, ESP8266 must ignore the code, even if the condition is fulfilled to turn on/off the relay.

you can follow this Getting Time From Internet Using ESP8266 | NTP Clock Project With ESP8266 Nodemcu : 5 Steps - Instructables to get time and do what you need.