1) Give a description of the problem
Like everyone else, I have a piston to turn on lights when I arrive home. Usually it works just fine. Today, portions of the piston selectively executed.
2) What is the expected behavior?
Set level and turn on commands are sent to four lights, and I expect that they will actually turn on. Two of the lights then fade to 5% and, depending on the time of day, either turn off or stay on until bed time.
3) What is happening/not happening?
Command was sent, light did not come on. In the app, if I look at ‘recently’ in the app for those lights, I see that they were sent the commands. Unfortunately, I was still standing in the dark. The lights responded to a manual command from the app to turn on and command via Alexa to turn off. You can see in the log that at +380ms, commands were sent to two of the lights. The lights chose to ignore the commands? At +4151ms, the fadelevel command was sent to one of the lights, but it did not result in any action and subsequent fades (99, 98, 97, etc.) were not scheduled or sent.
**4) Post a Green Snapshot of the piston
5) Attach any logs (From ST IDE and by turning logging level to Full)
1/29/2018, 6:07:48 PM +300ms
+1ms ╔Received event [VirtualJohn].switch = on with a delay of 96ms
+155ms ║RunTime Analysis CS > 15ms > PS > 26ms > PE > 114ms > CE
+158ms ║Runtime (42886 bytes) successfully initialized in 26ms (v0.2.102.20180116) (156ms)
+159ms ║╔Execution stage started
+169ms ║║Condition #4 evaluated false (6ms)
+173ms ║║Comparison (enum) on changes_to (string) on = true (1ms)
+174ms ║║Cancelling condition #29’s schedules…
+175ms ║║Condition #29 evaluated true (5ms)
+176ms ║║Cancelling condition #1’s schedules…
+176ms ║║Condition group #1 evaluated true (state changed) (13ms)
+178ms ║║Cancelling statement #33’s schedules…
+196ms ║║Executed physical command [null].unlock() (15ms)
+197ms ║║Executed [Kitchen Lock].unlock (17ms)
+200ms ║║Cancelling statement #2’s schedules…
+380ms ║║Executed physical command [Kitchen].setLevel([100]) (176ms)
+381ms ║║Executed [Kitchen].setLevel (178ms)
+401ms ║║Executed physical command [Pendants].setLevel([100]) (18ms)
+402ms ║║Executed [Pendants].setLevel (20ms)
+449ms ║║Executed virtual command [Kitchen, Pendants].setLocationMode (44ms)
+603ms ║║Executed physical command [Kitchen].on() (153ms)
+603ms ║║Executed [Kitchen].on (153ms)
+616ms ║║Executed physical command [Pendants].on() (10ms)
+616ms ║║Executed [Pendants].on (12ms)
+626ms ║║Comparison (time) 65268919 is_between (time) 32400000 … (time) 82800000 = true (6ms)
+627ms ║║Time restriction check passed
+628ms ║║Condition #37 evaluated true (9ms)
+629ms ║║Condition group #35 evaluated true (state did not change) (11ms)
+631ms ║║Cancelling statement #20’s schedules…
+640ms ║║Executed physical command [Upstairs].setLevel([100]) (5ms)
+640ms ║║Executed [Upstairs].setLevel (6ms)
+643ms ║║Executed virtual command [Upstairs].wait (0ms)
+644ms ║║Waiting for 1000ms
+1651ms ║║Executed physical command [Upstairs].setLevel([5]) (4ms)
+1652ms ║║Executed [Upstairs].setLevel (5ms)
+1655ms ║║Executed virtual command [Upstairs].wait (1ms)
+1656ms ║║Waiting for 1000ms
+2663ms ║║Executed physical command [Upstairs].setLevel([100]) (4ms)
+2663ms ║║Executed [Upstairs].setLevel (5ms)
+2666ms ║║Executed virtual command [Upstairs].wait (0ms)
+2667ms ║║Waiting for 1000ms
+3675ms ║║Executed physical command [Upstairs].setLevel([5]) (5ms)
+3676ms ║║Executed [Upstairs].setLevel (6ms)
+3723ms ║║Comparison (time) 65271979 is_between (time) 1517270220000 … (time) 82800000 = true (6ms)
+3724ms ║║Time restriction check passed
+3725ms ║║Condition #10 evaluated true (46ms)
+3726ms ║║Condition group #5 evaluated true (state did not change) (48ms)
+3728ms ║║Cancelling statement #24’s schedules…
+3735ms ║║Executed physical command [Upstairs].setLevel([5]) (4ms)
+3736ms ║║Executed [Upstairs].setLevel (5ms)
+3738ms ║║Cancelling statement #31’s schedules…
+3894ms ║║Executed physical command [Living Room].on() (153ms)
+3894ms ║║Executed [Living Room].on (154ms)
+3897ms ║║Cancelling statement #8’s schedules…
+4151ms ║║Executed physical command [Kitchen].setLevel([5]) (247ms)
+4152ms ║║Executed virtual command [Kitchen].fadeLevel (251ms)
+4154ms ║║Cancelling statement #42’s schedules…
+4184ms ║║Executed physical command [Overhead].setLevel([15]) (26ms)
+4185ms ║║Executed [Overhead].setLevel (27ms)
+4196ms ║║Executed physical command [Overhead].on() (9ms)
+4196ms ║║Executed [Overhead].on (10ms)
+4199ms ║╚Execution stage complete. (4040ms)
+4200ms ╚Event processed successfully (4200ms)