Page 1 of 1

CustomEvent & cancelQueuedCommands

Posted: Friday 17 April 2020 10:16
by romeo
Hi,

Now I use several cutomEvents. No more need to use a virtual device trigger. Cool

But how can I cancelled a customEvent launched ?
For example:
domoticz.emitEvent('MyEvent', myData).afterMin(5)
In the meanime I need to cancel this "emitEvent"

Thanks in advance for your reply,
Isa

Re: CustomEvent & cancelQueuedCommands

Posted: Friday 17 April 2020 10:40
by waaren
romeo wrote: Friday 17 April 2020 10:16 How can I cancelled a customEvent launched ?
There is no option to cancel a delayed customEvent request. The cancelQueuedCommands() method is only available for devices.

Re: CustomEvent & cancelQueuedCommands  [Solved]

Posted: Friday 17 April 2020 12:09
by romeo
Hi waaren,

That's pity !

I will wait for a new dzvents realease. ;)

Thanks