This object is in archive! 

Send message when door is open for more than 10 minutes, but not if closed in the meantime

Olato shared this question 10 years ago
Need Answer

Hi!

I am wondering how I can send a message, if a door is open for more than 10 minutes. Of course I could trigger a rule when the door opens, then wait ten minutes, then check if door is still open and if so, send a message. But that could trigger false alarms in case the door is closed but AGAIN opened 10 minutes after the initial open.

If the repeat function would still be there I knew how to do it (check every 5 secs for door closed and stop the rule if door closed). But without repeat I do not get it.


Many thanks for any suggestions!

Replies (3)

photo
1

I think that JOIN should do the trick.

So the rule looks like:

-JOIN

-WAIT 10 minutes

-IF.. etc.


The join statement kills any execution of the same rule. SO no false alarm is triggered.

photo
1

I am using this rule:

8OaXrM3Ck8B51nuoSXK4

Not sure about the fact that there could be false detection, I never tried this kind and situation and never got any false detection.


It works perfectly!

photo
1

On the old hardware, we have two timerelay

1: off-delayed relay

2: on-delayed relay

1: the most common control outside delayed relay

Eg Light Bulb for 5 minutes, then turn off the light

2: The other less common is an on-delayed relay

Eg The relay may be a set to signal a certain time, eg 30 seconds and then closes the relay contact closes an on-state.


But if the relay loses its signal for 30 seconds nothing happens


When the relay is yet another time, remains a steady signal longer than 30 seconds, for example, 31 seconds relay to close a plug an on-state

This was often in alarm system to prevent false alarm.


På den gamla hårdvaran har vi två timerelay

1: off-fördröjd relä

2: on-fördröjd relä

1: den vanligaste kontrollen utanför fördröjd relä

T.ex. Ljuslampa 5 minuter, sedan stänga av ljuset

2: Den andra mindre vanliga är en on-fördröjd relä

T.ex. Reläet får ett set för att signalera en viss tid, t.ex. 30 sekunder och sedan stänger sluter reläkontakten en on-tillstånd.


Men om reläet förlorar sin signal i 30 sekunder ingenting händer


När reläet är ännu en tid, förblir en fast signal längre än 30 sekunder till exempel, 31 sekunder reläet stänga en plugg en on-tillstånd

Detta var ofta i larmsystem för att förhindra falsklarm.

Leave a Comment
 
Attach a file