beepsilver
Getting comfortable
Has anyone successfully found a way (using scripts apparently) to get Dahua IVS events in BI?  If so, would mind posting details on how to do this?  Thank you.
 I've been meaning to email the BI author to see if he could support it directly within BI. BI does appear to support Hikvison's "Smart Events", which are the equivalent of Dahua's IVS events.Has anyone successfully found a way (using scripts apparently) to get Dahua IVS events in BI? If so, would mind posting details on how to do this? Thank you.
 You may not be able to tell at first glance, but the results are from the video motion detection, not IVS.  Can someone with a bigger brain give this a shot with any relatively new Dahua camera (preferably the HDW5231R-Z)?  FYI, I did this with one of my Hiks and it monitors Smart Events just fine.  You'd think that since I have IVS on my PTZ mentioned above working with Blue Iris, I'd be able to monitor events in ODM, but can't seem to work it out.Because nobody writes documentation
Available events:
Source: Alarm tab of camera webui + F12/inspect -> networkCode:VideoMotion CrossLineDetection,CrossRegionDetection,LeftDetection,SceneChange,TakenAwayDetection,FaceDetection,RioterDetection,MoveDetection,WanderDetection,CrossFenceDetection,ParkingDetection,NumberStat,RetrogradeDetection,TrafficJunction VideoBlind AudioAnomaly,AudioMutation VideoAbnormalDetection,SceneChange LoginFailure
Example script to watch cameras on event: https://i.botox.bz/watch.py
Just add the additional ones to the event line if you use those.
for example:You can adapt that script to then trigger the BlueIris record event for that camera.Code:"events": "VideoMotion,VideoBlind,VideoAbnormalDetection,SceneChange,CrossLineDetection,CrossRegionDetection,LeftDetection,SceneChange,TakenAwayDetection,FaceDetection,RioterDetection,MoveDetection,WanderDetection,CrossFenceDetection,ParkingDetection,NumberStat,RetrogradeDetection,TrafficJunction"
I don't have BlueIris so ¯\_(ツ)_/¯ but I did read that it has a JSON API which can do just that.
Example output:
Code:python watch.py [0] OnConnect() [0] ParseAlarm({'Code': 'CrossLineDetection', 'action': 'Start', 'index': '0'}) [0] Alarm triggered! -> ON [0] StartPlayer()
I have 20+ different model Dahua cams and there working with ivs in BI I just went in the onivf tab and set up a user the same as the cam login and password. only issue i hd is the cams would turn the motion detection back on everyday then i was getting hundreds of events. I just turned sensitvity to zero and the threshold to 100 to stop any motion events.
Motion detection in which, cam or BI?
According to jaycantor it works without any workaround...what about setting up a dummy smtp server on the blueiris machine.
Then have Dahua IVS send alert to that smtp server with the latter calling blueiris trigger via the blueiris api.
I have made a quick test and seems to work but not sure about the delays involved.