ldrinc Posted July 13, 2016 Share Posted July 13, 2016 (edited) Need help writing a program for my DSC Alarm. My intention with this program is that it will notify me every hour if the DSC alarm status is not in an Armed Away or Armed Stay status. Below is what I have attempted. Not sure how to tell the isy to send a message every hour. DSC Alarm Monitor - [iD 0046][Parent 00A3] If On Mon, Tue, Wed, Thu, Fri From 9:00:00AM To 9:00:00AM (next day) And 'DSC Alarm / Partition 1' Status is Disarmed Or 'DSC Alarm / Partition 1' Status is Entry Delay Or 'DSC Alarm / Partition 1' Status is Exit Delay Then Send Notification to 'Jack Only' content 'Security System Not Armed' Else Send Notification to 'Jack Only' content 'Security System Armed' Edited July 13, 2016 by ldrinc Link to comment
PurdueGuy Posted July 14, 2016 Share Posted July 14, 2016 Do you want to be notified at the top of every hour? Or every 60 min from the time the state changes? If 'Alarm / Partition 1' Status is Disarmed Then Repeat Every 60 minutes Send Notification to 'Jack Only' content 'Security System Not Armed' Else Repeat Every 60 minutes Send Notification to 'Jack Only' content 'Security System Armed' You'd then set it to run at startup. If the alarm never changes from disarmed, you will get a notification every 60 min (from whenever ISY boots) telling you it is not armed. The moment it arms, you will get a text, then a text every 60 min from that point. If you want to be notified at the top of every hour what the status is, that would be a a different program. Link to comment
ldrinc Posted July 14, 2016 Author Share Posted July 14, 2016 Thanks much! Every 60 mins will be ok. However, if I where to be notified at the top of every hour. How would I write something like that in a program? Link to comment
PurdueGuy Posted July 14, 2016 Share Posted July 14, 2016 if you wanted it at the top of every hour, I'd use 2 programs. Program1 is disabled. If 'Alarm / Partition 1' Status is Disarmed Then Repeat Every 60 minutes Send Notification to 'Jack Only' content 'Security System Not Armed' Else Repeat Every 60 minutes Send Notification to 'Jack Only' content 'Security System Armed' Program2 runs every hour New Program - [ID 00DC][Parent 0001] If Time is 1:00:00AM Or Time is 2:00:00AM Or Time is 3:00:00AM ..... Or Time is 12:00:00AM Then Run Program 'Program1' (If) Else - No Actions - (To add one, press 'Action') Link to comment
PurdueGuy Posted July 14, 2016 Share Posted July 14, 2016 Since i think you are running 5.x, if you have NodeLink and ISYData running, an easier Program2 would be: New Program - [ID 00DC][Parent 0001] If 'ISY Data' Minutes is 0 Then Run Program 'Arm (Away)' (If) Else - No Actions - (To add one, press 'Action') Link to comment
ldrinc Posted July 14, 2016 Author Share Posted July 14, 2016 I am running 5.xx however I don't have ISYData yet. Still looking to understand its features and benefits. I will consider if/when I decide to run it. Thanks again for your help. Much appreciated. Link to comment
Recommended Posts