Hello,
I need a help regarding my aquarium lighting schedule. I configure, blink eventor as 10 AM Led on and 10 PM Led off. But, when power cut or device disconnect, relays are reset. and if it is offline during 10 AM. The command is not executed. So, what is the way to make the LED on during the interval on 10 AM to 10 PM. It Should be On during that interval. Please, suggest.
Thanks in Advance,
Sami
I am using simple standalone code:
#define BLYNK_PRINT Serial
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "YourAuthToken";
// Your WiFi credentials.
// Set password to "" for open networks.
char ssid[] = "YourNetworkName";
char pass[] = "YourPassword";
void setup()
{
// Debug console
Serial.begin(9600);
Blynk.begin(auth, ssid, pass);
}
void loop()
{
Blynk.run();
}