Comfort Automation/ Security System Forums
Auto-arm Day mode when alarm is off - Printable Version

+- Comfort Automation/ Security System Forums (https://www.comfortforums.com)
+-- Forum: Products (https://www.comfortforums.com/forum-3.html)
+--- Forum: Questions on Using Comfort (https://www.comfortforums.com/forum-159.html)
+--- Thread: Auto-arm Day mode when alarm is off (/thread-3269.html)



- emabonacchi - 01-25-2013

Hello.
I will try to explain what i am trying to do:
I would like, if an option is checked (a flag selected via x10), to auto-arm the system in day-mode when the alarm is off for more than 9 minutes.

To do this, i have created a \'flag\' and a \'timer\'.

When alarm goes off
If flag is<>0 then
 if timer=0 then
  do \"elapse\" after 540 seconds using timer
 end if
end if

If an alarm is set when timer is going on, then the timer stop.


When the timer elaps i want to start an \'entry delay\' on every doors and windows making possible to close the doors and windows opened and then, going on to start alarm mode.
If everithing is ok, when the entry delay elapse, the system goes in \'Day mode\'.
If something is not ok, when the entry delay elapse, i want to start an intruder alarm.


Can you please suggest me how to make this possible?
Thank you very much.













- ident - 01-26-2013

What triggers the response below?

When alarm goes off
If flag is<>0 then
 if timer=0 then
  do \"elapse\" after 540 seconds using timer
 end if
end if


What do you mean \"when alarm goes off\"? alarm activated, or alarm disarmed?

Can you explain what you are trying to do?
You want to  arm the system to Day Mode when the alarm is not armed for 9 minutes?
Do you mean that if the system has been disarmed then it will arm to Day Mode after 9 minutes? That does not sound right?
Or do you want to trigger the checking by pressing some button?

It would be easier to recommend a solution if we know what you mean?







- emabonacchi - 01-26-2013

Scuse me for my bad english.... i try to explain better:

When we come back home, we disarm the system from \'away mode\', but often we forget to arm in \'day mode\', so, i am trying to make the system auto-arm when it has been disarmed from 9 minutes.

So, the \'flag\', is an option selected via x10 (on a touch screen, i can select \'auto-arm in day mode\' yes/no) and the trigger is a timer starting when the sistem has been disarmed.

When the timer elapses, the system must start an \'entry delay\' before auto-arm in day mode so, we can close doors and windows if they are open.

If the entry delay elapses and there are some doors or windows open, an \'arm failure\' must trigger an intruder alarm.

Well, i don\'t know how to start an entry delay before arming and how to trigger an intruder alarm when day mode arming failure.



- emabonacchi - 01-26-2013

If i create a response with a \"start entry delay\" command while system is disarmed, what does happen when \"entry delay\" elapses?





- ident - 01-27-2013

Start Entry Delay must be part of a Zone Response ie it works only when a zone is opened, so it is not applicable for your case when a timer expires

I suggest that when you disarm from Away Mode (and not other modes), start a timer for 9 minutes and then  Key arm to Day Mode at the expiry of the time. Key arm means any open zones will be announced so you can close them. Once the open zones are closed the system arms to Day Mode. No need for any entry delay or causing alarm

The Security Off Response is
If Flag Away <> 0 Then
    Do armToDay After 540 Seconds Using DayArm
End If

The Away Flag is set by Away Mode Response and cleared by Day Mode and Night Mode Response

armtoDay Response is Keyarm to Day Mode

When the system is armed to any mode before the timer expiry the timer is stopped

You can add another flag to enable this by X10 as you like
Please see the attached cclx file for my suggested program



- ident - 01-27-2013

I have also created a Scenario in the attached .crsx file
Scenarios are useful

You can Import a Scenario into an existing  cclx file using File > Import
To prevent confusion you should not import it into a file that you have tried to program with this function as you may be confused about which responses were your your own and which were imported. Do it in a new file for testing





- emabonacchi - 01-27-2013

I have understood everything!

I am very happy, everything seems easy to do now.
Thank you!