Jump to content

Send alerts when away


themlruts

Recommended Posts

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?

Thanks
Mike

Link to comment

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.

Link to comment

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...

Link to comment

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?

Link to comment

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

--------------------

Link to comment

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.

Link to comment

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

Link to comment

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...