Page 1 of 1

Zoneminder 1.29 and D-Link DCS-2100

Posted: Fri Jan 08, 2016 6:57 pm
by jscmenezes
Hi,

I am trying to configure a D-Link DCS-2100 with ZoneMinder 1.29 but getting the error:

Code: Select all

01/08/16 16:49:37.065074 zmc_m5[5320].ERR-zm_remote_camera_http.cpp/1141 [Unable to get response, disconnecting]
01/08/16 16:49:37.662297 zmc_m5[5320].ERR-zm_remote_camera_http.cpp/1040 [Unable to read content]
The source config is:
Selection_009.png
Selection_009.png (58.01 KiB) Viewed 5864 times
USB Cams are OK!

I can't figure out what is wrong!

Any help?

Re: Zoneminder 1.29 and D-Link DCS-2100

Posted: Fri Jan 08, 2016 9:23 pm
by knight-of-ni
From the wiki for the DCS-2100+ :
Note: you must change Network -> ZM_HTTP_VERSION option to 1.0 for this camera to work!
Did you do that?

Also, make sure your camera is actually sending a grayscale image, since you've told zoneminder it was grayscale.

Re: Zoneminder 1.29 and D-Link DCS-2100

Posted: Fri Jan 08, 2016 9:32 pm
by knight-of-ni
I used the search tool and found this old thread:
viewtopic.php?t=4523&highlight=2100

Read through all the posts as alternate urls were suggested that might work with your camera.

Re: Zoneminder 1.29 and D-Link DCS-2100

Posted: Mon Jan 11, 2016 8:22 pm
by jscmenezes
I set up HTTP to 1.0
knnniggett wrote:I used the search tool and found this old thread:
viewtopic.php?t=4523&highlight=2100

Read through all the posts as alternate urls were suggested that might work with your camera.
Tried all suggested urls on the post above and didn't work.
The only URL that works is (Firefox, Chrome..):
http://ip/cgi-bin/video.jpg

The conf of camera:
Selection_010.png
Selection_010.png (123.91 KiB) Viewed 5815 times
Still not working.. =/

Re: Zoneminder 1.29 and D-Link DCS-2100

Posted: Tue Jan 12, 2016 1:00 pm
by knight-of-ni
jscmenezes wrote:I set up HTTP to 1.0
The only URL that works is (Firefox, Chrome..):
http://ip/cgi-bin/video.jpg
But that isn't the same url you are using in your ZoneMinder screenshot.

You should be testing with this url:

Code: Select all

http://username:password@ip/cgi-bin/video.jpg
Since this is an mpjeg camera, you can test that url directly in Firefox.

Not all cameras support authentication in the form of user:pwd@host . Are you sure your cameras does?
That would certainly explain why ZoneMinder is saying the camera is not responding.

Suggest you try to get the camera working without any authentication. Once you get it working, then try to figure out if it is possible to enable authentication.

Re: Zoneminder 1.29 and D-Link DCS-2100

Posted: Tue Jan 12, 2016 6:35 pm
by jscmenezes
If I execute:

Code: Select all

$ curl http://user:pass@my.ip.address/cgi-bin/video.jpg > imagem.jpg
I can download a JPG image from the camera like this:
imagem.jpg
imagem.jpg (66.11 KiB) Viewed 5765 times
Zoneminder can't read this image from DCS-2100, I guess..

Re: Zoneminder 1.29 and D-Link DCS-2100

Posted: Tue Jan 12, 2016 7:18 pm
by jscmenezes
There is no way to disable authentication on D-link DCS-2100... =/

Re: Zoneminder 1.29 and D-Link DCS-2100

Posted: Thu Jan 21, 2016 1:45 pm
by jscmenezes
How can I debug the component zmc_m4 ?