Jump to content
C4 Forums | Control4

Programming help


Recommended Posts

Hi guys

I have a ca motion sensor that controls my outdoor lights via a c4 outlet switch. It's programmed so that if the sensors light level falls below 20% and it senses motion to turn on the lights then after 30 seconds to turn them off. I want to be able to override it so that if I choose to turn it on manually when the light level is below 20% to not turn it off after 30 seconds. And if I do manually turn off the lights it goes back to being controlled though motion sensing. How would I program that?

Link to comment
Share on other sites


Create a boolean variable called override. Then have some way to toggle the variable a custom button? or a button on a 6 button or even a double tap on that light switch. Then where you have your programming put an if variable "if override is true" then nest a "stop" after that. then when the overide is true it will not get to the turn light off.

Hope that makes sense

Ryan

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.