[ipcamera] Improve Dahua alarms (#10078)

Signed-off-by: Matthew Skinner <matt@pcmus.com>
This commit is contained in:
Matthew Skinner
2021-02-25 04:07:48 +11:00
committed by GitHub
parent 7050a1478e
commit 6b624f0e1c
10 changed files with 230 additions and 93 deletions

View File

@@ -936,6 +936,11 @@
<channel id="imageUrl" typeId="imageUrl"/>
<channel id="hlsUrl" typeId="hlsUrl"/>
<channel id="enablePrivacyMode" typeId="enablePrivacyMode"/>
<channel id="carAlarm" typeId="carAlarm"/>
<channel id="humanAlarm" typeId="humanAlarm"/>
<channel id="tooDarkAlarm" typeId="tooDarkAlarm"/>
<channel id="sceneChangeAlarm" typeId="sceneChangeAlarm"/>
<channel id="tooBlurryAlarm" typeId="tooBlurryAlarm"/>
</channels>
<config-description>
@@ -2542,6 +2547,22 @@
<state readOnly="true"/>
</channel-type>
<channel-type id="humanAlarm" advanced="true">
<item-type>Switch</item-type>
<label>Human Alarm</label>
<description>A person has triggered the Human Detection.</description>
<category>Alarm</category>
<state readOnly="true"/>
</channel-type>
<channel-type id="carAlarm" advanced="true">
<item-type>Switch</item-type>
<label>Car Alarm</label>
<description>A car has triggered the Vehicle Detection.</description>
<category>Alarm</category>
<state readOnly="true"/>
</channel-type>
<channel-type id="parkingAlarm" advanced="true">
<item-type>Switch</item-type>
<label>Parking Alarm</label>