Jump to content

PIRZWAVE2-ECO motion sensor.


themlruts

Recommended Posts

Posted

Before we get in to that the isy is not a security system,  I understand all the risks involved.  I have taken all the precautions i can.  The ISY is on battery backup and I run an enterprise firewall that has fail over to cellular connection.  I know this is not perfect.  But is better than nothing.  

 

I am tesinng the echo link motion sensor.  I pick this one becuase it is pet ammune.  I have a 15lb dachshund. I have setup several programs

Arm Home (perimeter only)

Arm Away (perimeter and motion)

Disarm

 

The problem is when the motion sensor is tripped it says tripped for 4 mins.  If i try to arm within those 4 mins it sets the alarm off. 

Bellow I will post all my code.  Any ideas would be appreciated. 

Thanks
Mike

 

Armed home

Armed Home - [ID 0050][Parent 0028]

If
   - No Conditions - (To add one, press 'Schedule' or 'Condition')
 
Then
        Run Program 'Disarm' (Else Path)
        Wait  1 second
        Repeat 1 times
           Set Scene 'Inside / Alarms_Alerts / Scenes / Door_Alert' Beep
        Repeat 1 times
           $Alarm_Perim  = 1
 
Else
   - No Actions - (To add one, press 'Action')
 


Alarm active(home)

Home - [ID 000C][Parent 0028]

If
        $Alarm_Perim is 1
    And (
             Status  'Inside / Hallway / Devices / HW_Basement-Door-Open' is On
          Or Status  'Inside / Kitchen / Devices / Kitchen Entry Door (Graage)' is On
          Or Status  'Inside / Living_Room / Devices / Front Door' is On
          Or Status  'Inside / Kitchen / Devices / Kitchen Slider' is On
          Or Status  'Garage / Devices / Garage Rear Door' is On
        )
 
Then
        Repeat 30 times
           Set Scene 'Inside / Alarms_Alerts / Scenes / Door_Alert' Beep
        Repeat 1 times
           Send Notification to 'Alarm' content 'Perimeter_Alarm_Open'
           $Alarm_Active  = 1
 
Else
   - No Actions - (To add one, press 'Action')
 

 

Arm Away (perimeter and motion)

Armed Away - [ID 0029][Parent 0028]

If
   - No Conditions - (To add one, press 'Schedule' or 'Condition')
 
Then
        Run Program 'Disarm' (Else Path)
        Wait  1 second
        Repeat 30 times
           Set Scene 'Inside / Alarms_Alerts / Scenes / Door_Alert' Beep
        Repeat 1 times
           $Alarm_Away  = 1
 
Else
   - No Actions - (To add one, press 'Action')
 


Alarm active(away)

Away - [ID 0056][Parent 0028]

If
        $Alarm_Away is 1
    And (
             Status  'Inside / Hallway / Devices / HW_Basement-Door-Open' is On
          Or Status  'Inside / Kitchen / Devices / Kitchen Entry Door (Graage)' is On
          Or Status  'Inside / Living_Room / Devices / Front Door' is On
          Or Status  'Inside / Kitchen / Devices / Kitchen Slider' is On
          Or Status  'Garage / Devices / Garage Rear Door' is On
          Or Status  'Inside / Living_Room / Devices / ZW 003 Binary Sensor' is Responding
        )
 
Then
        Repeat 30 times
           Set Scene 'Inside / Alarms_Alerts / Scenes / Door_Alert' Beep
        Repeat 1 times
           Send Notification to 'Alarm' content 'Perimeter_Alarm_Open'
           $Alarm_Active  = 1
 
Else
   - No Actions - (To add one, press 'Action')
 


Disarm

Disarm - [ID 0057][Parent 0028]

If
   - No Conditions - (To add one, press 'Schedule' or 'Condition')
 
Then
        $Alarm_Active  = 0
        $Alarm_Perim  = 0
        $Alarm_Away  = 0
        Run Program 'Armed Perm' (Else Path)
        Run Program 'Armed Away' (Else Path)
 
Else
   - No Actions - (To add one, press 'Action')
 
Posted

As you mentioned, we won't get into alarm vs ISY.

 

In general, what you are trying to do might be better achieved with variables, then have a program that is triggered by the motion sensor.   That program would set the variable to 1, wait a bit (maybe 5 seconds?), then set it back to 0.

 

Then instead of testing for individual status, test for variables.   And your "arm" programs can force variables to 0, disable/stop current programs, allow you time to exit, then enable programs.  Since these are Z-Wave, you only have "status = On" for the programs conditions, so you have to take that into account.   If they are Insteon motion sensors, you'd have "control is switch on" as well.   I'm not sure if 5.x will bring "control" to z-wave sensors (I hope it does).

Posted (edited)

Your repeat 30 times Beep. will probably hang your ISY system with Insteon traffic and you will lose control until it clears, when done.

 

I always have to insert at least Wait 1 second but Wait 2 seconds is better if you want to shut it off mid sequence.

 

I flash every light in the house as well as some outside lights and many noise makers.

 

 

With MSes I had false alarms from car headlights and/or lightning, and too many Cry Wolfs in the neighbourhood will get you trouble, too. This will happen when you are on the other side of the globe.

 

Getting a notification every 30 seconds, from a bad MS, for two weeks can destroy your vacationa nd your communications with your family.

 

Stop using status for MS units and disable the time off inside them. Saves batteries and makes less Insteon traffic.

 

 

I use defined room numbers to insert into a variable that triggers the alarms. Notifications contain that variable with a room chart.

 

I also set up an alarm variable with five level of action. Setting the alarm variable to 1 gives a short beep only, while level 5 gives the full array of everything, as well as notifications to both of us via two methods. This self resets after the level of alarm has done it's thing.

 

This seemed very simple at the beginning but after a year of fixing bugs and deficiencies, the programs have become very entangled and complex.

Edited by larryllix
Guest
This topic is now closed to further replies.

  • Recently Browsing

    • No registered users viewing this page.
  • Who's Online (See full list)

    • There are no registered users currently online
  • Forum Statistics

    • Total Topics
      37.1k
    • Total Posts
      371.5k
×
×
  • Create New...