Hikvision DVR url Snapshot, problem to add in Domoticz

Moderator: leecollings

Post Reply
oscar74
Posts: 6
Joined: Saturday 25 July 2015 19:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Torrevieja - Alicante - Spain
Contact:

Hikvision DVR url Snapshot, problem to add in Domoticz

Post 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.
ThinkPad
Posts: 890
Joined: Tuesday 30 September 2014 8:49
Target OS: Linux
Domoticz version: beta
Location: The Netherlands
Contact:

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

Post 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.
I am not active on this forum anymore.
oscar74
Posts: 6
Joined: Saturday 25 July 2015 19:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Torrevieja - Alicante - Spain
Contact:

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

Post 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
ThinkPad
Posts: 890
Joined: Tuesday 30 September 2014 8:49
Target OS: Linux
Domoticz version: beta
Location: The Netherlands
Contact:

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

Post 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.
I am not active on this forum anymore.
oscar74
Posts: 6
Joined: Saturday 25 July 2015 19:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Torrevieja - Alicante - Spain
Contact:

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

Post 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
ThinkPad
Posts: 890
Joined: Tuesday 30 September 2014 8:49
Target OS: Linux
Domoticz version: beta
Location: The Netherlands
Contact:

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

Post 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.
I am not active on this forum anymore.
oscar74
Posts: 6
Joined: Saturday 25 July 2015 19:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Torrevieja - Alicante - Spain
Contact:

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

Post 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?
omer032
Posts: 1
Joined: Sunday 03 January 2016 17:51
Target OS: Windows
Domoticz version:
Contact:

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

Post 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.
pepeEL

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

Post by pepeEL »

oscar74 did you resolved your problem ?
User avatar
nayr
Posts: 354
Joined: Tuesday 11 November 2014 18:42
Target OS: Linux
Domoticz version: github
Location: Denver, CO - USA
Contact:

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

Post 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
Debian Jessie: CuBox-i4 (Primary) w/Static Routed IP and x509 / BeagleBone with OpenSprinkler / BeagleBone Planted Aquarium / 3x Raspbery Pi2b GPIO Slaves
Elemental Theme - node-domoticz-mqtt - Home Theatre Controller - AndroidTV Simple OSD Remote - x509 TLS Auth
nabberuk
Posts: 2
Joined: Tuesday 23 September 2014 16:35
Target OS: Linux
Domoticz version:
Contact:

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

Post 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
mark.sellwood
Posts: 101
Joined: Tuesday 04 March 2014 10:33
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Surrey, UK
Contact:

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

Post 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.
3 x Pi, 1 Master, 2 Slaves, 1x Aeotec Z-Stick S2, 4xSP103 PIR, 5xPowerNode 1, 1xSmart Energy Switch Gen5, 4xFGSS101 Smoke Sensor, 2xFGD212, 9xFGS212 , 7xFGS221/2, 1xAD142 , 1xTKB TZ68E , 2xAeotec Multi Sensor, 3 x NodOn CRC-3-1-00.
pj-r
Posts: 140
Joined: Wednesday 17 December 2014 17:30
Target OS: Linux
Domoticz version: V3.8650
Location: Jyväskylä, Finland
Contact:

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

Post 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.
LXC(x64 Ubuntu Xenial), RFXtrx433E, MySensors
mark.sellwood
Posts: 101
Joined: Tuesday 04 March 2014 10:33
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Surrey, UK
Contact:

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

Post by mark.sellwood »

Hi,

Thanks, that fixed it.
3 x Pi, 1 Master, 2 Slaves, 1x Aeotec Z-Stick S2, 4xSP103 PIR, 5xPowerNode 1, 1xSmart Energy Switch Gen5, 4xFGSS101 Smoke Sensor, 2xFGD212, 9xFGS212 , 7xFGS221/2, 1xAD142 , 1xTKB TZ68E , 2xAeotec Multi Sensor, 3 x NodOn CRC-3-1-00.
naitsirhc
Posts: 44
Joined: Sunday 17 January 2016 11:20
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post 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
Und Tschjuß
ChrisWallwork
Posts: 3
Joined: Saturday 12 November 2016 22:54
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post 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....
Raspberry Pi, RFXTRX433, Philips Hue, Honeywell Evohome, Owl CM133, Oregon weather & temp sensors, Hikvision NVR
Morfeus
Posts: 4
Joined: Sunday 28 October 2018 13:28
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by Morfeus »

@ChrisWallwork, that work, you are genius.
Thank you very much for solution my problem.
mfscorp
Posts: 1
Joined: Saturday 09 November 2019 20:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by mfscorp »

thanks alot @ChrisWallWork
"ISAPI/Streaming/channels/101/picture?"
this also worked for me :)

got a DS-2CD2346G1-I/SL
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests