Jump to content

Need help with Notification scheme


mitch236

Recommended Posts

Posted

I have my ISY programmed to send a text message to me in the event that my house's alarm is triggered. I've been trying to add additional programs to also send a text to inform me which zone had been breached. The alarm trigger program works without fail. It looks like this:

 

If

Program 'System Alarmed!!' is True

 

Then

Send Notification to 'Home'

Set Scene 'Scenes / Outdoor Lights' Fast On

Wait 3 seconds

Set Scene 'Scenes / Interior Lights' Fast On

Send Notification to 'Home'

 

Else

- No Actions - (To add one, press 'Action')

 

 

 

Then I wrote a program for each zone which looks like this:

 

If

Program '1 Front/Theater Door' is True

 

Then

Send Notification to 'Home'

 

Else

- No Actions - (To add one, press 'Action')

 

 

 

When the door/window is closed, the DSC interface makes the program tied to that zone False. When the zone is open, the DSC makes the zone's program True.

 

The above program (and all the other zone's similar programs) reside in a Folder with the constraint:

 

Folder Conditions for 'Alarmed Notification'

Add conditions to limit when programs in this folder are allowed to run.

 

 

 

If

Program 'System Alarmed!!' is True

 

Then

Allow the programs in this folder to run.

 

 

 

 

For whatever reason, I get the first notification "DSC Alarmed!!" but I never get the additional text about which zone was breached. What am I doing wrong?

Posted

Since the zone opening occurs first (within a split second any way) then the alarm trips, I wonder if this might work:

 

If 
Program '1 Front/Theater Door' is True 
And Folder 'Alarmed Notifications' is True

Then 
Send Notification to 'Home' 

Else 
- No Actions - (To add one, press 'Action') 

 

Tim

Posted

How about removing the folder condition for Alarmed Notification. Then changing the program to:

 

If 
Program '1 Front/Theater Door' is True 
And Program 'System Alarmed' is True 

Then 
Wait 5 seconds
Send Notification to 'Home' 

Else 
- No Actions - (To add one, press 'Action') 

 

or possibly this way:

 

If 
Program '1 Front/Theater Door' is True 
And Program 'System Armed Away' is True 

Then 
Wait 5 seconds
Send Notification to 'Home' 

Else 
- No Actions - (To add one, press 'Action') 

Tim

Posted

This is my latest iteration of programming. I haven't been able to test it yet though.

 

I changed the If statement of the Folder to:

 

Folder Conditions for 'Alarmed Notification'

Add conditions to limit when programs in this folder are allowed to run.

 

 

 

If

Program '*Armed Away' is True

 

Then

Allow the programs in this folder to run.

 

 

 

For all of the zones except the front door which has an entry delay I merely wrote:

 

If

Program '10 Family Room North' is True

 

Then

Send Notification to 'Home'

 

Else

- No Actions - (To add one, press 'Action')

 

 

 

That should work because the alarm will be alarmed if any of those zones become true while the alarm is armed.

 

For the front door zone which has an entry delay:

If

Program '1 Front/Theater Door' is True

 

Then

Wait 30 seconds

Enable Program 'Front Door Breached'

 

Else

- No Actions - (To add one, press 'Action')

 

That should cover the entry delay so I don't get a bunch of false notifications.

 

Then I wrote:

 

If

Program 'System Alarmed!!' is True

 

Then

Send Notification to 'Home'

 

Else

Run Program 'Front Door Toggle' (Else Path)

 

 

 

Which will send the notification if the alarm is set off. This program is in the Disabled state by default.

 

To toggle the state of the above program I wrote:

 

If

- No Conditions - (To add one, press 'Schedule' or 'Condition')

 

Then

Disable Program 'Front Door Breached'

 

Else

- No Actions - (To add one, press 'Action')

 

 

A little elaborate I know but hopefully, foolproof.

Posted

Hi Mitch236,

 

Looks good. The only thing that may cause a problem that I can see is the delay in the program:

 

If 
Program '1 Front/Theater Door' is True 

Then 
Wait 30 seconds 
Enable Program 'Front Door Breached' 

Else 
- No Actions - (To add one, press 'Action')

 

If the Front/Theater Door is closed before the 30 seconds are up the program will turn back to false (as would the programs in my suggestions above). You may have to break the program into two.

 

Tim

Guest
This topic is now closed to further replies.

×
×
  • Create New...