Jump to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Security Notification Program

Featured Replies

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
 
 

 

Both programs test for the output to be "On" and your program plays with the same point.

Does the 065 affect the other status inputs?

  • Author

No, there is only one phantom output that I have active.  

  • Author

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

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.

  • Author

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.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.