Jump to content

Security Notification Program


ldrinc

Recommended Posts

Posted

Recently installed an Elk M1 Gold security system and the ISY Elk Module.  

 

Having trouble getting a program to correctly notify me of the state of my alarm.  Here is what I have written so far.  My intent is to have a notification text sent to me when the alarm goes into a certain state.

 

Security Armed Notify - [iD 0035][Parent 0069]
 
If
        From    Sunrise
        To      Sunset  (same day)
    And Elk Output 'Output 065' is On (Using a phantom output on the Elk system helps to identify the user who has armed the system.)
    And Elk Area 'Area 1' 'Armed State' is Armed Away
    And Elk Area 'Area 1' 'Arm Up State' is Armed Fully
 
Then
        Set Scene 'Lighting Scenes / All Lights Scene' Off
        Send Notification to 'DL Only' content 'Security System Armed Away'
        Set Elk Output 'Output 065' Off
 
Else
   - No Actions - (To add one, press 'Action')
____________________________________-
 
I have the same program written for disarming the system.
 
Security Disarmed Notify - [iD 0064][Parent 0069]
 
If
        From    Sunrise
        To      Sunset  (same day)
    And Elk Output 'Output 065' is On
    And Elk Area 'Area 1' 'Armed State' is Disarmed
    And Elk Area 'Area 1' 'Arm Up State' is Ready To Arm
 
Then
        Set Scene 'Lighting Scenes / All Lights Scene' On
        Send Notification to 'DL Only' content 'Security System Disarmed'
        Set Elk Output 'Output 065' Off
 
Else
   - No Actions - (To add one, press 'Action')
 
________________________________________________
 
The problem that I am having with this logic is that the ISY will send me two messages--- one notifying me of a disarmed system and one message notifying me of an armed system at the same time.  This leaves me confused as to what state the alarm is in.
 
Any help to correct this would be appreciated.
 
dL
 
 

 

Posted (edited)

My apologies,  the second program should read as follows.  

 

Security Disarmed Notify - [iD 0064][Parent 0069]
 
If
        From    Sunset
        To      Sunrise  (next day)
    And Elk Output 'Output 065' is On
    And Elk Area 'Area 1' 'Armed State' is Disarmed
    And Elk Area 'Area 1' 'Arm Up State' is Ready To Arm
 
Then
        Set Scene 'Lighting Scenes / All Lights Scene' On
        Send Notification to 'DL Only' content 'Security System Disarmed'
        Set Elk Output 'Output 065' Off
 
Else
   - No Actions - (To add one, press 'Action')
Edited by ldrinc
Posted

I don't have an Elk, so just guessing.    Is there some state between "Disarmed" and "Armed"?

I know my DSC panel goes Disarmed -> Exit Delay -> Armed.

 

Also, if the parameters don't change synchronously (even a small delay) will mean that those things won't pass the IF test, and cause the other program to trigger?   It seems like "Elk Output 'Output 065' must be getting set to "On" before the other two entries change.

 

I'd try adding a small 'wait' to the start of each THEN.   Just 5 seconds might do it.  That will give the ISY time to get the variables in sync and things to settle.

Posted (edited)

Thanks,

 

I think that did the trick.

 

------------------------------

 

Security Disarm Notify 2 - [iD 0068][Parent 0069]
 
If
        From    Sunset 
        To      Sunrise (next day)
    And Elk Output 'Output 065' is On
    And Elk Area 'Area 1' 'Armed State' is Disarmed
    And (
             Elk Area 'Area 1' 'Arm Up State' is Ready To Arm
        )
 
Then
        Wait  5 seconds
        Set Scene 'Lighting Scenes / All Lights Scene' On
        Set Elk Output 'Output 065' Off
        Send Notification to 'DL Only' content 'Security System Disarmed'
        Wait  5 minutes 
        Set Scene 'Lighting Scenes / All Lights Scene' Off
 
Else
   - No Actions - (To add one, press 'Action')
Edited by ldrinc
Guest
This topic is now closed to further replies.

  • Recently Browsing

    • No registered users viewing this page.
  • Who's Online (See full list)

    • There are no registered users currently online
  • Forum Statistics

    • Total Topics
      37.1k
    • Total Posts
      371.5k
×
×
  • Create New...