How can I receive a notification if an event takes place for a certain time period (e.g. the window is open for 15 mins)?