Thank you for your help. I finish with time input widget. For other Blynker reference…
Solution
For weekday() return value 5. The solution is put this code in BLYNK_CONNECTED
setTime(timeClient.getEpochTime());
For store and call days selected in variable, in TimeInput Widget
BLYNK_WRITE(V10) {
TimeInputParam t(param);
// param[0] is the user time value selected in seconds.
scheduleTimeM = param[0].asInt(); //For selected time not days
for (int i = 0; i < 7; i++) {
sDay[i] = 0;
if (t.isWeekdaySelected(i + 1)) {
sDay[i] = 1;
}
}
}
Retrieve the saved days
void checkDays() {
//Sunday= 1 && Saturday== 7, adjusted become 6
int currentDay = weekday();
if (weekday() == 7) {
currentDay = 6;
}
Serial.print("Currentday is : ");
Serial.println(currentDay);
if (sDay[0] == 1) {
Serial.println("Monday");
}
if (sDay[1] == 1) {
Serial.println("Tuesday");
} etc etc etc....
Don’t forget declare global
int sDay[7] = { 0 }; //Will set all days as 0 @ Not selected
You might have error when no days is selected will result all day selected. This the solution
Thank you again to Pete.