Beginners question

Hi,
I want to create a advanced flow that will do:
If after sunset AND before a certain time THAN do this ELSE do that

My problem is that ‘after sunset’ is not listed in the IF cards but only in the AND cards.
Does anybody know how i can handle this ?
Thank you for your help

When do you think this flow will trigger? Somewhere random between sunset and that certain time?

My guess he means “when the sun sets”, but just a wild guess

I’ve these flows to act at sunset but before a certain time

Act at a certain time, only when it’s after sunset:

You’re right. As i said: i’m a beginner :slight_smile:

Thank you for taking the time to answer.
I wanted to create a simple scene but i have a habit of making things over complicated :smile:
The lights in the garden must go on at sunset and turn of a a a specific time.
From there i will build it further with conditions like IF [after sunset] AND [lights are of] AND [motion detected] THAN [turn lights on].
Thanks

1 Like

This…

…and that…

…are two different processes, and that last one will not work this way.

Maybe you explain exactly what you want to do.

Hi @vincentdenkspel, are you looking for something like that?

As Fantross said, it would be good to describe you needs with more details.
Start with a simple setup, and then you will find here support to make it more detailed.

Hello @Warmduscher and @vincentdenkspel ,

Warmduscher, your example flow is exactly what Vincent wrote here

nothing wrong with converting words into an example flow, BUT

Flows work a bit different:
this flow might only trigger once a day, but only when the motion alarm is on, at exactly the same time when the sun sets.

You really want to flip those 2 cards, like:
When
-the motion alarm is on (this is the event)
And
-Bad Nachtlicht is off (this is a condition)
And
-it is night (this is another condition)
Then
-turn Bad Nachtlicht on

Note1: The ‘it is night’ card is the ‘it is day’ card, but inverted
Note2: When you use ‘it is after sunset’ instead, the condition is no longer true after midnight, when the new day starts.

1 Like

Hi,

First of all I want to thank everybody trying to help me.
What I need is the following:
The gardenlights must turn on at sunset and turn op at a specific time (lets say 22:30).
After 22:30 till sunset the lights must turn on for 5 minutes if motion is detected by the outdoor motion sensor.

Ok, now it’s clear.
I guess the first part (turn on at sunset and turn off at 22:30) it’s easy. If not, please let us know.

The 2nd part could look like this:

However, these two flows only work if the outdoor motion sensor is the only sensor that can activate/deactivate the zone (garden).
If there are other sensors in the garden that should not influence these flows, then you need to create these flows with a timer app, e.g. Chronograph.

1 Like

@DirkG : Great to see how zones will be used, I havn’t look into that, but I should.

Is it correct to use each time “Light is on” in the AND-card? I think it should be “Light is off” in the first flow.

Yes, because:

But it’s also possible to invert the flow card (right mouse button). In this case, the blue link/line should be used:

image

However, I skip the additional step of inverting the flow card.

1 Like