Jump to content

Need some help with motion sense lights on/off


theedudenator

Recommended Posts

Posted

I want my downstairs lights to be on in the evening.

Then late at night downstairs lights will shut off, unless there is motion.

Then stay on for 15min after the motion stops.

 

Any suggestions?

 

I can currently have them turn on/off based on time.

OR

I can also get them to turn on/off based on motion.

I cannot get them to work at the same time.

Posted

Two programs came to mind, depending on your set up these may or may not work for you:

 

Important to set this first program to "Run at Startup"

also, assuming motion detector is not linked to anything but the ISY PLM.

 

Program: Down Stairs Lite Sched
If
       From     6:00:00PM
       To      10:00:00PM (same day)

Then
       Set 'Devices / Dwn Stairs Lite' On
       Disable Program 'Down Stairs Lite Motion'

Else
       Set 'Devices / Dwn Stairs Lite' Off
       Enable Program 'Down Stairs Lite Motion'

At 6PM the first program will run true and turn the downstairs light on and disable the second program from running. At 10PM the first program will turn false and turn the downstairs light off and enable the second program to run when motion is detected. Remember to set this first program to run at startup.

 

Program: Down Stairs Lite Motion
If
       Status  'Devices / Dwn Stairs Lite Motion' is On

Then
       Set 'Devices / Dwn Stairs Lite' On

Else
      Wait 15 min 
      Set 'Devices / Dwn Stairs Lite' Off

This second program if enabled will turn on the downstairs light when motion is detected and turn off 15 minutes after the motion sends the off signal.

Posted

I would modify the first program as follows:

Program: Down Stairs Lite Sched
If
       From     6:00:00PM
       To      9:45:00PM (same day)

Then
       Set 'Devices / Dwn Stairs Lite' On
       Disable Program 'Down Stairs Lite Motion'

Else
       Set 'Devices / Dwn Stairs Lite' Off
       Enable Program 'Down Stairs Lite Motion'
       Run Program 'Down Stairs Lite Motion' Then Path

 

This way, if there is no motion, the light still turns off at 10Pm but if there is activity in that area, the light will not turn off at 10 and require someone to move to turn it back on.

 

-Xathros

Posted

Good point. Only problem is if there is no motion after 9:45 the light will not turn off because the status of the motion is already off. I see where you were headed though...did you mean to "Run Program 'Down Stairs Lite Motion' If path" instead? In which case he can leave the turn off time at 10PM and add in your addition.

Posted
Good point. Only problem is if there is no motion after 9:45 the light will not turn off because the status of the motion is already off. I see where you were headed though...did you mean to "Run Program 'Down Stairs Lite Motion' If path" instead? In which case he can leave the turn off time at 10PM and add in your addition.

 

 

My Bad. I meant to have that run the 'Downstairs Light Motion' ELSE path not the THEN path. This way it will do a 15 minute countdown then turn off UNLESS there is motion to cancel the wait. The IF looks like it would work as well. Thanks for catching my error.

 

 

-Xathros

Guest
This topic is now closed to further replies.

×
×
  • Create New...