There might be many questions, but I need to clear them for myself.
What will happen if we define multiple WHEN triggers in one flow? If one is applied, then it will be triggered or as soon as the first one is triggered, others will be ignored. If one is applied, then the others will be ignored. My thermostat has multiple triggers based on time that work, but the one that’s related to presence doesn’t work. I made a trick and changed the trigger to time (every x min), but it is not an efficient way to check every 30 minutes.
Is there a difference between having all flows in one flow or multiple flows? Following the above question, I divided multiple flows into different ones, but there is no change in the result. I have the same question, if the trigger of a follow is met, what will happen to others?
Is there a method to prioritize a flow?
Some points:
I have multiple phones. I decided to exclude some because usually, I do not take all phones with me.
No, if you have multipe triggers in an advanced flow, each will be triggered if the occurrence happens. It also doesn’t matter in what order you place the triggers in a flow.
[each 30 min] wil run each 30 min
[when 13:00] wil run at 13:00
if at 13:00 is exactly 30 min after the last [30 min] they will run both
it works the same as if you put each trigger in a separate flow.
I am just strugling how to describe that the trigger cards fires, that an event has happend, that an interrupt has occurred etc.
I agree that a condition is mostly mentioned in IF statements. However Homey does not use statements but flow cards with a less strict syntax.
This simple flow tells 2 of my lamps how to react when i come home or go away, go to sleep or wake up or the light drops under or rises above a certain lux value.
Thanks. I have added my flows to the question and added more explanations.
Previously, I had all in one flow and now in different flows. However, I still miss it when I leave home. It doesn’t turn off when I leave the house. Do you see any issues with it?
Thanks for your reaction. I have added screenshots and more explanations. The main issue that I have is that my thermostat doesn’t get off when I leave.
In that case the event in the WHEN card never occurs. You can easily see that to add a time line card directly after the WHEN card with a usefull message.
Btw you ‘when time is 22:00’. Any and All output both point at tempnight.
Sure you want that ? Like, it it doesn’t matter if your at home, if temp is below limit or if its between october and April, in any of the cases it will trigger.
If so, you can omit the All …
If the first flow is the only one which doesn’t work, then there seems to be something wrong with the Homey presence, like @Wim_Post already mentioned. Maybe because you use(ed) multiple phones.
@Rmb Thanks for your message. I have simplified the flow to share here. I have many messages for any situation. I am uncertain as to why the “not present” component functions.
I had a flow with the trigger of “checks every 30 minutes,” which worked, but I would rather not check it every 30 minutes, so I just triggered it when I was done.
Currently, I am writing a script to see if it works or not.
Just make two test flows. One flow that starts with the event some one leaves home and then writes a message to the time line. Another flow that checks every minute the state of the presence of the same person and writes this state to the time line too.
I cannot imagine that the presence status changes whilst not triggering the WHEN event.
You also might add a third flow that starts when somebody comes home and writing a message to the time line. Just to see what works and what not.