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

    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

    Tab ‐ Agents

  3. Select Variables
  4. Create new variable
  5. Enter variable name, for example Illumination Minimum
  6. Set variable type to number
  7. Select OK
  8. Select the variable that was just created
  9. 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

    Light-Motion-3

  10. Select device ‐ Motion Sensor
  11. Select event ‐ Motion Detected Panel ‐ Actions
  12. Select ‘+’ beside device ‐ Motion Sensor
  13. Select variable ‐ Illumination %
  14. Select tab ‐ Conditionals
  15. Create condition ‐ Is <
  16. Select the variable you created, Variable ‐> Illumination Minimum
  17. Double click the question mark
  18. Light-Motion-4

  19. Select device ‐ Light
  20. A: If using a switch, select On
    OR
    B: If using a dimmer, select Ramp to Level and choose light level and ramp rate to smoothly turn the light on
  21. 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
  22. Panel ‐ Programming

    Light-Motion-5

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