I have tried to search the forum but haven’t found anything. I would like to use push confirmations for a lot of things but I have found it to be unreliable, especially when I take a while to respond.
Finally trying to get to the bottom of this, it looks like when it goes beyond 30 minutes, it does not process my response anymore. This might happen often if I don’t have my phone at hand or are busy.
I think I can confirm it (also on Android, but not sure if it’s Android related), using Advanced flow.
Well, it should stay active a little longer than 30 minutes imho!
Workaround:
When not responded within 30mins, start the flow within 30min again, it sends a new push and doesn’t interrupt the flow ‘flow’.
Shouldn’t user_acknowleged also be set to yes if the user does answer the question with “no”? Otherwise the question will asked again and again if “no” is answered?
A timeout must be. Else the flows will wait forecer if they are processed several times. You only neednto swipe the push message on your phone and Homey would have a memory leak by keeping the flow active.
Thanks for all the responses, very useful. I have imported the advanced flow and catching the error now to retrigger the same flow.
The main issue now is that it will show the same confirmation over and over again. I will need to make sure to click the latest. Or is there a way to catch the error and continue? I guess not.
@RonnyW You’re correct, it needs to have some time-out. The question is whether that would have to be after 30 minutes already.
The other issue I encounter, it sometimes seems to give an error Network request failed, way sooner than 30 minutes. I did get the push confirmation though.
Totally agreed. But il would be nice if I could set the timeout to the amount of time I want. And if I could retract the confirmation/notification. If I want (for instance) warn all family member that a door is left unlocked, I one member locks the door, there is no need for the others to respond or even see the confirmation/notification.
In my flows I often want Homey to ask me for confirmation, but then go ahead with a default action anyway if I fail to answer in time (or choose not to answer). But this just feels like a lot of cards to copy everytime (in cases where the default 30 minute (error) time-out takes too long or unreliable to use) .
Don’t know why you ignored this Q., but it can make a difference if you’re on Homey cloud or on a Pro 2023.
.
So when you answer ‘yes’ or ‘no’ after 2 minutes, it sends an error message to the timeline?
And do none of the the timeline cards send a ‘yes’ or a ‘no’ to the timeline in that case?
Please do not start the flow by pushing the blue start button, but right click on the flow name and hit “Start”
Testing flows using the blue start button, or by right clicking on a card and pick ‘Test’, often gives funny results, while the timing is completely unreal
The test function for advanced flow was mainly designed to only visualize the ‘path’ taken inside the flow.
Appearantly there’s no ‘test awareness’ built in flow cards with time dependencies.
Hi Peter. I think my answer is in this response but I am unsure how to put it in. I want a pending alarm push confirmation to go to my Wife and Myself BUT if we don’t respond at all, I would like the siren to sound after 20 seconds. I hope you can clarify for me. Thank you
Important fact one just has to know:
The yellow output doesn’t get activated when the push confirmation gets ignored
(only when one replies with “No”).
That’s the reason I added a timer.
So, in parallels to the push confirmation cards, add a “THEN start or replace timer XYZ, with a duration of 1820s”
(1820s = 30 minutes and 20s)
Then, connect this card to the blue outputs of the push noti cards: “THEN pause timer XYX” This is to prevent the timer from triggering the siren and lights, when one confirmed the push notification within 30 minutes
Then, fire the siren and light group cards by connecting them with the “WHEN timer XYZ is finished” card.
They’ll get fired 20s after the push confirmation timed out!
Does this make sense?
I have a similar timer constuction in my flow
Thanks Peter. I will have to let this sink in a little bit (Not the brightest bulb here). This alarm is delayed in case we walk in and forget to disarm. Or if we are not home it sounds the siren if we say yes or don’t answer. Sounds like I don’t need to do anything then. I will review your post and get it figured out. Much appreciated.
John