1) Give a description of the problem
The piston should only get triggered when it is turned on, however it appears to get triggered even upon manual dimmer level change. In other words, I turn on the light and it goes to 99% because it is daytime. When I try to dim it back down it fights me and keeps trying to go back up to 99%.
2) What is the expected behavior?
When I turn on the light, the dimmer goes to the low or high dim preset level depending on the time of day. If I then opt to decrease or increase the dimmer level, it should leave my change.
3) What is happening/not happening?
The trigger seems to fire when I am simply changing dimmer level. My intent was for it to fire only when it goes from OFF to ON.
4) Post a Green Snapshot of the piston
5) Attach any logs (From ST IDE and by turning logging level to Full)
4/11/2019, 6:36:33 AM +535ms
+1ms â•”Received event [Master Bathroom Light].switch = on with a delay of 111ms
+116ms â•‘RunTime Analysis CS > 13ms > PS > 47ms > PE > 55ms > CE
+119ms â•‘Runtime (46395 bytes) successfully initialized in 47ms (v0.3.10a.20190223) (116ms)
+120ms â•‘â•”Execution stage started
+134ms â•‘â•‘Comparison (enum) on is (string) on = true (2ms)
+136ms â•‘â•‘Condition #20 evaluated true (12ms)
+137ms â•‘â•‘Condition group #null evaluated true (state did not change) (13ms)
+180ms â•‘â•‘Comparison (enum) on changes_to (string) on = true (0ms)
+183ms â•‘â•‘Cancelling condition #3's schedules...
+184ms â•‘â•‘Condition #3 evaluated true (44ms)
+185ms â•‘â•‘Cancelling condition #1's schedules...
+187ms â•‘â•‘Condition group #1 evaluated true (state changed) (46ms)
+198ms â•‘â•‘Comparison (dynamic) Master Bathroom Light is_equal_to (dynamic) Upstairs Bathroom Light = false (1ms)
+200ms â•‘â•‘Condition #27 evaluated false (9ms)
+201ms â•‘â•‘Condition group #24 evaluated false (state did not change) (12ms)
+220ms â•‘â•‘Comparison (time) 23793740 is_after (time) 75600000 = false (8ms)
+222ms â•‘â•‘Condition #10 evaluated false (18ms)
+239ms â•‘â•‘Comparison (time) 23793760 is_before (time) 21600000 = false (9ms)
+241ms â•‘â•‘Condition #22 evaluated false (17ms)
+243ms â•‘â•‘Condition group #21 evaluated false (state did not change) (18ms)
+244ms â•‘â•‘Condition group #6 evaluated false (state did not change) (40ms)
+247ms â•‘â•‘Cancelling statement #14's schedules...
+281ms â•‘â•‘Executed physical command [Master Bathroom Light].setLevel([99]) (25ms)
+282ms â•‘â•‘Executed [Master Bathroom Light].setLevel (28ms)
+286ms â•‘â•šExecution stage complete. (167ms)
+287ms â•šEvent processed successfully (287ms)
4/11/2019, 6:36:31 AM +62ms
+2ms â•”Received event [Master Bathroom Light].switch = off with a delay of 195ms
+167ms â•‘RunTime Analysis CS > 31ms > PS > 75ms > PE > 61ms > CE
+169ms â•‘Runtime (46390 bytes) successfully initialized in 75ms (v0.3.10a.20190223) (166ms)
+170ms â•‘â•”Execution stage started
+186ms â•‘â•‘Comparison (enum) on is (string) on = true (2ms)
+188ms â•‘â•‘Condition #20 evaluated true (13ms)
+189ms â•‘â•‘Condition group #null evaluated true (state did not change) (14ms)
+230ms â•‘â•‘Comparison (enum) off changes_to (string) on = false (1ms)
+234ms â•‘â•‘Cancelling condition #3's schedules...
+236ms â•‘â•‘Condition #3 evaluated false (43ms)
+237ms â•‘â•‘Cancelling condition #1's schedules...
+238ms â•‘â•‘Condition group #1 evaluated false (state changed) (46ms)
+241ms â•‘â•šExecution stage complete. (71ms)
+242ms â•šEvent processed successfully (243ms)
4/11/2019, 6:35:13 AM +741ms
+2ms â•”Received event [Master Bedroom Light].switch = on with a delay of 179ms
+158ms â•‘RunTime Analysis CS > 28ms > PS > 68ms > PE > 63ms > CE
+161ms â•‘Runtime (46394 bytes) successfully initialized in 68ms (v0.3.10a.20190223) (158ms)
+162ms â•‘â•”Execution stage started
+177ms â•‘â•‘Comparison (enum) on is (string) on = true (2ms)
+179ms â•‘â•‘Condition #20 evaluated true (12ms)
+180ms â•‘â•‘Condition group #null evaluated true (state did not change) (14ms)
+220ms â•‘â•‘Comparison (enum) on changes_to (string) on = true (1ms)
+224ms â•‘â•‘Cancelling condition #3's schedules...
+225ms â•‘â•‘Condition #3 evaluated true (41ms)
+226ms â•‘â•‘Cancelling condition #1's schedules...
+227ms â•‘â•‘Condition group #1 evaluated true (state changed) (45ms)
+239ms â•‘â•‘Comparison (dynamic) Master Bedroom Light is_equal_to (dynamic) Upstairs Bathroom Light = false (1ms)
+241ms â•‘â•‘Condition #27 evaluated false (10ms)
+242ms â•‘â•‘Condition group #24 evaluated false (state did not change) (12ms)
+262ms â•‘â•‘Comparison (time) 23713987 is_after (time) 75600000 = false (8ms)
+264ms â•‘â•‘Condition #10 evaluated false (17ms)
+281ms â•‘â•‘Comparison (time) 23714007 is_before (time) 21600000 = false (8ms)
+283ms â•‘â•‘Condition #22 evaluated false (16ms)
+284ms â•‘â•‘Condition group #21 evaluated false (state did not change) (19ms)
+285ms â•‘â•‘Condition group #6 evaluated false (state did not change) (40ms)
+289ms â•‘â•‘Cancelling statement #14's schedules...
+334ms â•‘â•‘Executed physical command [Master Bedroom Light].setLevel([99]) (36ms)
+336ms â•‘â•‘Executed [Master Bedroom Light].setLevel (38ms)
+339ms â•‘â•šExecution stage complete. (177ms)
+341ms â•šEvent processed successfully (341ms)