Getting false notifications from my Washing Machine Done notification piston


#1

1) Give a description of the problem
Have set up a piston to notify me when my washing machine is done by monitoring the power draw from a smart outlet that it is plugged into. However despite setting parameters that should stop it from sending notifications unless a condition is met I am getting random notifications at any given time telling me that the machine has finished.

2) What is the expected behaviour?
(PUT YOUR INFO HERE)

3) What is happening/not happening?
Power draw rises above X amount and sets washer state to “running” and only when washer then drops bellow X power draw and stays this way for X period of time sets washer state to “done” and sends push notification to my phone

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

5) Attach logs after turning logging level to Full
7/7/2021, 2:52:44 PM +42ms
+1ms ╔Received event [212 Montague].time = 1625633564058 with a delay of -16ms
+73ms ║RunTime Analysis CS > 15ms > PS > 4ms > PE > 53ms > CE
+76ms ║Runtime (42446 bytes) successfully initialized in 4ms (v0.3.110.20191009) (74ms)
+77ms ║╔Execution stage started
+90ms ║║Cancelling condition #13’s schedules…
+91ms ║║Condition #13 evaluated true (1ms)
+95ms ║║Comparison (string) Run is (string) Run = true (1ms)
+96ms ║║Condition #14 evaluated true (4ms)
+97ms ║║Cancelling condition #12’s schedules…
+98ms ║║Condition group #12 evaluated true (state changed) (9ms)
+100ms ║║Cancelling statement #15’s schedules…
+103ms ║║Executed virtual command setVariable (1ms)
+117ms ║║Executed virtual command sendPushNotification (11ms)
+120ms ║║Executed virtual command sendNotification (1ms)
+130ms ║║Condition #19 evaluated false (7ms)
+131ms ║║Condition group #18 evaluated false (state did not change) (8ms)
+133ms ║╚Execution stage complete. (57ms)
+134ms ╚Event processed successfully (134ms)
7/7/2021, 2:52:39 PM +961ms
+1ms ╔Received event [Washing machine].power = 0 with a delay of 36ms
+64ms ║RunTime Analysis CS > 13ms > PS > 4ms > PE > 46ms > CE
+66ms ║Runtime (42437 bytes) successfully initialized in 4ms (v0.3.110.20191009) (65ms)
+67ms ║╔Execution stage started
+73ms ║║Comparison (decimal) 0.0 rises_above (integer) 50 = false (1ms)
+74ms ║║Condition #2 evaluated false (4ms)
+75ms ║║Condition group #1 evaluated false (state did not change) (5ms)
+80ms ║║Comparison (decimal) 0.0 stays_less_than (integer) 5 = true (1ms)
+82ms ║║Condition #13 evaluated false (5ms)
+83ms ║║Condition group #12 evaluated false (state did not change) (5ms)
+90ms ║║Condition #19 evaluated false (5ms)
+91ms ║║Condition group #18 evaluated false (state did not change) (6ms)
+92ms ║╚Execution stage complete. (25ms)
+94ms ║Setting up scheduled job for Wed, Jul 7 2021 @ 2:52:44 PM AEST (in 4.004s)
+104ms ╚Event processed successfully (103ms)
7/7/2021, 2:47:43 PM +970ms
+1ms ╔Received event [Washing machine].power = 2 with a delay of 45ms
+68ms ║RunTime Analysis CS > 12ms > PS > 3ms > PE > 53ms > CE
+71ms ║Runtime (42438 bytes) successfully initialized in 3ms (v0.3.110.20191009) (68ms)
+71ms ║╔Execution stage started
+78ms ║║Comparison (decimal) 2.0 rises_above (integer) 50 = false (1ms)
+79ms ║║Condition #2 evaluated false (4ms)
+80ms ║║Condition group #1 evaluated false (state did not change) (5ms)
+86ms ║║Comparison (decimal) 2.0 stays_less_than (integer) 5 = true (1ms)
+87ms ║║Adding a timed trigger schedule for condition 13
+89ms ║║Condition #13 evaluated false (7ms)
+90ms ║║Condition group #12 evaluated false (state did not change) (8ms)
+99ms ║║Condition #19 evaluated false (6ms)
+100ms ║║Condition group #18 evaluated false (state did not change) (7ms)
+101ms ║╚Execution stage complete. (30ms)
+103ms ║Setting up scheduled job for Wed, Jul 7 2021 @ 2:52:44 PM AEST (in 299.986s)
+112ms ╚Event processed successfully (112ms)
7/7/2021, 2:47:30 PM +967ms
+1ms ╔Received event [Washing machine].power = 22 with a delay of 42ms
+68ms ║RunTime Analysis CS > 13ms > PS > 4ms > PE > 50ms > CE
+70ms ║Runtime (42439 bytes) successfully initialized in 4ms (v0.3.110.20191009) (69ms)
+71ms ║╔Execution stage started
+77ms ║║Comparison (decimal) 22.0 rises_above (integer) 50 = false (1ms)
+79ms ║║Condition #2 evaluated false (4ms)
+80ms ║║Condition group #1 evaluated false (state did not change) (5ms)
+85ms ║║Comparison (decimal) 22.0 stays_less_than (integer) 5 = false (1ms)
+87ms ║║Cancelling any timed trigger schedules for condition 13
+88ms ║║Cancelling statement #13’s schedules…
+88ms ║║Condition #13 evaluated false (6ms)
+89ms ║║Condition group #12 evaluated false (state did not change) (8ms)
+97ms ║║Condition #19 evaluated false (6ms)
+98ms ║║Condition group #18 evaluated false (state did not change) (7ms)
+99ms ║╚Execution stage complete. (28ms)
+100ms ╚Event processed successfully (100ms)
7/7/2021, 2:47:20 PM +995ms
+2ms ╔Received event [Washing machine].power = 31 with a delay of 64ms
+81ms ║RunTime Analysis CS > 24ms > PS > 5ms > PE > 51ms > CE
+83ms ║Runtime (42439 bytes) successfully initialized in 5ms (v0.3.110.20191009) (80ms)
+84ms ║╔Execution stage started
+90ms ║║Comparison (decimal) 31.0 rises_above (integer) 50 = false (1ms)
+92ms ║║Condition #2 evaluated false (3ms)
+92ms ║║Condition group #1 evaluated false (state did not change) (5ms)
+98ms ║║Comparison (decimal) 31.0 stays_less_than (integer) 5 = false (1ms)
+100ms ║║Cancelling any timed trigger schedules for condition 13
+100ms ║║Cancelling statement #13’s schedules…
+101ms ║║Condition #13 evaluated false (7ms)
+102ms ║║Condition group #12 evaluated false (state did not change) (8ms)
+110ms ║║Condition #19 evaluated false (5ms)
+111ms ║║Condition group #18 evaluated false (state did not change) (6ms)
+112ms ║╚Execution stage complete. (28ms)
+113ms ╚Event processed successfully (113ms)
7/7/2021, 2:47:07 PM +971ms
+1ms ╔Received event [Washing machine].power = 43 with a delay of 41ms
+60ms ║RunTime Analysis CS > 12ms > PS > 3ms > PE > 45ms > CE
+63ms ║Runtime (42439 bytes) successfully initialized in 3ms (v0.3.110.20191009) (60ms)
+63ms ║╔Execution stage started
+69ms ║║Comparison (decimal) 43.0 rises_above (integer) 50 = false (1ms)
+70ms ║║Condition #2 evaluated false (4ms)
+71ms ║║Condition group #1 evaluated false (state did not change) (5ms)
+76ms ║║Comparison (decimal) 43.0 stays_less_than (integer) 5 = false (1ms)
+78ms ║║Cancelling any timed trigger schedules for condition 13
+78ms ║║Cancelling statement #13’s schedules…
+79ms ║║Condition #13 evaluated false (6ms)
+80ms ║║Condition group #12 evaluated false (state did not change) (7ms)
+87ms ║║Condition #19 evaluated false (5ms)
+88ms ║║Condition group #18 evaluated false (state did not change) (7ms)
+89ms ║╚Execution stage complete. (26ms)
+90ms ╚Event processed successfully (90ms)
7/7/2021, 2:47:01 PM +980ms
+1ms ╔Received event [Washing machine].power = 92 with a delay of 49ms
+64ms ║RunTime Analysis CS > 13ms > PS > 4ms > PE > 46ms > CE
+66ms ║Runtime (42440 bytes) successfully initialized in 4ms (v0.3.110.20191009) (64ms)
+67ms ║╔Execution stage started
+72ms ║║Comparison (decimal) 92.0 rises_above (integer) 50 = false (0ms)
+74ms ║║Condition #2 evaluated false (3ms)
+74ms ║║Condition group #1 evaluated false (state did not change) (4ms)
+80ms ║║Comparison (decimal) 92.0 stays_less_than (integer) 5 = false (1ms)
+81ms ║║Cancelling any timed trigger schedules for condition 13
+82ms ║║Cancelling statement #13’s schedules…
+82ms ║║Condition #13 evaluated false (6ms)
+83ms ║║Condition group #12 evaluated false (state did not change) (7ms)
+93ms ║║Condition #19 evaluated false (8ms)
+94ms ║║Condition group #18 evaluated false (state did not change) (9ms)
+95ms ║╚Execution stage complete. (29ms)
+96ms ╚Event processed successfully (96ms)
7/7/2021, 2:46:51 PM +972ms
+1ms ╔Received event [Washing machine].power = 177 with a delay of 43ms
+125ms ║RunTime Analysis CS > 12ms > PS > 3ms > PE > 109ms > CE
+127ms ║Runtime (42443 bytes) successfully initialized in 3ms (v0.3.110.20191009) (125ms)
+128ms ║╔Execution stage started
+134ms ║║Comparison (decimal) 177.0 rises_above (integer) 50 = false (1ms)
+135ms ║║Condition #2 evaluated false (4ms)
+136ms ║║Condition group #1 evaluated false (state did not change) (5ms)
+141ms ║║Comparison (decimal) 177.0 stays_less_than (integer) 5 = false (1ms)
+143ms ║║Cancelling any timed trigger schedules for condition 13
+144ms ║║Cancelling statement #13’s schedules…
+144ms ║║Condition #13 evaluated false (6ms)
+145ms ║║Condition group #12 evaluated false (state did not change) (7ms)
+153ms ║║Condition #19 evaluated false (6ms)
+154ms ║║Condition group #18 evaluated false (state did not change) (7ms)
+156ms ║╚Execution stage complete. (28ms)
+157ms ╚Event processed successfully (156ms)
7/7/2021, 2:46:42 PM +38ms
+2ms ╔Received event [Washing machine].power = 415 with a delay of 62ms
+77ms ║RunTime Analysis CS > 22ms > PS > 6ms > PE > 49ms > CE
+80ms ║Runtime (42441 bytes) successfully initialized in 6ms (v0.3.110.20191009) (76ms)
+80ms ║╔Execution stage started
+86ms ║║Comparison (decimal) 415.0 rises_above (integer) 50 = false (0ms)
+88ms ║║Condition #2 evaluated false (3ms)
+88ms ║║Condition group #1 evaluated false (state did not change) (4ms)
+94ms ║║Comparison (decimal) 415.0 stays_less_than (integer) 5 = false (1ms)
+96ms ║║Cancelling any timed trigger schedules for condition 13
+96ms ║║Cancelling statement #13’s schedules…
+97ms ║║Condition #13 evaluated false (7ms)
+98ms ║║Condition group #12 evaluated false (state did not change) (8ms)
+107ms ║║Condition #19 evaluated false (7ms)
+108ms ║║Condition group #18 evaluated false (state did not change) (8ms)
+110ms ║╚Execution stage complete. (29ms)
+110ms ╚Event processed successfully (110ms)
7/7/2021, 2:46:28 PM +5ms
+1ms ╔Received event [Washing machine].power = 180 with a delay of 43ms
+63ms ║RunTime Analysis CS > 13ms > PS > 4ms > PE > 46ms > CE
+66ms ║Runtime (42443 bytes) successfully initialized in 4ms (v0.3.110.20191009) (64ms)
+67ms ║╔Execution stage started
+73ms ║║Comparison (decimal) 180.0 rises_above (integer) 50 = false (1ms)
+74ms ║║Condition #2 evaluated false (4ms)
+75ms ║║Condition group #1 evaluated false (state did not change) (5ms)
+80ms ║║Comparison (decimal) 180.0 stays_less_than (integer) 5 = false (1ms)
+82ms ║║Cancelling any timed trigger schedules for condition 13
+83ms ║║Cancelling statement #13’s schedules…
+83ms ║║Condition #13 evaluated false (6ms)
+84ms ║║Condition group #12 evaluated false (state did not change) (7ms)
+104ms ║║Condition #19 evaluated false (18ms)
+105ms ║║Condition group #18 evaluated false (state did not change) (19ms)
+107ms ║╚Execution stage complete. (39ms)
+108ms ╚Event processed successfully (107ms)
7/7/2021, 2:46:27 PM +43ms
+0ms ╔Received event [Washing machine].power = 65716 with a delay of 71ms
+66ms ║RunTime Analysis CS > 12ms > PS > 5ms > PE > 50ms > CE
+68ms ║Runtime (42443 bytes) successfully initialized in 5ms (v0.3.110.20191009) (67ms)
+69ms ║╔Execution stage started
+76ms ║║Comparison (decimal) 65716.0 rises_above (integer) 50 = false (1ms)
+77ms ║║Condition #2 evaluated false (4ms)
+78ms ║║Condition group #1 evaluated false (state did not change) (5ms)
+84ms ║║Comparison (decimal) 65716.0 stays_less_than (integer) 5 = false (1ms)
+85ms ║║Cancelling any timed trigger schedules for condition 13
+86ms ║║Cancelling statement #13’s schedules…
+87ms ║║Condition #13 evaluated false (7ms)
+88ms ║║Condition group #12 evaluated false (state did not change) (7ms)
+96ms ║║Condition #19 evaluated false (6ms)
+97ms ║║Condition group #18 evaluated false (state did not change) (8ms)
+98ms ║╚Execution stage complete. (29ms)
+99ms ╚Event processed successfully (100ms)
7/7/2021, 2:45:47 PM +14ms
+1ms ╔Received event [Washing machine].power = 180 with a delay of 61ms
+82ms ║RunTime Analysis CS > 23ms > PS > 4ms > PE > 54ms > CE
+84ms ║Runtime (42441 bytes) successfully initialized in 4ms (v0.3.110.20191009) (82ms)
+85ms ║╔Execution stage started
+91ms ║║Comparison (decimal) 180.0 rises_above (integer) 50 = false (1ms)
+92ms ║║Condition #2 evaluated false (4ms)
+93ms ║║Condition group #1 evaluated false (state did not change) (5ms)
+99ms ║║Comparison (decimal) 180.0 stays_less_than (integer) 5 = false (1ms)
+100ms ║║Cancelling any timed trigger schedules for condition 13
+101ms ║║Cancelling statement #13’s schedules…
+102ms ║║Condition #13 evaluated false (7ms)
+103ms ║║Condition group #12 evaluated false (state did not change) (8ms)
+110ms ║║Condition #19 evaluated false (5ms)
+111ms ║║Condition group #18 evaluated false (state did not change) (7ms)
+113ms ║╚Execution stage complete. (27ms)
+113ms ╚Event processed successfully (113ms)
7/7/2021, 2:45:37 PM +951ms
+2ms ╔Received event [Washing machine].power = 156 with a delay of 69ms
+79ms ║RunTime Analysis CS > 22ms > PS > 6ms > PE > 51ms > CE
+81ms ║Runtime (42441 bytes) successfully initialized in 6ms (v0.3.110.20191009) (78ms)
+82ms ║╔Execution stage started
+88ms ║║Comparison (decimal) 156.0 rises_above (integer) 50 = false (1ms)
+89ms ║║Condition #2 evaluated false (4ms)
+90ms ║║Condition group #1 evaluated false (state did not change) (5ms)
+96ms ║║Comparison (decimal) 156.0 stays_less_than (integer) 5 = false (2ms)
+97ms ║║Cancelling any timed trigger schedules for condition 13
+98ms ║║Cancelling statement #13’s schedules…
+99ms ║║Condition #13 evaluated false (7ms)
+100ms ║║Condition group #12 evaluated false (state did not change) (8ms)
+116ms ║║Condition #19 evaluated false (14ms)
+117ms ║║Condition group #18 evaluated false (state did not change) (14ms)
+118ms ║╚Execution stage complete. (36ms)
+119ms ╚Event processed successfully (119ms)
7/7/2021, 2:45:21 PM +15ms
+1ms ╔Received event [Washing machine].power = 116 with a delay of 80ms
+78ms ║RunTime Analysis CS > 22ms > PS > 6ms > PE > 49ms > CE
+80ms ║Runtime (42440 bytes) successfully initialized in 6ms (v0.3.110.20191009) (78ms)
+81ms ║╔Execution stage started
+87ms ║║Comparison (decimal) 116.0 rises_above (integer) 50 = false (1ms)
+88ms ║║Condition #2 evaluated false (4ms)
+89ms ║║Condition group #1 evaluated false (state did not change) (5ms)
+95ms ║║Comparison (decimal) 116.0 stays_less_than (integer) 5 = false (1ms)
+96ms ║║Cancelling any timed trigger schedules for condition 13
+97ms ║║Cancelling statement #13’s schedules…
+98ms ║║Condition #13 evaluated false (6ms)
+98ms ║║Condition group #12 evaluated false (state did not change) (7ms)
+108ms ║║Condition #19 evaluated false (8ms)
+109ms ║║Condition group #18 evaluated false (state did not change) (9ms)
+110ms ║╚Execution stage complete. (29ms)
+111ms ╚Event processed successfully (111ms)
7/7/2021, 2:45:10 PM +960ms
+0ms ╔Received event [Washing machine].power = 97 with a delay of 35ms
+61ms ║RunTime Analysis CS > 11ms > PS > 4ms > PE > 45ms > CE
+63ms ║Runtime (42439 bytes) successfully initialized in 4ms (v0.3.110.20191009) (62ms)
+64ms ║╔Execution stage started
+70ms ║║Comparison (decimal) 97.0 rises_above (integer) 50 = false (1ms)
+71ms ║║Condition #2 evaluated false (4ms)
+72ms ║║Condition group #1 evaluated false (state did not change) (5ms)
+77ms ║║Comparison (decimal) 97.0 stays_less_than (integer) 5 = false (1ms)
+79ms ║║Cancelling any timed trigger schedules for condition 13
+79ms ║║Cancelling statement #13’s schedules…
+80ms ║║Condition #13 evaluated false (6ms)
+81ms ║║Condition group #12 evaluated false (state did not change) (8ms)
+89ms ║║Condition #19 evaluated false (6ms)
+90ms ║║Condition group #18 evaluated false (state did not change) (8ms)
+91ms ║╚Execution stage complete. (27ms)
+92ms ╚Event processed successfully (92ms)
7/7/2021, 2:44:54 PM +987ms
+0ms ╔Received event [Washing machine].power = 80 with a delay of 35ms
+64ms ║RunTime Analysis CS > 13ms > PS > 4ms > PE > 48ms > CE
+66ms ║Runtime (42438 bytes) successfully initialized in 4ms (v0.3.110.20191009) (65ms)
+67ms ║╔Execution stage started
+72ms ║║Comparison (decimal) 80.0 rises_above (integer) 50 = false (0ms)
+74ms ║║Cancelling condition #2’s schedules…
+74ms ║║Condition #2 evaluated false (4ms)
+75ms ║║Condition group #1 evaluated false (state did not change) (5ms)
+80ms ║║Comparison (decimal) 80.0 stays_less_than (integer) 5 = false (1ms)
+82ms ║║Cancelling any timed trigger schedules for condition 13
+83ms ║║Cancelling statement #13’s schedules…
+83ms ║║Condition #13 evaluated false (6ms)
+84ms ║║Condition group #12 evaluated false (state did not change) (7ms)
+95ms ║║Condition #19 evaluated false (9ms)
+96ms ║║Condition group #18 evaluated false (state did not change) (9ms)
+97ms ║╚Execution stage complete. (30ms)
+98ms ╚Event processed successfully (98ms)
7/7/2021, 2:44:38 PM +991ms
+1ms ╔Received event [Washing machine].power = 67 with a delay of 64ms
+76ms ║RunTime Analysis CS > 22ms > PS > 5ms > PE > 49ms > CE
+78ms ║Runtime (42439 bytes) successfully initialized in 5ms (v0.3.110.20191009) (76ms)
+79ms ║╔Execution stage started
+84ms ║║Comparison (decimal) 67.0 rises_above (integer) 50 = true (0ms)
+85ms ║║Cancelling condition #2’s schedules…
+86ms ║║Condition #2 evaluated true (4ms)
+89ms ║║Comparison (string) Run is_not (string) Run = false (1ms)
+90ms ║║Condition #3 evaluated false (3ms)
+91ms ║║Condition group #1 evaluated false (state did not change) (9ms)
+96ms ║║Comparison (decimal) 67.0 stays_less_than (integer) 5 = false (1ms)
+97ms ║║Cancelling any timed trigger schedules for condition 13
+98ms ║║Cancelling statement #13’s schedules…
+99ms ║║Condition #13 evaluated false (6ms)
+99ms ║║Condition group #12 evaluated false (state did not change) (6ms)
+108ms ║║Condition #19 evaluated false (6ms)
+108ms ║║Condition group #18 evaluated false (state did not change) (7ms)
+110ms ║╚Execution stage complete. (31ms)
+111ms ╚Event processed successfully (110ms)
7/7/2021, 2:44:21 PM +981ms
+1ms ╔Received event [Washing machine].power = 41 with a delay of 61ms
+83ms ║RunTime Analysis CS > 22ms > PS > 5ms > PE > 56ms > CE
+85ms ║Runtime (42439 bytes) successfully initialized in 5ms (v0.3.110.20191009) (84ms)
+86ms ║╔Execution stage started
+92ms ║║Comparison (decimal) 41.0 rises_above (integer) 50 = false (1ms)
+93ms ║║Condition #2 evaluated false (4ms)
+94ms ║║Condition group #1 evaluated false (state did not change) (5ms)
+99ms ║║Comparison (decimal) 41.0 stays_less_than (integer) 5 = false (1ms)
+101ms ║║Cancelling any timed trigger schedules for condition 13
+102ms ║║Cancelling statement #13’s schedules…
+102ms ║║Condition #13 evaluated false (6ms)
+103ms ║║Condition group #12 evaluated false (state did not change) (7ms)
+111ms ║║Condition #19 evaluated false (6ms)
+112ms ║║Condition group #18 evaluated false (state did not change) (7ms)
+113ms ║╚Execution stage complete. (27ms)
+114ms ╚Event processed successfully (115ms)
7/7/2021, 2:44:15 PM +975ms
+1ms ╔Received event [Washing machine].power = 31 with a delay of 46ms
+64ms ║RunTime Analysis CS > 12ms > PS > 3ms > PE > 48ms > CE
+66ms ║Runtime (42439 bytes) successfully initialized in 3ms (v0.3.110.20191009) (65ms)
+67ms ║╔Execution stage started
+73ms ║║Comparison (decimal) 31.0 rises_above (integer) 50 = false (1ms)
+74ms ║║Condition #2 evaluated false (4ms)
+75ms ║║Condition group #1 evaluated false (state did not change) (5ms)
+80ms ║║Comparison (decimal) 31.0 stays_less_than (integer) 5 = false (1ms)
+82ms ║║Cancelling any timed trigger schedules for condition 13
+82ms ║║Cancelling statement #13’s schedules…
+83ms ║║Condition #13 evaluated false (6ms)
+84ms ║║Condition group #12 evaluated false (state did not change) (8ms)
+91ms ║║Condition #19 evaluated false (5ms)
+92ms ║║Condition group #18 evaluated false (state did not change) (7ms)
+93ms ║╚Execution stage complete. (26ms)
+94ms ╚Event processed successfully (94ms)
7/7/2021, 2:43:58 PM +964ms
+0ms ╔Received event [Washing machine].power = 35 with a delay of 40ms
+63ms ║RunTime Analysis CS > 12ms > PS > 4ms > PE > 47ms > CE
+65ms ║Runtime (42439 bytes) successfully initialized in 4ms (v0.3.110.20191009) (64ms)
+66ms ║╔Execution stage started
+72ms ║║Comparison (decimal) 35.0 rises_above (integer) 50 = false (0ms)
+74ms ║║Condition #2 evaluated false (4ms)
+75ms ║║Condition group #1 evaluated false (state did not change) (6ms)
+80ms ║║Comparison (decimal) 35.0 stays_less_than (integer) 5 = false (1ms)
+82ms ║║Cancelling any timed trigger schedules for condition 13
+83ms ║║Cancelling statement #13’s schedules…
+83ms ║║Condition #13 evaluated false (6ms)
+84ms ║║Condition group #12 evaluated false (state did not change) (8ms)
+92ms ║║Condition #19 evaluated false (5ms)
+92ms ║║Condition group #18 evaluated false (state did not change) (6ms)
+94ms ║╚Execution stage complete. (28ms)
+95ms ╚Event processed successfully (95ms)
7/7/2021, 2:43:48 PM +975ms
+1ms ╔Received event [Washing machine].power = 40 with a delay of 43ms
+63ms ║RunTime Analysis CS > 12ms > PS > 5ms > PE > 46ms > CE
+66ms ║Runtime (42439 bytes) successfully initialized in 5ms (v0.3.110.20191009) (65ms)
+67ms ║╔Execution stage started
+73ms ║║Comparison (decimal) 40.0 rises_above (integer) 50 = false (1ms)
+74ms ║║Condition #2 evaluated false (4ms)
+75ms ║║Condition group #1 evaluated false (state did not change) (5ms)
+80ms ║║Comparison (decimal) 40.0 stays_less_than (integer) 5 = false (1ms)
+82ms ║║Cancelling any timed trigger schedules for condition 13
+82ms ║║Cancelling statement #13’s schedules…
+83ms ║║Condition #13 evaluated false (6ms)
+84ms ║║Condition group #12 evaluated false (state did not change) (8ms)
+92ms ║║Condition #19 evaluated false (6ms)
+93ms ║║Condition group #18 evaluated false (state did not change) (7ms)
+94ms ║╚Execution stage complete. (27ms)
+95ms ╚Event processed successfully (95ms)
7/7/2021, 2:43:29 PM +990ms
+1ms ╔Received event [Washing machine].power = 34 with a delay of 65ms
+79ms ║RunTime Analysis CS > 22ms > PS > 6ms > PE > 52ms > CE
+82ms ║Runtime (42439 bytes) successfully initialized in 6ms (v0.3.110.20191009) (80ms)
+83ms ║╔Execution stage started
+88ms ║║Comparison (decimal) 34.0 rises_above (integer) 50 = false (1ms)
+90ms ║║Condition #2 evaluated false (3ms)
+90ms ║║Condition group #1 evaluated false (state did not change) (5ms)
+96ms ║║Comparison (decimal) 34.0 stays_less_than (integer) 5 = false (1ms)
+97ms ║║Cancelling any timed trigger schedules for condition 13
+98ms ║║Cancelling statement #13’s schedules…
+105ms ║║Condition #13 evaluated false (13ms)
+108ms ║║Condition group #12 evaluated false (state did not change) (16ms)
+115ms ║║Condition #19 evaluated false (5ms)
+116ms ║║Condition group #18 evaluated false (state did not change) (6ms)
+117ms ║╚Execution stage complete. (35ms)
+118ms ╚Event processed successfully (118ms)
7/7/2021, 2:43:24 PM +985ms
+2ms ╔Received event [Washing machine].power = 33 with a delay of 61ms
+81ms ║RunTime Analysis CS > 25ms > PS > 5ms > PE > 51ms > CE
+84ms ║Runtime (42439 bytes) successfully initialized in 5ms (v0.3.110.20191009) (81ms)
+84ms ║╔Execution stage started
+91ms ║║Comparison (decimal) 33.0 rises_above (integer) 50 = false (1ms)
+92ms ║║Condition #2 evaluated false (4ms)
+93ms ║║Condition group #1 evaluated false (state did not change) (5ms)
+99ms ║║Comparison (decimal) 33.0 stays_less_than (integer) 5 = false (2ms)
+100ms ║║Cancelling any timed trigger schedules for condition 13
+101ms ║║Cancelling statement #13’s schedules…
+102ms ║║Condition #13 evaluated false (7ms)
+103ms ║║Condition group #12 evaluated false (state did not change) (8ms)
+110ms ║║Condition #19 evaluated false (5ms)
+111ms ║║Condition group #18 evaluated false (state did not change) (6ms)
+113ms ║╚Execution stage complete. (29ms)
+114ms ╚Event processed successfully (114ms)
7/7/2021, 2:43:08 PM +982ms
+1ms ╔Received event [Washing machine].power = 40 with a delay of 45ms
+70ms ║RunTime Analysis CS > 12ms > PS > 4ms > PE > 54ms > CE
+73ms ║Runtime (42438 bytes) successfully initialized in 4ms (v0.3.110.20191009) (70ms)
+73ms ║╔Execution stage started
+79ms ║║Comparison (decimal) 40.0 rises_above (integer) 50 = false (1ms)
+80ms ║║Cancelling condition #2’s schedules…
+81ms ║║Condition #2 evaluated false (4ms)
+82ms ║║Condition group #1 evaluated false (state did not change) (6ms)
+87ms ║║Comparison (decimal) 40.0 stays_less_than (integer) 5 = false (1ms)
+89ms ║║Cancelling any timed trigger schedules for condition 13
+89ms ║║Cancelling statement #13’s schedules…
+90ms ║║Condition #13 evaluated false (6ms)
+91ms ║║Condition group #12 evaluated false (state did not change) (7ms)
+98ms ║║Condition #19 evaluated false (5ms)
+99ms ║║Condition group #18 evaluated false (state did not change) (5ms)
+100ms ║╚Execution stage complete. (27ms)
+101ms ╚Event processed successfully (101ms)
7/7/2021, 2:43:01 PM +3ms
+1ms ╔Received event [Washing machine].power = 59 with a delay of 69ms
+90ms ║RunTime Analysis CS > 21ms > PS > 5ms > PE > 63ms > CE
+92ms ║Runtime (42439 bytes) successfully initialized in 5ms (v0.3.110.20191009) (90ms)
+93ms ║╔Execution stage started
+99ms ║║Comparison (decimal) 59.0 rises_above (integer) 50 = true (1ms)
+100ms ║║Cancelling condition #2’s schedules…
+101ms ║║Condition #2 evaluated true (5ms)
+108ms ║║Comparison (string) Run is_not (string) Run = false (1ms)
+109ms ║║Condition #3 evaluated false (4ms)
+112ms ║║Condition group #1 evaluated false (state did not change) (15ms)
+122ms ║║Comparison (decimal) 59.0 stays_less_than (integer) 5 = false (1ms)
+123ms ║║Cancelling any timed trigger schedules for condition 13
+124ms ║║Cancelling statement #13’s schedules…
+125ms ║║Condition #13 evaluated false (8ms)
+125ms ║║Condition group #12 evaluated false (state did not change) (9ms)
+133ms ║║Condition #19 evaluated false (6ms)
+134ms ║║Condition group #18 evaluated false (state did not change) (7ms)
+135ms ║╚Execution stage complete. (42ms)
+136ms ╚Event processed successfully (136ms)
7/7/2021, 2:42:18 PM +41ms
+1ms ╔Received event [Washing machine].power = 13 with a delay of 124ms
+87ms ║RunTime Analysis CS > 24ms > PS > 5ms > PE > 58ms > CE
+89ms ║Runtime (42440 bytes) successfully initialized in 5ms (v0.3.110.20191009) (87ms)
+90ms ║╔Execution stage started
+96ms ║║Comparison (decimal) 13.0 rises_above (integer) 50 = false (1ms)
+97ms ║║Condition #2 evaluated false (4ms)
+98ms ║║Condition group #1 evaluated false (state did not change) (5ms)
+103ms ║║Comparison (decimal) 13.0 stays_less_than (integer) 5 = false (1ms)
+105ms ║║Cancelling any timed trigger schedules for condition 13
+106ms ║║Cancelling statement #13’s schedules…
+106ms ║║Condition #13 evaluated false (6ms)
+107ms ║║Condition group #12 evaluated false (state did not change) (7ms)
+114ms ║║Condition #19 evaluated false (5ms)
+115ms ║║Condition group #18 evaluated false (state did not change) (6ms)
+116ms ║╚Execution stage complete. (26ms)
+117ms ╚Event processed successfully (117ms)
7/7/2021, 2:42:08 PM +999ms
+1ms ╔Received event [Washing machine].power = 42 with a delay of 68ms
+77ms ║RunTime Analysis CS > 21ms > PS > 6ms > PE > 51ms > CE
+79ms ║Runtime (42439 bytes) successfully initialized in 6ms (v0.3.110.20191009) (78ms)
+80ms ║╔Execution stage started
+86ms ║║Comparison (decimal) 42.0 rises_above (integer) 50 = false (1ms)
+87ms ║║Condition #2 evaluated false (4ms)
+88ms ║║Condition group #1 evaluated false (state did not change) (5ms)
+93ms ║║Comparison (decimal) 42.0 stays_less_than (integer) 5 = false (1ms)
+95ms ║║Cancelling any timed trigger schedules for condition 13
+96ms ║║Cancelling statement #13’s schedules…
+96ms ║║Condition #13 evaluated false (6ms)
+97ms ║║Condition group #12 evaluated false (state did not change) (7ms)
+104ms ║║Condition #19 evaluated false (5ms)
+105ms ║║Condition group #18 evaluated false (state did not change) (6ms)
+107ms ║╚Execution stage complete. (26ms)
+107ms ╚Event processed successfully (108ms)
7/7/2021, 2:41:46 PM +960ms
+0ms ╔Received event [Washing machine].power = 13 with a delay of 39ms
+63ms ║RunTime Analysis CS > 14ms > PS > 4ms > PE > 46ms > CE
+66ms ║Runtime (42439 bytes) successfully initialized in 4ms (v0.3.110.20191009) (64ms)
+66ms ║╔Execution stage started
+72ms ║║Comparison (decimal) 13.0 rises_above (integer) 50 = false (1ms)
+73ms ║║Condition #2 evaluated false (3ms)
+74ms ║║Condition group #1 evaluated false (state did not change) (5ms)
+79ms ║║Comparison (decimal) 13.0 stays_less_than (integer) 5 = false (1ms)
+81ms ║║Cancelling any timed trigger schedules for condition 13
+81ms ║║Cancelling statement #13’s schedules…
+82ms ║║Condition #13 evaluated false (6ms)
+83ms ║║Condition group #12 evaluated false (state did not change) (7ms)
+90ms ║║Condition #19 evaluated false (5ms)
+91ms ║║Condition group #18 evaluated false (state did not change) (7ms)
+92ms ║╚Execution stage complete. (26ms)
+93ms ╚Event processed successfully (93ms)
7/7/2021, 2:41:21 PM +978ms
+1ms ╔Received event [Washing machine].power = 14 with a delay of 62ms
+84ms ║RunTime Analysis CS > 20ms > PS > 5ms > PE > 59ms > CE
+87ms ║Runtime (42439 bytes) successfully initialized in 5ms (v0.3.110.20191009) (84ms)
+87ms ║╔Execution stage started
+93ms ║║Comparison (decimal) 14.0 rises_above (integer) 50 = false (1ms)
+95ms ║║Condition #2 evaluated false (3ms)
+95ms ║║Condition group #1 evaluated false (state did not change) (5ms)
+101ms ║║Comparison (decimal) 14.0 stays_less_than (integer) 5 = false (1ms)
+102ms ║║Cancelling any timed trigger schedules for condition 13
+103ms ║║Cancelling statement #13’s schedules…
+104ms ║║Condition #13 evaluated false (7ms)
+105ms ║║Condition group #12 evaluated false (state did not change) (8ms)
+113ms ║║Condition #19 evaluated false (6ms)
+114ms ║║Condition group #18 evaluated false (state did not change) (8ms)
+115ms ║╚Execution stage complete. (28ms)


#2

I have a very similar piston for my washer & dishwasher.
A few thoughts…
Have you done anything different, e’g a different programme? My dishwasher is more complex as it drops to less than 5w mid cycle for around 10 mins which I have to cater for. I only use one programme on the washer.
Could the powerline adapter be faulty, and giving different reading than it used to?

When I originally wrote my pistons, I started by logging the power usage to a google spreadsheet using a smart app. I then graphed them to understand the power usage over the cycle and desjigned the piston around that.


#3

Hi Paul,

Thanks so much for your response. I thought by adding booleans to adjust the washer needing a set amount of variables for it to be considered “running” and “done” would eliminate the need for having to be too specific with the voltage draw. This way as long as it was “above X for X minutes” the washer was “running” and below X for X minutes it was “done”.

This way I could set the notifications to only trigger if "the washer drops below X for X minutes and is not “running” then send notification. But maybe you’re right and I need to do a more detailed deep dive on the full power consumption across a certain cycle.

Can you recommend the app you used to chart your power consumption? I’ve just been doing a manual scan of my read outs directly from the smart things app.


#4

This is what I use for my washer, used it on ST and now migrated to Hubitat.


#5

The smart app I use is “simple event logger” by By Kevin LaFramboise. When you plot results in google sheets you will need to use a logarithmic scale for the power, as it will raise to 2KW and you’re more interested with values below 20w. This will enable you to see the changes better, but it can still be a bit tricky to see.

I think your general approach to the piston is correct, its the same as mine. I’ve attached my dishwasher piston which has mid cycle low power points.