Jump to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Program for Outdoor Motion Sensor with Light

Featured Replies

Posted

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')
 


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

  • Author

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

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

Edited by paulbates

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.

Edited by larryllix

  • Author

 

Thanks again for your assistance Paul.

 

Great to have people like you on these forums.

 

Tim

  • Author

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

Not a problem!. That's what the forum is for and most enjoy helping, even Paul, as he has nothing else to do in his prison cell.. :)

Guest
This topic is now closed to further replies.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.