Hi there, hoping for some help with something that I think someone will hopefully find quite simple and show me the obvious method that is eluding me.
I have had a number of scenarios that involve me needing to create repeating actions in Rule Machine which are started and stopped with the on/off of a switch.
I'd like the actions in a rule to start with the turning on of a switch, then run repeatedly over and over again in a loop until I turn that switch off.
To begin I am going into RM and choosing Repeat While Expression
I then indicate the switch that needs to be on in order for the rule to repeat (while)
I dont understand the next stage, it then asks me to specify the number of repeats I want using n or the time period before it repeats again (I think) - neither of which I want, but the UI insists on this. I dont feel like I should need to know how long it takes to run my rule before it begins again which is what I think the first one is asking for?
My only option is to either cancel or go back into the rule from scratch, if I go in from scratch the rule I was just trying to create is missing.
If I go to create new action
It then remembers I was part way through the rule but keeps insisting on the number or the duration
I feel like I have really misunderstood how to use this.
I've looked in the documentation
It shows the usage as this
But I cant even complete the first stage unless I specify the number or duration, if I do then I can make it run like this
But how do I just get it to start my rule when I turn my switch on, repeat it and only stop it when I turn the switch off again?
Thanks in advance









