Send Motion-user mailing list submissions to
[email protected]
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
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Motion-user digest..."
Today's Topics:
1. Re: Motion pause (Ed Kapitein)
2. Re: Motion pause (Ed Kapitein)
3. Re: Motion pause (Ugo Bottari)
----------------------------------------------------------------------
Message: 1
Date: Sat, 26 Mar 2022 12:58:24 +0100
From: Ed Kapitein <[email protected]>
To: [email protected]
Subject: Re: [Motion-user] Motion pause
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Hi Ugo,
Could you stop motion and restart it an hour later from a shell script?
Pseudo code:
while true; do
?if test -s /some/trigger/file; then
? sudo killall motion
? sleep 1h
? rm /some/trigger/file;
? sudo motion
?fi
done
the /some/trigger/file can be created with the on_event_start option in
motion.conf
Kind regards,
Ed
On 3/26/22 09:09, Ugo Bottari wrote:
> I use motion with a Raspberry.
> But I have a serious drawback: motion is activated to record a brief
> many times, even within a few minutes of each other.
> And the video clips made in this way differ slightly from each other
> and therefore are, for my purposes, not very significant.
> Besides filling the hard disk.I would therefore need that, after
> making a video, motion paused for - let's say - an hour.
> There is the motion pause function but it does not seem to me that it
> is possible to activate this function for an hour and then resume
> immediately afterwards.
> But I haven't found a similar function that reactivates motion.
> Exists ?
> Can it be solved ?
>
>
> _______________________________________________
> Motion-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/motion-user
> https://motion-project.github.io/
>
> Unsubscribe:https://lists.sourceforge.net/lists/options/motion-user
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
Message: 2
Date: Sat, 26 Mar 2022 13:00:00 +0100
From: Ed Kapitein <[email protected]>
To: [email protected]
Subject: Re: [Motion-user] Motion pause
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Hi Ugo,
Could you stop motion and restart it an hour later from a shell script?
Pseudo code:
while true; do
?if test -s /some/trigger/file; then
? sudo killall motion
? sleep 1h
? rm /some/trigger/file;
? sudo motion
?fi
done
the /some/trigger/file can be created with the
On 3/26/22 09:09, Ugo Bottari wrote:
> I use motion with a Raspberry.
> But I have a serious drawback: motion is activated to record a brief
> many times, even within a few minutes of each other.
> And the video clips made in this way differ slightly from each other
> and therefore are, for my purposes, not very significant.
> Besides filling the hard disk.I would therefore need that, after
> making a video, motion paused for - let's say - an hour.
> There is the motion pause function but it does not seem to me that it
> is possible to activate this function for an hour and then resume
> immediately afterwards.
> But I haven't found a similar function that reactivates motion.
> Exists ?
> Can it be solved ?
>
>
> _______________________________________________
> Motion-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/motion-user
> https://motion-project.github.io/
>
> Unsubscribe:https://lists.sourceforge.net/lists/options/motion-user
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
Message: 3
Date: Sat, 26 Mar 2022 13:56:20 +0100
From: Ugo Bottari <[email protected]>
To: Motion discussion list <[email protected]>
Subject: Re: [Motion-user] Motion pause
Message-ID:
<caeruwlwdyo2ogzs1jwcblmydsvp4ssyxvit9sqqhxf1duss...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Hi Ed
I figured it would take some code.
Unfortunately I am not able to create a script that implements the
indicated pseudo-code.
I have minimal experience with sh scripts but I don't think I can write one
that is so (for me) complex.
Incidentally: It seems strange to me that such a feature is not implemented
by default in motion.
Can I have your help?
Thank you very much.
Il giorno sab 26 mar 2022 alle ore 13:18 Ed Kapitein via Motion-user <
[email protected]> ha scritto:
> Hi Ugo,
>
> Could you stop motion and restart it an hour later from a shell script?
>
>
> Pseudo code:
> while true; do
> if test -s /some/trigger/file; then
> sudo killall motion
>
> sleep 1h
>
> rm /some/trigger/file;
> sudo motion
> fi
> done
>
> the /some/trigger/file can be created with the
>
>
>
> On 3/26/22 09:09, Ugo Bottari wrote:
>
> I use motion with a Raspberry.
> But I have a serious drawback: motion is activated to record a brief many
> times, even within a few minutes of each other.
> And the video clips made in this way differ slightly from each other and
> therefore are, for my purposes, not very significant.
> Besides filling the hard disk. I would therefore need that, after making
> a video, motion paused for - let's say - an hour.
> There is the motion pause function but it does not seem to me that it is
> possible to activate this function for an hour and then resume immediately
> afterwards.
> But I haven't found a similar function that reactivates motion.
> Exists ?
> Can it be solved ?
>
>
> _______________________________________________
> Motion-user mailing
> [email protected]https://lists.sourceforge.net/lists/listinfo/motion-userhttps://motion-project.github.io/
>
> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user
>
> _______________________________________________
> Motion-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/motion-user
> https://motion-project.github.io/
>
> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
------------------------------
Subject: Digest Footer
_______________________________________________
Motion-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/motion-user
------------------------------
End of Motion-user Digest, Vol 189, Issue 12
********************************************