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.

Programming outside ligth with insteon motion sensor

Featured Replies

Posted

I have read through this thread:

 

http://forum.universal-devices.com/topic/12824-how-to-program-an-insteon-motion-sensor/

 

And I don't think it answers my questions. So, I'll ask my questions here.

 

My situation is as follows.  I have an Insteon motion sensor controlled by my ISY 994i, and to only work at night and to report ons but not offs. 

 

I want to use it to control my garage lights. However, I want my garage lights (on/off switch, Insteon) to be on certain days of the week.  Here's the programming currently (in pseudo-code).

 

Program Garage Lights:

If

{

    it's the weekend from sunset to 10:30pm

    or

    it's during the week from sunset to 9 pm

}

then

    Set the garage lights on

else

    Set the garage lights off

 

Now, I want the garage lights to come on for 5 minutes if the motion sensor comes on, but I don't want the lights to turn off if it's in the time ranges above.  So, I created a second program to ignore motion sensor on events occurring within those times above, but to turn on the lights for five minutes if it's outside that time (I'm assuming the programming of the sensor to night means that the lights only come at night, so I ignored this time period).

 

Program Garage Lights if Lights On:

If

{

    Control 'Garage-sensor" is switched on

    And (the time periods from above, separated by "or")

}

then

    no actions

else

{

    Set the garage lights on

    Wait 5 minutes

    Set the garage lights off

}

 

Next, I wanted to ensure that if I manually turned off the lights (using Alexa) during the above time periods, the lights would still come on.  So I set up a third program:

 

Program Garage Lights if Lights Off:

If

{

    Control 'Garage-sensor" is switched on

    And status of 'garage lights' is off

    And (the time periods from above, separated by "or")

}

then

    Set the garage lights on

    Wait 5 minutes

    Set the garage lights off

else

{

    no actions

}

 

Do these seem reasonable?

 

Is there any way to condense this, particularly for the time periods (if I change the time periods, it would be nice to change them in one place instead of three).

 

Thank you. 

 

 

 

 

 

   

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.