Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Check this repsonse code for me?
#1
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.

 
Reply

#2
Paul
I think it should work
Reply

#3
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.
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

Powered By MyBB, © 2002-2026 Melroy van den Berg.