Onvif Trigger with IVS

Mar 31, 2025
11
0
I have a Dahua 8MP PTZ camera connected to BlueIris. I just want to know if there's a way to trigger IVS (Intelligent Video Surveillance) for human and vehicle detection via ONVIF options from BlueIris. I've turned on ONVIF events in the camera settings in BlueIris, but every time a vehicle or person is detected, no action is taken except the motion which is working fine.

Any help is greatly appreciate. Thank you all.

1755216479033.png
 
Yep. You need to create separate IVS rules - one for person and another for vehicle.

So say make person IVS1 and vehicle IVS2.

Then have BI listen for IVS1 and IVS2 and then in the memo put down the respective person or vehicle.
 
Yep. You need to create separate IVS rules - one for person and another for vehicle.

So say make person IVS1 and vehicle IVS2.

Then have BI listen for IVS1 and IVS2 and then in the memo put down the respective person or vehicle.
I did created two separate IVS rules one for person(rule name=Human) and another for vehicle (rule name=Car), but both did not trigger an alert and my configuration is shown above. If you have the time, can you provide me picture of your configuration how you done it correctly? I did follow your previews post about this when helping someone but it did not work for me unfortunately.
 
Did you hit the find/inspect again in BI after you made the rules?

Did you confirm by watching the camera live that it did indeed actually trigger for a person and then for a vehicle?

Did you confirm the syntax you put down for in BI matches what you have in the camera GUI exactly?

Post screenshots of your IVS rules from the camera GUI.
 
I did hit the find/inspect again in BI, and also comfirm that a vehicle is detected because the camera follows the car triggering the alarm, but not with the BI onvif events. Here my IVS config

1755220280527.png
 
Last edited:
And right there is the problem - your contains in BI include "Human" and "MotionAlarm" yet in the camera GUI, those two phrases are not found.

You need to change the name of the IVS rules to what you have in contains.

So if Human is IVS1, then change IVS1 to Human and the same with the other IVS rules.
 
Same thing with this updated configuration as you can see on this logs in this screenshot, the camera was triggered by a vehicle but BI did not trigger. 1755221622645.png
 
Ok, post what shows up in the pop-up screen when you hit find/inspect.

And it might be good to delete the camera and re-add and the camera with just the defaults and confirm it is actually triggering for ONVIF.
 
And did you do this In BI - there are a few places you need to set this up to pull the triggers:

In Camera configure setting check the box "Get ONVIF triggers".

1729872550455.png




Hit Find/Inspect on the camera setting to pull the coding for the triggers.

Go into Motion Setting and select the "Cameras digital input" box OR "ONVIF/CAMERA EVENTS" based on which BI version you have. Turn off BI Motion Detection if you don't want to use it:

1729872617699.png
 
Not possible to take screenshot of whole logs. Here is the the rest of the logs.

Code:
Opening ip port 80...
HTTP Get / request...
OK
ONVIF GetSystemDateAndTime
2025-08-15T02:05:14.000Z
Requesting device information...
Manufacturer: General
Model: VD-SD4825X
FirmwareVersion: 3.200.0000003.0.R, Build Date 2023-03-25
GetCapabilities...
Querying services
Has Imaging services: /onvif/imaging_service
Has media services: /onvif/media_service
Has RTP_RTSP_TCP, requesting profiles
profile token MediaProfile00000
profile name MediaProfile_Channel1_MainStream
profile source is 00000
profile token MediaProfile00001
profile name MediaProfile_Channel1_SubStream1
profile source is 00000
profile token MediaProfile00002
profile name MediaProfile_Channel1_SubStream2
profile source is 00000
requesting URI for profile MediaProfile00000
RTSP URI: rtsp:/ip:554/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif
requesting URI for profile MediaProfile00001
RTSP URI: rtsp:/ip:554/cam/realmonitor?channel=1&subtype=1&unicast=true&proto=Onvif
requesting URI for profile MediaProfile00002
RTSP URI: rtsp:/ip:554/cam/realmonitor?channel=1&subtype=2&unicast=true&proto=Onvif
Has Event services: /onvif/event_service
Has WSPullPointSupport
RelayOutputs: 1
RelayOutput: 00000/Bistable/open
InputConnectors: 2
Has Device IO services: /onvif/deviceIO_service
AudioOutputs: 1
Has PTZ service: /onvif/ptz_service
Preset: 1=Face Gate Remote
Preset: 2=Right View
Done


1755223978816.png
1755224108086.png
 
Last edited:
Sorry asking too much and taking much of your time. The main reason I wanted to use the AI built-in to the camera is because Its much accurate compared to codeproject.AI, in-addition it will save resources on my server. And here is my configuration I have in BI.
1755225491076.png
 
Oh you are fine, I want to help you get it working.

OK bump Receive Buffer to 30MB

Match my ONVIF source in both boxes (three 000 in each box)

And lets see if that gets it going!
 
Oh you are fine, I want to help you get it working.

OK bump Receive Buffer to 30MB

Match my ONVIF source in both boxes (three 000 in each box)

And lets see if that gets it going!
and after adding those three zeros on both boxes and changed the value of the Received Buffer to 30MB, do I need to click on the inspect? Because if I do click the inspect afterward it reverts those zeroes to the default, leaving the first box having five zeroes in total.
 
No do not do the find/inspect again
Oh ok. After the changes, the BI still did not response to the trigger made by the camera when it detects a person or vehicle. The screenshot below showing when the camera triggered when a person is in the frame (camera follows the person), but BI did not response to that.

1755226959466.png
 
OK what I would do now is delete the camera and then re-add but do not do anything with the above page.

Leave all the default listens for, etc. and confirm that BI is triggering for ONVIF
 
This was solved by enabling both snapshot and recording from the camera setting within IVS, along with 00000 on both onvif source boxes from BI and enabling onvif trigger events. :)
 
Last edited:
Wow that is a weird solution considering that has nothing to do with BI as those are only related to the SD card in the camera.

But I have SD cards in all my cameras, so that would have been on anyway.

Will have to remember this for future folks!