Dahua Ip camera snapshot url

Moderator: leecollings

imparator
Posts: 1
Joined: Tuesday 27 October 2015 10:34
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Dahua Ip camera snapshot url

Post by imparator »

hi, i searched for the dahua camera snapshot url , on this forum, and internet, but get not a working solution, for this camera

in the wiki i found :
http://<IP address>:9989/onvif/media_service/snapshot?channel=0&subtype=0

also not working,

camera model is : IPC-HDBW-2200

has somebody a working url for this camera ?

thx
User avatar
nayr
Posts: 354
Joined: Tuesday 11 November 2014 18:42
Target OS: Linux
Domoticz version: github
Location: Denver, CO - USA
Contact:

Re: Dahua Ip camera snapshot url

Post by nayr »

Attached is a screenshot of the config for my Dahua cameras, Ive got four different models and they all use the same config. I dont have anything after snapshot.

Please notice, the preview always shows a broken image when I press test connection.. but otherwise the cameras work perfectly fine, so if your using the test button only to check if its working then you will believe its not functioning, when it likely is.
Attachments
Screen Shot 2016-01-17 at 1.18.30 PM.png
Screen Shot 2016-01-17 at 1.18.30 PM.png (69.37 KiB) Viewed 69895 times
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
pfer10
Posts: 9
Joined: Sunday 08 February 2015 16:27
Target OS: Linux
Domoticz version:
Contact:

Re: Dahua Ip camera snapshot url

Post by pfer10 »

User avatar
sincze
Posts: 1299
Joined: Monday 02 June 2014 22:46
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.4
Location: Netherlands / Breda Area
Contact:

Re: Dahua Ip camera snapshot url

Post by sincze »

Hi.

On my 4300 series camera I can confirm both work:

http://192.168.*.*:9989/onvif/media_service/snapshot?channel=0&subtype=0
http://192.168.*.*:9989/axis-cgi/mjpg/video.cgi


In domoticz however I use:

http://192.168.*.*:9989/cgi-bin/snapshot.cgi?loginuse=#USERNAME&loginpas=#PASSWORD
Pass2php
LAN: RFLink, P1, OTGW, MySensors
USB: RFXCom, ZWave, Sonoff 3
MQTT: ZIgbee2MQTT,
ZWAVE: Zwave-JS-UI
WIFI: Mi-light, Tasmota, Xiaomi Shelly
Solar: Omnik, PVOutput
Video: Kodi, Harmony HUB, Chromecast
Sensors: You name it I got 1.
User avatar
sincze
Posts: 1299
Joined: Monday 02 June 2014 22:46
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.4
Location: Netherlands / Breda Area
Contact:

Re: Dahua Ip camera snapshot url

Post by sincze »

Pff.. unable to figure out the Dahua C35 snapshot settings.
It seems port 9989.... no longer available.... :?

Nmap shows: 9989/tcp closed unknown
as to earlier DAHUA ... 9989/tcp open unknown
Pass2php
LAN: RFLink, P1, OTGW, MySensors
USB: RFXCom, ZWave, Sonoff 3
MQTT: ZIgbee2MQTT,
ZWAVE: Zwave-JS-UI
WIFI: Mi-light, Tasmota, Xiaomi Shelly
Solar: Omnik, PVOutput
Video: Kodi, Harmony HUB, Chromecast
Sensors: You name it I got 1.
wooojo
Posts: 2
Joined: Tuesday 01 November 2016 17:13
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Poland Silesia
Contact:

Re: Dahua Ip camera snapshot url

Post by wooojo »

Settings for the camera Dahua HDW1220sp of August 2016
ImageURL: cgi-bin/snapshot.cgi?Channel=0
Port: 80

Test Connection DOES NOT WORK !!!!!!
User avatar
sincze
Posts: 1299
Joined: Monday 02 June 2014 22:46
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.4
Location: Netherlands / Breda Area
Contact:

Re: Dahua Ip camera snapshot url

Post by sincze »

wooojo wrote:Settings for the camera Dahua HDW1220sp of August 2016
ImageURL: cgi-bin/snapshot.cgi?Channel=0
Port: 80

Test Connection DOES NOT WORK !!!!!!
Tnx also works for 4431c-a :D

Still looking for working DAHUA C-35 settings
Pass2php
LAN: RFLink, P1, OTGW, MySensors
USB: RFXCom, ZWave, Sonoff 3
MQTT: ZIgbee2MQTT,
ZWAVE: Zwave-JS-UI
WIFI: Mi-light, Tasmota, Xiaomi Shelly
Solar: Omnik, PVOutput
Video: Kodi, Harmony HUB, Chromecast
Sensors: You name it I got 1.
markjgabb
Posts: 142
Joined: Tuesday 24 January 2017 23:00
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8153
Location: Australia
Contact:

Re: Dahua Ip camera snapshot url

Post by markjgabb »

download ispy and allow it to find it for you, i find for almost every camera it can get the diffrent streams fairly easily
V 2020.2 RPI 3
RFlink 334 mhz
mysensors
broadlink
Mirabella Genio Globes
User avatar
sincze
Posts: 1299
Joined: Monday 02 June 2014 22:46
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.4
Location: Netherlands / Breda Area
Contact:

Re: Dahua Ip camera snapshot url

Post by sincze »

markjgabb wrote:download ispy and allow it to find it for you, i find for almost every camera it can get the diffrent streams fairly easily
I was looking at the ISPY website only to find it.

That is an excellent idea I totally forgot the possibility. Long time ago I found my first foscam links that way.
Now moved from FOSCAM to DAHUA

Thank you very much I will let you know the results. :D :D
Pass2php
LAN: RFLink, P1, OTGW, MySensors
USB: RFXCom, ZWave, Sonoff 3
MQTT: ZIgbee2MQTT,
ZWAVE: Zwave-JS-UI
WIFI: Mi-light, Tasmota, Xiaomi Shelly
Solar: Omnik, PVOutput
Video: Kodi, Harmony HUB, Chromecast
Sensors: You name it I got 1.
User avatar
sincze
Posts: 1299
Joined: Monday 02 June 2014 22:46
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.4
Location: Netherlands / Breda Area
Contact:

Re: Dahua Ip camera snapshot url

Post by sincze »

sincze wrote:
markjgabb wrote:download ispy and allow it to find it for you, i find for almost every camera it can get the diffrent streams fairly easily
I was looking at the ISPY website only to find it.

That is an excellent idea I totally forgot the possibility. Long time ago I found my first foscam links that way.
Now moved from FOSCAM to DAHUA

Thank you very much I will let you know the results. :D :D
....
ISpy came and found...

Code: Select all

cgi-bin/snapshot.cgi?1
All systems operational. tnx @markjgabb
Pass2php
LAN: RFLink, P1, OTGW, MySensors
USB: RFXCom, ZWave, Sonoff 3
MQTT: ZIgbee2MQTT,
ZWAVE: Zwave-JS-UI
WIFI: Mi-light, Tasmota, Xiaomi Shelly
Solar: Omnik, PVOutput
Video: Kodi, Harmony HUB, Chromecast
Sensors: You name it I got 1.
User avatar
Teknor
Posts: 30
Joined: Monday 08 February 2016 13:26
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.48
Location: Norway
Contact:

Re: Dahua Ip camera snapshot url

Post by Teknor »

Which port did you use?


Sent from my iPhone using Tapatalk
Raspberry Pi 3 | EasyESP NodeMCU v3 | RFXTRX433e | Mysensors NRF24L01 | MotionEYE | PikrellCam
User avatar
sincze
Posts: 1299
Joined: Monday 02 June 2014 22:46
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.4
Location: Netherlands / Breda Area
Contact:

Re: RE: Re: Dahua Ip camera snapshot url

Post by sincze »

Teknor wrote:Which port did you use?


Sent from my iPhone using Tapatalk
Image

Port 80.

Sent from my SM-G925F using Tapatalk
Pass2php
LAN: RFLink, P1, OTGW, MySensors
USB: RFXCom, ZWave, Sonoff 3
MQTT: ZIgbee2MQTT,
ZWAVE: Zwave-JS-UI
WIFI: Mi-light, Tasmota, Xiaomi Shelly
Solar: Omnik, PVOutput
Video: Kodi, Harmony HUB, Chromecast
Sensors: You name it I got 1.
bmwproboi05
Posts: 2
Joined: Wednesday 04 January 2017 21:08
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dahua Ip camera snapshot url

Post by bmwproboi05 »

Thanks! I used the cgi-bin/snapshot.cgi?1 in the image link and it worked! May need to see if I can adjust the resolution as it takes awhile to load
rldn
Posts: 16
Joined: Thursday 16 November 2017 20:02
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dahua Ip camera snapshot url

Post by rldn »

Hi guys,

maybe a reply on an old topic but im still looking for an answer for the following.

I have a Dahua IPC-HDBW8630E-Z and i want a streaming of this cam on my own created domoticz frontpage.
The only thing i can embed is a simple snapshot from http://IP-ADDRESS:8080/cgi-bin/snapshot.cgi.
I cant manage to make this a stream, only with refreshing the whole page.
Is there another way or url for the live stream for this cam?
torrie0712
Posts: 1
Joined: Tuesday 20 March 2018 20:28
Target OS: Linux
Domoticz version:
Contact:

Re: Dahua Ip camera snapshot url

Post by torrie0712 »

I have the same problem. I also can't see a stream from my camera. I have an Dahua IPC-HDBW4431R-ZS.
In Blue Iris i can find my camera and i get the following settinga

Opening 192.168.178.10 port 80...
HTTP Get / request...
OK
ONVIF GetSystemDateAndTime
2018-03-21T13:28:06.000Z
Requesting device information...
Bad response
GetCapabilities...
Querying services
Has Imaging services: /onvif/imaging_service
Has media services: /onvif/media_service
Has RTP_RTSP_TCP, requesting profiles
Has Event services: /onvif/event_service
RelayOutputs: 0
InputConnectors: 0
Has Device IO services: /onvif/deviceIO_service
AudioOutputs: 0
Has PTZ service: /onvif/ptz_service
Checking for common cameras...
Foscam FI86xx/98xx compatible?
Foscam FI89xx compatible?
Foscam FI9821 V2 compatible?
Foscam FI9821 media port compatible?
RTSP port open?
RTSP port detected!
Doneg in Blue Iris

Still i can't see a stream in Domoticz. I tried all trhe things suggested here.

Has anyone an idea??
jordantheripper
Posts: 6
Joined: Sunday 17 December 2017 16:08
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.9208
Location: Italy
Contact:

Re: Dahua Ip camera snapshot url

Post by jordantheripper »

sincze wrote: Thursday 02 February 2017 23:43
wooojo wrote:Settings for the camera Dahua HDW1220sp of August 2016
ImageURL: cgi-bin/snapshot.cgi?Channel=0
Port: 80

Test Connection DOES NOT WORK !!!!!!
Tnx also works for 4431c-a :D

Still looking for working DAHUA C-35 settings
Hy, I have your model of dahua but I can't connect to domoticz. Can you please tell me your complete cgi command? thanks

update

mi mistake
my dahua camera is Dahua IPC-HFW4431R-Z but still I have find nothing to connect to domoticz.
Some one can help me? thanks
User avatar
mcestoni
Posts: 11
Joined: Tuesday 08 August 2017 3:19
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dahua Ip camera snapshot url

Post by mcestoni »

Hello
I have 4 models of dahua cameras
IPC-KW12W
IPC-HFW2100R-VF
IPC-HFW1000S-W
IPC-HDBW1120E-W
and they all work Ok in domoticz

In the field ImageURL : cgi-bin/snapshot.cgi?
howi42
Posts: 8
Joined: Sunday 18 October 2015 2:05
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dahua Ip camera snapshot url

Post by howi42 »

I also use the Dahua IPC-HDBW4431R-ZS.
To get a snapshot, I can use

http://10.0.0.30/cgi-bin/snapshot.cgi?1

but then I have to type user and password.

I could not found a version where I add user and password to the URL.

Any ideas ?
Rainman
Posts: 10
Joined: Monday 18 April 2016 12:40
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Contact:

Re: Dahua Ip camera snapshot url

Post by Rainman »

@howi42

Can you try;

http://user:[email protected]/cgi-bin/snapshot.cgi?1

I believe I have the similar camera and use;

protocol:HTTP
port: 80
imageURL : cgi-bin/snapshot.cgi?1

Test connection does not work, but the image is shown in the overview page.

Otherwise check if you can downgrade the authentication in the camera config itself from digest to basic. (Assuming you have not connected this to the internet).
howi42
Posts: 8
Joined: Sunday 18 October 2015 2:05
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dahua Ip camera snapshot url

Post by howi42 »

Thanks, but it did not work.
And, I do not see a way to change form digest to basic.

A workaround could be to trigger an alarm manually; that would create a snapshot I could use.
But I am not sure if this can be done.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests