Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to Flash Lights on and Off during Intruder Alarm
#1
This example shows how to cause lights to Flash during an Intruder Alarm. When the alarm is disarmed, the Lights stop flashing and remain at the last state

Response FlashLightsOn
Do Output1ON
Do Output2ON
Do FlashLightsOff After 1 Seconds Using Timer01

Response FlashLightsOff
Do Output1OFF
Do Output2OFF
Do FlashLightsOn After 1 Seconds Using Timer01

In the example Outputs 1 and 2 are switched on in FlashLightsOn and are switched off in FlashLightsOff Response after 1 second
Outputs are used in this example but in a real situation, C-Bus, KNX or other lights can be switched on and off in this way

Timer 1 is used to insert a delay between FlashLightsOn and FlashLightsOff
In FlashLightsOff, Timer 1 starts a 1 second delay to FlashLightsOn, hence the flashing keeps repeating endlessly

The flashing will stop when the Timer is stopped. Hence the Response
StopFlashTimer
Stop Timer 1


The Alarm Type Intruder Alarm Response is assigned to FlashLightsOn so it starts the flashing ofd the lights


The Alarm Type System Disarmed is assigned to StopFlashTimer
Hence when the system is disarmed it stops the flashing timer, hence the flashing stops with the lights in the last state
You can switch off lights as well as stopping the timer but this is not recommended as the whole place will suddenly become dark especially at night. Better to switch on all lights when stopping the timer

The example response is attached




Attached Files
.zip   FlashingLightonAlarm.zip (Size: 19.45 KB / Downloads: 55)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)