Piston runs but dont work


#1

1) Give a description of the problem
The light wont turn on. I made this simple piston just to figure out why a downloaded piston didnt work.

2) What is the expected behavior?
turn the light on

3) What is happening/not happening?
Nothing happens

**4) Post a Green Snapshot of the piston![image|45x37]

5) Attach any logs (From ST IDE and by turning logging level to Full)
|+1ms|╔Received event [Sensor Vard Rum].motion = active with a delay of 51ms| |---|---| |+59ms|║RunTime Analysis CS > 11ms > PS > 27ms > PE > 21ms > CE| |+61ms|║Runtime (36129 bytes) successfully initialized in 27ms (v0.2.101.20171227) (60ms)| |+62ms|║╔Execution stage started| |+70ms|║║Comparison (enum) active changes_to (string) active = true (0ms)| |+71ms|║║Cancelling condition #4's schedules...| |+72ms|║║Condition #4 evaluated true (6ms)| |+73ms|║║Cancelling condition #1's schedules...| |+73ms|║║Condition group #1 evaluated true (state changed) (7ms)| |+75ms|║║Cancelling statement #2's schedules...| |+80ms|║║Skipped execution of physical command [Hall belysning OV].on([]) because it would make no change to the device. (2ms)| |+81ms|║║Executed [Hall belysning OV].on (4ms)| |+83ms|║╚Execution stage complete. (22ms)| |+85ms|╚Event processed successfully (84ms)|


#2

Your log says the outlet is already on. What do you have plugged into it?


#3

Its a dumb bulb with a Fibaro FGS-222.


#4

When in the piston editor, click on the title of the piston at the top to access the piston settings, expand the window by clicking the cog, turn off command optimisation.


#5
1ms ╔Received event [Sensor Vard Rum].motion = active with a delay of 59ms
+111ms ║RunTime Analysis CS > 13ms > PS > 33ms > PE > 65ms > CE
+114ms ║Runtime (36165 bytes) successfully initialized in 33ms (v0.2.101.20171227) (111ms)
+114ms ║╔Execution stage started
+123ms ║║Comparison (enum) active changes_to (string) active = true (1ms)
+124ms ║║Cancelling condition #4’s schedules…
+125ms ║║Condition #4 evaluated true (5ms)
+126ms ║║Cancelling condition #1’s schedules…
+127ms ║║Condition group #1 evaluated true (state changed) (8ms)
+129ms ║║Cancelling statement #2’s schedules…
+169ms ║║Executed physical command [Hall belysning OV].on() (37ms)
+170ms ║║Executed [Hall belysning OV].on (39ms)
+173ms ║╚Execution stage complete. (58ms)
+174ms ╚Event processed successfully (174ms)

#6

Looks good


#7

still dont work


#8

According to the logs the turn on command fired as required.

Looks like your 222 is not displaying its state properly and not responding to commands.


#9

Suspect that it has to do with the fqct that my outlet1 is a child device. But am not sure


#10

What handler are you using?


#11

#12

Ty, The second one worked.
The problem is that in my webCoRE app i have dubble children of that switch now. How can i get rid of the old ones?
And Rhen, i just want to add a inbetween time in The piston.


#13

You need to delete the old child devices via the things list in the ST app… they will then fall off webCoRE as well.


#14

I did but they are still in webcore


#15

Normally deleting a device causes it to appear as xxxxxxxxx on existing pistons and disappear from the dropdown for new ones.

Try going into the WebCoRE app within the ST app and removing it from there…