Comfort Automation/ Security System Forums

Full Version: Turn on output when alarm is set to night mode
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm trying to set up a response which will turn on and off an output when the alarm is set to night mode. this is my effort so far and it does not work. Anyone point me in the right direction of what I am missing. Thanks

If SecurityMode = NightMode Then
    Output Output004(4) On
End If
The response is correct. But what triggers the response?If you just create a response and nmot link to anything, then it will not execute. [attachment=2288] Responses must be assigned to Events
The best way is to use Partition Events > Night Mode Response (for Partition 0)
You can make a Response Output 4 On assigned to the Night Mode Response. There is no need for the condition  "If SecurityMode = NightMode" because this response is only triggered by Arming to Night Mode.
Many thanks.