Can anyone help me, share, dahua httpapi v3.1, thank you friendshow i know your email, i am not a spy, lol.
thankyouDumb offtopic question, but is this applicable to NVRs? The requests just return me 404 Not Found on couple of NVRs I have, but works fine for XVR or IPC itself.
A thing to make this post a less offtopic
May I please get the file?I have the 2022-11-1 @Mark_M , if you want it, just ping me, but please not share the whole file anywhere, just for your own using and help guys here.
View attachment 156044
If this person purchased a camera from you Empiretecandy they could have found this document on their own.... and you would have sold another camera.empiretech01.com/pages/download-product-resources
Download it here.
404 is your browser not finding the camera.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.
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.
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 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.
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?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?
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?
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.this can be done by API using cgi-bin/eventManager.cgi
I'm developing a new NVR system. But it doesn't support motion detection yet, which is a must-have feature. I'd like to support on-camera motion detection because it should be possible without powerful NVR hardware, and it should be relatively easy for me to develop. Well, that's the theory...I'm struggling though.
Does anyone know a reliable way to get a stream of events (such as motion detected) from Dahua cameras?
I've done some research and have found four ways that "should" work:
- ONVIF PullPoint Notifications
- ONVIF Basic Notifications
- ONVIF Metadata Streams...
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.
In network configuration -> basic services there is option called CGI...
is turn on in default configuration, but maybe You have disabled it...
View attachment 204455
I'm not sure where that screenshot was taken from. My cameras don't have that menu.
View attachment 204457