Skip to content

Commit

Permalink
Update Protect.html
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus-j-davies committed Apr 28, 2024
1 parent 0732ba6 commit 752a5be
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions build/nodes/Protect.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,14 @@
// List Events
const Events = [
{ value: 'AudioDetection', label: 'Audio Detection' },
{ value: 'Animal', label: 'Animal Detected' },
{ value: 'Animal', label: 'Animal Detected [Multiple]' },
{ value: 'DoorBell', label: 'Door Bell Ring' },
{ value: 'LicensePlate', label: 'License Plate' },
{ value: 'MotionDetection', label: 'Motion Detection' },
{ value: 'MotionEvent', label: 'Motion Event' },
{ value: 'LicensePlate', label: 'License Plate [Multiple]' },
{ value: 'MotionDetection', label: 'Motion Detection ' },
{ value: 'MotionEvent', label: 'Motion Event [Multiple]' },
{ value: 'Package', label: 'Package Detected' },
{ value: 'Person', label: 'Person Detected' },
{ value: 'Vehicle', label: 'Vehicle Detected' },
{ value: 'Person', label: 'Person Detected [Multiple]' },
{ value: 'Vehicle', label: 'Vehicle Detected [Multiple]' },
]
$('#node-input-eventIds').typedInput({
type: 'events',
Expand Down Expand Up @@ -162,6 +162,10 @@
<span style="font-weight:bold;">Note:</span> Enbaling <code>Debug</code> will output raw/unfiltered Protect events, whether or not cameras and / or events are selected.
</div>
<br />
<div class="form-tips">
<span style="font-weight:bold;">[Multiple]:</span> These events consist of 2 events, the 1st being when the event started, the 2nd when it has ended, the payloads will advise also via a <code>expectEndEvent</code> property
</div>
<br />
<div class="form-tips" id="node-warning">
<span style="color:orange; font-weight:bold;">Warning:</span> The selected console does not appear to have a protect Instance running, or it's config has just been created and needs deploying before cameras can be fetched.
</div>
Expand All @@ -171,4 +175,4 @@
<!-- prettier-ignore -->
<script data-help-name="unifi-protect" type="text/html">
<p>A Unifi Protect Camera.</p>
</script>
</script>

0 comments on commit 752a5be

Please sign in to comment.