Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Lights on When Door opens?
#1
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
Reply

#2
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

Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

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