[ipcamera] Add new channel lastEventData for detailed extra data on alarms (#11748)
* Add new channel * Last Event Data channel finished. * Remove info logging. * Fix bugs * Fix ONVIF wont use different ports in xaddr paths. Signed-off-by: Matthew Skinner <matt@pcmus.com>
This commit is contained in:
@@ -880,6 +880,7 @@
|
||||
<channel id="mp4History" typeId="mp4History"/>
|
||||
<channel id="mp4HistoryLength" typeId="mp4HistoryLength"/>
|
||||
<channel id="lastMotionType" typeId="lastMotionType"/>
|
||||
<channel id="lastEventData" typeId="lastEventData"/>
|
||||
<channel id="ffmpegMotionControl" typeId="ffmpegMotionControl"/>
|
||||
<channel id="ffmpegMotionAlarm" typeId="ffmpegMotionAlarm"/>
|
||||
<channel id="enableMotionAlarm" typeId="enableMotionAlarm"/>
|
||||
@@ -1710,6 +1711,7 @@
|
||||
<channel id="mp4History" typeId="mp4History"/>
|
||||
<channel id="mp4HistoryLength" typeId="mp4HistoryLength"/>
|
||||
<channel id="lastMotionType" typeId="lastMotionType"/>
|
||||
<channel id="lastEventData" typeId="lastEventData"/>
|
||||
<channel id="ffmpegMotionControl" typeId="ffmpegMotionControl"/>
|
||||
<channel id="ffmpegMotionAlarm" typeId="ffmpegMotionAlarm"/>
|
||||
<channel id="enableMotionAlarm" typeId="enableMotionAlarm"/>
|
||||
@@ -2367,6 +2369,13 @@
|
||||
<state readOnly="true"/>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="lastEventData" advanced="true">
|
||||
<item-type>String</item-type>
|
||||
<label>Last Event Data</label>
|
||||
<description>A string that contains detailed data on the last alarm that was triggered.</description>
|
||||
<state readOnly="true"/>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="motionAlarm">
|
||||
<item-type>Switch</item-type>
|
||||
<label>Motion Alarm</label>
|
||||
|
||||
Reference in New Issue
Block a user