I have just moved from SmartThings to Homey Pro, I am looking for a way to monitor so I can send a Notification when a contact sensor is left open for a certain time, keep sending notification every XX minutes until closed then notify me it has been closed
Example: IF CONTACT_SENSOR has been OPEN for 60 Minutes: Then SEND_NOTIFICATION CONTACT SENSOR has been open for an HOUR: Then resend every 60 Minutes until the contact sensor is closed: Then SEND_NOTIFICATION the SENSOR is now closed
Flow 1 WhenâŚ
â The contact alarm turned on ThenâŚ
â Start or replace timer with a duration of 60 min
Flow 2 WhenâŚ
â Timer is finished ThenâŚ
â Send push notification âDoor has been open for an hourâ
â Start or replace timer with a duration of 60 min
Flow 3 WhenâŚ
â The contact alarm turned off ThenâŚ
â Send push notification âDoor is closedâ
â Stop timer
Note: With these flows, a âDoor is closedâ push message is also sent if the door is also already closed again within the first 60 minutes. If the push message âDoor is closedâ is to be sent only after the first 60 minutes, then the flows must be modified.
For the future I would suggest to use first the search function, because there are already some similar cases in the community.
I was thinking about this option as well. But it is definitely not necessary, because the timer is stopped as soon as the door is closed. So it cannot happen that the timer runs to the end even though the door is already closed.