latest Version of DAHUA HTTP API FOR IPC Documentation ??

Can anyone help me, share, dahua httpapi v3.1, thank you friends
 
I don't see any calls to control local/"remote multi view" layout, such as 2x2, 8 on screen, 3x3 etc. Anyone has an idea how to switch that?
 
Do I need to enable the API somewhere in the camera settings? I've tried different endpoints from the documentation, but all of them are returning a 404 error.
 
Do I need to enable the API somewhere in the camera settings? I've tried different endpoints from the documentation, but all of them are returning a 404 error.
404 is your browser not finding the camera.
There is no setting to enable on the camera for this to work.

I guess you have left the default 192.168.1.108 IP address from the examples in the API documentation.
 
404 is your browser not finding the camera.
There is no setting to enable on the camera for this to work.

I guess you have left the default 192.168.1.108 IP address from the examples in the API documentation.

404 is more URL not found..
so there is something with webservice at 192.168.1.108, but this is not Dahua cam...

Or You try to use API, which is not implemented (some API are for cameras, some for NVR, some for alarms, some for Dahua different devices)

Do I need to enable the API somewhere in the camera settings? I've tried different endpoints from the documentation, but all of them are returning a 404 error.

Can You show US what exactly urls You tried?
 
404 is your browser not finding the camera.
There is no setting to enable on the camera for this to work.

I guess you have left the default 192.168.1.108 IP address from the examples in the API documentation.
The browser can't generate a 404 error; that's done by the webserver of the camera. A 404 error means that the endpoint I'm trying to access does not exist.

404 is more URL not found..
so there is something with webservice at 192.168.1.108, but this is not Dahua cam...

Or You try to use API, which is not implemented (some API are for cameras, some for NVR, some for alarms, some for Dahua different devices)



Can You show US what exactly urls You tried?
Maybe I am just wasting my time with the API. I need to implement an app that performs a useful action when the camera detects movement or line crossing via IVS. For this, the camera needs to send an HTTP request when such events occur. Do you know if this can be done through the camera's API?
 
The browser can't generate a 404 error; that's done by the webserver of the camera. A 404 error means that the endpoint I'm trying to access does not exist.


Maybe I am just wasting my time with the API. I need to implement an app that performs a useful action when the camera detects movement or line crossing via IVS. For this, the camera needs to send an HTTP request when such events occur. Do you know if this can be done through the camera's API?

this can be done by API using cgi-bin/eventManager.cgi


on GitHub there is many scripts or integrations which do Dahua event receive thing..


You can also use much simpler HTTP Events..

On NVR, in Network->Alarm center You configure HTTP event (server, port, url) to You script.
then on any AI settings (like AI settings->IVS) in rule configuration there should be More button, where You can enable Report Alarm checkbox...

there is no documentation for this, You must dump in script to some log file all INPUT parameters to check what information is sent in what variable..
 
  • Like
Reactions: User321
this can be done by API using cgi-bin/eventManager.cgi


on GitHub there is many scripts or integrations which do Dahua event receive thing..


You can also use much simpler HTTP Events..

On NVR, in Network->Alarm center You configure HTTP event (server, port, url) to You script.
then on any AI settings (like AI settings->IVS) in rule configuration there should be More button, where You can enable Report Alarm checkbox...

there is no documentation for this, You must dump in script to some log file all INPUT parameters to check what information is sent in what variable..
Thank you for the information. However, as I mentioned previously, there seems to be an issue with my cameras. I have three Dahua cameras, and none of them work with the API. No matter what I try, I always receive a 404 error.

1728297084043.png
 
Thank you for the information. However, as I mentioned previously, there seems to be an issue with my cameras. I have three Dahua cameras, and none of them work with the API. No matter what I try, I always receive a 404 error.

In network configuration -> basic services there is option called CGI...
is turn on in default configuration, but maybe You have disabled it...

Screenshot 2024-10-07 at 11.38.18.png