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: RTSP camera NOT streaming on a webpage (Sriram Chadalavada)
2. Re: Problem with image webview (Vincent Toscano)
3. Get unwanted motion detections when quitting via webcontrol
(Tom Kennelly)
----------------------------------------------------------------------
Message: 1
Date: Thu, 28 Mar 2019 14:47:55 -0400
From: Sriram Chadalavada <[email protected]>
To: 'Motion discussion list' <[email protected]>
Subject: Re: [Motion-user] RTSP camera NOT streaming on a webpage
Message-ID: <[email protected]>
Content-Type: text/plain; charset="us-ascii"
Please remove me from this list at the earliest as I'm no longer using
motion.
From: Sriram Chadalavada <[email protected]>
Sent: Wednesday, March 20, 2019 10:31 AM
To: 'Motion discussion list' <[email protected]>
Subject: Re: [Motion-user] RTSP camera NOT streaming on a webpage
Thank you. The daemon seemed to have crashed. I was able to get the camera
up and running on localhost:8080 and localhost:8081 port.
From: Vincent Toscano <[email protected] <mailto:[email protected]> >
Sent: Tuesday, March 19, 2019 6:06 PM
To: [email protected]
<mailto:[email protected]>
Subject: Re: [Motion-user] RTSP camera NOT streaming on a webpage
Hi Mike,
To dovetail everyone's question(s) have you confirmed.
* The following settings in motion.conf for HTTP Based Control match
these?
* # TCP/IP port for the http server to listen on (default: 0 =
disabled)
* webcontrol_port 8080
* # Restrict control connections to localhost only (default: on)
* webcontrol_localhost off
* # Output for http server, select off to choose raw text plain
(default: on)
* webcontrol_html_output on
* # Authentication for the http based control. Syntax
username:password
* # Default: not defined (Disabled)
* ; webcontrol_authentication username:password
* How are you running/starting motion, in daemon mode or directly in
the terminal (e.g., motion -l /home/USER_HERE/.motion/motion.log)?
--
Best,
Vincent
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
Message: 2
Date: Thu, 28 Mar 2019 12:02:00 -0700
From: Vincent Toscano <[email protected]>
To: [email protected]
Subject: Re: [Motion-user] Problem with image webview
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"
I second David's suggestion (open 2 windows/sessions to view old and new
motion.conf side-by-side) as I just did the same thing yesterday. There
were plenty of differences between the versions (currently on motion
Version 4.2.2 was on version 4.0), so I created a 2 new files:
sudo mv /etc/motion/motion.conf /etc/motion/motion.conf.20190328.bak
sudo vi /etc/motion/motion.conf
sudo mv /etc/motion/camera1-dist.conf
/etc/motion/camera1-dist.conf.20190328.bak
sudo vi /etc/motion/camera1-dist.conf
I will add 2 more suggestions:
In motion.conf (sudo vi /etc/motion/motion.conf) add or adjust the
following log options:
# Level of log messages [1..9] (EMG, ALR, CRT, ERR, WRN, NTC, INF,
DBG, ALL).
log_level 7
# Filter to log messages by type (COR, STR, ENC, NET, DBL, EVT, TRK,
VID, ALL). (default: ALL)
log_type all
The above should help with diagnosing (if there is one), problems. For
instance, I had a bunch of legacy properties/configuration options that
have since been update, for example:
lightswitch is now lightswitch_percent
The log file (with the options set above in motion.conf) now
prints/echos/logs/traces messages letting me know that I must update
this option.
--
Best,
Vincent
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
Message: 3
Date: Thu, 28 Mar 2019 16:04:03 -0400
From: Tom Kennelly <[email protected]>
To: [email protected]
Subject: [Motion-user] Get unwanted motion detections when quitting
via webcontrol
Message-ID:
<[email protected]>
Content-Type: text/plain; charset=windows-1252; format=flowed
I go through the following steps and get three motion detection
notifications via on_event_start.
http://mycam:8080/0/detection/pause
http://mycam:8080/3/action/quit
http://mycam:8080/2/action/quit
http://mycam:8080/1/action/quit
Additionally, when I reverse these actions, by restarting three cameras
and enabling motion detection I get three notifications as well.
Should on_event_start be triggered by /action/quit or /action/restart?
Environment:
Raspian Stretch Linux motionpi3 4.14.98-v7+ #1200 SMP Tue Feb 12
20:27:48 GMT 2019 armv7l GNU/Linux
motion 4.2.2-1
Raspberry Pi 3 B+
All three cameras use rtsp.
webcontrol_interface 0
------------------------------
------------------------------
Subject: Digest Footer
_______________________________________________
Motion-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/motion-user
------------------------------
End of Motion-user Digest, Vol 153, Issue 15
********************************************