I am not the most experienced, so please bear with me. I am looking for a circuit to start timer with a pulse. New pulses would be ignored. After one minute of no pulse, then reset timer and wait to start. After one hour of pulse(s), then a high output to relay.