Set dimmer when door is unlocked

Hi all,
I have been trying far too long to make this work and it just wont. Any help would be greatly appreciated.

What I am trying to do:
I would like a light to come on at 25% when a door is unlocked
I only want this ti happen between Sunset and Sunrise
I don't want the the light to change if already above 25% (ex: If it is on I don't want it to dim)

So far, the dimmer does work and it comes on when a door code is entered. Regardless of the time of day or current dimmer level the light goes to 25%.

What I have in Rule Machine is this:
Trigger Event - Lock code entered on XXX Any lock code
Actions to run:
Dim: XXX Light: 25__> fade: 2
Conditions:
Time between Sunset and Sunrise
Dimmer level of XXX light is <24

What am I missing?

Thank you all in advance

The conditions section of rule machine is there to help edit conditions that are used in a rule however they have to be applied in a conditional statement within the rule

You will probably need a If time is between Sunset and sunrise to start your rule actions

1 Like

I have a rule that does about that but it is with a contact switch instead of a lock and seeps to be working great.

Trigger Event: Front Door open
Select Actions to Run:
IF (Time between Sunset and 1:00AM PDT AND
Dimmer level of Living Room Lights is < 25 OR
Living Room Lights is off THEN
Toggle Dim: Living Room Light: 25
Exit Rule

Thank you both for your help, this along with a couple videos seems to have worked.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.