Jump to content

Program for Outdoor Motion Sensor with Light


Captain911

Recommended Posts

Hello Everyone,

 

I am brain f@rting on a program I am trying to create.

What I am looking to do is create a program that sets my outside porch light to 40% from sunset to sunrise (next day) but if the motion is triggered, set the light at 99%, wait 1 minute, and then return to 40%.  When I run these programs, it only works one time.  Is it redundant?

 

Here is what I have.  For one, is it possible to write this as one program instead of three?

 

Thanks for your assistance.

 

Tim

 Patio Light On - [ID 0014][Parent 0001]

If
        From    Sunset 
        To      Sunrise (next day)
 
Then
        Set 'Outside / Patio Light' 40%
 
Else
   - No Actions - (To add one, press 'Action')
 


Patio Light Off - [ID 0013][Parent 0001]

If
        From    Sunrise
        To      Sunset  (same day)
 
Then
        Set 'Outside / Patio Light' Off
 
Else
   - No Actions - (To add one, press 'Action')
 


Patio Light (Motion) - [ID 0015][Parent 0001]

If
        From    Sunset 
        To      Sunrise (next day)
    And Status  'Outside / Patio Motion Sensor-Sensor' is On
    And Status  'Outside / Patio Motion Sensor-Sensor' is not Off
 
Then
        Set 'Outside / Patio Light' 99%
        Wait  1 minute 
        Enable Program ' Patio Light On'
 
Else
   - No Actions - (To add one, press 'Action')
 


Link to comment

Hi Tim

 

Welcome to the UDI Forums! Give this a try

Patio Light On - [ID 0014][Parent 0001]
If
From Sunset 
To Sunrise (next day)

Then
Set 'Outside / Patio Light' 40%

Else
Set 'Outside / Patio Light' Off
Patio Light (Motion) - [ID 0015][Parent 0001]

If
From Sunset 
To Sunrise (next day)
And Control 'Outside / Patio Motion Sensor-Sensor' is switched on

Then
Set 'Outside / Patio Light' 99%
Wait 1 minute 
Set 'Outside / Patio Light' 40%

Paul

Link to comment

Thanks Paul!

 

I think that will do it.

 

By chance, is there a way to change the speed in which the sensor reacts in the program?

 

I changed the program to a 10 sec wait just to verify the program and it took close to two minutes to run again.

 

Greatly appreciate the assistance.

 

Tim

Link to comment

Tim

That's more a function of how the MS is configured. If you click on it, and then options. Here are mine in the image below.

 

If you set sensing to 'as motion is sensed', and 'on commands only', your program will get continuous "ons" and start over until motion stops. That keeps lights on while any motion is happening and then 1 minute more of time from the program. The program dims the light back down. Night only mode means it won't waste the battery sensing during the day

 

You do have to take the sensor down, open it and press the set button inside of it until the LED blinks to make these changes. There is more in the Insteon motiosensor manual PDF

 

Paul

 

post-5496-0-36644800-1458613681_thumb.jpg

Link to comment

Thanks Paul!

 

I think that will do it.

 

By chance, is there a way to change the speed in which the sensor reacts in the program?

 

I changed the program to a 10 sec wait just to verify the program and it took close to two minutes to run again.

 

Greatly appreciate the assistance.

 

Tim

Welcome!

 

Yeah what Paul stated above, but don't forget that jumper 5, in the back of the MS, sets remote setting control via software, or else only the MS hardware, inside, can affect settings.

Link to comment

Thanks for the info larryllix!

 

That probably saved me another post.

 

You would thInk with all the dimmers, sensors, and outlet lincs I would know more about the programming.

 

I think it's time to break out the wiki again and study up on the forums.

 

Again, I greatly appreciate the prompt responses.

 

Tim

Link to comment

Archived

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


×
×
  • Create New...