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: 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 <for...@n0sq.tech>
To: motion-user@lists.sourceforge.net
Subject: Re: [Motion-user] motion detection
Message-ID: <907cfb42-c2fb-08cc-f6ef-1f4aa0fec...@n0sq.tech>
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 u...@gmail.com


On 09/27/2018 06:34 PM, prismb...@gmail.com wrote:
> You can use mpack. Example:
> on_picture_save /usr/bin/mpack -s %f %f 4443335...@mms.att.net
> <mailto:4443335...@mms.att.net>
>
>
>
> On Thu, Sep 27, 2018 at 5:20 PM? <for...@n0sq.tech> 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 <erechonc...@gmail.com>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] checking camera periodically
Message-ID: <alnjwv9dxdcxbk0n4mjhbw5k.1538240698...@email.android.com>
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 <dou...@katsura.uk> 
Date: 9/29/18  5:37 AM  (GMT-05:00) 
To: Motion discussion list <motion-user@lists.sourceforge.net> 
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 <tosi...@gmail.com>
To: Motion discussion list <motion-user@lists.sourceforge.net>
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 <dou...@katsura.uk> 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
> 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
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 4
Date: Sat, 29 Sep 2018 11:20:09 -0600
From: somebody <for...@n0sq.tech>
To: motion-user@lists.sourceforge.net
Subject: Re: [Motion-user] motion detection
Message-ID: <d62d17ea-efce-a1dd-55b7-a3160be70...@n0sq.tech>
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!"
u...@gmail.com
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
u...@gmail.com
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" u...@gmail.com
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 u...@gmail.com
>
>
> On 09/27/2018 06:34 PM, prismb...@gmail.com wrote:
>> You can use mpack. Example:
>> on_picture_save /usr/bin/mpack -s %f %f 4443335...@mms.att.net
>> <mailto:4443335...@mms.att.net>
>>
>>
>>
>> On Thu, Sep 27, 2018 at 5:20 PM? <for...@n0sq.tech> wrote:
>>
>>     Is there a script or app that can be used to give motion alerts on a
>>     smartphone? Android?
>>
>>
>>
>>
>
>
>
>
>
> _______________________________________________
> 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

-------------- 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 147, Issue 27
********************************************

Reply via email to