If temperature doesn't change in "x" amount of time,do "y"


#1

1) Give a description of the problem

I have a few temp sensors connected to a fibaro ubs. Basically, all I’m trying to do is to flick a virtual switch off if there’s no change in temp for x amount of time. If, at some point later, the temp changes again, I’d like to have the virtual switch turn back on again.

2) What is the expected behaviour?
If temp remains the same for x minutes, flick the switch off.
As soon as it changes again, flick the switch back on.

i.e. No updates for x amount of time - assume a fault.

3) What is happening/not happening?

After 2 mins, regardless of the fact that I’m watching the temperature readings change every 30 secs, the switch is flicking off regardless.

4) Post a Green Snapshot of the pistonimage

5) Attach logs after turning logging level to Full

5/23/2020, 3:00:46 PM +271ms
+1ms ╔Received event [Temp Probe Top Bathroom (F3)].temperature = 22.8 with a delay of 64ms
+207ms ║RunTime Analysis CS > 32ms > PS > 132ms > PE > 42ms > CE
+209ms ║Runtime (41251 bytes) successfully initialized in 132ms (v0.3.110.20191009) (207ms)
+210ms ║╔Execution stage started
+221ms ║║Comparison (decimal) 22.8 stays_unchanged = true (1ms)
+223ms ║║Adding a timed trigger schedule for condition 2
+226ms ║║Cancelling condition #2's schedules...
+227ms ║║Condition #2 evaluated false (11ms)
+229ms ║║Cancelling condition #1's schedules...
+230ms ║║Condition group #1 evaluated false (state changed) (15ms)
+238ms ║║Comparison (decimal) 22.8 changes = true (1ms)
+240ms ║║Cancelling condition #8's schedules...
+242ms ║║Condition #8 evaluated true (7ms)
+243ms ║║Cancelling condition #7's schedules...
+245ms ║║Condition group #7 evaluated true (state changed) (11ms)
+248ms ║║Cancelling statement #3's schedules...
+267ms ║║Executed physical command [Fib3_test_topbathroom].on() (14ms)
+268ms ║║Executed [Fib3_test_topbathroom].on (16ms)
+272ms ║╚Execution stage complete. (62ms)
+274ms ║Setting up scheduled job for Sat, May 23 2020 @ 3:02:46 PM BST (in 119.951s)
+428ms ╚Event processed successfully (428ms)
5/23/2020, 3:00:37 PM +197ms
+1ms ╔Received event [Home].time = 1590242437991 with a delay of -795ms
+343ms ║RunTime Analysis CS > 74ms > PS > 232ms > PE > 37ms > CE
+345ms ║Runtime (41228 bytes) successfully initialized in 232ms (v0.3.110.20191009) (343ms)
+347ms ║╔Execution stage started
+353ms ║║Cancelling condition #2's schedules...
+354ms ║║Condition #2 evaluated true (1ms)
+356ms ║║Cancelling condition #1's schedules...
+357ms ║║Condition group #1 evaluated true (state changed) (4ms)
+360ms ║║Cancelling statement #5's schedules...
+383ms ║║Executed physical command [Fib3_test_topbathroom].off() (19ms)
+384ms ║║Executed [Fib3_test_topbathroom].off (21ms)
+395ms ║║Cancelling condition #8's schedules...
+396ms ║║Condition #8 evaluated false (8ms)
+398ms ║║Cancelling condition #7's schedules...
+399ms ║║Condition group #7 evaluated false (state changed) (11ms)
+401ms ║╚Execution stage complete. (55ms)
+402ms ╚Event processed successfully (403ms)
5/23/2020, 3:00:25 PM +265ms
+1ms ╔Received event [Temp Probe Top Bathroom (F3)].temperature = 22.9 with a delay of 86ms
+203ms ║RunTime Analysis CS > 18ms > PS > 147ms > PE > 39ms > CE
+206ms ║Runtime (41248 bytes) successfully initialized in 147ms (v0.3.110.20191009) (204ms)
+207ms ║╔Execution stage started
+217ms ║║Comparison (decimal) 22.9 stays_unchanged = true (1ms)
+220ms ║║Condition #2 evaluated false (7ms)
+221ms ║║Condition group #1 evaluated false (state did not change) (9ms)
+228ms ║║Comparison (decimal) 22.9 changes = true (1ms)
+229ms ║║Condition #8 evaluated true (5ms)
+231ms ║║Condition group #7 evaluated true (state did not change) (6ms)
+233ms ║║Cancelling statement #3's schedules...
+241ms ║║Skipped execution of physical command [Fib3_test_topbathroom].on([]) because it would make no change to the device. (2ms)
+242ms ║║Executed [Fib3_test_topbathroom].on (4ms)
+245ms ║╚Execution stage complete. (38ms)
+247ms ║Setting up scheduled job for Sat, May 23 2020 @ 3:00:37 PM BST (in 12.48s)
+255ms ╚Event processed successfully (256ms)
5/23/2020, 2:59:43 PM +354ms
+1ms ╔Received event [Temp Probe Top Bathroom (F3)].temperature = 22.8 with a delay of 84ms
+189ms ║RunTime Analysis CS > 18ms > PS > 137ms > PE > 33ms > CE
+191ms ║Runtime (41248 bytes) successfully initialized in 137ms (v0.3.110.20191009) (189ms)
+192ms ║╔Execution stage started
+200ms ║║Comparison (decimal) 22.8 stays_unchanged = true (1ms)
+202ms ║║Condition #2 evaluated false (5ms)
+203ms ║║Condition group #1 evaluated false (state did not change) (7ms)
+209ms ║║Comparison (decimal) 22.8 changes = true (0ms)
+210ms ║║Condition #8 evaluated true (5ms)
+211ms ║║Condition group #7 evaluated true (state did not change) (6ms)
+214ms ║║Cancelling statement #3's schedules...
+220ms ║║Skipped execution of physical command [Fib3_test_topbathroom].on([]) because it would make no change to the device. (2ms)
+221ms ║║Executed [Fib3_test_topbathroom].on (4ms)
+224ms ║╚Execution stage complete. (32ms)
+226ms ║Setting up scheduled job for Sat, May 23 2020 @ 3:00:37 PM BST (in 54.412s)
+238ms ╚Event processed successfully (237ms)
5/23/2020, 2:59:22 PM +188ms
+1ms ╔Received event [Temp Probe Top Bathroom (F3)].temperature = 22.9 with a delay of 69ms
+185ms ║RunTime Analysis CS > 18ms > PS > 117ms > PE > 50ms > CE
+188ms ║Runtime (41248 bytes) successfully initialized in 117ms (v0.3.110.20191009) (186ms)
+189ms ║╔Execution stage started
+199ms ║║Comparison (decimal) 22.9 stays_unchanged = true (0ms)
+202ms ║║Condition #2 evaluated false (8ms)
+203ms ║║Condition group #1 evaluated false (state did not change) (9ms)
+211ms ║║Comparison (decimal) 22.9 changes = true (1ms)
+212ms ║║Condition #8 evaluated true (5ms)
+214ms ║║Condition group #7 evaluated true (state did not change) (7ms)
+216ms ║║Cancelling statement #3's schedules...
+223ms ║║Skipped execution of physical command [Fib3_test_topbathroom].on([]) because it would make no change to the device. (2ms)
+224ms ║║Executed [Fib3_test_topbathroom].on (4ms)
+227ms ║╚Execution stage complete. (38ms)
+229ms ║Setting up scheduled job for Sat, May 23 2020 @ 3:00:37 PM BST (in 75.575s)
+238ms ╚Event processed successfully (238ms)
5/23/2020, 2:58:58 PM +784ms
+1ms ╔Received event [Temp Probe Top Bathroom (F3)].temperature = 22.8 with a delay of 95ms
+206ms ║RunTime Analysis CS > 30ms > PS > 141ms > PE > 34ms > CE
+208ms ║Runtime (41248 bytes) successfully initialized in 141ms (v0.3.110.20191009) (206ms)
+209ms ║╔Execution stage started
+218ms ║║Comparison (decimal) 22.8 stays_unchanged = true (1ms)
+220ms ║║Condition #2 evaluated false (6ms)
+221ms ║║Condition group #1 evaluated false (state did not change) (8ms)
+228ms ║║Comparison (decimal) 22.8 changes = true (0ms)
+229ms ║║Condition #8 evaluated true (5ms)
+230ms ║║Condition group #7 evaluated true (state did not change) (6ms)
+232ms ║║Cancelling statement #3's schedules...
+240ms ║║Skipped execution of physical command [Fib3_test_topbathroom].on([]) because it would make no change to the device. (2ms)
+241ms ║║Executed [Fib3_test_topbathroom].on (4ms)
+243ms ║╚Execution stage complete. (34ms)
+245ms ║Setting up scheduled job for Sat, May 23 2020 @ 3:00:37 PM BST (in 98.963s)
+253ms ╚Event processed successfully (253ms)

REMOVE BELOW AFTER READING
If a solution is found for your question then please mark the post as the solution.


#2

It doesn’t work with local variables like that, if you use both devices in the IF, it’ll work.


#3

Your pistons actually look good.

It appears as though with your device, temperature changes do NOT register as STAYING UNCHANGED.

Notice with each temp change, the schedule stays the same:

2:58:58 = Setting up scheduled job for 3:00:37 (in 98.963s)
2:59:22 = Setting up scheduled job for 3:00:37 (in 75.575s)
2:59:43 = Setting up scheduled job for 3:00:37 (in 54.412s)
3:00:25 = Setting up scheduled job for 3:00:37 (in 12.48s)
3:00:37 = FAILURE

Personally, when the temperature changes, I would be tempted to store the current time as a @global variable… and have another piston monitor that variable change.


#4

ok guys, still a little confused so I’ve tried this:

image

with a second piston monitoring the variable:

I can sit and watch as the variable keeps changing, approx every 30 secs.

i.e. now
image
aout 30 secs later…
image

yet, still…

this switch keeps flicking on and off. obviously i’m missing something fundamental. surely.


#5

A Full log from the piston triggering off of the @global would be helpful.
(piston “hhi5u” above)


#6

If we are thinking outside the box, we can turn that into binary logic.

You can create a Simulated Switch, and do something like:

Piston #1:

If DeviceA's temperature changes
    Then toggle SimSwitchB
END IF

Piston #2:

If SimSwitchB stays unchanged for 2 minutes
    Then assume DeviceA has failed
END IF

Obviously, two minutes is for testing, and should be increased quite a bit once you are happy with the flow.
(I think ideally, every 12 hours… maybe the hottest and the coldest times for contrast. 3pm and 3am?)


#7
5/23/2020, 7:37:48 PM +122ms
+1ms ╔Received event [Home].time = 1590259069614 with a delay of -1492ms
+211ms ║RunTime Analysis CS > 33ms > PS > 159ms > PE > 18ms > CE
+213ms ║Runtime (40218 bytes) successfully initialized in 159ms (v0.3.110.20191009) (211ms)
+215ms ║╔Execution stage started
+221ms ║║Cancelling condition #12's schedules...
+223ms ║║Condition #12 evaluated true (1ms)
+224ms ║║Cancelling condition #11's schedules...
+225ms ║║Condition group #11 evaluated true (state changed) (5ms)
+228ms ║║Cancelling statement #15's schedules...
+247ms ║║Executed physical command [Fib3_test_topbathroom].off() (15ms)
+248ms ║║Executed [Fib3_test_topbathroom].off (17ms)
+253ms ║║Comparison (dynamic) 1590259034050 changes = false (1ms)
+254ms ║║Cancelling condition #18's schedules...
+255ms ║║Condition #18 evaluated false (4ms)
+256ms ║║Cancelling condition #17's schedules...
+257ms ║║Condition group #17 evaluated false (state changed) (6ms)
+259ms ║╚Execution stage complete. (45ms)
+260ms ╚Event processed successfully (260ms)
5/23/2020, 7:37:14 PM +429ms
+0ms ╔Received event [Home].:08626600805df7e74517b8e188f37294: = @top_bathroom_changed with a delay of 72ms
+172ms ║RunTime Analysis CS > 25ms > PS > 133ms > PE > 15ms > CE
+175ms ║Runtime (40253 bytes) successfully initialized in 133ms (v0.3.110.20191009) (173ms)
+176ms ║╔Execution stage started
+182ms ║║Comparison (dynamic) 1590259034050 stays_unchanged = true (0ms)
+184ms ║║Condition #12 evaluated false (4ms)
+185ms ║║Condition group #11 evaluated false (state did not change) (5ms)
+189ms ║║Comparison (dynamic) 1590259034050 changes = true (0ms)
+191ms ║║Condition #18 evaluated true (3ms)
+192ms ║║Condition group #17 evaluated true (state did not change) (5ms)
+194ms ║║Cancelling statement #19's schedules...
+200ms ║║Skipped execution of physical command [Fib3_test_topbathroom].on([]) because it would make no change to the device. (3ms)
+201ms ║║Executed [Fib3_test_topbathroom].on (5ms)
+204ms ║╚Execution stage complete. (29ms)
+206ms ║Setting up scheduled job for Sat, May 23 2020 @ 7:37:49 PM BST (in 34.98s)
+220ms ╚Event processed successfully (221ms)
5/23/2020, 7:36:52 PM +184ms
+0ms ╔Received event [Home].:08626600805df7e74517b8e188f37294: = @top_bathroom_changed with a delay of 77ms
+169ms ║RunTime Analysis CS > 25ms > PS > 131ms > PE > 14ms > CE
+172ms ║Runtime (40253 bytes) successfully initialized in 131ms (v0.3.110.20191009) (171ms)
+173ms ║╔Execution stage started
+179ms ║║Comparison (dynamic) 1590259011808 stays_unchanged = true (0ms)
+181ms ║║Condition #12 evaluated false (4ms)
+182ms ║║Condition group #11 evaluated false (state did not change) (5ms)
+187ms ║║Comparison (dynamic) 1590259011808 changes = true (1ms)
+188ms ║║Condition #18 evaluated true (3ms)
+189ms ║║Condition group #17 evaluated true (state did not change) (4ms)
+191ms ║║Cancelling statement #19's schedules...
+197ms ║║Skipped execution of physical command [Fib3_test_topbathroom].on([]) because it would make no change to the device. (3ms)
+198ms ║║Executed [Fib3_test_topbathroom].on (4ms)
+200ms ║╚Execution stage complete. (27ms)
+202ms ║Setting up scheduled job for Sat, May 23 2020 @ 7:37:49 PM BST (in 57.229s)
+213ms ╚Event processed successfully (214ms)

Clear

Full

I’ll try the 2 pistons you mentioned above in a bit… but there’s the logs. Can’t work out why something so simple is causing such a problem ! = p


#8

It seems to be only a partial log…
(all references to “stays_unchanged” are true)

Perhaps we need to see a longer log…

IE: To confirm, we need to see:
stays_unchanged = false
first.


I am leaning towards the SimSwitch idea above.


#9

I just ran some tests in my shop using levels on a dimmer to represent changes.
(or specifically, stays unchanged)

Here is what I discovered about the trigger “IF X stays unchanged for Y duration”

  • When X changes the first time, it starts the Y timer
  • Subsequent X changes will trigger, but not take action
  • When Y timer expires, then action takes place (regardless)

We can possibly insert a check at that point to verify, but it sounds like a lot of hassle.
(especially since the timer does not restart with the subsequent changes)


#10

I just tested this with a SimSwitch, and it failed exactly the same way.

I suspect that the problem likely lies with the triggerstays unchanged” not working as we’d expect…


#11

I’ve tried the simswitch idea. The button toggles on and off periodically.

After reading your findings above, am I to assume that my days of head-scratching are warranted, and this approach (stays unchanged) is somehow broken ?

edit… here’s the longer log, including the stays_unchanged = false

5/23/2020, 8:54:56 PM +970ms
+1ms ╔Received event [Home].:08626600805df7e74517b8e188f37294: = @top_bathroom_changed with a delay of 93ms
+209ms ║RunTime Analysis CS > 24ms > PS > 143ms > PE > 41ms > CE
+211ms ║Runtime (40256 bytes) successfully initialized in 143ms (v0.3.110.20191009) (209ms)
+212ms ║╔Execution stage started
+220ms ║║Comparison (dynamic) 1590263696541 stays_unchanged = true (0ms)
+222ms ║║Adding a timed trigger schedule for condition 12
+224ms ║║Cancelling condition #12's schedules...
+225ms ║║Condition #12 evaluated false (8ms)
+227ms ║║Cancelling condition #11's schedules...
+228ms ║║Condition group #11 evaluated false (state changed) (10ms)
+233ms ║║Comparison (dynamic) 1590263696541 changes = true (0ms)
+234ms ║║Cancelling condition #18's schedules...
+235ms ║║Condition #18 evaluated true (4ms)
+237ms ║║Cancelling condition #17's schedules...
+238ms ║║Condition group #17 evaluated true (state changed) (8ms)
+240ms ║║Cancelling statement #19's schedules...
+259ms ║║Executed physical command [Fib3_test_topbathroom].on() (15ms)
+261ms ║║Executed [Fib3_test_topbathroom].on (17ms)
+264ms ║╚Execution stage complete. (51ms)
+265ms ║Setting up scheduled job for Sat, May 23 2020 @ 8:56:57 PM BST (in 119.957s)
+273ms ╚Event processed successfully (273ms)
5/23/2020, 8:54:27 PM +121ms
+1ms ╔Received event [Home].time = 1590263667582 with a delay of -462ms
+217ms ║RunTime Analysis CS > 23ms > PS > 155ms > PE > 39ms > CE
+219ms ║Runtime (40217 bytes) successfully initialized in 155ms (v0.3.110.20191009) (217ms)
+220ms ║╔Execution stage started
+226ms ║║Cancelling condition #12's schedules...
+227ms ║║Condition #12 evaluated true (1ms)
+228ms ║║Cancelling condition #11's schedules...
+229ms ║║Condition group #11 evaluated true (state changed) (3ms)
+231ms ║║Cancelling statement #15's schedules...
+250ms ║║Executed physical command [Fib3_test_topbathroom].off() (16ms)
+251ms ║║Executed [Fib3_test_topbathroom].off (18ms)
+256ms ║║Comparison (dynamic) 1590263654428 changes = false (1ms)
+257ms ║║Cancelling condition #18's schedules...
+259ms ║║Condition #18 evaluated false (4ms)
+260ms ║║Cancelling condition #17's schedules...
+261ms ║║Condition group #17 evaluated false (state changed) (7ms)
+263ms ║╚Execution stage complete. (43ms)
+264ms ╚Event processed successfully (264ms)
5/23/2020, 8:54:14 PM +921ms
+1ms ╔Received event [Home].:08626600805df7e74517b8e188f37294: = @top_bathroom_changed with a delay of 79ms
+196ms ║RunTime Analysis CS > 20ms > PS > 142ms > PE > 33ms > CE
+198ms ║Runtime (40253 bytes) successfully initialized in 142ms (v0.3.110.20191009) (196ms)
+200ms ║╔Execution stage started
+207ms ║║Comparison (dynamic) 1590263654428 stays_unchanged = true (2ms)
+210ms ║║Condition #12 evaluated false (5ms)
+211ms ║║Condition group #11 evaluated false (state did not change) (7ms)
+217ms ║║Comparison (dynamic) 1590263654428 changes = true (2ms)
+218ms ║║Condition #18 evaluated true (5ms)
+219ms ║║Condition group #17 evaluated true (state did not change) (6ms)
+221ms ║║Cancelling statement #19's schedules...
+227ms ║║Skipped execution of physical command [Fib3_test_topbathroom].on([]) because it would make no change to the device. (2ms)
+227ms ║║Executed [Fib3_test_topbathroom].on (3ms)
+230ms ║╚Execution stage complete. (31ms)
+231ms ║Setting up scheduled job for Sat, May 23 2020 @ 8:54:27 PM BST (in 12.43s)
+246ms ╚Event processed successfully (246ms)
5/23/2020, 8:53:53 PM +814ms
+1ms ╔Received event [Home].:08626600805df7e74517b8e188f37294: = @top_bathroom_changed with a delay of 84ms
+203ms ║RunTime Analysis CS > 24ms > PS > 144ms > PE > 34ms > CE
+205ms ║Runtime (40253 bytes) successfully initialized in 144ms (v0.3.110.20191009) (204ms)
+206ms ║╔Execution stage started
+213ms ║║Comparison (dynamic) 1590263633408 stays_unchanged = true (0ms)
+216ms ║║Condition #12 evaluated false (4ms)
+217ms ║║Condition group #11 evaluated false (state did not change) (6ms)
+222ms ║║Comparison (dynamic) 1590263633408 changes = true (1ms)
+223ms ║║Condition #18 evaluated true (3ms)
+225ms ║║Condition group #17 evaluated true (state did not change) (5ms)
+227ms ║║Cancelling statement #19's schedules...
+233ms ║║Skipped execution of physical command [Fib3_test_topbathroom].on([]) because it would make no change to the device. (3ms)
+234ms ║║Executed [Fib3_test_topbathroom].on (5ms)
+237ms ║╚Execution stage complete. (31ms)
+238ms ║Setting up scheduled job for Sat, May 23 2020 @ 8:54:27 PM BST (in 33.53s)
+248ms ╚Event processed successfully (248ms)
5/23/2020, 8:53:11 PM +809ms
+0ms ╔Received event [Home].:08626600805df7e74517b8e188f37294: = @top_bathroom_changed with a delay of 62ms
+181ms ║RunTime Analysis CS > 24ms > PS > 118ms > PE > 38ms > CE
+184ms ║Runtime (40253 bytes) successfully initialized in 118ms (v0.3.110.20191009) (182ms)
+185ms ║╔Execution stage started
+193ms ║║Comparison (dynamic) 1590263591467 stays_unchanged = true (0ms)
+195ms ║║Condition #12 evaluated false (5ms)
+196ms ║║Condition group #11 evaluated false (state did not change) (7ms)
+201ms ║║Comparison (dynamic) 1590263591467 changes = true (1ms)
+203ms ║║Condition #18 evaluated true (4ms)
+205ms ║║Condition group #17 evaluated true (state did not change) (6ms)
+208ms ║║Cancelling statement #19's schedules...
+216ms ║║Skipped execution of physical command [Fib3_test_topbathroom].on([]) because it would make no change to the device. (3ms)
+217ms ║║Executed [Fib3_test_topbathroom].on (6ms)
+220ms ║╚Execution stage complete. (36ms)
+222ms ║Setting up scheduled job for Sat, May 23 2020 @ 8:54:27 PM BST (in 75.552s)
+241ms ╚Event processed successfully (241ms)
5/23/2020, 8:52:51 PM +973ms
+1ms ╔Received event [Home].:08626600805df7e74517b8e188f37294: = @top_bathroom_changed with a delay of 88ms
+219ms ║RunTime Analysis CS > 28ms > PS > 148ms > PE > 43ms > CE
+221ms ║Runtime (40253 bytes) successfully initialized in 148ms (v0.3.110.20191009) (219ms)
+222ms ║╔Execution stage started
+231ms ║║Comparison (dynamic) 1590263571616 stays_unchanged = true (0ms)
+233ms ║║Condition #12 evaluated false (5ms)
+234ms ║║Condition group #11 evaluated false (state did not change) (6ms)
+239ms ║║Comparison (dynamic) 1590263571616 changes = true (0ms)
+241ms ║║Condition #18 evaluated true (4ms)
+243ms ║║Condition group #17 evaluated true (state did not change) (5ms)
+246ms ║║Cancelling statement #19's schedules...
+251ms ║║Skipped execution of physical command [Fib3_test_topbathroom].on([]) because it would make no change to the device. (2ms)
+253ms ║║Executed [Fib3_test_topbathroom].on (4ms)
+256ms ║╚Execution stage complete. (34ms)
+258ms ║Setting up scheduled job for Sat, May 23 2020 @ 8:54:27 PM BST (in 95.352s)
+269ms ╚Event processed successfully (268ms)
5/23/2020, 8:52:27 PM +382ms
+0ms ╔Received event [Home].:08626600805df7e74517b8e188f37294: = @top_bathroom_changed with a delay of 77ms
+188ms ║RunTime Analysis CS > 24ms > PS > 135ms > PE > 28ms > CE
+190ms ║Runtime (40256 bytes) successfully initialized in 135ms (v0.3.110.20191009) (189ms)
+191ms ║╔Execution stage started
+198ms ║║Comparison (dynamic) 1590263546989 stays_unchanged = true (1ms)
+200ms ║║Adding a timed trigger schedule for condition 12
+202ms ║║Cancelling condition #12's schedules...
+203ms ║║Condition #12 evaluated false (8ms)
+204ms ║║Cancelling condition #11's schedules...
+205ms ║║Condition group #11 evaluated false (state changed) (10ms)
+209ms ║║Comparison (dynamic) 1590263546989 changes = true (1ms)
+211ms ║║Cancelling condition #18's schedules...
+211ms ║║Condition #18 evaluated true (4ms)
+213ms ║║Cancelling condition #17's schedules...
+213ms ║║Condition group #17 evaluated true (state changed) (6ms)
+216ms ║║Cancelling statement #19's schedules...
+235ms ║║Executed physical command [Fib3_test_topbathroom].on() (15ms)
+236ms ║║Executed [Fib3_test_topbathroom].on (17ms)
+238ms ║╚Execution stage complete. (47ms)
+240ms ║Setting up scheduled job for Sat, May 23 2020 @ 8:54:27 PM BST (in 119.961s)
+247ms ╚Event processed successfully (247ms)
5/23/2020, 8:52:24 PM +136ms
+1ms ╔Received event [Home].time = 1590263544247 with a delay of -111ms
+177ms ║RunTime Analysis CS > 28ms > PS > 121ms > PE > 28ms > CE
+180ms ║Runtime (40217 bytes) successfully initialized in 121ms (v0.3.110.20191009) (177ms)
+181ms ║╔Execution stage started
+186ms ║║Cancelling condition #12's schedules...
+187ms ║║Condition #12 evaluated true (1ms)
+188ms ║║Cancelling condition #11's schedules...
+189ms ║║Condition group #11 evaluated true (state changed) (3ms)
+192ms ║║Cancelling statement #15's schedules...
+207ms ║║Executed physical command [Fib3_test_topbathroom].off() (13ms)
+208ms ║║Executed [Fib3_test_topbathroom].off (15ms)
+213ms ║║Comparison (dynamic) 1590263528571 changes = false (1ms)
+215ms ║║Cancelling condition #18's schedules...
+216ms ║║Condition #18 evaluated false (4ms)
+217ms ║║Cancelling condition #17's schedules...
+218ms ║║Condition group #17 evaluated false (state changed) (6ms)
+220ms ║╚Execution stage complete. (40ms)
+221ms ╚Event processed successfully (221ms)
5/23/2020, 8:52:08 PM +950ms
+0ms ╔Received event [Home].:08626600805df7e74517b8e188f37294: = @top_bathroom_changed with a delay of 74ms
+184ms ║RunTime Analysis CS > 26ms > PS > 132ms > PE > 27ms > CE
+187ms ║Runtime (40253 bytes) successfully initialized in 132ms (v0.3.110.20191009) (185ms)
+187ms ║╔Execution stage started
+194ms ║║Comparison (dynamic) 1590263528571 stays_unchanged = true (1ms)
+196ms ║║Condition #12 evaluated false (4ms)
+197ms ║║Condition group #11 evaluated false (state did not change) (6ms)
+201ms ║║Comparison (dynamic) 1590263528571 changes = true (1ms)
+202ms ║║Condition #18 evaluated true (3ms)
+203ms ║║Condition group #17 evaluated true (state did not change) (4ms)
+205ms ║║Cancelling statement #19's schedules...
+212ms ║║Skipped execution of physical command [Fib3_test_topbathroom].on([]) because it would make no change to the device. (3ms)
+213ms ║║Executed [Fib3_test_topbathroom].on (3ms)
+216ms ║╚Execution stage complete. (29ms)
+217ms ║Setting up scheduled job for Sat, May 23 2020 @ 8:52:24 PM BST (in 15.08s)
+229ms ╚Event processed successfully (229ms)
5/23/2020, 8:51:47 PM +803ms
+0ms ╔Received event [Home].:08626600805df7e74517b8e188f37294: = @top_bathroom_changed with a delay of 76ms
+186ms ║RunTime Analysis CS > 24ms > PS > 132ms > PE > 31ms > CE
+188ms ║Runtime (40253 bytes) successfully initialized in 132ms (v0.3.110.20191009) (187ms)
+189ms ║╔Execution stage started
+197ms ║║Comparison (dynamic) 1590263507409 stays_unchanged = true (1ms)
+199ms ║║Condition #12 evaluated false (5ms)
+200ms ║║Condition group #11 evaluated false (state did not change) (7ms)
+204ms ║║Comparison (dynamic) 1590263507409 changes = true (0ms)
+206ms ║║Condition #18 evaluated true (2ms)
+207ms ║║Condition group #17 evaluated true (state did not change) (4ms)
+209ms ║║Cancelling statement #19's schedules...
+214ms ║║Skipped execution of physical command [Fib3_test_topbathroom].on([]) because it would make no change to the device. (2ms)
+215ms ║║Executed [Fib3_test_topbathroom].on (3ms)
+218ms ║╚Execution stage complete. (29ms)
+220ms ║Setting up scheduled job for Sat, May 23 2020 @ 8:52:24 PM BST (in 36.225s)
+251ms ╚Event processed successfully (251ms)
5/23/2020, 8:51:05 PM +768ms
+0ms ╔Received event [Home].:08626600805df7e74517b8e188f37294: = @top_bathroom_changed with a delay of 77ms
+190ms ║RunTime Analysis CS > 26ms > PS > 137ms > PE > 27ms > CE
+192ms ║Runtime (40253 bytes) successfully initialized in 137ms (v0.3.110.20191009) (191ms)
+193ms ║╔Execution stage started
+200ms ║║Comparison (dynamic) 1590263465425 stays_unchanged = true (0ms)
+203ms ║║Condition #12 evaluated false (4ms)
+204ms ║║Condition group #11 evaluated false (state did not change) (5ms)
+208ms ║║Comparison (dynamic) 1590263465425 changes = true (1ms)
+210ms ║║Condition #18 evaluated true (3ms)
+211ms ║║Condition group #17 evaluated true (state did not change) (4ms)
+214ms ║║Cancelling statement #19's schedules...
+220ms ║║Skipped execution of physical command [Fib3_test_topbathroom].on([]) because it would make no change to the device. (3ms)
+221ms ║║Executed [Fib3_test_topbathroom].on (5ms)
+224ms ║╚Execution stage complete. (31ms)
+225ms ║Setting up scheduled job for Sat, May 23 2020 @ 8:52:24 PM BST (in 78.254s)
+256ms ╚Event processed successfully (256ms)
5/23/2020, 8:50:44 PM +799ms
+1ms ╔Received event [Home].:08626600805df7e74517b8e188f37294: = @top_bathroom_changed with a delay of 94ms
+237ms ║RunTime Analysis CS > 30ms > PS > 173ms > PE > 34ms > CE
+240ms ║Runtime (40253 bytes) successfully initialized in 173ms (v0.3.110.20191009) (238ms)
+241ms ║╔Execution stage started
+249ms ║║Comparison (dynamic) 1590263444397 stays_unchanged = true (1ms)
+252ms ║║Condition #12 evaluated false (6ms)
+253ms ║║Condition group #11 evaluated false (state did not change) (7ms)
+258ms ║║Comparison (dynamic) 1590263444397 changes = true (1ms)
+260ms ║║Condition #18 evaluated true (3ms)
+261ms ║║Condition group #17 evaluated true (state did not change) (4ms)
+263ms ║║Cancelling statement #19's schedules...
+269ms ║║Skipped execution of physical command [Fib3_test_topbathroom].on([]) because it would make no change to the device. (2ms)
+270ms ║║Executed [Fib3_test_topbathroom].on (4ms)
+273ms ║╚Execution stage complete. (32ms)
+275ms ║Setting up scheduled job for Sat, May 23 2020 @ 8:52:24 PM BST (in 99.174s)
+312ms ╚Event processed successfully (312ms)
5/23/2020, 8:50:24 PM +43ms
+1ms ╔Received event [Home].:08626600805df7e74517b8e188f37294: = @top_bathroom_changed with a delay of 75ms
+191ms ║RunTime Analysis CS > 27ms > PS > 137ms > PE > 27ms > CE
+194ms ║Runtime (40256 bytes) successfully initialized in 137ms (v0.3.110.20191009) (192ms)
+195ms ║╔Execution stage started
+202ms ║║Comparison (dynamic) 1590263423656 stays_unchanged = true (0ms)
+204ms ║║Adding a timed trigger schedule for condition 12
+206ms ║║Cancelling condition #12's schedules...
+207ms ║║Condition #12 evaluated false (7ms)
+208ms ║║Cancelling condition #11's schedules...
+209ms ║║Condition group #11 evaluated false (state changed) (9ms)
+213ms ║║Comparison (dynamic) 1590263423656 changes = true (1ms)
+214ms ║║Cancelling condition #18's schedules...
+215ms ║║Condition #18 evaluated true (4ms)
+216ms ║║Cancelling condition #17's schedules...
+217ms ║║Condition group #17 evaluated true (state changed) (6ms)
+219ms ║║Cancelling statement #19's schedules...
+236ms ║║Executed physical command [Fib3_test_topbathroom].on() (13ms)
+237ms ║║Executed [Fib3_test_topbathroom].on (15ms)
+240ms ║╚Execution stage complete. (45ms)
+242ms ║Setting up scheduled job for Sat, May 23 2020 @ 8:52:24 PM BST (in 119.963s)
+259ms ╚Event processed successfully (259ms)
5/23/2020, 8:50:18 PM +130ms
+1ms ╔Received event [Home].time = 1590263418544 with a delay of -416ms
+237ms ║RunTime Analysis CS > 36ms > PS > 169ms > PE > 33ms > CE
+241ms ║Runtime (40217 bytes) successfully initialized in 169ms (v0.3.110.20191009) (238ms)
+242ms ║╔Execution stage started
+251ms ║║Cancelling condition #12's schedules...
+252ms ║║Condition #12 evaluated true (2ms)
+253ms ║║Cancelling condition #11's schedules...
+254ms ║║Condition group #11 evaluated true (state changed) (4ms)
+257ms ║║Cancelling statement #15's schedules...
+278ms ║║Executed physical command [Fib3_test_topbathroom].off() (17ms)
+279ms ║║Executed [Fib3_test_topbathroom].off (19ms)
+285ms ║║Comparison (dynamic) 1590263381603 changes = false (1ms)
+288ms ║║Cancelling condition #18's schedules...
+289ms ║║Condition #18 evaluated false (6ms)
+291ms ║║Cancelling condition #17's schedules...
+292ms ║║Condition group #17 evaluated false (state changed) (10ms)
+295ms ║╚Execution stage complete. (52ms)
+296ms ╚Event processed successfully (297ms)
5/23/2020, 8:49:41 PM +977ms
+1ms ╔Received event [Home].:08626600805df7e74517b8e188f37294: = @top_bathroom_changed with a delay of 80ms
+196ms ║RunTime Analysis CS > 25ms > PS > 141ms > PE > 29ms > CE
+199ms ║Runtime (40253 bytes) successfully initialized in 141ms (v0.3.110.20191009) (197ms)
+200ms ║╔Execution stage started
+208ms ║║Comparison (dynamic) 1590263381603 stays_unchanged = true (0ms)
+210ms ║║Condition #12 evaluated false (5ms)
+211ms ║║Condition group #11 evaluated false (state did not change) (7ms)
+216ms ║║Comparison (dynamic) 1590263381603 changes = true (1ms)
+218ms ║║Condition #18 evaluated true (3ms)
+219ms ║║Condition group #17 evaluated true (state did not change) (5ms)
+222ms ║║Cancelling statement #19's schedules...
+228ms ║║Skipped execution of physical command [Fib3_test_topbathroom].on([]) because it would make no change to the device. (2ms)
+229ms ║║Executed [Fib3_test_topbathroom].on (4ms)
+232ms ║╚Execution stage complete. (33ms)
+234ms ║Setting up scheduled job for Sat, May 23 2020 @ 8:50:18 PM BST (in 36.334s)
+245ms ╚Event processed successfully (245ms)
5/23/2020, 8:49:20 PM +739ms
+1ms ╔Received event [Home].:08626600805df7e74517b8e188f37294: = @top_bathroom_changed with a delay of 53ms
+170ms ║RunTime Analysis CS > 23ms > PS > 120ms > PE > 27ms > CE
+173ms ║Runtime (40253 bytes) successfully initialized in 120ms (v0.3.110.20191009) (170ms)
+174ms ║╔Execution stage started
+181ms ║║Comparison (dynamic) 1590263360366 stays_unchanged = true (1ms)
+183ms ║║Condition #12 evaluated false (4ms)
+185ms ║║Condition group #11 evaluated false (state did not change) (6ms)
+190ms ║║Comparison (dynamic) 1590263360366 changes = true (0ms)
+191ms ║║Condition #18 evaluated true (3ms)
+192ms ║║Condition group #17 evaluated true (state did not change) (5ms)
+195ms ║║Cancelling statement #19's schedules...
+202ms ║║Skipped execution of physical command [Fib3_test_topbathroom].on([]) because it would make no change to the device. (4ms)
+203ms ║║Executed [Fib3_test_topbathroom].on (6ms)
+206ms ║╚Execution stage complete. (33ms)
+208ms ║Setting up scheduled job for Sat, May 23 2020 @ 8:50:18 PM BST (in 57.598s)
+219ms ╚Event processed successfully (218ms)
5/23/2020, 8:48:38 PM +730ms
+0ms ╔Received event [Home].:08626600805df7e74517b8e188f37294: = @top_bathroom_changed with a delay of 60ms
+200ms ║RunTime Analysis CS > 27ms > PS > 138ms > PE > 36ms > CE
+204ms ║Runtime (40253 bytes) successfully initialized in 138ms (v0.3.110.20191009) (202ms)
+205ms ║╔Execution stage started
+217ms ║║Comparison (dynamic) 1590263318383 stays_unchanged = true (1ms)
+221ms ║║Condition #12 evaluated false (8ms)
+223ms ║║Condition group #11 evaluated false (state did not change) (10ms)
+231ms ║║Comparison (dynamic) 1590263318383 changes = true (1ms)
+233ms ║║Condition #18 evaluated true (5ms)
+234ms ║║Condition group #17 evaluated true (state did not change) (7ms)
+238ms ║║Cancelling statement #19's schedules...
+244ms ║║Skipped execution of physical command [Fib3_test_topbathroom].on([]) because it would make no change to the device. (3ms)
+245ms ║║Executed [Fib3_test_topbathroom].on (5ms)
+248ms ║╚Execution stage complete. (43ms)
+250ms ║Setting up scheduled job for Sat, May 23 2020 @ 8:50:18 PM BST (in 99.565s)
+260ms ╚Event processed successfully (261ms)
5/23/2020, 8:48:18 PM +355ms
+1ms ╔Received event [Home].:08626600805df7e74517b8e188f37294: = @top_bathroom_changed with a delay of 56ms
+172ms ║RunTime Analysis CS > 24ms > PS > 120ms > PE > 27ms > CE
+174ms ║Runtime (40256 bytes) successfully initialized in 120ms (v0.3.110.20191009) (172ms)
+176ms ║╔Execution stage started
+185ms ║║Comparison (dynamic) 1590263298021 stays_unchanged = true (0ms)
+187ms ║║Adding a timed trigger schedule for condition 12
+191ms ║║Cancelling condition #12's schedules...
+192ms ║║Condition #12 evaluated false (11ms)
+193ms ║║Cancelling condition #11's schedules...
+194ms ║║Condition group #11 evaluated false (state changed) (13ms)
+199ms ║║Comparison (dynamic) 1590263298021 changes = true (1ms)
+201ms ║║Cancelling condition #18's schedules...
+202ms ║║Condition #18 evaluated true (5ms)
+203ms ║║Cancelling condition #17's schedules...
+204ms ║║Condition group #17 evaluated true (state changed) (7ms)
+206ms ║║Cancelling statement #19's schedules...
+224ms ║║Executed physical command [Fib3_test_topbathroom].on() (14ms)
+225ms ║║Executed [Fib3_test_topbathroom].on (16ms)
+229ms ║╚Execution stage complete. (54ms)
+231ms ║Setting up scheduled job for Sat, May 23 2020 @ 8:50:18 PM BST (in 119.959s)
+241ms ╚Event processed successfully (241ms)
5/23/2020, 8:48:11 PM +91ms
+0ms ╔Received event [Home].time = 1590263292062 with a delay of -972ms
+213ms ║RunTime Analysis CS > 23ms > PS > 168ms > PE > 23ms > CE
+216ms ║Runtime (40217 bytes) successfully initialized in 168ms (v0.3.110.20191009) (214ms)
+217ms ║╔Execution stage started
+222ms ║║Cancelling condition #12's schedules...
+223ms ║║Condition #12 evaluated true (1ms)
+224ms ║║Cancelling condition #11's schedules...
+225ms ║║Condition group #11 evaluated true (state changed) (3ms)
+227ms ║║Cancelling statement #15's schedules...
+288ms ║║Executed physical command [Fib3_test_topbathroom].off() (58ms)
+289ms ║║Executed [Fib3_test_topbathroom].off (60ms)
+294ms ║║Comparison (dynamic) 1590263255474 changes = false (1ms)
+295ms ║║Cancelling condition #18's schedules...
+297ms ║║Condition #18 evaluated false (4ms)
+298ms ║║Cancelling condition #17's schedules...
+299ms ║║Condition group #17 evaluated false (state changed) (6ms)
+301ms ║╚Execution stage complete. (84ms)
+302ms ╚Event processed successfully (303ms)
5/23/2020, 8:47:35 PM +885ms
+1ms ╔Received event [Home].:08626600805df7e74517b8e188f37294: = @top_bathroom_changed with a delay of 75ms
+177ms ║RunTime Analysis CS > 24ms > PS > 131ms > PE > 22ms > CE
+180ms ║Runtime (40253 bytes) successfully initialized in 131ms (v0.3.110.20191009) (178ms)
+181ms ║╔Execution stage started
+188ms ║║Comparison (dynamic) 1590263255474 stays_unchanged = true (0ms)
+190ms ║║Condition #12 evaluated false (4ms)
+191ms ║║Condition group #11 evaluated false (state did not change) (6ms)
+198ms ║║Comparison (dynamic) 1590263255474 changes = true (3ms)
+199ms ║║Condition #18 evaluated true (5ms)
+200ms ║║Condition group #17 evaluated true (state did not change) (6ms)
+203ms ║║Cancelling statement #19's schedules...
+208ms ║║Skipped execution of physical command [Fib3_test_topbathroom].on([]) because it would make no change to the device. (2ms)
+209ms ║║Executed [Fib3_test_topbathroom].on (4ms)
+212ms ║╚Execution stage complete. (30ms)
+213ms ║Setting up scheduled job for Sat, May 23 2020 @ 8:48:12 PM BST (in 35.965s)
+245ms ╚Event processed successfully (245ms)
5/23/2020, 8:47:14 PM +875ms
+0ms ╔Received event [Home].:08626600805df7e74517b8e188f37294: = @top_bathroom_changed with a delay of 85ms
+184ms ║RunTime Analysis CS > 23ms > PS > 140ms > PE > 20ms > CE
+186ms ║Runtime (40253 bytes) successfully initialized in 140ms (v0.3.110.20191009) (185ms)
+187ms ║╔Execution stage started
+194ms ║║Comparison (dynamic) 1590263234443 stays_unchanged = true (0ms)
+196ms ║║Condition #12 evaluated false (4ms)
+198ms ║║Condition group #11 evaluated false (state did not change) (5ms)
+202ms ║║Comparison (dynamic) 1590263234443 changes = true (1ms)
+204ms ║║Condition #18 evaluated true (3ms)
+205ms ║║Condition group #17 evaluated true (state did not change) (4ms)
+207ms ║║Cancelling statement #19's schedules...
+214ms ║║Skipped execution of physical command [Fib3_test_topbathroom].on([]) because it would make no change to the device. (2ms)
+215ms ║║Executed [Fib3_test_topbathroom].on (4ms)
+218ms ║╚Execution stage complete. (30ms)
+219ms ║Setting up scheduled job for Sat, May 23 2020 @ 8:48:12 PM BST (in 56.968s)
+230ms ╚Event processed successfully (230ms)
5/23/2020, 8:46:32 PM +843ms
+1ms ╔Received event [Home].:08626600805df7e74517b8e188f37294: = @top_bathroom_changed with a delay of 87ms
+229ms ║RunTime Analysis CS > 25ms > PS > 170ms > PE > 33ms > CE
+232ms ║Runtime (40253 bytes) successfully initialized in 170ms (v0.3.110.20191009) (230ms)
+233ms ║╔Execution stage started
+244ms ║║Comparison (dynamic) 1590263192445 stays_unchanged = true (0ms)
+247ms ║║Condition #12 evaluated false (6ms)
+249ms ║║Condition group #11 evaluated false (state did not change) (9ms)
+256ms ║║Comparison (dynamic) 1590263192445 changes = true (1ms)
+258ms ║║Condition #18 evaluated true (5ms)
+259ms ║║Condition group #17 evaluated true (state did not change) (7ms)
+263ms ║║Cancelling statement #19's schedules...
+270ms ║║Skipped execution of physical command [Fib3_test_topbathroom].on([]) because it would make no change to the device. (3ms)
+271ms ║║Executed [Fib3_test_topbathroom].on (5ms)
+275ms ║╚Execution stage complete. (42ms)
+279ms ║Setting up scheduled job for Sat, May 23 2020 @ 8:48:12 PM BST (in 98.943s)
+289ms ╚Event processed successfully (289ms)
5/23/2020, 8:46:11 PM +878ms
+0ms ╔Received event [Home].:08626600805df7e74517b8e188f37294: = @top_bathroom_changed with a delay of 69ms
+173ms ║RunTime Analysis CS > 25ms > PS > 131ms > PE > 17ms > CE
+175ms ║Runtime (40256 bytes) successfully initialized in 131ms (v0.3.110.20191009) (174ms)
+176ms ║╔Execution stage started
+182ms ║║Comparison (dynamic) 1590263171538 stays_unchanged = true (0ms)
+184ms ║║Adding a timed trigger schedule for condition 12
+186ms ║║Cancelling condition #12's schedules...
+187ms ║║Condition #12 evaluated false (7ms)
+188ms ║║Cancelling condition #11's schedules...
+189ms ║║Condition group #11 evaluated false (state changed) (9ms)
+193ms ║║Comparison (dynamic) 1590263171538 changes = true (1ms)
+194ms ║║Cancelling condition #18's schedules...
+195ms ║║Condition #18 evaluated true (4ms)
+196ms ║║Cancelling condition #17's schedules...
+197ms ║║Condition group #17 evaluated true (state changed) (6ms)
+199ms ║║Cancelling statement #19's schedules...
+217ms ║║Executed physical command [Fib3_test_topbathroom].on() (15ms)
+218ms ║║Executed [Fib3_test_topbathroom].on (16ms)
+220ms ║╚Execution stage complete. (44ms)
+222ms ║Setting up scheduled job for Sat, May 23 2020 @ 8:48:12 PM BST (in 119.963s)
+234ms ╚Event processed successfully (233ms)
5/23/2020, 8:46:06 PM +166ms
+1ms ╔Received event [Home].time = 1590263167970 with a delay of -1804ms
+159ms ║RunTime Analysis CS > 23ms > PS > 120ms > PE > 16ms > CE
+162ms ║Runtime (40218 bytes) successfully initialized in 120ms (v0.3.110.20191009) (161ms)
+163ms ║╔Execution stage started
+168ms ║║Cancelling condition #12's schedules...
+169ms ║║Condition #12 evaluated true (1ms)
+171ms ║║Cancelling condition #11's schedules...
+172ms ║║Condition group #11 evaluated true (state changed) (4ms)
+174ms ║║Cancelling statement #15's schedules...
+190ms ║║Executed physical command [Fib3_test_topbathroom].off() (13ms)
+191ms ║║Executed [Fib3_test_topbathroom].off (15ms)
+198ms ║║Comparison (dynamic) 1590263128235 changes = false (1ms)
+200ms ║║Cancelling condition #18's schedules...
+202ms ║║Condition #18 evaluated false (5ms)
+203ms ║║Cancelling condition #17's schedules...
+204ms ║║Condition group #17 evaluated false (state changed) (9ms)
+207ms ║╚Execution stage complete. (44ms)
+208ms ╚Event processed successfully (208ms)

#12

My apologies…

Apparently, we discovered this 18 months ago, but I had forgotten, LOL.


#13

Gah, it’s been driving me insane! Haha… Assumed I was being stupid. So just to clarify… Its a webcore bug of sorts? I’ll read the link in a sec.

So now I need to figure out a way of using a combination of toggle, simswitches and variable timestamps to make this work. Could get messy!..

Edit… What about some sort of 'wait ', similar to something you helped me with elsewhere quite recently. The wait could be cancelled/reset…

Kind of

If simswitch changes
Wait 2 mins
Then
With Knackered switch on

But every time simswitch changed, this wait could interrupted /restarted. So the “knackered” switch only gets to switch on If the simswitch stops changing.

Make sense? I’ll have to revisit that other ‘boost timer’ I was messing with last week…


#14

I think it’s worked, using the same logic as the ‘cancellation of boost timer’ you pointed me towards on my (linked) central heating project.

Logic here is pretty much…

if temp changes
with sim-switch "toggleswitch" TOGGLE
(and then switch off the FAULT sim-switch if it's on too, because the probe's obviously working again)

(also, this next IF has TCP set to NEVER)

if sim-switch "toggleswitch" changes
wait 2 mins
with sim-switch FAULT switch on

image

This seems (on initial testing) to do the trick. Cheers for your help once again !

edit…incorporated this into my CH piston:

image


#15

I like where you are going with this, but I am a bit confused as to how this can be expected to work with TCP in place:

image

  • When the Bathroom Probe changes temp, (meaning the device is working)
  • Then toggle the device called ToggleCheck (OK, so far, so good)
  • Then begin an unstoppable timer… (??)
  • and then assume a fault?!?

Oh, I see it now… Your TCP setting is in the wrong place, so TCP should not come into play.
(Meaning the timer will be restarted if the switch changes again - This is good)


Personal Thoughts 3 hours later:
You may as well set TCP back to default… It will run the same, and the piston will display more accurately.


#16

morning. i’ve unmarked as solved because… still randomly fails.

testing looked good. set this up and left it around 1am. Checking the events for the probe, it’s constantly changing right the way through the night.

yet around 2 hours after I set it up and left it to it, the fault light comes on! and almost immediately turns back off. grrr.

00:45 - all good.
02.29 - piston sends ON command to fault switch
02:43 - piston sends OFF command to fault switch
02.58 - piston sends ON command to fault switch
03.15 - piston sends OFF command to fault switch

etc.

quiet again between about 0330 and my 0745, where it lights up again.

The temp probe is always changing. no gaps.
(I’ve set the TCP back to default)


#17

Fair enough… Just keep in mind that catching a failure is actually a success in this case, and to be honest, the entire goal of this thread, LOL.

In other words, the temperature will not ALWAYS change within that short time span

(which is why I was suggesting every 12 hour)


#18

haha… !

The thing is though, the temp IS always changing, including around those times. I have no idea why the fault is firing - it’s false.

It#s becoming a source of insanity = p


#19

Are you saying that inside of these 14 seconds:

your temperature reported a change?


Same question in these 17 seconds:


#20

Don’t take this personally please, but I think the insanity is keeping this at one minute.