1) Give a description of the problem
I am trying to wrap my head around how to turn on two cree bulbs in my basement stairs if any of the following conditions are true
Contact Sensor 1 - Open
Contact Sensor 2 - Open
or
Motion Sensor senses motion
Then Turn off if the Motion sensor does not report motion for X minutes
Example - I may open the basement door simply to check something on the stairs - turn on light with door open, close door. If nothing happens for X minutes turn off lights
I may go down into the basement open door turn on lights, and close the door behind me and putz around in the basement which will trigger motion sensor - keep the light on until motion is not reported for X minutes.
I may open the exterior basement door and would want the same behavior
I am not sure exactly where to start - hoping someone else has done similar and has an example. I did look in the examples topic - unless I missed it I didnt find one