1) Give a description of the problem
I would like the front door multipurpose to trigger a light on when it opens. I have set the piston so that the motion sensor adjacent to the interior of the front door must be inactive so that this occurs only when returning home and not turn on a light when the front door is opened to leave.
2) What is the expected behaviour?
Return home and open front door and turn on the light dimmer controlling the light.
3) What is happening/not happening?
Light is not turning on.
4) Post a Green Snapshot of the piston
5) Attach logs after turning logging level to Full
10/29/2020, 1:04:30 PM +489ms
+1ms âReceived event [MP Front Door].contact = closed with a delay of 88ms
+65ms âRunTime Analysis CS > 23ms > PS > 6ms > PE > 35ms > CE
+67ms âRuntime (37622 bytes) successfully initialized in 6ms (v0.3.110.20191009) (65ms)
+68ms ââExecution stage started
+508ms ââComparison (enum) active was (string) inactive = false (429ms)
+509ms ââCancelling condition #3âs schedulesâŚ
+510ms ââCondition #3 evaluated false (438ms)
+511ms ââCondition group #1 evaluated false (state did not change) (440ms)
+513ms ââExecution stage complete. (446ms)
+514ms âEvent processed successfully (514ms)
10/29/2020, 1:04:23 PM +106ms
+2ms âReceived event [MP Front Door].contact = open with a delay of 93ms
+67ms âRunTime Analysis CS > 25ms > PS > 5ms > PE > 37ms > CE
+70ms âRuntime (37618 bytes) successfully initialized in 5ms (v0.3.110.20191009) (67ms)
+70ms ââExecution stage started
+422ms ââDuration 2933526ms for is >= 180000ms threshold = true
+423ms ââComparison (enum) inactive was (string) inactive = true (341ms)
+425ms ââCancelling condition #3âs schedulesâŚ
+426ms ââCondition #3 evaluated true (351ms)
+429ms ââComparison (enum) open changes_to (string) open = false (1ms)
+430ms ââCancelling condition #10âs schedulesâŚ
+431ms ââCondition #10 evaluated false (5ms)
+432ms ââCondition group #1 evaluated false (state did not change) (358ms)
+434ms ââExecution stage complete. (364ms)
+435ms âEvent processed successfully (435ms)
10/29/2020, 12:15:15 PM +79ms
+1ms âReceived event [MP Front Door].contact = closed with a delay of 56ms
+52ms âRunTime Analysis CS > 18ms > PS > 4ms > PE > 30ms > CE
+55ms âRuntime (37620 bytes) successfully initialized in 4ms (v0.3.110.20191009) (52ms)
+55ms ââExecution stage started
+196ms ââComparison (enum) active was (string) inactive = false (129ms)
+197ms ââCondition #3 evaluated false (138ms)
+198ms ââCondition group #1 evaluated false (state did not change) (139ms)
+200ms ââExecution stage complete. (145ms)
+201ms âEvent processed successfully (201ms)
10/29/2020, 12:15:01 PM +73ms
+2ms âReceived event [MP Front Door].contact = open with a delay of 73ms
+59ms âRunTime Analysis CS > 16ms > PS > 5ms > PE > 38ms > CE
+62ms âRuntime (37618 bytes) successfully initialized in 5ms (v0.3.110.20191009) (59ms)
+63ms ââExecution stage started
+332ms ââComparison (enum) active was (string) inactive = false (259ms)
+334ms ââCondition #3 evaluated false (266ms)
+335ms ââCondition group #1 evaluated false (state did not change) (268ms)
+336ms ââExecution stage complete. (274ms)
+337ms âEvent processed successfully (337ms)
10/29/2020, 12:14:45 PM +571ms
+1ms âReceived event [MP Front Door].contact = closed with a delay of 85ms
+64ms âRunTime Analysis CS > 23ms > PS > 7ms > PE > 34ms > CE
+66ms âRuntime (37620 bytes) successfully initialized in 7ms (v0.3.110.20191009) (64ms)
+67ms ââExecution stage started
+454ms ââComparison (enum) active was (string) inactive = false (375ms)
+455ms ââCondition #3 evaluated false (384ms)
+456ms ââCondition group #1 evaluated false (state did not change) (385ms)
+458ms ââExecution stage complete. (391ms)
+459ms âEvent processed successfully (459ms)
10/29/2020, 12:14:37 PM +581ms
+1ms âReceived event [MP Front Door].contact = open with a delay of 54ms
+55ms âRunTime Analysis CS > 20ms > PS > 4ms > PE > 30ms > CE
+57ms âRuntime (37618 bytes) successfully initialized in 4ms (v0.3.110.20191009) (55ms)
+58ms ââExecution stage started
+244ms ââComparison (enum) active was (string) inactive = false (174ms)
+245ms ââCondition #3 evaluated false (182ms)
+246ms ââCondition group #1 evaluated false (state did not change) (184ms)
+248ms ââExecution stage complete. (190ms)
+249ms âEvent processed successfully (249ms)
10/29/2020, 11:29:03 AM +371ms
+1ms âReceived event [MP Front Door].contact = closed with a delay of 78ms
+62ms âRunTime Analysis CS > 22ms > PS > 5ms > PE > 34ms > CE
+64ms âRuntime (37617 bytes) successfully initialized in 5ms (v0.3.110.20191009) (62ms)
+65ms ââExecution stage started
+369ms ââComparison (enum) active was (string) inactive = false (292ms)
+371ms ââCancelling condition #3âs schedulesâŚ
+373ms ââCondition #3 evaluated false (304ms)
+374ms ââCancelling condition #1âs schedulesâŚ
+376ms ââCondition group #1 evaluated false (state changed) (306ms)
+379ms ââExecution stage complete. (313ms)
+380ms âEvent processed successfully (380ms)
10/29/2020, 11:28:54 AM +621ms
+1ms âReceived event [MP Front Door].contact = open with a delay of 50ms
+60ms âRunTime Analysis CS > 27ms > PS > 5ms > PE > 29ms > CE
+62ms âRuntime (37620 bytes) successfully initialized in 5ms (v0.3.110.20191009) (61ms)
+63ms ââExecution stage started
+297ms ââDuration 1273916ms for is >= 180000ms threshold = true
+298ms ââComparison (enum) inactive was (string) inactive = true (224ms)
+300ms ââCancelling condition #3âs schedulesâŚ
+301ms ââCondition #3 evaluated true (233ms)
+305ms ââComparison (enum) open changes_to (string) open = true (0ms)
+306ms ââCancelling condition #10âs schedulesâŚ
+307ms ââCondition #10 evaluated true (6ms)
+308ms ââCancelling condition #1âs schedulesâŚ
+309ms ââCondition group #1 evaluated true (state changed) (242ms)
+311ms ââCancelling statement #4âs schedulesâŚ
+322ms ââExecuted physical command [Light Dining Dimmer].on() (8ms)
+323ms ââExecuted [Light Dining Dimmer].on (10ms)
+337ms ââExecuted physical command [Light Dining Dimmer].setLevel([100]) (7ms)
+338ms ââExecuted virtual command [Light Dining Dimmer].adjustLevel (12ms)
+341ms ââExecution stage complete. (277ms)
+342ms âEvent processed successfully (341ms)
10/29/2020, 11:07:26 AM +119ms
+1ms âReceived event [MP Front Door].contact = closed with a delay of 83ms
+60ms âRunTime Analysis CS > 22ms > PS > 5ms > PE > 32ms > CE
+62ms âRuntime (37622 bytes) successfully initialized in 5ms (v0.3.110.20191009) (60ms)
+63ms ââExecution stage started
+398ms ââComparison (enum) active was (string) inactive = false (323ms)
+399ms ââCondition #3 evaluated false (332ms)
+400ms ââCondition group #1 evaluated false (state did not change) (333ms)
+402ms ââExecution stage complete. (340ms)
+403ms âEvent processed successfully (403ms)
10/29/2020, 11:07:19 AM +390ms
+2ms âReceived event [MP Front Door].contact = open with a delay of 85ms
+65ms âRunTime Analysis CS > 24ms > PS > 6ms > PE > 35ms > CE
+67ms âRuntime (37620 bytes) successfully initialized in 6ms (v0.3.110.20191009) (65ms)
+68ms ââExecution stage started
+410ms ââComparison (enum) active was (string) inactive = false (331ms)
+411ms ââCondition #3 evaluated false (339ms)
+412ms ââCondition group #1 evaluated false (state did not change) (340ms)
+414ms ââExecution stage complete. (346ms)
+415ms âEvent processed successfully (415ms)
REMOVE BELOW AFTER READING
If a solution is found for your question then please mark the post as the solution.