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 detection (somebody)
2. Re: checking camera periodically (E Thomas)
3. Re: checking camera periodically (tosiara)
4. Re: motion detection (somebody)
----------------------------------------------------------------------
Message: 1
Date: Sat, 29 Sep 2018 10:02:45 -0600
From: somebody <[email protected]>
To: [email protected]
Subject: Re: [Motion-user] motion detection
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"
There wasn't an "on_picture_save" option in
/usr/local/etc/motion/motion.conf. I added it and pointed it to my gmail
account but I never got an e-mail when someone was in in the rooms. Yes,
I restarted motion and even rebooted the computer to be sure. Also, I
tried using "on_event_start" as shown at
https://htmlpreview.github.io/?https://raw.githubusercontent.com/Motion-Project/motion/master/motion_config.html#on_motion_detected
string used in motion.conf: on_motion_detected mpack -s "Your Security
Camera has detected Motion!" %f [email protected]
On 09/27/2018 06:34 PM, [email protected] wrote:
> You can use mpack. Example:
> on_picture_save /usr/bin/mpack -s %f %f [email protected]
> <mailto:[email protected]>
>
>
>
> On Thu, Sep 27, 2018 at 5:20 PM? <[email protected]> wrote:
>
> Is there a script or app that can be used to give motion alerts on a
> smartphone? Android?
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
Message: 2
Date: Sat, 29 Sep 2018 13:04:58 -0400
From: E Thomas <[email protected]>
To: Motion discussion list <[email protected]>
Subject: Re: [Motion-user] checking camera periodically
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"
You could use your script on camera lost to write a file and then delete it
with a script when the camera is reacquired.? Then your cron job can just check
for the existence of the file..?
Sent from my TI83
-------- Original message --------
From: Dougie Nisbet <[email protected]>
Date: 9/29/18 5:37 AM (GMT-05:00)
To: Motion discussion list <[email protected]>
Subject: [Motion-user] checking camera periodically
null
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
Message: 3
Date: Sat, 29 Sep 2018 20:07:50 +0300
From: tosiara <[email protected]>
To: Motion discussion list <[email protected]>
Subject: Re: [Motion-user] checking camera periodically
Message-ID:
<CACHTdwQfh4HteMS1CsTWtR0xG7TRdVjNmDAML3f1BPcO7ith=a...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
I check this way:
connection=`curl --silent http://localhost:8080/1/detection/connection |
grep OK`
if [ ! -z "$connection" ]; then status="online"; fi
On Sat, Sep 29, 2018, 12:38 Dougie Nisbet <[email protected]> wrote:
> I make good use of the on_camera_lost variable. By running a script and
> sending me an email it allows me to know about problems immediately and
> check the cause. The problem is that sometimes I forget. Is there a way to
> periodically or interactively check? I'd quite like to, e.g., run a cron
> job every morning that checked all the cameras (mostly cheap USB
> Logitechs). This might not be a motion question specifically - I don't
> really mind how I do it. Perhaps there's a Linux command that I could use
> to programmatically heck if a camera is OK?
>
> Thanks
>
> Dougie
> _______________________________________________
> 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: 4
Date: Sat, 29 Sep 2018 11:20:09 -0600
From: somebody <[email protected]>
To: [email protected]
Subject: Re: [Motion-user] motion detection
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"
>From experimenting on the CLI, I got this when using mpack:
user@server1:~$ mpack -s "Your Security Camera has detected Motion!"
[email protected]
Either an address or one of the -o or -n switches is required
mpack version 1.6
user@server1:~$ mpack -s "Your Security Camera has detected Motion!" -n
[email protected]
An input file must be specified
When using mail or mailx, I get a Cc: prompt. Searching the web, either
no one mentions that Cc: will display or no one mentions how to get out
of the Cc: so that the message will be sent.
user@server1:~$ mail -s "test" [email protected]
Cc:
On 09/29/2018 10:02 AM, somebody wrote:
>
> There wasn't an "on_picture_save" option in
> /usr/local/etc/motion/motion.conf. I added it and pointed it to my
> gmail account but I never got an e-mail when someone was in in the
> rooms. Yes, I restarted motion and even rebooted the computer to be
> sure. Also, I tried using "on_event_start" as shown at
> https://htmlpreview.github.io/?https://raw.githubusercontent.com/Motion-Project/motion/master/motion_config.html#on_motion_detected
>
> string used in motion.conf: on_motion_detected mpack -s "Your Security
> Camera has detected Motion!" %f [email protected]
>
>
> On 09/27/2018 06:34 PM, [email protected] wrote:
>> You can use mpack. Example:
>> on_picture_save /usr/bin/mpack -s %f %f [email protected]
>> <mailto:[email protected]>
>>
>>
>>
>> On Thu, Sep 27, 2018 at 5:20 PM? <[email protected]> wrote:
>>
>> Is there a script or app that can be used to give motion alerts on a
>> smartphone? Android?
>>
>>
>>
>>
>
>
>
>
>
> _______________________________________________
> 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 147, Issue 27
********************************************