@Ayslan_Carolli The way the current TimeInput widget works is that it sends the start and stop time in seconds of the day as parameters associated with a Vpin... but it sends this data as soon as someone sets the timer and hits OK, not as the start/stop time happens.
For example the TimerInput, on V0, is set for every day of the week but starts at Midnight (0 seconds into the day) and runs for one hour (3600 seconds into the day).
As soon as that info is entered into the widget and the OK button is pressed, this code will provide two numbers, one for the start time and one for the stop time:
long startTimeInSecs = param.asLong(); // this would result in startTimeInSecs = 0
long endTimeInSecs = param.asLong(); // this would result in endTimeInSecs = 3600
From there you need to write some code logic to break down the seconds of the day into whatever actions you wish to happen at the appropriate time.
Hope this helps you understand it better.