thats not an accurate pic even know I pulled it from the program my lights are called front L front M and front R That snap shop shows RGB bulb is that normal? When I go to the piston its shows my bulbs labeled correctly
Holiday Lights: 4th of July / Diwali / Halloween / Christmas - Your Pick
um ok not sure what that means I changed that so it ran untill sunrise did I need to do something else? Would it be easier just to have them come on at sunset and off at 08:00
well the isbetween condition is not working.
can you please change the isbetween condition to midnight instead of sunrise and trigger the piston by changing the time happens?
try this condition:
while isBetween($now, $sunset, time(â23:59â)) is true
still didnt come on
12/2/2017, 8:57:59 PM +196ms
+6ms âReceived event [Home].time = 1512277080000 with a delay of -805ms
+242ms âRunTime Analysis CS > 27ms > PS > 56ms > PE > 156ms > CE
+259ms âRuntime (66769 bytes) successfully initialized in 56ms (v0.2.0fe.20171109) (252ms)
+264ms ââExecution stage started
+283ms ââComparison (time) 75479467 happens_daily_at (time) 75480000 = true (3ms)
+284ms ââTime restriction check passed
+286ms ââCancelling condition #22âs schedulesâŚ
+287ms ââCondition #22 evaluated true (16ms)
+300ms ââCancelling statement #22âs schedulesâŚ
+308ms ââRequesting time schedule wake up at Sun, Dec 3 2017 @ 8:58:00 PM PST
+311ms ââCancelling condition #5âs schedulesâŚ
+312ms ââCondition group #5 evaluated true (state changed) (41ms)
+314ms ââCancelling statement #56âs schedulesâŚ
+321ms ââExecuted virtual command setVariable (4ms)
+326ms ââExecuted virtual command setVariable (3ms)
+358ms ââCalculating (string) 07/04/ + (string) 2017 >> (string) 07/04/2017
+369ms ââCalculating (decimal) 0.0 - (decimal) 7.0 >> (decimal) -7.0
+378ms ââCalculating (string) 07/04/ + (string) 2017 >> (string) 07/04/2017
+391ms ââComparison (date) 1512201600000 is_between (datetime) 1498546800000 ⌠(datetime) 1499238000000 = false (9ms)
+395ms ââCondition #27 evaluated false (66ms)
+398ms ââCondition group #6 evaluated false (state did not change) (68ms)
+411ms ââCalculating (string) 10/31/ + (string) 2017 >> (string) 10/31/2017
+417ms ââCalculating (decimal) 0.0 - (decimal) 7.0 >> (decimal) -7.0
+424ms ââCalculating (string) 10/31/ + (string) 2017 >> (string) 10/31/2017
+437ms ââComparison (date) 1512201600000 is_between (datetime) 1508828400000 ⌠(datetime) 1509433200000 = false (6ms)
+439ms ââCondition #29 evaluated false (38ms)
+440ms ââCondition group #13 evaluated false (state did not change) (39ms)
+450ms ââCalculating (string) 12/25/ + (string) 2017 >> (string) 12/25/2017
+455ms ââCalculating (decimal) 0.0 - (decimal) 21.0 >> (decimal) -21.0
+463ms ââCalculating (string) 12/25/ + (string) 2017 >> (string) 12/25/2017
+472ms ââComparison (date) 1512201600000 is_between (datetime) 1512374400000 ⌠(datetime) 1514793600000 = false (4ms)
+473ms ââCondition #30 evaluated false (31ms)
+474ms ââCondition group #17 evaluated false (state did not change) (32ms)
+488ms ââComparison (boolean) false is (boolean) true = false (2ms)
+490ms ââCondition #114 evaluated false (12ms)
+490ms ââCondition group #null evaluated false (state did not change) (13ms)
+493ms ââCancelling statement #46âs schedulesâŚ
+504ms ââExecuted virtual command setState (5ms)
+606ms ââCalculating (string) Empty device list == (string) playing >> (boolean) false
+612ms ââCalculating (boolean) false ! (boolean) false >> (boolean) true
+617ms ââExecuted virtual command setVariable (3ms)
+633ms ââCalculating (integer) 60 / (integer) 3 >> (integer) 20
+638ms ââExecuted virtual command setVariable (3ms)
+649ms ââCalculating (integer) 80 - (integer) 1 >> (integer) 79
+654ms ââCalculating (integer) 20 - (integer) 1 >> (integer) 19
+658ms ââCalculating (integer) 79 / (integer) 19 >> (integer) 4.1578947368
+663ms ââExecuted virtual command setVariable (3ms)
+669ms ââExecuted virtual command setVariable (3ms)
+676ms ââExecuted virtual command setVariable (3ms)
+697ms ââComparison (boolean) false is (boolean) false = true (2ms)
+698ms ââCondition #38 evaluated true (18ms)
+699ms ââCondition group #48 evaluated true (state did not change) (20ms)
+701ms ââCancelling statement #36âs schedulesâŚ
+711ms ââCalculating (integer) 0 + (integer) 1 >> (integer) 1
+713ms ââExecuted virtual command setVariable (1ms)
+725ms ââComparison (boolean) true is (boolean) false = false (2ms)
+726ms ââCancelling condition #38âs schedulesâŚ
+727ms ââCondition #38 evaluated false (11ms)
+728ms ââCancelling condition #48âs schedulesâŚ
+729ms ââCondition group #48 evaluated false (state changed) (13ms)
+996ms ââComparison (boolean) true is (boolean) true = true (1ms)
+998ms ââCondition #45 evaluated true (266ms)
+999ms ââCondition group #51 evaluated true (state did not change) (268ms)
+1017ms ââAn error occurred while executing the event: java.lang.NullPointerException: Cannot get property âvâ on null object
+1023ms ââExecution stage complete. (763ms)
+1031ms âSetting up scheduled job for Sun, Dec 3 2017 @ 8:58:00 PM PST (in 86399.779s)
+1155ms âEvent processed successfully (1155ms)
thanks. have you created the global boolean variable @pauseHLCRaFp and set it to false?
this is part of the setup.
in piston edit mode check the right hand bar. there you will see a link to add a new global variable.
click on that link to create that variable and set the value to false.
Ok so looks like that was the key The lights are on now but there only White and kinda fading in just white?
Cool so I change the date to -24 and it kind of works Have three lights set but one turns white when I think its suppose to be green. Goes from gold to white. Should I change the off back to the other way so it stays on till surise?
Im gonna have to work on this more tommorrow Look like when the piston starts there is one gold one red and one green. the first change happens and one light goes to white another to gold and one red then they just stay that way kinda of fading light to dark but not changing how do I tell you the value of fadecolors while piston is running
heres what logs show
Logs
12/2/2017, 10:07:12 PM +520ms
+1ms âReceived event [Home].time = 1512281233799 with a delay of -1279ms
+249ms âRunTime Analysis CS > 15ms > PS > 55ms > PE > 179ms > CE
+292ms âRuntime (68657 bytes) successfully initialized in 55ms (v0.2.0fe.20171109) (289ms)
+293ms ââExecution stage started
+616ms ââCalculating (integer) 48 - (integer) 4 >> (integer) 44
+629ms ââCalculating (integer) 48 - (integer) 4 >> (integer) 44
+634ms ââCalculating (integer) 44 < (integer) 1 >> (boolean) false
+641ms ââCalculating (integer) 48 + (integer) 4 >> (integer) 52
+652ms ââCalculating (integer) 48 + (integer) 4 >> (integer) 52
+656ms ââCalculating (integer) 52 > (integer) 80 >> (boolean) false
+660ms ââCalculating (boolean) false ! (boolean) false >> (boolean) true
+667ms ââExecuted virtual command setVariable (3ms)
+683ms ââComparison (boolean) false is (boolean) true = false (2ms)
+685ms ââCondition #163 evaluated false (8ms)
+686ms ââCondition group #null evaluated false (state did not change) (9ms)
+689ms ââCancelling statement #72âs schedulesâŚ
+715ms ââExecuted physical command [Front L].setLevel([44]) (20ms)
+717ms ââExecuted [Front L].setLevel (21ms)
+734ms ââComparison (boolean) false is (boolean) true = false (2ms)
+735ms ââCondition #163 evaluated false (7ms)
+736ms ââCondition group #null evaluated false (state did not change) (8ms)
+741ms ââCancelling statement #72âs schedulesâŚ
+758ms ââExecuted physical command [Front M].setLevel([44]) (10ms)
+759ms ââExecuted [Front M].setLevel (12ms)
+774ms ââComparison (boolean) false is (boolean) true = false (2ms)
+777ms ââCondition #163 evaluated false (8ms)
+778ms ââCondition group #null evaluated false (state did not change) (11ms)
+782ms ââCancelling statement #72âs schedulesâŚ
+797ms ââExecuted physical command [Front R].setLevel([44]) (9ms)
+798ms ââExecuted [Front R].setLevel (11ms)
+821ms ââComparison (boolean) false is (boolean) true = false (1ms)
+822ms ââCondition #151 evaluated false (6ms)
+823ms ââCondition group #null evaluated false (state did not change) (8ms)
+826ms ââCancelling statement #74âs schedulesâŚ
+830ms ââExecuted virtual command wait (0ms)
+831ms ââWaiting for 2000ms
+2844ms ââCalculating (integer) 44 - (integer) 4 >> (integer) 40
+2861ms ââCalculating (integer) 44 - (integer) 4 >> (integer) 40
+2867ms ââCalculating (integer) 40 < (integer) 1 >> (boolean) false
+2878ms ââCalculating (integer) 44 + (integer) 4 >> (integer) 48
+2895ms ââCalculating (integer) 44 + (integer) 4 >> (integer) 48
+2902ms ââCalculating (integer) 48 > (integer) 80 >> (boolean) false
+2908ms ââCalculating (boolean) false ! (boolean) false >> (boolean) true
+2917ms ââExecuted virtual command setVariable (4ms)
+2936ms ââComparison (boolean) false is (boolean) true = false (2ms)
+2938ms ââCondition #163 evaluated false (6ms)
+2939ms ââCondition group #null evaluated false (state did not change) (8ms)
+2942ms ââCancelling statement #72âs schedulesâŚ
+2953ms ââExecuted physical command [Front L].setLevel([40]) (5ms)
+2954ms ââExecuted [Front L].setLevel (7ms)
+2966ms ââComparison (boolean) false is (boolean) true = false (2ms)
+2968ms ââCondition #163 evaluated false (6ms)
+2968ms ââCondition group #null evaluated false (state did not change) (7ms)
+2972ms ââCancelling statement #72âs schedulesâŚ
+2983ms ââExecuted physical command [Front M].setLevel([40]) (5ms)
+2984ms ââExecuted [Front M].setLevel (7ms)
+2996ms ââComparison (boolean) false is (boolean) true = false (2ms)
+2998ms ââCondition #163 evaluated false (5ms)
+2999ms ââCondition group #null evaluated false (state did not change) (7ms)
+3002ms ââCancelling statement #72âs schedulesâŚ
+3011ms ââExecuted physical command [Front R].setLevel([40]) (5ms)
+3012ms ââExecuted [Front R].setLevel (7ms)
+3030ms ââComparison (boolean) false is (boolean) true = false (2ms)
+3032ms ââCondition #151 evaluated false (5ms)
+3033ms ââCondition group #null evaluated false (state did not change) (7ms)
+3036ms ââCancelling statement #74âs schedulesâŚ
+3039ms ââExecuted virtual command wait (0ms)
+3040ms ââWaiting for 2000ms
+5049ms ââCalculating (integer) 40 - (integer) 4 >> (integer) 36
+5061ms ââCalculating (integer) 40 - (integer) 4 >> (integer) 36
+5065ms ââCalculating (integer) 36 < (integer) 1 >> (boolean) false
+5073ms ââCalculating (integer) 40 + (integer) 4 >> (integer) 44
+5085ms ââCalculating (integer) 40 + (integer) 4 >> (integer) 44
+5089ms ââCalculating (integer) 44 > (integer) 80 >> (boolean) false
+5093ms ââCalculating (boolean) false ! (boolean) false >> (boolean) true
+5100ms ââExecuted virtual command setVariable (3ms)
+5114ms ââComparison (boolean) false is (boolean) true = false (2ms)
+5116ms ââCondition #163 evaluated false (6ms)
+5117ms ââCondition group #null evaluated false (state did not change) (7ms)
+5121ms ââCancelling statement #72âs schedulesâŚ
+5131ms ââExecuted physical command [Front L].setLevel([36]) (6ms)
+5132ms ââExecuted [Front L].setLevel (8ms)
+5146ms ââComparison (boolean) false is (boolean) true = false (2ms)
+5148ms ââCondition #163 evaluated false (7ms)
+5149ms ââCondition group #null evaluated false (state did not change) (8ms)
+5152ms ââCancelling statement #72âs schedulesâŚ
+5163ms ââExecuted physical command [Front M].setLevel([36]) (6ms)
+5163ms ââExecuted [Front M].setLevel (7ms)
+5177ms ââComparison (boolean) false is (boolean) true = false (2ms)
+5178ms ââCondition #163 evaluated false (6ms)
+5179ms ââCondition group #null evaluated false (state did not change) (8ms)
+5183ms ââCancelling statement #72âs schedulesâŚ
+5216ms ââExecuted physical command [Front R].setLevel([36]) (6ms)
+5217ms ââExecuted [Front R].setLevel (8ms)
+5234ms ââComparison (boolean) false is (boolean) true = false (2ms)
+5236ms ââCondition #151 evaluated false (6ms)
+5237ms ââCondition group #null evaluated false (state did not change) (8ms)
+5240ms ââCancelling statement #74âs schedulesâŚ
+5244ms ââExecuted virtual command wait (1ms)
+5245ms ââWaiting for 2000ms
+7257ms ââCalculating (integer) 36 - (integer) 4 >> (integer) 32
+7272ms ââCalculating (integer) 36 - (integer) 4 >> (integer) 32
+7278ms ââCalculating (integer) 32 < (integer) 1 >> (boolean) false
+7288ms ââCalculating (integer) 36 + (integer) 4 >> (integer) 40
+7304ms ââCalculating (integer) 36 + (integer) 4 >> (integer) 40
+7308ms ââCalculating (integer) 40 > (integer) 80 >> (boolean) false
+7313ms ââCalculating (boolean) false ! (boolean) false >> (boolean) true
+7321ms ââExecuted virtual command setVariable (4ms)
+7340ms ââComparison (boolean) false is (boolean) true = false (3ms)
+7343ms ââCondition #163 evaluated false (9ms)
+7344ms ââCondition group #null evaluated false (state did not change) (11ms)
+7348ms ââCancelling statement #72âs schedulesâŚ
+7362ms ââExecuted physical command [Front L].setLevel([32]) (9ms)
+7363ms ââExecuted [Front L].setLevel (10ms)
+7382ms ââComparison (boolean) false is (boolean) true = false (3ms)
+7384ms ââCondition #163 evaluated false (10ms)
+7385ms ââCondition group #null evaluated false (state did not change) (12ms)
+7389ms ââCancelling statement #72âs schedulesâŚ
+7402ms ââExecuted physical command [Front M].setLevel([32]) (8ms)
+7404ms ââExecuted [Front M].setLevel (11ms)
+7423ms ââComparison (boolean) false is (boolean) true = false (3ms)
+7425ms ââCondition #163 evaluated false (9ms)
+7427ms ââCondition group #null evaluated false (state did not change) (10ms)
+7431ms ââCancelling statement #72âs schedulesâŚ
+7445ms ââExecuted physical command [Front R].setLevel([32]) (8ms)
+7446ms ââExecuted [Front R].setLevel (10ms)
+7469ms ââComparison (boolean) false is (boolean) true = false (3ms)
+7471ms ââCondition #151 evaluated false (7ms)
+7472ms ââCondition group #null evaluated false (state did not change) (9ms)
+7475ms ââCancelling statement #74âs schedulesâŚ
+7480ms ââExecuted virtual command wait (1ms)
+7481ms ââWaiting for 2000ms
+9489ms ââCalculating (integer) 32 - (integer) 4 >> (integer) 28
+9500ms ââCalculating (integer) 32 - (integer) 4 >> (integer) 28
+9505ms ââCalculating (integer) 28 < (integer) 1 >> (boolean) false
+9511ms ââCalculating (integer) 32 + (integer) 4 >> (integer) 36
+9522ms ââCalculating (integer) 32 + (integer) 4 >> (integer) 36
+9527ms ââCalculating (integer) 36 > (integer) 80 >> (boolean) false
+9531ms ââCalculating (boolean) false ! (boolean) false >> (boolean) true
+9537ms ââExecuted virtual command setVariable (4ms)
+9551ms ââComparison (boolean) false is (boolean) true = false (2ms)
+9553ms ââCondition #163 evaluated false (7ms)
+9554ms ââCondition group #null evaluated false (state did not change) (8ms)
+9557ms ââCancelling statement #72âs schedulesâŚ
+9568ms ââExecuted physical command [Front L].setLevel([28]) (6ms)
+9568ms ââExecuted [Front L].setLevel (7ms)
+9581ms ââComparison (boolean) false is (boolean) true = false (2ms)
+9583ms ââCondition #163 evaluated false (6ms)
+9584ms ââCondition group #null evaluated false (state did not change) (8ms)
+9587ms ââCancelling statement #72âs schedulesâŚ
+9597ms ââExecuted physical command [Front M].setLevel([28]) (5ms)
+9598ms ââExecuted [Front M].setLevel (7ms)
+9610ms ââComparison (boolean) false is (boolean) true = false (2ms)
+9612ms ââCondition #163 evaluated false (6ms)
+9613ms ââCondition group #null evaluated false (state did not change) (8ms)
+9616ms ââCancelling statement #72âs schedulesâŚ
+9626ms ââExecuted physical command [Front R].setLevel([28]) (5ms)
+9627ms ââExecuted [Front R].setLevel (8ms)
+9644ms ââComparison (boolean) false is (boolean) true = false (2ms)
+9646ms ââCondition #151 evaluated false (6ms)
+9647ms ââCondition group #null evaluated false (state did not change) (7ms)
+9650ms ââCancelling statement #74âs schedulesâŚ
+9654ms ââExecuted virtual command wait (0ms)
+9656ms ââRequesting a wake up for Sat, Dec 2 2017 @ 10:07:24 PM PST (in 2.0s)
+9664ms ââExecution stage complete. (9372ms)
+9668ms âSetting up scheduled job for Sat, Dec 2 2017 @ 10:07:24 PM PST (in 1.992s), with 1 more job pending
+9771ms âEvent processed successfully (9770ms)
12/2/2017, 10:07:02 PM +345ms
+1ms âReceived event [Home].time = 1512281223207 with a delay of -864ms
+240ms âRunTime Analysis CS > 21ms > PS > 53ms > PE > 168ms > CE
+284ms âRuntime (68656 bytes) successfully initialized in 53ms (v0.2.0fe.20171109) (280ms)
+285ms ââExecution stage started
+451ms ââCalculating (integer) 68 - (integer) 4 >> (integer) 64
+460ms ââCalculating (integer) 68 - (integer) 4 >> (integer) 64
+464ms ââCalculating (integer) 64 < (integer) 1 >> (boolean) false
+470ms ââCalculating (integer) 68 + (integer) 4 >> (integer) 72
+480ms ââCalculating (integer) 68 + (integer) 4 >> (integer) 72
+484ms ââCalculating (integer) 72 > (integer) 80 >> (boolean) false
+487ms ââCalculating (boolean) false ! (boolean) false >> (boolean) true
+493ms ââExecuted virtual command setVariable (3ms)
+505ms ââComparison (boolean) false is (boolean) true = false (1ms)
+507ms ââCondition #163 evaluated false (6ms)
+508ms ââCondition group #null evaluated false (state did not change) (6ms)
+511ms ââCancelling statement #72âs schedulesâŚ
+527ms ââExecuted physical command [Front L].setLevel([64]) (9ms)
+528ms ââExecuted [Front L].setLevel (12ms)
+539ms ââComparison (boolean) false is (boolean) true = false (2ms)
+540ms ââCondition #163 evaluated false (5ms)
+541ms ââCondition group #null evaluated false (state did not change) (7ms)
+544ms ââCancelling statement #72âs schedulesâŚ
+559ms ââExecuted physical command [Front M].setLevel([64]) (8ms)
+560ms ââExecuted [Front M].setLevel (10ms)
+571ms ââComparison (boolean) false is (boolean) true = false (2ms)
+572ms ââCondition #163 evaluated false (5ms)
+573ms ââCondition group #null evaluated false (state did not change) (6ms)
+576ms ââCancelling statement #72âs schedulesâŚ
+589ms ââExecuted physical command [Front R].setLevel([64]) (8ms)
+590ms ââExecuted [Front R].setLevel (9ms)
+606ms ââComparison (boolean) false is (boolean) true = false (2ms)
+607ms ââCondition #151 evaluated false (5ms)
+608ms ââCondition group #null evaluated false (state did not change) (7ms)
+611ms ââCancelling statement #74âs schedulesâŚ
+614ms ââExecuted virtual command wait (0ms)
+615ms ââWaiting for 2000ms
+2623ms ââCalculating (integer) 64 - (integer) 4 >> (integer) 60
+2632ms ââCalculating (integer) 64 - (integer) 4 >> (integer) 60
+2636ms ââCalculating (integer) 60 < (integer) 1 >> (boolean) false
+2642ms ââCalculating (integer) 64 + (integer) 4 >> (integer) 68
+2652ms ââCalculating (integer) 64 + (integer) 4 >> (integer) 68
+2655ms ââCalculating (integer) 68 > (integer) 80 >> (boolean) false
hmm ⌠this is one piston i run regularly so i know the color rotate and fade works consistently. so a little surprised.
are you sure there is not something else also running that is setting the color of any of these lights while this piston is running?
yet as far as I know I pretty much just got these for this reason Gonna have to wait till tommorrow I gotta hit the sack or wife is gonna kill me. Thanks for all the help tonight Ill proably bug you more tommorrow Really really love this piston and Im sure will get it working sooner or later
it didnt like me changing the time to isBetween($now, $sunset, $sunrise) Just shut it off when I did that