Monitor Dishwasher


#1

1) Give a description of the problem
Having problems coming up with logic to monitor the dishwasher and let me know once the rinse cycle is done. My rinse cycle takes about 9 minutes. I need to figure out how to design an if statement to identify when the dishwahser started drawing power greater than 5 watts and then stopped drawing power (less than 5 watts) 9-10 minutes later. The purpose of this is to send an alert that the rinse cycle is done and the dishwasher may be started. Any combination of items i come with seems to also match if I actally start a wash cycle.

2) What is the expected behaviour?
If the dishwasher draws power for 9 minutes, and then stops drawing power for 3 minutes, send a push notification that the rinse cycle is done.
3) What is happening/not happening?
i cant get the piston to differentiate between rinse and wash.

**4) Post a Green Snapshot of the piston!


#2

Made a modification that I thought would help, but it still didnt work.


#3

some logs

1/3/2021, 9:10:18 PM +771ms
+1ms ╔Received event [Dishwasher].power = 0.826 with a delay of 74ms
+84ms ║RunTime Analysis CS > 20ms > PS > 6ms > PE > 58ms > CE
+87ms ║Runtime (47912 bytes) successfully initialized in 6ms (v0.3.110.20191009) (85ms)
+88ms ║╔Execution stage started
+98ms ║║Comparison (decimal) 0.826 stays_less_than (integer) 5 = true (2ms)
+100ms ║║Adding a timed trigger schedule for condition 59
+102ms ║║Condition #59 evaluated false (8ms)
+103ms ║║Cancelling condition #56’s schedules…
+104ms ║║Condition group #56 evaluated false (state changed) (12ms)
+111ms ║║Comparison (decimal) 0.826 stays_greater_than (integer) 5 = false (1ms)
+113ms ║║Cancelling any timed trigger schedules for condition 2
+114ms ║║Cancelling statement #2’s schedules…
+115ms ║║Condition #2 evaluated false (8ms)
+116ms ║║Condition group #1 evaluated false (state did not change) (10ms)
+122ms ║║Comparison (decimal) 0.826 stays_less_than (integer) 2 = true (1ms)
+124ms ║║Condition #15 evaluated false (6ms)
+125ms ║║Condition group #14 evaluated false (state did not change) (7ms)
+135ms ║║Condition #27 evaluated false (6ms)
+136ms ║║Condition group #26 evaluated false (state did not change) (8ms)
+139ms ║╚Execution stage complete. (51ms)
+140ms ║Setting up scheduled job for Sun, Jan 3 2021 @ 9:10:48 PM EST (in 29.961s), with 2 more jobs pending
+149ms ╚Event processed successfully (149ms)
1/3/2021, 9:09:54 PM +68ms
+0ms ╔Received event [Kalinoski Home].time = 1609726195870 with a delay of -1803ms
+95ms ║RunTime Analysis CS > 32ms > PS > 7ms > PE > 57ms > CE
+98ms ║Runtime (47927 bytes) successfully initialized in 7ms (v0.3.110.20191009) (97ms)
+99ms ║╔Execution stage started
+106ms ║║Cancelling condition #56’s schedules…
+125ms ║╚Execution stage complete. (26ms)
+127ms ║Setting up scheduled job for Sun, Jan 3 2021 @ 9:11:26 PM EST (in 92.468s), with 1 more job pending
+134ms ╚Event processed successfully (134ms)
1/3/2021, 9:09:48 PM +772ms
+1ms ╔Received event [Dishwasher].power = 0.851 with a delay of 64ms
+81ms ║RunTime Analysis CS > 14ms > PS > 7ms > PE > 60ms > CE
+84ms ║Runtime (47913 bytes) successfully initialized in 7ms (v0.3.110.20191009) (82ms)
+85ms ║╔Execution stage started
+96ms ║║Comparison (decimal) 0.851 stays_less_than (integer) 5 = true (2ms)
+99ms ║║Condition #59 evaluated false (7ms)
+100ms ║║Condition group #56 evaluated false (state did not change) (10ms)
+107ms ║║Comparison (decimal) 0.851 stays_greater_than (integer) 5 = false (2ms)
+109ms ║║Cancelling any timed trigger schedules for condition 2
+110ms ║║Cancelling statement #2’s schedules…
+111ms ║║Condition #2 evaluated false (9ms)
+112ms ║║Condition group #1 evaluated false (state did not change) (10ms)
+119ms ║║Comparison (decimal) 0.851 stays_less_than (integer) 2 = true (2ms)
+121ms ║║Condition #15 evaluated false (7ms)
+122ms ║║Condition group #14 evaluated false (state did not change) (8ms)
+133ms ║║Condition #27 evaluated false (7ms)
+134ms ║║Condition group #26 evaluated false (state did not change) (8ms)
+137ms ║╚Execution stage complete. (52ms)
+139ms ║Setting up scheduled job for Sun, Jan 3 2021 @ 9:09:55 PM EST (in 6.96s), with 2 more jobs pending
+152ms ╚Event processed successfully (152ms)
1/3/2021, 9:09:25 PM +768ms
+1ms ╔Received event [Dishwasher].power = 1.049 with a delay of 69ms
+85ms ║RunTime Analysis CS > 20ms > PS > 6ms > PE > 58ms > CE
+87ms ║Runtime (47913 bytes) successfully initialized in 6ms (v0.3.110.20191009) (85ms)
+88ms ║╔Execution stage started
+99ms ║║Comparison (decimal) 1.049 stays_less_than (integer) 5 = true (2ms)
+101ms ║║Adding a timed trigger schedule for condition 59
+103ms ║║Condition #59 evaluated false (9ms)
+104ms ║║Condition group #56 evaluated false (state did not change) (12ms)
+111ms ║║Comparison (decimal) 1.049 stays_greater_than (integer) 5 = false (2ms)
+113ms ║║Cancelling any timed trigger schedules for condition 2
+114ms ║║Cancelling statement #2’s schedules…
+115ms ║║Condition #2 evaluated false (7ms)
+116ms ║║Condition group #1 evaluated false (state did not change) (9ms)
+122ms ║║Comparison (decimal) 1.049 stays_less_than (integer) 2 = true (1ms)
+124ms ║║Adding a timed trigger schedule for condition 15
+127ms ║║Condition #15 evaluated false (8ms)
+127ms ║║Condition group #14 evaluated false (state did not change) (9ms)
+137ms ║║Condition #27 evaluated false (7ms)
+138ms ║║Condition group #26 evaluated false (state did not change) (8ms)
+141ms ║╚Execution stage complete. (53ms)
+143ms ║Setting up scheduled job for Sun, Jan 3 2021 @ 9:09:55 PM EST (in 29.96s), with 2 more jobs pending
+153ms ╚Event processed successfully (153ms)
1/3/2021, 9:09:18 PM +760ms
+0ms ╔Received event [Dishwasher].power = 6.273 with a delay of 59ms
+81ms ║RunTime Analysis CS > 13ms > PS > 6ms > PE > 62ms > CE
+83ms ║Runtime (47913 bytes) successfully initialized in 6ms (v0.3.110.20191009) (82ms)
+84ms ║╔Execution stage started
+95ms ║║Comparison (decimal) 6.273 stays_less_than (integer) 5 = false (1ms)
+97ms ║║Cancelling any timed trigger schedules for condition 59
+98ms ║║Cancelling statement #59’s schedules…
+98ms ║║Condition #59 evaluated false (8ms)
+99ms ║║Condition group #56 evaluated false (state did not change) (11ms)
+106ms ║║Comparison (decimal) 6.273 stays_greater_than (integer) 5 = true (2ms)
+108ms ║║Adding a timed trigger schedule for condition 2
+110ms ║║Condition #2 evaluated false (8ms)
+111ms ║║Condition group #1 evaluated false (state did not change) (9ms)
+118ms ║║Comparison (decimal) 6.273 stays_less_than (integer) 2 = false (1ms)
+120ms ║║Cancelling any timed trigger schedules for condition 15
+120ms ║║Cancelling statement #15’s schedules…
+121ms ║║Condition #15 evaluated false (8ms)
+122ms ║║Condition group #14 evaluated false (state did not change) (9ms)
+131ms ║║Condition #27 evaluated false (7ms)
+132ms ║║Condition group #26 evaluated false (state did not change) (8ms)
+135ms ║╚Execution stage complete. (50ms)
+136ms ║Setting up scheduled job for Sun, Jan 3 2021 @ 9:11:26 PM EST (in 127.767s), with 1 more job pending
+145ms ╚Event processed successfully (145ms)
1/3/2021, 9:09:14 PM +763ms
+1ms ╔Received event [Dishwasher].power = 4.643 with a delay of 63ms
+79ms ║RunTime Analysis CS > 17ms > PS > 7ms > PE > 55ms > CE
+82ms ║Runtime (47914 bytes) successfully initialized in 7ms (v0.3.110.20191009) (80ms)
+83ms ║╔Execution stage started
+93ms ║║Comparison (decimal) 4.643 stays_less_than (integer) 5 = true (1ms)
+96ms ║║Adding a timed trigger schedule for condition 59
+98ms ║║Condition #59 evaluated false (9ms)
+99ms ║║Condition group #56 evaluated false (state did not change) (12ms)
+106ms ║║Comparison (decimal) 4.643 stays_greater_than (integer) 5 = false (1ms)
+108ms ║║Cancelling any timed trigger schedules for condition 2
+109ms ║║Cancelling statement #2’s schedules…
+110ms ║║Condition #2 evaluated false (8ms)
+111ms ║║Condition group #1 evaluated false (state did not change) (10ms)
+118ms ║║Comparison (decimal) 4.643 stays_less_than (integer) 2 = false (2ms)
+120ms ║║Cancelling any timed trigger schedules for condition 15
+121ms ║║Cancelling statement #15’s schedules…
+122ms ║║Condition #15 evaluated false (8ms)
+123ms ║║Condition group #14 evaluated false (state did not change) (10ms)
+133ms ║║Condition #27 evaluated false (8ms)
+134ms ║║Condition group #26 evaluated false (state did not change) (9ms)
+137ms ║╚Execution stage complete. (54ms)
+139ms ║Setting up scheduled job for Sun, Jan 3 2021 @ 9:09:44 PM EST (in 29.958s), with 1 more job pending
+148ms ╚Event processed successfully (148ms)
1/3/2021, 9:09:07 PM +774ms
+1ms ╔Received event [Dishwasher].power = 12.889 with a delay of 75ms
+80ms ║RunTime Analysis CS > 16ms > PS > 7ms > PE > 57ms > CE
+83ms ║Runtime (47914 bytes) successfully initialized in 7ms (v0.3.110.20191009) (81ms)
+84ms ║╔Execution stage started
+94ms ║║Comparison (decimal) 12.889 stays_less_than (integer) 5 = false (1ms)
+96ms ║║Cancelling any timed trigger schedules for condition 59
+97ms ║║Cancelling statement #59’s schedules…
+98ms ║║Condition #59 evaluated false (8ms)
+99ms ║║Condition group #56 evaluated false (state did not change) (11ms)
+106ms ║║Comparison (decimal) 12.889 stays_greater_than (integer) 5 = true (2ms)
+108ms ║║Condition #2 evaluated false (6ms)
+109ms ║║Condition group #1 evaluated false (state did not change) (8ms)
+115ms ║║Comparison (decimal) 12.889 stays_less_than (integer) 2 = false (1ms)
+117ms ║║Cancelling any timed trigger schedules for condition 15
+118ms ║║Cancelling statement #15’s schedules…
+119ms ║║Condition #15 evaluated false (8ms)
+120ms ║║Condition group #14 evaluated false (state did not change) (9ms)
+130ms ║║Condition #27 evaluated false (8ms)
+131ms ║║Condition group #26 evaluated false (state did not change) (9ms)
+134ms ║╚Execution stage complete. (49ms)
+135ms ║Setting up scheduled job for Sun, Jan 3 2021 @ 9:11:26 PM EST (in 138.753s), with 1 more job pending
+145ms ╚Event processed successfully (145ms)
1/3/2021, 9:09:06 PM +802ms
+1ms ╔Received event [Dishwasher].power = 9.525 with a delay of 102ms
+84ms ║RunTime Analysis CS > 22ms > PS > 6ms > PE > 56ms > CE
+87ms ║Runtime (47915 bytes) successfully initialized in 6ms (v0.3.110.20191009) (85ms)
+88ms ║╔Execution stage started
+98ms ║║Comparison (decimal) 9.525 stays_less_than (integer) 5 = false (1ms)
+100ms ║║Cancelling any timed trigger schedules for condition 59
+101ms ║║Cancelling statement #59’s schedules…
+102ms ║║Condition #59 evaluated false (8ms)
+103ms ║║Condition group #56 evaluated false (state did not change) (11ms)
+110ms ║║Comparison (decimal) 9.525 stays_greater_than (integer) 5 = true (2ms)
+112ms ║║Condition #2 evaluated false (6ms)
+113ms ║║Condition group #1 evaluated false (state did not change) (8ms)
+119ms ║║Comparison (decimal) 9.525 stays_less_than (integer) 2 = false (1ms)
+121ms ║║Cancelling any timed trigger schedules for condition 15
+122ms ║║Cancelling statement #15’s schedules…
+123ms ║║Condition #15 evaluated false (8ms)
+124ms ║║Condition group #14 evaluated false (state did not change) (9ms)
+133ms ║║Condition #27 evaluated false (7ms)
+134ms ║║Condition group #26 evaluated false (state did not change) (8ms)
+137ms ║╚Execution stage complete. (49ms)
+139ms ║Setting up scheduled job for Sun, Jan 3 2021 @ 9:11:26 PM EST (in 139.722s), with 1 more job pending
+150ms ╚Event processed successfully (149ms)
1/3/2021, 9:09:04 PM +782ms
+1ms ╔Received event [Dishwasher].power = 21.411 with a delay of 81ms
+81ms ║RunTime Analysis CS > 20ms > PS > 6ms > PE > 54ms > CE
+84ms ║Runtime (47914 bytes) successfully initialized in 6ms (v0.3.110.20191009) (81ms)
+84ms ║╔Execution stage started
+94ms ║║Comparison (decimal) 21.411 stays_less_than (integer) 5 = false (1ms)
+96ms ║║Cancelling any timed trigger schedules for condition 59
+97ms ║║Cancelling statement #59’s schedules…
+98ms ║║Condition #59 evaluated false (8ms)
+99ms ║║Condition group #56 evaluated false (state did not change) (11ms)
+105ms ║║Comparison (decimal) 21.411 stays_greater_than (integer) 5 = true (1ms)
+107ms ║║Adding a timed trigger schedule for condition 2
+109ms ║║Condition #2 evaluated false (8ms)
+110ms ║║Condition group #1 evaluated false (state did not change) (9ms)
+117ms ║║Comparison (decimal) 21.411 stays_less_than (integer) 2 = false (1ms)
+118ms ║║Cancelling any timed trigger schedules for condition 15
+119ms ║║Cancelling statement #15’s schedules…
+120ms ║║Condition #15 evaluated false (8ms)
+121ms ║║Condition group #14 evaluated false (state did not change) (9ms)
+131ms ║║Condition #27 evaluated false (7ms)
+132ms ║║Condition group #26 evaluated false (state did not change) (8ms)
+134ms ║╚Execution stage complete. (50ms)
+136ms ║Setting up scheduled job for Sun, Jan 3 2021 @ 9:11:26 PM EST (in 141.745s), with 1 more job pending
+147ms ╚Event processed successfully (147ms)
1/3/2021, 9:09:03 PM +765ms
+1ms ╔Received event [Dishwasher].power = 1.882 with a delay of 62ms
+78ms ║RunTime Analysis CS > 13ms > PS > 6ms > PE > 59ms > CE
+81ms ║Runtime (47912 bytes) successfully initialized in 6ms (v0.3.110.20191009) (79ms)
+82ms ║╔Execution stage started
+92ms ║║Comparison (decimal) 1.882 stays_less_than (integer) 5 = true (2ms)
+94ms ║║Adding a timed trigger schedule for condition 59
+96ms ║║Condition #59 evaluated false (8ms)
+97ms ║║Condition group #56 evaluated false (state did not change) (11ms)
+104ms ║║Comparison (decimal) 1.882 stays_greater_than (integer) 5 = false (1ms)
+106ms ║║Cancelling any timed trigger schedules for condition 2
+106ms ║║Cancelling statement #2’s schedules…
+107ms ║║Condition #2 evaluated false (8ms)
+108ms ║║Condition group #1 evaluated false (state did not change) (9ms)
+114ms ║║Comparison (decimal) 1.882 stays_less_than (integer) 2 = true (1ms)
+116ms ║║Adding a timed trigger schedule for condition 15
+118ms ║║Condition #15 evaluated false (7ms)
+119ms ║║Condition group #14 evaluated false (state did not change) (9ms)
+128ms ║║Condition #27 evaluated false (7ms)
+129ms ║║Condition group #26 evaluated false (state did not change) (8ms)
+132ms ║╚Execution stage complete. (49ms)
+133ms ║Setting up scheduled job for Sun, Jan 3 2021 @ 9:09:33 PM EST (in 29.962s), with 2 more jobs pending
+144ms ╚Event processed successfully (144ms)
1/3/2021, 9:08:55 PM +815ms
+1ms ╔Received event [Dishwasher].power = 5.07 with a delay of 71ms
+74ms ║RunTime Analysis CS > 15ms > PS > 6ms > PE > 54ms > CE
+77ms ║Runtime (47913 bytes) successfully initialized in 6ms (v0.3.110.20191009) (76ms)
+78ms ║╔Execution stage started
+88ms ║║Comparison (decimal) 5.07 stays_less_than (integer) 5 = false (1ms)
+90ms ║║Cancelling any timed trigger schedules for condition 59
+91ms ║║Cancelling statement #59’s schedules…
+92ms ║║Condition #59 evaluated false (7ms)
+93ms ║║Condition group #56 evaluated false (state did not change) (10ms)
+99ms ║║Comparison (decimal) 5.07 stays_greater_than (integer) 5 = true (2ms)
+101ms ║║Condition #2 evaluated false (6ms)
+102ms ║║Condition group #1 evaluated false (state did not change) (7ms)
+108ms ║║Comparison (decimal) 5.07 stays_less_than (integer) 2 = false (1ms)
+110ms ║║Cancelling any timed trigger schedules for condition 15
+111ms ║║Cancelling statement #15’s schedules…
+112ms ║║Condition #15 evaluated false (7ms)
+113ms ║║Condition group #14 evaluated false (state did not change) (8ms)
+121ms ║║Condition #27 evaluated false (6ms)
+122ms ║║Condition group #26 evaluated false (state did not change) (7ms)
+125ms ║╚Execution stage complete. (47ms)
+127ms ║Setting up scheduled job for Sun, Jan 3 2021 @ 9:11:26 PM EST (in 150.721s), with 1 more job pending
+137ms ╚Event processed successfully (137ms)
1/3/2021, 9:08:48 PM +768ms
+1ms ╔Received event [Dishwasher].power = 11.463 with a delay of 65ms
+75ms ║RunTime Analysis CS > 18ms > PS > 5ms > PE > 52ms > CE
+78ms ║Runtime (47915 bytes) successfully initialized in 5ms (v0.3.110.20191009) (76ms)
+79ms ║╔Execution stage started
+89ms ║║Comparison (decimal) 11.463 stays_less_than (integer) 5 = false (1ms)
+91ms ║║Cancelling any timed trigger schedules for condition 59
+92ms ║║Cancelling statement #59’s schedules…
+93ms ║║Condition #59 evaluated false (8ms)
+94ms ║║Condition group #56 evaluated false (state did not change) (11ms)
+100ms ║║Comparison (decimal) 11.463 stays_greater_than (integer) 5 = true (1ms)
+103ms ║║Condition #2 evaluated false (6ms)
+103ms ║║Condition group #1 evaluated false (state did not change) (7ms)
+110ms ║║Comparison (decimal) 11.463 stays_less_than (integer) 2 = false (2ms)
+112ms ║║Cancelling any timed trigger schedules for condition 15
+112ms ║║Cancelling statement #15’s schedules…
+113ms ║║Condition #15 evaluated false (7ms)
+114ms ║║Condition group #14 evaluated false (state did not change) (9ms)
+124ms ║║Condition #27 evaluated false (7ms)
+125ms ║║Condition group #26 evaluated false (state did not change) (9ms)
+128ms ║╚Execution stage complete. (49ms)
+130ms ║Setting up scheduled job for Sun, Jan 3 2021 @ 9:11:26 PM EST (in 157.765s), with 1 more job pending
+140ms ╚Event processed successfully (140ms)
1/3/2021, 9:08:46 PM +798ms
+1ms ╔Received event [Dishwasher].power = 12.278 with a delay of 64ms
+77ms ║RunTime Analysis CS > 16ms > PS > 6ms > PE > 54ms > CE
+79ms ║Runtime (47915 bytes) successfully initialized in 6ms (v0.3.110.20191009) (77ms)
+80ms ║╔Execution stage started
+90ms ║║Comparison (decimal) 12.278 stays_less_than (integer) 5 = false (1ms)
+92ms ║║Cancelling any timed trigger schedules for condition 59
+92ms ║║Cancelling statement #59’s schedules…
+93ms ║║Condition #59 evaluated false (7ms)
+94ms ║║Condition group #56 evaluated false (state did not change) (10ms)
+100ms ║║Comparison (decimal) 12.278 stays_greater_than (integer) 5 = true (1ms)
+102ms ║║Condition #2 evaluated false (6ms)
+103ms ║║Condition group #1 evaluated false (state did not change) (7ms)
+109ms ║║Comparison (decimal) 12.278 stays_less_than (integer) 2 = false (1ms)
+111ms ║║Cancelling any timed trigger schedules for condition 15
+112ms ║║Cancelling statement #15’s schedules…
+113ms ║║Condition #15 evaluated false (7ms)
+113ms ║║Condition group #14 evaluated false (state did not change) (8ms)
+122ms ║║Condition #27 evaluated false (6ms)
+123ms ║║Condition group #26 evaluated false (state did not change) (8ms)
+125ms ║╚Execution stage complete. (45ms)
+127ms ║Setting up scheduled job for Sun, Jan 3 2021 @ 9:11:26 PM EST (in 159.738s), with 1 more job pending
+137ms ╚Event processed successfully (136ms)
1/3/2021, 9:08:44 PM +816ms
+1ms ╔Received event [Dishwasher].power = 14.975 with a delay of 113ms
+80ms ║RunTime Analysis CS > 19ms > PS > 7ms > PE > 54ms > CE
+83ms ║Runtime (47916 bytes) successfully initialized in 7ms (v0.3.110.20191009) (80ms)
+84ms ║╔Execution stage started
+94ms ║║Comparison (decimal) 14.975 stays_less_than (integer) 5 = false (2ms)
+96ms ║║Cancelling any timed trigger schedules for condition 59
+97ms ║║Cancelling statement #59’s schedules…
+98ms ║║Condition #59 evaluated false (7ms)
+99ms ║║Condition group #56 evaluated false (state did not change) (11ms)
+105ms ║║Comparison (decimal) 14.975 stays_greater_than (integer) 5 = true (1ms)
+108ms ║║Condition #2 evaluated false (6ms)
+108ms ║║Condition group #1 evaluated false (state did not change) (7ms)
+115ms ║║Comparison (decimal) 14.975 stays_less_than (integer) 2 = false (2ms)
+117ms ║║Cancelling any timed trigger schedules for condition 15
+118ms ║║Cancelling statement #15’s schedules…
+118ms ║║Condition #15 evaluated false (7ms)
+119ms ║║Condition group #14 evaluated false (state did not change) (8ms)
+128ms ║║Condition #27 evaluated false (6ms)
+129ms ║║Condition group #26 evaluated false (state did not change) (8ms)
+132ms ║╚Execution stage complete. (49ms)
+134ms ║Setting up scheduled job for Sun, Jan 3 2021 @ 9:11:26 PM EST (in 161.713s), with 1 more job pending
+144ms ╚Event processed successfully (143ms)
1/3/2021, 9:08:43 PM +763ms
+1ms ╔Received event [Dishwasher].power = 11.884 with a delay of 59ms
+70ms ║RunTime Analysis CS > 13ms > PS > 6ms > PE > 50ms > CE
+72ms ║Runtime (47915 bytes) successfully initialized in 6ms (v0.3.110.20191009) (70ms)
+73ms ║╔Execution stage started
+83ms ║║Comparison (decimal) 11.884 stays_less_than (integer) 5 = false (1ms)
+85ms ║║Cancelling any timed trigger schedules for condition 59
+86ms ║║Cancelling statement #59’s schedules…
+87ms ║║Condition #59 evaluated false (8ms)
+88ms ║║Condition group #56 evaluated false (state did not change) (11ms)
+94ms ║║Comparison (decimal) 11.884 stays_greater_than (integer) 5 = true (1ms)
+97ms ║║Condition #2 evaluated false (6ms)
+98ms ║║Condition group #1 evaluated false (state did not change) (7ms)
+104ms ║║Comparison (decimal) 11.884 stays_less_than (integer) 2 = false (1ms)
+106ms ║║Cancelling any timed trigger schedules for condition 15
+107ms ║║Cancelling statement #15’s schedules…
+108ms ║║Condition #15 evaluated false (7ms)
+109ms ║║Condition group #14 evaluated false (state did not change) (8ms)
+118ms ║║Condition #27 evaluated false (7ms)
+119ms ║║Condition group #26 evaluated false (state did not change) (8ms)
+121ms ║╚Execution stage complete. (48ms)
+123ms ║Setting up scheduled job for Sun, Jan 3 2021 @ 9:11:26 PM EST (in 162.777s), with 1 more job pending
+132ms ╚Event processed successfully (132ms)
1/3/2021, 9:08:30 PM +779ms
+1ms ╔Received event [Dishwasher].power = 38.668 with a delay of 78ms
+81ms ║RunTime Analysis CS > 17ms > PS > 7ms > PE > 57ms > CE
+84ms ║Runtime (47915 bytes) successfully initialized in 7ms (v0.3.110.20191009) (82ms)
+85ms ║╔Execution stage started
+96ms ║║Comparison (decimal) 38.668 stays_less_than (integer) 5 = false (2ms)
+98ms ║║Cancelling any timed trigger schedules for condition 59
+99ms ║║Cancelling statement #59’s schedules…
+100ms ║║Condition #59 evaluated false (8ms)
+101ms ║║Condition group #56 evaluated false (state did not change) (12ms)
+108ms ║║Comparison (decimal) 38.668 stays_greater_than (integer) 5 = true (2ms)
+110ms ║║Condition #2 evaluated false (6ms)
+111ms ║║Condition group #1 evaluated false (state did not change) (8ms)
+118ms ║║Comparison (decimal) 38.668 stays_less_than (integer) 2 = false (2ms)
+120ms ║║Cancelling any timed trigger schedules for condition 15
+121ms ║║Cancelling statement #15’s schedules…
+122ms ║║Condition #15 evaluated false (7ms)
+123ms ║║Condition group #14 evaluated false (state did not change) (10ms)
+133ms ║║Condition #27 evaluated false (8ms)
+135ms ║║Condition group #26 evaluated false (state did not change) (9ms)
+137ms ║╚Execution stage complete. (52ms)
+139ms ║Setting up scheduled job for Sun, Jan 3 2021 @ 9:11:26 PM EST (in 175.744s), with 1 more job pending
+149ms ╚Event processed successfully (149ms)
1/3/2021, 9:08:28 PM +781ms
+1ms ╔Received event [Dishwasher].power = 35.146 with a delay of 65ms
+179ms ║RunTime Analysis CS > 18ms > PS > 6ms > PE > 155ms > CE
+182ms ║Runtime (47917 bytes) successfully initialized in 6ms (v0.3.110.20191009) (181ms)
+183ms ║╔Execution stage started
+194ms ║║Comparison (decimal) 35.146 stays_less_than (integer) 5 = false (2ms)
+196ms ║║Cancelling any timed trigger schedules for condition 59
+197ms ║║Cancelling statement #59’s schedules…
+198ms ║║Condition #59 evaluated false (8ms)
+199ms ║║Condition group #56 evaluated false (state did not change) (12ms)
+206ms ║║Comparison (decimal) 35.146 stays_greater_than (integer) 5 = true (1ms)
+208ms ║║Condition #2 evaluated false (7ms)
+209ms ║║Condition group #1 evaluated false (state did not change) (8ms)
+216ms ║║Comparison (decimal) 35.146 stays_less_than (integer) 2 = false (2ms)
+218ms ║║Cancelling any timed trigger schedules for condition 15
+219ms ║║Cancelling statement #15’s schedules…
+220ms ║║Condition #15 evaluated false (9ms)
+221ms ║║Condition group #14 evaluated false (state did not change) (10ms)
+231ms ║║Condition #27 evaluated false (8ms)
+232ms ║║Condition group #26 evaluated false (state did not change) (9ms)
+235ms ║╚Execution stage complete. (52ms)
+237ms ║Setting up scheduled job for Sun, Jan 3 2021 @ 9:11:26 PM EST (in 177.645s), with 1 more job pending
+247ms ╚Event processed successfully (247ms)
1/3/2021, 9:08:27 PM +761ms
+1ms ╔Received event [Dishwasher].power = 22.528 with a delay of 60ms
+75ms ║RunTime Analysis CS > 15ms > PS > 6ms > PE > 55ms > CE
+78ms ║Runtime (47914 bytes) successfully initialized in 6ms (v0.3.110.20191009) (76ms)
+79ms ║╔Execution stage started
+89ms ║║Comparison (decimal) 22.528 stays_less_than (integer) 5 = false (1ms)
+91ms ║║Cancelling any timed trigger schedules for condition 59
+92ms ║║Cancelling statement #59’s schedules…
+93ms ║║Condition #59 evaluated false (7ms)
+94ms ║║Condition group #56 evaluated false (state did not change) (10ms)
+100ms ║║Comparison (decimal) 22.528 stays_greater_than (integer) 5 = true (2ms)
+102ms ║║Condition #2 evaluated false (6ms)
+103ms ║║Condition group #1 evaluated false (state did not change) (6ms)
+109ms ║║Comparison (decimal) 22.528 stays_less_than (integer) 2 = false (2ms)
+111ms ║║Cancelling any timed trigger schedules for condition 15
+111ms ║║Cancelling statement #15’s schedules…
+112ms ║║Condition #15 evaluated false (7ms)
+113ms ║║Condition group #14 evaluated false (state did not change) (8ms)
+123ms ║║Condition #27 evaluated false (7ms)
+124ms ║║Condition group #26 evaluated false (state did not change) (8ms)
+126ms ║╚Execution stage complete. (48ms)
+128ms ║Setting up scheduled job for Sun, Jan 3 2021 @ 9:11:26 PM EST (in 178.774s), with 1 more job pending
+138ms ╚Event processed successfully (138ms)
1/3/2021, 9:08:24 PM +771ms
+1ms ╔Received event [Dishwasher].power = 20.24 with a delay of 63ms
+76ms ║RunTime Analysis CS > 15ms > PS > 6ms > PE > 55ms > CE
+79ms ║Runtime (47913 bytes) successfully initialized in 6ms (v0.3.110.20191009) (77ms)
+80ms ║╔Execution stage started
+91ms ║║Comparison (decimal) 20.24 stays_less_than (integer) 5 = false (2ms)
+93ms ║║Cancelling any timed trigger schedules for condition 59
+94ms ║║Cancelling statement #59’s schedules…
+95ms ║║Condition #59 evaluated false (9ms)
+96ms ║║Condition group #56 evaluated false (state did not change) (12ms)
+103ms ║║Comparison (decimal) 20.24 stays_greater_than (integer) 5 = true (1ms)
+106ms ║║Adding a timed trigger schedule for condition 2
+108ms ║║Condition #2 evaluated false (9ms)
+109ms ║║Condition group #1 evaluated false (state did not change) (11ms)
+116ms ║║Comparison (decimal) 20.24 stays_less_than (integer) 2 = false (1ms)
+119ms ║║Cancelling any timed trigger schedules for condition 15
+120ms ║║Cancelling statement #15’s schedules…
+121ms ║║Condition #15 evaluated false (8ms)
+122ms ║║Condition group #14 evaluated false (state did not change) (9ms)
+132ms ║║Condition #27 evaluated false (8ms)
+133ms ║║Condition group #26 evaluated false (state did not change) (9ms)
+136ms ║╚Execution stage complete. (57ms)
+138ms ║Setting up scheduled job for Sun, Jan 3 2021 @ 9:11:26 PM EST (in 181.754s), with 1 more job pending
+148ms ╚Event processed successfully (148ms)
1/3/2021, 9:08:18 PM +770ms
+1ms ╔Received event [Dishwasher].power = 1.821 with a delay of 68ms
+76ms ║RunTime Analysis CS > 19ms > PS > 6ms > PE > 51ms > CE
+79ms ║Runtime (47912 bytes) successfully initialized in 6ms (v0.3.110.20191009) (77ms)
+80ms ║╔Execution stage started
+90ms ║║Comparison (decimal) 1.821 stays_less_than (integer) 5 = true (1ms)
+92ms ║║Adding a timed trigger schedule for condition 59
+94ms ║║Condition #59 evaluated false (8ms)
+95ms ║║Cancelling condition #56’s schedules…
+96ms ║║Condition group #56 evaluated false (state changed) (12ms)
+102ms ║║Comparison (decimal) 1.821 stays_greater_than (integer) 5 = false (1ms)
+104ms ║║Cancelling any timed trigger schedules for condition 2
+105ms ║║Cancelling statement #2’s schedules…
+106ms ║║Condition #2 evaluated false (8ms)
+107ms ║║Condition group #1 evaluated false (state did not change) (9ms)
+113ms ║║Comparison (decimal) 1.821 stays_less_than (integer) 2 = true (1ms)
+115ms ║║Condition #15 evaluated false (6ms)
+116ms ║║Condition group #14 evaluated false (state did not change) (7ms)
+125ms ║║Condition #27 evaluated false (7ms)
+126ms ║║Condition group #26 evaluated false (state did not change) (8ms)
+129ms ║╚Execution stage complete. (49ms)
+131ms ║Setting up scheduled job for Sun, Jan 3 2021 @ 9:08:48 PM EST (in 29.963s), with 2 more jobs pending
+141ms ╚Event processed successfully (141ms)
1/3/2021, 9:08:17 PM +78ms
+0ms ╔Received event [Kalinoski Home].time = 1609726098873 with a delay of -1796ms
+81ms ║RunTime Analysis CS > 22ms > PS > 6ms > PE > 54ms > CE
+84ms ║Runtime (47928 bytes) successfully initialized in 6ms (v0.3.110.20191009) (83ms)
+85ms ║╔Execution stage started
+93ms ║║Cancelling condition #58’s schedules…
+94ms ║║Cancelling condition #56’s schedules…
+112ms ║╚Execution stage complete. (27ms)
+113ms ║Setting up scheduled job for Sun, Jan 3 2021 @ 9:11:26 PM EST (in 189.471s), with 1 more job pending
+120ms ╚Event processed successfully (120ms)
1/3/2021, 9:07:50 PM +776ms
+2ms ╔Received event [Dishwasher].power = 1.828 with a delay of 73ms
+78ms ║RunTime Analysis CS > 20ms > PS > 6ms > PE > 51ms > CE
+80ms ║Runtime (47914 bytes) successfully initialized in 6ms (v0.3.110.20191009) (78ms)
+81ms ║╔Execution stage started
+92ms ║║Comparison (decimal) 1.828 stays_less_than (integer) 5 = true (1ms)
+94ms ║║Condition #59 evaluated false (6ms)
+95ms ║║Condition group #56 evaluated false (state did not change) (9ms)
+101ms ║║Comparison (decimal) 1.828 stays_greater_than (integer) 5 = false (2ms)
+103ms ║║Cancelling any timed trigger schedules for condition 2
+104ms ║║Cancelling statement #2’s schedules…
+104ms ║║Condition #2 evaluated false (7ms)
+105ms ║║Condition group #1 evaluated false (state did not change) (8ms)
+112ms ║║Comparison (decimal) 1.828 stays_less_than (integer) 2 = true (2ms)
+114ms ║║Adding a timed trigger schedule for condition 15
+116ms ║║Condition #15 evaluated false (8ms)
+117ms ║║Condition group #14 evaluated false (state did not change) (10ms)
+126ms ║║Condition #27 evaluated false (7ms)
+127ms ║║Condition group #26 evaluated false (state did not change) (8ms)
+130ms ║╚Execution stage complete. (49ms)
+132ms ║Setting up scheduled job for Sun, Jan 3 2021 @ 9:08:18 PM EST (in 27.966s), with 2 more jobs pending
+142ms ╚Event processed successfully (142ms)
1/3/2021, 9:07:48 PM +776ms
+1ms ╔Received event [Dishwasher].power = 4.004 with a delay of 71ms
+80ms ║RunTime Analysis CS > 16ms > PS > 6ms > PE > 58ms > CE
+83ms ║Runtime (47914 bytes) successfully initialized in 6ms (v0.3.110.20191009) (81ms)
+84ms ║╔Execution stage started
+94ms ║║Comparison (decimal) 4.004 stays_less_than (integer) 5 = true (1ms)
+96ms ║║Adding a timed trigger schedule for condition 59
+99ms ║║Condition #59 evaluated false (9ms)
+100ms ║║Condition group #56 evaluated false (state did not change) (13ms)
+107ms ║║Comparison (decimal) 4.004 stays_greater_than (integer) 5 = false (2ms)
+109ms ║║Cancelling any timed trigger schedules for condition 2
+110ms ║║Cancelling statement #2’s schedules…
+110ms ║║Condition #2 evaluated false (8ms)
+111ms ║║Condition group #1 evaluated false (state did not change) (9ms)
+118ms ║║Comparison (decimal) 4.004 stays_less_than (integer) 2 = false (1ms)
+120ms ║║Cancelling any timed trigger schedules for condition 15
+121ms ║║Cancelling statement #15’s schedules…
+122ms ║║Condition #15 evaluated false (7ms)
+123ms ║║Condition group #14 evaluated false (state did not change) (8ms)
+132ms ║║Condition #27 evaluated false (7ms)
+133ms ║║Condition group #26 evaluated false (state did not change) (8ms)


#4

Do you have a graphana chart of the entire cycle? Do you know how many watts each cycle uses, and roughly how long they last?


#5

I’d recommend logging usage for the whole cycle (as suggested by ian_boje) every dishwasher and maybe cycle can be different. I logged power to a google spreadsheet, you probably need a logarithmic scale as you are interested in changes between a few watts and 3000+ watts.

My dishwasher has a period mid cycle when it draws “off” levels of power. I’ve attached my piston below, which works well for my particular machine.


#6

Here is a log of the rinse cycle.

Date/Time Device Event Name Event Value Description Date Hour
01/04/2021 15:08:48 Dishwasher power 0.857 0.857 W 01/04/2021 15 Standby
01/04/2021 15:09:18 Dishwasher power 0.837 0.837 W 01/04/2021 15 Standby
01/04/2021 15:09:48 Dishwasher power 0.868 0.868 W 01/04/2021 15 Standby
01/04/2021 15:10:12 Dishwasher power 6.729 6.729 W 01/04/2021 15 Rinse
01/04/2021 15:10:14 Dishwasher power 10.446 10.446 W 01/04/2021 15 Rinse
01/04/2021 15:10:15 Dishwasher power 23.132 23.132 W 01/04/2021 15 Rinse
01/04/2021 15:10:17 Dishwasher power 20.561 20.561 W 01/04/2021 15 Rinse
01/04/2021 15:10:18 Dishwasher power 20.4 20.4 W 01/04/2021 15 Rinse
01/04/2021 15:10:20 Dishwasher power 17.044 17.044 W 01/04/2021 15 Rinse
01/04/2021 15:10:27 Dishwasher power 12.455 12.455 W 01/04/2021 15 Rinse
01/04/2021 15:10:34 Dishwasher power 5.595 5.595 W 01/04/2021 15 Rinse
01/04/2021 15:10:38 Dishwasher power 11.723 11.723 W 01/04/2021 15 Rinse
01/04/2021 15:10:41 Dishwasher power 4.092 4.092 W 01/04/2021 15 Rinse
01/04/2021 15:10:43 Dishwasher power 2.044 2.044 W 01/04/2021 15 Rinse
01/04/2021 15:10:44 Dishwasher power 5.694 5.694 W 01/04/2021 15 Rinse
01/04/2021 15:10:45 Dishwasher power 20.726 20.726 W 01/04/2021 15 Rinse
01/04/2021 15:10:46 Dishwasher power 6.558 6.558 W 01/04/2021 15 Rinse
01/04/2021 15:10:47 Dishwasher power 11.884 11.884 W 01/04/2021 15 Rinse
01/04/2021 15:10:49 Dishwasher power 12.455 12.455 W 01/04/2021 15 Rinse
01/04/2021 15:10:49 Dishwasher power 5.822 5.822 W 01/04/2021 15 Rinse
01/04/2021 15:11:01 Dishwasher power 8.384 8.384 W 01/04/2021 15 Rinse
01/04/2021 15:11:16 Dishwasher power 6.381 6.381 W 01/04/2021 15 Rinse
01/04/2021 15:11:18 Dishwasher power 6.412 6.412 W 01/04/2021 15 Rinse
01/04/2021 15:11:48 Dishwasher power 10.885 10.885 W 01/04/2021 15 Rinse
01/04/2021 15:11:51 Dishwasher power 5.488 5.488 W 01/04/2021 15 Rinse
01/04/2021 15:11:53 Dishwasher power 3.296 3.296 W 01/04/2021 15 Rinse
01/04/2021 15:11:56 Dishwasher power 20.561 20.561 W 01/04/2021 15 Rinse
01/04/2021 15:11:57 Dishwasher power 13.286 13.286 W 01/04/2021 15 Rinse
01/04/2021 15:12:00 Dishwasher power 11.024 11.024 W 01/04/2021 15 Rinse
01/04/2021 15:12:03 Dishwasher power 7.298 7.298 W 01/04/2021 15 Rinse
01/04/2021 15:12:05 Dishwasher power 9.888 9.888 W 01/04/2021 15 Rinse
01/04/2021 15:12:09 Dishwasher power 6.592 6.592 W 01/04/2021 15 Rinse
01/04/2021 15:12:10 Dishwasher power 9.027 9.027 W 01/04/2021 15 Rinse
01/04/2021 15:12:13 Dishwasher power 16.714 16.714 W 01/04/2021 15 Rinse
01/04/2021 15:12:14 Dishwasher power 13.286 13.286 W 01/04/2021 15 Rinse
01/04/2021 15:12:15 Dishwasher power 18.505 18.505 W 01/04/2021 15 Rinse
01/04/2021 15:12:16 Dishwasher power 12.396 12.396 W 01/04/2021 15 Rinse
01/04/2021 15:12:17 Dishwasher power 15.992 15.992 W 01/04/2021 15 Rinse
01/04/2021 15:12:18 Dishwasher power 15.15 15.15 W 01/04/2021 15 Rinse
01/04/2021 15:12:22 Dishwasher power 12.762 12.762 W 01/04/2021 15 Rinse
01/04/2021 15:12:22 Dishwasher power 18.245 18.245 W 01/04/2021 15 Rinse
01/04/2021 15:12:23 Dishwasher power 16.823 16.823 W 01/04/2021 15 Rinse
01/04/2021 15:12:24 Dishwasher power 10.041 10.041 W 01/04/2021 15 Rinse
01/04/2021 15:12:25 Dishwasher power 5.386 5.386 W 01/04/2021 15 Rinse
01/04/2021 15:12:40 Dishwasher power 7.423 7.423 W 01/04/2021 15 Rinse
01/04/2021 15:12:48 Dishwasher power 7.444 7.444 W 01/04/2021 15 Rinse
01/04/2021 15:13:18 Dishwasher power 5.408 5.408 W 01/04/2021 15 Rinse
01/04/2021 15:13:21 Dishwasher power 11.83 11.83 W 01/04/2021 15 Rinse
01/04/2021 15:13:26 Dishwasher power 3.377 3.377 W 01/04/2021 15 Rinse
01/04/2021 15:13:28 Dishwasher power 20.24 20.24 W 01/04/2021 15 Rinse
01/04/2021 15:13:29 Dishwasher power 17.505 17.505 W 01/04/2021 15 Rinse
01/04/2021 15:13:30 Dishwasher power 11.566 11.566 W 01/04/2021 15 Rinse
01/04/2021 15:13:32 Dishwasher power 16.607 16.607 W 01/04/2021 15 Rinse
01/04/2021 15:13:33 Dishwasher power 13.564 13.564 W 01/04/2021 15 Rinse
01/04/2021 15:13:45 Dishwasher power 22.726 22.726 W 01/04/2021 15 Rinse
01/04/2021 15:13:46 Dishwasher power 38.439 38.439 W 01/04/2021 15 Rinse
01/04/2021 15:13:47 Dishwasher power 47.931 47.931 W 01/04/2021 15 Rinse
01/04/2021 15:13:48 Dishwasher power 47.699 47.699 W 01/04/2021 15 Rinse
01/04/2021 15:13:58 Dishwasher power 52.516 52.516 W 01/04/2021 15 Rinse
01/04/2021 15:14:18 Dishwasher power 52.873 52.873 W 01/04/2021 15 Rinse
01/04/2021 15:14:31 Dishwasher power 58.592 58.592 W 01/04/2021 15 Rinse
01/04/2021 15:14:49 Dishwasher power 58.306 58.306 W 01/04/2021 15 Rinse
01/04/2021 15:15:48 Dishwasher power 58.192 58.192 W 01/04/2021 15 Rinse
01/04/2021 15:16:18 Dishwasher power 58.363 58.363 W 01/04/2021 15 Rinse
01/04/2021 15:16:30 Dishwasher power 19.191 19.191 W 01/04/2021 15 Rinse
01/04/2021 15:16:31 Dishwasher power 21.236 21.236 W 01/04/2021 15 Rinse
01/04/2021 15:16:33 Dishwasher power 25.153 25.153 W 01/04/2021 15 Rinse
01/04/2021 15:16:35 Dishwasher power 38.823 38.823 W 01/04/2021 15 Rinse
01/04/2021 15:16:36 Dishwasher power 68.716 68.716 W 01/04/2021 15 Rinse
01/04/2021 15:16:48 Dishwasher power 70.98 70.98 W 01/04/2021 15 Rinse
01/04/2021 15:17:18 Dishwasher power 70.912 70.912 W 01/04/2021 15 Rinse
01/04/2021 15:17:48 Dishwasher power 70.98 70.98 W 01/04/2021 15 Rinse
01/04/2021 15:18:18 Dishwasher power 71.05 71.05 W 01/04/2021 15 Rinse
01/04/2021 15:18:34 Dishwasher power 43.868 43.868 W 01/04/2021 15 Rinse
01/04/2021 15:18:35 Dishwasher power 22.726 22.726 W 01/04/2021 15 Rinse
01/04/2021 15:18:39 Dishwasher power 27.271 27.271 W 01/04/2021 15 Rinse
01/04/2021 15:18:40 Dishwasher power 24.441 24.441 W 01/04/2021 15 Rinse
01/04/2021 15:18:42 Dishwasher power 43.138 43.138 W 01/04/2021 15 Rinse
01/04/2021 15:18:43 Dishwasher power 60.019 60.019 W 01/04/2021 15 Rinse
01/04/2021 15:18:48 Dishwasher power 60.076 60.076 W 01/04/2021 15 Rinse
01/04/2021 15:19:18 Dishwasher power 58.824 58.824 W 01/04/2021 15 Rinse
01/04/2021 15:19:48 Dishwasher power 58.766 58.766 W 01/04/2021 15 Rinse
01/04/2021 15:20:18 Dishwasher power 58.708 58.708 W 01/04/2021 15 Rinse
01/04/2021 15:20:26 Dishwasher power 10.041 10.041 W 01/04/2021 15 Rinse
01/04/2021 15:20:27 Dishwasher power 5.341 5.341 W 01/04/2021 15 Rinse
01/04/2021 15:20:37 Dishwasher power 1.882 1.882 W 01/04/2021 15 Rinse
01/04/2021 15:20:48 Dishwasher power 1.851 1.851 W 01/04/2021 15 Rinse
01/04/2021 15:21:13 Dishwasher power 17.157 17.157 W 01/04/2021 15 Rinse
01/04/2021 15:21:13 Dishwasher power 20.083 20.083 W 01/04/2021 15 Rinse
01/04/2021 15:21:14 Dishwasher power 10.661 10.661 W 01/04/2021 15 Rinse
01/04/2021 15:21:15 Dishwasher power 22.528 22.528 W 01/04/2021 15 Rinse
01/04/2021 15:21:16 Dishwasher power 35.386 35.386 W 01/04/2021 15 Rinse
01/04/2021 15:21:18 Dishwasher power 38.862 38.862 W 01/04/2021 15 Rinse
01/04/2021 15:21:30 Dishwasher power 18.638 18.638 W 01/04/2021 15 Rinse
01/04/2021 15:21:31 Dishwasher power 15.33 15.33 W 01/04/2021 15 Rinse
01/04/2021 15:21:32 Dishwasher power 13.084 13.084 W 01/04/2021 15 Rinse
01/04/2021 15:21:39 Dishwasher power 7.898 7.898 W 01/04/2021 15 Rinse
01/04/2021 15:21:40 Dishwasher power 12.337 12.337 W 01/04/2021 15 Rinse
01/04/2021 15:21:42 Dishwasher power 4.668 4.668 W 01/04/2021 15 Rinse
01/04/2021 15:21:48 Dishwasher power 6.677 6.677 W 01/04/2021 15 Rinse
01/04/2021 15:21:51 Dishwasher power 8.933 8.933 W 01/04/2021 15 Rinse
01/04/2021 15:21:52 Dishwasher power 21.236 21.236 W 01/04/2021 15 Rinse
01/04/2021 15:21:54 Dishwasher power 11.83 11.83 W 01/04/2021 15 Rinse
01/04/2021 15:22:03 Dishwasher power 6.609 6.609 W 01/04/2021 15 Rinse
01/04/2021 15:22:10 Dishwasher power 2.048 2.048 W 01/04/2021 15 Rinse
01/04/2021 15:22:48 Dishwasher power 0.827 0.827 W 01/04/2021 15 Standby
01/04/2021 15:23:18 Dishwasher power 0.831 0.831 W 01/04/2021 15 Standby
01/04/2021 15:23:48 Dishwasher power 0.84 0.84 W 01/04/2021 15 Standby


#7

Paul,

A few questions about your piston?

  1. What is the purpose of midcount? what does it do for you?

  2. @dishwashernotify is a global variable? What are you doing with that when it is set to true?

  3. What is switch 2? What are you turning on when the dishwasher, outlet 1, starts running?

  4. If your dishwasher runs less than 6 minutes, you are increasing the mid-count from 0 to 1? What does this do for you?

  5. What is Dishwasher power cut?

I really appreciate any clarification you can provide.


#8

On my machine I connected a dry contact sensor (some door sensors have terminals for wires) to the LED that shines on the floor whilst a cycle is running (with a dumb relay in the middle). When the cycle finishes, the LED turns off and I get an instant notification.

May I ask why you are running a rinse only cycle separately, before the main wash cycle (which includes a rinse). Seems like a waste of water to me lol.


#9

We run rinse typically after breakfast or lunch, that way that dishes are sitting all day waiting to be washed at night. I think @Paul1964 is onto something. I’m interested in learning more about his piston.


#10

Hi,

There are a few things in my piston which do other tasks, which confuses it slightly.

The midcount is used as a full cycle has a point mid cycle where the power drops to standby levels for around 6 mins. So this is used to track progress through the cycle and only notify at the end. Otherwise, you’d get a cycle complete message half way through.

@dishwashernotify is used by another piston, which sends the finished message when you go into the kitchen to remind you to empty the dishwasher.

switch2 is a virtual switch, its only purpose is to show on the ST app that the dishwasher is running a cycle.

The dishwasher powercut logic is used as a reset for the piston. Very occasionally the piston will fail to report completion, leaving the virtual switch on and the mid variable set incorrectly. This just lets me easily reset everything.


#11

I haven’t ploughed through either the piston or the log. I was going to caution you to treat the ‘was’ comparison with suspicion as a number of users have experienced odd results from it since ST messed around with event history a few weeks back. You seem to have removed it though.

I will also point out that stays conditions have some interesting behaviour that can get in your way. If the comparison in the stays is true the piston will set a timer for the specified duration. If the comparison remains true, when the piston wakes up it will start a new piston instance that will continue as if stays had returned true. However that is a background behaviour, as it were. In the meantime the piston will immediately return false in the current instance and continue on its way. So don’t expect a stays to cause the piston to wait and see what happens before continuing the piston.


#12

Got it working. Thanks for your help everyone!

The first if statement sets the run state to “rinse” if power rises above 5w, and thanks the ids for starting the dishwasher.

The second if statement looks for a drop in power within 20 minutes and announces that the rinse cycle is done, and sets the run state to “done”

The third if statement sets the run state to “run” if the dishwasher has been running for more than 25 minutes

the fourth if statement announces that the dishwasher is done once an hour has passed since the dishwasher finished. This gives the dishes some time to cool.

The fifth if statement will fire every 10 minutes so long as the dishwasher empty variable is still false. It will announce that the dishwasher still needs to be emptied.

Once the kids put the dishes away, the last if statement will fire when they press a nearby switch up 4 times. This changes the dishwasher empty variable to true, thereby killing the every 10 minute announcement.

Hope this helps some people. I’d be glad to answer any questions people might have.