12-12-2012, 10:38 PM
Under Miscellaneous Event Security Off, I have this response turn on some lights when the system is disarmed.
If NightTime <> 0 Then
X10 B7 On ! Stair Lights On
X10 A8 On ! Hall Lights On
X10 A4 On ! Kitchen Lights On
End If
The trouble is that this also turns on the lights when the system Auto disarms from Night mode. Can anyone suggest some additional conditionality to apply to avoid this - I was looking for \'previous security mode\' or something, so that when the system auto disarms during winter (when it is still \'night\' in the UK) it doesn\'t turn lights on.
Thanks
HB
If NightTime <> 0 Then
X10 B7 On ! Stair Lights On
X10 A8 On ! Hall Lights On
X10 A4 On ! Kitchen Lights On
End If
The trouble is that this also turns on the lights when the system Auto disarms from Night mode. Can anyone suggest some additional conditionality to apply to avoid this - I was looking for \'previous security mode\' or something, so that when the system auto disarms during winter (when it is still \'night\' in the UK) it doesn\'t turn lights on.
Thanks
HB