Piston seems to run through twice


#21

My earlier sample piston & statement is true:

BUT… there is a loophole…

If we need to extend that 4 sec a bit, and still return true at the correct time, we can add another WAIT (up to 4 sec).

pic

I believe the total of all WAITS (plus processing time) should be 9 seconds or less for this to work. IE:

  • 4s WAIT times 1 will succeed at 4 seconds
  • 4s WAIT times 2 will succeed at 8 seconds
  • 4s WAIT times 3 will fail at 12 seconds
  • 4s WAIT times 4 will fail at 16 seconds… etc

Edited the last 4 lines to better clarify.


#22

So 8 seconds fails but 2 4s waits still works? Did you test 3 4s waits? That is very strange behavior.


#23

Not strange to me… A 4 second WAIT is a FAKE wait… (the piston just stays in limbo)
Doing a command, and then another WAIT at 4 sec gives the same success. (the piston does not stop)

A 6 second WAIT requires a wakeup (and failure)

If any piston ever goes past 10 sec (or 9 sec to play it safe), it also requires a wakeup (and failure).


#24

Amazing the depth of experience you have from all the time you have put in. Getting concerned yet about Samsung’s “eminent” turn off of the classic app support? Some of these pistons (like your this launch gauge or your day length gauge) are completely independent of SmartThings but most of what we do is dependent.


#25

Thank you for the compliment. You are a sharp cookie, as well.


I am a quick learner… My biggest regret at the moment is not having two hubs at my disposal so I can multi-test the new environment.

Currently, I am of the mindset where I have no interest in the new platform until some key elements are added. If they do not add them, then I will take my SmartHome expertise elsewhere. (I have switched ecosystems many times since 2001)

They may try to push me, but I refuse to backslide! LOL


#26

I feel much the same although I have only been doing this for a couple years. The HE seems to be an appealing alternative with WebCoRE support but changing platforms is not something I want to take on at this point. Only time will tell.