Motion Controlled Light

Motion detection will turn on a light if the room is dimmer than a certain level. That level will be set using a variable so it is easy to change.

 Tab ‐ System Design

  1. Select device ‐ Motion Sensor
  2. Set property ‐ Occupancy Hold Time ‐ 10 mins. Light will turn off after there has been no motion for 10 minutes

Tab ‐ Agents

  1. Select Variables
  2. Create new variable
  3. Enter variable name, for example Illumination Minimum
  4. Set variable type to number
  5. Select OK
  6. Select the variable that was just created
  7. Enter value for minimum illumination, for example 40. When illumination is below this value the light will be turned on by motion. To see current illumination level, go to Motion Sensor in System Design. You may have to set property Show Properties to Show for current illumination level to be displayed. Show Properties times out to Hide to conserve controller resources.

Tab ‐ Programming

  1. Select device ‐ Motion Sensor
  2. Select event ‐ Motion Detected Panel ‐ Actions
  3. Select ‘+’ beside device ‐ Motion Sensor
  4. Select variable ‐ Illumination %
  5. Select tab ‐ Conditionals
  6. Create condition ‐ Is <
  7. Select the variable you created, Variable ‐> Illumination Minimum
  8. Double click the question mark

  1. Select device ‐ Light
  2. A: If using a switch, select On
    B: If using a dimmer, select Ramp to Level and choose light level and ramp rate to smoothly turn the light on
  3. Click and drag the arrow onto the question mark. Confirm arrow is indented under question mark to show that this action will only be performed if the condition is true

Panel ‐ Programming

  1. Select event ‐ Motion Ended
  2. A: If using a switch, select Off
    B: If using a dimmer, select Ramp to Level, set level to 0 and press enter
  3. Double click the arrow


Related Articles