This object is in archive! 
Rules. Motion and luminance triggered light.
Under Consideration
Hi!
Im trying to get this to work, and i can't figure out what im doing wrong!
The light triggers regardless off what the sensor lux value is.
It triggers the 1% light.
My purpose here is to:
1: no light when the lux is above 11
2: Normal light between 2-11Lux
3: dimmed light below 2Lux
See the attached picture
Files:
Skærmbillede 20...
No connection
Real-time notifications may not work
Phillip,
Your rule is programmed to set the light to 1 whenever the lux is > 2, and there is motion. Find attached my two rules for motion activated light. You don't need to nest the IF statements you could use something like the following in case you don't want to set up an automatic OFF function;
WHEN SENSOR ANY
IF SENSOR MOTION AND LUX <12 AND LUX > 1
THEN SET
LIGHT = 20
IF SENSOR MOTION AND LUX <2 AND LUX > 0
THEN SET
LIGHT = 1
IF SENSOR MOTION AND LUX > 11
THEN SET
LIGHT = 0
Phillip,
Your rule is programmed to set the light to 1 whenever the lux is > 2, and there is motion. Find attached my two rules for motion activated light. You don't need to nest the IF statements you could use something like the following in case you don't want to set up an automatic OFF function;
WHEN SENSOR ANY
IF SENSOR MOTION AND LUX <12 AND LUX > 1
THEN SET
LIGHT = 20
IF SENSOR MOTION AND LUX <2 AND LUX > 0
THEN SET
LIGHT = 1
IF SENSOR MOTION AND LUX > 11
THEN SET
LIGHT = 0
Replies have been locked on this page!