kurtiswilk Posted May 13, 2011 Share Posted May 13, 2011 Hi,Looking to program a motion sensor around a time period for example:between 2100 and -7000, If motion is detected light turns on at 20%Would this be set with a boolean variable , and running two scheduled events to toggle the true false value?Is there a better more efficient way to do this?Thanks in advancekurtis. Link to comment Share on other sites More sharing options...
pharmdsmith Posted May 13, 2011 Share Posted May 13, 2011 Go to programming then at the top left select your motion detector. Then select when motion sensed. Then at the top right scroll down to scheduler. Then select the conditional tab below that. Select the between radio button and choose your times then drag that to the middle. Then nest your lights turn on at 20% underneath it. Link to comment Share on other sites More sharing options...
kurtiswilk Posted May 13, 2011 Author Share Posted May 13, 2011 Thanks,Dont i feel silly know I was pretty sure I had checked that out. Link to comment Share on other sites More sharing options...
PixelPerfect Posted May 16, 2011 Share Posted May 16, 2011 Don't worry it happens to all of us. Link to comment Share on other sites More sharing options...
Tokead Posted October 2, 2011 Share Posted October 2, 2011 I have lights come on when motion is detected between certain times, and they're on a timer to turn off after 2 minutes. How can I set an override if the lights are already on (I.e we're still up) or we turn them on? Currently as soon as it senses motion, the lights dim and then turn off Link to comment Share on other sites More sharing options...
nikon Posted October 3, 2011 Share Posted October 3, 2011 I have lights come on when motion is detected between certain times, and they're on a timer to turn off after 2 minutes. How can I set an override if the lights are already on (I.e we're still up) or we turn them on? Currently as soon as it senses motion, the lights dim and then turn offjust create a condition "if light is off" then nest under it "if motion sensor detects motion" then turn on lights-start light timer etc. This way when motion is detected, only if the lights are off will the lights turn on and start an off timer. Link to comment Share on other sites More sharing options...
Tokead Posted October 3, 2011 Share Posted October 3, 2011 Thanks GeoffI think I tried a condition like that before, but I didn't nest it, and I wasn't sure how many times you could do an "if" statementToke Link to comment Share on other sites More sharing options...
nikon Posted October 3, 2011 Share Posted October 3, 2011 NP Toke. I would think that you could "If" until the cows come home. But the system will continue to process all logic which can slow things down. So at the end of each series of if statements, after the actions takes place put in a "Stop" command to let director know not to continue to stop evaluating at that point.for example:if light is off - if motion is detected - turn on light - start timer - Stopif xxxxxx - if xxxxxxxif xxxxxx - if xxxxxxxif xxxxxx - if xxxxxxx Link to comment Share on other sites More sharing options...
CSquared Posted October 3, 2011 Share Posted October 3, 2011 What does control4 use for 'nighttime' and 'daytime'? Is there somewhere to modify it, like the way you can make modifications in scheduler? Link to comment Share on other sites More sharing options...
RyanE Posted October 3, 2011 Share Posted October 3, 2011 I believe it's just sunrise and sunset.If you want something else, just create your own project variable ('DAYTIME'), and set it true/false based on scheduled events you create yourself.Then do programming based on that, not on Control4's.RyanE Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.