Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

Cancel action if another event happens within 1 minute

If you have a question or need help, this is the place to be.
Post Reply
r_persater
Posts: 2
Joined: Fri Mar 23, 2012 6:00 pm

Cancel action if another event happens within 1 minute

Post by r_persater »

Hi folks!

Anyone out there that can give me a solution to this: I want to send a message some time (say a minute) after an event has occurred, but not if another event occurs before the minute has passed. More specifically, if my phone disappears from the wifi, and doesn't reappear within a minute, it should trigger an action. But if it shows up again the action is cancelled. (My phone make micro breaks from the wifi, like a few seconds or so, very often.) Glad if someone can come up with some ideas to try out!

Thanks,
/Rickard
piert
Experienced User
Posts: 321
Joined: Tue Jun 14, 2011 2:53 pm

Re: Cancel action if another event happens within 1 minute

Post by piert »

I think I have used the timer plugin (I believe it is Pako's) for similar scenarios, because it has a feature to cancel running timers by the same name.
blaher
Experienced User
Posts: 487
Joined: Thu Nov 17, 2011 1:27 am

Re: Cancel action if another event happens within 1 minute

Post by blaher »

Or you can disable / enable folders in conjunction with the timer plugin, so your event will fire on disconnect, but the action won't be performed because the folder is disabled, until your minute has passed, and then the folder is enabled.
Post Reply