Advanced flow for controlling hallway lights

Hi, I’m having a bit of trouble getting my advanced flow to control the hallway lighting as I want. In principle, I want the light to be controlled by a motion sensor during the day, while at night (00:00 - 06:30), the light should be constant at 10%. During the day, it turns on when there is movement, and off after 15 minutes without movement. After 21:00, it should turn on at 50% strength, while after 19:00 without activity it should dim to 50%.

My flow looks like this, but it doesnt seem to work for setting the lights to 10% at night.

The only issue I found right away is that I assume that you’re using the wrong “Then…” flow cards.
Instead of this flow card:

…you need to use this flow card:

However, it would be important to know what exactly doesn’t work after midnight! Is the light too bright? Too dark? Turned off?

It looks like that worked the charm. Did some testing now and it looks like its working.
It was mainly that the light didn’t change according to the plan when the clock hit midnight.

Yes, because you used the wrong flow card. The light was not dimmed to an absolute 10%, but only by 10% of the previous brightness value.

I’m glad it’s working now… :+1:

1 Like