Time Input Date Picker Problems

Hi All
I am having a bit of a problem with the Time Input Widget when selecting the days of the week. I have used the date picker in the past and I don’t remember having this problem but maybe I just never noticed it.

What Works:
When you select a specific day, the correct day is reported on the Arduino Side. (Correct Days Selected)
When you select all the days, all the days are reported correctly on the Arduino Side. (All selected)

The Problem:
When you select none of the days in the app, all the days are returned to the Arduino as being selected.

Is there a workaround for this?

Below is a snippet of the arduino code used.

//This is called when the TimeInput values are changed in Blynk
	TimeInputParam t(param); 
	AlarmOnTime_1 = t.getStartHour() * 60 + t.getStartMinute();
	AlarmOffTime_1 = t.getStopHour() * 60 + t.getStopMinute();
	for (byte i = 1; i <= 7; i++) {
		DaysOfWeek_1[i] = t.isWeekdaySelected(i);


Another good example of search before asking :stuck_out_tongue_winking_eye:

This is not a “new” issue, or technically even an “issue”… I guess it was designed that way… here is a few references to a “fix”…

That’s how it was designed but like you we think it was a poor design choice.

There is a very simple library hack to fix the problem which @Gunner has linked to.

Your code as you currently have it looks buggy, read from RF 433 Mhz on virtual pin doesn't want to send (with scheduling) - #64 by distans to the end of the thread.

1 Like

Thanks @Gunner and @Costas