CustomEvent & cancelQueuedCommands  [Solved]

Easy to use, 100% Lua-based event scripting framework.

Moderator: leecollings

Post Reply
romeo
Posts: 9
Joined: Sunday 19 March 2017 16:12
Target OS: -
Domoticz version:
Contact:

CustomEvent & cancelQueuedCommands

Post 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
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: CustomEvent & cancelQueuedCommands

Post 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.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
romeo
Posts: 9
Joined: Sunday 19 March 2017 16:12
Target OS: -
Domoticz version:
Contact:

Re: CustomEvent & cancelQueuedCommands  [Solved]

Post by romeo »

Hi waaren,

That's pity !

I will wait for a new dzvents realease. ;)

Thanks
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest