12-12-2011, 03:13 PM
Hi All,
I have set up a solution with the help and support of this forum so that if night mode has armed and I come downstairs the system bypasses the back door or conservatory depending on the route I take coming downstairs.
Now on Saturday my partner was in the conservatory when nightmode came on (automatically set) and this resulted in the alarm going off. Now she did not check to see if the conservatory door (reed switch) had been bypassed as I believe it should have been as any zone open should be bypassed during a night mode set. However, I bet it was the PIR that triggered.
So my question is what is the best way from stopping this in the future. I suspect I could use either a counter or a timer to pick up the fact the PIR had been triggered and if either reset the counter after x minutes or when the timer gets to 0 the zone is unbypassed.
So I guess the code would look something like this
Timed Event
if securitymode=securityoff Then
if timer x <>0 then bypass zone xxxx
Autoarm Nightmode
Then if set some timers to run eg.
Conservatory PIR triggeres 60seconds timer nul response
Lounge PIR triggers a 40 seconds timer nul response if consevatory timer is running.
Hall PIR triggers a 20 seconds timer nul response if Lounge timer is going and then if master bed PIR triggers it unbypasses the bypassed zones.
What do people think?
Cheers
Lee
I have set up a solution with the help and support of this forum so that if night mode has armed and I come downstairs the system bypasses the back door or conservatory depending on the route I take coming downstairs.
Now on Saturday my partner was in the conservatory when nightmode came on (automatically set) and this resulted in the alarm going off. Now she did not check to see if the conservatory door (reed switch) had been bypassed as I believe it should have been as any zone open should be bypassed during a night mode set. However, I bet it was the PIR that triggered.
So my question is what is the best way from stopping this in the future. I suspect I could use either a counter or a timer to pick up the fact the PIR had been triggered and if either reset the counter after x minutes or when the timer gets to 0 the zone is unbypassed.
So I guess the code would look something like this
Timed Event
if securitymode=securityoff Then
if timer x <>0 then bypass zone xxxx
Autoarm Nightmode
Then if set some timers to run eg.
Conservatory PIR triggeres 60seconds timer nul response
Lounge PIR triggers a 40 seconds timer nul response if consevatory timer is running.
Hall PIR triggers a 20 seconds timer nul response if Lounge timer is going and then if master bed PIR triggers it unbypasses the bypassed zones.
What do people think?
Cheers
Lee