Please help me avoid getting spammed by notifications! :)


#28

@vPeteWalker Apologies if I jump in again on your thread but @WCmore has made some quite extraordinarily definitive statements, so absolutist in their conviction, and contrary to my own, that I feel compelled to reply to them, luckily I’m not the litigious kind. :rofl:

So out of respect to you @WCmore I went to the trouble of making a video (edit-deleted) showing clearly how my above posted piston works, with the local variable {Volume_change} stays false for 5 minutes and works, even while clicking Switch 52 on/off and …

07/06/2020, 07:57:23 +192ms
+261ms	║Volume_change changed to true after 5 minutes
07/06/2020, 07:52:18 +532ms
+6349ms	║Done 9 to 1300
07/06/2020, 07:51:36 +176ms
+218ms	║Volume_change changed to true after 5 minutes
07/06/2020, 07:46:30 +39ms
+6347ms	║Done 9 to 1300

So using wait’s for local variables within pistons, like in my posted piston, or my suggestion to the OP works. Maybe we need the “Master of Disaster” to make a final pronouncement!


#29

LOL… I won’t make “extraordinarily definitive statements” without testing first…
(you will see my time stamps, but it feels silly trying to “prove” it to you)

… For the record, I never said the variable would change, I said the commands would not follow thru after the STAY… regardless of what the variable does.

Here is a simple piston, using your code…
(I normally code differently, but I wanted the test to be fair)

In this test, I flipped Switch 1, to start the piston normally. During the STAY time period, I flipped the totally unrelated Switch 2. (different device, different block of code, with nothing crossing over)

If you look closely, you will see no mentions of schedules after the :37:21 interruption.
(the second unrelated trigger was where it aborted)

I am not going to waste time showing screenshots of the other 3 scenarios, but I can assure you… Flipping either lightning bolt (Switch 1 OR Switch 2) will prevent the STAYS from following thru…

I think I will stand behind my earlier statement.


#30

:joy: Oh my goodness! I can’t actually believe it! Sticking to what we’ve been talking about (I feel introducing “similar” code, with ‘else’s’, is confusing and a distraction) and I don’t how to say this gently, but you’re wrong. And I won’t insist on an apology from you WCmore, because I understand how human relationships and even geopolitics can be destructive when people stick to certitudes of opinion, but an apology in private would not be mentioned again. :stuck_out_tongue_winking_eye:

In order for this not to go to the Supreme Court, I am openly and freely sharing the logs from my plus eighteen month piston that “doesn’t work”, where I continuously click switch 52, and the local variable stays doesn’t break.

07/06/2020, 09:32:31 +364ms
+0ms	╔Received event [Home].time = 1591515152141 with a delay of -777ms
+252ms	║Volume_change changed to true after 5 minutes
+257ms	║Volume_change changed to true after 5 minutes
+260ms	╚Event processed successfully (260ms)
07/06/2020, 09:32:21 +896ms
+1ms	╔Received event [Zzzzz MUTE MUTE].switch = off with a delay of 150ms
+256ms	║Setting up scheduled job for Sun, Jun 7 2020 @ 9:32:32 AM CEST (in 9.99s)
+347ms	╚Event processed successfully (346ms)
07/06/2020, 09:31:43 +602ms
+2ms	╔Received event [Zzzzz MUTE MUTE].switch = on with a delay of 189ms
+304ms	║Setting up scheduled job for Sun, Jun 7 2020 @ 9:32:32 AM CEST (in 48.236s)
+315ms	╚Event processed successfully (315ms)
07/06/2020, 09:30:19 +407ms
+1ms	╔Received event [Zzzzz MUTE MUTE].switch = off with a delay of 174ms
+349ms	║Setting up scheduled job for Sun, Jun 7 2020 @ 9:32:32 AM CEST (in 132.386s)
+360ms	╚Event processed successfully (360ms)
07/06/2020, 09:29:18 +231ms
+0ms	╔Received event [Zzzzz MUTE MUTE].switch = on with a delay of 112ms
+255ms	║Setting up scheduled job for Sun, Jun 7 2020 @ 9:32:32 AM CEST (in 193.655s)
+266ms	╚Event processed successfully (266ms)
07/06/2020, 09:28:44 +116ms
+1ms	╔Received event [Zzzzz MUTE MUTE].switch = off with a delay of 176ms
+391ms	║Setting up scheduled job for Sun, Jun 7 2020 @ 9:32:32 AM CEST (in 227.635s)
+401ms	╚Event processed successfully (401ms)
07/06/2020, 09:28:07 +718ms
+1ms	╔Received event [Zzzzz MUTE MUTE].switch = on with a delay of 172ms
+284ms	║Setting up scheduled job for Sun, Jun 7 2020 @ 9:32:32 AM CEST (in 264.14s)
+337ms	╚Event processed successfully (337ms)
07/06/2020, 09:27:25 +723ms
+1ms	╔Received event [Zzzzz MUTE MUTE].switch = off with a delay of 120ms
+2266ms	║Done 9 to 1300
+6382ms	║Done 9 to 1300
+6460ms	║Setting up scheduled job for Sun, Jun 7 2020 @ 9:32:32 AM CEST (in 299.959s)
+6469ms	╚Event processed successfully (6469ms)

And if even more proof was needed, in my next post I’m going recreate exactly the same piston as the OP, with my suggestion’s of course, with logs, showing it working.


#31

And here are the logs, 1 minute wait, you can see I’m pressing the trigger button repeatedly during the wait, nothing happens, and the wait correctly changes the variable to false after 1 minute.

07/06/2020, 12:56:33 +388ms
+0ms	╔Received event [Home].time = 1591527393295 with a delay of 93ms
+152ms	║false variable changed to false
+155ms	╚Event processed successfully (155ms)
07/06/2020, 12:56:08 +955ms
+1ms	╔Received event [Zzzz Remote Futon].button = pushed with a delay of 159ms
+121ms	║Setting up scheduled job for Sun, Jun 7 2020 @ 12:56:33 PM CEST (in 24.219s)
+139ms	╚Event processed successfully (138ms)
07/06/2020, 12:55:55 +212ms
+1ms	╔Received event [Zzzz Remote Futon].button = pushed with a delay of 157ms
+124ms	║Setting up scheduled job for Sun, Jun 7 2020 @ 12:56:33 PM CEST (in 37.959s)
+135ms	╚Event processed successfully (134ms)
07/06/2020, 12:55:49 +144ms
+1ms	╔Received event [Zzzz Remote Futon].button = pushed with a delay of 774ms
+186ms	║Setting up scheduled job for Sun, Jun 7 2020 @ 12:56:33 PM CEST (in 43.966s)
+200ms	╚Event processed successfully (201ms)
07/06/2020, 12:55:43 +348ms
+1ms	╔Received event [Zzzz Remote Futon].button = pushed with a delay of 117ms
+113ms	║Setting up scheduled job for Sun, Jun 7 2020 @ 12:56:33 PM CEST (in 49.835s)
+124ms	╚Event processed successfully (124ms)
07/06/2020, 12:55:33 +165ms
+1ms	╔Received event [Zzzz Remote Futon].button = pushed with a delay of 200ms
+123ms	║(Variable Test #3) Dehumidifier FULL!
+134ms	║Setting up scheduled job for Sun, Jun 7 2020 @ 12:56:33 PM CEST (in 59.997s)
+141ms	╚Event processed successfully (141ms)
07/06/2020, 12:55:27 +223ms
+0ms	╔Received event [Home].time = 1591527327175 with a delay of 47ms
+119ms	║false variable changed to false
+121ms	╚Event processed successfully (121ms)
07/06/2020, 12:55:05 +917ms
+1ms	╔Received event [Zzzz Remote Futon].button = pushed with a delay of 118ms
+107ms	║Setting up scheduled job for Sun, Jun 7 2020 @ 12:55:27 PM CEST (in 21.151s)
+119ms	╚Event processed successfully (119ms)
07/06/2020, 12:54:49 +532ms
+1ms	╔Received event [Zzzz Remote Futon].button = pushed with a delay of 114ms
+106ms	║Setting up scheduled job for Sun, Jun 7 2020 @ 12:55:27 PM CEST (in 37.537s)
+116ms	╚Event processed successfully (115ms)
07/06/2020, 12:54:43 +167ms
+1ms	╔Received event [Zzzz Remote Futon].button = pushed with a delay of 177ms
+215ms	║Setting up scheduled job for Sun, Jun 7 2020 @ 12:55:27 PM CEST (in 43.793s)
+226ms	╚Event processed successfully (226ms)
07/06/2020, 12:54:36 +358ms
+1ms	╔Received event [Zzzz Remote Futon].button = pushed with a delay of 323ms
+110ms	║Setting up scheduled job for Sun, Jun 7 2020 @ 12:55:27 PM CEST (in 50.707s)
+122ms	╚Event processed successfully (122ms)
07/06/2020, 12:54:27 +42ms
+1ms	╔Received event [Zzzz Remote Futon].button = pushed with a delay of 750ms
+126ms	║(Variable Test #3) Dehumidifier FULL!
+137ms	║Setting up scheduled job for Sun, Jun 7 2020 @ 12:55:27 PM CEST (in 59.996s)
+147ms	╚Event processed successfully (146ms)

#33

I have worked with STAYS for years, and have seen hundreds of variations…
Everything I said above is true, and I have seen time and time again…
(and you can import my piston, if you doubt me)

… but I can see now that your wall is up… There is no getting thru to you.

Sooo… I will not be wasting any more time chatting with you @Alwas,

I don’t want ego or arguments in my life…

Please, feel free to continue to believe whatever you like.


#34

If anyone is curious about the discrepancy…

  • The command STAYS is a trigger
  • Local variable changes can NOT be a trigger

By combining the two into one statement, it is treated as a condition.
(meaning that changing the variable will NOT trigger the piston)

You can see this more clearly if the STAY command was moved to the top.
(it would only function on the second run after a change)


#35

@vPeteWalker
Get the damn device start manually man:()))))
or lets get a drink:)))))
WebCore War III is about to start…:rofl::rofl::rofl::rofl:


#36

Thank you all very much for your help. I have been testing the solution from WCmore first (I flipped a coin) and it seems to be working perfectly. I watched and it only notified me once every X minutes. I’m so happy. I’m going to test Alwas’ solution next. Appreciate you all so much!


#37

I know you are joking, but I don’t understand! Clue me in, @ike2018!


#38

I will choose de-escalation over a war any day…


#39

You are the man… uhh… man! :slight_smile: Appreciate your help here, clearly you know what you are doing, and you have no idea what a monumental PIA this was for us. Thanks for diving in, and spending so much time going over this.


#40

Hi everyone. Hope you are all having a great week thus far!

Running into issues lately, and @WCmore I could use your help here, bud. I’ve changed zero since this started, not even looked at this piston sideways! The dehumidifier has been running, but I’ve walked by it several times in the past few days just doing other things in the basement, and noticed it was full but never notified me. I’ve been getting notifications from everything else via SmartThings without issue, it’s just this one thing that isn’t working. Here is everything I was able to copy/paste from the log window. I’m hoping this gives some insight as to why this is happening. If I should reduce the log setting from Full, please let me know. Thank you so much!

https://file.io/4iGFcTaZ


#41

pic

Please post logs in pure text here so I can see what you see…

(I’d probably also need to see a green snapshot of the piston as it was during the log events)


#42

Sure thing. Sorry, was just trying to make it easier to read. Thank you!

6/23/2020, 9:15:05 PM +879ms
+1ms	╔Received event [Basement - HomeSeer Flex Sensor].button = pushed with a delay of 70ms
+110ms	║RunTime Analysis CS > 20ms > PS > 39ms > PE > 51ms > CE
+112ms	║Runtime (40185 bytes) successfully initialized in 39ms (v0.3.110.20191009) (110ms)
+113ms	║╔Execution stage started
+120ms	║║Comparison (enum) pushed gets (string) pushed = false (1ms)
+121ms	║║Condition #2 evaluated false (4ms)
+122ms	║║Condition group #1 evaluated false (state did not change) (5ms)
+124ms	║║Cancelling statement #9's schedules...
+129ms	║║Button pushed - NO action taken
+130ms	║║Executed virtual command log (1ms)
+132ms	║╚Execution stage complete. (19ms)
+133ms	╚Event processed successfully (133ms)
6/23/2020, 9:15:02 PM +843ms
+2ms	╔Received event [Basement - HomeSeer Flex Sensor].button = pushed with a delay of 69ms
+115ms	║RunTime Analysis CS > 21ms > PS > 41ms > PE > 52ms > CE
+117ms	║Runtime (40184 bytes) successfully initialized in 41ms (v0.3.110.20191009) (114ms)
+118ms	║╔Execution stage started
+125ms	║║Comparison (enum) pushed gets (string) pushed = false (1ms)
+126ms	║║Cancelling condition #2's schedules...
+127ms	║║Condition #2 evaluated false (5ms)
+128ms	║║Condition group #1 evaluated false (state did not change) (6ms)
+130ms	║║Cancelling statement #9's schedules...
+135ms	║║Button pushed - NO action taken
+136ms	║║Executed virtual command log (1ms)
+138ms	║╚Execution stage complete. (20ms)
+139ms	╚Event processed successfully (139ms)
6/23/2020, 9:14:56 PM +229ms
+1ms	╔Received event [Basement - HomeSeer Flex Sensor].button = pushed with a delay of 63ms
+114ms	║RunTime Analysis CS > 19ms > PS > 44ms > PE > 52ms > CE
+117ms	║Runtime (40185 bytes) successfully initialized in 44ms (v0.3.110.20191009) (114ms)
+118ms	║╔Execution stage started
+125ms	║║Comparison (enum) pushed gets (string) pushed = true (1ms)
+127ms	║║Cancelling condition #2's schedules...
+128ms	║║Condition #2 evaluated true (5ms)
+132ms	║║Comparison (boolean) true is_not (boolean) true = false (1ms)
+133ms	║║Condition #3 evaluated false (5ms)
+134ms	║║Condition group #1 evaluated false (state did not change) (13ms)
+136ms	║║Cancelling statement #9's schedules...
+141ms	║║Button pushed - NO action taken
+142ms	║║Executed virtual command log (1ms)
+145ms	║╚Execution stage complete. (27ms)
+146ms	╚Event processed successfully (146ms)
6/23/2020, 9:14:55 PM +220ms
+1ms	╔Received event [Basement - HomeSeer Flex Sensor].button = pushed with a delay of 60ms
+95ms	║RunTime Analysis CS > 16ms > PS > 30ms > PE > 49ms > CE
+98ms	║Runtime (40183 bytes) successfully initialized in 30ms (v0.3.110.20191009) (96ms)
+99ms	║╔Execution stage started
+106ms	║║Comparison (enum) pushed gets (string) pushed = false (1ms)
+108ms	║║Cancelling condition #2's schedules...
+109ms	║║Condition #2 evaluated false (5ms)
+110ms	║║Condition group #1 evaluated false (state did not change) (6ms)
+112ms	║║Cancelling statement #9's schedules...
+117ms	║║Button pushed - NO action taken
+118ms	║║Executed virtual command log (1ms)
+120ms	║╚Execution stage complete. (22ms)
+121ms	╚Event processed successfully (121ms)
6/23/2020, 9:14:50 PM +359ms
+1ms	╔Received event [Basement - HomeSeer Flex Sensor].button = pushed with a delay of 220ms
+115ms	║RunTime Analysis CS > 22ms > PS > 42ms > PE > 51ms > CE
+117ms	║Runtime (40186 bytes) successfully initialized in 42ms (v0.3.110.20191009) (115ms)
+118ms	║╔Execution stage started
+124ms	║║Comparison (enum) pushed gets (string) pushed = true (1ms)
+126ms	║║Cancelling condition #2's schedules...
+126ms	║║Condition #2 evaluated true (5ms)
+130ms	║║Comparison (boolean) true is_not (boolean) true = false (1ms)
+131ms	║║Condition #3 evaluated false (4ms)
+132ms	║║Condition group #1 evaluated false (state did not change) (11ms)
+134ms	║║Cancelling statement #9's schedules...
+139ms	║║Button pushed - NO action taken
+140ms	║║Executed virtual command log (1ms)
+142ms	║╚Execution stage complete. (24ms)
+143ms	╚Event processed successfully (142ms)
6/23/2020, 9:14:49 PM +460ms
+6ms	╔Received event [Basement - HomeSeer Flex Sensor].button = pushed with a delay of 71ms
+133ms	║RunTime Analysis CS > 38ms > PS > 45ms > PE > 49ms > CE
+135ms	║Runtime (40184 bytes) successfully initialized in 45ms (v0.3.110.20191009) (128ms)
+136ms	║╔Execution stage started
+142ms	║║Comparison (enum) pushed gets (string) pushed = false (1ms)
+144ms	║║Cancelling condition #2's schedules...
+144ms	║║Condition #2 evaluated false (4ms)
+145ms	║║Condition group #1 evaluated false (state did not change) (6ms)
+147ms	║║Cancelling statement #9's schedules...
+152ms	║║Button pushed - NO action taken
+153ms	║║Executed virtual command log (2ms)
+155ms	║╚Execution stage complete. (19ms)
+156ms	╚Event processed successfully (156ms)
6/23/2020, 9:14:44 PM +198ms
+1ms	╔Received event [Basement - HomeSeer Flex Sensor].button = pushed with a delay of 58ms
+99ms	║RunTime Analysis CS > 18ms > PS > 30ms > PE > 51ms > CE
+102ms	║Runtime (40184 bytes) successfully initialized in 30ms (v0.3.110.20191009) (100ms)
+103ms	║╔Execution stage started
+110ms	║║Comparison (enum) pushed gets (string) pushed = true (1ms)
+111ms	║║Cancelling condition #2's schedules...
+112ms	║║Condition #2 evaluated true (5ms)
+116ms	║║Comparison (boolean) true is_not (boolean) true = false (1ms)
+118ms	║║Condition #3 evaluated false (4ms)
+118ms	║║Condition group #1 evaluated false (state did not change) (11ms)
+121ms	║║Cancelling statement #9's schedules...
+126ms	║║Button pushed - NO action taken
+126ms	║║Executed virtual command log (1ms)
+129ms	║╚Execution stage complete. (25ms)
+130ms	╚Event processed successfully (129ms)
6/23/2020, 9:14:43 PM +208ms
+2ms	╔Received event [Basement - HomeSeer Flex Sensor].button = pushed with a delay of 70ms
+121ms	║RunTime Analysis CS > 22ms > PS > 46ms > PE > 53ms > CE
+124ms	║Runtime (40184 bytes) successfully initialized in 46ms (v0.3.110.20191009) (120ms)
+125ms	║╔Execution stage started
+132ms	║║Comparison (enum) pushed gets (string) pushed = false (0ms)
+133ms	║║Cancelling condition #2's schedules...
+134ms	║║Condition #2 evaluated false (5ms)
+135ms	║║Condition group #1 evaluated false (state did not change) (7ms)
+137ms	║║Cancelling statement #9's schedules...
+142ms	║║Button pushed - NO action taken
+142ms	║║Executed virtual command log (1ms)
+145ms	║╚Execution stage complete. (20ms)
+146ms	╚Event processed successfully (145ms)
6/23/2020, 9:14:38 PM +215ms
+1ms	╔Received event [Basement - HomeSeer Flex Sensor].button = pushed with a delay of 61ms
+119ms	║RunTime Analysis CS > 19ms > PS > 41ms > PE > 58ms > CE
+121ms	║Runtime (40185 bytes) successfully initialized in 41ms (v0.3.110.20191009) (119ms)
+122ms	║╔Execution stage started
+129ms	║║Comparison (enum) pushed gets (string) pushed = true (1ms)
+130ms	║║Cancelling condition #2's schedules...
+131ms	║║Condition #2 evaluated true (5ms)
+135ms	║║Comparison (boolean) true is_not (boolean) true = false (2ms)
+136ms	║║Condition #3 evaluated false (4ms)
+137ms	║║Condition group #1 evaluated false (state did not change) (12ms)
+139ms	║║Cancelling statement #9's schedules...
+144ms	║║Button pushed - NO action taken
+145ms	║║Executed virtual command log (1ms)
+147ms	║╚Execution stage complete. (26ms)
+148ms	╚Event processed successfully (148ms)
6/23/2020, 9:14:37 PM +193ms
+1ms	╔Received event [Basement - HomeSeer Flex Sensor].button = pushed with a delay of 61ms
+94ms	║RunTime Analysis CS > 16ms > PS > 30ms > PE > 48ms > CE
+96ms	║Runtime (40183 bytes) successfully initialized in 30ms (v0.3.110.20191009) (95ms)
+97ms	║╔Execution stage started
+104ms	║║Comparison (enum) pushed gets (string) pushed = false (1ms)
+106ms	║║Cancelling condition #2's schedules...
+106ms	║║Condition #2 evaluated false (5ms)
+107ms	║║Condition group #1 evaluated false (state did not change) (6ms)
+109ms	║║Cancelling statement #9's schedules...
+114ms	║║Button pushed - NO action taken
+115ms	║║Executed virtual command log (1ms)
+117ms	║╚Execution stage complete. (20ms)
+118ms	╚Event processed successfully (118ms)
6/23/2020, 9:14:32 PM +230ms
+1ms	╔Received event [Basement - HomeSeer Flex Sensor].button = pushed with a delay of 68ms
+118ms	║RunTime Analysis CS > 20ms > PS > 47ms > PE > 51ms > CE
+121ms	║Runtime (40185 bytes) successfully initialized in 47ms (v0.3.110.20191009) (118ms)
+121ms	║╔Execution stage started
+128ms	║║Comparison (enum) pushed gets (string) pushed = true (1ms)
+129ms	║║Cancelling condition #2's schedules...
+130ms	║║Condition #2 evaluated true (5ms)
+133ms	║║Comparison (boolean) true is_not (boolean) true = false (1ms)
+135ms	║║Condition #3 evaluated false (3ms)
+135ms	║║Condition group #1 evaluated false (state did not change) (10ms)
+137ms	║║Cancelling statement #9's schedules...
+142ms	║║Button pushed - NO action taken
+143ms	║║Executed virtual command log (2ms)
+145ms	║╚Execution stage complete. (23ms)
+146ms	╚Event processed successfully (145ms)
6/23/2020, 9:14:31 PM +610ms
+1ms	╔Received event [Basement - HomeSeer Flex Sensor].button = pushed with a delay of 67ms
+100ms	║RunTime Analysis CS > 18ms > PS > 36ms > PE > 47ms > CE
+103ms	║Runtime (40184 bytes) successfully initialized in 36ms (v0.3.110.20191009) (101ms)
+104ms	║╔Execution stage started
+110ms	║║Comparison (enum) pushed gets (string) pushed = false (1ms)
+112ms	║║Cancelling condition #2's schedules...
+112ms	║║Condition #2 evaluated false (5ms)
+113ms	║║Condition group #1 evaluated false (state did not change) (6ms)
+115ms	║║Cancelling statement #9's schedules...
+120ms	║║Button pushed - NO action taken
+121ms	║║Executed virtual command log (2ms)
+123ms	║╚Execution stage complete. (20ms)
+124ms	╚Event processed successfully (124ms)
6/23/2020, 9:14:26 PM +248ms
+1ms	╔Received event [Basement - HomeSeer Flex Sensor].button = pushed with a delay of 63ms
+113ms	║RunTime Analysis CS > 20ms > PS > 42ms > PE > 52ms > CE
+115ms	║Runtime (40185 bytes) successfully initialized in 42ms (v0.3.110.20191009) (113ms)
+116ms	║╔Execution stage started
+123ms	║║Comparison (enum) pushed gets (string) pushed = true (1ms)
+124ms	║║Cancelling condition #2's schedules...
+125ms	║║Condition #2 evaluated true (5ms)
+129ms	║║Comparison (boolean) true is_not (boolean) true = false (2ms)
+130ms	║║Condition #3 evaluated false (4ms)
+131ms	║║Condition group #1 evaluated false (state did not change) (11ms)
+133ms	║║Cancelling statement #9's schedules...
+138ms	║║Button pushed - NO action taken
+139ms	║║Executed virtual command log (1ms)
+141ms	║╚Execution stage complete. (25ms)
+142ms	╚Event processed successfully (142ms)
6/23/2020, 9:14:25 PM +319ms
+0ms	╔Received event [Basement - HomeSeer Flex Sensor].button = pushed with a delay of 108ms
+94ms	║RunTime Analysis CS > 17ms > PS > 29ms > PE > 48ms > CE
+96ms	║Runtime (40184 bytes) successfully initialized in 29ms (v0.3.110.20191009) (95ms)
+97ms	║╔Execution stage started
+104ms	║║Comparison (enum) pushed gets (string) pushed = false (1ms)
+105ms	║║Cancelling condition #2's schedules...
+106ms	║║Condition #2 evaluated false (5ms)
+107ms	║║Condition group #1 evaluated false (state did not change) (6ms)
+109ms	║║Cancelling statement #9's schedules...
+114ms	║║Button pushed - NO action taken
+115ms	║║Executed virtual command log (2ms)
+117ms	║╚Execution stage complete. (20ms)
+118ms	╚Event processed successfully (118ms)
6/23/2020, 9:14:20 PM +293ms
+2ms	╔Received event [Basement - HomeSeer Flex Sensor].button = pushed with a delay of 66ms
+108ms	║RunTime Analysis CS > 19ms > PS > 38ms > PE > 51ms > CE
+111ms	║Runtime (40185 bytes) successfully initialized in 38ms (v0.3.110.20191009) (108ms)
+111ms	║╔Execution stage started
+118ms	║║Comparison (enum) pushed gets (string) pushed = true (1ms)
+119ms	║║Cancelling condition #2's schedules...
+120ms	║║Condition #2 evaluated true (5ms)
+124ms	║║Comparison (boolean) true is_not (boolean) true = false (1ms)
+125ms	║║Condition #3 evaluated false (4ms)
+126ms	║║Condition group #1 evaluated false (state did not change) (10ms)
+128ms	║║Cancelling statement #9's schedules...
+132ms	║║Button pushed - NO action taken
+133ms	║║Executed virtual command log (1ms)
+135ms	║╚Execution stage complete. (24ms)
+136ms	╚Event processed successfully (136ms)
6/23/2020, 9:14:19 PM +217ms
+1ms	╔Received event [Basement - HomeSeer Flex Sensor].button = pushed with a delay of 53ms
+96ms	║RunTime Analysis CS > 17ms > PS > 29ms > PE > 50ms > CE
+99ms	║Runtime (40184 bytes) successfully initialized in 29ms (v0.3.110.20191009) (96ms)
+99ms	║╔Execution stage started
+107ms	║║Comparison (enum) pushed gets (string) pushed = false (1ms)
+108ms	║║Condition #2 evaluated false (4ms)
+109ms	║║Condition group #1 evaluated false (state did not change) (6ms)
+111ms	║║Cancelling statement #9's schedules...
+116ms	║║Button pushed - NO action taken
+117ms	║║Executed virtual command log (1ms)
+119ms	║╚Execution stage complete. (20ms)
+120ms	╚Event processed successfully (120ms)
6/23/2020, 9:14:14 PM +593ms
+1ms	╔Received event [Basement - HomeSeer Flex Sensor].button = pushed with a delay of 55ms
+94ms	║RunTime Analysis CS > 17ms > PS > 30ms > PE > 47ms > CE
+96ms	║Runtime (40183 bytes) successfully initialized in 30ms (v0.3.110.20191009) (95ms)
+97ms	║╔Execution stage started
+104ms	║║Comparison (enum) pushed gets (string) pushed = false (0ms)
+105ms	║║Cancelling condition #2's schedules...
+106ms	║║Condition #2 evaluated false (5ms)
+107ms	║║Condition group #1 evaluated false (state did not change) (6ms)
+108ms	║║Cancelling statement #9's schedules...
+113ms	║║Button pushed - NO action taken
+114ms	║║Executed virtual command log (1ms)
+116ms	║╚Execution stage complete. (19ms)
+117ms	╚Event processed successfully (117ms)
6/23/2020, 9:14:09 PM +827ms
+1ms	╔Received event [Basement - HomeSeer Flex Sensor].button = pushed with a delay of 64ms
+111ms	║RunTime Analysis CS > 19ms > PS > 40ms > PE > 52ms > CE
+114ms	║Runtime (40185 bytes) successfully initialized in 40ms (v0.3.110.20191009) (112ms)
+115ms	║╔Execution stage started
+122ms	║║Comparison (enum) pushed gets (string) pushed = true (0ms)
+123ms	║║Cancelling condition #2's schedules...
+124ms	║║Condition #2 evaluated true (5ms)
+128ms	║║Comparison (boolean) true is_not (boolean) true = false (2ms)
+129ms	║║Condition #3 evaluated false (4ms)
+130ms	║║Condition group #1 evaluated false (state did not change) (12ms)
+132ms	║║Cancelling statement #9's schedules...
+137ms	║║Button pushed - NO action taken
+138ms	║║Executed virtual command log (2ms)
+140ms	║╚Execution stage complete. (26ms)
+141ms	╚Event processed successfully (141ms)
6/23/2020, 9:14:08 PM +642ms
+2ms	╔Received event [Basement - HomeSeer Flex Sensor].button = pushed with a delay of 73ms
+111ms	║RunTime Analysis CS > 21ms > PS > 40ms > PE > 50ms > CE
+114ms	║Runtime (40185 bytes) successfully initialized in 40ms (v0.3.110.20191009) (111ms)
+115ms	║╔Execution stage started
+122ms	║║Comparison (enum) pushed gets (string) pushed = false (0ms)
+123ms	║║Condition #2 evaluated false (4ms)
+124ms	║║Condition group #1 evaluated false (state did not change) (6ms)
+126ms	║║Cancelling statement #9's schedules...
+131ms	║║Button pushed - NO action taken
+132ms	║║Executed virtual command log (1ms)
+134ms	║╚Execution stage complete. (20ms)
+135ms	╚Event processed successfully (135ms)
6/23/2020, 9:14:04 PM +394ms
+2ms	╔Received event [Basement - HomeSeer Flex Sensor].button = pushed with a delay of 172ms
+135ms	║RunTime Analysis CS > 23ms > PS > 52ms > PE > 59ms > CE
+137ms	║Runtime (40185 bytes) successfully initialized in 52ms (v0.3.110.20191009) (135ms)
+138ms	║╔Execution stage started
+145ms	║║Comparison (enum) pushed gets (string) pushed = false (1ms)
+146ms	║║Cancelling condition #2's schedules...
+147ms	║║Condition #2 evaluated false (5ms)
+148ms	║║Condition group #1 evaluated false (state did not change) (7ms)
+150ms	║║Cancelling statement #9's schedules...
+155ms	║║Button pushed - NO action taken
+156ms	║║Executed virtual command log (2ms)
+158ms	║╚Execution stage complete. (20ms)
+159ms	╚Event processed successfully (159ms)
6/23/2020, 9:13:59 PM +221ms
+1ms	╔Received event [Basement - HomeSeer Flex Sensor].button = pushed with a delay of 62ms
+95ms	║RunTime Analysis CS > 15ms > PS > 30ms > PE > 50ms > CE
+98ms	║Runtime (40184 bytes) successfully initialized in 30ms (v0.3.110.20191009) (97ms)
+99ms	║╔Execution stage started
+107ms	║║Comparison (enum) pushed gets (string) pushed = true (1ms)
+108ms	║║Cancelling condition #2's schedules...
+109ms	║║Condition #2 evaluated true (6ms)
+113ms	║║Comparison (boolean) true is_not (boolean) true = false (2ms)
+114ms	║║Condition #3 evaluated false (4ms)
+115ms	║║Condition group #1 evaluated false (state did not change) (12ms)
+118ms	║║Cancelling statement #9's schedules...
+123ms	║║Button pushed - NO action taken
+124ms	║║Executed virtual command log (2ms)
+126ms	║╚Execution stage complete. (27ms)
+127ms	╚Event processed successfully (127ms)
6/23/2020, 9:13:58 PM +626ms
+1ms	╔Received event [Basement - HomeSeer Flex Sensor].button = pushed with a delay of 55ms
+90ms	║RunTime Analysis CS > 17ms > PS > 28ms > PE > 44ms > CE
+92ms	║Runtime (40184 bytes) successfully initialized in 28ms (v0.3.110.20191009) (91ms)
+93ms	║╔Execution stage started
+100ms	║║Comparison (enum) pushed gets (string) pushed = false (0ms)
+101ms	║║Condition #2 evaluated false (4ms)
+102ms	║║Condition group #1 evaluated false (state did not change) (6ms)
+104ms	║║Cancelling statement #9's schedules...
+109ms	║║Button pushed - NO action taken
+109ms	║║Executed virtual command log (1ms)
+111ms	║╚Execution stage complete. (19ms)
+112ms	╚Event processed successfully (112ms)
6/23/2020, 9:13:54 PM +375ms
+2ms	╔Received event [Basement - HomeSeer Flex Sensor].button = pushed with a delay of 67ms
+116ms	║RunTime Analysis CS > 23ms > PS > 45ms > PE > 48ms > CE
+119ms	║Runtime (40184 bytes) successfully initialized in 45ms (v0.3.110.20191009) (116ms)
+119ms	║╔Execution stage started
+126ms	║║Comparison (enum) pushed gets (string) pushed = false (1ms)
+127ms	║║Cancelling condition #2's schedules...
+128ms	║║Condition #2 evaluated false (5ms)
+129ms	║║Condition group #1 evaluated false (state did not change) (6ms)
+131ms	║║Cancelling statement #9's schedules...
+135ms	║║Button pushed - NO action taken
+136ms	║║Executed virtual command log (1ms)
+138ms	║╚Execution stage complete. (19ms)
+139ms	╚Event processed successfully (139ms)
6/23/2020, 9:13:49 PM +236ms
+1ms	╔Received event [Basement - HomeSeer Flex Sensor].button = pushed with a delay of 68ms
+106ms	║RunTime Analysis CS > 19ms > PS > 38ms > PE > 49ms > CE
+108ms	║Runtime (40185 bytes) successfully initialized in 38ms (v0.3.110.20191009) (106ms)
+109ms	║╔Execution stage started
+117ms	║║Comparison (enum) pushed gets (string) pushed = true (1ms)
+118ms	║║Cancelling condition #2's schedules...
+119ms	║║Condition #2 evaluated true (5ms)
+123ms	║║Comparison (boolean) true is_not (boolean) true = false (1ms)
+124ms	║║Condition #3 evaluated false (4ms)
+125ms	║║Condition group #1 evaluated false (state did not change) (12ms)
+128ms	║║Cancelling statement #9's schedules...
+133ms	║║Button pushed - NO action taken
+134ms	║║Executed virtual command log (2ms)
+136ms	║╚Execution stage complete. (27ms)
+137ms	╚Event processed successfully (137ms)
6/23/2020, 9:13:48 PM +649ms
+1ms	╔Received event [Basement - HomeSeer Flex Sensor].button = pushed with a delay of 59ms
+106ms	║RunTime Analysis CS > 19ms > PS > 37ms > PE > 50ms > CE
+108ms	║Runtime (40184 bytes) successfully initialized in 37ms (v0.3.110.20191009) (106ms)
+109ms	║╔Execution stage started
+116ms	║║Comparison (enum) pushed gets (string) pushed = false (0ms)
+117ms	║║Cancelling condition #2's schedules...
+118ms	║║Condition #2 evaluated false (5ms)
+119ms	║║Condition group #1 evaluated false (state did not change) (6ms)
+120ms	║║Cancelling statement #9's schedules...
+125ms	║║Button pushed - NO action taken
+126ms	║║Executed virtual command log (1ms)
+128ms	║╚Execution stage complete. (19ms)
+129ms	╚Event processed successfully (129ms)
6/23/2020, 9:13:43 PM +198ms
+1ms	╔Received event [Basement - HomeSeer Flex Sensor].button = pushed with a delay of 68ms
+116ms	║RunTime Analysis CS > 20ms > PS > 38ms > PE > 58ms > CE
+119ms	║Runtime (40185 bytes) successfully initialized in 38ms (v0.3.110.20191009) (117ms)
+120ms	║╔Execution stage started
+127ms	║║Comparison (enum) pushed gets (string) pushed = true (1ms)
+128ms	║║Cancelling condition #2's schedules...
+129ms	║║Condition #2 evaluated true (5ms)
+133ms	║║Comparison (boolean) true is_not (boolean) true = false (2ms)
+134ms	║║Condition #3 evaluated false (4ms)
+135ms	║║Condition group #1 evaluated false (state did not change) (11ms)
+137ms	║║Cancelling statement #9's schedules...
+143ms	║║Button pushed - NO action taken
+144ms	║║Executed virtual command log (1ms)
+146ms	║╚Execution stage complete. (26ms)
+147ms	╚Event processed successfully (147ms)
6/23/2020, 9:13:42 PM +220ms
+1ms	╔Received event [Basement - HomeSeer Flex Sensor].button = pushed with a delay of 74ms
+114ms	║RunTime Analysis CS > 20ms > PS > 37ms > PE > 56ms > CE
+116ms	║Runtime (40184 bytes) successfully initialized in 37ms (v0.3.110.20191009) (114ms)
+117ms	║╔Execution stage started
+125ms	║║Comparison (enum) pushed gets (string) pushed = false (0ms)
+126ms	║║Cancelling condition #2's schedules...
+127ms	║║Condition #2 evaluated false (6ms)
+128ms	║║Condition group #1 evaluated false (state did not change) (7ms)
+130ms	║║Cancelling statement #9's schedules...
+135ms	║║Button pushed - NO action taken
+136ms	║║Executed virtual command log (1ms)
+139ms	║╚Execution stage complete. (22ms)
+140ms	╚Event processed successfully (140ms)
6/23/2020, 9:13:37 PM +226ms
+1ms	╔Received event [Basement - HomeSeer Flex Sensor].button = pushed with a delay of 64ms
+103ms	║RunTime Analysis CS > 18ms > PS > 35ms > PE > 50ms > CE
+105ms	║Runtime (40185 bytes) successfully initialized in 35ms (v0.3.110.20191009) (104ms)
+106ms	║╔Execution stage started
+113ms	║║Comparison (enum) pushed gets (string) pushed = true (1ms)
+114ms	║║Cancelling condition #2's schedules...
+115ms	║║Condition #2 evaluated true (5ms)
+119ms	║║Comparison (boolean) true is_not (boolean) true = false (2ms)
+120ms	║║Condition #3 evaluated false (4ms)
+121ms	║║Condition group #1 evaluated false (state did not change) (12ms)
+123ms	║║Cancelling statement #9's schedules...
+128ms	║║Button pushed - NO action taken
+129ms	║║Executed virtual command log (1ms)
+131ms	║╚Execution stage complete. (25ms)
+132ms	╚Event processed successfully (132ms)
6/23/2020, 9:13:36 PM +228ms
+1ms	╔Received event [Basement - HomeSeer Flex Sensor].button = pushed with a delay of 62ms
+140ms	║RunTime Analysis CS > 18ms > PS > 68ms > PE > 54ms > CE
+142ms	║Runtime (40184 bytes) successfully initialized in 68ms (v0.3.110.20191009) (140ms)
+143ms	║╔Execution stage started
+151ms	║║Comparison (enum) pushed gets (string) pushed = false (0ms)
+152ms	║║Cancelling condition #2's schedules...
+153ms	║║Condition #2 evaluated false (6ms)
+154ms	║║Condition group #1 evaluated false (state did not change) (7ms)
+156ms	║║Cancelling statement #9's schedules...
+161ms	║║Button pushed - NO action taken
+162ms	║║Executed virtual command log (1ms)
+164ms	║╚Execution stage complete. (21ms)
+166ms	╚Event processed successfully (166ms)
6/23/2020, 9:13:31 PM +270ms
+2ms	╔Received event [Basement - HomeSeer Flex Sensor].button = pushed with a delay of 68ms
+116ms	║RunTime Analysis CS > 20ms > PS > 44ms > PE > 51ms > CE
+118ms	║Runtime (40185 bytes) successfully initialized in 44ms (v0.3.110.20191009) (116ms)
+119ms	║╔Execution stage started
+125ms	║║Comparison (enum) pushed gets (string) pushed = true (1ms)
+126ms	║║Cancelling condition #2's schedules...
+127ms	║║Condition #2 evaluated true (5ms)
+131ms	║║Comparison (boolean) true is_not (boolean) true = false (2ms)
+132ms	║║Condition #3 evaluated false (4ms)
+133ms	║║Condition group #1 evaluated false (state did not change) (11ms)
+135ms	║║Cancelling statement #9's schedules...
+139ms	║║Button pushed - NO action taken
+140ms	║║Executed virtual command log (1ms)
+142ms	║╚Execution stage complete. (24ms)
+143ms	╚Event processed successfully (143ms)
6/23/2020, 9:13:30 PM +303ms
+0ms	╔Received event [Basement - HomeSeer Flex Sensor].button = pushed with a delay of 59ms
+93ms	║RunTime Analysis CS > 16ms > PS > 29ms > PE > 49ms > CE
+96ms	║Runtime (40183 bytes) successfully initialized in 29ms (v0.3.110.20191009) (95ms)
+97ms	║╔Execution stage started
+103ms	║║Comparison (enum) pushed gets (string) pushed = false (1ms)
+105ms	║║Cancelling condition #2's schedules...
+106ms	║║Condition #2 evaluated false (5ms)
+107ms	║║Condition group #1 evaluated false (state did not change) (6ms)
+108ms	║║Cancelling statement #9's schedules...
+113ms	║║Button pushed - NO action taken
+114ms	║║Executed virtual command log (1ms)
+116ms	║╚Execution stage complete. (20ms)
+117ms	╚Event processed successfully (118ms)
6/23/2020, 9:13:25 PM +207ms
+2ms	╔Received event [Basement - HomeSeer Flex Sensor].button = pushed with a delay of 73ms
+120ms	║RunTime Analysis CS > 25ms > PS > 45ms > PE > 50ms > CE
+122ms	║Runtime (40185 bytes) successfully initialized in 45ms (v0.3.110.20191009) (120ms)
+123ms	║╔Execution stage started
+130ms	║║Comparison (enum) pushed gets (string) pushed = true (1ms)
+131ms	║║Cancelling condition #2's schedules...
+132ms	║║Condition #2 evaluated true (5ms)
+135ms	║║Comparison (boolean) true is_not (boolean) true = false (1ms)
+137ms	║║Condition #3 evaluated false (3ms)
+137ms	║║Condition group #1 evaluated false (state did not change) (10ms)
+139ms	║║Cancelling statement #9's schedules...
+144ms	║║Button pushed - NO action taken
+145ms	║║Executed virtual command log (1ms)
+147ms	║╚Execution stage complete. (24ms)
+148ms	╚Event processed successfully (148ms)
6/23/2020, 9:13:24 PM +273ms
+2ms	╔Received event [Basement - HomeSeer Flex Sensor].button = pushed with a delay of 66ms
+107ms	║RunTime Analysis CS > 19ms > PS > 37ms > PE > 51ms > CE
+110ms	║Runtime (40185 bytes) successfully initialized in 37ms (v0.3.110.20191009) (107ms)
+110ms	║╔Execution stage started
+118ms	║║Comparison (enum) pushed gets (string) pushed = false (0ms)
+119ms	║║Condition #2 evaluated false (5ms)
+120ms	║║Condition group #1 evaluated false (state did not change) (6ms)
+122ms	║║Cancelling statement #9's schedules...
+127ms	║║Button pushed - NO action taken
+128ms	║║Executed virtual command log (2ms)
+130ms	║╚Execution stage complete. (20ms)
+131ms	╚Event processed successfully (131ms)
6/23/2020, 9:13:19 PM +216ms
+1ms	╔Received event [Basement - HomeSeer Flex Sensor].button = pushed with a delay of 62ms
+95ms	║RunTime Analysis CS > 17ms > PS > 31ms > PE > 48ms > CE
+98ms	║Runtime (40183 bytes) successfully initialized in 31ms (v0.3.110.20191009) (97ms)
+99ms	║╔Execution stage started
+106ms	║║Comparison (enum) pushed gets (string) pushed = false (0ms)
+107ms	║║Cancelling condition #2's schedules...
+108ms	║║Condition #2 evaluated false (6ms)
+109ms	║║Condition group #1 evaluated false (state did not change) (7ms)
+111ms	║║Cancelling statement #9's schedules...
+116ms	║║Button pushed - NO action taken
+117ms	║║Executed virtual command log (1ms)
+119ms	║╚Execution stage complete. (20ms)
+120ms	╚Event processed successfully (120ms)
6/23/2020, 9:13:14 PM +240ms
+1ms	╔Received event [Basement - HomeSeer Flex Sensor].button = pushed with a delay of 66ms

#43

I just went thru your log file… 34 events in 1m 46s… (9:13:19 - 9:15:05)

Your piston currently has a block in place to keep notifications to a minimum…
(IE: you’d need to look at 16minutes worth of logs instead of two)

From this tiny snapshot, it looks like the piston ran perfectly.
(IE: Button pushed - NO action taken)


Side Note:

If your {ns1} variable is stuck on true (for some reason), the piston will never do anything ever again. You can manually force it to false, by going to the piston page. (Do not press Edit)

Scroll down a bit, and look for the pencil icon next to {ns1}

pic

You can click on it, and change to false, then save.

This resets the piston back to default state… Ready for action.


Pro Tip:

If this is a re-occuring theme, (and it very well may be due to all the rapid spam), you can add a new auto-reset block to the very bottom of this piston.

Every day at 4am
    Set variable {ns1} = false
END EVERY

This way, even if things get out of whack, it repairs itself every morning.


#44

Understood on the logs. I’ll drop it down a step on the logging, since it’s just so much to the point of uselessness.

Interesting. OK, sounds like a plan. I think I’ll kill two birds with one stone, and add that piece to the end, as I’m coming up on 4am soon. Much appreciated. Thank you so much.

UPDATE: Made the change… is this right?


#45

Just so you know, I added a few mandatory logs to your code… so even with logging turned off, you will still get basic info down there… (but typically only one line per event, instead of 15)


The last block looks perfect… but I cannot tell if you changed the {ns1} properly…
(either way, it will fix itself tomorrow morning)


#46

Hi there and good morning! I didn’t change it, but instead left it in its current state, but added the block you mentioned which did (as you mentioned) fixed itself this morning. Super duper, thank you again!


#47

Side note, I’m new to the forums as you well know, and was trying to give the solution check to multiple posts (the @WCmore answer really needs the “4am” piece, in case someone ever does a search for it) and people, but only 1 is allowed, unfortunately. Thank you all so much for nailing this down for me.


#48

I updated the “Solution” to also point to this info.

Thanks!