Help with piston


#1

1) Give a description of the problem
(Trying to set up a piston that uses luminance sensor from one room and motion from another room to turn on lights during the day)

2) What is the expected behavior?
(Lights turn on but they are not turning off )

3) What is happening/not happening?
(Iights are turning on fine but for some reason they are not turning off. Also would like to know why is there a (?) next to the ELSE -> DO , part of the piston

4) Post a Green Snapshot of the pistonimage
(

)

5) Attach any logs (From ST IDE and by turning logging level to Full)
(PASTE YOUR LOGS HERE BETWEEN THE MARKS THEN HIGHLIGHT ALL OF THE LOGS SND CLICK ON THE </> ICON TO FORMAT THEM)


#2

I would do it slightly differently.
How about something like this.


This way while motion is detected, the timer keeps resetting so you can move around for 30 minutes and the light will not turn off.
Also note the red ‘N’. This is Task Cancellation Policy (TCP) set to off.
You can copy this using code bpgq6 if you wish.


#3

Ok looks good I’ll give it a try. Thanks!!