JSchumann Posted January 12, 2013 Posted January 12, 2013 I am trying to write a program that will send me a text when the ELK system is armed and has a burgler alarm. I have or statements for all the zones. In customizations I have ${elk.zone.#.name} : ${elk.area.#.alarmState}. Problem is the text shows either the zone or the alarm state (2 seperate texts???).....I want it all to show up in one text. Not sure what is happening. I also tried e-mail, same result. ISY Firmware 3.3.8 The other problem appears to be it continiously sends texts while the Burgler alarm is active. I suspect I need to put a counter in to stop after sending one text. Thanks, John
apostolakisl Posted January 13, 2013 Posted January 13, 2013 I'm not sure I understand what is in your text. Are you listing all of your zone status'? Texts are limited to 160 characters total, so that could be why you are getting 2 (at least some carriers, maybe all, split a text in two if it is too long).
JSchumann Posted January 13, 2013 Author Posted January 13, 2013 I just want it to show the zone that is tripped and the type of alarm on one text, so: Garage door : Burgler Alarm I currently get one text: Garage Door Then another text: Burgler Alarm My goal is to write one program to cover all my zones and one customization to cover all the possibilities vice writing separate programs for each zone and type of alarm. Thanks, John
JSchumann Posted January 13, 2013 Author Posted January 13, 2013 If Elk Area 'Home' 'Armed State' is Armed Away And ( Elk Zone 'Bsmt-Garage Dr' is Violated Or Elk Zone 'Bsmt-House Door' is Violated Or Elk Zone 'Bsmt-Outside Dr' is Violated Or Elk Zone 'Front Door' is Violated Or Elk Zone 'Garage Doors L' is Violated Or Elk Zone 'Garage Doors R' is Violated Or Elk Zone 'Kitchen Door' is Violated Or Elk Zone 'Patio Door' is Violated Or Elk Zone 'Sliding Door' is Violated Or Elk Zone 'Sunroom Door' is Violated ) And Elk Area 'Home' 'Alarm State' is Burglar Alarm Then Send Notification to 'Verizon Text' content 'Elk M1 Burgler Alarm' Else - No Actions - (To add one, press 'Action')
apostolakisl Posted January 13, 2013 Posted January 13, 2013 One problem is going to be that if someone opens a door and triggers an alarm, by the time the entry delay is over and the system goes to alarm condition, the door probably would have been closed by whoever opened it. Of course this doesn't apply to zones without a delay, but I bet many of those doors listed do. You probably don't need the "if armed away" clause, but it won't cause any trouble and I guess it will exclude the text message in the situation that you accidentally triggered an alarm while home. Can you post your notification message as well?
JSchumann Posted January 13, 2013 Author Posted January 13, 2013 Message is: ${elk.zone.#.name}${elk.area.#.alarmState} While I am testing I am leaving doors open and it still doesn't work. Would probably have to use counter to 'lock in' the trip. On armed away, yes, it is to prevent texts while I am home.
apostolakisl Posted January 13, 2013 Posted January 13, 2013 The # sign needs to be filled in with the zone you want reported or the area you want reported. ${elk.zone.#.name} command just sends the name of the zone # in an email/text. So you would need a separate program for every single zone to specify which zone violated. You can't have a single program connecting all the zones with "or" statements since this does not specify which of those zones caused the alarm, just that one of them did. There is no way to have a single program that sends only the name of the zone that caused an alarm (unless your alarm system only has one zone) You either make a really long text listing all of the zones and their status (then you scroll through to see which one is violated), or you make one program for each zone that calls a text specific to that zone.
JSchumann Posted January 13, 2013 Author Posted January 13, 2013 Ahhhh, OK, I thought it got populated automatically. Was trying to figure a way to make it compact. Thanks! John
JSchumann Posted January 13, 2013 Author Posted January 13, 2013 Ok, This does what I want. I just need to work on timers now: Message: ${alert.control} : ${alert.action} alert.control lists the zone violated by name alert.action lists the status of the zone (violated or secure) John
JSchumann Posted May 24, 2014 Author Posted May 24, 2014 I can't find in the WIKI where customizations alert.control and alert.action went......can someone point me to it? Thanks, John
Michel Kohanim Posted May 25, 2014 Posted May 25, 2014 Hi JSchumann, Here you go: http://wiki.universal-devices.com/index ... _Variables With kind regards, Michel
Recommended Posts
Archived
This topic is now archived and is closed to further replies.