FIx more than one time input

Hello. I am new on this kind of projects. I need to fix more than one time input in my app for my sonoff but I cannot find how to do it. Can soneone help me?

Just use the same vPin for each Time Input Widget, then it will run the same code as needed.

Thks for your reply. I already did but the problem is when I fix the time for one of them, then other time input is also updated whit the same time. I cannot fix different times for each time input.

OK, then use different vPins with different BLYNK_WRITE() functions to collect the parameters, then send that to a common function for the actual code processing… same concept as having the same variable updated by different sensors at different times, etc.

Thks for your reply but I cannot do that from the iOS app.

I can…

This is mine. I don’t know how to link different V’s to same button+led

Each vPin will have its own BLYNK_WRITE() function, but in that function you can just apply the Time Input parameters to global variables that then do your thing from another void doStuff() function in one of a few different ways…at this point it comes down to Arduino programming and is not a Blynk specific thing.

 input = Timer 1 param

 input = Timer 2 param

 if input == 1 do something

Or if kept as separate variables then use comparison logic.

 input1 = Timer 1 param

 input2 = Timer 2 param

if input1 |or| input2 == 1 do something

Or whatever other methods you need.