Night light question

I use a dimmer that I want to turn on at 100% brightness during Day and Evening modes, but at only 20% brightness during Night mode.

I created a rule that does this, sort of.

The problem is when you press the dimmer on button, the lights first ramp up to 100% brightness. Then, the rule kicks in and ramos down to 20%.

Is there a way to get the dimmer to turn on to 20% right away?

The dimmer device is the top button of the Zooz Double Switch.

I don't have the Zoom double switch but have other Zoom switches so I looked in manual. Try disabling manual control with Parameter 19 then your trigger is the button beng pushed. Since manual control is disabled, it should only do the actions on your rule.

You will have to add to your if statement for when Mode is not Night

Not a direct answer but maybe get a motion sensor for bathroom. That is what i do

Ie

Summary

I am doing this exact same thing with the exact same switch. My solution has the light always START at the dimmed setting, and then I have a Basic Rule that ramps it up to 100% during certain times.

I have this set on the device settings (using my community driver to expose all the settings).
image

And here is my Basic Rule:

I also have a motion sensor which complicated things a bit but I managed to work out this motion lighting app to cooperate with the rest of it. The override settings were key so that if someone manually adjusted the light brighter it prevents the motion app from setting it back to the dimmed level at night.

2 Likes

If it's a zooz switch, many of them have a built-in feature where you can long-press the down/dim end of the rocker and it will turn on at 20%. It sounds like that's EXACTLY what you'd want if so.

2 Likes

I assume you meant disabling “physical” control? I tried this, then updated my rule. But now a physical push of the button doesn’t do anything.

If I set the device settings to enable a physical and digital control (the default setting), the rule only partially works. It turns the lights on and back off, but when it turns on it dims to 20%, which is the setting when on Night mode. However, it’s in Day Mode right now, and even Rule Machine acknowledges this.

If I press run actions, the rule fires as expected. When I physically press the button on the switch, nothing happens except the little LEDs on the dimmer switch light up.

After you disable Physical control, you need to add to your If-Then statement in Actions for when Mode is NOT Night so that the rule does something while in Day & Evening Modes.

1 Like

yes, i did that, by the phrase "IF Mode in [Day, Evening, Away]" at the top of the rule.

But still struggling =)

I would not recommend disabling physical control unless you have to, because then if your hub is offline for some reason you cannot turn on the lights at all.

If you check my solution above, it works 100% I have been using it for months.

1 Like

Have you turned on logging for rule to make sure the trigger you are using matches what the switch sends to hub when you push button?

I implemented your basic rule setup. Easy enough. One question though.

Could you please help me understand “restrict only the trigger of this rule”?

Aren’t we already restricting the rule from being triggered by mode?

Since this rule acts right away and doesn’t have any delays or loops that setting does not matter but it shows it on there either way you have it set.

Otherwise the setting let’s you pick if the restrictions only apply to the rule being triggered or would pending actions get canceled when the rules becomes restricted.

2 Likes