1) Give a description of the problem
I am trying to write a piston that will turn on lights and level for 3 different scenarios. The light comes on at the correct time but do not seem to turn off.
Question which may be related to my problem:
- Are pistons single instances? In that, if in my example, the sensor turns active and the piston begins to run will another instance of the piston run if the sensor turns active again. I am wondering if the first lot of wait commands could still be waiting when the motion sensor is hit again? I hope this makes sense. If this is the case, can anyone suggest how to reset the piston each time motion is detected?
2) What is the expected behavior?
The landing light will turn on for x amount of minutes, then dim for x amount of minutes, then off. The level it turns on at and dims at is dependent on the time frame
3) What is happening/not happening?
The landing light does not turn off.
4) Post a Green Snapshot of the piston
5) Attach any logs (From ST IDE and by turning logging level to Full)
No logs from last night (when it was first ran)
thanks!