Jump to content
C4 Forums | Control4

motion light programing help


Recommended Posts

Currently I am using a motion detector (alarm zone but in C4) in my living room to turn on some accent lighting when it is night time and motion is detected.  The light automatically turns off at 5 minutes when no motion is detected.  This is mainly used as a nightlight type scenario when I get up in the middle of the night and head to the kitchen the light turns on so I can see. I also have it programmed to only turn on if the TV is off since sometimes I want things to be dark when watching a movie at night.  I also have a 6 button keypad in the room and one of the buttons is labeled light and controls the same light as the motion detector so I can turn it on/off manually during the day or whenever. 

What I would like to do is set it up so if I press the light button on the keypad the light will turn on for a longer period of time (more than 5 minutes) vs when the motion detector turns on the light.  Been thinking about this for a bit and cant wrap my head around how to program something like this... any of you gurus have any ideas? Thanks!

Link to comment
Share on other sites

Various options:

1. Only start the timer (to turn the light off) when you turn it on via motion detection. Or start a different (longer) timer when the button is pressed.
2. Use a variable to let you know if the light was turned on by motion detection or via the switch and when the timer expires check this variable and turn the light off (or not) based on this variable.  Could also use 2 timers of a different length if need be and check this variable when each one expires and act accordingly.

3. Probably the best option - purchase the Domosapiens Advanced Lighting Timer driver (available on Driver Central).  I am 99% sure this driver will do what you want and much more.  I have not used this driver personally but have used lots of other Domosapiens drivers and they are great. @msgreenfraves about this driver and I definitely need to give it a try!

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...