![]() |
|
Check this repsonse code for me? - Printable Version +- Comfort Automation/ Security System Forums (https://www.comfortforums.com) +-- Forum: Products (https://www.comfortforums.com/forum-3.html) +--- Forum: Questions on Using Comfort (https://www.comfortforums.com/forum-159.html) +--- Thread: Check this repsonse code for me? (/thread-891.html) |
- Pgordon - 12-12-2007 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. - slychiu - 12-18-2007 Paul I think it should work - Pgordon - 12-27-2007 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. |