Help for widget timerinput

hello i want to use the timeinput widget to set the days and times of the week to turn on a light. I don’t know how to use it. Someone has the sketch ready and I use ethernet shield. Thanks

Sketch Builder is always a goo place to start:


Hello everyone I am new to the forum and I am trying to make the time input widgets turn on and off a lamp and I am not able to do the code. I am using ethernet shield someone could help me and send the code.

#include <SPI.h>
#include <Ethernet.h>
#include <BlynkSimpleEthernet.h>

// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth = “YourAuthToken”;

void setup ()
// Debug console
Serial.Begin (9600);

Blynk.begin (auth);


int startAt = 5 * 60; // 00: 05

int stopAt = (60 + 5) * 60; // 01: 05

// timezone
// full list of supported timezones could be found here
char tz = “Europe / Kiev”;

Blynk.virtualWrite (V1, startAt, stopAt, tz);

// you may also pass day
// char days = “1”; // Monday
//Blynk.virtualWrite(V1, startAt, stopAt, tz, days);

// or days
// char days = “1,2,3”; // Monday, Tuesday, Wednesday
//Blynk.virtualWrite(V1, startAt, stopAt, tz, days);

void loop ()
{ ();


but when I set the time it already sets the value and nothing happens.

You would have something other than the example.

one more thing i live in brazil i am using rtc being that it is a plus time ue in brazil example: seeu put on a lamp at 18:00 it does not call because the server time is 1 hour more

@EduardoSantino please edit this post (using the pencil icon at the bottom, and add triple backticks at the beginning and end of your code so that it displays correctly.
Triple backticks look like this: