Zoneminder 1.29 and D-Link DCS-2100

Forum for questions and support relating to the 1.29.x releases only.
Locked
jscmenezes
Posts: 7
Joined: Fri Jan 08, 2016 6:45 pm

Zoneminder 1.29 and D-Link DCS-2100

Post 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 5737 times
USB Cams are OK!

I can't figure out what is wrong!

Any help?
User avatar
knight-of-ni
Posts: 2404
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Zoneminder 1.29 and D-Link DCS-2100

Post 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.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
User avatar
knight-of-ni
Posts: 2404
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Zoneminder 1.29 and D-Link DCS-2100

Post 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.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
jscmenezes
Posts: 7
Joined: Fri Jan 08, 2016 6:45 pm

Re: Zoneminder 1.29 and D-Link DCS-2100

Post 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 5688 times
Still not working.. =/
User avatar
knight-of-ni
Posts: 2404
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Zoneminder 1.29 and D-Link DCS-2100

Post 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.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
jscmenezes
Posts: 7
Joined: Fri Jan 08, 2016 6:45 pm

Re: Zoneminder 1.29 and D-Link DCS-2100

Post 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 5638 times
Zoneminder can't read this image from DCS-2100, I guess..
Last edited by jscmenezes on Tue Jan 12, 2016 9:17 pm, edited 1 time in total.
jscmenezes
Posts: 7
Joined: Fri Jan 08, 2016 6:45 pm

Re: Zoneminder 1.29 and D-Link DCS-2100

Post by jscmenezes »

There is no way to disable authentication on D-link DCS-2100... =/
jscmenezes
Posts: 7
Joined: Fri Jan 08, 2016 6:45 pm

Re: Zoneminder 1.29 and D-Link DCS-2100

Post by jscmenezes »

How can I debug the component zmc_m4 ?
Locked