I also use the Edge Counter Utility to generate a looping effect to check if doors or gates are still open at a recurring set interval (e.g. every 15 mins). By resetting the duration to zero every time the routine to check the open/close sensor status for a device runs, it will keep checking the sensor status indefinitely until the Counter Utility device is turned off.