@dam4 sounds like it might be working - especially based on these lines:
[1:ml1] [NTC] [ALL] motion_detected: Motion detected - starting event 1
display_power=1
...
[1:ml1] [NTC] [ALL] mlp_actions: End of event 1
display_power=0
I found a couple other config options and I think I was able to disable all the “event_newfile: File of type 2 saved to: /run/shm/lastsnap.jpg” stuff. I wonder if that’s what was causing memory leaks for @bhepler I set the pre_capture and post_capture to 0
You might need to play with some of the settings for threshold and event_gap to get it to behave like you want but it sounds like you’re almost there. I set mine up in pm2 like mentioned earlier in the thread and it’s been working fine for the last day for me.