Simple Piston Help


#1
  1. Give a description of the problem
    Light isn’t turning off. I’m sure I’m missing something obvious…
    1 What is the expected behavior?
    Skybell detects motion, turns on porch light, then waits 60s and turns it back off.
    2 What is happening/not happening?
    Light isn’t turning back off…

  2. Screenshot


#2

set TCP to never. check under settings for the with statement.


#3

Thank you!

Now I need to read up on what that means. =)

reads

Ah, I get it now. This is a good answer for those that run across this.

“What it means is if there is a piston state or condition state change the task will cancel.
If you select ‘never’ then the task will always complete UNLESS the piston becomes true again. In that case the Timer stops. When it becomes false again, the Timer restarts. I hope that makes sense.”


#4

Hi All,

This has re-broken (light turns on, never turns back off). I’m assuming since some new webcore feature was implemented. I see a lot more options now than just TCP. Sync, Async, TSP, and TEP.

Any thoughts?


#5

the with statement still has TCP set to never?


#6

Yes. I changed to “Allow Multiple” for TSP and that SEEMS to have helped, but not positive. It just worked, but it might only be failing to shut back off occasionally.

Any other thoughts?


#7

the only thing you should need is TCP set to never and everything else set to default. it will work with that.


#8

So everything else should be:

Description
Disabled No
Execution Method Synchronous
Task Cancellation Policy Never
Task Execution Policy Always
Task Scheduling Policy Override

??


#9

yes.