1) Give a description of the problem
Hue Bulb not restoring color.
2) What is the expected behavior?
This is just a test piston so I can learn how to use functions. When I press the button on my remote, it is supposed to store the current state, change to orange for 10 seconds and then revert back to the stored state.
3) What is happening/not happening?
The first part of the piston runs as expected, however when it comes time to restore, the bulb briefly goes back to the correct color and then changes to green. The test variables I have set up show that no color is being saved to the local store. I am using the Hue B Smart DTHs for my bulbs and am curious if this is just an incompatibility between that and WebCore
**4) Post a Green Snapshot of the piston
5) Attach any logs (From ST IDE and by turning logging level to Full)
(2/26/2018, 11:05:43 AM +362ms
+0ms âReceived event [Home].time = 1519661144244 with a delay of -882ms
+347ms âRunTime Analysis CS > 194ms > PS > 79ms > PE > 74ms > CE
+351ms âRuntime (45104 bytes) successfully initialized in 79ms (v0.3.000.20180224) (350ms)
+353ms ââExecution stage started
+412ms ââRestoring attribute âcolorâ to value ââ using command setColor()
+689ms ââExecuted physical command [LR Lamp Center].setColor([]) (273ms)
+705ms ââRestoring attribute âcolorTemperatureâ to value â2732â using command setColorTemperature(2732)
+2142ms ââExecuted physical command [LR Lamp Center].setColorTemperature([2732]) (1434ms)
+2155ms ââRestoring attribute âhueâ to value â23.0â using command setHue(23.0)
+2351ms ââExecuted physical command [LR Lamp Center].setHue([23.0]) (194ms)
+2363ms ââRestoring attribute âlevelâ to value â100â using command setLevel(100)
+2407ms ââExecuted physical command [LR Lamp Center].setLevel([100]) (43ms)
+2421ms ââRestoring attribute âsaturationâ to value â100â using command setSaturation(100)
+2513ms ââExecuted physical command [LR Lamp Center].setSaturation([100]) (91ms)
+2517ms ââRestoring attribute âswitchâ to value âonâ using command on()
+2573ms ââExecuted physical command [LR Lamp Center].on() (51ms)
+2574ms ââExecuted virtual command [LR Lamp Center].loadStateLocally (2191ms)
+2577ms ââExecution stage complete. (2224ms)
+2579ms âEvent processed successfully (2579ms)
2/26/2018, 11:05:26 AM +548ms
+1ms âReceived event [Aeon Minimote].button = pushed with a delay of 972ms
+95ms âRunTime Analysis CS > 13ms > PS > 37ms > PE > 44ms > CE
+97ms âRuntime (44754 bytes) successfully initialized in 37ms (v0.3.000.20180224) (95ms)
+98ms ââExecution stage started
+109ms ââComparison (enum) pushed gets (string) pushed = true (1ms)
+110ms ââCondition #7 evaluated true (5ms)
+111ms ââCondition group #1 evaluated true (state did not change) (7ms)
+113ms ââCancelling statement #24âs schedulesâŚ
+651ms ââExecuted physical command [LR Lamp Center].refresh() (533ms)
+651ms ââExecuted [LR Lamp Center].refresh (534ms)
+655ms ââExecuted virtual command [LR Lamp Center].wait (1ms)
+656ms ââWaiting for 3000ms
+3664ms ââExecuted virtual command [LR Lamp Center].setVariable (2ms)
+3672ms ââExecuted virtual command [LR Lamp Center].setVariable (2ms)
+3680ms ââExecuted virtual command [LR Lamp Center].setVariable (3ms)
+3687ms ââExecuted virtual command [LR Lamp Center].setVariable (2ms)
+3696ms ââExecuted virtual command [LR Lamp Center].setVariable (3ms)
+3704ms ââExecuted virtual command [LR Lamp Center].setVariable (3ms)
+3726ms ââExecuted virtual command [LR Lamp Center].saveStateLocally (14ms)
+3729ms ââExecuted virtual command [LR Lamp Center].wait (0ms)
+3730ms ââWaiting for 3000ms
+7690ms ââExecuted physical command [LR Lamp Center].setColor([[hex: #ff8040, hue:6, saturation:100, level:63]]) (954ms)
+7690ms ââExecuted [LR Lamp Center].setColor (957ms)
+7694ms ââExecuted virtual command [LR Lamp Center].wait (1ms)
+7695ms ââRequesting a wake up for Mon, Feb 26 2018 @ 11:05:44 AM EST (in 10.0s)
+7699ms ââExecution stage complete. (7601ms)
+7701ms âSetting up scheduled job for Mon, Feb 26 2018 @ 11:05:44 AM EST (in 9.996s)
+7708ms âEvent processed successfully (7708ms)