Piston doesn't finish running


#1

1) Give a description of the problem
Piston stops before it finishes running. I think it’s because the trigger is not setup correctly.

2) What is the expected behaviour?
Coffee maker turns on when bathroom light turns on, then coffee maker turns off 30 minutes later.

3) What is happening/not happening?
Coffee maker is not turning off 30 minutes later.

4)

5) Attach logs after turning logging level to Full
1/30/2023, 5:53:41 AM +340ms
+4ms ╔Received event [Light-Master-Bath].switch/physical = off with a delay of 61ms, canQueue: true, calledMyself: false
+20ms ║Runtime (5920 bytes) initialized in 3ms (v0.3.114.20230103_HE)
+24ms ║╔Execution stage started
+53ms ║║Cancelling condition #2’s schedules…4 (st:6)
+59ms ║╚Execution stage complete. (35ms)
+82ms ╚Event processed successfully (78ms)
1/30/2023, 5:37:32 AM +266ms
+7ms ╔Received event [Light-Master-Bath].switch/physical = on with a delay of 53ms, canQueue: true, calledMyself: false
+38ms ║Runtime (5881 bytes) initialized in 3ms (v0.3.114.20230103_HE)
+40ms ║╔Execution stage started
+159ms ║║Executed device command [Coffee Maker].on() (51ms)
+170ms ║║Executed virtual command [Coffee Maker].wait [1800000] (1ms)
+175ms ║║Requesting wake up at Mon, Jan 30 2023 @ 6:07:32 AM CST (in 1799998ms) for 4 (st:6)
+182ms ║╚Execution stage complete. (142ms)
+217ms ║Setting up scheduled job for Mon, Jan 30 2023 @ 6:07:32 AM CST (in 1799979ms)
+221ms ╚Event processed successfully (215ms)


#2

It is likely your restriction is blocking the execution of the off. You may not want to use the restriction, but rather code it into your if statement (as a condition)

See: https://community.hubitat.com/t/using-restrictions-in-webcore/89477


#3

If you are running the user install on HE, can you do an HPM repair on webCoRE and let me know what you see?


#4

Also, you would need to change the execution policy to Never cancel tasks. If the bathroom light changes to off the if part of your piston is no longer going to be true so the execution of the piston will be canceled. image


#5

Yep, that’s what I was looking for, just forgot what it was called. Thanks!