gatchel Posted November 23, 2011 Posted November 23, 2011 Is it now possible to have the ISY send an email based on an alarm condition on the Elk M1? My thought is to have a custom email that would insert the zone and its condition and send it off as an email when there is a zone in alarm. I tried to think this through but there are just too many options, which is a good thing. I just don't fully understand what they do. Any ideas? This would be very useful as one of the limitations in the elk was the lack of email capability, only 16 emails meant that there could only be 16 different possible zone notices.
apostolakisl Posted November 23, 2011 Posted November 23, 2011 I do believe it is possible, sort of. You would need to write a program for each zone and an email for each zone. The programs would each say somthing like If Elk area 'xxx' is 'alarm state' burglar alarm and if zone xxx is violated then send email zone xxx alarm
gatchel Posted November 23, 2011 Author Posted November 23, 2011 Well...That would be better because there isn't a limit of 16 emails, but...I was thinking more along the line of: If ELk goes into alarm then send email to recipient with said alarm in the body and/or subject. One email with one rule encompassing all possible zones once they go into alarm. Something configurable like the custom emails with system date, time, etc variables.
Michel Kohanim Posted November 23, 2011 Posted November 23, 2011 Hi gatchel, You should already be able to do this using custom notifications and ELK variables. With kind regards, Michel
gatchel Posted November 24, 2011 Author Posted November 24, 2011 I have been tinkering and this is what I have, it's not working: If Elk Area "House" ALarm state is not no alarm active Then Send notification to "Bob Emails" content "ELk email test" Else The elk email test is: ${alert.control}${elk.area.#.alarmState}${elk.zone.#.status} what did i miss?
Michel Kohanim Posted November 24, 2011 Posted November 24, 2011 Hi gatchel, If you look at Program Summary tab, has this program even run? In short, is the problem the fact that the program has not been evaluated to true or is that the notification didn't work? With kind regards, Michel
gatchel Posted November 25, 2011 Author Posted November 25, 2011 The program did run looking at the program summary page. What do you think?
Michel Kohanim Posted November 25, 2011 Posted November 25, 2011 Hi gatchel, Please check your error log for -5000x errors and let me know if you find any. Also, you might want to try right mouse click on the program and then choose Run Then. With kind regards, Michel
FRR Posted November 27, 2011 Posted November 27, 2011 .... The elk email test is: ${alert.control}${elk.area.#.alarmState}${elk.zone.#.status} what did i miss? gatchel, The only way I was able to get this to work was to replace the '#'s with a area number and a zone number. I wonder how you would pass the area and zone numbers that caused the violation to the email? Regards, Frank
gatchel Posted November 28, 2011 Author Posted November 28, 2011 Hi gatchel, Please check your error log for -5000x errors and let me know if you find any. Also, you might want to try right mouse click on the program and then choose Run Then. With kind regards, Michel I cleared the error log, did the "run then" and ehecked the error log: Time User Code Message Sun 2011/11/27 07:42:45 PM System -50001 -19 This is what I found. Prior to doing this the only -5000's I could find were from several months ago.
Chris Jahn Posted November 28, 2011 Posted November 28, 2011 Well...That would be better because there isn't a limit of 16 emails, but...I was thinking more along the line of: If ELk goes into alarm then send email to recipient with said alarm in the body and/or subject. One email with one rule encompassing all possible zones once they go into alarm. Something configurable like the custom emails with system date, time, etc variables. Hi gatchel, The issue is that the ISY does not know the reason an area goes into alarm, instead it appears as a series of events. For example, you may get a Zone Violated event, followed by an Entrance delay Active event, followed by a Burglar Alarm event. I notice you have recognized the format of many of the Elk variables in notifications. You can display, for example, the status of Zone 3 with variable ${elk.zone.3.status}. Anytime you see a # it means that the number in the event that caused the program to run should be used. For example, if Zone 5 is violated and the program runs for that event, then ${elk.zone.#.status} is equivalent to ${elk.zone.5.status} This program will send a notification if either Zone 1,2, or 3 is violated while the Lobby is Armed Fully. If Elk Area 'Lobby' 'Arm Up State' is Armed Fully And ( Elk Zone 'Zone 001' is Violated Or Elk Zone 'Zone 002' is Violated Or Elk Zone 'Zone 003' is Violated ) Then Send Notification to 'me' content 'Zone Status' Else - No Actions - (To add one, press 'Action') Content of 'Zone Status' Email -- Lobby : ${elk.zone.#.name} : ${elk.zone.#.status} -- This does not take into account bypassed zones, or entrance delays, etc. so it may take more than one program to meet your needs.
gatchel Posted November 29, 2011 Author Posted November 29, 2011 Chris, Thank you. I used your example and created (and Tested) some programs to email status of zones that become violated. I was thinking that maybe there was a "check this box" way of sending all violations to an email with the variable information in them but the multiple program method will work fine. Besides, the ISY has an upgradeable memory card so the program space should be plenty Thanks again for your help.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.