Is it possible to cancel the actions of an rule in execution.
For instance i have a rule like:
When x then y and after 15 minutes z
I like to cancel the execute part if another trigger ocurs. Is this possible?
Cancel an executing rule
Is it possible to cancel the actions of an rule in execution.
For instance i have a rule like:
When x then y and after 15 minutes z
I like to cancel the execute part if another trigger ocurs. Is this possible?
Not natively. But depending on what you do in the then part maybe you can kill the process
pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebook
make it so !
I want to kill the after action, mainly send homeduino commands. What is the solution to kill the correspondig process of the rule?
You can’t delete the process from a rule like you need it.
I use for that a variable and a dummy button.
Create dummy button "zbutton"
Create variable “zswitch”
When x then y and set zswitch to "true" and after 15 minutes press zbutton
When zbutton is pressed and zwitch is "true" then z
To abort set zswitch to false in a rule
for homeduino commands i doubt it is possible to kill the command.
if using the shell execute plugin for example and execute a bash command, then killing would be possible …
pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebook
make it so !