Sorry folks if this is already answered, but I'm searching and experimenting now for hours without any progress.
Problem:
I have a node that fires true or false, depending if a server connection is alive or dead.
As long as true messages are coming, all is ok, nothing to do.
But if false messages are coming for more than 1 minute (without any true message in this time), I need to start a flow to take some action.
I experimented with Delay and Trigger Node, but so far I have no glue how to handle this.
In theory it is easy:
- if a false message is coming, start a timer with one minute and ignore all following false messages
- if a true message is coming, reset the timer (and ignore all following true messages or again reset the timer, does not matter)
- if timer fires (1 minute is over and no true message arrived in this time), fire the action flow and reset timer
Thanks, Max