1) Give a description of the problem
Testing a simple piston with a Hue bulb. It looks like the bulb state is not being captured, or the “revert” does not happen…
2) What is the expected behaviour?
when the trigger happens, flash the light (change color/intensity), then revert to what the original captured state was.
3) What is happening/not happening?
light flashes, then goes to full blue (first value in fash sequence), instead of returning to white (or off if that was the original state)
4) Post a Green Snapshot of the piston
k0zot
5) Attach logs after turning logging level to Full
2/29/2020, 4:35:13 PM +691ms
+1ms ╔Received event [MB Door Sensor].acceleration = inactive with a delay of 114ms
+84ms ║RunTime Analysis CS > 17ms > PS > 41ms > PE > 26ms > CE
+86ms ║Runtime (38066 bytes) successfully initialized in 41ms (v0.3.110.20191009) (84ms)
+87ms ║╔Execution stage started
+95ms ║║Comparison (enum) inactive is (string) active = false (2ms)
+96ms ║║Cancelling condition #2’s schedules…
+97ms ║║Condition #2 evaluated false (6ms)
+99ms ║║Cancelling condition #1’s schedules…
+99ms ║║Condition group #1 evaluated false (state changed) (8ms)
+101ms ║╚Execution stage complete. (14ms)
+102ms ╚Event processed successfully (102ms)
2/29/2020, 4:35:02 PM +73ms
+0ms ╔Received event [My home].time = 1583019303038 with a delay of -965ms
+98ms ║RunTime Analysis CS > 24ms > PS > 43ms > PE > 31ms > CE
+101ms ║Runtime (38057 bytes) successfully initialized in 43ms (v0.3.110.20191009) (100ms)
+102ms ║╔Execution stage started
+127ms ║║Restoring attribute ‘color’ to value ‘’ using command setColor()
+167ms ║║Executed physical command [Bedside Lamp].setColor([]) (39ms)
+180ms ║║Restoring attribute ‘colorTemperature’ to value ‘6536’ using command setColorTemperature(6536)
+187ms ║║Executed physical command [Bedside Lamp].setColorTemperature([6536]) (7ms)
+201ms ║║Restoring attribute ‘hue’ to value ‘187990.83333333334’ using command setHue(187990.83333333334)
+208ms ║║Executed physical command [Bedside Lamp].setHue([187990.83333333334]) (6ms)
+218ms ║║Restoring attribute ‘level’ to value ‘54’ using command setLevel(54)
+230ms ║║Skipped execution of physical command [Bedside Lamp].setLevel([54]) because it would make no change to the device. (10ms)
+240ms ║║Restoring attribute ‘saturation’ to value ‘100’ using command setSaturation(100)
+247ms ║║Executed physical command [Bedside Lamp].setSaturation([100]) (6ms)
+249ms ║║Restoring attribute ‘switch’ to value ‘on’ using command on()
+255ms ║║Skipped execution of physical command [Bedside Lamp].on([]) because it would make no change to the device. (5ms)
+256ms ║║Executed virtual command [Bedside Lamp].loadStateLocally (139ms)
+258ms ║╚Execution stage complete. (156ms)
+259ms ╚Event processed successfully (259ms)
2/29/2020, 4:34:57 PM +681ms
+2ms ╔Received event [MB Door Sensor].acceleration = active with a delay of 132ms
+79ms ║RunTime Analysis CS > 17ms > PS > 37ms > PE > 25ms > CE
+81ms ║Runtime (38070 bytes) successfully initialized in 37ms (v0.3.110.20191009) (79ms)
+82ms ║╔Execution stage started
+90ms ║║Comparison (enum) active is (string) active = true (1ms)
+92ms ║║Cancelling condition #2’s schedules…
+92ms ║║Condition #2 evaluated true (6ms)
+93ms ║║Cancelling condition #1’s schedules…
+94ms ║║Condition group #1 evaluated true (state changed) (8ms)
+96ms ║║Cancelling statement #3’s schedules…
+138ms ║║Executed virtual command [Bedside Lamp].saveStateLocally (35ms)
+168ms ║║Executed physical command [Bedside Lamp].setColor([[hex: #DC143C, hue:97, saturation:83, level:58]]) (13ms)
+178ms ║║Executed physical command [Bedside Lamp].setColor([[hex: #0000FF, hue:67, saturation:100, level:50]], [delay: 500]) (8ms)
+188ms ║║Executed physical command [Bedside Lamp].setColor([[hex: #DC143C, hue:97, saturation:83, level:58]], [delay: 1000]) (9ms)
+195ms ║║Executed physical command [Bedside Lamp].setColor([[hex: #0000FF, hue:67, saturation:100, level:50]], [delay: 1500]) (6ms)
+204ms ║║Executed physical command [Bedside Lamp].setColor([[hex: #DC143C, hue:97, saturation:83, level:58]], [delay: 2000]) (8ms)
+213ms ║║Executed physical command [Bedside Lamp].setColor([[hex: #0000FF, hue:67, saturation:100, level:50]], [delay: 2500]) (7ms)
+220ms ║║Executed physical command [Bedside Lamp].setColor([[hex: #DC143C, hue:97, saturation:83, level:58]], [delay: 3000]) (6ms)
+230ms ║║Executed physical command [Bedside Lamp].setColor([[hex: #0000FF, hue:67, saturation:100, level:50]], [delay: 3500]) (9ms)
+238ms ║║Executed physical command [Bedside Lamp].setColor([[hex: #DC143C, hue:97, saturation:83, level:58]], [delay: 4000]) (7ms)
+246ms ║║Executed physical command [Bedside Lamp].setColor([[hex: #0000FF, hue:67, saturation:100, level:50]], [delay: 4500]) (6ms)
+255ms ║║Executed physical command [Bedside Lamp].on([delay: 5099]) (8ms)
+255ms ║║Executed virtual command [Bedside Lamp].flashColor (108ms)
+257ms ║║Requesting a wake up for Sat, Feb 29 2020 @ 4:35:03 PM MST (in 5.1s)
+261ms ║╚Execution stage complete. (179ms)
+262ms ║Setting up scheduled job for Sat, Feb 29 2020 @ 4:35:03 PM MST (in 5.095s)
+270ms ╚Event processed successfully (270ms)
REMOVE BELOW AFTER READING
If a solution is found for your question then please mark the post as the solution.