Jump to content

Motion sensor on front porch


brianp6621

Recommended Posts

Posted

I have a new motion sensor on the front porch connected to the light. It is set to occupancy mode and On only.

 

What I want is if all of us are away, and the motion sensor is tripped, I want a notifcation every minute.

 

I have everything except for the alert working like I want. How do I get it to alert me on the first trip and the wait a minute and then alert me again if there is still motion?

Posted

Program 1
If
        Control 'Motion Sensor' is switched On
 
Then
        Send Notification to 'me'
        Run Program 'Program 2' (Then Path)
 
Else
   - No Actions - (To add one, press 'Action')
 
Program 2

If
   - No Conditions - (To add one, press 'Schedule' or 'Condition')
 
Then
        Disable Program 'Program 1'
        Wait  1 minute
        Enable Program 'Program 1'
 
Else
   - No Actions - (To add one, press 'Action')

Posted

Duh, I tried doing exactly like that but all within the same program. I don't remember why it didn't work. What prevents this from being all one program. If a program command disables the program itself, does the program continue to run?

Posted

If a program is disabled, then it ceases to run until such time as another program enables if or if it's manually enabled.

Posted

The program is disabled as soon as the disabling statement is executed.

Guest
This topic is now closed to further replies.

×
×
  • Create New...