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: Area Detect Query/Use Case (Kinney Baughman)
2. can Motion be run without using sudo (Ted Romer)
3. can Motion be run without using sudo (Ted Romer)
4. Re: can Motion be run without using sudo (Harlan Daneker)
----------------------------------------------------------------------
Message: 1
Date: Sun, 14 Jul 2019 11:29:01 -0400
From: Kinney Baughman <[email protected]>
To: Motion discussion list <[email protected]>
Subject: Re: [Motion-user] Area Detect Query/Use Case
Message-ID:
<CAKpJUz6a0KU6Znjfuu1EC=didxqtwgacrw5amnw5uz6yotg...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
I find it helpful to turn "locate_motion_mode" on when wrestling with
these kinds of problems. With that on, you can see the precise area of the
image that is triggering motion and adjust accordingly.
# Locate and draw a box around the moving object.
# Valid values: on, off, preview (default: off)
# Set to 'preview' will only draw a box in preview_shot pictures.
locate_motion_mode on
On Sun, Jul 14, 2019 at 8:08 AM Jake Stride <[email protected]> wrote:
> Thanks, giving it a try but it's not working how I had hoped. I wanted to
> use it to process the movie created when the event ended but it doesn't
> provide the filename in %f.
>
> Any suggestions on how I'd be able to only process the file on_movie_end
> if the motion was in the area detect, or maybe had a high x value for the
> motion centre?
>
> On Sun., 14 Jul. 2019, 18:05 Joerg Weber, <[email protected]> wrote:
>
>> Hi Jake,
>>
>> yes, perfectly fits your needs. You would configure following:
>>
>> area_detect 456789
>> on_area_detected /some/path/your_script
>>
>> Please note that the area definition is only related to the execution of
>> the script. It does not change behaviour of the actual motion detection,
>> like masks do. The script is executed only once during an event.
>>
>>
>> Brgds Joerg.
>>
>>
>>
>> 14. Juli 2019 11:31 Uhr, "Jake Stride" <[email protected]
>> <%22jake%20stride%22%20%[email protected]%3E>> schrieb:
>>
>> Are there any hints on how to use this
>> https://motion-project.github.io/motion_config.html#area_detect please?
>> I have a use case where I'd like to record a movie for motion detected
>> anywhere in the video, but only trigger a script when motion is on the
>> bottom two thirds, something like:
>> ----
>> ++++
>> ++++
>>
>> _______________________________________________
>> 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
>
> _______________________________________________
> 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: Sun, 14 Jul 2019 22:48:08 -0500
From: Ted Romer <[email protected]>
To: [email protected]
Subject: [Motion-user] can Motion be run without using sudo
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8
I upgraded one of my systems and I am trying to see if I can run Motion without
sudo. I have a Pi Zero W with Buster Lite and Motion 4.1.1. I have been
starting Motion on my systems with sudo but I would like to see if I can get it
to run without sudo. My user account is pi. If I try to run Motion as pi it
fails out due to lack of permission to write to /var/log/motion/motion.log and
also cannot create the pid file. If I try to get Motion to start as a service I
get file permissions errors on /var/log/motion/motion.log. When I start motion
with sudo, my jpg and video files are created with root as the owner. I am
having the files saved in a directory in pi?s home directory.
I have been searching for information pertaining to how to configure and deal
with the permissions issues but have not found a solution. Is there a way to do
it without sudo?
Thanks.
Ted
------------------------------
Message: 3
Date: Sun, 14 Jul 2019 22:48:08 -0500
From: Ted Romer <[email protected]>
To: [email protected]
Subject: [Motion-user] can Motion be run without using sudo
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8
I upgraded one of my systems and I am trying to see if I can run Motion without
sudo. I have a Pi Zero W with Buster Lite and Motion 4.1.1. I have been
starting Motion on my systems with sudo but I would like to see if I can get it
to run without sudo. My user account is pi. If I try to run Motion as pi it
fails out due to lack of permission to write to /var/log/motion/motion.log and
also cannot create the pid file. If I try to get Motion to start as a service I
get file permissions errors on /var/log/motion/motion.log. When I start motion
with sudo, my jpg and video files are created with root as the owner. I am
having the files saved in a directory in pi?s home directory.
I have been searching for information pertaining to how to configure and deal
with the permissions issues but have not found a solution. Is there a way to do
it without sudo?
Thanks.
Ted
------------------------------
Message: 4
Date: Sun, 14 Jul 2019 23:56:59 -0400
From: Harlan Daneker <[email protected]>
To: Motion discussion list <[email protected]>
Subject: Re: [Motion-user] can Motion be run without using sudo
Message-ID:
<cac1wkiqux786jwqn29sposdbtbfecfevdmgn3gesysxydpc...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Take a look at this, worked for me for a different issue.
https://linuxconfig.org/how-to-use-special-permissions-the-setuid-setgid-and-sticky-bits
On Sun, Jul 14, 2019 at 11:48 PM Ted Romer <[email protected]> wrote:
> I upgraded one of my systems and I am trying to see if I can run Motion
> without sudo. I have a Pi Zero W with Buster Lite and Motion 4.1.1. I have
> been starting Motion on my systems with sudo but I would like to see if I
> can get it to run without sudo. My user account is pi. If I try to run
> Motion as pi it fails out due to lack of permission to write to
> /var/log/motion/motion.log and also cannot create the pid file. If I try to
> get Motion to start as a service I get file permissions errors on
> /var/log/motion/motion.log. When I start motion with sudo, my jpg and video
> files are created with root as the owner. I am having the files saved in a
> directory in pi?s home directory.
>
> I have been searching for information pertaining to how to configure and
> deal with the permissions issues but have not found a solution. Is there a
> way to do it without sudo?
>
> Thanks.
>
> Ted
>
> _______________________________________________
> 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 157, Issue 8
*******************************************