@camstack/addon-provider-hikvision 1.2.167 → 1.2.169
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/addon.js +132 -147
- package/dist/addon.mjs +132 -147
- package/i18n/en.json +15 -46
- package/i18n/it.json +15 -46
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -34,7 +34,7 @@ let node_os = require("node:os");
|
|
|
34
34
|
let node_net = require("node:net");
|
|
35
35
|
let node_http = require("node:http");
|
|
36
36
|
let node_https = require("node:https");
|
|
37
|
-
//#region ../types/dist/event-category-
|
|
37
|
+
//#region ../types/dist/event-category-BfJwUd2S.mjs
|
|
38
38
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
39
39
|
EventCategory["SystemBoot"] = "system.boot";
|
|
40
40
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -351,6 +351,15 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
351
351
|
*/
|
|
352
352
|
EventCategory["PipelineDetectionBlind"] = "pipeline.detection-blind";
|
|
353
353
|
/**
|
|
354
|
+
* A camera's motion source has fired constantly with no subject for an hour
|
|
355
|
+
* (motion duty or session count over the bar, zero detections) — it is not
|
|
356
|
+
* blind, its motion zones or sensitivity want tuning (D907). Paired with
|
|
357
|
+
* {@link PipelineMotionCalm}.
|
|
358
|
+
*/
|
|
359
|
+
EventCategory["PipelineMotionNoisy"] = "pipeline.motion-noisy";
|
|
360
|
+
/** The recovery edge of {@link PipelineMotionNoisy}: the motion fell back, or a detection arrived. */
|
|
361
|
+
EventCategory["PipelineMotionCalm"] = "pipeline.motion-calm";
|
|
362
|
+
/**
|
|
354
363
|
* Per-camera pipeline config was mutated by the orchestrator
|
|
355
364
|
* (3-level settings change via `setAgentAddonDefaults` /
|
|
356
365
|
* `setCameraStepToggle` / `setCameraPipelineForAgent` or a
|
|
@@ -5457,7 +5466,7 @@ var ZodIssueCode = {
|
|
|
5457
5466
|
var ZodFirstPartyTypeKind;
|
|
5458
5467
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5459
5468
|
//#endregion
|
|
5460
|
-
//#region ../types/dist/sleep-
|
|
5469
|
+
//#region ../types/dist/sleep-DJFUfKvA.mjs
|
|
5461
5470
|
/**
|
|
5462
5471
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5463
5472
|
* window to float samples (D455).
|
|
@@ -7986,7 +7995,7 @@ var EntryDescriptorSchema = object({
|
|
|
7986
7995
|
/** JSON Schema of the entry body; `secret: true` marks a password field. */
|
|
7987
7996
|
fields: record(string(), unknown())
|
|
7988
7997
|
}).strict();
|
|
7989
|
-
/** What crosses the wire
|
|
7998
|
+
/** What crosses the wire from an addon: JSON only, no Zod. An unknown key is refused. */
|
|
7990
7999
|
var RecordKindDeclarationSchema = object({
|
|
7991
8000
|
database: _enum(RECORD_DATABASES).default("settings"),
|
|
7992
8001
|
class: _enum(RECORD_CLASSES),
|
|
@@ -8005,14 +8014,6 @@ var RecordKindDeclarationSchema = object({
|
|
|
8005
8014
|
secretPaths: array(string().min(1)).default([]),
|
|
8006
8015
|
/** The id key of each array that carries a secret (`{ headers: 'name' }`). */
|
|
8007
8016
|
secretArrayKeys: record(string(), string()).default({}),
|
|
8008
|
-
/**
|
|
8009
|
-
* RETIRED (D900): the legacy table a kind adopted from during the records
|
|
8010
|
-
* migration. Nothing declares it any more and nothing reads it; the schema
|
|
8011
|
-
* still ACCEPTS it because the catalog rows the migration wrote carry it
|
|
8012
|
-
* (an orphaned kind is never redeclared) and an addon built before the
|
|
8013
|
-
* removal still sends it. Never set it.
|
|
8014
|
-
*/
|
|
8015
|
-
adoptsFrom: string().min(1).optional(),
|
|
8016
8017
|
/** Kinds that must agree through `transact` sit in one file under one family name. */
|
|
8017
8018
|
transactFamily: string().min(1).optional(),
|
|
8018
8019
|
entry: EntryDescriptorSchema.optional()
|
|
@@ -13007,17 +13008,6 @@ object({
|
|
|
13007
13008
|
createdAt: number(),
|
|
13008
13009
|
updatedAt: number()
|
|
13009
13010
|
});
|
|
13010
|
-
object({
|
|
13011
|
-
id: string(),
|
|
13012
|
-
label: string(),
|
|
13013
|
-
isAdmin: boolean().default(false),
|
|
13014
|
-
allowedProviders: AllowedProviderSchema,
|
|
13015
|
-
allowedDevices: AllowedDevicesSchema,
|
|
13016
|
-
tokenHash: string(),
|
|
13017
|
-
tokenPrefix: string(),
|
|
13018
|
-
createdAt: number(),
|
|
13019
|
-
lastUsedAt: number().optional()
|
|
13020
|
-
});
|
|
13021
13011
|
object({
|
|
13022
13012
|
id: string(),
|
|
13023
13013
|
userId: string(),
|
|
@@ -16999,16 +16989,36 @@ var RecordKindStateSchema = _enum([
|
|
|
16999
16989
|
var DeclareKindResultSchema = object({
|
|
17000
16990
|
kindId: number().int(),
|
|
17001
16991
|
state: RecordKindStateSchema,
|
|
17002
|
-
createdIndexes: array(string())
|
|
17003
|
-
/**
|
|
17004
|
-
* RETIRED (D900): always `null`. It carried the records-migration boot guard;
|
|
17005
|
-
* it stays on the wire, null, because an addon built before the removal reads
|
|
17006
|
-
* an ABSENT field as "adoption pending" and refuses to start.
|
|
17007
|
-
*/
|
|
17008
|
-
adoptionPending: _null()
|
|
16992
|
+
createdIndexes: array(string())
|
|
17009
16993
|
});
|
|
17010
16994
|
/** Keychain refs a write released (the old marker is gone from the row): the owner deletes the values. */
|
|
17011
16995
|
var SecretRefsList = array(string());
|
|
16996
|
+
/**
|
|
16997
|
+
* One op of a `transact`: the single-row writes, each on a kind of the caller.
|
|
16998
|
+
* All ops of one call share ONE database file and ONE `transactFamily`.
|
|
16999
|
+
*/
|
|
17000
|
+
var RecordTransactOpSchema = discriminatedUnion("op", [
|
|
17001
|
+
object({
|
|
17002
|
+
op: literal("put"),
|
|
17003
|
+
kind: RecordKindNameSchema,
|
|
17004
|
+
record: RecordInputSchema,
|
|
17005
|
+
ifRev: number().int().min(0).optional()
|
|
17006
|
+
}),
|
|
17007
|
+
object({
|
|
17008
|
+
op: literal("patch"),
|
|
17009
|
+
kind: RecordKindNameSchema,
|
|
17010
|
+
id: RecordIdSchema,
|
|
17011
|
+
data: RecordBodySchema,
|
|
17012
|
+
at: number().int().nullable().optional(),
|
|
17013
|
+
expiresAt: number().int().nullable().optional(),
|
|
17014
|
+
ifRev: number().int().min(1).optional()
|
|
17015
|
+
}),
|
|
17016
|
+
object({
|
|
17017
|
+
op: literal("delete"),
|
|
17018
|
+
kind: RecordKindNameSchema,
|
|
17019
|
+
id: RecordIdSchema
|
|
17020
|
+
})
|
|
17021
|
+
]);
|
|
17012
17022
|
var RecordSecretRefsSchema = record(string(), record(string(), string()));
|
|
17013
17023
|
method(object({ kinds: record(RecordKindNameSchema, RecordKindDeclarationSchema) }), object({ kinds: record(string(), DeclareKindResultSchema) }), {
|
|
17014
17024
|
kind: "mutation",
|
|
@@ -17115,6 +17125,16 @@ method(object({ kinds: record(RecordKindNameSchema, RecordKindDeclarationSchema)
|
|
|
17115
17125
|
}), {
|
|
17116
17126
|
kind: "mutation",
|
|
17117
17127
|
auth: "admin"
|
|
17128
|
+
}), method(object({ ops: array(RecordTransactOpSchema).min(1).max(RECORD_BATCH_MAX) }), object({
|
|
17129
|
+
results: array(object({
|
|
17130
|
+
rev: number().int().nullable(),
|
|
17131
|
+
deleted: boolean()
|
|
17132
|
+
})),
|
|
17133
|
+
releasedRefs: SecretRefsList,
|
|
17134
|
+
secretRefs: SecretRefsList
|
|
17135
|
+
}), {
|
|
17136
|
+
kind: "mutation",
|
|
17137
|
+
auth: "admin"
|
|
17118
17138
|
}), method(object({
|
|
17119
17139
|
deviceId: number().int(),
|
|
17120
17140
|
kinds: array(RecordKindNameSchema).optional()
|
|
@@ -42841,9 +42861,13 @@ var NcSystemEventKindSchema = _enum([
|
|
|
42841
42861
|
"node-updating",
|
|
42842
42862
|
"node-inference-unavailable",
|
|
42843
42863
|
"detection-blind",
|
|
42864
|
+
"motion-noisy",
|
|
42865
|
+
"motion-calm",
|
|
42844
42866
|
"recording-stalled",
|
|
42845
42867
|
"recording-healthy",
|
|
42846
42868
|
"recording-degraded",
|
|
42869
|
+
"device-attention-required",
|
|
42870
|
+
"device-attention-resolved",
|
|
42847
42871
|
"storage-location-low",
|
|
42848
42872
|
"storage-location-critical",
|
|
42849
42873
|
"storage-location-ok",
|
|
@@ -48404,7 +48428,6 @@ var RecommendationReasonSchema = discriminatedUnion("kind", [
|
|
|
48404
48428
|
modelId: string()
|
|
48405
48429
|
}),
|
|
48406
48430
|
object({ kind: literal("cpu-device") }),
|
|
48407
|
-
object({ kind: literal("coral-untouched") }),
|
|
48408
48431
|
object({ kind: literal("device-disabled") }),
|
|
48409
48432
|
object({ kind: literal("device-unavailable") }),
|
|
48410
48433
|
object({ kind: literal("node-offline") }),
|
|
@@ -48502,11 +48525,6 @@ var AutoTuneWarningSchema = discriminatedUnion("kind", [
|
|
|
48502
48525
|
kind: literal("detector-store-unreadable"),
|
|
48503
48526
|
error: string()
|
|
48504
48527
|
}),
|
|
48505
|
-
object({
|
|
48506
|
-
kind: literal("coral-enabled"),
|
|
48507
|
-
nodeId: string(),
|
|
48508
|
-
deviceKey: string()
|
|
48509
|
-
}),
|
|
48510
48528
|
object({
|
|
48511
48529
|
kind: literal("custom-pin-kept"),
|
|
48512
48530
|
nodeId: string(),
|
|
@@ -56689,6 +56707,16 @@ var DishwasherStatusSchema = object({
|
|
|
56689
56707
|
powerState: string().nullable(),
|
|
56690
56708
|
saltLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
56691
56709
|
rinseAidLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
56710
|
+
/**
|
|
56711
|
+
* True while the appliance asks for its filter to be cleaned (smart-filter, filter-system or
|
|
56712
|
+
* combined care-and-filter reminder raised); false when every such reminder reads clear; null
|
|
56713
|
+
* when none is reported. A cleared reminder is not an unknown one.
|
|
56714
|
+
*/
|
|
56715
|
+
filterCleaningDue: boolean().nullable(),
|
|
56716
|
+
/** True while the machine-care (descaling / cleaning-program) reminder is raised; false when clear; null when not reported. */
|
|
56717
|
+
machineCareDue: boolean().nullable(),
|
|
56718
|
+
/** Program runs left before the machine-care reminder is due; null when the appliance does not say. */
|
|
56719
|
+
machineCareRemainingRuns: number().int().nonnegative().nullable(),
|
|
56692
56720
|
/** Option states: null when the appliance does not expose the option or has not said. */
|
|
56693
56721
|
halfLoad: boolean().nullable(),
|
|
56694
56722
|
hygienePlus: boolean().nullable(),
|
|
@@ -65900,16 +65928,6 @@ var UpdateUserInputSchema = object({
|
|
|
65900
65928
|
allowedDevices: record(string(), union([array(string()), literal("*")])).optional(),
|
|
65901
65929
|
scopes: array(TokenScopeSchema).optional()
|
|
65902
65930
|
});
|
|
65903
|
-
var ApiKeySummarySchema = object({
|
|
65904
|
-
id: string(),
|
|
65905
|
-
label: string(),
|
|
65906
|
-
isAdmin: boolean().default(false),
|
|
65907
|
-
allowedProviders: union([array(string()), literal("*")]).optional(),
|
|
65908
|
-
allowedDevices: record(string(), union([array(string()), literal("*")])).optional(),
|
|
65909
|
-
tokenPrefix: string(),
|
|
65910
|
-
createdAt: number(),
|
|
65911
|
-
lastUsedAt: number().optional()
|
|
65912
|
-
});
|
|
65913
65931
|
var OauthSessionSummarySchema = object({
|
|
65914
65932
|
id: string(),
|
|
65915
65933
|
userId: string(),
|
|
@@ -65931,8 +65949,7 @@ var TotpStatusSchema = object({
|
|
|
65931
65949
|
confirmedAt: number().nullable()
|
|
65932
65950
|
});
|
|
65933
65951
|
/**
|
|
65934
|
-
* user-management — singleton capability for user accounts
|
|
65935
|
-
* legacy API-key rows.
|
|
65952
|
+
* user-management — singleton capability for user accounts.
|
|
65936
65953
|
*
|
|
65937
65954
|
* v2 model: every method gated by `auth: 'admin'`. Admin-only delegation
|
|
65938
65955
|
* — the subset check on `setUserScopes` is moot
|
|
@@ -65988,10 +66005,6 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
|
|
|
65988
66005
|
}), UserSummarySchema.extend({ passwordHash: string() }).nullable(), {
|
|
65989
66006
|
kind: "mutation",
|
|
65990
66007
|
access: "view"
|
|
65991
|
-
}), method(_void(), array(ApiKeySummarySchema), { auth: "admin" }), method(object({ id: string() }), object({ success: literal(true) }), {
|
|
65992
|
-
kind: "mutation",
|
|
65993
|
-
auth: "admin",
|
|
65994
|
-
access: "delete"
|
|
65995
66008
|
}), method(object({ userId: string() }), TotpSetupResultSchema, {
|
|
65996
66009
|
kind: "mutation",
|
|
65997
66010
|
auth: "admin",
|
|
@@ -75466,6 +75479,12 @@ Object.freeze({
|
|
|
75466
75479
|
addonId: null,
|
|
75467
75480
|
access: "view"
|
|
75468
75481
|
},
|
|
75482
|
+
"records.transact": {
|
|
75483
|
+
capName: "records",
|
|
75484
|
+
capScope: "system",
|
|
75485
|
+
addonId: null,
|
|
75486
|
+
access: "create"
|
|
75487
|
+
},
|
|
75469
75488
|
"sceneMonitor.captureReference": {
|
|
75470
75489
|
capName: "scene-monitor",
|
|
75471
75490
|
capScope: "device",
|
|
@@ -76798,12 +76817,6 @@ Object.freeze({
|
|
|
76798
76817
|
addonId: null,
|
|
76799
76818
|
access: "view"
|
|
76800
76819
|
},
|
|
76801
|
-
"userManagement.listApiKeys": {
|
|
76802
|
-
capName: "user-management",
|
|
76803
|
-
capScope: "system",
|
|
76804
|
-
addonId: null,
|
|
76805
|
-
access: "view"
|
|
76806
|
-
},
|
|
76807
76820
|
"userManagement.listExternalIdentities": {
|
|
76808
76821
|
capName: "user-management",
|
|
76809
76822
|
capScope: "system",
|
|
@@ -76858,12 +76871,6 @@ Object.freeze({
|
|
|
76858
76871
|
addonId: null,
|
|
76859
76872
|
access: "create"
|
|
76860
76873
|
},
|
|
76861
|
-
"userManagement.revokeApiKey": {
|
|
76862
|
-
capName: "user-management",
|
|
76863
|
-
capScope: "system",
|
|
76864
|
-
addonId: null,
|
|
76865
|
-
access: "delete"
|
|
76866
|
-
},
|
|
76867
76874
|
"userManagement.revokeOauthSession": {
|
|
76868
76875
|
capName: "user-management",
|
|
76869
76876
|
capScope: "system",
|
|
@@ -80446,9 +80453,13 @@ new Map(Object.entries({
|
|
|
80446
80453
|
"stream-online": "device-events",
|
|
80447
80454
|
"stream-offline": "device-events",
|
|
80448
80455
|
"detection-blind": "device-events",
|
|
80456
|
+
"motion-noisy": "device-events",
|
|
80457
|
+
"motion-calm": "device-events",
|
|
80449
80458
|
"recording-stalled": "device-events",
|
|
80450
80459
|
"recording-healthy": "device-events",
|
|
80451
80460
|
"recording-degraded": "device-events",
|
|
80461
|
+
"device-attention-required": "device-events",
|
|
80462
|
+
"device-attention-resolved": "device-events",
|
|
80452
80463
|
"node-online": "system",
|
|
80453
80464
|
"node-offline": "system",
|
|
80454
80465
|
"node-restarting": "system",
|
|
@@ -80531,6 +80542,12 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
80531
80542
|
label: "Detecting nothing",
|
|
80532
80543
|
kinds: ["detection-blind"]
|
|
80533
80544
|
},
|
|
80545
|
+
{
|
|
80546
|
+
id: "motion-noise",
|
|
80547
|
+
family: "device-events",
|
|
80548
|
+
label: "Motion without a subject",
|
|
80549
|
+
kinds: ["motion-noisy", "motion-calm"]
|
|
80550
|
+
},
|
|
80534
80551
|
{
|
|
80535
80552
|
id: "recording",
|
|
80536
80553
|
family: "device-events",
|
|
@@ -80541,6 +80558,12 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
80541
80558
|
"recording-degraded"
|
|
80542
80559
|
]
|
|
80543
80560
|
},
|
|
80561
|
+
{
|
|
80562
|
+
id: "device-attention",
|
|
80563
|
+
family: "device-events",
|
|
80564
|
+
label: "Needs attention",
|
|
80565
|
+
kinds: ["device-attention-required", "device-attention-resolved"]
|
|
80566
|
+
},
|
|
80544
80567
|
{
|
|
80545
80568
|
id: "nodes",
|
|
80546
80569
|
family: "system",
|
|
@@ -80680,6 +80703,7 @@ var ALERT_EPISODE = [
|
|
|
80680
80703
|
"alert-error",
|
|
80681
80704
|
"alert-critical-resolved"
|
|
80682
80705
|
];
|
|
80706
|
+
var DEVICE_ATTENTION = ["device-attention-required", "device-attention-resolved"];
|
|
80683
80707
|
var UPDATES = [
|
|
80684
80708
|
"addon-update-available",
|
|
80685
80709
|
"server-update-available",
|
|
@@ -80709,9 +80733,12 @@ var DEVICE_EVENTS = [
|
|
|
80709
80733
|
"stream-online",
|
|
80710
80734
|
"stream-offline",
|
|
80711
80735
|
"detection-blind",
|
|
80736
|
+
"motion-noisy",
|
|
80737
|
+
"motion-calm",
|
|
80712
80738
|
"recording-stalled",
|
|
80713
80739
|
"recording-healthy",
|
|
80714
80740
|
"recording-degraded",
|
|
80741
|
+
...DEVICE_ATTENTION,
|
|
80715
80742
|
...ALARM
|
|
80716
80743
|
];
|
|
80717
80744
|
/** Every kind a summary may speak about — the two summarisable families. */
|
|
@@ -80879,7 +80906,9 @@ var STATE_SUMMARY_VARS = [
|
|
|
80879
80906
|
[...RULE_TEXT],
|
|
80880
80907
|
[...RULE_TEXT],
|
|
80881
80908
|
[...RULE_TEXT],
|
|
80882
|
-
|
|
80909
|
+
[...RULE_TEXT],
|
|
80910
|
+
[...RULE_TEXT],
|
|
80911
|
+
([...RULE_TEXT], [...DEVICE_ATTENTION, ...ALERT_EPISODE]),
|
|
80883
80912
|
[...RULE_TEXT],
|
|
80884
80913
|
[...RULE_TEXT],
|
|
80885
80914
|
[...RULE_TEXT],
|
|
@@ -80901,11 +80930,11 @@ var STATE_SUMMARY_VARS = [
|
|
|
80901
80930
|
[...RULE_TEXT],
|
|
80902
80931
|
[...RULE_TEXT],
|
|
80903
80932
|
[...RULE_TEXT],
|
|
80933
|
+
([...RULE_TEXT], [...DEVICE_ATTENTION, ...ALERT_EPISODE]),
|
|
80904
80934
|
([...RULE_TEXT], [...ALERT_EPISODE]),
|
|
80935
|
+
([...RULE_TEXT], [...DEVICE_ATTENTION, ...ALERT_EPISODE]),
|
|
80905
80936
|
([...RULE_TEXT], [...ALERT_EPISODE]),
|
|
80906
|
-
([...RULE_TEXT], [...ALERT_EPISODE]),
|
|
80907
|
-
([...RULE_TEXT], [...ALERT_EPISODE]),
|
|
80908
|
-
([...RULE_TEXT], [...ALERT_EPISODE]),
|
|
80937
|
+
([...RULE_TEXT], [...DEVICE_ATTENTION, ...ALERT_EPISODE]),
|
|
80909
80938
|
[...RULE_TEXT],
|
|
80910
80939
|
[...RULE_TEXT],
|
|
80911
80940
|
[...RULE_TEXT],
|
|
@@ -80981,6 +81010,15 @@ new Map([
|
|
|
80981
81010
|
snapshotLabel: "Tanks low or full now",
|
|
80982
81011
|
snapshotSection: "tanks"
|
|
80983
81012
|
},
|
|
81013
|
+
{
|
|
81014
|
+
id: "motion-noise",
|
|
81015
|
+
family: "device-events",
|
|
81016
|
+
label: "Motion without a subject (constant / calm again)",
|
|
81017
|
+
bad: ["motion-noisy"],
|
|
81018
|
+
recovery: ["motion-calm"],
|
|
81019
|
+
snapshotLabel: "Cameras with constant motion now",
|
|
81020
|
+
snapshotSection: null
|
|
81021
|
+
},
|
|
80984
81022
|
{
|
|
80985
81023
|
id: "recording-health",
|
|
80986
81024
|
family: "device-events",
|
|
@@ -80990,6 +81028,15 @@ new Map([
|
|
|
80990
81028
|
snapshotLabel: "Recordings stalled now",
|
|
80991
81029
|
snapshotSection: null
|
|
80992
81030
|
},
|
|
81031
|
+
{
|
|
81032
|
+
id: "device-attention",
|
|
81033
|
+
family: "device-events",
|
|
81034
|
+
label: "Device needs attention (raised / resolved)",
|
|
81035
|
+
bad: ["device-attention-required"],
|
|
81036
|
+
recovery: ["device-attention-resolved"],
|
|
81037
|
+
snapshotLabel: "Devices needing attention now",
|
|
81038
|
+
snapshotSection: null
|
|
81039
|
+
},
|
|
80993
81040
|
{
|
|
80994
81041
|
id: "node-connectivity",
|
|
80995
81042
|
family: "system",
|
|
@@ -86445,16 +86492,12 @@ var HikvisionLightAccessory = class extends BaseDevice {
|
|
|
86445
86492
|
id: "light",
|
|
86446
86493
|
title: "Supplemental Light",
|
|
86447
86494
|
titleKey: "provider-hikvision:schema.s_light.title",
|
|
86448
|
-
description: "Mode + default brightness used by the switch and brightness caps. The mode list is what the camera advertised at probe time.",
|
|
86449
|
-
descriptionKey: "provider-hikvision:schema.s_light.description",
|
|
86450
86495
|
columns: 2,
|
|
86451
86496
|
fields: [modeOptions.length > 0 ? {
|
|
86452
86497
|
type: "select",
|
|
86453
86498
|
key: "mode",
|
|
86454
86499
|
label: "Mode (on)",
|
|
86455
86500
|
labelKey: "provider-hikvision:schema.s_light.mode.label",
|
|
86456
|
-
description: "Sent in `<supplementLightMode>` when switching on. Default picked at probe time.",
|
|
86457
|
-
descriptionKey: "provider-hikvision:schema.s_light.mode.description",
|
|
86458
86501
|
default: "colorVuWhiteLight",
|
|
86459
86502
|
options: modeOptions
|
|
86460
86503
|
} : {
|
|
@@ -86462,7 +86505,7 @@ var HikvisionLightAccessory = class extends BaseDevice {
|
|
|
86462
86505
|
key: "mode",
|
|
86463
86506
|
label: "Mode (on)",
|
|
86464
86507
|
labelKey: "provider-hikvision:schema.s_light.mode.label",
|
|
86465
|
-
description: "
|
|
86508
|
+
description: "Type the mode string the camera expects (e.g. `colorVuWhiteLight`).",
|
|
86466
86509
|
descriptionKey: "provider-hikvision:schema.s_light.mode.description",
|
|
86467
86510
|
default: "colorVuWhiteLight"
|
|
86468
86511
|
}, {
|
|
@@ -86470,8 +86513,6 @@ var HikvisionLightAccessory = class extends BaseDevice {
|
|
|
86470
86513
|
key: "defaultBrightness",
|
|
86471
86514
|
label: "Default brightness",
|
|
86472
86515
|
labelKey: "provider-hikvision:schema.s_light.defaultBrightness.label",
|
|
86473
|
-
description: "Brightness 0..100 applied on switch-on; the operator can override via the brightness cap, but a fresh restart starts here.",
|
|
86474
|
-
descriptionKey: "provider-hikvision:schema.s_light.defaultBrightness.description",
|
|
86475
86516
|
default: 100,
|
|
86476
86517
|
min: 0,
|
|
86477
86518
|
max: 100,
|
|
@@ -86681,7 +86722,7 @@ var HikvisionSirenAccessory = class extends BaseDevice {
|
|
|
86681
86722
|
id: "siren",
|
|
86682
86723
|
title: "Siren / Alarm Output",
|
|
86683
86724
|
titleKey: "provider-hikvision:schema.s_siren.title",
|
|
86684
|
-
description: "
|
|
86725
|
+
description: "The siren tone is set in the camera-side Linkage Method; this only fires the input.",
|
|
86685
86726
|
descriptionKey: "provider-hikvision:schema.s_siren.description",
|
|
86686
86727
|
columns: 2,
|
|
86687
86728
|
fields: [{
|
|
@@ -86689,7 +86730,7 @@ var HikvisionSirenAccessory = class extends BaseDevice {
|
|
|
86689
86730
|
key: "port",
|
|
86690
86731
|
label: "Alarm input port",
|
|
86691
86732
|
labelKey: "provider-hikvision:schema.s_siren.port.label",
|
|
86692
|
-
description: `
|
|
86733
|
+
description: `Change only if the siren is wired to an input other than 1. ${probed.length > 0 ? `Detected ports: ${probed.join(", ")}.` : "No probe data (single-input camera)."}`,
|
|
86693
86734
|
default: 1,
|
|
86694
86735
|
min: 1,
|
|
86695
86736
|
max: 32,
|
|
@@ -86699,7 +86740,7 @@ var HikvisionSirenAccessory = class extends BaseDevice {
|
|
|
86699
86740
|
key: "pulseDurationMs",
|
|
86700
86741
|
label: "Auto-release after (ms)",
|
|
86701
86742
|
labelKey: "provider-hikvision:schema.s_siren.pulseDurationMs.label",
|
|
86702
|
-
description: "
|
|
86743
|
+
description: "Auto-off delay in ms; 0 = manual release.",
|
|
86703
86744
|
descriptionKey: "provider-hikvision:schema.s_siren.pulseDurationMs.description",
|
|
86704
86745
|
default: 5e3,
|
|
86705
86746
|
min: 0,
|
|
@@ -93862,8 +93903,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
93862
93903
|
tab: "general",
|
|
93863
93904
|
title: "Connection",
|
|
93864
93905
|
titleKey: "provider-hikvision:schema.s_connection.title",
|
|
93865
|
-
description: "ISAPI HTTP(S) endpoint + RTSP transport + Digest credentials.",
|
|
93866
|
-
descriptionKey: "provider-hikvision:schema.s_connection.description",
|
|
93867
93906
|
columns: 2,
|
|
93868
93907
|
fields: [
|
|
93869
93908
|
{
|
|
@@ -93930,16 +93969,12 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
93930
93969
|
tab: "motion",
|
|
93931
93970
|
title: "On-camera motion (VMD)",
|
|
93932
93971
|
titleKey: "provider-hikvision:schema.s_motion.title",
|
|
93933
|
-
description: "On-camera VMD (Video Motion Detection). Hikvision firmware advertises sensitivity in 20-unit increments (0/20/40/60/80/100); values are clamped on push. Disabling stops the camera from emitting motion frames on the alarm stream.",
|
|
93934
|
-
descriptionKey: "provider-hikvision:schema.s_motion.description",
|
|
93935
93972
|
columns: 2,
|
|
93936
93973
|
fields: [{
|
|
93937
93974
|
type: "boolean",
|
|
93938
93975
|
key: "motionEnabled",
|
|
93939
93976
|
label: "Motion detection",
|
|
93940
93977
|
labelKey: "provider-hikvision:schema.s_motion.motionEnabled.label",
|
|
93941
|
-
description: "Master switch for on-camera VMD.",
|
|
93942
|
-
descriptionKey: "provider-hikvision:schema.s_motion.motionEnabled.description",
|
|
93943
93978
|
default: true,
|
|
93944
93979
|
style: "switch",
|
|
93945
93980
|
span: 2
|
|
@@ -93948,8 +93983,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
93948
93983
|
key: "motionSensitivity",
|
|
93949
93984
|
label: "Sensitivity",
|
|
93950
93985
|
labelKey: "provider-hikvision:schema.s_motion.motionSensitivity.label",
|
|
93951
|
-
description: "Higher = triggers on smaller motion. Restricted to firmware-advertised 20-unit increments — slider snaps to 0/20/40/60/80/100.",
|
|
93952
|
-
descriptionKey: "provider-hikvision:schema.s_motion.motionSensitivity.description",
|
|
93953
93986
|
min: 0,
|
|
93954
93987
|
max: 100,
|
|
93955
93988
|
step: 20,
|
|
@@ -93966,8 +93999,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
93966
93999
|
tab: "image",
|
|
93967
94000
|
title: "Image",
|
|
93968
94001
|
titleKey: "provider-hikvision:schema.s_image.title",
|
|
93969
|
-
description: "Color levels (brightness/contrast/saturation/sharpness 0..100), WDR (high-dynamic range), IR-cut filter day/night switch. Pushed per-resource to `/ISAPI/Image/channels/1/{color,WDR,IrcutFilter}`.",
|
|
93970
|
-
descriptionKey: "provider-hikvision:schema.s_image.description",
|
|
93971
94002
|
columns: 2,
|
|
93972
94003
|
fields: [
|
|
93973
94004
|
{
|
|
@@ -94023,8 +94054,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94023
94054
|
key: "imageWdrEnabled",
|
|
94024
94055
|
label: "WDR",
|
|
94025
94056
|
labelKey: "provider-hikvision:schema.s_image.imageWdrEnabled.label",
|
|
94026
|
-
description: "Wide Dynamic Range — balances scenes with bright + dark areas (e.g. backlit doorways). Costs a bit of frame rate / detail.",
|
|
94027
|
-
descriptionKey: "provider-hikvision:schema.s_image.imageWdrEnabled.description",
|
|
94028
94057
|
default: snap.wdrEnabled ?? false,
|
|
94029
94058
|
style: "switch",
|
|
94030
94059
|
span: 2
|
|
@@ -94034,8 +94063,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94034
94063
|
key: "imageWdrLevel",
|
|
94035
94064
|
label: "WDR level",
|
|
94036
94065
|
labelKey: "provider-hikvision:schema.s_image.imageWdrLevel.label",
|
|
94037
|
-
description: "Higher = more aggressive HDR fusion; can introduce halos in extreme scenes.",
|
|
94038
|
-
descriptionKey: "provider-hikvision:schema.s_image.imageWdrLevel.description",
|
|
94039
94066
|
min: 0,
|
|
94040
94067
|
max: 100,
|
|
94041
94068
|
step: 10,
|
|
@@ -94053,7 +94080,7 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94053
94080
|
key: "imageIrcutMode",
|
|
94054
94081
|
label: "Day/Night",
|
|
94055
94082
|
labelKey: "provider-hikvision:schema.s_image.imageIrcutMode.label",
|
|
94056
|
-
description: "
|
|
94083
|
+
description: "`schedule` uses the schedule configured on the camera.",
|
|
94057
94084
|
descriptionKey: "provider-hikvision:schema.s_image.imageIrcutMode.description",
|
|
94058
94085
|
default: snap.ircutMode ?? "auto",
|
|
94059
94086
|
options: [
|
|
@@ -94090,8 +94117,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94090
94117
|
tab: "network",
|
|
94091
94118
|
title: "Time / NTP",
|
|
94092
94119
|
titleKey: "provider-hikvision:schema.s_time-ntp.title",
|
|
94093
|
-
description: "Network time synchronisation. Pushed to `/ISAPI/System/time` (sync mode — the camera timezone is preserved verbatim) and `/ISAPI/System/time/ntpServers/1` (server / port / interval).",
|
|
94094
|
-
descriptionKey: "provider-hikvision:schema.s_time-ntp.description",
|
|
94095
94120
|
columns: 2,
|
|
94096
94121
|
fields: [
|
|
94097
94122
|
{
|
|
@@ -94099,8 +94124,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94099
94124
|
key: "timeZoneId",
|
|
94100
94125
|
label: "Timezone",
|
|
94101
94126
|
labelKey: "provider-hikvision:schema.s_time-ntp.timeZoneId.label",
|
|
94102
|
-
description: "Camera timezone. Selecting a zone pushes its POSIX-style `<timeZone>` string (standard UTC offset + DST rule) to `/ISAPI/System/time` — DST is handled automatically by the chosen zone, so summer/winter clocks track correctly without a separate toggle.",
|
|
94103
|
-
descriptionKey: "provider-hikvision:schema.s_time-ntp.timeZoneId.description",
|
|
94104
94127
|
span: 2
|
|
94105
94128
|
},
|
|
94106
94129
|
{
|
|
@@ -94108,8 +94131,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94108
94131
|
key: "timeMode",
|
|
94109
94132
|
label: "Time sync",
|
|
94110
94133
|
labelKey: "provider-hikvision:schema.s_time-ntp.timeMode.label",
|
|
94111
|
-
description: "`NTP` syncs the clock from the configured server; `manual` keeps the operator-set clock.",
|
|
94112
|
-
descriptionKey: "provider-hikvision:schema.s_time-ntp.timeMode.description",
|
|
94113
94134
|
default: snap.timeMode === "manual" ? "manual" : "NTP",
|
|
94114
94135
|
options: [{
|
|
94115
94136
|
value: "NTP",
|
|
@@ -94127,8 +94148,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94127
94148
|
key: "ntpServer",
|
|
94128
94149
|
label: "NTP server",
|
|
94129
94150
|
labelKey: "provider-hikvision:schema.s_time-ntp.ntpServer.label",
|
|
94130
|
-
description: "IP address or hostname of the NTP server.",
|
|
94131
|
-
descriptionKey: "provider-hikvision:schema.s_time-ntp.ntpServer.description",
|
|
94132
94151
|
default: snap.ntpServer ?? "pool.ntp.org",
|
|
94133
94152
|
placeholder: "pool.ntp.org",
|
|
94134
94153
|
span: 2,
|
|
@@ -94156,8 +94175,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94156
94175
|
key: "ntpSyncInterval",
|
|
94157
94176
|
label: "Sync interval (min)",
|
|
94158
94177
|
labelKey: "provider-hikvision:schema.s_time-ntp.ntpSyncInterval.label",
|
|
94159
|
-
description: "How often the camera re-syncs from the NTP server.",
|
|
94160
|
-
descriptionKey: "provider-hikvision:schema.s_time-ntp.ntpSyncInterval.description",
|
|
94161
94178
|
default: snap.syncInterval ?? 1440,
|
|
94162
94179
|
min: 1,
|
|
94163
94180
|
max: 10080,
|
|
@@ -94172,8 +94189,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94172
94189
|
key: "manualTime",
|
|
94173
94190
|
label: "Manual date & time",
|
|
94174
94191
|
labelKey: "provider-hikvision:schema.s_time-ntp.manualTime.label",
|
|
94175
|
-
description: "Set the camera clock explicitly. Applies on save.",
|
|
94176
|
-
descriptionKey: "provider-hikvision:schema.s_time-ntp.manualTime.description",
|
|
94177
94192
|
default: hikvisionLocalTimeToDatetimeLocal(snap.localTime) ?? this.config.get("manualTime") ?? "",
|
|
94178
94193
|
span: 2,
|
|
94179
94194
|
showWhen: {
|
|
@@ -94207,7 +94222,7 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94207
94222
|
id: "light",
|
|
94208
94223
|
tab: "light",
|
|
94209
94224
|
title: hasWhite ? "Supplemental light" : "IR illuminator",
|
|
94210
|
-
description: hasWhite ? "
|
|
94225
|
+
description: hasWhite ? "The Switch / Light child device toggles the light on and off." : "Auto lets the camera drive brightness from its light sensor; manual pins it to the slider.",
|
|
94211
94226
|
columns: 2,
|
|
94212
94227
|
fields: [
|
|
94213
94228
|
{
|
|
@@ -94215,8 +94230,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94215
94230
|
key: "lightMode",
|
|
94216
94231
|
label: "Mode",
|
|
94217
94232
|
labelKey: "provider-hikvision:schema.s_light.lightMode.label",
|
|
94218
|
-
description: "Active illumination mode. `close` turns the supplemental light off entirely; `irLight` enables the IR LEDs; white-light modes (when available) drive visible illumination.",
|
|
94219
|
-
descriptionKey: "provider-hikvision:schema.s_light.lightMode.description",
|
|
94220
94233
|
default: snap.mode ?? cache.lightDefaultMode ?? "irLight",
|
|
94221
94234
|
options: modes.map((m) => ({
|
|
94222
94235
|
value: m,
|
|
@@ -94228,8 +94241,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94228
94241
|
key: "lightBrightnessRegulator",
|
|
94229
94242
|
label: "Brightness regulator",
|
|
94230
94243
|
labelKey: "provider-hikvision:schema.s_light.lightBrightnessRegulator.label",
|
|
94231
|
-
description: "`auto` lets the camera adjust brightness off its built-in light sensor; `manual` pins it to the operator-set value below.",
|
|
94232
|
-
descriptionKey: "provider-hikvision:schema.s_light.lightBrightnessRegulator.description",
|
|
94233
94244
|
default: snap.brightnessRegulatorMode ?? "auto",
|
|
94234
94245
|
options: [{
|
|
94235
94246
|
value: "auto",
|
|
@@ -94246,7 +94257,7 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94246
94257
|
key: "lightIrBrightness",
|
|
94247
94258
|
label: "IR brightness",
|
|
94248
94259
|
labelKey: "provider-hikvision:schema.s_light.lightIrBrightness.label",
|
|
94249
|
-
description: "
|
|
94260
|
+
description: "Only honoured when mode is `irLight` and the regulator is `manual`.",
|
|
94250
94261
|
descriptionKey: "provider-hikvision:schema.s_light.lightIrBrightness.description",
|
|
94251
94262
|
min: 0,
|
|
94252
94263
|
max: 100,
|
|
@@ -94261,7 +94272,7 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94261
94272
|
key: "lightWhiteBrightness",
|
|
94262
94273
|
label: "White-light brightness",
|
|
94263
94274
|
labelKey: "provider-hikvision:schema.s_light.lightWhiteBrightness.label",
|
|
94264
|
-
description: "
|
|
94275
|
+
description: "Only honoured in a white-light mode.",
|
|
94265
94276
|
descriptionKey: "provider-hikvision:schema.s_light.lightWhiteBrightness.description",
|
|
94266
94277
|
min: 0,
|
|
94267
94278
|
max: 100,
|
|
@@ -94279,7 +94290,7 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94279
94290
|
tab: "audio",
|
|
94280
94291
|
title: "Two-way audio",
|
|
94281
94292
|
titleKey: "provider-hikvision:schema.s_two-way-audio-mode.title",
|
|
94282
|
-
description: "
|
|
94293
|
+
description: "`auto` probes for a channel; use `isapi` if the probe fails but the camera accepts audio, `off` to disable.",
|
|
94283
94294
|
descriptionKey: "provider-hikvision:schema.s_two-way-audio-mode.description",
|
|
94284
94295
|
columns: 1,
|
|
94285
94296
|
fields: [{
|
|
@@ -94316,8 +94327,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94316
94327
|
tab: "audio",
|
|
94317
94328
|
title: "Two-way audio channel",
|
|
94318
94329
|
titleKey: "provider-hikvision:schema.s_audio.title",
|
|
94319
|
-
description: "Codec, speaker volume, noise reduction, and input source for the camera's `/ISAPI/System/TwoWayAudio/channels/1` endpoint. Settings here drive both the camera-side speaker output and the intercom playback path.",
|
|
94320
|
-
descriptionKey: "provider-hikvision:schema.s_audio.description",
|
|
94321
94330
|
columns: 2,
|
|
94322
94331
|
fields: [
|
|
94323
94332
|
{
|
|
@@ -94325,7 +94334,7 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94325
94334
|
key: "audioCompressionType",
|
|
94326
94335
|
label: "Audio codec",
|
|
94327
94336
|
labelKey: "provider-hikvision:schema.s_audio.audioCompressionType.label",
|
|
94328
|
-
description: "
|
|
94337
|
+
description: "G.711 µ-law has the broadest compatibility.",
|
|
94329
94338
|
descriptionKey: "provider-hikvision:schema.s_audio.audioCompressionType.description",
|
|
94330
94339
|
default: "",
|
|
94331
94340
|
options: [{
|
|
@@ -94342,8 +94351,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94342
94351
|
key: "audioInputType",
|
|
94343
94352
|
label: "Input source",
|
|
94344
94353
|
labelKey: "provider-hikvision:schema.s_audio.audioInputType.label",
|
|
94345
|
-
description: "Mic-in (built-in microphone) vs Line-in (rear-panel TRS). Cameras without a line input only advertise MicIn here.",
|
|
94346
|
-
descriptionKey: "provider-hikvision:schema.s_audio.audioInputType.description",
|
|
94347
94354
|
default: "",
|
|
94348
94355
|
options: [{
|
|
94349
94356
|
value: "",
|
|
@@ -94359,8 +94366,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94359
94366
|
key: "audioSpeakerVolume",
|
|
94360
94367
|
label: "Speaker volume",
|
|
94361
94368
|
labelKey: "provider-hikvision:schema.s_audio.audioSpeakerVolume.label",
|
|
94362
|
-
description: "Camera output volume. Affects intercom playback and any audio-alarm sounds the linkage fires.",
|
|
94363
|
-
descriptionKey: "provider-hikvision:schema.s_audio.audioSpeakerVolume.description",
|
|
94364
94369
|
min: this.config.get("deviceCache")?.audioCapabilities?.speakerVolumeMin ?? 0,
|
|
94365
94370
|
max: this.config.get("deviceCache")?.audioCapabilities?.speakerVolumeMax ?? 100,
|
|
94366
94371
|
step: 5,
|
|
@@ -94374,8 +94379,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94374
94379
|
key: "audioNoiseReduction",
|
|
94375
94380
|
label: "Noise reduction",
|
|
94376
94381
|
labelKey: "provider-hikvision:schema.s_audio.audioNoiseReduction.label",
|
|
94377
|
-
description: "Camera-side noise filter. Helpful in noisy environments; can clip soft speech if too aggressive.",
|
|
94378
|
-
descriptionKey: "provider-hikvision:schema.s_audio.audioNoiseReduction.description",
|
|
94379
94382
|
default: true,
|
|
94380
94383
|
style: "switch",
|
|
94381
94384
|
span: 2
|
|
@@ -94387,7 +94390,7 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94387
94390
|
tab: "streaming",
|
|
94388
94391
|
title: "Snapshot source",
|
|
94389
94392
|
titleKey: "provider-hikvision:schema.s_snapshot-source.title",
|
|
94390
|
-
description: "
|
|
94393
|
+
description: "Pick the sub stream when the main stream is 4K and snapshots only feed thumbnails.",
|
|
94391
94394
|
descriptionKey: "provider-hikvision:schema.s_snapshot-source.description",
|
|
94392
94395
|
columns: 1,
|
|
94393
94396
|
fields: [{
|
|
@@ -94404,7 +94407,7 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94404
94407
|
tab: "alarms",
|
|
94405
94408
|
title: "Motion linkage",
|
|
94406
94409
|
titleKey: "provider-hikvision:schema.s_alarms.title",
|
|
94407
|
-
description: "
|
|
94410
|
+
description: "Methods not listed here (record, email, ftp) are preserved.",
|
|
94408
94411
|
descriptionKey: "provider-hikvision:schema.s_alarms.description",
|
|
94409
94412
|
columns: 2,
|
|
94410
94413
|
fields: [
|
|
@@ -94413,8 +94416,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94413
94416
|
key: "alarmBeep",
|
|
94414
94417
|
label: "Audio beep",
|
|
94415
94418
|
labelKey: "provider-hikvision:schema.s_alarms.alarmBeep.label",
|
|
94416
|
-
description: "Camera fires its built-in beep speaker on motion.",
|
|
94417
|
-
descriptionKey: "provider-hikvision:schema.s_alarms.alarmBeep.description",
|
|
94418
94419
|
default: false,
|
|
94419
94420
|
style: "switch"
|
|
94420
94421
|
},
|
|
@@ -94423,7 +94424,7 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94423
94424
|
key: "alarmWhiteLight",
|
|
94424
94425
|
label: "White-light flash",
|
|
94425
94426
|
labelKey: "provider-hikvision:schema.s_alarms.alarmWhiteLight.label",
|
|
94426
|
-
description: "
|
|
94427
|
+
description: "Only effective on cameras with a controllable white-light LED.",
|
|
94427
94428
|
descriptionKey: "provider-hikvision:schema.s_alarms.alarmWhiteLight.description",
|
|
94428
94429
|
default: false,
|
|
94429
94430
|
style: "switch"
|
|
@@ -94433,8 +94434,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94433
94434
|
key: "alarmIoOutput",
|
|
94434
94435
|
label: "IO relay",
|
|
94435
94436
|
labelKey: "provider-hikvision:schema.s_alarms.alarmIoOutput.label",
|
|
94436
|
-
description: "Closes the camera's alarm-output relay on motion. Wire your siren / external alarm panel here.",
|
|
94437
|
-
descriptionKey: "provider-hikvision:schema.s_alarms.alarmIoOutput.description",
|
|
94438
94437
|
default: false,
|
|
94439
94438
|
style: "switch"
|
|
94440
94439
|
},
|
|
@@ -94443,8 +94442,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94443
94442
|
key: "alarmCenter",
|
|
94444
94443
|
label: "Notification center",
|
|
94445
94444
|
labelKey: "provider-hikvision:schema.s_alarms.alarmCenter.label",
|
|
94446
|
-
description: "Push a notification to the Hikvision IVMS / Hik-Connect cloud on motion. Independent of camstack's own event pipeline.",
|
|
94447
|
-
descriptionKey: "provider-hikvision:schema.s_alarms.alarmCenter.description",
|
|
94448
94445
|
default: false,
|
|
94449
94446
|
style: "switch"
|
|
94450
94447
|
}
|
|
@@ -94455,8 +94452,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94455
94452
|
tab: "osd",
|
|
94456
94453
|
title: "OSD overlays",
|
|
94457
94454
|
titleKey: "provider-hikvision:schema.s_osd.title",
|
|
94458
|
-
description: "On-screen overlays from `/ISAPI/System/Video/inputs/channels/{cam}/overlays`. Toggling visibility or editing a text slot pushes straight to the camera; the snapshot re-hydrates after each save.",
|
|
94459
|
-
descriptionKey: "provider-hikvision:schema.s_osd.description",
|
|
94460
94455
|
columns: 2,
|
|
94461
94456
|
fields: [
|
|
94462
94457
|
{
|
|
@@ -94464,8 +94459,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94464
94459
|
key: "_osdDateTimeEnabled",
|
|
94465
94460
|
label: "Date/time visible",
|
|
94466
94461
|
labelKey: "provider-hikvision:schema.s_osd._osdDateTimeEnabled.label",
|
|
94467
|
-
description: "Camera firmware-rendered timestamp — format lives on the camera-side time settings page.",
|
|
94468
|
-
descriptionKey: "provider-hikvision:schema.s_osd._osdDateTimeEnabled.description",
|
|
94469
94462
|
default: false,
|
|
94470
94463
|
style: "switch"
|
|
94471
94464
|
},
|
|
@@ -94474,8 +94467,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94474
94467
|
key: "_osdChannelNameEnabled",
|
|
94475
94468
|
label: "Channel name visible",
|
|
94476
94469
|
labelKey: "provider-hikvision:schema.s_osd._osdChannelNameEnabled.label",
|
|
94477
|
-
description: "Tracks the camera `deviceName`. Flip to show/hide the channel-name line.",
|
|
94478
|
-
descriptionKey: "provider-hikvision:schema.s_osd._osdChannelNameEnabled.description",
|
|
94479
94470
|
default: false,
|
|
94480
94471
|
style: "switch"
|
|
94481
94472
|
},
|
|
@@ -94484,8 +94475,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94484
94475
|
key: "_osdTextOverlay1",
|
|
94485
94476
|
label: "Text overlay #1",
|
|
94486
94477
|
labelKey: "provider-hikvision:schema.s_osd._osdTextOverlay1.label",
|
|
94487
|
-
description: "Free-text overlay slot 1. Blank hides the slot.",
|
|
94488
|
-
descriptionKey: "provider-hikvision:schema.s_osd._osdTextOverlay1.description",
|
|
94489
94478
|
span: 2
|
|
94490
94479
|
},
|
|
94491
94480
|
{
|
|
@@ -94516,7 +94505,7 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94516
94505
|
tab: "advanced",
|
|
94517
94506
|
title: "Advanced",
|
|
94518
94507
|
titleKey: "provider-hikvision:schema.s_advanced.title",
|
|
94519
|
-
description: "
|
|
94508
|
+
description: "Debug flags add log volume; VCA changes require a camera reboot.",
|
|
94520
94509
|
descriptionKey: "provider-hikvision:schema.s_advanced.description",
|
|
94521
94510
|
columns: 1,
|
|
94522
94511
|
fields: [
|
|
@@ -94525,7 +94514,7 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94525
94514
|
key: "vcaResource",
|
|
94526
94515
|
label: "VCA resource",
|
|
94527
94516
|
labelKey: "provider-hikvision:schema.s_advanced.vcaResource.label",
|
|
94528
|
-
description: "
|
|
94517
|
+
description: "`Smart` and `Face snap` disable the third stream; `Close` turns off on-camera AI. Switching reboots the camera.",
|
|
94529
94518
|
descriptionKey: "provider-hikvision:schema.s_advanced.vcaResource.description",
|
|
94530
94519
|
default: "smart",
|
|
94531
94520
|
options: [
|
|
@@ -94551,8 +94540,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94551
94540
|
key: "debugGeneral",
|
|
94552
94541
|
label: "General ISAPI logs",
|
|
94553
94542
|
labelKey: "provider-hikvision:schema.s_advanced.debugGeneral.label",
|
|
94554
|
-
description: "Request/response status, retries, digest re-challenges.",
|
|
94555
|
-
descriptionKey: "provider-hikvision:schema.s_advanced.debugGeneral.description",
|
|
94556
94543
|
default: false,
|
|
94557
94544
|
style: "switch"
|
|
94558
94545
|
},
|
|
@@ -104083,8 +104070,6 @@ function buildCreationFormSchema() {
|
|
|
104083
104070
|
id: "credentials",
|
|
104084
104071
|
title: "Credentials",
|
|
104085
104072
|
titleKey: "provider-hikvision:creation.s_credentials.title",
|
|
104086
|
-
description: "ISAPI uses HTTP Digest auth — no plaintext password on the wire even over HTTP. Required for the host probe.",
|
|
104087
|
-
descriptionKey: "provider-hikvision:creation.s_credentials.description",
|
|
104088
104073
|
columns: 2,
|
|
104089
104074
|
fields: [{
|
|
104090
104075
|
type: "text",
|
|
@@ -104106,7 +104091,7 @@ function buildCreationFormSchema() {
|
|
|
104106
104091
|
id: "connection",
|
|
104107
104092
|
title: "Connection",
|
|
104108
104093
|
titleKey: "provider-hikvision:creation.s_connection.title",
|
|
104109
|
-
description: "
|
|
104094
|
+
description: "Use 443 with HTTPS for cameras with TLS enabled.",
|
|
104110
104095
|
descriptionKey: "provider-hikvision:creation.s_connection.description",
|
|
104111
104096
|
columns: 2,
|
|
104112
104097
|
fields: [
|
|
@@ -104151,7 +104136,7 @@ function buildDiscoveryParamsFormSchema() {
|
|
|
104151
104136
|
id: "credentials",
|
|
104152
104137
|
title: "Credentials",
|
|
104153
104138
|
titleKey: "provider-hikvision:discoveryParams.s_credentials.title",
|
|
104154
|
-
description: "
|
|
104139
|
+
description: "Assumes all cameras share these credentials.",
|
|
104155
104140
|
descriptionKey: "provider-hikvision:discoveryParams.s_credentials.description",
|
|
104156
104141
|
columns: 2,
|
|
104157
104142
|
fields: [{
|
|
@@ -104173,7 +104158,7 @@ function buildDiscoveryParamsFormSchema() {
|
|
|
104173
104158
|
id: "scan",
|
|
104174
104159
|
title: "Scan options",
|
|
104175
104160
|
titleKey: "provider-hikvision:discoveryParams.s_scan.title",
|
|
104176
|
-
description: "
|
|
104161
|
+
description: "Leave blank to scan the hub's own subnet; enter the CIDR if the cameras are on another one (e.g. 192.168.60.0/24).",
|
|
104177
104162
|
descriptionKey: "provider-hikvision:discoveryParams.s_scan.description",
|
|
104178
104163
|
columns: 1,
|
|
104179
104164
|
fields: [{
|