themlruts Posted November 6, 2015 Posted November 6, 2015 So I have open/close door sensors on all my external doors. When the wife and I are away I would like to "arm the house" I know its not an alarm system. I just set a variable that is the arm variable. What I would like to do is that when we are away and the door is opened i would like to send me an alert with what door has opened. Do i need to right a program for each door and its own alert? ThanksMike
Scottmichaelj Posted November 6, 2015 Posted November 6, 2015 If you have a triggerlincs then yes you just make a program and it can send you a notification via text, email, etc. example: If triggerlinc is on then send notification.
stusviews Posted November 6, 2015 Posted November 6, 2015 Yes, you need to write a separate program to send a notification for each sensor if you want to know which specific entry was violated.
larryllix Posted November 6, 2015 Posted November 6, 2015 I use ten motion detectors. I have assigned each room a numeric identifier. When motion is detected I simply assign a variable called $smotion.room with the room number. Anothet program watches that state variable and if it is not zero sends a text and email notification to me with that variable. This is acompanied by a small chartcof the room numbers to identify what room had motion. I also keep a two variable list of the last rooms activated so movement tracking is possible by reading the eight number list that the two variables can hold. No you do not need a separate program for each room. This also comes in handy for othet logic. If my away detector last sees motion in my mudroom 20 minutes are allowed. If any othrt room is triggered then 4 hours are allowed before marking the house empty.
jerlands Posted November 6, 2015 Posted November 6, 2015 When using Home/Away you may want to set the (Init) value also. If $s.Status.Home.Away is $s.Status.Home.Away Then $s.Status.Home.Away Init To $s.Status.Home.Away Else - No Actions - (To add one, press 'Action') Jon...
themlruts Posted November 7, 2015 Author Posted November 7, 2015 I use ten motion detectors. I have assigned each room a numeric identifier. When motion is detected I simply assign a variable called $smotion.room with the room number. Anothet program watches that state variable and if it is not zero sends a text and email notification to me with that variable. This is acompanied by a small chartcof the room numbers to identify what room had motion. I also keep a two variable list of the last rooms activated so movement tracking is possible by reading the eight number list that the two variables can hold. No you do not need a separate program for each room. This also comes in handy for othet logic. If my away detector last sees motion in my mudroom 20 minutes are allowed. If any othrt room is triggered then 4 hours are allowed before marking the house empty. Larry Kinda lost on this one. Can you give me some more detail? So does the number get texted to you or the name of the sensor?
larryllix Posted November 7, 2015 Posted November 7, 2015 (edited) The number as ISY can't handle text, yet. I am hoping they will implement a swap text for numbers function in v5. But I define integer variable as constants for programmes like. $cMudRm is set permanently to 21 so in my programs I can use this. If MudRm.MS is switched on Then Set $sZone.violated = $cMudRm Else .... When the monitoring program sees motion by the state variable changing. If $sZone.violated > 0 Then Notify Larry.via text zone.violated Else .... The notification sends. ------------------------ Motion is detected in ${var.x.x.} room Zones 20:GathRm, 21:MBR, 29:MudRm 10:RecRm, 12:EveBr, 13:AftBR 30:Shop -------------------- Edited November 7, 2015 by larryllix
larryllix Posted November 7, 2015 Posted November 7, 2015 (edited) These constant definitions work for low batteries and a few other functions by keeping lists. A notification with a list like 19212029 tells me the motion went from the downstairs landing into the great room, MBR, and then out the mudroom door. See the list above. Edited November 7, 2015 by larryllix
phlash73 Posted November 7, 2015 Posted November 7, 2015 (edited) My needs aren't fancy enough to need a variable. However, I just use the customizations tab under the Email setting. I use: "${sys.node.#.name}" And this program for my windows:If Status (Old) 'Big Back BR Window' is On Or Status (Old) 'Laundry Room Window' is On Or Status (Old) 'Kitchen Window' is On Or Status (Old) 'Small Back BR Window' is On Or Status (Old) 'Small Front BR Window' is On Or Status (Old) 'Big Front BR Window' is On Or Status (Old) 'Living Room Window S' is On Or Status (Old) 'Living Room Window N' is On Or Status (Old) 'Porch Window E' is On Or Status (Old) 'Porch Window W' is On Then Send Notification to 'Phlash' content 'Opened' Else Send Notification to 'Phlash' content 'Closed' Sounds like what you want to do - Which I did as well. This was the simplest way I found...And a seperate program for my doors (because it texts more people, does different things, etc) Not sure if this is all you are wanting to do, but it works for me.... Just implement your variable(s) into the program. If anything is opened, I get a text similar to: <Subject: Kitchen Window> Was opened at 18:20:45 On 2015/11/07 Edited November 7, 2015 by phlash73
Recommended Posts