Or in standard flow

Hi all. Is it possible to, in the if function, to make an or function. Or is it only possible in advanced flow?

Yes it is possible in normal flows. Select the condition and hold it for a while, then the OR part will appear and move the condition to the OR part.

1 Like

Now i have tried on both the phone and computer, but it is not working for me in the “when” part to do a OR function

Hilsen Claus Jacobsen

I I understand the question correct,
There is only 1 IF
IF
AND - OR
THEN - OTHER

These are the possibilities:

An OR in the when column is what a 2nd or 3rd flow is. (That’s why there is a “duplicate flow” option).
Multiple triggers is not possible in a single regular flow (not just a choice from Athom to not implement it, but how flows in Homey are written/designed in general).

The first (and only) implementation they ever could add to add support for “multi triggers” for normal flows is the device flow card like “[any] alarm turned on”.

1 Like

the way I would approach it (in advanced flows), not sure if you could duplicate it in the normal flows:

The any is then triggered in and/or. pure or mode would be (I think):

No not like this. Like.
When motion is on, or somebody open the door,Then something happens

In standard flow, this is only possible by using an advanced virtual device as flow trigger.
This virtual device can take multiple sensors, and it triggers the flow on any of those sensors’ trigger.
Example for a motion and a contact sensor:

But that is a state, not an event, and as such not possible to use as a trigger.

It is not IF but WHEN, as the flow does not start with a condition but with an event. A condition can last for hours as an event is very momentarily.
Using the right words seems a little superfluous, but as you can see in this thread, all sort of concepts are mixed up.

@Rmb The OP asked “Is it possible to, in the if function, to make an or function”
As I read it, he asked if it is possible to make a OR function in the IF position.
And in the IF position there is only 1.
In the Dutch flows there are:
ALS
EN
DAN.

1 Like

If you change the language to English, you will see that there is no “IF” section but a WHEN” section in the normal flow. I already complaint to Athom that “ALS” is a poor translation of “WHEN”. When you translate “ALS” back to English, it should be “WHEN”.
So the question of the topic starter is quite confusing.
That is way I made an example of the flow using all possibilities in the section.

My question is if it is possible with more than one “If” in standard flow

Hilsen Claus Jacobsen

No,
standard flows have only one trigger (card).

Maybe better to adjust the title of the topic to what tour actual question is.

The confusion is because you use the word ‘if’ which, as @Rmb has pointed out, doesn’t exist in a standard Flow. So in English the word ‘if’ could mean the When or And section. So to get an accurate answer you need to state which section you mean, as in When or And.

And if you translate the word IF in a translate tool the outcome is ALS.
So the translation of an app is not that easy to make it easy for everyone.

1 Like