Page 1 of 1

Restart Specific Monitor

Posted: Fri Jun 10, 2016 8:44 am
by Peppeserv
Hi all,
i'm new to zoneminder.
I installed it on an Ubuntu 16.04, and everything is going good.
I have some problem with a camera.
I have to add it with Ffmpeg source, and "rtsp://blablabla/onvif1" path. I can see the video streaming, but sometimes i can't and the stream become all blue (like a bsod).

I figured out that changing the monitor FUNCTION from modect (or monitor) to none, and then switch it back works to have the monitor stream back.

I was wondering if there's a way to "restart" only the monitor by a linux shell, like the zmu command to change the monitor STATUS. So hopefully, in a very dirty way, i can make this script in cron and call it every hour, or hopefully once a day (i have to investigate to understand how long the cam stays alive).

So, the question is: since i saw that in the api's monitor there's some new method to change the monitor's function, is possible to change it also by command line?

Re: Restart Specific Monitor

Posted: Fri Jun 10, 2016 11:42 am
by bbunge
What camera are you using?

Re: Restart Specific Monitor

Posted: Tue Jun 14, 2016 8:58 am
by Peppeserv
It's a sricam sp007.
After some test now it seems working good, both in modect and record mode.
Very few times it send for few seconds a blue signal, but probably it's due to some network latency, or something like it.
Anyway, i repeat, it's seems ok. I will report if something changes ;)

Re: Restart Specific Monitor

Posted: Mon Jul 18, 2016 10:28 pm
by j45p41
Hello mate. I have just installed these cameras and having trouble configuring them with zoneminder. Could you kindly tell me what settings you used to get them to work?

Re: Restart Specific Monitor

Posted: Tue Jul 19, 2016 12:38 am
by mattj
On the main ZoneMinder web page, click the "log" link in the upper right. The log will likely show errors when your camera stream quits, hopefully the errors will be helpful.

Re: Restart Specific Monitor

Posted: Mon Jul 25, 2016 9:52 am
by Peppeserv
@j45p41 if you mean the configuration parameter for the sp007 here they are:
General Tab:
Source Type: Ffmpeg
Source Tab:
Source Path: rtsp://your_username:your_password@camera_ip:camera_port/onvif1
Remote Method: RTP/Unicast
Capture Width: 1280
Capture Height: 720

If you need to configure your camera, like to set a static ip, you have to use the mobile app (both for ios or android).
The default username is admin, and the default password is 888888, while the port should be 554.
For instance, your source path could be like this:
rtsp://admin:888888@192.168.1.99:554/onvif1

(I don't know if there's a onvif2 path, that can be a lower quality)

Re: Restart Specific Monitor

Posted: Sun Aug 06, 2017 1:25 pm
by razif66
How about for sp013?