Dahua HTTP API - IVS Subscribe to Events

idooriane

n3wb
Feb 4, 2025
1
0
Israel
Hi,

I am trying to subscribe to IVS events without a success.
The idea is to sent a HTTP request to subscribe to events, and when an event acour a http message will be send to a specific IP with the event details (I did this with Hikvision and Uniview API).

The camera details:
Model: DH-IPC-HFW2449S-S-IL
Version: V2.840.0000000.17.R, Build Date: 2024-08-14

Thanks!
 
I don't know but maybe something like this. While first might be only for NVR level only.. I have removed one of the / for forum format.. But
http://192.168.1.100:<PORT>/cgi-bin/eventManager.cgi?action=attach&codes=[VideoMotion,AlarmLocal,IVS]

Then for camera?
http://192.168.1.100:8080/alert?event=ivs&type=tripwire&camera=front_gate

I am sure you already know but the target server must have HTTP listener

Then there are some newer system that might even support MQTT? Maybe this will help get you where you are trying to go.
 
Another thing you could do is use the DMSS app to be able to get notifications to your phone. Could be a way to be able to get those events to you without having to use the HTTP function. Once you add your NVR to DMSS via its SN and getting internet to the NVR you will be able to specify what kind of notifications you want, You will go into the Multi Channel Alarm Subscription to specify what kind of notifications you want. Hope this gives you another option for you.
 
  • Like
Reactions: Mark_M
Another thing you could do is use the DMSS app to be able to get notifications to your phone. Could be a way to be able to get those events to you without having to use the HTTP function. Once you add your NVR to DMSS via its SN and getting internet to the NVR you will be able to specify what kind of notifications you want, You will go into the Multi Channel Alarm Subscription to specify what kind of notifications you want. Hope this gives you another option for you.
Hello! I thought one day I would see someone with Montavue joining IPCT.
You've done well with your how-to videos on Youtube. Thank you! :)

I commented this to MAST digital's NKB1000 video, something you might be interested to know with the keyboard:
With my NKB1000 & NVR5x-I:
  • Some other camera functions can work with the NKB, I notice entering PTZ menu of my fixed thermal camera and 2+OTHER can activate the white light.
  • Pressing SHIFT turns on/off monitor tour.
  • 1+AUX brings up Record mode, 2+AUX brings up PTZ mouse controls of the NVR's right click menu.
Downsides I would like Dahua to fix/add, or I don't know the function:
  • Toggling Arming/Disarming of the NVR.
  • Manually activating the siren and/or flashing lights on a TiOC camera. (In my case) a TiOC PTZ while you are controlling it.
  • Custom split screen layouts cannot be called with #+MULT. This would probably need an ID number set in the NVR's custom split screen setup.
  • A panic backup group would be nice, e.g. 0+FN sets the NVR to panic record a pre-setup group of cameras. (I keep all my cameras recording 24/7, but for some operators it could be useful).
  • Using the keyboard is not available for searching on some windows, e.g. searching the human detection, facial recognition.
  • Manually activating an alarm output (relay)…. although this could get tricky with multiple Alarm boxes added.
  • Auto login on the NKB, I'm the sole user and I don't care about security of someone else using the joystick.
  • LCD screen backlight is always on or off. An option for the backlight to come on when the keyboard is interacted with, then a user set delay before it turns off (e.g. 2min).