@matt1 i understand that OH3 plugins are probably your focus from this point forward - I havent had a chance to look into upgrading my OH2.5.11 install to OH3.
But i’ve been having problems getting Alarms to work 100% on my cameras.
I’m running a Hikvision NVR (model: DS-7616NI-I2 / 16P) and multiple Turret ColorVu Hikvision Cameras (Model:DS-2CD2347G1-LU).
I have added my cameras two ways:
- Directly though the NVR IP address and specifying nvrChannel=#
- Directly to the Camera IP address with the nvrChannel removed (defaults to 1)
Both setups has yielded the same results on these units. Alarms are intermittently triggered. I get the alarms 100% everytime though the Hik-Connect app which indicates the alarm is triggered and the "
“Notify Surveillance Center” is checked off and working.
The Thing for “lineCrossingAlarm” is never triggered On/OFF and i have been getting mixed results by using the “lastMotionType” thing, i will get the alarm most of the time and then it will just stop.
With TRACE enabled for the plugin i see all the xml events but nothing updated for my items:
<ipAddress>192.168.2.58</ipAddress>
<portNo>80</portNo>
<protocol>HTTP</protocol>
<macAddress>10:12:fb:e3:56:28</macAddress>
<channelID>1</channelID>
<dateTime>2021-02-25T23:10:55-5:00</dateTime>
<activePostCount>67</activePostCount>
<eventType>linedetection</eventType>
<eventState>active</eventState>
<eventDescription>linedetection alarm</eventDescription>
<DetectionRegionList>
<DetectionRegionEntry>
<regionID>1</regionID>
<sensitivityLevel>100</sensitivityLevel>
<RegionCoordinatesList>
<RegionCoordinates>
<positionX>500</positionX>
<positionY>981</positionY>
</RegionCoordinates>
<RegionCoordinates>
<positionX>502</positionX>
<positionY>17</positionY>
</RegionCoordinates>
</RegionCoordinatesList>
</DetectionRegionEntry>
</DetectionRegionList>
<channelName></channelName>
<Extensions version="1.0" xmlns="urn:psialliance-org">
<serialNumber xmlns="urn:selfextension:psiaext-ver10-xsd">DS-2CD2347G1-LU20200917AAWRE80568520</serialNumber>
<eventPush xmlns="urn:selfextension:psiaext-ver10-xsd">IO&&DS-2CD2347G1-LU20200917AAWRE80568520,2021-02-25T23:10:55-5:00,1.0</eventPush>
</Extensions>
</EventNotificationAlert>
:```