@camstack/addon-provider-hikvision 1.2.167 → 1.2.168
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 -141
- package/dist/addon.mjs +132 -141
- 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",
|
|
@@ -56689,6 +56713,16 @@ var DishwasherStatusSchema = object({
|
|
|
56689
56713
|
powerState: string().nullable(),
|
|
56690
56714
|
saltLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
56691
56715
|
rinseAidLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
56716
|
+
/**
|
|
56717
|
+
* True while the appliance asks for its filter to be cleaned (smart-filter, filter-system or
|
|
56718
|
+
* combined care-and-filter reminder raised); false when every such reminder reads clear; null
|
|
56719
|
+
* when none is reported. A cleared reminder is not an unknown one.
|
|
56720
|
+
*/
|
|
56721
|
+
filterCleaningDue: boolean().nullable(),
|
|
56722
|
+
/** True while the machine-care (descaling / cleaning-program) reminder is raised; false when clear; null when not reported. */
|
|
56723
|
+
machineCareDue: boolean().nullable(),
|
|
56724
|
+
/** Program runs left before the machine-care reminder is due; null when the appliance does not say. */
|
|
56725
|
+
machineCareRemainingRuns: number().int().nonnegative().nullable(),
|
|
56692
56726
|
/** Option states: null when the appliance does not expose the option or has not said. */
|
|
56693
56727
|
halfLoad: boolean().nullable(),
|
|
56694
56728
|
hygienePlus: boolean().nullable(),
|
|
@@ -65900,16 +65934,6 @@ var UpdateUserInputSchema = object({
|
|
|
65900
65934
|
allowedDevices: record(string(), union([array(string()), literal("*")])).optional(),
|
|
65901
65935
|
scopes: array(TokenScopeSchema).optional()
|
|
65902
65936
|
});
|
|
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
65937
|
var OauthSessionSummarySchema = object({
|
|
65914
65938
|
id: string(),
|
|
65915
65939
|
userId: string(),
|
|
@@ -65931,8 +65955,7 @@ var TotpStatusSchema = object({
|
|
|
65931
65955
|
confirmedAt: number().nullable()
|
|
65932
65956
|
});
|
|
65933
65957
|
/**
|
|
65934
|
-
* user-management — singleton capability for user accounts
|
|
65935
|
-
* legacy API-key rows.
|
|
65958
|
+
* user-management — singleton capability for user accounts.
|
|
65936
65959
|
*
|
|
65937
65960
|
* v2 model: every method gated by `auth: 'admin'`. Admin-only delegation
|
|
65938
65961
|
* — the subset check on `setUserScopes` is moot
|
|
@@ -65988,10 +66011,6 @@ method(_void(), array(UserSummarySchema), { auth: "admin" }), method(CreateUserI
|
|
|
65988
66011
|
}), UserSummarySchema.extend({ passwordHash: string() }).nullable(), {
|
|
65989
66012
|
kind: "mutation",
|
|
65990
66013
|
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
66014
|
}), method(object({ userId: string() }), TotpSetupResultSchema, {
|
|
65996
66015
|
kind: "mutation",
|
|
65997
66016
|
auth: "admin",
|
|
@@ -75466,6 +75485,12 @@ Object.freeze({
|
|
|
75466
75485
|
addonId: null,
|
|
75467
75486
|
access: "view"
|
|
75468
75487
|
},
|
|
75488
|
+
"records.transact": {
|
|
75489
|
+
capName: "records",
|
|
75490
|
+
capScope: "system",
|
|
75491
|
+
addonId: null,
|
|
75492
|
+
access: "create"
|
|
75493
|
+
},
|
|
75469
75494
|
"sceneMonitor.captureReference": {
|
|
75470
75495
|
capName: "scene-monitor",
|
|
75471
75496
|
capScope: "device",
|
|
@@ -76798,12 +76823,6 @@ Object.freeze({
|
|
|
76798
76823
|
addonId: null,
|
|
76799
76824
|
access: "view"
|
|
76800
76825
|
},
|
|
76801
|
-
"userManagement.listApiKeys": {
|
|
76802
|
-
capName: "user-management",
|
|
76803
|
-
capScope: "system",
|
|
76804
|
-
addonId: null,
|
|
76805
|
-
access: "view"
|
|
76806
|
-
},
|
|
76807
76826
|
"userManagement.listExternalIdentities": {
|
|
76808
76827
|
capName: "user-management",
|
|
76809
76828
|
capScope: "system",
|
|
@@ -76858,12 +76877,6 @@ Object.freeze({
|
|
|
76858
76877
|
addonId: null,
|
|
76859
76878
|
access: "create"
|
|
76860
76879
|
},
|
|
76861
|
-
"userManagement.revokeApiKey": {
|
|
76862
|
-
capName: "user-management",
|
|
76863
|
-
capScope: "system",
|
|
76864
|
-
addonId: null,
|
|
76865
|
-
access: "delete"
|
|
76866
|
-
},
|
|
76867
76880
|
"userManagement.revokeOauthSession": {
|
|
76868
76881
|
capName: "user-management",
|
|
76869
76882
|
capScope: "system",
|
|
@@ -80446,9 +80459,13 @@ new Map(Object.entries({
|
|
|
80446
80459
|
"stream-online": "device-events",
|
|
80447
80460
|
"stream-offline": "device-events",
|
|
80448
80461
|
"detection-blind": "device-events",
|
|
80462
|
+
"motion-noisy": "device-events",
|
|
80463
|
+
"motion-calm": "device-events",
|
|
80449
80464
|
"recording-stalled": "device-events",
|
|
80450
80465
|
"recording-healthy": "device-events",
|
|
80451
80466
|
"recording-degraded": "device-events",
|
|
80467
|
+
"device-attention-required": "device-events",
|
|
80468
|
+
"device-attention-resolved": "device-events",
|
|
80452
80469
|
"node-online": "system",
|
|
80453
80470
|
"node-offline": "system",
|
|
80454
80471
|
"node-restarting": "system",
|
|
@@ -80531,6 +80548,12 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
80531
80548
|
label: "Detecting nothing",
|
|
80532
80549
|
kinds: ["detection-blind"]
|
|
80533
80550
|
},
|
|
80551
|
+
{
|
|
80552
|
+
id: "motion-noise",
|
|
80553
|
+
family: "device-events",
|
|
80554
|
+
label: "Motion without a subject",
|
|
80555
|
+
kinds: ["motion-noisy", "motion-calm"]
|
|
80556
|
+
},
|
|
80534
80557
|
{
|
|
80535
80558
|
id: "recording",
|
|
80536
80559
|
family: "device-events",
|
|
@@ -80541,6 +80564,12 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
80541
80564
|
"recording-degraded"
|
|
80542
80565
|
]
|
|
80543
80566
|
},
|
|
80567
|
+
{
|
|
80568
|
+
id: "device-attention",
|
|
80569
|
+
family: "device-events",
|
|
80570
|
+
label: "Needs attention",
|
|
80571
|
+
kinds: ["device-attention-required", "device-attention-resolved"]
|
|
80572
|
+
},
|
|
80544
80573
|
{
|
|
80545
80574
|
id: "nodes",
|
|
80546
80575
|
family: "system",
|
|
@@ -80680,6 +80709,7 @@ var ALERT_EPISODE = [
|
|
|
80680
80709
|
"alert-error",
|
|
80681
80710
|
"alert-critical-resolved"
|
|
80682
80711
|
];
|
|
80712
|
+
var DEVICE_ATTENTION = ["device-attention-required", "device-attention-resolved"];
|
|
80683
80713
|
var UPDATES = [
|
|
80684
80714
|
"addon-update-available",
|
|
80685
80715
|
"server-update-available",
|
|
@@ -80709,9 +80739,12 @@ var DEVICE_EVENTS = [
|
|
|
80709
80739
|
"stream-online",
|
|
80710
80740
|
"stream-offline",
|
|
80711
80741
|
"detection-blind",
|
|
80742
|
+
"motion-noisy",
|
|
80743
|
+
"motion-calm",
|
|
80712
80744
|
"recording-stalled",
|
|
80713
80745
|
"recording-healthy",
|
|
80714
80746
|
"recording-degraded",
|
|
80747
|
+
...DEVICE_ATTENTION,
|
|
80715
80748
|
...ALARM
|
|
80716
80749
|
];
|
|
80717
80750
|
/** Every kind a summary may speak about — the two summarisable families. */
|
|
@@ -80879,7 +80912,9 @@ var STATE_SUMMARY_VARS = [
|
|
|
80879
80912
|
[...RULE_TEXT],
|
|
80880
80913
|
[...RULE_TEXT],
|
|
80881
80914
|
[...RULE_TEXT],
|
|
80882
|
-
|
|
80915
|
+
[...RULE_TEXT],
|
|
80916
|
+
[...RULE_TEXT],
|
|
80917
|
+
([...RULE_TEXT], [...DEVICE_ATTENTION, ...ALERT_EPISODE]),
|
|
80883
80918
|
[...RULE_TEXT],
|
|
80884
80919
|
[...RULE_TEXT],
|
|
80885
80920
|
[...RULE_TEXT],
|
|
@@ -80901,11 +80936,11 @@ var STATE_SUMMARY_VARS = [
|
|
|
80901
80936
|
[...RULE_TEXT],
|
|
80902
80937
|
[...RULE_TEXT],
|
|
80903
80938
|
[...RULE_TEXT],
|
|
80939
|
+
([...RULE_TEXT], [...DEVICE_ATTENTION, ...ALERT_EPISODE]),
|
|
80904
80940
|
([...RULE_TEXT], [...ALERT_EPISODE]),
|
|
80941
|
+
([...RULE_TEXT], [...DEVICE_ATTENTION, ...ALERT_EPISODE]),
|
|
80905
80942
|
([...RULE_TEXT], [...ALERT_EPISODE]),
|
|
80906
|
-
([...RULE_TEXT], [...ALERT_EPISODE]),
|
|
80907
|
-
([...RULE_TEXT], [...ALERT_EPISODE]),
|
|
80908
|
-
([...RULE_TEXT], [...ALERT_EPISODE]),
|
|
80943
|
+
([...RULE_TEXT], [...DEVICE_ATTENTION, ...ALERT_EPISODE]),
|
|
80909
80944
|
[...RULE_TEXT],
|
|
80910
80945
|
[...RULE_TEXT],
|
|
80911
80946
|
[...RULE_TEXT],
|
|
@@ -80981,6 +81016,15 @@ new Map([
|
|
|
80981
81016
|
snapshotLabel: "Tanks low or full now",
|
|
80982
81017
|
snapshotSection: "tanks"
|
|
80983
81018
|
},
|
|
81019
|
+
{
|
|
81020
|
+
id: "motion-noise",
|
|
81021
|
+
family: "device-events",
|
|
81022
|
+
label: "Motion without a subject (constant / calm again)",
|
|
81023
|
+
bad: ["motion-noisy"],
|
|
81024
|
+
recovery: ["motion-calm"],
|
|
81025
|
+
snapshotLabel: "Cameras with constant motion now",
|
|
81026
|
+
snapshotSection: null
|
|
81027
|
+
},
|
|
80984
81028
|
{
|
|
80985
81029
|
id: "recording-health",
|
|
80986
81030
|
family: "device-events",
|
|
@@ -80990,6 +81034,15 @@ new Map([
|
|
|
80990
81034
|
snapshotLabel: "Recordings stalled now",
|
|
80991
81035
|
snapshotSection: null
|
|
80992
81036
|
},
|
|
81037
|
+
{
|
|
81038
|
+
id: "device-attention",
|
|
81039
|
+
family: "device-events",
|
|
81040
|
+
label: "Device needs attention (raised / resolved)",
|
|
81041
|
+
bad: ["device-attention-required"],
|
|
81042
|
+
recovery: ["device-attention-resolved"],
|
|
81043
|
+
snapshotLabel: "Devices needing attention now",
|
|
81044
|
+
snapshotSection: null
|
|
81045
|
+
},
|
|
80993
81046
|
{
|
|
80994
81047
|
id: "node-connectivity",
|
|
80995
81048
|
family: "system",
|
|
@@ -86445,16 +86498,12 @@ var HikvisionLightAccessory = class extends BaseDevice {
|
|
|
86445
86498
|
id: "light",
|
|
86446
86499
|
title: "Supplemental Light",
|
|
86447
86500
|
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
86501
|
columns: 2,
|
|
86451
86502
|
fields: [modeOptions.length > 0 ? {
|
|
86452
86503
|
type: "select",
|
|
86453
86504
|
key: "mode",
|
|
86454
86505
|
label: "Mode (on)",
|
|
86455
86506
|
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
86507
|
default: "colorVuWhiteLight",
|
|
86459
86508
|
options: modeOptions
|
|
86460
86509
|
} : {
|
|
@@ -86462,7 +86511,7 @@ var HikvisionLightAccessory = class extends BaseDevice {
|
|
|
86462
86511
|
key: "mode",
|
|
86463
86512
|
label: "Mode (on)",
|
|
86464
86513
|
labelKey: "provider-hikvision:schema.s_light.mode.label",
|
|
86465
|
-
description: "
|
|
86514
|
+
description: "Type the mode string the camera expects (e.g. `colorVuWhiteLight`).",
|
|
86466
86515
|
descriptionKey: "provider-hikvision:schema.s_light.mode.description",
|
|
86467
86516
|
default: "colorVuWhiteLight"
|
|
86468
86517
|
}, {
|
|
@@ -86470,8 +86519,6 @@ var HikvisionLightAccessory = class extends BaseDevice {
|
|
|
86470
86519
|
key: "defaultBrightness",
|
|
86471
86520
|
label: "Default brightness",
|
|
86472
86521
|
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
86522
|
default: 100,
|
|
86476
86523
|
min: 0,
|
|
86477
86524
|
max: 100,
|
|
@@ -86681,7 +86728,7 @@ var HikvisionSirenAccessory = class extends BaseDevice {
|
|
|
86681
86728
|
id: "siren",
|
|
86682
86729
|
title: "Siren / Alarm Output",
|
|
86683
86730
|
titleKey: "provider-hikvision:schema.s_siren.title",
|
|
86684
|
-
description: "
|
|
86731
|
+
description: "The siren tone is set in the camera-side Linkage Method; this only fires the input.",
|
|
86685
86732
|
descriptionKey: "provider-hikvision:schema.s_siren.description",
|
|
86686
86733
|
columns: 2,
|
|
86687
86734
|
fields: [{
|
|
@@ -86689,7 +86736,7 @@ var HikvisionSirenAccessory = class extends BaseDevice {
|
|
|
86689
86736
|
key: "port",
|
|
86690
86737
|
label: "Alarm input port",
|
|
86691
86738
|
labelKey: "provider-hikvision:schema.s_siren.port.label",
|
|
86692
|
-
description: `
|
|
86739
|
+
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
86740
|
default: 1,
|
|
86694
86741
|
min: 1,
|
|
86695
86742
|
max: 32,
|
|
@@ -86699,7 +86746,7 @@ var HikvisionSirenAccessory = class extends BaseDevice {
|
|
|
86699
86746
|
key: "pulseDurationMs",
|
|
86700
86747
|
label: "Auto-release after (ms)",
|
|
86701
86748
|
labelKey: "provider-hikvision:schema.s_siren.pulseDurationMs.label",
|
|
86702
|
-
description: "
|
|
86749
|
+
description: "Auto-off delay in ms; 0 = manual release.",
|
|
86703
86750
|
descriptionKey: "provider-hikvision:schema.s_siren.pulseDurationMs.description",
|
|
86704
86751
|
default: 5e3,
|
|
86705
86752
|
min: 0,
|
|
@@ -93862,8 +93909,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
93862
93909
|
tab: "general",
|
|
93863
93910
|
title: "Connection",
|
|
93864
93911
|
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
93912
|
columns: 2,
|
|
93868
93913
|
fields: [
|
|
93869
93914
|
{
|
|
@@ -93930,16 +93975,12 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
93930
93975
|
tab: "motion",
|
|
93931
93976
|
title: "On-camera motion (VMD)",
|
|
93932
93977
|
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
93978
|
columns: 2,
|
|
93936
93979
|
fields: [{
|
|
93937
93980
|
type: "boolean",
|
|
93938
93981
|
key: "motionEnabled",
|
|
93939
93982
|
label: "Motion detection",
|
|
93940
93983
|
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
93984
|
default: true,
|
|
93944
93985
|
style: "switch",
|
|
93945
93986
|
span: 2
|
|
@@ -93948,8 +93989,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
93948
93989
|
key: "motionSensitivity",
|
|
93949
93990
|
label: "Sensitivity",
|
|
93950
93991
|
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
93992
|
min: 0,
|
|
93954
93993
|
max: 100,
|
|
93955
93994
|
step: 20,
|
|
@@ -93966,8 +94005,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
93966
94005
|
tab: "image",
|
|
93967
94006
|
title: "Image",
|
|
93968
94007
|
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
94008
|
columns: 2,
|
|
93972
94009
|
fields: [
|
|
93973
94010
|
{
|
|
@@ -94023,8 +94060,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94023
94060
|
key: "imageWdrEnabled",
|
|
94024
94061
|
label: "WDR",
|
|
94025
94062
|
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
94063
|
default: snap.wdrEnabled ?? false,
|
|
94029
94064
|
style: "switch",
|
|
94030
94065
|
span: 2
|
|
@@ -94034,8 +94069,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94034
94069
|
key: "imageWdrLevel",
|
|
94035
94070
|
label: "WDR level",
|
|
94036
94071
|
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
94072
|
min: 0,
|
|
94040
94073
|
max: 100,
|
|
94041
94074
|
step: 10,
|
|
@@ -94053,7 +94086,7 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94053
94086
|
key: "imageIrcutMode",
|
|
94054
94087
|
label: "Day/Night",
|
|
94055
94088
|
labelKey: "provider-hikvision:schema.s_image.imageIrcutMode.label",
|
|
94056
|
-
description: "
|
|
94089
|
+
description: "`schedule` uses the schedule configured on the camera.",
|
|
94057
94090
|
descriptionKey: "provider-hikvision:schema.s_image.imageIrcutMode.description",
|
|
94058
94091
|
default: snap.ircutMode ?? "auto",
|
|
94059
94092
|
options: [
|
|
@@ -94090,8 +94123,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94090
94123
|
tab: "network",
|
|
94091
94124
|
title: "Time / NTP",
|
|
94092
94125
|
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
94126
|
columns: 2,
|
|
94096
94127
|
fields: [
|
|
94097
94128
|
{
|
|
@@ -94099,8 +94130,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94099
94130
|
key: "timeZoneId",
|
|
94100
94131
|
label: "Timezone",
|
|
94101
94132
|
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
94133
|
span: 2
|
|
94105
94134
|
},
|
|
94106
94135
|
{
|
|
@@ -94108,8 +94137,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94108
94137
|
key: "timeMode",
|
|
94109
94138
|
label: "Time sync",
|
|
94110
94139
|
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
94140
|
default: snap.timeMode === "manual" ? "manual" : "NTP",
|
|
94114
94141
|
options: [{
|
|
94115
94142
|
value: "NTP",
|
|
@@ -94127,8 +94154,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94127
94154
|
key: "ntpServer",
|
|
94128
94155
|
label: "NTP server",
|
|
94129
94156
|
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
94157
|
default: snap.ntpServer ?? "pool.ntp.org",
|
|
94133
94158
|
placeholder: "pool.ntp.org",
|
|
94134
94159
|
span: 2,
|
|
@@ -94156,8 +94181,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94156
94181
|
key: "ntpSyncInterval",
|
|
94157
94182
|
label: "Sync interval (min)",
|
|
94158
94183
|
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
94184
|
default: snap.syncInterval ?? 1440,
|
|
94162
94185
|
min: 1,
|
|
94163
94186
|
max: 10080,
|
|
@@ -94172,8 +94195,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94172
94195
|
key: "manualTime",
|
|
94173
94196
|
label: "Manual date & time",
|
|
94174
94197
|
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
94198
|
default: hikvisionLocalTimeToDatetimeLocal(snap.localTime) ?? this.config.get("manualTime") ?? "",
|
|
94178
94199
|
span: 2,
|
|
94179
94200
|
showWhen: {
|
|
@@ -94207,7 +94228,7 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94207
94228
|
id: "light",
|
|
94208
94229
|
tab: "light",
|
|
94209
94230
|
title: hasWhite ? "Supplemental light" : "IR illuminator",
|
|
94210
|
-
description: hasWhite ? "
|
|
94231
|
+
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
94232
|
columns: 2,
|
|
94212
94233
|
fields: [
|
|
94213
94234
|
{
|
|
@@ -94215,8 +94236,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94215
94236
|
key: "lightMode",
|
|
94216
94237
|
label: "Mode",
|
|
94217
94238
|
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
94239
|
default: snap.mode ?? cache.lightDefaultMode ?? "irLight",
|
|
94221
94240
|
options: modes.map((m) => ({
|
|
94222
94241
|
value: m,
|
|
@@ -94228,8 +94247,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94228
94247
|
key: "lightBrightnessRegulator",
|
|
94229
94248
|
label: "Brightness regulator",
|
|
94230
94249
|
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
94250
|
default: snap.brightnessRegulatorMode ?? "auto",
|
|
94234
94251
|
options: [{
|
|
94235
94252
|
value: "auto",
|
|
@@ -94246,7 +94263,7 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94246
94263
|
key: "lightIrBrightness",
|
|
94247
94264
|
label: "IR brightness",
|
|
94248
94265
|
labelKey: "provider-hikvision:schema.s_light.lightIrBrightness.label",
|
|
94249
|
-
description: "
|
|
94266
|
+
description: "Only honoured when mode is `irLight` and the regulator is `manual`.",
|
|
94250
94267
|
descriptionKey: "provider-hikvision:schema.s_light.lightIrBrightness.description",
|
|
94251
94268
|
min: 0,
|
|
94252
94269
|
max: 100,
|
|
@@ -94261,7 +94278,7 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94261
94278
|
key: "lightWhiteBrightness",
|
|
94262
94279
|
label: "White-light brightness",
|
|
94263
94280
|
labelKey: "provider-hikvision:schema.s_light.lightWhiteBrightness.label",
|
|
94264
|
-
description: "
|
|
94281
|
+
description: "Only honoured in a white-light mode.",
|
|
94265
94282
|
descriptionKey: "provider-hikvision:schema.s_light.lightWhiteBrightness.description",
|
|
94266
94283
|
min: 0,
|
|
94267
94284
|
max: 100,
|
|
@@ -94279,7 +94296,7 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94279
94296
|
tab: "audio",
|
|
94280
94297
|
title: "Two-way audio",
|
|
94281
94298
|
titleKey: "provider-hikvision:schema.s_two-way-audio-mode.title",
|
|
94282
|
-
description: "
|
|
94299
|
+
description: "`auto` probes for a channel; use `isapi` if the probe fails but the camera accepts audio, `off` to disable.",
|
|
94283
94300
|
descriptionKey: "provider-hikvision:schema.s_two-way-audio-mode.description",
|
|
94284
94301
|
columns: 1,
|
|
94285
94302
|
fields: [{
|
|
@@ -94316,8 +94333,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94316
94333
|
tab: "audio",
|
|
94317
94334
|
title: "Two-way audio channel",
|
|
94318
94335
|
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
94336
|
columns: 2,
|
|
94322
94337
|
fields: [
|
|
94323
94338
|
{
|
|
@@ -94325,7 +94340,7 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94325
94340
|
key: "audioCompressionType",
|
|
94326
94341
|
label: "Audio codec",
|
|
94327
94342
|
labelKey: "provider-hikvision:schema.s_audio.audioCompressionType.label",
|
|
94328
|
-
description: "
|
|
94343
|
+
description: "G.711 µ-law has the broadest compatibility.",
|
|
94329
94344
|
descriptionKey: "provider-hikvision:schema.s_audio.audioCompressionType.description",
|
|
94330
94345
|
default: "",
|
|
94331
94346
|
options: [{
|
|
@@ -94342,8 +94357,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94342
94357
|
key: "audioInputType",
|
|
94343
94358
|
label: "Input source",
|
|
94344
94359
|
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
94360
|
default: "",
|
|
94348
94361
|
options: [{
|
|
94349
94362
|
value: "",
|
|
@@ -94359,8 +94372,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94359
94372
|
key: "audioSpeakerVolume",
|
|
94360
94373
|
label: "Speaker volume",
|
|
94361
94374
|
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
94375
|
min: this.config.get("deviceCache")?.audioCapabilities?.speakerVolumeMin ?? 0,
|
|
94365
94376
|
max: this.config.get("deviceCache")?.audioCapabilities?.speakerVolumeMax ?? 100,
|
|
94366
94377
|
step: 5,
|
|
@@ -94374,8 +94385,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94374
94385
|
key: "audioNoiseReduction",
|
|
94375
94386
|
label: "Noise reduction",
|
|
94376
94387
|
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
94388
|
default: true,
|
|
94380
94389
|
style: "switch",
|
|
94381
94390
|
span: 2
|
|
@@ -94387,7 +94396,7 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94387
94396
|
tab: "streaming",
|
|
94388
94397
|
title: "Snapshot source",
|
|
94389
94398
|
titleKey: "provider-hikvision:schema.s_snapshot-source.title",
|
|
94390
|
-
description: "
|
|
94399
|
+
description: "Pick the sub stream when the main stream is 4K and snapshots only feed thumbnails.",
|
|
94391
94400
|
descriptionKey: "provider-hikvision:schema.s_snapshot-source.description",
|
|
94392
94401
|
columns: 1,
|
|
94393
94402
|
fields: [{
|
|
@@ -94404,7 +94413,7 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94404
94413
|
tab: "alarms",
|
|
94405
94414
|
title: "Motion linkage",
|
|
94406
94415
|
titleKey: "provider-hikvision:schema.s_alarms.title",
|
|
94407
|
-
description: "
|
|
94416
|
+
description: "Methods not listed here (record, email, ftp) are preserved.",
|
|
94408
94417
|
descriptionKey: "provider-hikvision:schema.s_alarms.description",
|
|
94409
94418
|
columns: 2,
|
|
94410
94419
|
fields: [
|
|
@@ -94413,8 +94422,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94413
94422
|
key: "alarmBeep",
|
|
94414
94423
|
label: "Audio beep",
|
|
94415
94424
|
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
94425
|
default: false,
|
|
94419
94426
|
style: "switch"
|
|
94420
94427
|
},
|
|
@@ -94423,7 +94430,7 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94423
94430
|
key: "alarmWhiteLight",
|
|
94424
94431
|
label: "White-light flash",
|
|
94425
94432
|
labelKey: "provider-hikvision:schema.s_alarms.alarmWhiteLight.label",
|
|
94426
|
-
description: "
|
|
94433
|
+
description: "Only effective on cameras with a controllable white-light LED.",
|
|
94427
94434
|
descriptionKey: "provider-hikvision:schema.s_alarms.alarmWhiteLight.description",
|
|
94428
94435
|
default: false,
|
|
94429
94436
|
style: "switch"
|
|
@@ -94433,8 +94440,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94433
94440
|
key: "alarmIoOutput",
|
|
94434
94441
|
label: "IO relay",
|
|
94435
94442
|
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
94443
|
default: false,
|
|
94439
94444
|
style: "switch"
|
|
94440
94445
|
},
|
|
@@ -94443,8 +94448,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94443
94448
|
key: "alarmCenter",
|
|
94444
94449
|
label: "Notification center",
|
|
94445
94450
|
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
94451
|
default: false,
|
|
94449
94452
|
style: "switch"
|
|
94450
94453
|
}
|
|
@@ -94455,8 +94458,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94455
94458
|
tab: "osd",
|
|
94456
94459
|
title: "OSD overlays",
|
|
94457
94460
|
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
94461
|
columns: 2,
|
|
94461
94462
|
fields: [
|
|
94462
94463
|
{
|
|
@@ -94464,8 +94465,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94464
94465
|
key: "_osdDateTimeEnabled",
|
|
94465
94466
|
label: "Date/time visible",
|
|
94466
94467
|
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
94468
|
default: false,
|
|
94470
94469
|
style: "switch"
|
|
94471
94470
|
},
|
|
@@ -94474,8 +94473,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94474
94473
|
key: "_osdChannelNameEnabled",
|
|
94475
94474
|
label: "Channel name visible",
|
|
94476
94475
|
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
94476
|
default: false,
|
|
94480
94477
|
style: "switch"
|
|
94481
94478
|
},
|
|
@@ -94484,8 +94481,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94484
94481
|
key: "_osdTextOverlay1",
|
|
94485
94482
|
label: "Text overlay #1",
|
|
94486
94483
|
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
94484
|
span: 2
|
|
94490
94485
|
},
|
|
94491
94486
|
{
|
|
@@ -94516,7 +94511,7 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94516
94511
|
tab: "advanced",
|
|
94517
94512
|
title: "Advanced",
|
|
94518
94513
|
titleKey: "provider-hikvision:schema.s_advanced.title",
|
|
94519
|
-
description: "
|
|
94514
|
+
description: "Debug flags add log volume; VCA changes require a camera reboot.",
|
|
94520
94515
|
descriptionKey: "provider-hikvision:schema.s_advanced.description",
|
|
94521
94516
|
columns: 1,
|
|
94522
94517
|
fields: [
|
|
@@ -94525,7 +94520,7 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94525
94520
|
key: "vcaResource",
|
|
94526
94521
|
label: "VCA resource",
|
|
94527
94522
|
labelKey: "provider-hikvision:schema.s_advanced.vcaResource.label",
|
|
94528
|
-
description: "
|
|
94523
|
+
description: "`Smart` and `Face snap` disable the third stream; `Close` turns off on-camera AI. Switching reboots the camera.",
|
|
94529
94524
|
descriptionKey: "provider-hikvision:schema.s_advanced.vcaResource.description",
|
|
94530
94525
|
default: "smart",
|
|
94531
94526
|
options: [
|
|
@@ -94551,8 +94546,6 @@ var HikvisionCamera = class HikvisionCamera extends BaseDevice {
|
|
|
94551
94546
|
key: "debugGeneral",
|
|
94552
94547
|
label: "General ISAPI logs",
|
|
94553
94548
|
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
94549
|
default: false,
|
|
94557
94550
|
style: "switch"
|
|
94558
94551
|
},
|
|
@@ -104083,8 +104076,6 @@ function buildCreationFormSchema() {
|
|
|
104083
104076
|
id: "credentials",
|
|
104084
104077
|
title: "Credentials",
|
|
104085
104078
|
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
104079
|
columns: 2,
|
|
104089
104080
|
fields: [{
|
|
104090
104081
|
type: "text",
|
|
@@ -104106,7 +104097,7 @@ function buildCreationFormSchema() {
|
|
|
104106
104097
|
id: "connection",
|
|
104107
104098
|
title: "Connection",
|
|
104108
104099
|
titleKey: "provider-hikvision:creation.s_connection.title",
|
|
104109
|
-
description: "
|
|
104100
|
+
description: "Use 443 with HTTPS for cameras with TLS enabled.",
|
|
104110
104101
|
descriptionKey: "provider-hikvision:creation.s_connection.description",
|
|
104111
104102
|
columns: 2,
|
|
104112
104103
|
fields: [
|
|
@@ -104151,7 +104142,7 @@ function buildDiscoveryParamsFormSchema() {
|
|
|
104151
104142
|
id: "credentials",
|
|
104152
104143
|
title: "Credentials",
|
|
104153
104144
|
titleKey: "provider-hikvision:discoveryParams.s_credentials.title",
|
|
104154
|
-
description: "
|
|
104145
|
+
description: "Assumes all cameras share these credentials.",
|
|
104155
104146
|
descriptionKey: "provider-hikvision:discoveryParams.s_credentials.description",
|
|
104156
104147
|
columns: 2,
|
|
104157
104148
|
fields: [{
|
|
@@ -104173,7 +104164,7 @@ function buildDiscoveryParamsFormSchema() {
|
|
|
104173
104164
|
id: "scan",
|
|
104174
104165
|
title: "Scan options",
|
|
104175
104166
|
titleKey: "provider-hikvision:discoveryParams.s_scan.title",
|
|
104176
|
-
description: "
|
|
104167
|
+
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
104168
|
descriptionKey: "provider-hikvision:discoveryParams.s_scan.description",
|
|
104178
104169
|
columns: 1,
|
|
104179
104170
|
fields: [{
|