I’m facing issue with core task, what I would like to do simple is: if motion detected then after 15 minutes if no motion then turn off the lights.
if I understand it correctly. on the condition in core, I did add the motion detector sensor. and did the following:-
1- wait 15 minutes
2- turn off the lights.
NOTE: logically, it seem it will go no matter what, after 15 minutes it will perform turn off the light, but I remember I read somewhere on the forum that if new motion detected then the counter reset (of the 15 minutes and it will start after no motion detect next time)
Are you using CoRE or webCoRE? webCoRE the option is already setup so that the counter resets once motion is detected. In CoRE, you have to set it to Cancel on Piston State change or the light will go off no matter what after 15 minutes.