![]() |
|
Lights on When Door opens? - Printable Version +- Comfort Automation/ Security System Forums (https://www.comfortforums.com) +-- Forum: Support (https://www.comfortforums.com/forum-2.html) +--- Forum: Problems & Troubleshooting (https://www.comfortforums.com/forum-36.html) +--- Thread: Lights on When Door opens? (/thread-867.html) |
- Warby - 11-20-2007 I am using the following response to turn in the hallway lights when the front door is opened, if it is dark and if the alarm is set. It is responding to the right conditions but it is turning the lights on when i open the door to exit. it is referanced to the On response of the front door DC, zonetype-Entrydoor. At what stage is the alarm in Away mode, While it is arming or once it is set? Stop Ringer Stop Ringer If Input LSM <> 0 Then If SecurityMode = AwayMode Then Send RS232 2 2A,70,20,31,20,39,20,32,30,30,30,0D End If If SecurityMode = VacationMode Then Send RS232 2 2A,70,20,31,20,39,20,32,30,30,30,0D End If End If Thanks in Advance - admin - 11-20-2007 The system is considered in AWAY mode internally when it is being set, but if it fails to set, then it reverts to Security Off. Hence what you report makes sense You can add this condition If Arming=0 to your response as follows; If Arming = 0 Then If Input LSM <> 0 Then If SecurityMode = AwayMode Then Send RS232 2 2A,70,20,31,20,39,20,32,30,30,30,0D End If If SecurityMode = VacationMode Then Send RS232 2 2A,70,20,31,20,39,20,32,30,30,30,0D End If End If End If |