1) Give a description of the problem
Piston playing out of order/all lights not going out when motion detector no longer detects motion for 10 seconds. New at WebCoRE my second piston. What is the best way to write this simple Piston I created?
2) What is the expected behavior?
(Just practicing) When Motion Sensor defects motion at a specific time Alexa says, “I was told to give you a compliment when you come into the garage” DIRECTLY AFTER (Should say) randomCompliment(…) at the say time lights should blink and turn off. RGB Bulb 3 stays on until it no longer detects motion for 10 seconds (which is correct) Bulb 2, 4 and 5 sometimes still stay on.
3) What is happening/not happening?
Alexa does not always say both voice commands (The Speak Expression and Compliment Line)
Thanks so much for your help! Eager to learn how to write better.
5) Attach logs after turning logging level to Full
6/8/2020, 11:04:50 AM +848ms
+0ms ╔Received event [My home].test = 1591628690848 with a delay of 1ms
+48ms ║RunTime Analysis CS > 14ms > PS > 4ms > PE > 29ms > CE
+51ms ║Runtime (41398 bytes) successfully initialized in 4ms (v0.3.110.20191009) (49ms)
+52ms ║╔Execution stage started
+67ms ║║Comparison (time) 39890905 is_between (time) 27900000 … (time) 82800000 = true (9ms)
+68ms ║║Time restriction check passed
+70ms ║║Condition #2 evaluated true (14ms)
+77ms ║║Condition #3 evaluated false (6ms)
+78ms ║║Condition group #1 evaluated false (state did not change) (22ms)
+88ms ║║Comparison (enum) inactive stays (string) inactive = true (2ms)
+98ms ║║Adding a timed trigger schedule for condition 7
+102ms ║║Cancelling condition #7’s schedules…
+103ms ║║Condition #7 evaluated false (22ms)
+104ms ║║Cancelling condition #6’s schedules…
+105ms ║║Condition group #6 evaluated false (state changed) (24ms)
+117ms ║╚Execution stage complete. (66ms)
+124ms ║Setting up scheduled job for Mon, Jun 8 2020 @ 11:05:00 AM EDT (in 9.975s)
+131ms ╚Event processed successfully (131ms)