Variable Default Value Not Being Set


#1

1) Give a description of the problem
I have piston that is designed to turn on my outside lights at sunset. It will change the colors of those lights based on the date (Christmas time is red/green/blue/etc, Fourth of July is red/white/blue, etc). On all other “undefined” days, the lights turn on set to the default value “Warm White”.

2) What is the expected behaviour?
On dates that are not defined, the lights turn on and are set to the default color “Warm White”.

3) What is happening/not happening?
On dates that are not defined, the lights are turning on and are set to the color “White” (not “Warm White”). This is a harsh 5000k or so, and is unpleasing to the eye.

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

5) Attach logs after turning logging level to Full
1/7/2021, 9:59:59 PM +76ms
+0ms ╔Received event [Home].time = 1610078400000 with a delay of -925ms
+93ms ║RunTime Analysis CS > 18ms > PS > 6ms > PE > 70ms > CE
+96ms ║Runtime (53485 bytes) successfully initialized in 6ms (v0.3.110.20191009) (95ms)
+97ms ║╔Execution stage started
+105ms ║║Evaluating switch with values [[i:1:null:0, v:[t:date, v:1609999200000, d:2, vt:string]]]
+110ms ║║Calculating (string) 04/21/ + (string) 2021 >> (string) 04/21/2021
+116ms ║║Comparison (date) 1609999200000 is (date) 1618981200000 = false (4ms)
+121ms ║║Calculating (string) 07/04/ + (string) 2021 >> (string) 07/04/2021
+127ms ║║Comparison (date) 1609999200000 is (date) 1625374800000 = false (2ms)
+134ms ║║Calculating (string) 07/28/ + (string) 2021 >> (string) 07/28/2021
+139ms ║║Comparison (date) 1609999200000 is (date) 1627448400000 = false (2ms)
+144ms ║║Calculating (string) 10/25/ + (string) 2021 >> (string) 10/25/2021
+149ms ║║Comparison (date) 1609999200000 is (date) 1635138000000 = false (2ms)
+154ms ║║Calculating (string) 10/31/ + (string) 2021 >> (string) 10/31/2021
+159ms ║║Comparison (date) 1609999200000 is (date) 1635656400000 = false (3ms)
+164ms ║║Calculating (string) 12/01/ + (string) 2021 >> (string) 12/01/2021
+171ms ║║Calculating (string) 12/31/ + (string) 2021 >> (string) 12/31/2021
+176ms ║║Comparison (date) 1609999200000 is_inside_of_range (date) 1638338400000 … (date) 1640930400000 = false (3ms)
+182ms ║║Calculating (string) 02/14/ + (string) 2021 >> (string) 02/14/2021
+187ms ║║Comparison (date) 1609999200000 is (date) 1613282400000 = false (2ms)
+192ms ║║Calculating (string) 03/31/ + (string) 2021 >> (string) 03/31/2021
+197ms ║║Comparison (date) 1609999200000 is (date) 1617166800000 = false (2ms)
+202ms ║║Calculating (string) 01/06/ + (string) 2021 >> (string) 01/06/2021
+207ms ║║Comparison (date) 1609999200000 is (date) 1609912800000 = false (2ms)
+209ms ║║Cancelling statement #18’s schedules…
+214ms ║║Executed virtual command setVariable (3ms)
+219ms ║║Executed virtual command setVariable (3ms)
+225ms ║║Executed virtual command setVariable (2ms)
+230ms ║║Executed virtual command setVariable (3ms)
+235ms ║║Executed virtual command setVariable (2ms)
+241ms ║║Executed virtual command setVariable (3ms)
+334ms ║║Comparison (time) 79199321 happens_daily_at (time) 1610059740000 = false (0ms)
+336ms ║║Cancelling condition #56’s schedules…
+337ms ║║Condition #56 evaluated false (91ms)
+338ms ║║Cancelling statement #56’s schedules…
+343ms ║║Requesting time schedule wake up at Fri, Jan 8 2021 @ 4:49:00 PM CST
+345ms ║║Cancelling condition #55’s schedules…
+346ms ║║Condition group #55 evaluated false (state changed) (101ms)
+351ms ║║Comparison (time) 79199425 happens_daily_at (time) 79200000 = true (1ms)
+352ms ║║Time restriction check passed
+354ms ║║Cancelling condition #79’s schedules…
+355ms ║║Condition #79 evaluated true (7ms)
+356ms ║║Cancelling statement #79’s schedules…
+360ms ║║Requesting time schedule wake up at Fri, Jan 8 2021 @ 10:00:00 PM CST
+363ms ║║Cancelling condition #78’s schedules…
+364ms ║║Condition group #78 evaluated true (state changed) (15ms)
+366ms ║║Cancelling statement #86’s schedules…
+10133ms ║║Executed physical command [Outside Light 01].setLevel([10]) (9761ms)
+10134ms ║║Executed [Outside Light 01].setLevel (9763ms)
+10156ms ║║Executed physical command [Outside Light 02].setLevel([10]) (20ms)
+10157ms ║║Executed [Outside Light 02].setLevel (21ms)
+10179ms ║║Executed physical command [Outside Light 03].setLevel([10]) (20ms)
+10180ms ║║Executed [Outside Light 03].setLevel (21ms)
+10202ms ║║Executed physical command [Outside Light 04].setLevel([10]) (19ms)
+10203ms ║║Executed [Outside Light 04].setLevel (21ms)
+10206ms ║║Cancelling statement #88’s schedules…
+10221ms ║║Executed physical command [Gardenspot mini RGB].setLevel([30]) (9ms)
+10222ms ║║Executed [Gardenspot mini RGB].setLevel (11ms)
+10228ms ║║Comparison (time) 79209302 happens_daily_at (time) 1610027580000 = false (0ms)
+10230ms ║║Condition #73 evaluated false (5ms)
+10232ms ║║Cancelling statement #73’s schedules…
+10237ms ║║Requesting time schedule wake up at Fri, Jan 8 2021 @ 7:53:00 AM CST
+10240ms ║║Condition group #72 evaluated false (state did not change) (14ms)
+10244ms ║╚Execution stage complete. (10147ms)
+10246ms ║Setting up scheduled job for Thu, Jan 7 2021 @ 11:30:00 PM CST (in 5390.678s), with 3 more jobs pending
+10252ms ╚Event processed successfully (10252ms)
1/7/2021, 4:48:59 PM +64ms
+1ms ╔Received event [Home].time = 1610059740000 with a delay of -936ms
+82ms ║RunTime Analysis CS > 23ms > PS > 4ms > PE > 54ms > CE
+85ms ║Runtime (53482 bytes) successfully initialized in 4ms (v0.3.110.20191009) (83ms)
+86ms ║╔Execution stage started
+93ms ║║Evaluating switch with values [[i:1:null:0, v:[t:date, v:1609999200000, d:2, vt:string]]]
+98ms ║║Calculating (string) 04/21/ + (string) 2021 >> (string) 04/21/2021
+103ms ║║Comparison (date) 1609999200000 is (date) 1618981200000 = false (3ms)
+108ms ║║Calculating (string) 07/04/ + (string) 2021 >> (string) 07/04/2021
+112ms ║║Comparison (date) 1609999200000 is (date) 1625374800000 = false (2ms)
+117ms ║║Calculating (string) 07/28/ + (string) 2021 >> (string) 07/28/2021
+121ms ║║Comparison (date) 1609999200000 is (date) 1627448400000 = false (2ms)
+126ms ║║Calculating (string) 10/25/ + (string) 2021 >> (string) 10/25/2021
+130ms ║║Comparison (date) 1609999200000 is (date) 1635138000000 = false (2ms)
+135ms ║║Calculating (string) 10/31/ + (string) 2021 >> (string) 10/31/2021
+139ms ║║Comparison (date) 1609999200000 is (date) 1635656400000 = false (2ms)
+144ms ║║Calculating (string) 12/01/ + (string) 2021 >> (string) 12/01/2021
+150ms ║║Calculating (string) 12/31/ + (string) 2021 >> (string) 12/31/2021
+155ms ║║Comparison (date) 1609999200000 is_inside_of_range (date) 1638338400000 … (date) 1640930400000 = false (3ms)
+160ms ║║Calculating (string) 02/14/ + (string) 2021 >> (string) 02/14/2021
+165ms ║║Comparison (date) 1609999200000 is (date) 1613282400000 = false (2ms)
+169ms ║║Calculating (string) 03/31/ + (string) 2021 >> (string) 03/31/2021
+174ms ║║Comparison (date) 1609999200000 is (date) 1617166800000 = false (2ms)
+178ms ║║Calculating (string) 01/06/ + (string) 2021 >> (string) 01/06/2021
+183ms ║║Comparison (date) 1609999200000 is (date) 1609912800000 = false (2ms)
+185ms ║║Cancelling statement #18’s schedules…
+190ms ║║Executed virtual command setVariable (3ms)
+195ms ║║Executed virtual command setVariable (3ms)
+200ms ║║Executed virtual command setVariable (3ms)
+204ms ║║Executed virtual command setVariable (2ms)
+209ms ║║Executed virtual command setVariable (2ms)
+214ms ║║Executed virtual command setVariable (3ms)
+253ms ║║Comparison (time) 60539281 happens_daily_at (time) 1610059740000 = true (0ms)
+255ms ║║Time restriction check passed
+256ms ║║Cancelling condition #56’s schedules…
+257ms ║║Condition #56 evaluated true (39ms)
+258ms ║║Cancelling statement #56’s schedules…
+262ms ║║Requesting time schedule wake up at Fri, Jan 8 2021 @ 4:49:00 PM CST
+264ms ║║Cancelling condition #55’s schedules…
+265ms ║║Condition group #55 evaluated true (state changed) (48ms)
+267ms ║║Cancelling statement #57’s schedules…
+857ms ║║Executed physical command [Outside Light 01].setColor([[hex: #DAF17E, hue:20, saturation:20, level:72]]) (586ms)
+858ms ║║Executed [Outside Light 01].setColor (588ms)
+877ms ║║Executed physical command [Outside Light 01].setLevel([100]) (16ms)
+878ms ║║Executed [Outside Light 01].setLevel (18ms)
+880ms ║║Cancelling statement #60’s schedules…
+904ms ║║Executed physical command [Outside Light 02].setColor([[hex: #DAF17E, hue:20, saturation:20, level:72]]) (19ms)
+905ms ║║Executed [Outside Light 02].setColor (21ms)
+923ms ║║Executed physical command [Outside Light 02].setLevel([100]) (16ms)
+924ms ║║Executed [Outside Light 02].setLevel (17ms)
+926ms ║║Cancelling statement #63’s schedules…
+951ms ║║Executed physical command [Outside Light 03].setColor([[hex: #DAF17E, hue:20, saturation:20, level:72]]) (21ms)
+952ms ║║Executed [Outside Light 03].setColor (22ms)
+970ms ║║Executed physical command [Outside Light 03].setLevel([100]) (15ms)
+972ms ║║Executed [Outside Light 03].setLevel (16ms)
+975ms ║║Cancelling statement #66’s schedules…
+1000ms ║║Executed physical command [Outside Light 04].setColor([[hex: #DAF17E, hue:20, saturation:20, level:72]]) (20ms)
+1001ms ║║Executed [Outside Light 04].setColor (23ms)
+1020ms ║║Executed physical command [Outside Light 04].setLevel([100]) (15ms)
+1022ms ║║Executed [Outside Light 04].setLevel (18ms)
+1025ms ║║Cancelling statement #69’s schedules…
+1035ms ║║Executed physical command [Gardenspot mini RGB].setColor([[hex: #000000, hue:0, saturation:0, level:0]]) (4ms)
+1036ms ║║Executed [Gardenspot mini RGB].setColor (6ms)
+1046ms ║║Executed physical command [Gardenspot mini RGB].setLevel([100]) (7ms)
+1047ms ║║Executed [Gardenspot mini RGB].setLevel (8ms)
+1051ms ║║Cancelling statement #76’s schedules…
+1060ms ║║Skipped execution of physical command [Exterior Front].off([]) because it would make no change to the device. (4ms)
+1061ms ║║Executed virtual command [Exterior Front].setSwitch (6ms)
+1068ms ║║Comparison (time) 60540129 happens_daily_at (time) 1610027580000 = false (0ms)
+1070ms ║║Cancelling condition #73’s schedules…
+1071ms ║║Condition #73 evaluated false (7ms)
+1073ms ║║Cancelling statement #73’s schedules…
+1078ms ║║Requesting time schedule wake up at Fri, Jan 8 2021 @ 7:53:00 AM CST
+1081ms ║║Cancelling condition #72’s schedules…
+1082ms ║║Condition group #72 evaluated false (state changed) (18ms)
+1088ms ║╚Execution stage complete. (1002ms)
+1090ms ║Setting up scheduled job for Thu, Jan 7 2021 @ 10:00:00 PM CST (in 18659.846s), with 3 more jobs pending
+1102ms ╚Event processed successfully (1101ms)
1/7/2021, 7:52:59 AM +55ms
+0ms ╔Received event [Home].time = 1610027580000 with a delay of -945ms
+83ms ║RunTime Analysis CS > 22ms > PS > 4ms > PE > 57ms > CE
+86ms ║Runtime (53480 bytes) successfully initialized in 4ms (v0.3.110.20191009) (85ms)
+87ms ║╔Execution stage started
+95ms ║║Evaluating switch with values [[i:1:null:0, v:[t:date, v:1609999200000, d:2, vt:string]]]
+100ms ║║Calculating (string) 04/21/ + (string) 2021 >> (string) 04/21/2021
+105ms ║║Comparison (date) 1609999200000 is (date) 1618981200000 = false (2ms)
+111ms ║║Calculating (string) 07/04/ + (string) 2021 >> (string) 07/04/2021
+115ms ║║Comparison (date) 1609999200000 is (date) 1625374800000 = false (2ms)
+121ms ║║Calculating (string) 07/28/ + (string) 2021 >> (string) 07/28/2021
+126ms ║║Comparison (date) 1609999200000 is (date) 1627448400000 = false (2ms)
+131ms ║║Calculating (string) 10/25/ + (string) 2021 >> (string) 10/25/2021
+136ms ║║Comparison (date) 1609999200000 is (date) 1635138000000 = false (2ms)
+141ms ║║Calculating (string) 10/31/ + (string) 2021 >> (string) 10/31/2021
+145ms ║║Comparison (date) 1609999200000 is (date) 1635656400000 = false (2ms)
+150ms ║║Calculating (string) 12/01/ + (string) 2021 >> (string) 12/01/2021
+156ms ║║Calculating (string) 12/31/ + (string) 2021 >> (string) 12/31/2021
+161ms ║║Comparison (date) 1609999200000 is_inside_of_range (date) 1638338400000 … (date) 1640930400000 = false (3ms)
+166ms ║║Calculating (string) 02/14/ + (string) 2021 >> (string) 02/14/2021
+171ms ║║Comparison (date) 1609999200000 is (date) 1613282400000 = false (2ms)
+175ms ║║Calculating (string) 03/31/ + (string) 2021 >> (string) 03/31/2021
+180ms ║║Comparison (date) 1609999200000 is (date) 1617166800000 = false (2ms)
+185ms ║║Calculating (string) 01/06/ + (string) 2021 >> (string) 01/06/2021
+189ms ║║Comparison (date) 1609999200000 is (date) 1609912800000 = false (2ms)
+191ms ║║Cancelling statement #18’s schedules…
+197ms ║║Executed virtual command setVariable (3ms)
+201ms ║║Executed virtual command setVariable (2ms)
+206ms ║║Executed virtual command setVariable (2ms)
+211ms ║║Executed virtual command setVariable (2ms)
+216ms ║║Executed virtual command setVariable (2ms)
+221ms ║║Executed virtual command setVariable (2ms)
+260ms ║║Comparison (time) 28379279 happens_daily_at (time) 1610059740000 = false (0ms)
+262ms ║║Condition #56 evaluated false (39ms)
+266ms ║║Cancelling statement #56’s schedules…
+270ms ║║Requesting time schedule wake up at Thu, Jan 7 2021 @ 4:49:00 PM CST
+272ms ║║Condition group #55 evaluated false (state did not change) (49ms)
+276ms ║║Comparison (time) 28379330 happens_daily_at (time) 79200000 = false (0ms)
+278ms ║║Condition #79 evaluated false (4ms)
+284ms ║║Cancelling statement #79’s schedules…
+287ms ║║Requesting time schedule wake up at Thu, Jan 7 2021 @ 10:00:00 PM CST
+289ms ║║Condition group #78 evaluated false (state did not change) (15ms)
+293ms ║║Comparison (time) 28379346 happens_daily_at (time) 84600000 = false (0ms)
+295ms ║║Condition #81 evaluated false (3ms)
+296ms ║║Cancelling statement #81’s schedules…
+299ms ║║Requesting time schedule wake up at Thu, Jan 7 2021 @ 11:30:00 PM CST
+301ms ║║Condition group #80 evaluated false (state did not change) (10ms)
+307ms ║║Comparison (time) 28379359 happens_daily_at (time) 1610027580000 = true (1ms)
+308ms ║║Time restriction check passed
+309ms ║║Cancelling condition #73’s schedules…
+310ms ║║Condition #73 evaluated true (6ms)
+311ms ║║Cancelling statement #73’s schedules…
+315ms ║║Requesting time schedule wake up at Fri, Jan 8 2021 @ 7:53:00 AM CST
+317ms ║║Cancelling condition #72’s schedules…
+318ms ║║Condition group #72 evaluated true (state changed) (14ms)
+320ms ║║Cancelling statement #74’s schedules…
+328ms ║║Skipped execution of physical command [Deck Lights].off([]) because it would make no change to the device. (4ms)
+329ms ║║Executed [Deck Lights].off (6ms)
+335ms ║║Skipped execution of physical command [Exterior Front].off([]) because it would make no change to the device. (4ms)
+336ms ║║Executed [Exterior Front].off (5ms)
+346ms ║║Executed physical command [Gardenspot mini RGB].off() (8ms)
+347ms ║║Executed [Gardenspot mini RGB].off (10ms)
+935ms ║║Executed physical command [Outside Light 01].off() (585ms)
+936ms ║║Executed [Outside Light 01].off (587ms)
+957ms ║║Executed physical command [Outside Light 02].off() (18ms)
+958ms ║║Executed [Outside Light 02].off (20ms)
+979ms ║║Executed physical command [Outside Light 03].off() (18ms)
+980ms ║║Executed [Outside Light 03].off (20ms)
+1006ms ║║Executed physical command [Outside Light 04].off() (23ms)
+1007ms ║║Executed [Outside Light 04].off (25ms)
+1012ms ║╚Execution stage complete. (925ms)
+1014ms ║Setting up scheduled job for Thu, Jan 7 2021 @ 4:49:00 PM CST (in 32159.932s), with 3 more jobs pending
+1053ms ╚Event processed successfully (1053ms)
1/6/2021, 11:29:59 PM +96ms
+0ms ╔Received event [Home].time = 1609997400000 with a delay of -904ms
+78ms ║RunTime Analysis CS > 16ms > PS > 4ms > PE > 58ms > CE
+81ms ║Runtime (53478 bytes) successfully initialized in 4ms (v0.3.110.20191009) (80ms)
+82ms ║╔Execution stage started
+89ms ║║Evaluating switch with values [[i:1:null:0, v:[t:date, v:1609912800000, d:2, vt:string]]]
+94ms ║║Calculating (string) 04/21/ + (string) 2021 >> (string) 04/21/2021
+100ms ║║Comparison (date) 1609912800000 is (date) 1618981200000 = false (3ms)
+105ms ║║Calculating (string) 07/04/ + (string) 2021 >> (string) 07/04/2021
+109ms ║║Comparison (date) 1609912800000 is (date) 1625374800000 = false (2ms)
+114ms ║║Calculating (string) 07/28/ + (string) 2021 >> (string) 07/28/2021
+118ms ║║Comparison (date) 1609912800000 is (date) 1627448400000 = false (2ms)
+123ms ║║Calculating (string) 10/25/ + (string) 2021 >> (string) 10/25/2021
+128ms ║║Comparison (date) 1609912800000 is (date) 1635138000000 = false (3ms)
+133ms ║║Calculating (string) 10/31/ + (string) 2021 >> (string) 10/31/2021
+137ms ║║Comparison (date) 1609912800000 is (date) 1635656400000 = false (2ms)
+142ms ║║Calculating (string) 12/01/ + (string) 2021 >> (string) 12/01/2021
+148ms ║║Calculating (string) 12/31/ + (string) 2021 >> (string) 12/31/2021
+153ms ║║Comparison (date) 1609912800000 is_inside_of_range (date) 1638338400000 … (date) 1640930400000 = false (3ms)
+158ms ║║Calculating (string) 02/14/ + (string) 2021 >> (string) 02/14/2021
+162ms ║║Comparison (date) 1609912800000 is (date) 1613282400000 = false (2ms)
+167ms ║║Calculating (string) 03/31/ + (string) 2021 >> (string) 03/31/2021
+171ms ║║Comparison (date) 1609912800000 is (date) 1617166800000 = false (2ms)
+176ms ║║Calculating (string) 01/06/ + (string) 2021 >> (string) 01/06/2021
+180ms ║║Comparison (date) 1609912800000 is (date) 1609912800000 = true (2ms)
+182ms ║║Cancelling statement #107’s schedules…
+187ms ║║Executed virtual command setVariable (2ms)
+224ms ║║Comparison (time) 84599286 happens_daily_at (time) 1609973280000 = false (0ms)
+225ms ║║Condition #56 evaluated false (35ms)
+226ms ║║Cancelling statement #56’s schedules…
+230ms ║║Requesting time schedule wake up at Thu, Jan 7 2021 @ 4:48:00 PM CST
+232ms ║║Condition group #55 evaluated false (state did not change) (42ms)
+236ms ║║Comparison (time) 84599330 happens_daily_at (time) 79200000 = false (0ms)
+237ms ║║Cancelling condition #79’s schedules…
+238ms ║║Condition #79 evaluated false (4ms)
+239ms ║║Cancelling statement #79’s schedules…
+242ms ║║Requesting time schedule wake up at Thu, Jan 7 2021 @ 10:00:00 PM CST
+244ms ║║Cancelling condition #78’s schedules…
+245ms ║║Condition group #78 evaluated false (state changed) (11ms)
+249ms ║║Comparison (time) 84599343 happens_daily_at (time) 84600000 = true (0ms)
+251ms ║║Time restriction check failed
+252ms ║║Condition #81 evaluated false (5ms)
+253ms ║║Cancelling statement #81’s schedules…
+256ms ║║Requesting time schedule wake up at Thu, Jan 7 2021 @ 11:30:00 PM CST
+258ms ║║Condition group #80 evaluated false (state did not change) (11ms)
+264ms ║║Comparison (time) 84599357 happens_daily_at (time) 1609941180000 = false (0ms)
+265ms ║║Condition #73 evaluated false (3ms)
+266ms ║║Cancelling statement #73’s schedules…
+270ms ║║Requesting time schedule wake up at Thu, Jan 7 2021 @ 7:53:00 AM CST
+272ms ║║Condition group #72 evaluated false (state did not change) (11ms)
+275ms ║╚Execution stage complete. (193ms)
+277ms ║Setting up scheduled job for Thu, Jan 7 2021 @ 7:53:00 AM CST (in 30180.627s), with 3 more jobs pending
+284ms ╚Event processed successfully (283ms)
1/6/2021, 9:59:59 PM +223ms
+1ms ╔Received event [Home].time = 1609992000000 with a delay of -777ms
+116ms ║RunTime Analysis CS > 22ms > PS > 5ms > PE > 88ms > CE
+119ms ║Runtime (53479 bytes) successfully initialized in 5ms (v0.3.110.20191009) (118ms)
+120ms ║╔Execution stage started
+131ms ║║Evaluating switch with values [[i:1:null:0, v:[t:date, v:1609912800000, d:5, vt:string]]]
+136ms ║║Calculating (string) 04/21/ + (string) 2021 >> (string) 04/21/2021
+142ms ║║Comparison (date) 1609912800000 is (date) 1618981200000 = false (3ms)
+148ms ║║Calculating (string) 07/04/ + (string) 2021 >> (string) 07/04/2021
+152ms ║║Comparison (date) 1609912800000 is (date) 1625374800000 = false (2ms)
+157ms ║║Calculating (string) 07/28/ + (string) 2021 >> (string) 07/28/2021
+162ms ║║Comparison (date) 1609912800000 is (date) 1627448400000 = false (2ms)
+167ms ║║Calculating (string) 10/25/ + (string) 2021 >> (string) 10/25/2021
+172ms ║║Comparison (date) 1609912800000 is (date) 1635138000000 = false (3ms)
+177ms ║║Calculating (string) 10/31/ + (string) 2021 >> (string) 10/31/2021
+182ms ║║Comparison (date) 1609912800000 is (date) 1635656400000 = false (2ms)
+187ms ║║Calculating (string) 12/01/ + (string) 2021 >> (string) 12/01/2021
+193ms ║║Calculating (string) 12/31/ + (string) 2021 >> (string) 12/31/2021
+198ms ║║Comparison (date) 1609912800000 is_inside_of_range (date) 1638338400000 … (date) 1640930400000 = false (3ms)
+203ms ║║Calculating (string) 02/14/ + (string) 2021 >> (string) 02/14/2021
+208ms ║║Comparison (date) 1609912800000 is (date) 1613282400000 = false (3ms)
+213ms ║║Calculating (string) 03/31/ + (string) 2021 >> (string) 03/31/2021
+218ms ║║Comparison (date) 1609912800000 is (date) 1617166800000 = false (3ms)
+223ms ║║Calculating (string) 01/06/ + (string) 2021 >> (string) 01/06/2021
+227ms ║║Comparison (date) 1609912800000 is (date) 1609912800000 = true (2ms)
+230ms ║║Cancelling statement #107’s schedules…
+235ms ║║Executed virtual command setVariable (2ms)
+277ms ║║Comparison (time) 79199461 happens_daily_at (time) 1609973280000 = false (0ms)
+279ms ║║Cancelling condition #56’s schedules…
+280ms ║║Condition #56 evaluated false (42ms)
+284ms ║║Cancelling statement #56’s schedules…
+288ms ║║Requesting time schedule wake up at Thu, Jan 7 2021 @ 4:48:00 PM CST
+290ms ║║Cancelling condition #55’s schedules…
+291ms ║║Condition group #55 evaluated false (state changed) (54ms)
+296ms ║║Comparison (time) 79199517 happens_daily_at (time) 79200000 = true (0ms)
+297ms ║║Time restriction check passed
+298ms ║║Cancelling condition #79’s schedules…
+299ms ║║Condition #79 evaluated true (6ms)
+314ms ║║Cancelling statement #79’s schedules…
+317ms ║║Requesting time schedule wake up at Thu, Jan 7 2021 @ 10:00:00 PM CST
+320ms ║║Cancelling condition #78’s schedules…
+321ms ║║Condition group #78 evaluated true (state changed) (27ms)
+323ms ║║Cancelling statement #86’s schedules…
+6287ms ║║Executed physical command [Outside Light 01].setLevel([10]) (5958ms)
+6288ms ║║Executed [Outside Light 01].setLevel (5960ms)
+6306ms ║║Executed physical command [Outside Light 02].setLevel([10]) (16ms)
+6307ms ║║Executed [Outside Light 02].setLevel (18ms)
+6326ms ║║Executed physical command [Outside Light 03].setLevel([10]) (17ms)
+6328ms ║║Executed [Outside Light 03].setLevel (19ms)
+6347ms ║║Executed physical command [Outside Light 04].setLevel([10]) (17ms)
+6348ms ║║Executed [Outside Light 04].setLevel (19ms)
+6351ms ║║Cancelling statement #88’s schedules…
+6362ms ║║Executed physical command [Gardenspot mini RGB].setLevel([30]) (7ms)
+6364ms ║║Executed [Gardenspot mini RGB].setLevel (9ms)
+6369ms ║║Comparison (time) 79205590 happens_daily_at (time) 1609941180000 = false (0ms)
+6370ms ║║Condition #73 evaluated false (3ms)
+6372ms ║║Cancelling statement #73’s schedules…
+6377ms ║║Requesting time schedule wake up at Thu, Jan 7 2021 @ 7:53:00 AM CST
+6380ms ║║Condition group #72 evaluated false (state did not change) (13ms)
+6383ms ║╚Execution stage complete. (6264ms)
+6385ms ║Setting up scheduled job for Wed, Jan 6 2021 @ 11:30:00 PM CST (in 5394.393s), with 3 more jobs pending
+6392ms ╚Event processed successfully (6392ms)
1/6/2021, 4:47:59 PM +53ms
+0ms ╔Received event [Home].time = 1609973280000 with a delay of -947ms
+78ms ║RunTime Analysis CS > 19ms > PS > 5ms > PE > 54ms > CE
+81ms ║Runtime (53475 bytes) successfully initialized in 5ms (v0.3.110.20191009) (80ms)
+83ms ║╔Execution stage started
+94ms ║║Evaluating switch with values [[i:1:null:0, v:[t:date, v:1609912800000, d:3, vt:string]]]
+102ms ║║Calculating (string) 04/21/ + (string) 2021 >> (string) 04/21/2021
+108ms ║║Comparison (date) 1609912800000 is (date) 1618981200000 = false (4ms)
+113ms ║║Calculating (string) 07/04/ + (string) 2021 >> (string) 07/04/2021
+117ms ║║Comparison (date) 1609912800000 is (date) 1625374800000 = false (2ms)
+123ms ║║Calculating (string) 07/28/ + (string) 2021 >> (string) 07/28/2021
+128ms ║║Comparison (date) 1609912800000 is (date) 1627448400000 = false (2ms)
+134ms ║║Calculating (string) 10/25/ + (string) 2021 >> (string) 10/25/2021
+138ms ║║Comparison (date) 1609912800000 is (date) 1635138000000 = false (2ms)
+143ms ║║Calculating (string) 10/31/ + (string) 2021 >> (string) 10/31/2021
+148ms ║║Comparison (date) 1609912800000 is (date) 1635656400000 = false (2ms)
+153ms ║║Calculating (string) 12/01/ + (string) 2021 >> (string) 12/01/2021
+159ms ║║Calculating (string) 12/31/ + (string) 2021 >> (string) 12/31/2021
+164ms ║║Comparison (date) 1609912800000 is_inside_of_range (date) 1638338400000 … (date) 1640930400000 = false (2ms)
+169ms ║║Calculating (string) 02/14/ + (string) 2021 >> (string) 02/14/2021
+173ms ║║Comparison (date) 1609912800000 is (date) 1613282400000 = false (2ms)
+178ms ║║Calculating (string) 03/31/ + (string) 2021 >> (string) 03/31/2021
+183ms ║║Comparison (date) 1609912800000 is (date) 1617166800000 = false (2ms)
+187ms ║║Calculating (string) 01/06/ + (string) 2021 >> (string) 01/06/2021
+192ms ║║Comparison (date) 1609912800000 is (date) 1609912800000 = true (2ms)
+194ms ║║Cancelling statement #107’s schedules…
+199ms ║║Executed virtual command setVariable (2ms)
+235ms ║║Comparison (time) 60479255 happens_daily_at (time) 1609973280000 = true (1ms)
+236ms ║║Time restriction check passed
+237ms ║║Cancelling condition #56’s schedules…
+238ms ║║Condition #56 evaluated true (37ms)
+239ms ║║Cancelling statement #56’s schedules…
+243ms ║║Requesting time schedule wake up at Thu, Jan 7 2021 @ 4:48:00 PM CST
+245ms ║║Cancelling condition #55’s schedules…
+246ms ║║Condition group #55 evaluated true (state changed) (45ms)
+248ms ║║Cancelling statement #57’s schedules…
+739ms ║║Executed physical command [Outside Light 01].setColor([[hex: #DAF17E, hue:20, saturation:20, level:72]]) (486ms)
+740ms ║║Executed [Outside Light 01].setColor (488ms)
+757ms ║║Executed physical command [Outside Light 01].setLevel([100]) (15ms)
+758ms ║║Executed [Outside Light 01].setLevel (15ms)
+760ms ║║Cancelling statement #60’s schedules…
+780ms ║║Executed physical command [Outside Light 02].setColor([[hex: #DAF17E, hue:20, saturation:20, level:72]]) (16ms)
+781ms ║║Executed [Outside Light 02].setColor (17ms)
+796ms ║║Executed physical command [Outside Light 02].setLevel([100]) (12ms)
+796ms ║║Executed [Outside Light 02].setLevel (13ms)
+799ms ║║Cancelling statement #63’s schedules…
+816ms ║║Executed physical command [Outside Light 03].setColor([[hex: #DAF17E, hue:20, saturation:20, level:72]]) (13ms)
+816ms ║║Executed [Outside Light 03].setColor (14ms)
+830ms ║║Executed physical command [Outside Light 03].setLevel([100]) (11ms)
+831ms ║║Executed [Outside Light 03].setLevel (12ms)
+834ms ║║Cancelling statement #66’s schedules…
+851ms ║║Executed physical command [Outside Light 04].setColor([[hex: #DAF17E, hue:20, saturation:20, level:72]]) (13ms)
+851ms ║║Executed [Outside Light 04].setColor (15ms)
+866ms ║║Executed physical command [Outside Light 04].setLevel([100]) (12ms)
+867ms ║║Executed [Outside Light 04].setLevel (13ms)
+869ms ║║Cancelling statement #69’s schedules…
+877ms ║║Executed physical command [Gardenspot mini RGB].setColor([[hex: #0000FF, hue:67, saturation:100, level:50]]) (4ms)
+878ms ║║Executed [Gardenspot mini RGB].setColor (5ms)
+886ms ║║Executed physical command [Gardenspot mini RGB].setLevel([100]) (6ms)
+887ms ║║Executed [Gardenspot mini RGB].setLevel (6ms)
+889ms ║║Cancelling statement #76’s schedules…
+896ms ║║Skipped execution of physical command [Exterior Front].off([]) because it would make no change to the device. (3ms)
+897ms ║║Executed virtual command [Exterior Front].setSwitch (5ms)
+902ms ║║Comparison (time) 60479952 happens_daily_at (time) 1609941180000 = false (0ms)
+903ms ║║Cancelling condition #73’s schedules…
+904ms ║║Condition #73 evaluated false (4ms)
+905ms ║║Cancelling statement #73’s schedules…
+909ms ║║Requesting time schedule wake up at Thu, Jan 7 2021 @ 7:53:00 AM CST
+911ms ║║Cancelling condition #72’s schedules…
+912ms ║║Condition group #72 evaluated false (state changed) (12ms)
+917ms ║╚Execution stage complete. (835ms)
+919ms ║Setting up scheduled job for Wed, Jan 6 2021 @ 10:00:00 PM CST (in 18720.029s), with 3 more jobs pending
+926ms ╚Event processed successfully (926ms)
1/6/2021, 7:52:59 AM +56ms
+0ms ╔Received event [Home].time = 1609941180000 with a delay of -944ms
+76ms ║RunTime Analysis CS > 17ms > PS > 4ms > PE > 54ms > CE
+79ms ║Runtime (53487 bytes) successfully initialized in 4ms (v0.3.110.20191009) (78ms)
+80ms ║╔Execution stage started
+87ms ║║Evaluating switch with values [[i:1:null:0, v:[t:date, v:1609912800000, d:2, vt:string]]]
+92ms ║║Calculating (string) 04/21/ + (string) 2021 >> (string) 04/21/2021
+97ms ║║Comparison (date) 1609912800000 is (date) 1618981200000 = false (3ms)
+102ms ║║Calculating (string) 07/04/ + (string) 2021 >> (string) 07/04/2021
+106ms ║║Comparison (date) 1609912800000 is (date) 1625374800000 = false (2ms)
+111ms ║║Calculating (string) 07/28/ + (string) 2021 >> (string) 07/28/2021
+116ms ║║Comparison (date) 1609912800000 is (date) 1627448400000 = false (2ms)
+121ms ║║Calculating (string) 10/25/ + (string) 2021 >> (string) 10/25/2021
+125ms ║║Comparison (date) 1609912800000 is (date) 1635138000000 = false (2ms)
+130ms ║║Calculating (string) 10/31/ + (string) 2021 >> (string) 10/31/2021
+134ms ║║Comparison (date) 1609912800000 is (date) 1635656400000 = false (2ms)
+139ms ║║Calculating (string) 12/01/ + (string) 2021 >> (string) 12/01/2021
+146ms ║║Calculating (string) 12/31/ + (string) 2021 >> (string) 12/31/2021
+151ms ║║Comparison (date) 1609912800000 is_inside_of_range (date) 1638338400000 … (date) 1640930400000 = false (2ms)
+156ms ║║Calculating (string) 02/14/ + (string) 2021 >> (string) 02/14/2021
+160ms ║║Comparison (date) 1609912800000 is (date) 1613282400000 = false (2ms)
+165ms ║║Calculating (string) 03/31/ + (string) 2021 >> (string) 03/31/2021
+169ms ║║Comparison (date) 1609912800000 is (date) 1617166800000 = false (2ms)
+174ms ║║Calculating (string) 01/06/ + (string) 2021 >> (string) 01/06/2021
+179ms ║║Comparison (date) 1609912800000 is (date) 1609912800000 = true (3ms)
+181ms ║║Cancelling statement #107’s schedules…
+186ms ║║Executed virtual command setVariable (3ms)
+223ms ║║Comparison (time) 28379245 happens_daily_at (time) 1609973280000 = false (0ms)
+224ms ║║Condition #56 evaluated false (35ms)
+225ms ║║Cancelling statement #56’s schedules…
+230ms ║║Requesting time schedule wake up at Wed, Jan 6 2021 @ 4:48:00 PM CST
+232ms ║║Condition group #55 evaluated false (state did not change) (44ms)
+236ms ║║Comparison (time) 28379290 happens_daily_at (time) 79200000 = false (0ms)
+237ms ║║Condition #79 evaluated false (3ms)
+239ms ║║Cancelling statement #79’s schedules…
+241ms ║║Requesting time schedule wake up at Wed, Jan 6 2021 @ 10:00:00 PM CST
+244ms ║║Condition group #78 evaluated false (state did not change) (9ms)
+248ms ║║Comparison (time) 28379302 happens_daily_at (time) 84600000 = false (1ms)
+249ms ║║Condition #81 evaluated false (3ms)
+251ms ║║Cancelling statement #81’s schedules…
+254ms ║║Requesting time schedule wake up at Wed, Jan 6 2021 @ 11:30:00 PM CST
+256ms ║║Condition group #80 evaluated false (state did not change) (11ms)
+262ms ║║Comparison (time) 28379315 happens_daily_at (time) 1609941180000 = true (0ms)
+263ms ║║Time restriction check passed
+264ms ║║Cancelling condition #73’s schedules…
+265ms ║║Condition #73 evaluated true (6ms)
+267ms ║║Cancelling statement #73’s schedules…
+271ms ║║Requesting time schedule wake up at Thu, Jan 7 2021 @ 7:53:00 AM CST
+274ms ║║Cancelling condition #72’s schedules…
+275ms ║║Condition group #72 evaluated true (state changed) (15ms)
+277ms ║║Cancelling statement #74’s schedules…
+284ms ║║Skipped execution of physical command [Deck Lights].off([]) because it would make no change to the device. (3ms)
+285ms ║║Executed [Deck Lights].off (5ms)
+290ms ║║Skipped execution of physical command [Exterior Front].off([]) because it would make no change to the device. (3ms)
+291ms ║║Executed [Exterior Front].off (5ms)
+302ms ║║Executed physical command [Gardenspot mini RGB].off() (9ms)
+303ms ║║Executed [Gardenspot mini RGB].off (10ms)
+904ms ║║Executed physical command [Outside Light 01].off() (598ms)
+905ms ║║Executed [Outside Light 01].off (600ms)
+922ms ║║Executed physical command [Outside Light 02].off() (15ms)
+923ms ║║Executed [Outside Light 02].off (17ms)
+941ms ║║Executed physical command [Outside Light 03].off() (15ms)
+942ms ║║Executed [Outside Light 03].off (17ms)
+962ms ║║Executed physical command [Outside Light 04].off() (17ms)
+962ms ║║Executed [Outside Light 04].off (19ms)
+967ms ║╚Execution stage complete. (887ms)
+969ms ║Setting up scheduled job for Wed, Jan 6 2021 @ 4:48:00 PM CST (in 32099.976s), with 3 more jobs pending
+1037ms ╚Event processed successfully (1037ms)
1/5/2021, 11:29:59 PM +72ms
+0ms ╔Received event [Home].time = 1609911000000 with a delay of -928ms
+73ms ║RunTime Analysis CS > 17ms > PS > 10ms > PE > 46ms > CE
+76ms ║Runtime (53487 bytes) successfully initialized in 10ms (v0.3.110.20191009) (75ms)
+77ms ║╔Execution stage started
+89ms ║║Evaluating switch with values [[i:1:null:0, v:[t:date, v:1609826400000, d:6, vt:string]]]
+94ms ║║Calculating (string) 04/21/ + (string) 2021 >> (string) 04/21/2021
+101ms ║║Comparison (date) 1609826400000 is (date) 1618981200000 = false (3ms)
+106ms ║║Calculating (string) 07/04/ + (string) 2021 >> (string) 07/04/2021
+110ms ║║Comparison (date) 1609826400000 is (date) 1625374800000 = false (2ms)
+116ms ║║Calculating (string) 07/28/ + (string) 2021 >> (string) 07/28/2021
+120ms ║║Comparison (date) 1609826400000 is (date) 1627448400000 = false (2ms)
+125ms ║║Calculating (string) 10/25/ + (string) 2021 >> (string) 10/25/2021
+129ms ║║Comparison (date) 1609826400000 is (date) 1635138000000 = false (2ms)
+134ms ║║Calculating (string) 10/31/ + (string) 2021 >> (string) 10/31/2021
+139ms ║║Comparison (date) 1609826400000 is (date) 1635656400000 = false (2ms)
+143ms ║║Calculating (string) 12/01/ + (string) 2021 >> (string) 12/01/2021
+149ms ║║Calculating (string) 12/31/ + (string) 2021 >> (string) 12/31/2021
+154ms ║║Comparison (date) 1609826400000 is_inside_of_range (date) 1638338400000 … (date) 1640930400000 = false (2ms)
+160ms ║║Calculating (string) 02/14/ + (string) 2021 >> (string) 02/14/2021
+164ms ║║Comparison (date) 1609826400000 is (date) 1613282400000 = false (2ms)
+169ms ║║Calculating (string) 03/31/ + (string) 2021 >> (string) 03/31/2021
+173ms ║║Comparison (date) 1609826400000 is (date) 1617166800000 = false (2ms)
+178ms ║║Calculating (string) 01/06/ + (string) 2021 >> (string) 01/06/2021
+182ms ║║Comparison (date) 1609826400000 is (date) 1609912800000 = false (2ms)
+184ms ║║Cancelling statement #18’s schedules…
+189ms ║║Executed virtual command setVariable (3ms)
+194ms ║║Executed virtual command setVariable (2ms)
+199ms ║║Executed virtual command setVariable (2ms)
+203ms ║║Executed virtual command setVariable (2ms)
+208ms ║║Executed virtual command setVariable (3ms)
+212ms ║║Executed virtual command setVariable (2ms)
+249ms ║║Comparison (time) 84599287 happens_daily_at (time) 1609886820000 = false (1ms)
+250ms ║║Condition #56 evaluated false (35ms)
+251ms ║║Cancelling statement #56’s schedules…
+255ms ║║Requesting time schedule wake up at Wed, Jan 6 2021 @ 4:47:00 PM CST
+257ms ║║Condition group #55 evaluated false (state did not change) (42ms)
+261ms ║║Comparison (time) 84599331 happens_daily_at (time) 79200000 = false (1ms)
+262ms ║║Cancelling condition #79’s schedules…
+263ms ║║Condition #79 evaluated false (4ms)
+264ms ║║Cancelling statement #79’s schedules…
+267ms ║║Requesting time schedule wake up at Wed, Jan 6 2021 @ 10:00:00 PM CST
+269ms ║║Cancelling condition #78’s schedules…
+270ms ║║Condition group #78 evaluated false (state changed) (10ms)
+274ms ║║Comparison (time) 84599344 happens_daily_at (time) 84600000 = true (0ms)
+275ms ║║Time restriction check failed
+276ms ║║Condition #81 evaluated false (4ms)
+277ms ║║Cancelling statement #81’s schedules…
+280ms ║║Requesting time schedule wake up at Wed, Jan 6 2021 @ 11:30:00 PM CST
+282ms ║║Condition group #80 evaluated false (state did not change) (11ms)
+288ms ║║Comparison (time) 84599357 happens_daily_at (time) 1609854780000 = false (0ms)
+289ms ║║Condition #73 evaluated false (3ms)
+290ms ║║Cancelling statement #73’s schedules…
+294ms ║║Requesting time schedule wake up at Wed, Jan 6 2021 @ 7:53:00 AM CST
+296ms ║║Condition group #72 evaluated false (state did not change) (11ms)
+300ms ║╚Execution stage complete. (222ms)
+301ms ║Setting up scheduled job for Wed, Jan 6 2021 @ 7:53:00 AM CST (in 30180.627s), with 3 more jobs pending
+307ms ╚Event processed successfully (307ms)
1/5/2021, 9:59:59 PM +62ms
+0ms ╔Received event [Home].time = 1609905600000 with a delay of -939ms
+126ms ║RunTime Analysis CS > 21ms > PS > 8ms > PE > 98ms > CE
+130ms ║Runtime (53488 bytes) successfully initialized in 8ms (v0.3.110.20191009) (128ms)
+131ms ║╔Execution stage started
+138ms ║║Evaluating switch with values [[i:1:null:0, v:[t:date, v:1609826400000, d:2, vt:string]]]
+144ms ║║Calculating (string) 04/21/ + (string) 2021 >> (string) 04/21/2021
+154ms ║║Comparison (date) 1609826400000 is (date) 1618981200000 = false (5ms)
+162ms ║║Calculating (string) 07/04/ + (string) 2021 >> (string) 07/04/2021
+168ms ║║Comparison (date) 1609826400000 is (date) 1625374800000 = false (3ms)
+174ms ║║Calculating (string) 07/28/ + (string) 2021 >> (string) 07/28/2021
+181ms ║║Comparison (date) 1609826400000 is (date) 1627448400000 = false (2ms)
+189ms ║║Calculating (string) 10/25/ + (string) 2021 >> (string) 10/25/2021
+195ms ║║Comparison (date) 1609826400000 is (date) 1635138000000 = false (3ms)
+203ms ║║Calculating (string) 10/31/ + (string) 2021 >> (string) 10/31/2021
+210ms ║║Comparison (date) 1609826400000 is (date) 1635656400000 = false (4ms)
+218ms ║║Calculating (string) 12/01/ + (string) 2021 >> (string) 12/01/2021
+229ms ║║Calculating (string) 12/31/ + (string) 2021 >> (string) 12/31/2021
+237ms ║║Comparison (date) 1609826400000 is_inside_of_range (date) 1638338400000 … (date) 1640930400000 = false (4ms)
+246ms ║║Calculating (string) 02/14/ + (string) 2021 >> (string) 02/14/2021
+253ms ║║Comparison (date) 1609826400000 is (date) 1613282400000 = false (4ms)
+261ms ║║Calculating (string) 03/31/ + (string) 2021 >> (string) 03/31/2021
+269ms ║║Comparison (date) 1609826400000 is (date) 1617166800000 = false (4ms)
+277ms ║║Calculating (string) 01/06/ + (string) 2021 >> (string) 01/06/2021
+282ms ║║Comparison (date) 1609826400000 is (date) 1609912800000 = false (3ms)
+284ms ║║Cancelling statement #18’s schedules…
+290ms ║║Executed virtual command setVariable (3ms)
+295ms ║║Executed virtual command setVariable (2ms)
+300ms ║║Executed virtual command setVariable (3ms)
+307ms ║║Executed virtual command setVariable (3ms)
+312ms ║║Executed virtual command setVariable (2ms)
+316ms ║║Executed virtual command setVariable (2ms)
+358ms ║║Comparison (time) 79199381 happens_daily_at (time) 1609886820000 = false (0ms)
+360ms ║║Condition #56 evaluated false (40ms)
+361ms ║║Cancelling statement #56’s schedules…
+369ms ║║Requesting time schedule wake up at Wed, Jan 6 2021 @ 4:47:00 PM CST

REMOVE BELOW AFTER READING
If a solution is found for your question then please mark the post as the solution.


#2

I don’t feel like reviewing the logs but did you try writing a simple function that just sets the bulbs to ‘Warm White’ to confirm the color is accepted? I notice it is the only two word color. You might need to escape the space, i.e., use “Warm\ White”.

Side note: When posting logs, select all of the logs and press the ‘</>’ button to format them. thanks.


#3

In the above extract from the logs, you can see a light being set to Warm White (I came across that combination of hex, hue, saturation and level elsewhere). So that side of things is OK.

You can then see the level being changed to 100%. I am wondering if that might be confusing things. I’ve never worked with coloured bulbs but what I have read in the past suggests that SmartThings colour handling starts off a little vague and ambiguous, device handlers handle things differently, and webCoRE throws its own curve balls. I’ve also seen a thread where the particular bulb seemed to need a delay before setting the level.


#4

That is an interesting take. It seemed to work during Christmas time when I had the colors set to red/blue/green/etc. I will experiment with some of the timings of changing settings.