Page 1 of 1

Hikvision DVR url Snapshot, problem to add in Domoticz

Posted: Wednesday 05 August 2015 12:26
by oscar74
Hi!

I Trying add my Hikvision DVR 4 channels cameras in Domoticz. I have the right URL snapshot for the 4 channels, tested in the browser.

#http://admin:[email protected]:8081/S ... 01/picture - show channel 1 OK
#http://admin:[email protected]:8081/S ... 01/picture - show channel 2 OK
#http://admin:[email protected]:8081/S ... 01/picture - show channel 3 OK
#http://admin:[email protected]:8081/S ... 01/picture - show channel 4 OK

The problem is when i try to add the URL in Domoticz no work...if only fill the url box show a wrong prompt need put the IP, i trying fill all the box and no work.

Image

Exsits another method for add camera which only need fill the url box?

That is frustrating because the urlĀ“s works perfect!! Im using Domoticz in Raspberry an also i check in the terminal if the raspberry can get image and work perfect:

curl http://admin:[email protected]:8081/S ... 01/picture -o /tmp/picture.jpg

Thanks for read this. Regards.

Re: Hikvision DVR url Snapshot, problem to add in Domoticz

Posted: Wednesday 05 August 2015 13:00
by ThinkPad
The 'ImageUrl' field only needs the '/Streaming/channels/101/picture' part, not the whole URL + username/password.
If that is also not working, try 'Streaming/channels/101/picture' (without the forward slash before the 'streaming')
http:// is also not needed in the ImageUrl field.

Re: Hikvision DVR url Snapshot, problem to add in Domoticz

Posted: Thursday 06 August 2015 11:04
by oscar74
Thanks for your answer ThinkPad. I try wit those all options and no work.

With dahua IP cameras work perfect. I think the problem is the URL not ".jpg, bin, ttc" like other cameras.

Anyone get works DVR Hikvision in Domoticz?

Regards

Re: Hikvision DVR url Snapshot, problem to add in Domoticz

Posted: Thursday 06 August 2015 11:40
by ThinkPad
:(

Maybe gizmocuz can help.

If you open the URL in your browser, does it show a single snapshot? Because this camera function in Domoticz only works with a single image, not a stream.

See also the sourcecode: https://github.com/domoticz/domoticz/bl ... Camera.cpp to see how this function works.

Re: Hikvision DVR url Snapshot, problem to add in Domoticz

Posted: Thursday 06 August 2015 12:15
by oscar74
Yes, if i open the url in browser show as simple image.

exists the posibility to view stream from other cameras in Domoticz?... :shock: sorry for the question, im begining in DomoticZ

Re: Hikvision DVR url Snapshot, problem to add in Domoticz

Posted: Thursday 06 August 2015 18:58
by ThinkPad
No, a stream (moving image) is not supported. Only static image, like if you would hit F5 in your browser to get a new image.

Re: Hikvision DVR url Snapshot, problem to add in Domoticz

Posted: Saturday 08 August 2015 11:45
by oscar74
Ok. Thanks!

Some ip cameras Dahua generate videoclips when motion detection and uptload by FTP the videoclips. The same cameras is used for new Risco alarms an report videoclip in events and view in the mobile.

Check this video: https://www.youtube.com/watch?v=2IsQnQd8VmM

The cameras is original Dahua. is posible in domoticz similar fuction?

Re: Hikvision DVR url Snapshot, problem to add in Domoticz

Posted: Sunday 03 January 2016 17:53
by omer032
I have Hikvision and like them a lot. But no experience with Dahua to compare to.
Check out http://www.maxiguvenlik.com/default.aspx for some good reviews on these cameras and actual images from them.sure about any live demo sites though.

Re: Hikvision DVR url Snapshot, problem to add in Domoticz

Posted: Monday 11 January 2016 0:00
by pepeEL
oscar74 did you resolved your problem ?

Re: Hikvision DVR url Snapshot, problem to add in Domoticz

Posted: Monday 11 January 2016 1:00
by nayr
I have dahua cameras working fine, it dont show an image when I press test connection.. but it does work when I save and view it elsewhere.
perhaps it was working but the test connection button was failing?

no jpeg or anything on my url, I get images in my gmail from triggered devices.

Image
Also try using the ONVIF URI, might work better.

Dahua and Hikvision are pretty much neck and neck in quality, I am not fond of Hikvisions Region locking scheme, and Dahua offered native OSX clients for my desktops/laptops

Re: Hikvision DVR url Snapshot, problem to add in Domoticz

Posted: Sunday 31 January 2016 10:48
by nabberuk
I have a couple of hikvision cameras working well. For a snapshot I use....

Port 80
Imageurl: /streaming/channels/1/picture

Then your ip, user and pass

Re: Hikvision DVR url Snapshot, problem to add in Domoticz

Posted: Sunday 31 January 2016 22:15
by mark.sellwood
I also have a couple of Hikvision cameras but cant get them to work.

If i open http://user:password@IP address/Streaming/Channels/1/picture I can see the picture.
In Domoticz is have set the IP address, Port as 80, User & Password as per the camera.
I have set the ImageURL as Streaming/Channels/1/picture.

When I click Test Connection I see a flash of the camera picture then the window goes blank.

If I inspect the viewer in Chrome I can see the following:-
src="http://user:password@IP Address/Streaming/Channels/1/picture&count=0"

If i paste this in to Chrome I think the issue the following:-

Failed to load resource: the server responded with a status of 403 (Forbidden)

So it looks as if the "&count=0" is causing an error.

Has anyone got any idea on this?

Thanks.

Re: Hikvision DVR url Snapshot, problem to add in Domoticz

Posted: Monday 01 February 2016 10:56
by pj-r
mark.sellwood wrote: So it looks as if the "&count=0" is causing an error.
Try to add "?" in the end of ImageUrl -field.

Re: Hikvision DVR url Snapshot, problem to add in Domoticz

Posted: Monday 01 February 2016 21:43
by mark.sellwood
Hi,

Thanks, that fixed it.

Re: Hikvision DVR url Snapshot, problem to add in Domoticz

Posted: Thursday 27 October 2016 12:37
by naitsirhc
I'm sorry to hijack, but the URL will be:

http://user:password@IP Address:port/Streaming/Channels/1/picture&count=0?
or
http://user:password@IP Address:port/Streaming/Channels/1/picture&count=?

Kind regards

Re: Hikvision DVR url Snapshot, problem to add in Domoticz

Posted: Saturday 12 November 2016 23:21
by ChrisWallwork
The posts above got me most of the way (thanks to all!), but I had to do some experimenting to get my setup to work, so thought it worth posting details here. I'm running Hikvision cameras from a Hikvision DS-7608NI-E2/8P NVR. My NVR is setup with a static IP address on the network.

In the parameters for the camera in Domoticz, enter a name for the camera, the IP address of the NVR, port 80, your username and password for the NVR. In "Image URL", only enter: ISAPI/Streaming/channels/101/picture?

I hope that saves someone else some time....

Re: Hikvision DVR url Snapshot, problem to add in Domoticz

Posted: Tuesday 23 July 2019 22:19
by Morfeus
@ChrisWallwork, that work, you are genius.
Thank you very much for solution my problem.

Re: Hikvision DVR url Snapshot, problem to add in Domoticz

Posted: Sunday 20 December 2020 16:08
by mfscorp
thanks alot @ChrisWallWork
"ISAPI/Streaming/channels/101/picture?"
this also worked for me :)

got a DS-2CD2346G1-I/SL