Pistons are not resuming


#1

I am using webcore with SmartThings.
I have 3 pistons that include when a contact sensor opens another piston is paused. When contact sensor closes, the piston resumes. Well, the pistons are not resuming.

These recently stopped working correctly. They pause the piston but when contact sensor closes the piston is not resumed. I have separated into 2 separate pistons for open/pause and close/resume.

It’s like webcore isn’t seeing the device close.
I’m wondering if this is currently a know issue since it’s not isolated to 1 piston?


#2

You may want to attach images of the pistons and logs.


#3

The first one works. The second one does not.


#4

try creating one piston with two IF blocks…

one IF block for contacts change or is open
to pause the piston
turn on your devices
set piston state

one IF block for contacts change or is closed
resume piston
turn off your devices
set piston state

note: you don’t need a separate IF block to set piston state, you can combine it with the first block

pause the other two pistons and try running this new piston


#5

Still having the same problem. The piston executes correctly when contact is open and logs are filed. But it is not executing or creating logs when contact is closed. I forgot to mention this is a simulated contact/switch.


#6

try using simulated switch instead of contact and adjust your piston to on/off instead of open/close for the contacts. test and see what happens.


#7

If you open the contact, close it, and open it again, does the piston attempt to pause the other piston again or does it only work the first time after a restart?


#8

It attempts to execute again and logs will say “Skipped execution of physical command because it would make no change to the device”


#9

I tried with Simulated Switch, Simulated Alexa Switch, Virtual Switch. None execute the second If block to turn lights off and resume the paused piston.


#10

I decided to run a test and removed the pause and resume piston sections and it functions as it should. So it appears that the problem is with the resume piston function.