This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
2 flows with same trigger?
androidfroyo
Member
What happens if you have 2 flows with the exact same trigger, do they run in consective order?
My example
I had a trigger that was
When Yale lock is unlocked AND downlight is off , Time is between 7pm to 7am THEN turn on downlight
It works though it's a bit slow.
Then I started to intergrate IFTTT and I created a new flow
When Yale lock is unlocked , THEN IFFTT flow (basically IFTTT flow sends email to tell me someone opened the door).
Does this work if I put the flows with the first one on top?
Or should I combine into one flow, but I can't figure out how to do in one flow, since the 2nd flow needs to run all the time regardless of conditions.
Thanks for helping in advance.
My example
I had a trigger that was
When Yale lock is unlocked AND downlight is off , Time is between 7pm to 7am THEN turn on downlight
It works though it's a bit slow.
Then I started to intergrate IFTTT and I created a new flow
When Yale lock is unlocked , THEN IFFTT flow (basically IFTTT flow sends email to tell me someone opened the door).
Does this work if I put the flows with the first one on top?
Or should I combine into one flow, but I can't figure out how to do in one flow, since the 2nd flow needs to run all the time regardless of conditions.
Thanks for helping in advance.
Comments
Anyway I now switched it to
Run the 2nd flow to trigger ifttt then it starts the first flow to check if it's in the evening and turn on light.
Seems to work.
Not sure if this is better .
No idea why. Sometimes the ifttt part works sometimes it doesn't . Same for the second part to turn on light.
The only pattern I can see is sometimes I get home, Homey led is no longer flashing the normal spectrum but has the yellow light.
What does that mean.
I'm currently trying 2 email services - via IFTTT and email sender app to send email when the door is unlocked and then start another flow. So far, I've noticed no difference if one triggers the other does as well to send email
The flow name unlock door is as below.
Basically checks if is is evening and if light is already turned off, if so will Turn on light and sa "Welcome home".
I'ver tried it and it works usually. Except when it doesn't.
The only pattern I;ve seen where it doesn't trigger is when homey is glowing orange
KB says Homey is listening to your voice or talking back
As far as I know everything still works when it is in that mode, I can command lights to be on or off using google shortcuts and routines..but the open door flow doesnt seem to work any more until I reset homey.
https://github.com/athombv/homey/issues/2052
But this flow is still working inconsistently.
Sometimes I open the door after 6pm, the light turns on. Sometime it doesn't.
The only pattern I notice is, the first time I come home after work (and usually I'm the first home) and open the door, it usually doesn't turn on the light.
But I then lock and unlock, the flow will usually trigger.
It's almost like Homey is "Asleep' cos of inaction initially.
I also notice if I use Homey to trigger the follow , it always works.
Any clues?
Could be a bug in https://apps.athom.com/app/com.yale.lock
It's unlikely to be due to the zwave mesh, should my door lock from the inside is right next to my zwave switches and the zwave chip is housed next to it on the inside of the lock.
Anyway to confirm if the problem is due to the zwave mesh or not?
Does it execute? I'm using the samsung app by Automate Asia and experiencing similar issues.. the trigger doesn't execute also so it's a problem with the lock side of things which I think need to be fine tuned in the app.
If I were to lock and unlock with homey within the GUI, it works fine, but if I were to unlock via the physical digital lock, the lock doesn't immediately or may not even report at all to homey. not sure if the polling or the reporting is off. So it's either the lock or the app. nothing wrong with the flows or wave.
When triggering via homey app or giving voice command via Google home or when testing in flow editor it works.
But when unlocking door its unreliable.
Is so odd that both the yale and samsung digital lock by the same person has the same issue.
It looks like the same bug. I mean it cant be anything physical right ?
I was thinking of giving up an adding a door sensor but thats not as good as the digital lock which can tell if the door is opened from front (keypad , thumbprint ) from zwave or from back.
https://h4sh.automate.asia/blogs/guides-and-reviews/decoding-yale-z-wave-lock-with-homey
Trying to understand.
I figured this out a while ago but i find even keypad press sometimes works sometimes doesn't .
I did notice an update today to the app.