Have a piston that kills the timer no matter what


#1

1) Give a description of the problem
Timer ends at change in event on motion sensor

2) What is the expected behavior?
The timer should not end

3) What is happening/not happening?
Prevents the tast to complet after wait

**4) Post a Green Snapshot of the piston![image|45x37]

By some strange reason it kills the timer when motion sensor sends (no motion)
Did try out different Device handler, and tried different options on behaviour on the IF.

Anyone seen this before?
Have numbers of pistons working fine, but this is on a friends system.

Snowy


#2

Don’t you need TCP set to never for this to work as you wish.


#3

Tried out different, if changes to active and others, also TCP settings like this.
But it seemes to kill the coundown no matter what.
If the wait is shorter than the report back for motion innactive the lights turn off all right.

This is the log from what kills the timer

+1ms ╔Received event [Fibaro Motion Entre].motion = inactive with a delay of 90ms
+82ms ║RunTime Analysis CS > 17ms > PS > 24ms > PE > 40ms > CE
+84ms ║Runtime (36374 bytes) successfully initialized in 24ms (v0.2.102.20180116) (82ms)
+85ms ║╔Execution stage started
+93ms ║║Comparison (enum) inactive is (string) active = false (1ms)
+95ms ║║Cancelling condition #7’s schedules…
+96ms ║║Condition #7 evaluated false (6ms)
+97ms ║║Cancelling condition #1’s schedules…
+97ms ║║Condition group #1 evaluated false (state changed) (8ms)
+100ms ║╚Execution stage complete. (15ms)
+101ms ╚Event processed successfully (101ms)

#4

Set TCP to Never on the WITH block.


#5

Try just changing if to changes to active instead of is active. Then you should not need tcp.


#6

Worked
Facepalm
Strangest thing is that i have several ones that does not cansel the timer When motion stops in my Home.


#7

Tryed that also.
It is on a friend of mine system.
And there are just a difference in something i cant get my head around from mine system.
Well the never cansel on the with made all the difference, and since i also removed the never on the if it renews the timer on change as it should.
Thx for helping out.
Snowy.


#8

Must not be enough snow in Norway, LOL :stuck_out_tongue_winking_eye:


#9

Heat would do that ;D


#10

Haha reason must be that i am in Denmark just now :smiley: