Dahua IPC-T541R-ZE-S3 AI IPCamera Binding Trigger Possible?

  • Platform information:
    • Hardware: RPI 4
    • OS: openHAB 5.1.0
    • Java Runtime Environment: which java platform is used and what version
    • openHAB version:
  • Issue of the topic: The IPCamera binding triggers on a video detection but is it possible to receive an AI trigger?

When using the Dahua AI IVS Intrusion detection is nice because it can distinguish an animal versus anything else. The IPCamera binding appears to only trigger on the standard video detection which does not distinguish between autos, people, or animals. Any one else using these cameras figured out how to trigger Openhab using the AI feature with these cameras?

Thanks

Guy

If you click on “Show advanced” on the channel view, there should be channels for carAlarm and humanAlarm:

Thanks. I had not known that! Now if we only had an animal alarm as well. My garden camera has caught bobcats, bears, and rabbits. Country people right? Most AI cameras today can detect all three types.

Thanks

Guy

You could ask for an enhancement for the ipcamera binding on github, if your cam does have that “animal” option:

ONVIF Event Support (Limited): Some Dahua cameras partially support ONVIF events that can indicate intrusion detection. However, the object classification information is often lost. You’d need to enable ONVIF in the camera settings and configure the binding to listen for those events. This is the easiest approach, but least reliable for accurate detection.

I have this working here as I agree the IVS Intrusion detection is a big improvement over other forms of motion detection. You need to use the fieldAlarm channel as this is what gets triggered from the INTRUSION rules.

Also check out the lastEventData channel, that may give extra details about the alarms but it has been a while since looking at the binding that I am not sure what events cause that to get more detailed info.

Just think that Field Alarm = Intrusion, as the channel names are the same between brands so if you ever want to mix and match or change your brand of cameras, the binding stays the same. You setup the intrusion to detect on ‘appear’ and both directions across the area box, then you tick the target filter to only detect human, car etc. A min and max size helps to lower false alarms. Lastly make sure you set the sensitivity to 8 otherwise at night the detection is not very good compared to the daytime. A lot of the Dahua NVR’s do not display the sensitivity setting for intrusion, so you may need to login to the camera directly to see it or do firmware upgrades.