This object is in archive! 

Problems with a rule

Fredrik Elofsson shared this problem 9 years ago
Known

Hi

Can you help me get this rule to work?

I want it to light a lamp every weekday at 4:30 when the motion sensor activates it.

I am sending a picture of my rule so you can see how I intended it to work.

Have a good day

Replies (7)

photo
1

When MotionSensor=motion and time (now) between (04:30) And (05:30)

Light x (action) = On


And if you want only to turn it on at 04:30


When scheduler (04:30) and motionsesnor=motion

Light x (action) = On


But this makes no sense.

photo
1

Hello again

And if I want the lamp should only be on when motion starting at 04:30 from Monday to Thursday?

How do I solve it with a rule?

photo
1

Don't know for sure but try this:


When motionsensor=motion

If <(now)=(Time=0:45)>

Light=x

photo
1

Ooh i see now what you mean :)


When MotionSensor=motion and time (now) between (04:30) And (05:30)

If NOT part day of week of (now) = 1 and NOT part day of week of (now) = 7

Light x (action) = On

photo
1

Hi


You can also try this one:


WHEN MotionSensor=motion AND time (now) BETWEEN (04:30) AND (put the hour you want it to stop)

IF part day of week of now BETWEEN 2 AND 4 (I am pretty sure to have read on the forum that sunday is used as first day of the week, but correct me if I am wrong)

light x action = ON

photo
1

Hi

I do not really understand how the rule should look like. Could you make a rule in the rule creator and show me?

photo
2

I think you can make it this way


nV67Y5DI1MvkuCG0TaRl

Leave a Comment
 
Attach a file