Front Porch Piston isn't turning off at Sunrise


#1

1) Give a description of the problem
My lights turn on at sunset but do not turn off at sunrise all the time. They seemed to work initially but one random day last week they didn’t and the past 2 days they have been on well into the afternoon. My only thought it to add a second “turn off” 15 min after sunrise.

2) What is the expected behavior?
My front porch lights are suppose to turn on at sunset. At 10pm they dim to 30% unless motion is detected. I have a slow ramp on the lights to avoid triggering my doorbell motion alert.

3) What is happening/not happening?
Lights are not always turning off at sunrise.

**4) Post a Green Snapshot of the piston!

5) Attach any logs (From ST IDE and by turning logging level to Full)
2/4/2019, 6:51:01 AM +91ms
+9545ms ║Piston waited at a semaphore for 9372ms
2/4/2019, 5:41:46 AM +817ms
+8642ms ║Piston waited at a semaphore for 8517ms
2/3/2019, 6:53:42 AM +939ms
+7641ms ║Piston waited at a semaphore for 7524ms
2/3/2019, 3:47:15 AM +119ms
+10162ms ║Piston waited at a semaphore for 10024ms
2/3/2019, 3:47:05 AM +135ms
+10015ms ║Piston waited at a semaphore for 9876ms
2/2/2019, 11:09:26 PM +81ms
+9907ms ║Piston waited at a semaphore for 9745ms
2/2/2019, 2:44:36 AM +421ms
+7899ms ║Piston waited at a semaphore for 7766ms
2/1/2019, 11:44:03 PM +627ms
+9628ms ║Piston waited at a semaphore for 9519ms
1/31/2019, 3:36:19 PM +599ms
+1ms ╔Received event [Motion - Porch].motion = inactive with a delay of 436ms
+108ms ║Runtime (40366 bytes) successfully initialized in 43ms (v0.3.109.20181207) (106ms)
+110ms ║╔Execution stage started
+178ms ║╚Execution stage complete. (69ms)
+180ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 5:25:00 PM PST (in 6520.222s), with 1 more job pending
+191ms ╚Event processed successfully (191ms)
1/31/2019, 3:36:01 PM +15ms
+1ms ╔Received event [Motion - Porch].motion = active with a delay of 329ms
+216ms ║Runtime (40367 bytes) successfully initialized in 145ms (v0.3.109.20181207) (214ms)
+218ms ║╔Execution stage started
+290ms ║╚Execution stage complete. (73ms)
+293ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 5:25:00 PM PST (in 6538.693s), with 1 more job pending
+304ms ╚Event processed successfully (304ms)
1/31/2019, 3:26:46 PM +535ms
+1ms ╔Received event [Motion - Porch].motion = inactive with a delay of 1110ms
+108ms ║Runtime (40367 bytes) successfully initialized in 37ms (v0.3.109.20181207) (106ms)
+110ms ║╔Execution stage started
+180ms ║╚Execution stage complete. (70ms)
+182ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 5:25:00 PM PST (in 7093.284s), with 1 more job pending
+193ms ╚Event processed successfully (193ms)
1/31/2019, 3:26:27 PM +24ms
+1ms ╔Received event [Motion - Porch].motion = active with a delay of 1109ms
+111ms ║Runtime (40367 bytes) successfully initialized in 41ms (v0.3.109.20181207) (109ms)
+112ms ║╔Execution stage started
+183ms ║╚Execution stage complete. (71ms)
+185ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 5:25:00 PM PST (in 7112.792s), with 1 more job pending
+196ms ╚Event processed successfully (196ms)
1/31/2019, 3:25:53 PM +283ms
+1ms ╔Received event [Motion - Porch].motion = inactive with a delay of 1019ms
+108ms ║Runtime (40367 bytes) successfully initialized in 40ms (v0.3.109.20181207) (107ms)
+109ms ║╔Execution stage started
+180ms ║╚Execution stage complete. (71ms)
+183ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 5:25:00 PM PST (in 7146.535s), with 1 more job pending
+193ms ╚Event processed successfully (194ms)
1/31/2019, 3:25:33 PM +68ms
+1ms ╔Received event [Motion - Porch].motion = active with a delay of 1014ms
+110ms ║Runtime (40367 bytes) successfully initialized in 39ms (v0.3.109.20181207) (107ms)
+111ms ║╔Execution stage started
+181ms ║╚Execution stage complete. (71ms)
+184ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 5:25:00 PM PST (in 7166.749s), with 1 more job pending
+195ms ╚Event processed successfully (195ms)
1/31/2019, 3:16:25 PM +827ms
+1ms ╔Received event [Motion - Porch].motion = inactive with a delay of 521ms
+125ms ║Runtime (40366 bytes) successfully initialized in 54ms (v0.3.109.20181207) (122ms)
+126ms ║╔Execution stage started
+284ms ║╚Execution stage complete. (159ms)
+286ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 5:25:00 PM PST (in 7713.888s), with 1 more job pending
+296ms ╚Event processed successfully (296ms)
1/31/2019, 3:16:07 PM +469ms
+1ms ╔Received event [Motion - Porch].motion = active with a delay of 417ms
+121ms ║Runtime (40366 bytes) successfully initialized in 47ms (v0.3.109.20181207) (118ms)
+122ms ║╔Execution stage started
+192ms ║╚Execution stage complete. (70ms)
+194ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 5:25:00 PM PST (in 7732.338s), with 1 more job pending
+205ms ╚Event processed successfully (205ms)
1/31/2019, 3:16:05 PM +829ms
+2ms ╔Received event [Motion - Porch].motion = inactive with a delay of 419ms
+128ms ║Runtime (40366 bytes) successfully initialized in 55ms (v0.3.109.20181207) (125ms)
+129ms ║╔Execution stage started
+203ms ║╚Execution stage complete. (74ms)
+205ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 5:25:00 PM PST (in 7733.967s), with 1 more job pending
+219ms ╚Event processed successfully (218ms)
1/31/2019, 3:15:37 PM +459ms
+1ms ╔Received event [Motion - Porch].motion = active with a delay of 427ms
+132ms ║Runtime (40366 bytes) successfully initialized in 54ms (v0.3.109.20181207) (130ms)
+133ms ║╔Execution stage started
+205ms ║╚Execution stage complete. (72ms)
+208ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 5:25:00 PM PST (in 7762.334s), with 1 more job pending
+219ms ╚Event processed successfully (219ms)
1/31/2019, 2:53:47 PM +713ms
+1ms ╔Received event [Motion - Porch].motion = inactive with a delay of 1141ms
+113ms ║Runtime (40367 bytes) successfully initialized in 40ms (v0.3.109.20181207) (110ms)
+114ms ║╔Execution stage started
+183ms ║╚Execution stage complete. (69ms)
+185ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 5:25:00 PM PST (in 9072.103s), with 1 more job pending
+196ms ╚Event processed successfully (196ms)
1/31/2019, 2:53:14 PM +409ms
+1ms ╔Received event [Motion - Porch].motion = active with a delay of 1079ms
+109ms ║Runtime (40367 bytes) successfully initialized in 43ms (v0.3.109.20181207) (107ms)
+110ms ║╔Execution stage started
+177ms ║╚Execution stage complete. (67ms)
+179ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 5:25:00 PM PST (in 9105.413s), with 1 more job pending
+190ms ╚Event processed successfully (190ms)
1/31/2019, 1:41:41 PM +634ms
+1ms ╔Received event [Motion - Porch].motion = inactive with a delay of 350ms
+133ms ║Runtime (40366 bytes) successfully initialized in 53ms (v0.3.109.20181207) (131ms)
+135ms ║╔Execution stage started
+207ms ║╚Execution stage complete. (73ms)
+209ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 5:25:00 PM PST (in 13398.158s), with 1 more job pending
+222ms ╚Event processed successfully (221ms)
1/31/2019, 1:41:24 PM +568ms
+1ms ╔Received event [Motion - Porch].motion = active with a delay of 445ms
+110ms ║Runtime (40366 bytes) successfully initialized in 41ms (v0.3.109.20181207) (107ms)
+111ms ║╔Execution stage started
+177ms ║╚Execution stage complete. (67ms)
+179ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 5:25:00 PM PST (in 13415.254s), with 1 more job pending
+191ms ╚Event processed successfully (191ms)
1/31/2019, 1:35:10 PM +80ms
+2ms ╔Received event [Motion - Porch].motion = inactive with a delay of 767ms
+129ms ║Runtime (40366 bytes) successfully initialized in 55ms (v0.3.109.20181207) (126ms)
+130ms ║╔Execution stage started
+204ms ║╚Execution stage complete. (74ms)
+206ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 5:25:00 PM PST (in 13789.715s), with 1 more job pending
+218ms ╚Event processed successfully (217ms)
1/31/2019, 1:34:51 PM +593ms
+1ms ╔Received event [Motion - Porch].motion = active with a delay of 740ms
+107ms ║Runtime (40366 bytes) successfully initialized in 43ms (v0.3.109.20181207) (104ms)
+108ms ║╔Execution stage started
+177ms ║╚Execution stage complete. (69ms)
+179ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 5:25:00 PM PST (in 13808.229s), with 1 more job pending
+191ms ╚Event processed successfully (191ms)
1/31/2019, 1:27:49 PM +973ms
+2ms ╔Received event [Motion - Porch].motion = inactive with a delay of 332ms
+111ms ║Runtime (40366 bytes) successfully initialized in 44ms (v0.3.109.20181207) (109ms)
+112ms ║╔Execution stage started
+182ms ║╚Execution stage complete. (69ms)
+184ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 5:25:00 PM PST (in 14229.844s), with 1 more job pending
+195ms ╚Event processed successfully (195ms)
1/31/2019, 12:28:39 PM +905ms
+1ms ╔Received event [Motion - Porch].motion = active with a delay of 438ms
+101ms ║Runtime (40366 bytes) successfully initialized in 38ms (v0.3.109.20181207) (99ms)
+102ms ║╔Execution stage started
+168ms ║╚Execution stage complete. (66ms)
+170ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 5:25:00 PM PST (in 17779.925s), with 1 more job pending
+182ms ╚Event processed successfully (181ms)
1/31/2019, 11:57:47 AM +854ms
+1ms ╔Received event [Motion - Porch].motion = inactive with a delay of 620ms
+118ms ║Runtime (40366 bytes) successfully initialized in 49ms (v0.3.109.20181207) (116ms)
+119ms ║╔Execution stage started
+184ms ║╚Execution stage complete. (64ms)
+186ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 5:25:00 PM PST (in 19631.961s), with 1 more job pending
+197ms ╚Event processed successfully (197ms)
1/31/2019, 11:57:30 AM +996ms
+1ms ╔Received event [Motion - Porch].motion = active with a delay of 681ms
+171ms ║Runtime (40366 bytes) successfully initialized in 65ms (v0.3.109.20181207) (168ms)
+173ms ║╔Execution stage started
+268ms ║╚Execution stage complete. (96ms)
+271ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 5:25:00 PM PST (in 19648.734s), with 1 more job pending
+283ms ╚Event processed successfully (284ms)
1/31/2019, 11:44:40 AM +237ms
+2ms ╔Received event [Motion - Porch].motion = inactive with a delay of 683ms
+406ms ║Runtime (40366 bytes) successfully initialized in 58ms (v0.3.109.20181207) (402ms)
+407ms ║╔Execution stage started
+477ms ║╚Execution stage complete. (70ms)
+480ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 5:25:00 PM PST (in 20419.284s), with 1 more job pending
+492ms ╚Event processed successfully (491ms)
1/31/2019, 11:44:22 AM +63ms
+1ms ╔Received event [Motion - Porch].motion = active with a delay of 646ms
+116ms ║Runtime (40366 bytes) successfully initialized in 46ms (v0.3.109.20181207) (114ms)
+117ms ║╔Execution stage started
+186ms ║╚Execution stage complete. (68ms)
+188ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 5:25:00 PM PST (in 20437.75s), with 1 more job pending
+199ms ╚Event processed successfully (199ms)
1/31/2019, 11:15:18 AM +792ms
+2ms ╔Received event [Motion - Porch].motion = inactive with a delay of 299ms
+114ms ║Runtime (40366 bytes) successfully initialized in 46ms (v0.3.109.20181207) (111ms)
+115ms ║╔Execution stage started
+184ms ║╚Execution stage complete. (69ms)
+187ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 5:25:00 PM PST (in 22181.022s), with 1 more job pending
+198ms ╚Event processed successfully (198ms)
1/31/2019, 11:14:57 AM +669ms
+1ms ╔Received event [Motion - Porch].motion = active with a delay of 292ms
+107ms ║Runtime (40366 bytes) successfully initialized in 38ms (v0.3.109.20181207) (105ms)
+108ms ║╔Execution stage started
+178ms ║╚Execution stage complete. (70ms)
+180ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 5:25:00 PM PST (in 22202.151s), with 1 more job pending
+193ms ╚Event processed successfully (192ms)
1/31/2019, 10:56:54 AM +243ms
+2ms ╔Received event [Motion - Porch].motion = inactive with a delay of 352ms
+113ms ║Runtime (40366 bytes) successfully initialized in 44ms (v0.3.109.20181207) (110ms)
+115ms ║╔Execution stage started
+183ms ║╚Execution stage complete. (69ms)
+185ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 5:25:00 PM PST (in 23285.572s), with 1 more job pending
+196ms ╚Event processed successfully (196ms)
1/31/2019, 10:56:34 AM +511ms
+2ms ╔Received event [Motion - Porch].motion = active with a delay of 330ms
+130ms ║Runtime (40366 bytes) successfully initialized in 54ms (v0.3.109.20181207) (127ms)
+131ms ║╔Execution stage started
+206ms ║╚Execution stage complete. (75ms)
+209ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 5:25:00 PM PST (in 23305.281s), with 1 more job pending
+220ms ╚Event processed successfully (220ms)
1/31/2019, 10:28:18 AM +109ms
+2ms ╔Received event [Motion - Porch].motion = inactive with a delay of 491ms
+133ms ║Runtime (40366 bytes) successfully initialized in 56ms (v0.3.109.20181207) (129ms)
+134ms ║╔Execution stage started
+204ms ║╚Execution stage complete. (71ms)
+207ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 5:25:00 PM PST (in 25001.685s), with 1 more job pending
+219ms ╚Event processed successfully (218ms)
1/31/2019, 10:23:07 AM +931ms
+2ms ╔Received event [Motion - Porch].motion = active with a delay of 398ms
+128ms ║Runtime (40366 bytes) successfully initialized in 54ms (v0.3.109.20181207) (125ms)
+129ms ║╔Execution stage started
+200ms ║╚Execution stage complete. (71ms)
+202ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 5:25:00 PM PST (in 25311.868s), with 1 more job pending
+213ms ╚Event processed successfully (213ms)
1/31/2019, 10:15:05 AM +152ms
+1ms ╔Received event [Motion - Porch].motion = inactive with a delay of 817ms
+121ms ║Runtime (40366 bytes) successfully initialized in 39ms (v0.3.109.20181207) (119ms)
+122ms ║╔Execution stage started
+192ms ║╚Execution stage complete. (70ms)
+195ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 5:25:00 PM PST (in 25794.654s), with 1 more job pending
+206ms ╚Event processed successfully (206ms)
1/31/2019, 10:14:47 AM +226ms
+2ms ╔Received event [Motion - Porch].motion = active with a delay of 840ms
+128ms ║Runtime (40366 bytes) successfully initialized in 46ms (v0.3.109.20181207) (125ms)
+130ms ║╔Execution stage started
+199ms ║╚Execution stage complete. (70ms)
+201ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 5:25:00 PM PST (in 25812.574s), with 1 more job pending
+220ms ╚Event processed successfully (220ms)
1/31/2019, 10:03:35 AM +481ms
+2ms ╔Received event [Motion - Porch].motion = inactive with a delay of 146ms
+115ms ║Runtime (40366 bytes) successfully initialized in 47ms (v0.3.109.20181207) (113ms)
+116ms ║╔Execution stage started
+185ms ║╚Execution stage complete. (69ms)
+187ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 5:25:00 PM PST (in 26484.333s), with 1 more job pending
+198ms ╚Event processed successfully (198ms)
1/31/2019, 10:03:17 AM +349ms
+2ms ╔Received event [Motion - Porch].motion = active with a delay of 179ms
+127ms ║Runtime (40366 bytes) successfully initialized in 56ms (v0.3.109.20181207) (124ms)
+129ms ║╔Execution stage started
+199ms ║╚Execution stage complete. (71ms)
+202ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 5:25:00 PM PST (in 26502.45s), with 1 more job pending
+214ms ╚Event processed successfully (213ms)
1/31/2019, 9:43:41 AM +420ms
+1ms ╔Received event [Motion - Porch].motion = inactive with a delay of 894ms
+110ms ║Runtime (40366 bytes) successfully initialized in 39ms (v0.3.109.20181207) (108ms)
+111ms ║╔Execution stage started
+182ms ║╚Execution stage complete. (71ms)
+184ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 5:25:00 PM PST (in 27678.396s), with 1 more job pending
+196ms ╚Event processed successfully (196ms)
1/31/2019, 9:43:06 AM +968ms
+1ms ╔Received event [Motion - Porch].motion = active with a delay of 912ms
+128ms ║Runtime (40366 bytes) successfully initialized in 55ms (v0.3.109.20181207) (125ms)
+129ms ║╔Execution stage started
+196ms ║╚Execution stage complete. (68ms)
+198ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 5:25:00 PM PST (in 27712.835s), with 1 more job pending
+209ms ╚Event processed successfully (209ms)
1/31/2019, 9:08:08 AM +0ms
+1ms ╔Received event [Motion - Porch].motion = inactive with a delay of 250ms
+111ms ║Runtime (40366 bytes) successfully initialized in 41ms (v0.3.109.20181207) (109ms)
+112ms ║╔Execution stage started
+180ms ║╚Execution stage complete. (68ms)
+182ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 5:25:00 PM PST (in 29811.819s), with 1 more job pending
+194ms ╚Event processed successfully (194ms)
1/31/2019, 9:07:37 AM +792ms
+2ms ╔Received event [Motion - Porch].motion = active with a delay of 399ms
+127ms ║Runtime (40366 bytes) successfully initialized in 52ms (v0.3.109.20181207) (123ms)
+128ms ║╔Execution stage started
+200ms ║╚Execution stage complete. (72ms)
+202ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 5:25:00 PM PST (in 29842.007s), with 1 more job pending
+213ms ╚Event processed successfully (213ms)
1/31/2019, 8:42:55 AM +711ms
+1ms ╔Received event [Motion - Porch].motion = inactive with a delay of 586ms
+130ms ║Runtime (40366 bytes) successfully initialized in 56ms (v0.3.109.20181207) (128ms)
+132ms ║╔Execution stage started
+203ms ║╚Execution stage complete. (71ms)
+205ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 5:25:00 PM PST (in 31324.085s), with 1 more job pending
+217ms ╚Event processed successfully (217ms)
1/31/2019, 8:42:40 AM +698ms
+1ms ╔Received event [Motion - Porch].motion = active with a delay of 792ms
+112ms ║Runtime (40366 bytes) successfully initialized in 36ms (v0.3.109.20181207) (109ms)
+113ms ║╔Execution stage started
+180ms ║╚Execution stage complete. (68ms)
+183ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 5:25:00 PM PST (in 31339.12s), with 1 more job pending
+194ms ╚Event processed successfully (194ms)
1/31/2019, 8:33:52 AM +588ms
+2ms ╔Received event [Motion - Porch].motion = inactive with a delay of 369ms
+127ms ║Runtime (40366 bytes) successfully initialized in 52ms (v0.3.109.20181207) (124ms)
+128ms ║╔Execution stage started
+201ms ║╚Execution stage complete. (73ms)
+204ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 5:25:00 PM PST (in 31867.209s), with 1 more job pending
+214ms ╚Event processed successfully (214ms)
1/31/2019, 8:33:33 AM +413ms
+2ms ╔Received event [Motion - Porch].motion = active with a delay of 364ms
+217ms ║Runtime (40366 bytes) successfully initialized in 53ms (v0.3.109.20181207) (214ms)
+218ms ║╔Execution stage started
+287ms ║╚Execution stage complete. (70ms)
+290ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 5:25:00 PM PST (in 31886.298s), with 1 more job pending
+302ms ╚Event processed successfully (301ms)
1/31/2019, 8:31:11 AM +179ms
+1ms ╔Received event [Motion - Porch].motion = inactive with a delay of 930ms
+108ms ║Runtime (40366 bytes) successfully initialized in 41ms (v0.3.109.20181207) (106ms)
+109ms ║╔Execution stage started
+177ms ║╚Execution stage complete. (68ms)
+179ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 5:25:00 PM PST (in 32028.643s), with 1 more job pending
+189ms ╚Event processed successfully (190ms)
1/31/2019, 8:27:09 AM +7ms
+2ms ╔Received event [Motion - Porch].motion = active with a delay of 331ms
+127ms ║Runtime (40366 bytes) successfully initialized in 56ms (v0.3.109.20181207) (124ms)
+128ms ║╔Execution stage started
+205ms ║╚Execution stage complete. (77ms)
+207ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 5:25:00 PM PST (in 32270.787s), with 1 more job pending
+218ms ╚Event processed successfully (218ms)
1/31/2019, 8:25:27 AM +609ms
+1ms ╔Received event [Motion - Porch].motion = inactive with a delay of 322ms
+108ms ║Runtime (40366 bytes) successfully initialized in 42ms (v0.3.109.20181207) (106ms)
+109ms ║╔Execution stage started
+181ms ║╚Execution stage complete. (71ms)
+183ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 5:25:00 PM PST (in 32372.209s), with 1 more job pending
+195ms ╚Event processed successfully (196ms)
1/31/2019, 8:25:08 AM +405ms
+2ms ╔Received event [Motion - Porch].motion = active with a delay of 319ms
+125ms ║Runtime (40366 bytes) successfully initialized in 49ms (v0.3.109.20181207) (121ms)
+126ms ║╔Execution stage started
+199ms ║╚Execution stage complete. (72ms)
+201ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 5:25:00 PM PST (in 32391.395s), with 1 more job pending
+213ms ╚Event processed successfully (213ms)
1/31/2019, 8:20:15 AM +483ms
+1ms ╔Received event [Motion - Porch].motion = inactive with a delay of 1084ms
+128ms ║Runtime (40367 bytes) successfully initialized in 54ms (v0.3.109.20181207) (125ms)
+129ms ║╔Execution stage started
+206ms ║╚Execution stage complete. (78ms)
+209ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 5:25:00 PM PST (in 32684.309s), with 1 more job pending
+220ms ╚Event processed successfully (221ms)
1/31/2019, 8:19:49 AM +333ms
+1ms ╔Received event [Motion - Porch].motion = active with a delay of 985ms
+110ms ║Runtime (40366 bytes) successfully initialized in 45ms (v0.3.109.20181207) (108ms)
+111ms ║╔Execution stage started
+179ms ║╚Execution stage complete. (67ms)
+181ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 5:25:00 PM PST (in 32710.487s), with 1 more job pending
+193ms ╚Event processed successfully (193ms)
1/31/2019, 8:19:06 AM +424ms
+1ms ╔Received event [Motion - Porch].motion = inactive with a delay of 976ms
+102ms ║Runtime (40366 bytes) successfully initialized in 37ms (v0.3.109.20181207) (99ms)
+103ms ║╔Execution stage started
+172ms ║╚Execution stage complete. (69ms)
+174ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 5:25:00 PM PST (in 32753.403s), with 1 more job pending
+187ms ╚Event processed successfully (186ms)
1/31/2019, 8:18:40 AM +901ms
+1ms ╔Received event [Motion - Porch].motion = active with a delay of 1003ms
+130ms ║Runtime (40367 bytes) successfully initialized in 52ms (v0.3.109.20181207) (127ms)
+131ms ║╔Execution stage started
+201ms ║╚Execution stage complete. (70ms)
+203ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 5:25:00 PM PST (in 32778.897s), with 1 more job pending
+257ms ╚Event processed successfully (256ms)
1/31/2019, 8:16:23 AM +723ms
+2ms ╔Received event [Motion - Porch].motion = inactive with a delay of 558ms
+126ms ║Runtime (40366 bytes) successfully initialized in 52ms (v0.3.109.20181207) (124ms)
+127ms ║╔Execution stage started
+197ms ║╚Execution stage complete. (70ms)
+199ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 5:25:00 PM PST (in 32916.079s), with 1 more job pending
+211ms ╚Event processed successfully (210ms)
1/31/2019, 8:16:06 AM +896ms
+2ms ╔Received event [Motion - Porch].motion = active with a delay of 361ms
+103ms ║Runtime (40366 bytes) successfully initialized in 37ms (v0.3.109.20181207) (100ms)
+104ms ║╔Execution stage started
+171ms ║╚Execution stage complete. (67ms)
+174ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 5:25:00 PM PST (in 32932.931s), with 1 more job pending
+183ms ╚Event processed successfully (183ms)
1/31/2019, 8:14:32 AM +700ms
+2ms ╔Received event [Motion - Porch].motion = inactive with a delay of 384ms
+138ms ║Runtime (40365 bytes) successfully initialized in 60ms (v0.3.109.20181207) (134ms)
+139ms ║╔Execution stage started
+213ms ║╚Execution stage complete. (73ms)
+215ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 5:25:00 PM PST (in 33027.086s), with 1 more job pending
+227ms ╚Event processed successfully (226ms)
1/31/2019, 8:14:05 AM +601ms
+1ms ╔Received event [Motion - Porch].motion = active with a delay of 366ms
+104ms ║Runtime (40363 bytes) successfully initialized in 38ms (v0.3.109.20181207) (102ms)
+106ms ║╔Execution stage started
+174ms ║╚Execution stage complete. (69ms)
+177ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 5:25:00 PM PST (in 33054.223s), with 1 more job pending
+188ms ╚Event processed successfully (188ms)
1/31/2019, 7:28:19 AM +115ms
+0ms ╔Received event [Home].time = 1548948499397 with a delay of -283ms
+121ms ║Runtime (40354 bytes) successfully initialized in 48ms (v0.3.109.20181207) (120ms)
+123ms ║╔Execution stage started
+441ms ║╚Execution stage complete. (319ms)
+443ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 5:25:00 PM PST (in 35800.442s), with 1 more job pending
+451ms ╚Event processed successfully (451ms)
1/31/2019, 7:28:16 AM +107ms
+0ms ╔Received event [Home].time = 1548948496396 with a delay of -290ms
+144ms ║Runtime (40354 bytes) successfully initialized in 58ms (v0.3.109.20181207) (142ms)
+145ms ║╔Execution stage started
+592ms ║╚Execution stage complete. (446ms)
+595ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 7:28:19 AM PST (in 2.696s), with 4 more jobs pending
+604ms ╚Event processed successfully (605ms)
1/31/2019, 7:28:13 AM +94ms
+1ms ╔Received event [Home].time = 1548948493396 with a delay of -302ms
+167ms ║Runtime (40354 bytes) successfully initialized in 64ms (v0.3.109.20181207) (164ms)
+169ms ║╔Execution stage started
+219ms ║╚Execution stage complete. (51ms)
+223ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 7:28:16 AM PST (in 3.08s), with 5 more jobs pending
+233ms ╚Event processed successfully (232ms)
1/31/2019, 7:28:08 AM +150ms
+1ms ╔Received event [Home].time = 1548948487395 with a delay of 754ms
+210ms ║Runtime (40353 bytes) successfully initialized in 84ms (v0.3.109.20181207) (208ms)
+212ms ║╔Execution stage started
+2271ms ║╚Execution stage complete. (2060ms)
+2276ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 7:28:13 AM PST (in 2.971s), with 6 more jobs pending
+2285ms ╚Event processed successfully (2284ms)
1/31/2019, 7:28:05 AM +59ms
+1ms ╔Received event [Home].time = 1548948484394 with a delay of 665ms
+115ms ║Runtime (40353 bytes) successfully initialized in 45ms (v0.3.109.20181207) (113ms)
+117ms ║╔Execution stage started
+146ms ║╚Execution stage complete. (30ms)
+151ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 7:28:07 AM PST (in 2.186s), with 8 more jobs pending
+160ms ╚Event processed successfully (159ms)
1/31/2019, 7:28:01 AM +95ms
+1ms ╔Received event [Home].time = 1548948481393 with a delay of -298ms
+212ms ║Runtime (40354 bytes) successfully initialized in 91ms (v0.3.109.20181207) (210ms)
+214ms ║╔Execution stage started
+916ms ║╚Execution stage complete. (702ms)
+922ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 7:28:04 AM PST (in 2.378s), with 9 more jobs pending
+931ms ╚Event processed successfully (930ms)
1/31/2019, 7:27:58 AM +65ms
+1ms ╔Received event [Home].time = 1548948478393 with a delay of -328ms
+270ms ║Runtime (40354 bytes) successfully initialized in 43ms (v0.3.109.20181207) (267ms)
+271ms ║╔Execution stage started
+683ms ║╚Execution stage complete. (412ms)
+689ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 7:28:01 AM PST (in 2.64s), with 10 more jobs pending
+699ms ╚Event processed successfully (699ms)
1/31/2019, 7:27:55 AM +61ms
+1ms ╔Received event [Home].time = 1548948475392 with a delay of -332ms
+134ms ║Runtime (40354 bytes) successfully initialized in 41ms (v0.3.109.20181207) (132ms)
+135ms ║╔Execution stage started
+198ms ║╚Execution stage complete. (63ms)
+204ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 7:27:58 AM PST (in 3.129s), with 11 more jobs pending
+212ms ╚Event processed successfully (212ms)
1/31/2019, 7:27:52 AM +147ms
+0ms ╔Received event [Home].time = 1548948472391 with a delay of -245ms
+139ms ║Runtime (40354 bytes) successfully initialized in 58ms (v0.3.109.20181207) (138ms)
+141ms ║╔Execution stage started
+281ms ║╚Execution stage complete. (140ms)
+287ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 7:27:55 AM PST (in 2.959s), with 12 more jobs pending
+297ms ╚Event processed successfully (296ms)
1/31/2019, 7:27:49 AM +69ms
+1ms ╔Received event [Home].time = 1548948469807 with a delay of -738ms
+153ms ║Runtime (40354 bytes) successfully initialized in 54ms (v0.3.109.20181207) (151ms)
+155ms ║╔Execution stage started
+329ms ║║Executed virtual command [Front Porch Light].fadeLevel (143ms)
+331ms ║║Requesting a wake up for Thu, Jan 31 2019 @ 7:28:19 AM PST (in 30.1s)
+346ms ║╚Execution stage complete. (191ms)
+351ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 7:27:52 AM PST (in 2.971s), with 13 more jobs pending
+358ms ╚Event processed successfully (358ms)
1/31/2019, 7:13:47 AM +104ms
+1ms ╔Received event [Home].time = 1548947627451 with a delay of -347ms
+176ms ║Runtime (40354 bytes) successfully initialized in 74ms (v0.3.109.20181207) (173ms)
+177ms ║╔Execution stage started
+1984ms ║╚Execution stage complete. (1807ms)
+1987ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 7:27:49 AM PST (in 840.717s), with 2 more jobs pending
+1997ms ╚Event processed successfully (1997ms)
1/31/2019, 7:13:42 AM +147ms
+0ms ╔Received event [Home].time = 1548947622450 with a delay of -304ms
+123ms ║Runtime (40354 bytes) successfully initialized in 45ms (v0.3.109.20181207) (121ms)
+124ms ║╔Execution stage started
+865ms ║╚Execution stage complete. (741ms)
+868ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 7:13:47 AM PST (in 4.436s), with 5 more jobs pending
+877ms ╚Event processed successfully (878ms)
1/31/2019, 7:13:36 AM +84ms
+0ms ╔Received event [Home].time = 1548947617449 with a delay of -1366ms
+319ms ║Runtime (40356 bytes) successfully initialized in 195ms (v0.3.109.20181207) (316ms)
+320ms ║╔Execution stage started
+346ms ║╚Execution stage complete. (27ms)
+350ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 7:13:42 AM PST (in 6.017s), with 6 more jobs pending
+359ms ╚Event processed successfully (359ms)
1/31/2019, 7:13:32 AM +274ms
+1ms ╔Received event [Home].time = 1548947612448 with a delay of -174ms
+171ms ║Runtime (40354 bytes) successfully initialized in 77ms (v0.3.109.20181207) (169ms)
+173ms ║╔Execution stage started
+204ms ║╚Execution stage complete. (31ms)
+209ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 7:13:37 AM PST (in 4.967s), with 7 more jobs pending
+218ms ╚Event processed successfully (218ms)
1/31/2019, 7:13:26 AM +116ms
+0ms ╔Received event [Home].time = 1548947607447 with a delay of -1332ms
+146ms ║Runtime (40355 bytes) successfully initialized in 65ms (v0.3.109.20181207) (144ms)
+147ms ║╔Execution stage started
+178ms ║╚Execution stage complete. (30ms)
+184ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 7:13:32 AM PST (in 6.149s), with 8 more jobs pending
+194ms ╚Event processed successfully (194ms)
1/31/2019, 7:13:22 AM +163ms
+1ms ╔Received event [Home].time = 1548947602446 with a delay of -283ms
+138ms ║Runtime (40354 bytes) successfully initialized in 53ms (v0.3.109.20181207) (136ms)
+140ms ║╔Execution stage started
+351ms ║╚Execution stage complete. (211ms)
+356ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 7:13:27 AM PST (in 4.929s), with 9 more jobs pending
+366ms ╚Event processed successfully (366ms)
1/31/2019, 7:13:16 AM +100ms
+1ms ╔Received event [Home].time = 1548947597445 with a delay of -1345ms
+110ms ║Runtime (40355 bytes) successfully initialized in 42ms (v0.3.109.20181207) (107ms)
+111ms ║╔Execution stage started
+145ms ║╚Execution stage complete. (34ms)
+150ms ║Setting up scheduled job for Thu, Jan 31 2019 @ 7:13:22 AM PST (in 6.197s), with 10 more jobs pending
+160ms ╚Event processed successfully (160ms)


#2

It looks like the fade down at sunrise is hanging up.

Is there any chance you can change line 56 to say:
Turn Off
instead of a fade?

My logic is:
An instant command is soooo much more efficient than a fade.


Alternatively, you can add a block to this piston with something like this:

Every day at 2 minutes past sunrise
    Turn off bulb
End Every

#3

Is that what you see? Damn That was my one thought so putting a second turn off x min after sunset would solve this. The crazy windy weather the past few days would explain that.

I do the long fade to not trigger the motion sensor on my doorbell camera. The twice daily alert was getting annoying.

I will add the second off and report back. Thanks!


#4

No if condition at line 42.


#5

Oh good catch. Didn’t even see that. Though its working perfectly. OCD side of me had to fix it.
So far day one with the suggested changes it working perfectly. Thanks again for the help

Included the latest version for anyone who wants something similar.