Posted: Sunday Jul 18th, 2010 04:02 am |
|
1st Post |
mreneuk
Member
Joined: | Sunday Jul 4th, 2010 |
Location: | |
Posts: | 45 |
Status: |
Offline
|
back to top
|
I have set to system to auto alarm at 11pm every night. However, there are always occasions in which someone is still up at this time. When this happens there is a mad rush to the keypad to disable the system before the system arms.
Is it possible to prevent the auto alarm if one of the downstairs PIR's are triggered at this time? Also is it then possible for every 30 minutes to check the PIR activity and if there is no activity and the night mode has not been activited then for the alarm to be activiated.
Thanks
|
Posted: Sunday Jul 18th, 2010 05:03 am |
|
2nd Post |
slychiu
Administrator
Joined: | Saturday Apr 29th, 2006 |
Location: | Singapore |
Posts: | 5493 |
Status: |
Offline
|
back to top
|
That is a good example of the programmable power of Comfort
The attached cclx file shows how it can be done (and this is not the only way to do it)
Time Program 1 is set at 11:30 PM or any starting time that you want - it sets Flag 1
Time Program 2 is programmed at 6:00 AM or any time you prefer - it clears Flag 1. So Flag 1 is on between 11:30 PM and 6 AM
Time Program 1 Response = Set Flag Flag01
Time Progran 2 Response = Clear Flag Flag01
Zone 8 (or any zone you prefer) is programmed as a Night /Away Zone Type, with On Response which starts a Timer for 30 minutes or any interval you choose. Hence every time to PIR detects movement it starts a 30 minutes timer. At the end of the time, it calls another Response Autoarm to Night if Flag 1 is on AND Security is Off
Zone 8 Response:
Do AutoarmToNightIf After 1800 Seconds Using Timer10
Timer 10 is the timer used (out of 64 timers)
Autoarmto Night Response=
If Flag Flag01 <> 0 And SecurityMode = SecurityOff Then
AutoArm NightMode
End If
Hence whenever there is no motion at the zone for 30 minutes, the timed response checks a flag which determines if the time is between 11:30 PM and 6 AM and system is not armed, and auto-arms to Night Mode
This can be extended to check more than 1 zone for movement but I will leave that as anothr exercise
Last edited on Tuesday Jul 20th, 2010 10:44 am by slychiu
|
Posted: Sunday Jul 18th, 2010 05:08 am |
|
3rd Post |
mreneuk
Member
Joined: | Sunday Jul 4th, 2010 |
Location: | |
Posts: | 45 |
Status: |
Offline
|
back to top
|
Brilliant thanks I will give it a try.
|
Posted: Sunday Jul 18th, 2010 06:26 am |
|
4th Post |
mreneuk
Member
Joined: | Sunday Jul 4th, 2010 |
Location: | |
Posts: | 45 |
Status: |
Offline
|
back to top
|
Is it possible to have multiple entries for Zones? On the Zone/Input section I already have an automated responsible to trigger a light coming on when motion is detected. Can I just added another entry for the same zone to enable the auto arm?
|
Posted: Sunday Jul 18th, 2010 07:32 am |
|
5th Post |
slychiu
Administrator
Joined: | Saturday Apr 29th, 2006 |
Location: | Singapore |
Posts: | 5493 |
Status: |
Offline
|
back to top
|
A zone can only trigger one Response so you cannot trigger another one
However a Response can consist of multiple actions.
If you already have a zone Response assigned to the zone you can add the new actions to the existing Response assigned to the zone
I have changed the totle of this topic and moved it to the Tips, Tricks and Tutorials Forum as this is a good example of such programming in Comfort
Last edited on Sunday Jul 18th, 2010 07:41 am by slychiu
|
Posted: Sunday Jul 18th, 2010 07:36 am |
|
6th Post |
mreneuk
Member
Joined: | Sunday Jul 4th, 2010 |
Location: | |
Posts: | 45 |
Status: |
Offline
|
back to top
|
ok thanks.
|
Posted: Sunday Jul 18th, 2010 09:58 am |
|
7th Post |
mreneuk
Member
Joined: | Sunday Jul 4th, 2010 |
Location: | |
Posts: | 45 |
Status: |
Offline
|
back to top
|
I made the changes recommended but the alarm did not even trigger.
|
Posted: Sunday Jul 18th, 2010 11:54 am |
|
8th Post |
slychiu
Administrator
Joined: | Saturday Apr 29th, 2006 |
Location: | Singapore |
Posts: | 5493 |
Status: |
Offline
|
back to top
|
Do you mean the alarm "did not trigger" or the system did not arm to Night Mode?
Remember for it to arm to night mode, - The PIR zone must be triggered and be idle for 30 minutes
- At the end of the 30 minutes PIR idle time, the time must be past 11:30 PM and before 6:00 AM according to the times in Time Program 1 and 2
However I have just found a flaw in my logic
If the PIR has already been idle for more than 30 minutes at 11:30 PM, then flag 1 is set but the system will not arm to Night mode because the timer 10 has already expired and the Response has already checked that flag 1 was 0
I have changed the Response for Time Program 1 to
Set Flag Flag01
If Timer Timer10 = 0 Then
Do AutoarmToNightIf
End If
Hence at 11:30 PM, if Timer 10 is not running, ie the delay time of 30 minutes is NOT running, the system will auto-arm to night mode immediately
Pleae note that if you wish to test this by changing the time, you must let the time cross 11:30 PM for the time program to work - in other words you cannot change the time to 11:31 PM because the time program works only when the time reaches the set time
The new program is attached
Attachment: AutoarmIfNoPIR.zip (Downloaded 22 times)
|
Posted: Sunday Jul 18th, 2010 03:27 pm |
|
9th Post |
mreneuk
Member
Joined: | Sunday Jul 4th, 2010 |
Location: | |
Posts: | 45 |
Status: |
Offline
|
back to top
|
OK I understand why it did not trigger. I will try it with the new logic.
|
Posted: Tuesday Jul 20th, 2010 08:48 am |
|
10th Post |
mreneuk
Member
Joined: | Sunday Jul 4th, 2010 |
Location: | |
Posts: | 45 |
Status: |
Offline
|
back to top
|
Thank you this worked a treat!
|
Posted: Monday Jul 26th, 2010 09:46 am |
|
11th Post |
peteryandeh
Member
Joined: | Friday May 2nd, 2008 |
Location: | |
Posts: | 2 |
Status: |
Offline
|
back to top
|
peteryandeh wrote: Please Quote this productslychiu wrote: That is a good example of the programmable power of Comfort
The attached cclx file shows how it can be done (and this is not the only way to do it)
Time Program 1 is set at 11:30 PM or any starting time that you want - it sets Flag 1
Time Program 2 is programmed at 6:00 AM or any time you prefer - it clears Flag 1. So Flag 1 is on between 11:30 PM and 6 AM
Time Program 1 Response = Set Flag Flag01
Time Progran 2 Response = Clear Flag Flag01
Zone 8 (or any zone you prefer) is programmed as a Night /Away Zone Type, with On Response which starts a Timer for 30 minutes or any interval you choose. Hence every time to PIR detects movement it starts a 30 minutes timer. At the end of the time, it calls another Response Autoarm to Night if Flag 1 is on AND Security is Off
Zone 8 Response:
Do AutoarmToNightIf After 1800 Seconds Using Timer10
Timer 10 is the timer used (out of 64 timers)
Autoarmto Night Response=
If Flag Flag01 <> 0 And SecurityMode = SecurityOff Then
AutoArm NightMode
End If
Hence whenever there is no motion at the zone for 30 minutes, the timed response checks a flag which determines if the time is between 11:30 PM and 6 AM and system is not armed, and auto-arms to Night Mode
This can be extended to check more than 1 zone for movement but I will leave that as anothr exercise
|
Posted: Wednesday Mar 28th, 2012 11:27 pm |
|
12th Post |
lwillerton
Member
Joined: | Sunday Oct 2nd, 2011 |
Location: | |
Posts: | 221 |
Status: |
Offline
|
back to top
|
Hi All.
I have just had a thought about autoarm and would be intrested in your thoughts.
Same as above set and clear a flag via a time program.
Run a time delay response that would auto arm on a PIR in the hall for example (guess you want the most active route to trigger this that is part of the entry exit).
so the code I am testing will look somethink like this:
Time Program
1 set flag 17:00
2 clear flag 23:29
PIR 1,2,3,4 as many as you want I guess
Do nothing after 1800seconds using timer 2
Entry/exit PIR or contact switch
Do autoarm after 2000 seconds
AutoArm Response
If timer 2 = 0 and flag 1 <>0
autoarm away
else
do AutoArm Response after x seconds
I have a night mode set and unset between 23:30 and 8:30 everyday and an away mode set mon - friday 9:00
My weekness is between 17:00 - 23:30 weekdays and 8:30 - 23:30 weekends as I am likley to rush in and out without setting the alarm so autoarm would be great to cover this
Regards
Lee
|
Posted: Wednesday Mar 28th, 2012 11:36 pm |
|
13th Post |
lwillerton
Member
Joined: | Sunday Oct 2nd, 2011 |
Location: | |
Posts: | 221 |
Status: |
Offline
|
back to top
|
Oh....Would the other way to get PIR's to simply stop the autoarm timer?
|
Posted: Friday Mar 30th, 2012 12:08 pm |
|
14th Post |
ident
Administrator
Joined: | Wednesday Aug 9th, 2006 |
Location: | Singapore |
Posts: | 3493 |
Status: |
Offline
|
back to top
|
When the exit contact/PIR is opened, after 2000 seconds it would arm to Night if there is motion and to away if no motion
I am not sure if this is what you want?
It also depends on whether it is Contact or PIR and where it is placed as to how practical it is
If it is a motion sensor then you may trigger it even when you do not want to arm
If it is an entry door opening then you need to check that the door closed as well so the timeer should start when the door open then close again
|
Posted: Monday Jun 4th, 2012 08:09 am |
|
15th Post |
lwillerton
Member
Joined: | Sunday Oct 2nd, 2011 |
Location: | |
Posts: | 221 |
Status: |
Offline
|
back to top
|
Hi All,
I have a few auto arm settings which I have been trying to update.
1. At X time pm I have an auto arm to night mode. However, if we are not at home and the alarm state is away mode what I am finding is the system downgrades its state to night mode. The code is:
If security = off or if security = day mode
Do autoarm NightMode (which just is simply auto arm night mode)
I want it to arm the system to night mode if no alarm is set. But I don’t want it to change to a low status if no-one is in.
Two Questions here:
Why does the system downgrade it’s status from away to night mode at 11:30?
Why does the mode change to day mode after 11:30 if night mode is set? (see next item below)
2. Obviously this leads on to another problem, if we came in later than the timed program is set to run we would turn the alarm off and might go straight to bed without resetting.
I have a trigger set against the lounge / master bed PIR that runs for x seconds then it sets the alarm, unless one of the other PIR’s in the house is triggered which stops the timer. This has been working fine for setting the system to day mode but I wanted to extend this to cover the late nights in.
The way I set this up originally was to cover times when I sit in the lounge / master bedroom for a period the system armed to day mode. I have a command set against all other PIR so that when day mode is set they announce their zone name.
The code is:
Do auto arm after X second
If hours >23 and <8 and security = off
Do auto arm night mode
Else
Do auto arm day mode.
Why is this arming as day mode rather than night mode during the 23 – 8 period?
If night mode has been set why does the system change to day mode?
Cheers
Lee
|
Posted: Tuesday Jun 5th, 2012 04:23 am |
|
16th Post |
ident
Administrator
Joined: | Wednesday Aug 9th, 2006 |
Location: | Singapore |
Posts: | 3493 |
Status: |
Offline
|
back to top
|
There is an error in your logic which I remember has been mentioned before in another post elsewhere
Do auto arm after X second
If hours >23 and <8 and security = off
Do auto arm night mode
Else
Do auto arm day mode.
End if
Why is this arming as day mode rather than night mode during the 23 – 8 period?
"Hours" is a number between 0 and 23 inclusive
The statement If hours >23 and <8 is never true
If Hours is > 23 then it can never be < 8
Another problem is Hours cannot be > 23, because at midnight Hours is 0. Remember "Hours" is from 0 to 23
You can use Hours >= 23 for time later than 11 PM
If you intend later than midnight then you can remove that condition completely as Hours is always > 0
If you need 11 PM to 8 PM the correct code is
If hours >=23 OR hours <8
For midnight to 8 PM the correct code is
If Hours < 8
I hope this explains it better
|
Posted: Tuesday Jun 5th, 2012 08:30 am |
|
17th Post |
lwillerton
Member
Joined: | Sunday Oct 2nd, 2011 |
Location: | |
Posts: | 221 |
Status: |
Offline
|
back to top
|
Cheers Ident...... I am sure your right now I have seen your reply I remember posting a similar question before. Hopefully, I can get it to stick in my brain this time :-)
|
|