1) Give a description of the problem
lock is not unlocking when I get home & walk in range of the Ring doorbell camera
2) What is the expected behaviour?
When my cell comes in range of the WiFi & joins the network (or I come in range of the geofence app), I want a timer to start (for 2 minutes) that waits for motion in front of the Ring camera, and if detected, will unlock the door. If it times out without motion in front of the door, then the door stays locked.
3) What is happening/not happening?
Presence detection works fine, however I am not sure how to write the statements to wait the two minutes for motion in front of the Ring doorbell. I have attached the current piston & logs. The door does not unlock with this as-is.
**4) Post a Green Snapshot of the piston
5) Attach logs after turning logging level to Full
12/17/2019, 7:19:47 PM +169ms
+0ms âReceived event [Front Doorbell].motion = inactive with a delay of 76ms
+140ms âRunTime Analysis CS > 44ms > PS > 41ms > PE > 56ms > CE
+143ms âRuntime (42246 bytes) successfully initialized in 41ms (v0.3.110.20191009) (142ms)
+144ms ââExecution stage started
+161ms ââCondition #5 evaluated false (13ms)
+162ms ââCondition group #1 evaluated false (state did not change) (15ms)
+203ms ââDuration 133331895ms for was_not >= 600000ms threshold = true
+204ms ââComparison (enum) not present was_not (string) present = true (34ms)
+205ms ââCondition #27 evaluated true (40ms)
+206ms ââCondition group #26 evaluated true (state did not change) (42ms)
+214ms ââComparison (enum) off is (string) on = false (1ms)
+216ms ââCondition #29 evaluated false (8ms)
+217ms ââCondition group #28 evaluated false (state did not change) (9ms)
+219ms ââExecution stage complete. (75ms)
+220ms âEvent processed successfully (219ms)
12/17/2019, 7:19:07 PM +501ms
+1ms âReceived event [Front Doorbell].motion = active with a delay of 83ms
+121ms âRunTime Analysis CS > 23ms > PS > 45ms > PE > 53ms > CE
+123ms âRuntime (42244 bytes) successfully initialized in 45ms (v0.3.110.20191009) (121ms)
+124ms ââExecution stage started
+143ms ââCondition #5 evaluated false (15ms)
+144ms ââCondition group #1 evaluated false (state did not change) (16ms)
+176ms ââDuration 133292200ms for was_not >= 600000ms threshold = true
+177ms ââComparison (enum) not present was_not (string) present = true (27ms)
+178ms ââCondition #27 evaluated true (32ms)
+179ms ââCondition group #26 evaluated true (state did not change) (33ms)
+188ms ââComparison (enum) off is (string) on = false (2ms)
+189ms ââCondition #29 evaluated false (8ms)
+190ms ââCondition group #28 evaluated false (state did not change) (9ms)
+192ms ââExecution stage complete. (68ms)
+193ms âEvent processed successfully (194ms)
12/17/2019, 3:25:10 PM +114ms
+1ms âReceived event [Front Doorbell].motion = inactive with a delay of 66ms
+126ms âRunTime Analysis CS > 26ms > PS > 50ms > PE > 50ms > CE
+129ms âRuntime (42246 bytes) successfully initialized in 50ms (v0.3.110.20191009) (127ms)
+130ms ââExecution stage started
+147ms ââCondition #5 evaluated false (14ms)
+148ms ââCondition group #1 evaluated false (state did not change) (15ms)
+180ms ââDuration 119254817ms for was_not >= 600000ms threshold = true
+181ms ââComparison (enum) not present was_not (string) present = true (26ms)
+182ms ââCondition #27 evaluated true (31ms)
+183ms ââCondition group #26 evaluated true (state did not change) (33ms)
+192ms ââComparison (enum) off is (string) on = false (2ms)
+193ms ââCondition #29 evaluated false (8ms)
+194ms ââCondition group #28 evaluated false (state did not change) (9ms)
+196ms ââExecution stage complete. (67ms)
+197ms âEvent processed successfully (197ms)
12/17/2019, 3:24:30 PM +182ms
+1ms âReceived event [Front Doorbell].motion = active with a delay of 78ms
+122ms âRunTime Analysis CS > 22ms > PS > 34ms > PE > 65ms > CE
+124ms âRuntime (42244 bytes) successfully initialized in 34ms (v0.3.110.20191009) (122ms)
+125ms ââExecution stage started
+144ms ââCondition #5 evaluated false (14ms)
+145ms ââCondition group #1 evaluated false (state did not change) (16ms)
+174ms ââDuration 119214879ms for was_not >= 600000ms threshold = true
+175ms ââComparison (enum) not present was_not (string) present = true (21ms)
+176ms ââCondition #27 evaluated true (28ms)
+177ms ââCondition group #26 evaluated true (state did not change) (30ms)
+185ms ââComparison (enum) off is (string) on = false (1ms)
+187ms ââCondition #29 evaluated false (8ms)
+188ms ââCondition group #28 evaluated false (state did not change) (9ms)
+190ms ââExecution stage complete. (64ms)
+191ms âEvent processed successfully (191ms)
12/17/2019, 3:12:06 PM +210ms
+1ms âReceived event [Front Doorbell].motion = inactive with a delay of 91ms
+118ms âRunTime Analysis CS > 22ms > PS > 43ms > PE > 53ms > CE
+120ms âRuntime (42246 bytes) successfully initialized in 43ms (v0.3.110.20191009) (118ms)
+121ms ââExecution stage started
+139ms ââCondition #5 evaluated false (14ms)
+140ms ââCondition group #1 evaluated false (state did not change) (15ms)
+211ms ââDuration 118470944ms for was_not >= 600000ms threshold = true
+212ms ââComparison (enum) not present was_not (string) present = true (65ms)
+213ms ââCondition #27 evaluated true (71ms)
+214ms ââCondition group #26 evaluated true (state did not change) (72ms)
+223ms ââComparison (enum) off is (string) on = false (2ms)
+224ms ââCondition #29 evaluated false (8ms)
+225ms ââCondition group #28 evaluated false (state did not change) (9ms)
+227ms ââExecution stage complete. (106ms)
+228ms âEvent processed successfully (228ms)