@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.mjs
CHANGED
|
@@ -13,7 +13,7 @@ import { Agent as Agent$1, request as request$1 } from "node:https";
|
|
|
13
13
|
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
|
|
14
14
|
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
15
15
|
//#endregion
|
|
16
|
-
//#region ../types/dist/event-category-
|
|
16
|
+
//#region ../types/dist/event-category-BfJwUd2S.mjs
|
|
17
17
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
18
18
|
EventCategory["SystemBoot"] = "system.boot";
|
|
19
19
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -330,6 +330,15 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
330
330
|
*/
|
|
331
331
|
EventCategory["PipelineDetectionBlind"] = "pipeline.detection-blind";
|
|
332
332
|
/**
|
|
333
|
+
* A camera's motion source has fired constantly with no subject for an hour
|
|
334
|
+
* (motion duty or session count over the bar, zero detections) — it is not
|
|
335
|
+
* blind, its motion zones or sensitivity want tuning (D907). Paired with
|
|
336
|
+
* {@link PipelineMotionCalm}.
|
|
337
|
+
*/
|
|
338
|
+
EventCategory["PipelineMotionNoisy"] = "pipeline.motion-noisy";
|
|
339
|
+
/** The recovery edge of {@link PipelineMotionNoisy}: the motion fell back, or a detection arrived. */
|
|
340
|
+
EventCategory["PipelineMotionCalm"] = "pipeline.motion-calm";
|
|
341
|
+
/**
|
|
333
342
|
* Per-camera pipeline config was mutated by the orchestrator
|
|
334
343
|
* (3-level settings change via `setAgentAddonDefaults` /
|
|
335
344
|
* `setCameraStepToggle` / `setCameraPipelineForAgent` or a
|
|
@@ -5436,7 +5445,7 @@ var ZodIssueCode = {
|
|
|
5436
5445
|
var ZodFirstPartyTypeKind;
|
|
5437
5446
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5438
5447
|
//#endregion
|
|
5439
|
-
//#region ../types/dist/sleep-
|
|
5448
|
+
//#region ../types/dist/sleep-DJFUfKvA.mjs
|
|
5440
5449
|
/**
|
|
5441
5450
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5442
5451
|
* window to float samples (D455).
|
|
@@ -7965,7 +7974,7 @@ var EntryDescriptorSchema = object({
|
|
|
7965
7974
|
/** JSON Schema of the entry body; `secret: true` marks a password field. */
|
|
7966
7975
|
fields: record(string(), unknown())
|
|
7967
7976
|
}).strict();
|
|
7968
|
-
/** What crosses the wire
|
|
7977
|
+
/** What crosses the wire from an addon: JSON only, no Zod. An unknown key is refused. */
|
|
7969
7978
|
var RecordKindDeclarationSchema = object({
|
|
7970
7979
|
database: _enum(RECORD_DATABASES).default("settings"),
|
|
7971
7980
|
class: _enum(RECORD_CLASSES),
|
|
@@ -7984,14 +7993,6 @@ var RecordKindDeclarationSchema = object({
|
|
|
7984
7993
|
secretPaths: array(string().min(1)).default([]),
|
|
7985
7994
|
/** The id key of each array that carries a secret (`{ headers: 'name' }`). */
|
|
7986
7995
|
secretArrayKeys: record(string(), string()).default({}),
|
|
7987
|
-
/**
|
|
7988
|
-
* RETIRED (D900): the legacy table a kind adopted from during the records
|
|
7989
|
-
* migration. Nothing declares it any more and nothing reads it; the schema
|
|
7990
|
-
* still ACCEPTS it because the catalog rows the migration wrote carry it
|
|
7991
|
-
* (an orphaned kind is never redeclared) and an addon built before the
|
|
7992
|
-
* removal still sends it. Never set it.
|
|
7993
|
-
*/
|
|
7994
|
-
adoptsFrom: string().min(1).optional(),
|
|
7995
7996
|
/** Kinds that must agree through `transact` sit in one file under one family name. */
|
|
7996
7997
|
transactFamily: string().min(1).optional(),
|
|
7997
7998
|
entry: EntryDescriptorSchema.optional()
|
|
@@ -12986,17 +12987,6 @@ object({
|
|
|
12986
12987
|
createdAt: number(),
|
|
12987
12988
|
updatedAt: number()
|
|
12988
12989
|
});
|
|
12989
|
-
object({
|
|
12990
|
-
id: string(),
|
|
12991
|
-
label: string(),
|
|
12992
|
-
isAdmin: boolean().default(false),
|
|
12993
|
-
allowedProviders: AllowedProviderSchema,
|
|
12994
|
-
allowedDevices: AllowedDevicesSchema,
|
|
12995
|
-
tokenHash: string(),
|
|
12996
|
-
tokenPrefix: string(),
|
|
12997
|
-
createdAt: number(),
|
|
12998
|
-
lastUsedAt: number().optional()
|
|
12999
|
-
});
|
|
13000
12990
|
object({
|
|
13001
12991
|
id: string(),
|
|
13002
12992
|
userId: string(),
|
|
@@ -16978,16 +16968,36 @@ var RecordKindStateSchema = _enum([
|
|
|
16978
16968
|
var DeclareKindResultSchema = object({
|
|
16979
16969
|
kindId: number().int(),
|
|
16980
16970
|
state: RecordKindStateSchema,
|
|
16981
|
-
createdIndexes: array(string())
|
|
16982
|
-
/**
|
|
16983
|
-
* RETIRED (D900): always `null`. It carried the records-migration boot guard;
|
|
16984
|
-
* it stays on the wire, null, because an addon built before the removal reads
|
|
16985
|
-
* an ABSENT field as "adoption pending" and refuses to start.
|
|
16986
|
-
*/
|
|
16987
|
-
adoptionPending: _null()
|
|
16971
|
+
createdIndexes: array(string())
|
|
16988
16972
|
});
|
|
16989
16973
|
/** Keychain refs a write released (the old marker is gone from the row): the owner deletes the values. */
|
|
16990
16974
|
var SecretRefsList = array(string());
|
|
16975
|
+
/**
|
|
16976
|
+
* One op of a `transact`: the single-row writes, each on a kind of the caller.
|
|
16977
|
+
* All ops of one call share ONE database file and ONE `transactFamily`.
|
|
16978
|
+
*/
|
|
16979
|
+
var RecordTransactOpSchema = discriminatedUnion("op", [
|
|
16980
|
+
object({
|
|
16981
|
+
op: literal("put"),
|
|
16982
|
+
kind: RecordKindNameSchema,
|
|
16983
|
+
record: RecordInputSchema,
|
|
16984
|
+
ifRev: number().int().min(0).optional()
|
|
16985
|
+
}),
|
|
16986
|
+
object({
|
|
16987
|
+
op: literal("patch"),
|
|
16988
|
+
kind: RecordKindNameSchema,
|
|
16989
|
+
id: RecordIdSchema,
|
|
16990
|
+
data: RecordBodySchema,
|
|
16991
|
+
at: number().int().nullable().optional(),
|
|
16992
|
+
expiresAt: number().int().nullable().optional(),
|
|
16993
|
+
ifRev: number().int().min(1).optional()
|
|
16994
|
+
}),
|
|
16995
|
+
object({
|
|
16996
|
+
op: literal("delete"),
|
|
16997
|
+
kind: RecordKindNameSchema,
|
|
16998
|
+
id: RecordIdSchema
|
|
16999
|
+
})
|
|
17000
|
+
]);
|
|
16991
17001
|
var RecordSecretRefsSchema = record(string(), record(string(), string()));
|
|
16992
17002
|
method(object({ kinds: record(RecordKindNameSchema, RecordKindDeclarationSchema) }), object({ kinds: record(string(), DeclareKindResultSchema) }), {
|
|
16993
17003
|
kind: "mutation",
|
|
@@ -17094,6 +17104,16 @@ method(object({ kinds: record(RecordKindNameSchema, RecordKindDeclarationSchema)
|
|
|
17094
17104
|
}), {
|
|
17095
17105
|
kind: "mutation",
|
|
17096
17106
|
auth: "admin"
|
|
17107
|
+
}), method(object({ ops: array(RecordTransactOpSchema).min(1).max(RECORD_BATCH_MAX) }), object({
|
|
17108
|
+
results: array(object({
|
|
17109
|
+
rev: number().int().nullable(),
|
|
17110
|
+
deleted: boolean()
|
|
17111
|
+
})),
|
|
17112
|
+
releasedRefs: SecretRefsList,
|
|
17113
|
+
secretRefs: SecretRefsList
|
|
17114
|
+
}), {
|
|
17115
|
+
kind: "mutation",
|
|
17116
|
+
auth: "admin"
|
|
17097
17117
|
}), method(object({
|
|
17098
17118
|
deviceId: number().int(),
|
|
17099
17119
|
kinds: array(RecordKindNameSchema).optional()
|
|
@@ -42820,9 +42840,13 @@ var NcSystemEventKindSchema = _enum([
|
|
|
42820
42840
|
"node-updating",
|
|
42821
42841
|
"node-inference-unavailable",
|
|
42822
42842
|
"detection-blind",
|
|
42843
|
+
"motion-noisy",
|
|
42844
|
+
"motion-calm",
|
|
42823
42845
|
"recording-stalled",
|
|
42824
42846
|
"recording-healthy",
|
|
42825
42847
|
"recording-degraded",
|
|
42848
|
+
"device-attention-required",
|
|
42849
|
+
"device-attention-resolved",
|
|
42826
42850
|
"storage-location-low",
|
|
42827
42851
|
"storage-location-critical",
|
|
42828
42852
|
"storage-location-ok",
|
|
@@ -48383,7 +48407,6 @@ var RecommendationReasonSchema = discriminatedUnion("kind", [
|
|
|
48383
48407
|
modelId: string()
|
|
48384
48408
|
}),
|
|
48385
48409
|
object({ kind: literal("cpu-device") }),
|
|
48386
|
-
object({ kind: literal("coral-untouched") }),
|
|
48387
48410
|
object({ kind: literal("device-disabled") }),
|
|
48388
48411
|
object({ kind: literal("device-unavailable") }),
|
|
48389
48412
|
object({ kind: literal("node-offline") }),
|
|
@@ -48481,11 +48504,6 @@ var AutoTuneWarningSchema = discriminatedUnion("kind", [
|
|
|
48481
48504
|
kind: literal("detector-store-unreadable"),
|
|
48482
48505
|
error: string()
|
|
48483
48506
|
}),
|
|
48484
|
-
object({
|
|
48485
|
-
kind: literal("coral-enabled"),
|
|
48486
|
-
nodeId: string(),
|
|
48487
|
-
deviceKey: string()
|
|
48488
|
-
}),
|
|
48489
48507
|
object({
|
|
48490
48508
|
kind: literal("custom-pin-kept"),
|
|
48491
48509
|
nodeId: string(),
|
|
@@ -56668,6 +56686,16 @@ var DishwasherStatusSchema = object({
|
|
|
56668
56686
|
powerState: string().nullable(),
|
|
56669
56687
|
saltLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
56670
56688
|
rinseAidLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
56689
|
+
/**
|
|
56690
|
+
* True while the appliance asks for its filter to be cleaned (smart-filter, filter-system or
|
|
56691
|
+
* combined care-and-filter reminder raised); false when every such reminder reads clear; null
|
|
56692
|
+
* when none is reported. A cleared reminder is not an unknown one.
|
|
56693
|
+
*/
|
|
56694
|
+
filterCleaningDue: boolean().nullable(),
|
|
56695
|
+
/** True while the machine-care (descaling / cleaning-program) reminder is raised; false when clear; null when not reported. */
|
|
56696
|
+
machineCareDue: boolean().nullable(),
|
|
56697
|
+
/** Program runs left before the machine-care reminder is due; null when the appliance does not say. */
|
|
56698
|
+
machineCareRemainingRuns: number().int().nonnegative().nullable(),
|
|
56671
56699
|
/** Option states: null when the appliance does not expose the option or has not said. */
|
|
56672
56700
|
halfLoad: boolean().nullable(),
|
|
56673
56701
|
hygienePlus: boolean().nullable(),
|
|
@@ -65879,16 +65907,6 @@ var UpdateUserInputSchema = object({
|
|
|
65879
65907
|
allowedDevices: record(string(), union([array(string()), literal("*")])).optional(),
|
|
65880
65908
|
scopes: array(TokenScopeSchema).optional()
|
|
65881
65909
|
});
|
|
65882
|
-
var ApiKeySummarySchema = object({
|
|
65883
|
-
id: string(),
|
|
65884
|
-
label: string(),
|
|
65885
|
-
isAdmin: boolean().default(false),
|
|
65886
|
-
allowedProviders: union([array(string()), literal("*")]).optional(),
|
|
65887
|
-
allowedDevices: record(string(), union([array(string()), literal("*")])).optional(),
|
|
65888
|
-
tokenPrefix: string(),
|
|
65889
|
-
createdAt: number(),
|
|
65890
|
-
lastUsedAt: number().optional()
|
|
65891
|
-
});
|
|
65892
65910
|
var OauthSessionSummarySchema = object({
|
|
65893
65911
|
id: string(),
|
|
65894
65912
|
userId: string(),
|
|
@@ -65910,8 +65928,7 @@ var TotpStatusSchema = object({
|
|
|
65910
65928
|
confirmedAt: number().nullable()
|
|
65911
65929
|
});
|
|
65912
65930
|
/**
|
|
65913
|
-
* user-management — singleton capability for user accounts
|
|
65914
|
-
* legacy API-key rows.
|
|
65931
|
+
* user-management — singleton capability for user accounts.
|
|
65915
65932
|
*
|
|
65916
65933
|
* v2 model: every method gated by `auth: 'admin'`. Admin-only delegation
|
|
65917
65934
|
* — the subset check on `setUserScopes` is moot
|
|
@@ -65967,10 +65984,6 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
|
|
|
65967
65984
|
}), UserSummarySchema.extend({ passwordHash: string() }).nullable(), {
|
|
65968
65985
|
kind: "mutation",
|
|
65969
65986
|
access: "view"
|
|
65970
|
-
}), method(_void(), array(ApiKeySummarySchema), { auth: "admin" }), method(object({ id: string() }), object({ success: literal(true) }), {
|
|
65971
|
-
kind: "mutation",
|
|
65972
|
-
auth: "admin",
|
|
65973
|
-
access: "delete"
|
|
65974
65987
|
}), method(object({ userId: string() }), TotpSetupResultSchema, {
|
|
65975
65988
|
kind: "mutation",
|
|
65976
65989
|
auth: "admin",
|
|
@@ -75445,6 +75458,12 @@ Object.freeze({
|
|
|
75445
75458
|
addonId: null,
|
|
75446
75459
|
access: "view"
|
|
75447
75460
|
},
|
|
75461
|
+
"records.transact": {
|
|
75462
|
+
capName: "records",
|
|
75463
|
+
capScope: "system",
|
|
75464
|
+
addonId: null,
|
|
75465
|
+
access: "create"
|
|
75466
|
+
},
|
|
75448
75467
|
"sceneMonitor.captureReference": {
|
|
75449
75468
|
capName: "scene-monitor",
|
|
75450
75469
|
capScope: "device",
|
|
@@ -76777,12 +76796,6 @@ Object.freeze({
|
|
|
76777
76796
|
addonId: null,
|
|
76778
76797
|
access: "view"
|
|
76779
76798
|
},
|
|
76780
|
-
"userManagement.listApiKeys": {
|
|
76781
|
-
capName: "user-management",
|
|
76782
|
-
capScope: "system",
|
|
76783
|
-
addonId: null,
|
|
76784
|
-
access: "view"
|
|
76785
|
-
},
|
|
76786
76799
|
"userManagement.listExternalIdentities": {
|
|
76787
76800
|
capName: "user-management",
|
|
76788
76801
|
capScope: "system",
|
|
@@ -76837,12 +76850,6 @@ Object.freeze({
|
|
|
76837
76850
|
addonId: null,
|
|
76838
76851
|
access: "create"
|
|
76839
76852
|
},
|
|
76840
|
-
"userManagement.revokeApiKey": {
|
|
76841
|
-
capName: "user-management",
|
|
76842
|
-
capScope: "system",
|
|
76843
|
-
addonId: null,
|
|
76844
|
-
access: "delete"
|
|
76845
|
-
},
|
|
76846
76853
|
"userManagement.revokeOauthSession": {
|
|
76847
76854
|
capName: "user-management",
|
|
76848
76855
|
capScope: "system",
|
|
@@ -80425,9 +80432,13 @@ new Map(Object.entries({
|
|
|
80425
80432
|
"stream-online": "device-events",
|
|
80426
80433
|
"stream-offline": "device-events",
|
|
80427
80434
|
"detection-blind": "device-events",
|
|
80435
|
+
"motion-noisy": "device-events",
|
|
80436
|
+
"motion-calm": "device-events",
|
|
80428
80437
|
"recording-stalled": "device-events",
|
|
80429
80438
|
"recording-healthy": "device-events",
|
|
80430
80439
|
"recording-degraded": "device-events",
|
|
80440
|
+
"device-attention-required": "device-events",
|
|
80441
|
+
"device-attention-resolved": "device-events",
|
|
80431
80442
|
"node-online": "system",
|
|
80432
80443
|
"node-offline": "system",
|
|
80433
80444
|
"node-restarting": "system",
|
|
@@ -80510,6 +80521,12 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
80510
80521
|
label: "Detecting nothing",
|
|
80511
80522
|
kinds: ["detection-blind"]
|
|
80512
80523
|
},
|
|
80524
|
+
{
|
|
80525
|
+
id: "motion-noise",
|
|
80526
|
+
family: "device-events",
|
|
80527
|
+
label: "Motion without a subject",
|
|
80528
|
+
kinds: ["motion-noisy", "motion-calm"]
|
|
80529
|
+
},
|
|
80513
80530
|
{
|
|
80514
80531
|
id: "recording",
|
|
80515
80532
|
family: "device-events",
|
|
@@ -80520,6 +80537,12 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
80520
80537
|
"recording-degraded"
|
|
80521
80538
|
]
|
|
80522
80539
|
},
|
|
80540
|
+
{
|
|
80541
|
+
id: "device-attention",
|
|
80542
|
+
family: "device-events",
|
|
80543
|
+
label: "Needs attention",
|
|
80544
|
+
kinds: ["device-attention-required", "device-attention-resolved"]
|
|
80545
|
+
},
|
|
80523
80546
|
{
|
|
80524
80547
|
id: "nodes",
|
|
80525
80548
|
family: "system",
|
|
@@ -80659,6 +80682,7 @@ var ALERT_EPISODE = [
|
|
|
80659
80682
|
"alert-error",
|
|
80660
80683
|
"alert-critical-resolved"
|
|
80661
80684
|
];
|
|
80685
|
+
var DEVICE_ATTENTION = ["device-attention-required", "device-attention-resolved"];
|
|
80662
80686
|
var UPDATES = [
|
|
80663
80687
|
"addon-update-available",
|
|
80664
80688
|
"server-update-available",
|
|
@@ -80688,9 +80712,12 @@ var DEVICE_EVENTS = [
|
|
|
80688
80712
|
"stream-online",
|
|
80689
80713
|
"stream-offline",
|
|
80690
80714
|
"detection-blind",
|
|
80715
|
+
"motion-noisy",
|
|
80716
|
+
"motion-calm",
|
|
80691
80717
|
"recording-stalled",
|
|
80692
80718
|
"recording-healthy",
|
|
80693
80719
|
"recording-degraded",
|
|
80720
|
+
...DEVICE_ATTENTION,
|
|
80694
80721
|
...ALARM
|
|
80695
80722
|
];
|
|
80696
80723
|
/** Every kind a summary may speak about — the two summarisable families. */
|
|
@@ -80858,7 +80885,9 @@ var STATE_SUMMARY_VARS = [
|
|
|
80858
80885
|
[...RULE_TEXT],
|
|
80859
80886
|
[...RULE_TEXT],
|
|
80860
80887
|
[...RULE_TEXT],
|
|
80861
|
-
|
|
80888
|
+
[...RULE_TEXT],
|
|
80889
|
+
[...RULE_TEXT],
|
|
80890
|
+
([...RULE_TEXT], [...DEVICE_ATTENTION, ...ALERT_EPISODE]),
|
|
80862
80891
|
[...RULE_TEXT],
|
|
80863
80892
|
[...RULE_TEXT],
|
|
80864
80893
|
[...RULE_TEXT],
|
|
@@ -80880,11 +80909,11 @@ var STATE_SUMMARY_VARS = [
|
|
|
80880
80909
|
[...RULE_TEXT],
|
|
80881
80910
|
[...RULE_TEXT],
|
|
80882
80911
|
[...RULE_TEXT],
|
|
80912
|
+
([...RULE_TEXT], [...DEVICE_ATTENTION, ...ALERT_EPISODE]),
|
|
80883
80913
|
([...RULE_TEXT], [...ALERT_EPISODE]),
|
|
80914
|
+
([...RULE_TEXT], [...DEVICE_ATTENTION, ...ALERT_EPISODE]),
|
|
80884
80915
|
([...RULE_TEXT], [...ALERT_EPISODE]),
|
|
80885
|
-
([...RULE_TEXT], [...ALERT_EPISODE]),
|
|
80886
|
-
([...RULE_TEXT], [...ALERT_EPISODE]),
|
|
80887
|
-
([...RULE_TEXT], [...ALERT_EPISODE]),
|
|
80916
|
+
([...RULE_TEXT], [...DEVICE_ATTENTION, ...ALERT_EPISODE]),
|
|
80888
80917
|
[...RULE_TEXT],
|
|
80889
80918
|
[...RULE_TEXT],
|
|
80890
80919
|
[...RULE_TEXT],
|
|
@@ -80960,6 +80989,15 @@ new Map([
|
|
|
80960
80989
|
snapshotLabel: "Tanks low or full now",
|
|
80961
80990
|
snapshotSection: "tanks"
|
|
80962
80991
|
},
|
|
80992
|
+
{
|
|
80993
|
+
id: "motion-noise",
|
|
80994
|
+
family: "device-events",
|
|
80995
|
+
label: "Motion without a subject (constant / calm again)",
|
|
80996
|
+
bad: ["motion-noisy"],
|
|
80997
|
+
recovery: ["motion-calm"],
|
|
80998
|
+
snapshotLabel: "Cameras with constant motion now",
|
|
80999
|
+
snapshotSection: null
|
|
81000
|
+
},
|
|
80963
81001
|
{
|
|
80964
81002
|
id: "recording-health",
|
|
80965
81003
|
family: "device-events",
|
|
@@ -80969,6 +81007,15 @@ new Map([
|
|
|
80969
81007
|
snapshotLabel: "Recordings stalled now",
|
|
80970
81008
|
snapshotSection: null
|
|
80971
81009
|
},
|
|
81010
|
+
{
|
|
81011
|
+
id: "device-attention",
|
|
81012
|
+
family: "device-events",
|
|
81013
|
+
label: "Device needs attention (raised / resolved)",
|
|
81014
|
+
bad: ["device-attention-required"],
|
|
81015
|
+
recovery: ["device-attention-resolved"],
|
|
81016
|
+
snapshotLabel: "Devices needing attention now",
|
|
81017
|
+
snapshotSection: null
|
|
81018
|
+
},
|
|
80972
81019
|
{
|
|
80973
81020
|
id: "node-connectivity",
|
|
80974
81021
|
family: "system",
|
|
@@ -86424,16 +86471,12 @@ var HikvisionLightAccessory = class extends BaseDevice {
|
|
|
86424
86471
|
id: "light",
|
|
86425
86472
|
title: "Supplemental Light",
|
|
86426
86473
|
titleKey: "provider-hikvision:schema.s_light.title",
|
|
86427
|
-
description: "Mode + default brightness used by the switch and brightness caps. The mode list is what the camera advertised at probe time.",
|
|
86428
|
-
descriptionKey: "provider-hikvision:schema.s_light.description",
|
|
86429
86474
|
columns: 2,
|
|
86430
86475
|
fields: [modeOptions.length > 0 ? {
|
|
86431
86476
|
type: "select",
|
|
86432
86477
|
key: "mode",
|
|
86433
86478
|
label: "Mode (on)",
|
|
86434
86479
|
labelKey: "provider-hikvision:schema.s_light.mode.label",
|
|
86435
|
-
description: "Sent in `<supplementLightMode>` when switching on. Default picked at probe time.",
|
|
86436
|
-
descriptionKey: "provider-hikvision:schema.s_light.mode.description",
|
|
86437
86480
|
default: "colorVuWhiteLight",
|
|
86438
86481
|
options: modeOptions
|
|
86439
86482
|
} : {
|
|
@@ -86441,7 +86484,7 @@ var HikvisionLightAccessory = class extends BaseDevice {
|
|
|
86441
86484
|
key: "mode",
|
|
86442
86485
|
label: "Mode (on)",
|
|
86443
86486
|
labelKey: "provider-hikvision:schema.s_light.mode.label",
|
|
86444
|
-
description: "
|
|
86487
|
+
description: "Type the mode string the camera expects (e.g. `colorVuWhiteLight`).",
|
|
86445
86488
|
descriptionKey: "provider-hikvision:schema.s_light.mode.description",
|
|
86446
86489
|
default: "colorVuWhiteLight"
|
|
86447
86490
|
}, {
|
|
@@ -86449,8 +86492,6 @@ var HikvisionLightAccessory = class extends BaseDevice {
|
|
|
86449
86492
|
key: "defaultBrightness",
|
|
86450
86493
|
label: "Default brightness",
|
|
86451
86494
|
labelKey: "provider-hikvision:schema.s_light.defaultBrightness.label",
|
|
86452
|
-
description: "Brightness 0..100 applied on switch-on; the operator can override via the brightness cap, but a fresh restart starts here.",
|
|
86453
|
-
descriptionKey: "provider-hikvision:schema.s_light.defaultBrightness.description",
|
|
86454
86495
|
default: 100,
|
|
86455
86496
|
min: 0,
|
|
86456
86497
|
max: 100,
|
|
@@ -86660,7 +86701,7 @@ var HikvisionSirenAccessory = class extends BaseDevice {
|
|
|
86660
86701
|
id: "siren",
|
|
86661
86702
|
title: "Siren / Alarm Output",
|
|
86662
86703
|
titleKey: "provider-hikvision:schema.s_siren.title",
|
|
86663
|
-
description: "
|
|
86704
|
+
description: "The siren tone is set in the camera-side Linkage Method; this only fires the input.",
|
|
86664
86705
|
descriptionKey: "provider-hikvision:schema.s_siren.description",
|
|
86665
86706
|
columns: 2,
|
|
86666
86707
|
fields: [{
|
|
@@ -86668,7 +86709,7 @@ var HikvisionSirenAccessory = class extends BaseDevice {
|
|
|
86668
86709
|
key: "port",
|
|
86669
86710
|
label: "Alarm input port",
|
|
86670
86711
|
labelKey: "provider-hikvision:schema.s_siren.port.label",
|
|
86671
|
-
description: `
|
|
86712
|
+
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)."}`,
|
|
86672
86713
|
default: 1,
|
|
86673
86714
|
min: 1,
|
|
86674
86715
|
max: 32,
|
|
@@ -86678,7 +86719,7 @@ var HikvisionSirenAccessory = class extends BaseDevice {
|
|
|
86678
86719
|
key: "pulseDurationMs",
|
|
86679
86720
|
label: "Auto-release after (ms)",
|
|
86680
86721
|
labelKey: "provider-hikvision:schema.s_siren.pulseDurationMs.label",
|
|
86681
|
-
description: "
|
|
86722
|
+
description: "Auto-off delay in ms; 0 = manual release.",
|
|
86682
86723
|
descriptionKey: "provider-hikvision:schema.s_siren.pulseDurationMs.description",
|
|
86683
86724
|
default: 5e3,
|
|
86684
86725
|
min: 0,
|
|
@@ -93841,8 +93882,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
93841
93882
|
tab: "general",
|
|
93842
93883
|
title: "Connection",
|
|
93843
93884
|
titleKey: "provider-hikvision:schema.s_connection.title",
|
|
93844
|
-
description: "ISAPI HTTP(S) endpoint + RTSP transport + Digest credentials.",
|
|
93845
|
-
descriptionKey: "provider-hikvision:schema.s_connection.description",
|
|
93846
93885
|
columns: 2,
|
|
93847
93886
|
fields: [
|
|
93848
93887
|
{
|
|
@@ -93909,16 +93948,12 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
93909
93948
|
tab: "motion",
|
|
93910
93949
|
title: "On-camera motion (VMD)",
|
|
93911
93950
|
titleKey: "provider-hikvision:schema.s_motion.title",
|
|
93912
|
-
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.",
|
|
93913
|
-
descriptionKey: "provider-hikvision:schema.s_motion.description",
|
|
93914
93951
|
columns: 2,
|
|
93915
93952
|
fields: [{
|
|
93916
93953
|
type: "boolean",
|
|
93917
93954
|
key: "motionEnabled",
|
|
93918
93955
|
label: "Motion detection",
|
|
93919
93956
|
labelKey: "provider-hikvision:schema.s_motion.motionEnabled.label",
|
|
93920
|
-
description: "Master switch for on-camera VMD.",
|
|
93921
|
-
descriptionKey: "provider-hikvision:schema.s_motion.motionEnabled.description",
|
|
93922
93957
|
default: true,
|
|
93923
93958
|
style: "switch",
|
|
93924
93959
|
span: 2
|
|
@@ -93927,8 +93962,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
93927
93962
|
key: "motionSensitivity",
|
|
93928
93963
|
label: "Sensitivity",
|
|
93929
93964
|
labelKey: "provider-hikvision:schema.s_motion.motionSensitivity.label",
|
|
93930
|
-
description: "Higher = triggers on smaller motion. Restricted to firmware-advertised 20-unit increments — slider snaps to 0/20/40/60/80/100.",
|
|
93931
|
-
descriptionKey: "provider-hikvision:schema.s_motion.motionSensitivity.description",
|
|
93932
93965
|
min: 0,
|
|
93933
93966
|
max: 100,
|
|
93934
93967
|
step: 20,
|
|
@@ -93945,8 +93978,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
93945
93978
|
tab: "image",
|
|
93946
93979
|
title: "Image",
|
|
93947
93980
|
titleKey: "provider-hikvision:schema.s_image.title",
|
|
93948
|
-
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}`.",
|
|
93949
|
-
descriptionKey: "provider-hikvision:schema.s_image.description",
|
|
93950
93981
|
columns: 2,
|
|
93951
93982
|
fields: [
|
|
93952
93983
|
{
|
|
@@ -94002,8 +94033,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94002
94033
|
key: "imageWdrEnabled",
|
|
94003
94034
|
label: "WDR",
|
|
94004
94035
|
labelKey: "provider-hikvision:schema.s_image.imageWdrEnabled.label",
|
|
94005
|
-
description: "Wide Dynamic Range — balances scenes with bright + dark areas (e.g. backlit doorways). Costs a bit of frame rate / detail.",
|
|
94006
|
-
descriptionKey: "provider-hikvision:schema.s_image.imageWdrEnabled.description",
|
|
94007
94036
|
default: snap.wdrEnabled ?? false,
|
|
94008
94037
|
style: "switch",
|
|
94009
94038
|
span: 2
|
|
@@ -94013,8 +94042,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94013
94042
|
key: "imageWdrLevel",
|
|
94014
94043
|
label: "WDR level",
|
|
94015
94044
|
labelKey: "provider-hikvision:schema.s_image.imageWdrLevel.label",
|
|
94016
|
-
description: "Higher = more aggressive HDR fusion; can introduce halos in extreme scenes.",
|
|
94017
|
-
descriptionKey: "provider-hikvision:schema.s_image.imageWdrLevel.description",
|
|
94018
94045
|
min: 0,
|
|
94019
94046
|
max: 100,
|
|
94020
94047
|
step: 10,
|
|
@@ -94032,7 +94059,7 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94032
94059
|
key: "imageIrcutMode",
|
|
94033
94060
|
label: "Day/Night",
|
|
94034
94061
|
labelKey: "provider-hikvision:schema.s_image.imageIrcutMode.label",
|
|
94035
|
-
description: "
|
|
94062
|
+
description: "`schedule` uses the schedule configured on the camera.",
|
|
94036
94063
|
descriptionKey: "provider-hikvision:schema.s_image.imageIrcutMode.description",
|
|
94037
94064
|
default: snap.ircutMode ?? "auto",
|
|
94038
94065
|
options: [
|
|
@@ -94069,8 +94096,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94069
94096
|
tab: "network",
|
|
94070
94097
|
title: "Time / NTP",
|
|
94071
94098
|
titleKey: "provider-hikvision:schema.s_time-ntp.title",
|
|
94072
|
-
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).",
|
|
94073
|
-
descriptionKey: "provider-hikvision:schema.s_time-ntp.description",
|
|
94074
94099
|
columns: 2,
|
|
94075
94100
|
fields: [
|
|
94076
94101
|
{
|
|
@@ -94078,8 +94103,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94078
94103
|
key: "timeZoneId",
|
|
94079
94104
|
label: "Timezone",
|
|
94080
94105
|
labelKey: "provider-hikvision:schema.s_time-ntp.timeZoneId.label",
|
|
94081
|
-
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.",
|
|
94082
|
-
descriptionKey: "provider-hikvision:schema.s_time-ntp.timeZoneId.description",
|
|
94083
94106
|
span: 2
|
|
94084
94107
|
},
|
|
94085
94108
|
{
|
|
@@ -94087,8 +94110,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94087
94110
|
key: "timeMode",
|
|
94088
94111
|
label: "Time sync",
|
|
94089
94112
|
labelKey: "provider-hikvision:schema.s_time-ntp.timeMode.label",
|
|
94090
|
-
description: "`NTP` syncs the clock from the configured server; `manual` keeps the operator-set clock.",
|
|
94091
|
-
descriptionKey: "provider-hikvision:schema.s_time-ntp.timeMode.description",
|
|
94092
94113
|
default: snap.timeMode === "manual" ? "manual" : "NTP",
|
|
94093
94114
|
options: [{
|
|
94094
94115
|
value: "NTP",
|
|
@@ -94106,8 +94127,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94106
94127
|
key: "ntpServer",
|
|
94107
94128
|
label: "NTP server",
|
|
94108
94129
|
labelKey: "provider-hikvision:schema.s_time-ntp.ntpServer.label",
|
|
94109
|
-
description: "IP address or hostname of the NTP server.",
|
|
94110
|
-
descriptionKey: "provider-hikvision:schema.s_time-ntp.ntpServer.description",
|
|
94111
94130
|
default: snap.ntpServer ?? "pool.ntp.org",
|
|
94112
94131
|
placeholder: "pool.ntp.org",
|
|
94113
94132
|
span: 2,
|
|
@@ -94135,8 +94154,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94135
94154
|
key: "ntpSyncInterval",
|
|
94136
94155
|
label: "Sync interval (min)",
|
|
94137
94156
|
labelKey: "provider-hikvision:schema.s_time-ntp.ntpSyncInterval.label",
|
|
94138
|
-
description: "How often the camera re-syncs from the NTP server.",
|
|
94139
|
-
descriptionKey: "provider-hikvision:schema.s_time-ntp.ntpSyncInterval.description",
|
|
94140
94157
|
default: snap.syncInterval ?? 1440,
|
|
94141
94158
|
min: 1,
|
|
94142
94159
|
max: 10080,
|
|
@@ -94151,8 +94168,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94151
94168
|
key: "manualTime",
|
|
94152
94169
|
label: "Manual date & time",
|
|
94153
94170
|
labelKey: "provider-hikvision:schema.s_time-ntp.manualTime.label",
|
|
94154
|
-
description: "Set the camera clock explicitly. Applies on save.",
|
|
94155
|
-
descriptionKey: "provider-hikvision:schema.s_time-ntp.manualTime.description",
|
|
94156
94171
|
default: hikvisionLocalTimeToDatetimeLocal(snap.localTime) ?? this.config.get("manualTime") ?? "",
|
|
94157
94172
|
span: 2,
|
|
94158
94173
|
showWhen: {
|
|
@@ -94186,7 +94201,7 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94186
94201
|
id: "light",
|
|
94187
94202
|
tab: "light",
|
|
94188
94203
|
title: hasWhite ? "Supplemental light" : "IR illuminator",
|
|
94189
|
-
description: hasWhite ? "
|
|
94204
|
+
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.",
|
|
94190
94205
|
columns: 2,
|
|
94191
94206
|
fields: [
|
|
94192
94207
|
{
|
|
@@ -94194,8 +94209,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94194
94209
|
key: "lightMode",
|
|
94195
94210
|
label: "Mode",
|
|
94196
94211
|
labelKey: "provider-hikvision:schema.s_light.lightMode.label",
|
|
94197
|
-
description: "Active illumination mode. `close` turns the supplemental light off entirely; `irLight` enables the IR LEDs; white-light modes (when available) drive visible illumination.",
|
|
94198
|
-
descriptionKey: "provider-hikvision:schema.s_light.lightMode.description",
|
|
94199
94212
|
default: snap.mode ?? cache.lightDefaultMode ?? "irLight",
|
|
94200
94213
|
options: modes.map((m) => ({
|
|
94201
94214
|
value: m,
|
|
@@ -94207,8 +94220,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94207
94220
|
key: "lightBrightnessRegulator",
|
|
94208
94221
|
label: "Brightness regulator",
|
|
94209
94222
|
labelKey: "provider-hikvision:schema.s_light.lightBrightnessRegulator.label",
|
|
94210
|
-
description: "`auto` lets the camera adjust brightness off its built-in light sensor; `manual` pins it to the operator-set value below.",
|
|
94211
|
-
descriptionKey: "provider-hikvision:schema.s_light.lightBrightnessRegulator.description",
|
|
94212
94223
|
default: snap.brightnessRegulatorMode ?? "auto",
|
|
94213
94224
|
options: [{
|
|
94214
94225
|
value: "auto",
|
|
@@ -94225,7 +94236,7 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94225
94236
|
key: "lightIrBrightness",
|
|
94226
94237
|
label: "IR brightness",
|
|
94227
94238
|
labelKey: "provider-hikvision:schema.s_light.lightIrBrightness.label",
|
|
94228
|
-
description: "
|
|
94239
|
+
description: "Only honoured when mode is `irLight` and the regulator is `manual`.",
|
|
94229
94240
|
descriptionKey: "provider-hikvision:schema.s_light.lightIrBrightness.description",
|
|
94230
94241
|
min: 0,
|
|
94231
94242
|
max: 100,
|
|
@@ -94240,7 +94251,7 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94240
94251
|
key: "lightWhiteBrightness",
|
|
94241
94252
|
label: "White-light brightness",
|
|
94242
94253
|
labelKey: "provider-hikvision:schema.s_light.lightWhiteBrightness.label",
|
|
94243
|
-
description: "
|
|
94254
|
+
description: "Only honoured in a white-light mode.",
|
|
94244
94255
|
descriptionKey: "provider-hikvision:schema.s_light.lightWhiteBrightness.description",
|
|
94245
94256
|
min: 0,
|
|
94246
94257
|
max: 100,
|
|
@@ -94258,7 +94269,7 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94258
94269
|
tab: "audio",
|
|
94259
94270
|
title: "Two-way audio",
|
|
94260
94271
|
titleKey: "provider-hikvision:schema.s_two-way-audio-mode.title",
|
|
94261
|
-
description: "
|
|
94272
|
+
description: "`auto` probes for a channel; use `isapi` if the probe fails but the camera accepts audio, `off` to disable.",
|
|
94262
94273
|
descriptionKey: "provider-hikvision:schema.s_two-way-audio-mode.description",
|
|
94263
94274
|
columns: 1,
|
|
94264
94275
|
fields: [{
|
|
@@ -94295,8 +94306,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94295
94306
|
tab: "audio",
|
|
94296
94307
|
title: "Two-way audio channel",
|
|
94297
94308
|
titleKey: "provider-hikvision:schema.s_audio.title",
|
|
94298
|
-
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.",
|
|
94299
|
-
descriptionKey: "provider-hikvision:schema.s_audio.description",
|
|
94300
94309
|
columns: 2,
|
|
94301
94310
|
fields: [
|
|
94302
94311
|
{
|
|
@@ -94304,7 +94313,7 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94304
94313
|
key: "audioCompressionType",
|
|
94305
94314
|
label: "Audio codec",
|
|
94306
94315
|
labelKey: "provider-hikvision:schema.s_audio.audioCompressionType.label",
|
|
94307
|
-
description: "
|
|
94316
|
+
description: "G.711 µ-law has the broadest compatibility.",
|
|
94308
94317
|
descriptionKey: "provider-hikvision:schema.s_audio.audioCompressionType.description",
|
|
94309
94318
|
default: "",
|
|
94310
94319
|
options: [{
|
|
@@ -94321,8 +94330,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94321
94330
|
key: "audioInputType",
|
|
94322
94331
|
label: "Input source",
|
|
94323
94332
|
labelKey: "provider-hikvision:schema.s_audio.audioInputType.label",
|
|
94324
|
-
description: "Mic-in (built-in microphone) vs Line-in (rear-panel TRS). Cameras without a line input only advertise MicIn here.",
|
|
94325
|
-
descriptionKey: "provider-hikvision:schema.s_audio.audioInputType.description",
|
|
94326
94333
|
default: "",
|
|
94327
94334
|
options: [{
|
|
94328
94335
|
value: "",
|
|
@@ -94338,8 +94345,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94338
94345
|
key: "audioSpeakerVolume",
|
|
94339
94346
|
label: "Speaker volume",
|
|
94340
94347
|
labelKey: "provider-hikvision:schema.s_audio.audioSpeakerVolume.label",
|
|
94341
|
-
description: "Camera output volume. Affects intercom playback and any audio-alarm sounds the linkage fires.",
|
|
94342
|
-
descriptionKey: "provider-hikvision:schema.s_audio.audioSpeakerVolume.description",
|
|
94343
94348
|
min: this.config.get("deviceCache")?.audioCapabilities?.speakerVolumeMin ?? 0,
|
|
94344
94349
|
max: this.config.get("deviceCache")?.audioCapabilities?.speakerVolumeMax ?? 100,
|
|
94345
94350
|
step: 5,
|
|
@@ -94353,8 +94358,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94353
94358
|
key: "audioNoiseReduction",
|
|
94354
94359
|
label: "Noise reduction",
|
|
94355
94360
|
labelKey: "provider-hikvision:schema.s_audio.audioNoiseReduction.label",
|
|
94356
|
-
description: "Camera-side noise filter. Helpful in noisy environments; can clip soft speech if too aggressive.",
|
|
94357
|
-
descriptionKey: "provider-hikvision:schema.s_audio.audioNoiseReduction.description",
|
|
94358
94361
|
default: true,
|
|
94359
94362
|
style: "switch",
|
|
94360
94363
|
span: 2
|
|
@@ -94366,7 +94369,7 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94366
94369
|
tab: "streaming",
|
|
94367
94370
|
title: "Snapshot source",
|
|
94368
94371
|
titleKey: "provider-hikvision:schema.s_snapshot-source.title",
|
|
94369
|
-
description: "
|
|
94372
|
+
description: "Pick the sub stream when the main stream is 4K and snapshots only feed thumbnails.",
|
|
94370
94373
|
descriptionKey: "provider-hikvision:schema.s_snapshot-source.description",
|
|
94371
94374
|
columns: 1,
|
|
94372
94375
|
fields: [{
|
|
@@ -94383,7 +94386,7 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94383
94386
|
tab: "alarms",
|
|
94384
94387
|
title: "Motion linkage",
|
|
94385
94388
|
titleKey: "provider-hikvision:schema.s_alarms.title",
|
|
94386
|
-
description: "
|
|
94389
|
+
description: "Methods not listed here (record, email, ftp) are preserved.",
|
|
94387
94390
|
descriptionKey: "provider-hikvision:schema.s_alarms.description",
|
|
94388
94391
|
columns: 2,
|
|
94389
94392
|
fields: [
|
|
@@ -94392,8 +94395,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94392
94395
|
key: "alarmBeep",
|
|
94393
94396
|
label: "Audio beep",
|
|
94394
94397
|
labelKey: "provider-hikvision:schema.s_alarms.alarmBeep.label",
|
|
94395
|
-
description: "Camera fires its built-in beep speaker on motion.",
|
|
94396
|
-
descriptionKey: "provider-hikvision:schema.s_alarms.alarmBeep.description",
|
|
94397
94398
|
default: false,
|
|
94398
94399
|
style: "switch"
|
|
94399
94400
|
},
|
|
@@ -94402,7 +94403,7 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94402
94403
|
key: "alarmWhiteLight",
|
|
94403
94404
|
label: "White-light flash",
|
|
94404
94405
|
labelKey: "provider-hikvision:schema.s_alarms.alarmWhiteLight.label",
|
|
94405
|
-
description: "
|
|
94406
|
+
description: "Only effective on cameras with a controllable white-light LED.",
|
|
94406
94407
|
descriptionKey: "provider-hikvision:schema.s_alarms.alarmWhiteLight.description",
|
|
94407
94408
|
default: false,
|
|
94408
94409
|
style: "switch"
|
|
@@ -94412,8 +94413,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94412
94413
|
key: "alarmIoOutput",
|
|
94413
94414
|
label: "IO relay",
|
|
94414
94415
|
labelKey: "provider-hikvision:schema.s_alarms.alarmIoOutput.label",
|
|
94415
|
-
description: "Closes the camera's alarm-output relay on motion. Wire your siren / external alarm panel here.",
|
|
94416
|
-
descriptionKey: "provider-hikvision:schema.s_alarms.alarmIoOutput.description",
|
|
94417
94416
|
default: false,
|
|
94418
94417
|
style: "switch"
|
|
94419
94418
|
},
|
|
@@ -94422,8 +94421,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94422
94421
|
key: "alarmCenter",
|
|
94423
94422
|
label: "Notification center",
|
|
94424
94423
|
labelKey: "provider-hikvision:schema.s_alarms.alarmCenter.label",
|
|
94425
|
-
description: "Push a notification to the Hikvision IVMS / Hik-Connect cloud on motion. Independent of camstack's own event pipeline.",
|
|
94426
|
-
descriptionKey: "provider-hikvision:schema.s_alarms.alarmCenter.description",
|
|
94427
94424
|
default: false,
|
|
94428
94425
|
style: "switch"
|
|
94429
94426
|
}
|
|
@@ -94434,8 +94431,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94434
94431
|
tab: "osd",
|
|
94435
94432
|
title: "OSD overlays",
|
|
94436
94433
|
titleKey: "provider-hikvision:schema.s_osd.title",
|
|
94437
|
-
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.",
|
|
94438
|
-
descriptionKey: "provider-hikvision:schema.s_osd.description",
|
|
94439
94434
|
columns: 2,
|
|
94440
94435
|
fields: [
|
|
94441
94436
|
{
|
|
@@ -94443,8 +94438,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94443
94438
|
key: "_osdDateTimeEnabled",
|
|
94444
94439
|
label: "Date/time visible",
|
|
94445
94440
|
labelKey: "provider-hikvision:schema.s_osd._osdDateTimeEnabled.label",
|
|
94446
|
-
description: "Camera firmware-rendered timestamp — format lives on the camera-side time settings page.",
|
|
94447
|
-
descriptionKey: "provider-hikvision:schema.s_osd._osdDateTimeEnabled.description",
|
|
94448
94441
|
default: false,
|
|
94449
94442
|
style: "switch"
|
|
94450
94443
|
},
|
|
@@ -94453,8 +94446,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94453
94446
|
key: "_osdChannelNameEnabled",
|
|
94454
94447
|
label: "Channel name visible",
|
|
94455
94448
|
labelKey: "provider-hikvision:schema.s_osd._osdChannelNameEnabled.label",
|
|
94456
|
-
description: "Tracks the camera `deviceName`. Flip to show/hide the channel-name line.",
|
|
94457
|
-
descriptionKey: "provider-hikvision:schema.s_osd._osdChannelNameEnabled.description",
|
|
94458
94449
|
default: false,
|
|
94459
94450
|
style: "switch"
|
|
94460
94451
|
},
|
|
@@ -94463,8 +94454,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94463
94454
|
key: "_osdTextOverlay1",
|
|
94464
94455
|
label: "Text overlay #1",
|
|
94465
94456
|
labelKey: "provider-hikvision:schema.s_osd._osdTextOverlay1.label",
|
|
94466
|
-
description: "Free-text overlay slot 1. Blank hides the slot.",
|
|
94467
|
-
descriptionKey: "provider-hikvision:schema.s_osd._osdTextOverlay1.description",
|
|
94468
94457
|
span: 2
|
|
94469
94458
|
},
|
|
94470
94459
|
{
|
|
@@ -94495,7 +94484,7 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94495
94484
|
tab: "advanced",
|
|
94496
94485
|
title: "Advanced",
|
|
94497
94486
|
titleKey: "provider-hikvision:schema.s_advanced.title",
|
|
94498
|
-
description: "
|
|
94487
|
+
description: "Debug flags add log volume; VCA changes require a camera reboot.",
|
|
94499
94488
|
descriptionKey: "provider-hikvision:schema.s_advanced.description",
|
|
94500
94489
|
columns: 1,
|
|
94501
94490
|
fields: [
|
|
@@ -94504,7 +94493,7 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94504
94493
|
key: "vcaResource",
|
|
94505
94494
|
label: "VCA resource",
|
|
94506
94495
|
labelKey: "provider-hikvision:schema.s_advanced.vcaResource.label",
|
|
94507
|
-
description: "
|
|
94496
|
+
description: "`Smart` and `Face snap` disable the third stream; `Close` turns off on-camera AI. Switching reboots the camera.",
|
|
94508
94497
|
descriptionKey: "provider-hikvision:schema.s_advanced.vcaResource.description",
|
|
94509
94498
|
default: "smart",
|
|
94510
94499
|
options: [
|
|
@@ -94530,8 +94519,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94530
94519
|
key: "debugGeneral",
|
|
94531
94520
|
label: "General ISAPI logs",
|
|
94532
94521
|
labelKey: "provider-hikvision:schema.s_advanced.debugGeneral.label",
|
|
94533
|
-
description: "Request/response status, retries, digest re-challenges.",
|
|
94534
|
-
descriptionKey: "provider-hikvision:schema.s_advanced.debugGeneral.description",
|
|
94535
94522
|
default: false,
|
|
94536
94523
|
style: "switch"
|
|
94537
94524
|
},
|
|
@@ -104062,8 +104049,6 @@ function buildCreationFormSchema() {
|
|
|
104062
104049
|
id: "credentials",
|
|
104063
104050
|
title: "Credentials",
|
|
104064
104051
|
titleKey: "provider-hikvision:creation.s_credentials.title",
|
|
104065
|
-
description: "ISAPI uses HTTP Digest auth — no plaintext password on the wire even over HTTP. Required for the host probe.",
|
|
104066
|
-
descriptionKey: "provider-hikvision:creation.s_credentials.description",
|
|
104067
104052
|
columns: 2,
|
|
104068
104053
|
fields: [{
|
|
104069
104054
|
type: "text",
|
|
@@ -104085,7 +104070,7 @@ function buildCreationFormSchema() {
|
|
|
104085
104070
|
id: "connection",
|
|
104086
104071
|
title: "Connection",
|
|
104087
104072
|
titleKey: "provider-hikvision:creation.s_connection.title",
|
|
104088
|
-
description: "
|
|
104073
|
+
description: "Use 443 with HTTPS for cameras with TLS enabled.",
|
|
104089
104074
|
descriptionKey: "provider-hikvision:creation.s_connection.description",
|
|
104090
104075
|
columns: 2,
|
|
104091
104076
|
fields: [
|
|
@@ -104130,7 +104115,7 @@ function buildDiscoveryParamsFormSchema() {
|
|
|
104130
104115
|
id: "credentials",
|
|
104131
104116
|
title: "Credentials",
|
|
104132
104117
|
titleKey: "provider-hikvision:discoveryParams.s_credentials.title",
|
|
104133
|
-
description: "
|
|
104118
|
+
description: "Assumes all cameras share these credentials.",
|
|
104134
104119
|
descriptionKey: "provider-hikvision:discoveryParams.s_credentials.description",
|
|
104135
104120
|
columns: 2,
|
|
104136
104121
|
fields: [{
|
|
@@ -104152,7 +104137,7 @@ function buildDiscoveryParamsFormSchema() {
|
|
|
104152
104137
|
id: "scan",
|
|
104153
104138
|
title: "Scan options",
|
|
104154
104139
|
titleKey: "provider-hikvision:discoveryParams.s_scan.title",
|
|
104155
|
-
description: "
|
|
104140
|
+
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).",
|
|
104156
104141
|
descriptionKey: "provider-hikvision:discoveryParams.s_scan.description",
|
|
104157
104142
|
columns: 1,
|
|
104158
104143
|
fields: [{
|