I am new with MyCodo and raspberry so i dont know if i do something wrong.
I m trying to set a Trigger: Output (On/Off) for a relay with action on/off/duration .When i choose to the IF state menu ON(equal to duration ) and set 10 sec doesnt trigger the relay,if i choose no duration,any duration or less it works.
if anyone knows anything plz help!
What you describe is: If Output A turns On for 10 seconds, then execute Action(s). Only when the initial condition is True are the Actions executed. So, it is only true when Output A turns On for a duration of 10 seconds.
Your screenshot has a Duration Equal to 5 seconds, not 10 seconds. If you turn Output 06 CH0 on for a duration of 5 seconds, it will execute the action (Output 02 CH0 turn On). Are you sure you’re turning your output on for a duration of 5 seconds?
Add the “Actions: Pause” Action before your Output Action, and set the pause to 5 seconds. You will need to determine if your Output Trigger needs to trigger on a specific duration or whenever it turns on (regardless of what duration it is).