1) Give a description of the problem
I’ve created a piston to handle a garden floodlight. I have a motion sensor and a button that can trigger the light to come on.
All behaviour works as expected, except the light does not turn off after 3 minutes when a short button push turns it on.
2) What is the expected behavior?
If there is motion and the light is off then the light should turn on and turn off again after 1 minute of no motion.
Orange ON and spinning circle and trigger time in piston state
If I push the button and the light is off then the light should come on and stay on for 3 minutes then turn off.
Orange ON and spinning circle and button push time in piston state
If I push the button and the light is on then it should turn off
Green OFF and last motion trigger time and date in piston state
If I hold the button and the light is off then the light should turn on and stay on
Red ON in piston state
If I hold the button and the light is on, nothing should happen
3) What is happening/not happening?
Everything works as expected…except if i short press the button. In this situation the light comes on and the piston state is set correctly, but it never turns off again
I suspect its something to do with the Every day at buttonTrigger time line…I set buttonTrigger to timerButton minutes later than $now when the button is pushed and that time i’d like to use as the trigger to perform the turn off part
4) Post a Green Snapshot of the piston
5) Attach any logs (From ST IDE and by turning logging level to Full)
The Every day at buttonTrigger time section is not triggered…