Send Motion-user mailing list submissions to motion-user@lists.sourceforge.net
To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/motion-user or, via email, send a message with subject or body 'help' to motion-user-requ...@lists.sourceforge.net You can reach the person managing the list at motion-user-ow...@lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Motion-user digest..." Today's Topics: 1. Re: Event_start/event_end behaviour (James Smith) ---------------------------------------------------------------------- Message: 1 Date: Sun, 28 Feb 2021 20:41:26 +1000 From: James Smith <gry...@gmail.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] Event_start/event_end behaviour Message-ID: <cak21x7vbujg4bpwx_y8jityvbtpdqbrp__mn7h0tijdsnmm...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" Thanks for the suggestion, start_event and end_event are working as they should. After a bit of tracing, it turned out to be a logic issue with my scripts. On Thu, Feb 18, 2021 at 10:14 PM tosiara <tosi...@gmail.com> wrote: > If you are able to reproduce it, run motion with -d 9 to get verbose > log and try to analyze it (or share here) > It should give you more info when and which script got executed > > On Sun, Feb 14, 2021 at 3:25 AM James Smith <gry...@gmail.com> wrote: > > > > I'm using event_start and event_end to run a python script I've written > to push captured images in a motion event to a deepstack AI server and on > detection of specific objects then cast that cameras stream to a Google > Nest Hub. > > > > In general it's working fine, however as I have 4 cameras set up to run > the same script on motion, quite often there can be an overlap of motion > detection, especially at night with bugs galore attracted to the IR LEDs. > From what I can tell, it appears an event_start from another camera looks > to override the event_gap setting and kills any event and the scripts it > run that may already be in progress from another. > > > > My reason for thinking this is because the script, which I also have > doing some other tasks, like generating an animated gif from the event and > then removing the images, is not finishing all of the time when triggered > from motion, so I could only assume this happens when another event gets > triggered while this one is running. > > > > Is this intended behaviour, or should it be spawning an entirely new > process each time and allowing the script to run to completion? Any > suggestions how I can make sure the scripts aren't interrupted? > > > > Regards > > James > > _______________________________________________ > > Motion-user mailing list > > Motion-user@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/motion-user > > https://motion-project.github.io/ > > > > Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user > > > _______________________________________________ > Motion-user mailing list > Motion-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/motion-user > https://motion-project.github.io/ > > Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user > -- -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GIT d? s+:+ a C+++ US++++ P++ L++ E--- W-- N++ o+ K w--- O M-- V-- PS PE+ Y+ PGP t+ 5+ X+ R tv+ b+ DI++ D+ G e h---- r+++ y++++ ------END GEEK CODE BLOCK------ -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ ------------------------------ Subject: Digest Footer _______________________________________________ Motion-user mailing list Motion-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/motion-user ------------------------------ End of Motion-user Digest, Vol 176, Issue 40 ********************************************