Posted: Tuesday Nov 20th, 2007 11:01 am |
|
1st Post |
Warby
Member
Joined: | Thursday Aug 2nd, 2007 |
Location: | United Kingdom |
Posts: | 101 |
Status: |
Offline
|
back to top
|
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
|
Posted: Tuesday Nov 20th, 2007 11:15 am |
|
2nd Post |
admin
Administrator
Joined: | Saturday Mar 3rd, 2007 |
Location: | Singapore |
Posts: | 1200 |
Status: |
Offline
|
back to top
|
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
|
|