I’m having a simple issue. I have a piston (BUTTONS) that has many “if button X is pressed, set up/down variable and execute MOTOR piston” actions. Then the MOTOR piston has many IFs that run actions depending on devices status and variables.
I tried this before with boolean variables for starting the MOTOR piston and also virtual switches, but they always get stuck at some point (task does not complete, variable stays true, piston doesn’t start again until I manually set the variable to false) so I want to try this “execute piston” method.
But in the MOTOR piston, when I get all the actions in the first level of the piston (there are many IFs) these IFs start running when the variables or devices change (variables that are not supposed to start actions when changed, they only store info for this piston to use when it is executed).
I only want the piston to run from the start to the end if it is executed by the BUTTONS piston. If I had a big IF, like “IF virtual switch turns on”, then the rest of the IFs inside this big IF don’t run unless the first IF is true.
Is there any way to make the IFs only work as filters and never run the piston by their own?
Thanks,
Rodrigo