Lighting timer basics
If you want to control the light automatically by motion sensor, but also keep the possibility to control it with push button on the wall, use Lighting timer smart rule.
On the light device select Add new smart rule and choose Lighting timer.
In configuration of Lighting timer, choose appropriate motion sensor and set how long the light should be turned on when motion is spotted.
In order to turn off the light after the motion timer expires, you have to add another smart rule Keep default values and set action to turn off the light. The reason why this is done in 2 separate smart rules is to let users define another automation rules with lower priority (e.g. Daily schedule), although in most cases users just want to simply turn off the light.
The picture below shows the light device, affected by 2 smart rules. Please note that Lighting timer has higher priority than Keep default values.
Control with wall push buttons
If you want to enable also manual control of the light, using wall push buttons, define their functionality directly in this smart rule. It will enable better timing options:
- choose how long the lights should stay turned on after user turns them on manually, and also
- how long motion sensor should be ignored when user turns the light off and is leaving the room, and does not want the motion sensor to detect him and turn the light on immediately again.
Limiting the motion sensor
Use the icon on the right of motion sensor to define conditions when motion sensor should be enabled.