What I would like is to "reset" and after 10 minutes turn the lights off if no motion is detected.
My problem is that if I turn the lights off (manually, I havent started programming yet) it actually triggers a motion in the camera which turn the lights back on.
My guess is that the shifting shadows when the lights goes off causes this.
Soo, I need some help figuring this out

What Im thinking is that I need some kind of delayed "block" on the light switch, so that after an OFF action it cant be turned ON for 5 seconds or something like that.
How would you recommend approaching this, can it be done with blockly or do I need to dig into LUA?
BR /Crille