Help setting a timer for this piston at a set time each week


#1

1) Give a description of the problem
Can’t work out how to fire a piston

2) What is the expected behavior?
I what this piston to work every Tuesday (at 6am ideally)
So I created the main body to change a variable which does work when I test.
But I want it to run every Tuesday so it swpas the variable value but the option I used here does nothing so not sure what I need to do.

3) What is happening/not happening?
Piston Not expecting when I tested using today’s date.

4) Post a Green Snapshot of the pistonimage


#2

Use a Timer to run every Tuesday at 6am. When you click on Add a Statement, choose Timer instead of an IF Block.


#3

I did try that way but that doesn’t allow me to use the “else” part and I couldn’t figure out how else to get it to swap.
Thanks


#4

Then add a new statement and add the IF block within the timer you set.


#5

Here you go:

temp


#6

Thanks I was just about to post to say I have it working now I wasn’t putting a if in the timer I was doing a action.
So thanks for that @jkp
I’m going to use your piston @WCmore as it’s a lot simpler looking than mine.
Cheers