I am trying to program an altech smart relay. I want to be able to flip a switch that will turn on the power and once the power is on have the coil trigger a solenoid and hold it open for 5 seconds, then close for 10 seconds, and repeat this until the power is turned off. Once the power is off it resets to it's original state.