Comfort  Automation/ Security System Forums Home
Home Search search Menu menu Not logged in - Login | Register

Night Mode Disarming / Arming
 Moderated by: admin Page:    1  2  Next Page Last Page  
 New Topic   Reply   Printer Friendly 
 Rate Topic 
AuthorPost
 Posted: Monday Oct 17th, 2011 11:37 am
   PM  Quote  Reply 
1st Post
lwillerton
Member
 

Joined: Sunday Oct 2nd, 2011
Location:  
Posts: 221
Status: 
Offline

  back to top

Hi All, (Comfort Newbee)

I think this system is great!!!! and the more I look in to it the better it gets….. Plus the after sales support and user support if fantastic……

Anyway I have a problem I would like to share and to get an expert opinion on.

I have the night mode automatically arm when we go to bed and turn off again before we get up in the morning. However, on the odd occasion the dogs want to go out in the middle of the night and we forget to turn off the alarm (half a sleep)…. This soon walks us and the rest of the neighbourhood up.

So I was wondering what is the best way for the system to realise it is us moving around and either bypass the back door for half an hour or so. I thought if PIR 1 (our bedroom) followed by PIR 2 (Hall) followed by PIR 3 (Kitchen) where triggered within 5 – 10 minutes during night mode either the system was disarmed or the back door was bypassed and then armed again after a similar sequent of detectors are triggered or a time elapses say half an hour.

No idea how I would program that though....


Idea and where to program them all welcome.

Cheer for now.

Lee   



 Posted: Monday Oct 17th, 2011 12:21 pm
   PM  Quote  Reply 
2nd Post
cleaner
Member


Joined: Monday Oct 3rd, 2011
Location: China
Posts: 23
Status: 
Offline

  back to top

That pain my head

Is it better to use Response 54 - "Start Entry delay in Night Mode"

If SecurityMode = NightMode Then
Start EntryDelay
End If

Put that in one of the zones, then it will start entry delay and tell you to disarm alarm



 Posted: Monday Oct 17th, 2011 09:45 pm
   PM  Quote  Reply 
3rd Post
lwillerton
Member
 

Joined: Sunday Oct 2nd, 2011
Location:  
Posts: 221
Status: 
Offline

  back to top

Hi,

Yup.........I can see how that might work so will give it a go....

The only problem is I guess the keypad will start to chime which will wake us up when really all we want to do is zombie downstairs let the dogs out, then zombie back to bed without really waking up or doing anything.

Great start and at least this way it will stop the neighbours being woken up.....

Cheers


Lee

 

 



 Posted: Tuesday Oct 18th, 2011 01:59 am
   PM  Quote  Reply 
4th Post
ident
Administrator


Joined: Wednesday Aug 9th, 2006
Location: Singapore
Posts: 3493
Status: 
Offline

  back to top

That  would be just in case you forget to disarm the system and would be simplest


You can also try this programming zone responses for the 3 PIRs

PIR 1 - start a timer PIR1 for x minutes, do Null Response
PIR 2 - If Timer PIR 1 is running, start a Timer PIR2 for x minutes, do Null Response
PIR 3 - If Timer PIR 2 is running, Bypass back door, then start a timer for X minutes to Unbypass the back door

This uses 4 timers

It will bypass the back door for a duration to allow you to get back inside




 Posted: Wednesday Oct 19th, 2011 05:38 am
   PM  Quote  Reply 
5th Post
lwillerton
Member
 

Joined: Sunday Oct 2nd, 2011
Location:  
Posts: 221
Status: 
Offline

  back to top

Hi

That sounds spot on will have a go now. I think a combo of both answers will definatley do what I need.

Thanks All.

Cheers

Lee



 Posted: Wednesday Oct 19th, 2011 05:38 am
   PM  Quote  Reply 
6th Post
lwillerton
Member
 

Joined: Sunday Oct 2nd, 2011
Location:  
Posts: 221
Status: 
Offline

  back to top

Hi

That sounds spot on will have a go now. I think a combo of both answers will definatley do what I need.

Thanks All.

Cheers

Lee



 Posted: Wednesday Oct 19th, 2011 06:54 am
   PM  Quote  Reply 
7th Post
lwillerton
Member
 

Joined: Sunday Oct 2nd, 2011
Location:  
Posts: 221
Status: 
Offline

  back to top

Hi Again,

Sounds spot on, but I can find the start timer option must be there but can't see it..... Also one of the PIR in my suggested group should be turning on a night light so how do I include that? This s not working so help would be appreciated here as well (Please see attached).

So please confirm if I do the following under zone/inputs choose the on response  

if night mode <>0

PIR 1 (master bed) - start a timer PIR1 for x minutes, do Null Response

if night mode <>0

PIR 2 (hall) - If Timer PIR 1 is running, start a Timer PIR2 for x minutes...

I Also want this PIR t(hall) to trigger a light between 11pm and 8am which is not working  so help if you can as a  response on under zone/input hall PIR (see attached)

PIR 3 - If Timer PIR 2 is running, Bypass back door, then start a timer for X minutes to Unbypass the back door

Cheers

Lee

Attachment: night light on.bmp (Downloaded 78 times)



 Posted: Wednesday Oct 19th, 2011 12:18 pm
   PM  Quote  Reply 
8th Post
ident
Administrator


Joined: Wednesday Aug 9th, 2006
Location: Singapore
Posts: 3493
Status: 
Offline

  back to top

Start Timer means "Do Response after X seconds using Timer N " just like you have done
Here you just want to start a timer without doing any Response at the end so use

"Do Response NullResponse after X seconds using Timer N "


You can test if a Timer is running using the action

"If Timer N <>0 then ..."

There is a logical error in your condition

"If Hours > 23 Then
   If Hours < 8 Then "

Hours is a value between 0 and 24 so hours cannot be > 23 AND also < 8
In other words, 8 is not greater than 23

You should use an OR combination, not AND as in your construction

eg
If Hours >= 23 Or Hours < 8 Then
    Do ......
End If



Last edited on Wednesday Oct 19th, 2011 12:20 pm by ident



 Posted: Wednesday Oct 19th, 2011 08:52 pm
   PM  Quote  Reply 
9th Post
lwillerton
Member
 

Joined: Sunday Oct 2nd, 2011
Location:  
Posts: 221
Status: 
Offline

  back to top

Hi ident

Does this look as if it would work?

Cheers

Lee

Attachment: Capture1.JPG (Downloaded 71 times)



 Posted: Wednesday Oct 19th, 2011 08:54 pm
   PM  Quote  Reply 
10th Post
lwillerton
Member
 

Joined: Sunday Oct 2nd, 2011
Location:  
Posts: 221
Status: 
Offline

  back to top

oh......and would I trigger via master bed on response?

Attachment: Capture2.JPG (Downloaded 71 times)



 Posted: Wednesday Oct 19th, 2011 09:00 pm
   PM  Quote  Reply 
11th Post
lwillerton
Member
 

Joined: Sunday Oct 2nd, 2011
Location:  
Posts: 221
Status: 
Offline

  back to top

Hi Indent,

Also is this rigth for the night lights? should get to test tonight.

Cheers

Lee

Attachment: Capture3.JPG (Downloaded 71 times)



 Posted: Wednesday Oct 19th, 2011 09:07 pm
   PM  Quote  Reply 
12th Post
schford
UCM Pi Users
 

Joined: Wednesday Feb 25th, 2009
Location:  
Posts: 248
Status: 
Offline

  back to top

You will need a separate response per PIR eg On Response for bedroom would start timer one

On Response for hall would then check if timer from bedroom pir was running and then starts its timer and do a null

then kitchen pir was do an on response etc etc



 Posted: Thursday Oct 20th, 2011 07:08 am
   PM  Quote  Reply 
13th Post
lwillerton
Member
 

Joined: Sunday Oct 2nd, 2011
Location:  
Posts: 221
Status: 
Offline

  back to top

Hi Ident,

Well the light on code working brill now thanks.

Hi Schford - That's sort of what I expected so now I am going to have to understand how I combine the lights on code with the bypass the the back door bit.

In my case both PIR 2 and 3 will are running an on responce for turning a z-wave appliance on and will also be required to start a timer. These events will have different conditions as well. So night lights between 0 - 8am, and the bypass zone will be when the night alarm is set around 1 - 7.

Maybe I have to change that and look at making the conditions the same, however we sometimes go to bed just before 1 so the bypass zone would not work unless I look at all possible route within the house to the back door and get timers running for all PIR's. To keep this simple I just though I know the route from the bedroom to back door and that we are normally in bed before 1 so hay presto.

Cheers

Lee  



 Posted: Thursday Oct 20th, 2011 07:23 am
   PM  Quote  Reply 
14th Post
schford
UCM Pi Users
 

Joined: Wednesday Feb 25th, 2009
Location:  
Posts: 248
Status: 
Offline

  back to top

My understanding is that all the code unless it is within an if statement effectively happens at the same time within a response - so just have a cpl more lines after or before the if statement to turn the lights on for your Response HallPirOn

As an aside to make it easier I have all my responses based on actions called RoomObjectOn or Off - eg I would have HallPirOn and HallPIROff

On another note - why dont you put the code to switch the light off under the PIR off response? That way it would not kick in until you had left the room...

As there are so many timers I also find it easier to name my timers after rooms so I never mix them up as well :-)

Last edited on Thursday Oct 20th, 2011 07:26 am by schford



 Posted: Thursday Oct 20th, 2011 10:51 am
   PM  Quote  Reply 
15th Post
ident
Administrator


Joined: Wednesday Aug 9th, 2006
Location: Singapore
Posts: 3493
Status: 
Offline

  back to top

The correct way to define an OR condition is shown below
Hours >= 23 OR Hours < 8

There is no need to use the condition If Hours >=0 as in your screenshot because that will always be true as Hours is from 0 to 23

Attachment: ORCondition.jpg (Downloaded 67 times)



 Posted: Thursday Oct 20th, 2011 10:55 am
   PM  Quote  Reply 
16th Post
ident
Administrator


Joined: Wednesday Aug 9th, 2006
Location: Singapore
Posts: 3493
Status: 
Offline

  back to top

When you assign a Zone ON Responsem, you do not have to test that the zone is on,
eg in your screenshot you have

If MasterBedroomPIR<>0 Then ...

If this is the Master Bedroom PIR ONResponse then it is activated only if the Master Bedroom PIR becomes active, so that IF MasterBedroomPIR statement is redundant

However you can test if other zones are also on

eg
In Zone 1 Response you can test if Zone 2 etc  are on

Last edited on Thursday Oct 20th, 2011 10:58 am by ident



 Posted: Thursday Oct 20th, 2011 05:20 pm
   PM  Quote  Reply 
17th Post
lwillerton
Member
 

Joined: Sunday Oct 2nd, 2011
Location:  
Posts: 221
Status: 
Offline

  back to top

Hi All

Think I am getting this now so if I add the followin to Zone on response That should do it I think.

 

Attachment: PIR1.JPG (Downloaded 64 times)



 Posted: Thursday Oct 20th, 2011 05:21 pm
   PM  Quote  Reply 
18th Post
lwillerton
Member
 

Joined: Sunday Oct 2nd, 2011
Location:  
Posts: 221
Status: 
Offline

  back to top

PIR 2

 

Attachment: PIR2.JPG (Downloaded 63 times)



 Posted: Thursday Oct 20th, 2011 05:22 pm
   PM  Quote  Reply 
19th Post
lwillerton
Member
 

Joined: Sunday Oct 2nd, 2011
Location:  
Posts: 221
Status: 
Offline

  back to top

PIR 3

Attachment: PIR3.JPG (Downloaded 63 times)



 Posted: Friday Oct 21st, 2011 01:33 am
   PM  Quote  Reply 
20th Post
admin
Administrator


Joined: Saturday Mar 3rd, 2007
Location: Singapore
Posts: 1200
Status: 
Offline

  back to top

You have got the general idea.
A few comments;
The Master Bedroom PIR Response does not need to test Master Bedroom PIR being on

If Night Time = 0 means Not Night Time, so your actions work in the Day only?



 Current time is 02:45 pmPage:    1  2  Next Page Last Page  
Top




UltraBB 1.172 Copyright © 2007-2014 Data 1 Systems