How to Turn Printer off after 20 minutes


#1

1) Give a description of the problem
I turn the printer on with a button in the ST app. I want to have this piston automatically turn the printer off after it was on for 20 minutes.

2) What is the expected behaviour?
Piston to register printer is on then countdown 20 minutes and turn it off.

3) What is happening/not happening?
nothing

**4) Post a Green Snapshot of the piston


#2

Change your IF to outlet 8 is on for 20 minutes THEN turn off. You can remove the WAIT


#3

Also, you may want to use switch instead of $status

If Outlet 8’s switch is On


#4

I would use the following:

IF Outlet's switch stays on for 20 minutes
    Then Turn off
END IF