api

  1. M

    Getting secondary stream snapshot instead of primary

    I have an Intelbras NVR model NVD 3316 P, which is mostly a Dahua rebrand. I'm trying to take snapshots from my cameras, but all the snapshots are coming from the secondary stream, not the main one. I am getting the snapshots over HTTP, like this...
  2. A

    DH-IPC-HDBW2841R-ZS Zoom API

    Hello everyone, I have a DH-IPC-HDBW2841R-ZS Dahua camera and I need to set a zoom on it via API to a specific value. When I send this API /cgi-bin/configManager.cgi?action=setConfig&VideoInZoom[0][0].DigitalZoom=true&VideoInZoom[0][0].Speed=5&VideoInZoom[0][0].ZoomLimit=10 I get the response...
  3. J

    How to Include Snapshots in IVS Event Payload?

    Hello guys, I am using a Dahua IPC-HFW5842EP-ZE-2712-S3 camera that is on a local network. The camera can send IVS events (like line crossing) to my listening server, but I cannot access the camera from the internet to retrieve snapshots via an HTTP request. With Hikvision ISAPI, I can include...
  4. ibra97

    Looking for someone to create some APIs to retrieve videos from Dahua NVR

    Hello all, I'm currently working on a project that involves recording videos on Dahua IP cameras and I'm looking to build an API to retrieve some videos and send it to our servers as MP4 files. The NVR model we're working with is NVR4216-16P-4KS2/L I'm looking for a freelancer that has...
  5. haselnut

    Need to access cameras behind Dahua NVR

    Hi I have Dahua NVR DHI-NVR4108-8P-4KS2 (firmware V4.001.0000005.1) and 8 Dahua cameras connected to POE ports. NVR has an ip 192.168.1.108, cameras are on different subnet 10.1.1.X managed by the NVR. I am trying to control the LED's on my cameras programmatically instead of the cameras own...
  6. M

    Dahua API to add groups and group permissions

    Guys, Anyone know if user groups and permissions for those groups can be added by the Dahua API. I can batch users and assign them to already set groups, but there seems to be no available command for adding groups in the API. Thanks in advance in anyone knows how to do this.
  7. irfankobber

    Triggering NVR Alarm using python script/API

    Hi everyone. I have a couple of hikvision cameras connected to Hikvision NVR 4.0 version. I want to trigger the alarm of the nvr using a python script running on my ftp server. How could I do this. Thanks in advanced
  8. henry12034

    Hikvision event api

    I am trying to configure a hikvision camera model ds-2cd2346g2-i, i need to a working api that, through http get command it alerts me when a certain event or alarm has happened, for example a line crossing alarm. I need this in order to integrate the alarm and notification into a third party...
  9. J

    Dahua / Amcrest API Client

    I have several Amcrest IP cams that I had been struggling with. In the process of troubleshooting them, I wrote a shell script to download and change settings for several cameras at once. I figured this might be as useful to some of you as it was for me, so I rewrote it in Go, so that non-unix...
  10. M

    API Call to Add Onvif User

    Any of my boys know an API call to add an Onvif user? Not in the API doc. Only how to delete an Onvif user. &accountType=1 seems to define the Onvif account section
  11. csJosh

    Api to download file (Http api RPC_Loadfile)

    Hi, Has anyone gotten the HTTP api method RPC_Loadfile to work? Other methods work for me to find files on my NVR, like mediaFileFind.cgi, but when I try RPC_Loadfile, it returns code 200 with empty data. The code I've been using is: import requests from requests.auth import HTTPDigestAuth # # [...
  12. Mark_M

    Fan speed via API

    Is there an API command for NVR to change fan speed? I have a NVR5216-16P-I which has one fan that can change speed. I would like to know if there is API to change fan setting to 'Self-adaption' or 'Full-speed'. My thought it to use Home Assistant to set the fan to full-speed during the day...
  13. T

    Night Licence plates

    Hi All, I have a Dahua SD5A425XA-HNR. At night, it has a strong IR light and lights the scene well. What I've discovered of course is that since licence plates are highly reflective, they are overexposed and unreadable. Default Exposure Compensation is set at 50. (Scale 0-100). This works...
  14. Scubadave112

    Camera Masking via IOS Shortcut

    So I am a noob and based on everything I have read online, this should be easy, but I am not a programmer and I know nothing about all the solutions I read... What I can say is that I can disable the camera masks via...
  15. esaesa

    ANPR API

    I need latest API supporting ANPR models. I already found a one which support parking and traffic events but not car entry and exit.
  16. A

    Dahua IP PTZ HTTP Command for wipe

    Hi all, First post on here so be gentle! I am trying to send a wipe command to a DH-SD6AL230F-HNI-IR.... I have found (on this forum) a HTTP API document: https://s3.amazonaws.com/amcrest-files/Amcrest+HTTP+API+3.2017.pdf Using this I've managed to send a few different commands to various...
  17. bojanpotocnik

    External, independent control of Dahua IR LEDs and Alarm output via API

    Hello, I currently have IPC-T5442T-ZE and 2x IPC-B5442E-ZE, and in the process of ordering 6 more. I like T(urret) version more, but B(ullet) has alarm output - considering which one to buy based on the problems below. 1. I noticed that integrated IR LEDs are too spotlight focused, so I would...
  18. Q

    Dahua API command to activate/deactivate TiOC illuminator

    Hi there I am looking for the API http command to activate or deactivate the TiOC cams illuminator. My goal will be to switch it off and switch to b&w vision when we are at home, and switch the light on and switch to full color vision when we are away. Thanks bye :v:
  19. A

    Automatically setup NVR

    I was thinking of this idea. to set up a NVR automatically. Let's say 1. Motion to all camera if not set - 2. Sending NTP server Info Including DST 3. Setting Email Server 4. Get info on Storage. 5. Set time format. 6. Point is whatever we can add lets add to the API All this should be done...
  20. piotreksl

    Dahua download video with timestamps

    I have huge problems with http://<server>/cgi-bin/loadfile.cgi endpoint whatever i try to type here i get error 400 bad request. Can you tell me how u manage it to work, or give me example of your requests. I can add that other functions of api calls are working properly. Just this generates...
  21. M

    Hikvision DVR API

    I want to be able to control the on screen display on a Hikvision DVR DS-7204HQI-K1 via IP commands (e.g. going from multi camera view to a single camera, nothing fancy). I've tried various approaches and can't seem to figure it out. I know it can be done on most Hikvision NVRs using...
  22. R

    HELP: API Call To Reset People Counting Records

    Hi, Is there an API call that can reset People Counting records? Number of people, exit, enter etc. I found this API call in the documentation - http://<server>/cgi-bin/videoStatServer.cgi?action=clearSectionStat But it doesn't seem to be working. Any help would be very much appreciated.
  23. S

    Unable to establish connection with Dahua controller

    Hello, I'm a developer, I work on a project to make my own acess control system with Dahua products (I work with ASC1204b-s controller) However, I cannot connect to the controller with the HTTP Protocol (Basic and Digest authentication) using the API. Instead of sending back an error code (like...
  24. P

    Disabling IVS rules on Dahua NVR

    So I've got my system with Dahua NVR and multiple Dahua POE cameras working pretty well but I still am trying to be able to enable and disable having an IVS rule trigger an alarm or an email via the http API. I've searched a number of the latest Dahua http API documents and still can't find an...
  25. O

    Secure Transmission of Snapshots to Web API

    I've been looking everywhere for info on cameras that can do the following: Take a snapshot either regularly or triggered by an event; Send the snapshot securely to a specific Web API (i.e. to https://myAPI.com/snapshot). All I'm finding is cameras that: Send through FTP (some rare cameras...
  26. mememex2

    HikVision with LPNR, captures file metadata, work with API

    Hello. First of all - I am experienced (and shy) developer in part of working with HikVision cameras and NVRs via their REST API. But then again, it's poorly documented and may have breaking changes without any notice. They hide their documentation like it's some government secret. Well, like...
  27. D

    Toggle Auto Tracking via http

    Does anyone know how to toggle a Smart Plan on or off via a simple http command? The Dahua API documentation is super old and I can't find any reference to it. Specifically, I want to be able to toggle Auto Tracking on or off with a SD50225U. edit for anyone who sees this in the future: First I...
  28. nandomaciel

    HIKVision ISAPI

    Hello, I would like to know how to obtain ANPR images. I'm using a HIKVision DS-2CD7026G0/P-API camera and I'm getting the information via API with URI /ISAPI/Event/notification/ httpHosts. The big problem is that I am receiving the image in binary format and I cannot change it. Do you know if...
  29. Y

    API-HTTP Command for remote import of configuration to DAHUA NVR/IPC

    Hi, I need to change IVS configuration on my NVR often. And I want to do it from my smartphone. I can change configuration by many-many HTTP commands for each IVS rule and channel, but it is not so convinient. I wonder if there is HTTP command to DAHUA IPC/NVR to automatically import...
  30. T

    Dahua XVR, HCVR - remotely format toll/script/command

    Dear Colleagues, I wonder if there is any way to perform remotely hdd format on Dahua’s XVR, HCVR recorders? I know that I’m able now to do it by SmartPSS or by WEB platform but maybe there is a way to make script, code etc, to do it easier for my way? Maybe sone of you had similiar case? Any...