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

Check this repsonse code for me?
 Moderated by: admin
 New Topic   Reply   Printer Friendly 
 Rate Topic 
AuthorPost
 Posted: Wednesday Dec 12th, 2007 03:44 pm
   PM  Quote  Reply 
1st Post
Pgordon
Member
 

Joined: Saturday Sep 23rd, 2006
Location: London, United Kingdom
Posts: 237
Status: 
Offline

  back to top

I think this code is OK, anyone care to comment?

Note that I use vacation mode instead of away mode, and have done for ages, and it works just fine. I want to modify it so that it can only be set from keypad 1 which is by the front door (final exit door), but *not* from any other keypad (I only have 1 one other in the master bedroom).

This is my "KeyArmToHolidayMode" response, which is assigned to the "Away" key in the "keypad" section in Comfigurator..

*******************************************

If SecurityMode = SecurityOff Then
    If  KeypadId = 65 Then
        KeySwitchArm VacationMode
        Do AwayModeResponse [Away Mode Response]
    End If
End If
*******************************************

Many thanks

Paul G.

 



 Posted: Tuesday Dec 18th, 2007 02:00 pm
   PM  Quote  Reply 
2nd Post
slychiu
Administrator


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 5493
Status: 
Offline

  back to top

Paul
I think it should work



 Posted: Thursday Dec 27th, 2007 01:32 pm
   PM  Quote  Reply 
3rd Post
Pgordon
Member
 

Joined: Saturday Sep 23rd, 2006
Location: London, United Kingdom
Posts: 237
Status: 
Offline

  back to top

Indeed it did, in fact I went further, and changed the conditions so that the bedside keypad will only set night mode, regardless of which key arm button is pressed, so even if I inadvertently hit the "away" button upstairs, it arms to night mode instead. This all works just fine.

Cheers.

Paul G.



 Current time is 01:37 am
Top




UltraBB 1.172 Copyright © 2007-2014 Data 1 Systems