I have a need to trigger some actions based on a contact being open or a virtual switch turning on. The rule itself fill also turn on the same virtual switch. Will that cause a loop or since it will happen in the same say… second… will the actions only fire once? Or will the auto cancel of actions firing bases on a trigger going off keep that from happening? Trying to figure it out without starting a loop. Especially since part of it makes an announcement over Sonos.
I would definitely make sure the Ignore Trigger Events While Running toggle is enabled which should prevent it from running multiple times.
Forgot that existed! Thanks!
Do note that, from the sounds of things, it seems like this might still be a problem for you. If your rule actions cause another trigger event very quickly after running, the state (in this case, the fact that your actions are "running") might not have time to be written before the second trigger starts another instance of the rule, which might not yet have the new state.
One second should be fine; a few hundred milliseconds would probably be fine; but a few milliseconds is unlikely to be. This isn't guaranteed, but shorter is more likely to cause a problem.
The good news if it does is that it would be your rule causing this, and the actions are entirely within your control.
So some other approach is possible if this doesn't work.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
