You should post a video of what you want to capture too, we can't tell if this is where the motion is expected or if this is where no motion is expected.
But, it looks like you should make this a type "preclusive" or add a preclusive zone.
Select an area where you expect no motion, and set it up so if most of the area
has pixel changes like you get with a light going on or off, then
nothing is captured - you want to set the minimum for the "Min/Max Alarmed Area" to something like 50% of all the pixels in the zone.
And then you might be able to use the "Extend Alarm Frame Count".
Read:
https://zoneminder.readthedocs.io/en/la ... ezone.html