@camstack/addon-provider-amcrest 0.2.18 → 0.2.19
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 +2863 -143
- package/dist/addon.mjs +2863 -143
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -4,7 +4,7 @@ var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).expor
|
|
|
4
4
|
//#endregion
|
|
5
5
|
let node_crypto = require("node:crypto");
|
|
6
6
|
let node_os = require("node:os");
|
|
7
|
-
//#region ../types/dist/event-category-
|
|
7
|
+
//#region ../types/dist/event-category-Bxo5yJjt.mjs
|
|
8
8
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
9
9
|
EventCategory["SystemBoot"] = "system.boot";
|
|
10
10
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -211,6 +211,33 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
211
211
|
EventCategory["PipelineCameraAssigned"] = "pipeline.camera-assigned";
|
|
212
212
|
EventCategory["PipelineCameraUnassigned"] = "pipeline.camera-unassigned";
|
|
213
213
|
/**
|
|
214
|
+
* A node the orchestrator would otherwise place cameras on has NO usable
|
|
215
|
+
* inference device: the operator enabled one or more accelerators there and
|
|
216
|
+
* the live probe reports every one of them unavailable. Emitted once per
|
|
217
|
+
* TRANSITION into that state (never per dispatch), and the node is dropped
|
|
218
|
+
* from the placement candidate set for as long as it holds.
|
|
219
|
+
*
|
|
220
|
+
* This exists because the state was previously invisible: little-unraid
|
|
221
|
+
* absorbed 283k inference errors in a day while still being handed cameras,
|
|
222
|
+
* and nothing in the system said so.
|
|
223
|
+
*
|
|
224
|
+
* A node with no accelerators configured at all is NOT this — its devices
|
|
225
|
+
* are `disabled`, not `unavailable`, and the runner's default CPU pool
|
|
226
|
+
* serves it exactly as before.
|
|
227
|
+
*/
|
|
228
|
+
EventCategory["PipelineNodeInferenceUnavailable"] = "pipeline.node-inference-unavailable";
|
|
229
|
+
/**
|
|
230
|
+
* A camera has an OPEN detection session and has produced no detection at
|
|
231
|
+
* all for longer than the blind threshold — the camera is being decoded and
|
|
232
|
+
* inferred and is returning nothing. Emitted once per transition into blind,
|
|
233
|
+
* per camera.
|
|
234
|
+
*
|
|
235
|
+
* The failure it reports: a 1h43 detection blackout on the entrance camera
|
|
236
|
+
* that nobody noticed, because "a camera that detects nothing" and "a quiet
|
|
237
|
+
* camera" produce byte-identical silence.
|
|
238
|
+
*/
|
|
239
|
+
EventCategory["PipelineDetectionBlind"] = "pipeline.detection-blind";
|
|
240
|
+
/**
|
|
214
241
|
* Per-camera pipeline config was mutated by the orchestrator
|
|
215
242
|
* (3-level settings change via `setAgentAddonDefaults` /
|
|
216
243
|
* `setCameraStepToggle` / `setCameraPipelineForAgent` or a
|
|
@@ -3002,6 +3029,9 @@ function handlePipeResult(left, next, ctx) {
|
|
|
3002
3029
|
fallback: left.fallback
|
|
3003
3030
|
}, ctx);
|
|
3004
3031
|
}
|
|
3032
|
+
var $ZodPreprocess = /*@__PURE__*/ $constructor("$ZodPreprocess", (inst, def) => {
|
|
3033
|
+
$ZodPipe.init(inst, def);
|
|
3034
|
+
});
|
|
3005
3035
|
var $ZodReadonly = /*@__PURE__*/ $constructor("$ZodReadonly", (inst, def) => {
|
|
3006
3036
|
$ZodType.init(inst, def);
|
|
3007
3037
|
defineLazy(inst._zod, "propValues", () => def.innerType._zod.propValues);
|
|
@@ -5187,6 +5217,10 @@ function pipe(in_, out) {
|
|
|
5187
5217
|
out
|
|
5188
5218
|
});
|
|
5189
5219
|
}
|
|
5220
|
+
var ZodPreprocess = /*@__PURE__*/ $constructor("ZodPreprocess", (inst, def) => {
|
|
5221
|
+
ZodPipe.init(inst, def);
|
|
5222
|
+
$ZodPreprocess.init(inst, def);
|
|
5223
|
+
});
|
|
5190
5224
|
var ZodReadonly = /*@__PURE__*/ $constructor("ZodReadonly", (inst, def) => {
|
|
5191
5225
|
$ZodReadonly.init(inst, def);
|
|
5192
5226
|
ZodType.init(inst, def);
|
|
@@ -5245,6 +5279,13 @@ function _instanceof(cls, params = {}) {
|
|
|
5245
5279
|
};
|
|
5246
5280
|
return inst;
|
|
5247
5281
|
}
|
|
5282
|
+
function preprocess(fn, schema) {
|
|
5283
|
+
return new ZodPreprocess({
|
|
5284
|
+
type: "pipe",
|
|
5285
|
+
in: transform(fn),
|
|
5286
|
+
out: schema
|
|
5287
|
+
});
|
|
5288
|
+
}
|
|
5248
5289
|
//#endregion
|
|
5249
5290
|
//#region ../../node_modules/zod/v4/classic/compat.js
|
|
5250
5291
|
/** @deprecated Use the raw string literal codes instead, e.g. "invalid_type". */
|
|
@@ -10869,6 +10910,8 @@ var QueryFilterSchema = object({
|
|
|
10869
10910
|
where: record(string(), unknown()).optional(),
|
|
10870
10911
|
whereIn: record(string(), array(unknown())).optional(),
|
|
10871
10912
|
whereBetween: record(string(), tuple([unknown(), unknown()])).optional(),
|
|
10913
|
+
/** NULL-safe exclusion: matches rows whose field is NULL OR != the value. */
|
|
10914
|
+
whereNot: record(string(), unknown()).optional(),
|
|
10872
10915
|
orderBy: object({
|
|
10873
10916
|
field: string(),
|
|
10874
10917
|
direction: _enum(["asc", "desc"])
|
|
@@ -10888,7 +10931,8 @@ var QueryFilterSchema = object({
|
|
|
10888
10931
|
var MutationFilterSchema = object({
|
|
10889
10932
|
where: record(string(), unknown()).optional(),
|
|
10890
10933
|
whereIn: record(string(), array(unknown())).optional(),
|
|
10891
|
-
whereBetween: record(string(), tuple([unknown(), unknown()])).optional()
|
|
10934
|
+
whereBetween: record(string(), tuple([unknown(), unknown()])).optional(),
|
|
10935
|
+
whereNot: record(string(), unknown()).optional()
|
|
10892
10936
|
});
|
|
10893
10937
|
/** A single stored record: `{ id, data }`. */
|
|
10894
10938
|
var SettingsRecordSchema = object({
|
|
@@ -12407,6 +12451,17 @@ var LlmImageSchema = object({
|
|
|
12407
12451
|
bytes: _instanceof(Uint8Array),
|
|
12408
12452
|
mimeType: string()
|
|
12409
12453
|
});
|
|
12454
|
+
/**
|
|
12455
|
+
* Retry policy. `enabled: false` is NOT the same as `maxAttempts: 1` in intent —
|
|
12456
|
+
* the flag is what a consumer table flips, the count is what the operator tunes.
|
|
12457
|
+
* A retry doubles the wall time of a call, so the two gates that run inside a
|
|
12458
|
+
* notification's budget keep it off (see `CONSUMER_RETRY_POLICY` in addon-ai).
|
|
12459
|
+
*/
|
|
12460
|
+
var LlmRetryPolicySchema = object({
|
|
12461
|
+
enabled: boolean().default(false),
|
|
12462
|
+
/** Total attempts INCLUDING the first. 1 = no retry. */
|
|
12463
|
+
maxAttempts: number().int().min(1).max(5).default(1)
|
|
12464
|
+
});
|
|
12410
12465
|
var LlmGenerateBaseInputSchema = object({
|
|
12411
12466
|
/** Collection routing (the notification-output posture). */
|
|
12412
12467
|
addonId: string().optional(),
|
|
@@ -12421,7 +12476,28 @@ var LlmGenerateBaseInputSchema = object({
|
|
|
12421
12476
|
jsonSchema: record(string(), unknown()).optional(),
|
|
12422
12477
|
/** Per-call override of the profile default. */
|
|
12423
12478
|
maxTokens: number().int().positive().optional(),
|
|
12424
|
-
temperature: number().optional()
|
|
12479
|
+
temperature: number().optional(),
|
|
12480
|
+
/** Per-call override of the profile default (nucleus sampling). */
|
|
12481
|
+
topP: number().min(0).max(1).optional(),
|
|
12482
|
+
/** Per-call override of the profile default (top-k sampling). */
|
|
12483
|
+
topK: number().int().positive().optional(),
|
|
12484
|
+
/** Per-call override of `profile.timeoutMs` — the total generation bound. */
|
|
12485
|
+
timeoutMs: number().int().positive().optional(),
|
|
12486
|
+
/** Per-call override; beats both the consumer table and the profile. */
|
|
12487
|
+
retry: LlmRetryPolicySchema.optional(),
|
|
12488
|
+
/**
|
|
12489
|
+
* Caller-minted id that makes this generation CANCELLABLE.
|
|
12490
|
+
*
|
|
12491
|
+
* Without it a caller that stops waiting cannot stop the work: the gates race
|
|
12492
|
+
* the call against 8 s and free their own slot when the timer wins, while the
|
|
12493
|
+
* generation upstream keeps running to `profile.timeoutMs` — 60 s by default,
|
|
12494
|
+
* on a single-threaded local model. The per-camera bound then counts WAITS,
|
|
12495
|
+
* not generations, and the real load is unbounded.
|
|
12496
|
+
*
|
|
12497
|
+
* `AbortSignal` cannot cross a process boundary; an id can. Pass one here and
|
|
12498
|
+
* `llm.cancel({ requestId })` tears the socket down.
|
|
12499
|
+
*/
|
|
12500
|
+
requestId: string().optional()
|
|
12425
12501
|
});
|
|
12426
12502
|
/**
|
|
12427
12503
|
* `llm-runtime` — node-side managed llama.cpp executor (spec §4). Registered
|
|
@@ -12434,6 +12510,18 @@ var LlmGenerateBaseInputSchema = object({
|
|
|
12434
12510
|
* Resource ceiling = llama-server flags + idleStopMinutes ONLY (no RSS
|
|
12435
12511
|
* watchdog — operator decision #3).
|
|
12436
12512
|
*/
|
|
12513
|
+
/**
|
|
12514
|
+
* A companion artifact that MUST land beside the main GGUF: the `mmproj`
|
|
12515
|
+
* projector of a vision model, or shards 2..N of a split GGUF. Carried on the
|
|
12516
|
+
* REF rather than looked up at install time, so what the operator approved in
|
|
12517
|
+
* the preview is exactly what the node downloads.
|
|
12518
|
+
*/
|
|
12519
|
+
var ManagedModelExtraFileSchema = object({
|
|
12520
|
+
url: string(),
|
|
12521
|
+
filename: string(),
|
|
12522
|
+
sizeBytes: number(),
|
|
12523
|
+
sha256: string().optional()
|
|
12524
|
+
});
|
|
12437
12525
|
var ManagedModelRefSchema = discriminatedUnion("kind", [
|
|
12438
12526
|
object({
|
|
12439
12527
|
kind: literal("catalog"),
|
|
@@ -12442,7 +12530,11 @@ var ManagedModelRefSchema = discriminatedUnion("kind", [
|
|
|
12442
12530
|
object({
|
|
12443
12531
|
kind: literal("url"),
|
|
12444
12532
|
url: string(),
|
|
12445
|
-
sha256: string().optional()
|
|
12533
|
+
sha256: string().optional(),
|
|
12534
|
+
/** Picker/status label; the file basename when absent. */
|
|
12535
|
+
label: string().optional(),
|
|
12536
|
+
sizeBytes: number().optional(),
|
|
12537
|
+
extraFiles: array(ManagedModelExtraFileSchema).optional()
|
|
12446
12538
|
}),
|
|
12447
12539
|
object({
|
|
12448
12540
|
kind: literal("path"),
|
|
@@ -12460,13 +12552,82 @@ var ManagedRuntimeConfigSchema = object({
|
|
|
12460
12552
|
gpuLayers: number().int().default(0),
|
|
12461
12553
|
/** Default: cpus-2, clamped ≥1 (resolved node-side). */
|
|
12462
12554
|
threads: number().int().optional(),
|
|
12463
|
-
/** Concurrent slots. */
|
|
12555
|
+
/** Concurrent slots (`--parallel`). */
|
|
12464
12556
|
parallel: number().int().default(1),
|
|
12557
|
+
/** Logical batch size (`-b`). Larger = faster prompt ingest, more RAM. */
|
|
12558
|
+
batchSize: number().int().positive().optional(),
|
|
12559
|
+
/** Physical batch / micro-batch (`-ub`). */
|
|
12560
|
+
ubatchSize: number().int().positive().optional(),
|
|
12561
|
+
/**
|
|
12562
|
+
* `--flash-attn`. Cuts KV-cache memory on the backends that implement it and
|
|
12563
|
+
* is a no-op elsewhere, so it is offered rather than assumed.
|
|
12564
|
+
*/
|
|
12565
|
+
flashAttention: boolean().default(false),
|
|
12566
|
+
/**
|
|
12567
|
+
* `--mlock`. Pins the weights in RAM so the OS cannot page them out mid
|
|
12568
|
+
* inference. Costs the full model size in resident memory — which is exactly
|
|
12569
|
+
* what the RAM budget is counting.
|
|
12570
|
+
*/
|
|
12571
|
+
mlock: boolean().default(false),
|
|
12572
|
+
/**
|
|
12573
|
+
* `--no-mmap`. Reads the whole GGUF up front instead of mapping it. Slower to
|
|
12574
|
+
* start, but avoids the page-fault stalls a network or spinning-disk model
|
|
12575
|
+
* store produces on every first token.
|
|
12576
|
+
*/
|
|
12577
|
+
noMmap: boolean().default(false),
|
|
12578
|
+
/** `--cache-type-k` / `--cache-type-v` — quantising the KV cache is the
|
|
12579
|
+
* cheapest way to fit a longer context in the same RAM. */
|
|
12580
|
+
cacheTypeK: _enum([
|
|
12581
|
+
"f32",
|
|
12582
|
+
"f16",
|
|
12583
|
+
"q8_0",
|
|
12584
|
+
"q5_1",
|
|
12585
|
+
"q5_0",
|
|
12586
|
+
"q4_1",
|
|
12587
|
+
"q4_0"
|
|
12588
|
+
]).optional(),
|
|
12589
|
+
cacheTypeV: _enum([
|
|
12590
|
+
"f32",
|
|
12591
|
+
"f16",
|
|
12592
|
+
"q8_0",
|
|
12593
|
+
"q5_1",
|
|
12594
|
+
"q5_0",
|
|
12595
|
+
"q4_1",
|
|
12596
|
+
"q4_0"
|
|
12597
|
+
]).optional(),
|
|
12598
|
+
/**
|
|
12599
|
+
* Escape hatch for llama-server flags this schema does NOT model — `--jinja`
|
|
12600
|
+
* (which most vision chat templates need and some language-only models
|
|
12601
|
+
* dislike), `--cont-batching`, `--rope-scaling`, …
|
|
12602
|
+
*
|
|
12603
|
+
* It is NOT a second place to set the flags above. A token that collides
|
|
12604
|
+
* with a typed field is REJECTED at start, naming the field that owns it
|
|
12605
|
+
* (`assertNoOwnedFlags`), because two knobs writing the same argv is exactly
|
|
12606
|
+
* the "two switches that disagree" failure this repo has already shipped
|
|
12607
|
+
* twice (D62).
|
|
12608
|
+
*/
|
|
12609
|
+
extraArgs: array(string()).default([]),
|
|
12465
12610
|
/** Else lazy: first generate boots it. */
|
|
12466
12611
|
autoStart: boolean().default(false),
|
|
12467
12612
|
/** 0 = never; frees RAM after quiet periods. */
|
|
12468
12613
|
idleStopMinutes: number().int().default(30)
|
|
12469
12614
|
});
|
|
12615
|
+
/**
|
|
12616
|
+
* Where a multi-GB install currently is. A single 0..1 fraction cannot answer
|
|
12617
|
+
* "is it stuck?" for an install that is three files (shards + mmproj) followed
|
|
12618
|
+
* by a sha256 pass over 22 GB — during which the fraction sat at 1.0 and the
|
|
12619
|
+
* node looked hung. Phase + file + bytes is the smallest shape that does.
|
|
12620
|
+
*/
|
|
12621
|
+
var LlmDownloadProgressSchema = object({
|
|
12622
|
+
phase: _enum(["downloading", "verifying"]),
|
|
12623
|
+
/** The artifact currently moving, e.g. `mmproj-F16.gguf`. */
|
|
12624
|
+
file: string(),
|
|
12625
|
+
fileIndex: number().int(),
|
|
12626
|
+
fileCount: number().int(),
|
|
12627
|
+
/** Across the WHOLE install, not the current file. */
|
|
12628
|
+
downloadedBytes: number(),
|
|
12629
|
+
totalBytes: number().optional()
|
|
12630
|
+
});
|
|
12470
12631
|
var LlmRuntimeStatusSchema = object({
|
|
12471
12632
|
/** Status is ALWAYS node-qualified. */
|
|
12472
12633
|
nodeId: string(),
|
|
@@ -12483,6 +12644,8 @@ var LlmRuntimeStatusSchema = object({
|
|
|
12483
12644
|
modelPath: string().optional(),
|
|
12484
12645
|
modelId: string().optional(),
|
|
12485
12646
|
downloadProgress: number().min(0).max(1).optional(),
|
|
12647
|
+
/** Detail behind `downloadProgress`; present for the same lifetime. */
|
|
12648
|
+
download: LlmDownloadProgressSchema.optional(),
|
|
12486
12649
|
lastError: string().optional(),
|
|
12487
12650
|
crashesInWindow: number(),
|
|
12488
12651
|
/** Child RSS (sampled best-effort). */
|
|
@@ -12493,7 +12656,14 @@ var LlmNodeModelSchema = object({
|
|
|
12493
12656
|
file: string(),
|
|
12494
12657
|
sizeBytes: number(),
|
|
12495
12658
|
catalogId: string().optional(),
|
|
12496
|
-
installedAt: number().optional()
|
|
12659
|
+
installedAt: number().optional(),
|
|
12660
|
+
/**
|
|
12661
|
+
* Absolute path on the node. Present so a file that is on disk but matches
|
|
12662
|
+
* no catalog entry — a custom Hugging Face install, or a GGUF the operator
|
|
12663
|
+
* copied in by hand — is still SELECTABLE, as a `{kind:'path'}` ref. Without
|
|
12664
|
+
* it the picker could list such a file and do nothing with it.
|
|
12665
|
+
*/
|
|
12666
|
+
path: string().optional()
|
|
12497
12667
|
});
|
|
12498
12668
|
var LlmRuntimeDiskUsageSchema = object({
|
|
12499
12669
|
nodeId: string(),
|
|
@@ -12549,10 +12719,47 @@ var LlmProfileSchema = object({
|
|
|
12549
12719
|
baseUrl: string().optional(),
|
|
12550
12720
|
/** ConfigUISchema type:'password' — never round-trips (spec §5). */
|
|
12551
12721
|
apiKey: string().optional(),
|
|
12722
|
+
/** Vision on/off. A vision call against a `false` profile is REFUSED, never
|
|
12723
|
+
* degraded to text — that shipped once and produced a confident answer to a
|
|
12724
|
+
* question about a picture nobody sent. */
|
|
12552
12725
|
supportsVision: boolean(),
|
|
12553
12726
|
temperature: number().min(0).max(2).optional(),
|
|
12727
|
+
/** Nucleus sampling. Every wire we speak has it. */
|
|
12728
|
+
topP: number().min(0).max(1).optional(),
|
|
12729
|
+
/** Top-k sampling. Carried only by the wires that have it — NEITHER OpenAI
|
|
12730
|
+
* wire does, and the client drops it there (measured: the request body gets
|
|
12731
|
+
* `top_p` and no `top_k`). The profile editor hides the field wherever it
|
|
12732
|
+
* would change nothing; `KINDS_WITH_TOP_K` is the single owner of that list. */
|
|
12733
|
+
topK: number().int().positive().optional(),
|
|
12554
12734
|
maxTokens: number().int().positive().optional(),
|
|
12735
|
+
/** Prompt context window. Advisory for cloud kinds (they enforce their own);
|
|
12736
|
+
* for `managed-local` it is the llama.cpp `--ctx-size` the runtime starts
|
|
12737
|
+
* the model with, so it is the one field that changes a PROCESS. */
|
|
12738
|
+
contextLength: number().int().positive().optional(),
|
|
12739
|
+
/** Default system prompt. A caller's `system` REPLACES it (never appends —
|
|
12740
|
+
* two system prompts fighting is worse than either alone). */
|
|
12741
|
+
systemPrompt: string().optional(),
|
|
12742
|
+
/** Total generation bound — the only one a unary call has. */
|
|
12555
12743
|
timeoutMs: number().int().positive().default(6e4),
|
|
12744
|
+
/** The TCP handshake only — "is the port even open". NOT the wait for
|
|
12745
|
+
* response headers: on the LM Studio / llama-server wire those are written
|
|
12746
|
+
* once the model has finished loading, so they belong to the bound below. */
|
|
12747
|
+
connectTimeoutMs: number().int().positive().default(1e4),
|
|
12748
|
+
/** Accepted, but no output yet — response headers included, because a cold
|
|
12749
|
+
* GPU load is exactly what happens before them. */
|
|
12750
|
+
firstTokenTimeoutMs: number().int().positive().default(12e4),
|
|
12751
|
+
/** Output started then stopped. */
|
|
12752
|
+
idleTimeoutMs: number().int().positive().default(6e4),
|
|
12753
|
+
/** Profile-level default. The per-consumer table and a per-call override
|
|
12754
|
+
* both beat it — see `resolveRetryPolicy`. */
|
|
12755
|
+
retry: LlmRetryPolicySchema.default({
|
|
12756
|
+
enabled: false,
|
|
12757
|
+
maxAttempts: 1
|
|
12758
|
+
}),
|
|
12759
|
+
/** Whether this profile may use tools. The tool-call plumbing rides the
|
|
12760
|
+
* library; the REGISTRY of callable tools is ours and is empty in v1, so a
|
|
12761
|
+
* `true` here buys the wiring, not behaviour, until tools are registered. */
|
|
12762
|
+
toolsEnabled: boolean().default(false),
|
|
12556
12763
|
extraHeaders: record(string(), string()).optional(),
|
|
12557
12764
|
/** kind === 'managed-local' only (spec §4). */
|
|
12558
12765
|
runtime: ManagedRuntimeConfigSchema.optional()
|
|
@@ -12602,6 +12809,36 @@ var ManagedModelCatalogEntrySchema = object({
|
|
|
12602
12809
|
/** Vision models: companion projector file. */
|
|
12603
12810
|
mmprojUrl: string().optional()
|
|
12604
12811
|
});
|
|
12812
|
+
/**
|
|
12813
|
+
* The outcome of turning one operator-typed Hugging Face reference into a
|
|
12814
|
+
* download plan. A RESULT, never a throw: "this repo has 24 quantizations and
|
|
12815
|
+
* I will not pick for you" is a normal answer the UI has to render, not an
|
|
12816
|
+
* exception.
|
|
12817
|
+
*
|
|
12818
|
+
* `candidates` is the whole reason the refusal is usable — every string in it
|
|
12819
|
+
* is a tag that resolves when pasted back as `<org>/<repo>:<TAG>`.
|
|
12820
|
+
*/
|
|
12821
|
+
var HfModelResolutionSchema = discriminatedUnion("ok", [object({
|
|
12822
|
+
ok: literal(true),
|
|
12823
|
+
/** Ready to hand to `installModel` unchanged. */
|
|
12824
|
+
model: ManagedModelRefSchema,
|
|
12825
|
+
label: string(),
|
|
12826
|
+
repo: string(),
|
|
12827
|
+
quantization: string(),
|
|
12828
|
+
purpose: _enum(["text", "vision"]),
|
|
12829
|
+
totalBytes: number(),
|
|
12830
|
+
/** mmproj + shards, for the preview: an operator approving 23 GB should
|
|
12831
|
+
* see that 0.9 GB of it is a projector they did not name. */
|
|
12832
|
+
extraFilenames: array(string())
|
|
12833
|
+
}), object({
|
|
12834
|
+
ok: literal(false),
|
|
12835
|
+
code: string(),
|
|
12836
|
+
message: string(),
|
|
12837
|
+
candidates: array(string()).optional(),
|
|
12838
|
+
/** Set when the refusal was only the ceiling: re-calling with
|
|
12839
|
+
* `maxBytes: requiredBytes` is the operator's explicit override. */
|
|
12840
|
+
requiredBytes: number().optional()
|
|
12841
|
+
})]);
|
|
12605
12842
|
var LlmRuntimeNodeSchema = object({
|
|
12606
12843
|
nodeId: string(),
|
|
12607
12844
|
reachable: boolean(),
|
|
@@ -12614,7 +12851,10 @@ var ProfileRefInputSchema = object({
|
|
|
12614
12851
|
addonId: string(),
|
|
12615
12852
|
profileId: string()
|
|
12616
12853
|
});
|
|
12617
|
-
method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(GenerateVisionInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(object({
|
|
12854
|
+
method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(GenerateVisionInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(object({
|
|
12855
|
+
addonId: string().optional(),
|
|
12856
|
+
requestId: string()
|
|
12857
|
+
}), _void(), { kind: "mutation" }), method(object({}), array(LlmProfileKindDescriptorSchema)), method(object({}), array(LlmProfileSchema)), method(object({ profile: LlmProfileSchema }), LlmProfileSchema, {
|
|
12618
12858
|
kind: "mutation",
|
|
12619
12859
|
auth: "admin"
|
|
12620
12860
|
}), method(ProfileRefInputSchema, _void(), {
|
|
@@ -12635,6 +12875,15 @@ method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, { kind: "mutation" }
|
|
|
12635
12875
|
consumer: string().optional(),
|
|
12636
12876
|
profileId: string().optional()
|
|
12637
12877
|
}), array(LlmUsageRollupSchema)), method(object({}), array(ManagedModelCatalogEntrySchema)), method(object({}), array(LlmRuntimeNodeSchema)), method(object({ nodeId: string() }), array(LlmNodeModelSchema)), method(object({
|
|
12878
|
+
/** `https://huggingface.co/<org>/<repo>/resolve/main/<f>.gguf`,
|
|
12879
|
+
* `<org>/<repo>/<f>.gguf`, `<org>/<repo>` or `<org>/<repo>:<QUANT>`. */
|
|
12880
|
+
ref: string(),
|
|
12881
|
+
/** Explicit ceiling override, in bytes. Absent = the built-in ceiling. */
|
|
12882
|
+
maxBytes: number().positive().optional()
|
|
12883
|
+
}), HfModelResolutionSchema, {
|
|
12884
|
+
kind: "mutation",
|
|
12885
|
+
auth: "admin"
|
|
12886
|
+
}), method(object({
|
|
12638
12887
|
nodeId: string(),
|
|
12639
12888
|
model: ManagedModelRefSchema
|
|
12640
12889
|
}), _void(), {
|
|
@@ -14282,6 +14531,8 @@ var NcSystemEventKindSchema = _enum([
|
|
|
14282
14531
|
"stream-offline",
|
|
14283
14532
|
"node-online",
|
|
14284
14533
|
"node-offline",
|
|
14534
|
+
"node-inference-unavailable",
|
|
14535
|
+
"detection-blind",
|
|
14285
14536
|
"addon-update-available",
|
|
14286
14537
|
"server-update-available",
|
|
14287
14538
|
"alarm-triggered",
|
|
@@ -14343,7 +14594,16 @@ var NcScheduleSchema = object({
|
|
|
14343
14594
|
});
|
|
14344
14595
|
/** Fuzzy plate matcher — OCR noise makes exact match useless (spec row 12/13). */
|
|
14345
14596
|
var NcPlateMatcherSchema = object({
|
|
14346
|
-
|
|
14597
|
+
/**
|
|
14598
|
+
* Plate texts (or gallery vehicle names) to match. EMPTY = **any plate the
|
|
14599
|
+
* pipeline could read** — the plate half of "no selection = no narrowing",
|
|
14600
|
+
* and the switch that says this rule is about vehicles that were IDENTIFIED
|
|
14601
|
+
* rather than merely seen. A subject carrying no plate still fails.
|
|
14602
|
+
*
|
|
14603
|
+
* The `.min(1)` this used to carry made that state unauthorable; nothing has
|
|
14604
|
+
* ever persisted an empty list, so widening it cannot change an existing rule.
|
|
14605
|
+
*/
|
|
14606
|
+
values: array(string().min(1)),
|
|
14347
14607
|
/** Max Levenshtein distance after normalization (uppercase alphanumeric). */
|
|
14348
14608
|
maxDistance: number().int().min(0).max(3).default(1)
|
|
14349
14609
|
});
|
|
@@ -14377,28 +14637,36 @@ var NcOccupancyConditionSchema = object({
|
|
|
14377
14637
|
/**
|
|
14378
14638
|
* Audio condition (IMMEDIATE trigger) — a rule on SOUND, not on a picture.
|
|
14379
14639
|
*
|
|
14380
|
-
*
|
|
14381
|
-
*
|
|
14382
|
-
*
|
|
14383
|
-
*
|
|
14384
|
-
*
|
|
14385
|
-
*
|
|
14386
|
-
*
|
|
14387
|
-
*
|
|
14388
|
-
*
|
|
14389
|
-
*
|
|
14390
|
-
*
|
|
14391
|
-
*
|
|
14392
|
-
*
|
|
14393
|
-
*
|
|
14394
|
-
*
|
|
14395
|
-
*
|
|
14396
|
-
*
|
|
14397
|
-
*
|
|
14398
|
-
*
|
|
14399
|
-
*
|
|
14400
|
-
*
|
|
14401
|
-
* `
|
|
14640
|
+
* **TWO EXCLUSIVE MODES** (operator decision 2026-08-14, D157). Which one a
|
|
14641
|
+
* rule is in is not a stored field — it is WHICH FILTER the rule carries, so
|
|
14642
|
+
* there is no second switch that can disagree with the first and every rule
|
|
14643
|
+
* authored before the decision migrates for free (`audioModeOf`):
|
|
14644
|
+
*
|
|
14645
|
+
* - **LABEL mode — `labels` present.** The rule fires on the FIRST frame the
|
|
14646
|
+
* classifier labels with one of them. No window, no percentage:
|
|
14647
|
+
* `hitPercent` and `samplingSeconds` are ignored, and the rule's own
|
|
14648
|
+
* `throttle` cooldown is the only brake. The per-label confidence floor is
|
|
14649
|
+
* the analyzer's (`classificationMinScore`, per device) — a label only
|
|
14650
|
+
* reaches this condition if the classifier was already confident enough.
|
|
14651
|
+
* - **LEVEL mode — `dbThreshold` present, no labels.** The sampling window IS
|
|
14652
|
+
* the condition: at least `hitPercent`% of the samples over
|
|
14653
|
+
* `samplingSeconds` must be at or above `dbThreshold` dBFS (see
|
|
14654
|
+
* {@link NC_AUDIO_DBFS_FLOOR}: negative-going, `0` = full scale). The window
|
|
14655
|
+
* must be FULL before it can match — a window open for two of its ten
|
|
14656
|
+
* seconds is 100% of nothing.
|
|
14657
|
+
*
|
|
14658
|
+
* **Why label mode has no window.** It had one, and it never fired: the
|
|
14659
|
+
* analyzer emits ~1 audio frame per second but YAMNet only LABELS one to three
|
|
14660
|
+
* of them per episode, even through continuous crying. The measured maximum
|
|
14661
|
+
* `hitPercent` over the whole live history was 40 — under the shipped default
|
|
14662
|
+
* of 60, so a label rule could not fire at all, ever. A percentage of frames is
|
|
14663
|
+
* the wrong question to ask of a sparse classifier.
|
|
14664
|
+
*
|
|
14665
|
+
* **Fail-closed when NEITHER is given** — every sample would be a trivial hit
|
|
14666
|
+
* and the rule would fire on silence. The schema cannot express "exactly one
|
|
14667
|
+
* of" without becoming a ZodEffects the cap path would have to special-case, so
|
|
14668
|
+
* the exclusivity is enforced where every editor writes (`patchAudio`) and a
|
|
14669
|
+
* legacy rule carrying both resolves to LABEL (the mode that fires).
|
|
14402
14670
|
*
|
|
14403
14671
|
* Labels are the audio macro classes (`AUDIO_MACRO_LABELS` / the NC taxonomy's
|
|
14404
14672
|
* `audio-*` ids). Both spellings are accepted — the matcher normalizes the
|
|
@@ -14406,13 +14674,13 @@ var NcOccupancyConditionSchema = object({
|
|
|
14406
14674
|
* an operator who typed `dog` mean the same thing.
|
|
14407
14675
|
*/
|
|
14408
14676
|
var NcAudioConditionSchema = object({
|
|
14409
|
-
/**
|
|
14677
|
+
/** LABEL MODE: audio macro labels. Present ⇒ fires on the first labelled frame. */
|
|
14410
14678
|
labels: array(string().min(1)).min(1).optional(),
|
|
14411
|
-
/**
|
|
14679
|
+
/** LEVEL MODE: floor in dBFS (negative-going, `0` = full scale). */
|
|
14412
14680
|
dbThreshold: number().min(-96).max(0).optional(),
|
|
14413
|
-
/**
|
|
14681
|
+
/** LEVEL MODE ONLY: percentage of the window's samples that must be hits (1–100). */
|
|
14414
14682
|
hitPercent: number().int().min(1).max(100).default(60),
|
|
14415
|
-
/**
|
|
14683
|
+
/** LEVEL MODE ONLY: length of the sampling window in seconds. */
|
|
14416
14684
|
samplingSeconds: number().int().min(1).max(300).default(10)
|
|
14417
14685
|
});
|
|
14418
14686
|
/**
|
|
@@ -14550,13 +14818,81 @@ var NcRuleActionsSchema = object({
|
|
|
14550
14818
|
*/
|
|
14551
14819
|
buttons: array(NcRuleNotificationButtonSchema).max(8).optional()
|
|
14552
14820
|
});
|
|
14821
|
+
/**
|
|
14822
|
+
* "This rule applies only while `deviceId` is in one of `states`."
|
|
14823
|
+
*
|
|
14824
|
+
* The states are the DEVICE's own vocabulary — `AlarmState` for a panel,
|
|
14825
|
+
* `on`/`off` for a switch — not a normalised set, because normalising would
|
|
14826
|
+
* make the condition lie about devices whose states have no equivalent.
|
|
14827
|
+
*
|
|
14828
|
+
* An unreadable state does NOT match: see the engine's fail-closed gate. A
|
|
14829
|
+
* condition that fired on "I could not read it" would be worse than no gate.
|
|
14830
|
+
*/
|
|
14831
|
+
var NcDeviceStateConditionSchema = object({
|
|
14832
|
+
deviceId: number().int(),
|
|
14833
|
+
/** Any of these matches. */
|
|
14834
|
+
states: array(string().min(1)).min(1)
|
|
14835
|
+
});
|
|
14836
|
+
/**
|
|
14837
|
+
* "This rule applies only while scene `sceneId` is `matched` / `diverged`."
|
|
14838
|
+
*
|
|
14839
|
+
* A GATE, not a trigger. `occupancy` and `audio` each DISCRIMINATE their rule —
|
|
14840
|
+
* carrying one makes the rule fire on that subject and nothing else. Scene is
|
|
14841
|
+
* the other shape entirely, the `deviceState` shape: it narrows a rule that
|
|
14842
|
+
* already has a trigger ("tell me about a person at the front door, but only
|
|
14843
|
+
* while the bin is still out"). That is why it composes with every delivery
|
|
14844
|
+
* instead of owning one, and why no new `NcDelivery` member and no new subject
|
|
14845
|
+
* kind exist for it — see D159.
|
|
14846
|
+
*
|
|
14847
|
+
* ── Identity ───────────────────────────────────────────────────────────────
|
|
14848
|
+
* `sceneId` is `SceneMonitor.id`, a `randomUUID()` minted by `createScene` —
|
|
14849
|
+
* globally unique, so it needs no device to disambiguate it. `deviceId` is
|
|
14850
|
+
* carried as a HINT for the editor and for the log line, never as part of the
|
|
14851
|
+
* lookup key: a rule whose hint drifted must still gate correctly.
|
|
14852
|
+
*
|
|
14853
|
+
* ── Which boolean ──────────────────────────────────────────────────────────
|
|
14854
|
+
* `latched` ABSENT means "whatever the scene itself says" — `SceneMonitor.emit`
|
|
14855
|
+
* already declares which boolean drives notification rules, and a second knob
|
|
14856
|
+
* that could disagree with it is exactly the D62 failure. Set it only to
|
|
14857
|
+
* override one rule against the scene's own default.
|
|
14858
|
+
*
|
|
14859
|
+
* - LIVE reading (`emit`/`latched` resolve to live): passes iff
|
|
14860
|
+
* `verdict === requiredState`. `unknown` — no reference for this light, view
|
|
14861
|
+
* shifted, no snapshot — passes NEITHER. A scene that cannot judge is not
|
|
14862
|
+
* evidence, in either direction.
|
|
14863
|
+
* - LATCHED reading: passes iff `latched === (requiredState === 'diverged')`.
|
|
14864
|
+
* The latch is a durable fact about the past ("it has diverged since I armed
|
|
14865
|
+
* it"), so a camera that has gone dark does not clear it — that is the whole
|
|
14866
|
+
* reason the operator asked for a latch.
|
|
14867
|
+
*
|
|
14868
|
+
* The gate reads an in-memory mirror (`NcSceneStateCache`) refreshed OFF the
|
|
14869
|
+
* event path, never the cap: D49. A mirror that has never loaded, or a scene it
|
|
14870
|
+
* does not carry, reads absent and the rule does NOT fire — fail closed, and
|
|
14871
|
+
* said out loud in the log rather than dropped in silence.
|
|
14872
|
+
*/
|
|
14873
|
+
var NcSceneConditionSchema = object({
|
|
14874
|
+
/** `SceneMonitor.id` — the uuid the cap mints. The whole lookup key. */
|
|
14875
|
+
sceneId: string().min(1),
|
|
14876
|
+
/** The camera the scene lives on. A hint for the editor and the log line. */
|
|
14877
|
+
deviceId: number().int().optional(),
|
|
14878
|
+
/** The state the scene must be in for the rule to fire. */
|
|
14879
|
+
requiredState: _enum(["matched", "diverged"]),
|
|
14880
|
+
/**
|
|
14881
|
+
* Read the LATCH (`true`) or the LIVE verdict (`false`). Absent = follow the
|
|
14882
|
+
* scene's own `emit` field, which is the only place that decision belongs.
|
|
14883
|
+
*/
|
|
14884
|
+
latched: boolean().optional()
|
|
14885
|
+
});
|
|
14553
14886
|
var NcConditionsSchema = object({
|
|
14554
14887
|
/** Gate on ANOTHER device's current state (the alarm armed, a switch on). */
|
|
14555
|
-
deviceState:
|
|
14556
|
-
|
|
14557
|
-
|
|
14558
|
-
|
|
14559
|
-
|
|
14888
|
+
deviceState: NcDeviceStateConditionSchema.optional(),
|
|
14889
|
+
/**
|
|
14890
|
+
* Gate on a SCENE's state — "only while the bin is still out". Composes with
|
|
14891
|
+
* every trigger (detection, occupancy, audio, sensor, package, track-end);
|
|
14892
|
+
* unlike `occupancy`/`audio` it discriminates nothing. See
|
|
14893
|
+
* {@link NcSceneCondition} and D159.
|
|
14894
|
+
*/
|
|
14895
|
+
scene: NcSceneConditionSchema.optional(),
|
|
14560
14896
|
/** Device scope — absent = all devices. */
|
|
14561
14897
|
devices: array(number()).optional(),
|
|
14562
14898
|
/** Detector class names (any overlap with the record's class set). */
|
|
@@ -14582,18 +14918,47 @@ var NcConditionsSchema = object({
|
|
|
14582
14918
|
*/
|
|
14583
14919
|
labelEquals: array(string().min(1)).optional(),
|
|
14584
14920
|
/**
|
|
14585
|
-
*
|
|
14586
|
-
*
|
|
14587
|
-
*
|
|
14921
|
+
* KNOWN FACES — the rule's identity scope, and the switch that says the rule
|
|
14922
|
+
* is about recognised people at all.
|
|
14923
|
+
*
|
|
14924
|
+
* Three states, and the empty one is the point:
|
|
14925
|
+
*
|
|
14926
|
+
* | value | meaning |
|
|
14927
|
+
* | --- | --- |
|
|
14928
|
+
* | absent | the rule does not care who it is; an unrecognised person matches |
|
|
14929
|
+
* | `[]` | **only known faces** — any identity in the gallery, nobody in particular |
|
|
14930
|
+
* | a list | only these identities |
|
|
14931
|
+
*
|
|
14932
|
+
* `[]` is the repo-wide "no selection = no narrowing" reading (an absent
|
|
14933
|
+
* `devices` list is every device), applied one level down: the operator has
|
|
14934
|
+
* turned the face scope ON and narrowed it to nothing, which is every known
|
|
14935
|
+
* face. No second field states the same thing — a switch that can disagree
|
|
14936
|
+
* with the list under it is worse than no switch (D62).
|
|
14937
|
+
*
|
|
14938
|
+
* MEMBERS ARE FACE-GALLERY `Identity.id`s (uuid), not display names. A name is
|
|
14939
|
+
* renameable, and a rule authored on "Gianluca" went silently dark the moment
|
|
14940
|
+
* the operator fixed the spelling. The id reaches the record on
|
|
14941
|
+
* `LabelAttribution.identityId`; the name is what the editor shows and what
|
|
14942
|
+
* `{{label}}` renders.
|
|
14943
|
+
*
|
|
14944
|
+
* Rules written before this carry NAMES, and are resolved to ids lazily at
|
|
14945
|
+
* load (`NcRuleStore.load`) against the live gallery — a name nothing answers
|
|
14946
|
+
* for is left as it stands and reported, never dropped. The engine also
|
|
14947
|
+
* accepts a display-name hit as a compatibility leg, so a rule whose
|
|
14948
|
+
* migration could not resolve keeps matching exactly what it matched before.
|
|
14588
14949
|
*/
|
|
14589
14950
|
identities: array(string().min(1)).optional(),
|
|
14590
|
-
/**
|
|
14951
|
+
/**
|
|
14952
|
+
* KNOWN PLATES / VEHICLES — the plate mirror of {@link identities}, including
|
|
14953
|
+
* the empty-list reading: `values: []` is "any plate the OCR could read",
|
|
14954
|
+
* a non-empty list is those plates (fuzzily). See {@link NcPlateMatcherSchema}.
|
|
14955
|
+
*/
|
|
14591
14956
|
plates: NcPlateMatcherSchema.optional(),
|
|
14592
14957
|
/**
|
|
14593
|
-
* Identity EXCLUDE — mirror of {@link identities} with `notIn` semantics
|
|
14594
|
-
*
|
|
14595
|
-
* identity
|
|
14596
|
-
*
|
|
14958
|
+
* Identity EXCLUDE — mirror of {@link identities} with `notIn` semantics, and
|
|
14959
|
+
* the same id members and the same lazy name→id migration. A record with NO
|
|
14960
|
+
* identity passes (nothing to exclude), unlike the include variant which
|
|
14961
|
+
* fails on an unrecognised subject. An EMPTY list excludes nobody.
|
|
14597
14962
|
*/
|
|
14598
14963
|
identitiesExclude: array(string().min(1)).optional(),
|
|
14599
14964
|
/**
|
|
@@ -14985,7 +15350,80 @@ var NcRuleInputSchema = object({
|
|
|
14985
15350
|
* a rule that predates the gate must keep delivering byte-for-byte as it
|
|
14986
15351
|
* did, and absent is the only way to say that without a migration.
|
|
14987
15352
|
*/
|
|
14988
|
-
confirm: NcConfirmSchema.optional()
|
|
15353
|
+
confirm: NcConfirmSchema.optional(),
|
|
15354
|
+
/**
|
|
15355
|
+
* WAIT for face/plate recognition before saying anything.
|
|
15356
|
+
*
|
|
15357
|
+
* A notification's TEXT is frozen at enqueue and its media is re-resolved at
|
|
15358
|
+
* send; the identity is neither. A face is confirmed after `confirmFrames`
|
|
15359
|
+
* agreeing observations — p50 **11.4 s** after the track was first seen,
|
|
15360
|
+
* measured on this hub — and an `immediate` rule enqueues on the first object
|
|
15361
|
+
* event, seconds before that. So "Gianluca è arrivato" is unsayable on the
|
|
15362
|
+
* immediate path, and no amount of media re-resolution fixes a sentence.
|
|
15363
|
+
*
|
|
15364
|
+
* Only two honest answers exist, and this flag picks between them. It has
|
|
15365
|
+
* effect ONLY on a rule that declares a recognition scope
|
|
15366
|
+
* ({@link NcConditions.identities} or {@link NcConditions.plates}) — on any
|
|
15367
|
+
* other rule there is nothing to wait for and the flag is inert.
|
|
15368
|
+
*
|
|
15369
|
+
* | value | what happens |
|
|
15370
|
+
* | --- | --- |
|
|
15371
|
+
* | `true` | the rule stops firing on the object event and fires at TRACK CLOSE instead, once, with the name — later, and complete |
|
|
15372
|
+
* | absent / `false` | it fires at once WITHOUT the name, and if recognition lands before the track closes a SECOND, "…is Gianluca" notification follows (one per track, per rule, per target) |
|
|
15373
|
+
*
|
|
15374
|
+
* `.optional()` and deliberately NOT `.default()`: a Zod default does not run
|
|
15375
|
+
* on the addon cap path, and absent has to keep meaning exactly what every
|
|
15376
|
+
* rule authored before this field meant.
|
|
15377
|
+
*
|
|
15378
|
+
* The cost of `true` is stated here because the editor states it too: a rule
|
|
15379
|
+
* that waits also inherits track-close SEMANTICS — its `zones` condition
|
|
15380
|
+
* tests every zone the track visited and a `crossing` condition can no longer
|
|
15381
|
+
* be satisfied, because a closed track carries no crossing.
|
|
15382
|
+
*/
|
|
15383
|
+
waitForEnhancement: boolean().optional(),
|
|
15384
|
+
/**
|
|
15385
|
+
* GROUP a burst of subjects into ONE notification that grows.
|
|
15386
|
+
*
|
|
15387
|
+
* Seconds of quiet after the last matching subject before the burst is
|
|
15388
|
+
* considered over. While it is open, the first subject enqueues immediately —
|
|
15389
|
+
* **exactly as today, with no added latency** — and every real growth (a new
|
|
15390
|
+
* subject, or a name confirmed on one already in it) REPLACES that
|
|
15391
|
+
* notification with an updated one naming everybody. The push carries the
|
|
15392
|
+
* group's own coalescing tag, so the phone replaces rather than stacks.
|
|
15393
|
+
*
|
|
15394
|
+
* `0` / absent = off, and off is today's behaviour byte for byte.
|
|
15395
|
+
*
|
|
15396
|
+
* ### Why an idle cutoff and not a window
|
|
15397
|
+
*
|
|
15398
|
+
* The measured seven-person arrival on device 590 spans 110 s with every
|
|
15399
|
+
* internal gap under 30 s. A 12 s fixed window cuts it into three groups; an
|
|
15400
|
+
* idle cutoff holds it as one and ends it when the arrival actually ends.
|
|
15401
|
+
* 30 is Frigate's shipped value for the same decision.
|
|
15402
|
+
*
|
|
15403
|
+
* ### What it replaces
|
|
15404
|
+
*
|
|
15405
|
+
* The blind cooldown, which collapses a burst by DISCARDING it. Measured on
|
|
15406
|
+
* device 615 / *Persona su Uscio* over six days: 116 qualifying tracks → 74
|
|
15407
|
+
* notifications, **44 (37.9%) suppressed outright**, 23 of them overlapping a
|
|
15408
|
+
* track that did fire and 7 carrying a confirmed identity nobody heard about.
|
|
15409
|
+
* A group collapses the same volume by MERGING, so the cooldown becomes a
|
|
15410
|
+
* budget over GROUPS — which is what it always meant — and a growth is never
|
|
15411
|
+
* throttled by the window its own first member spent.
|
|
15412
|
+
*
|
|
15413
|
+
* ### Interaction with {@link waitForEnhancement}
|
|
15414
|
+
*
|
|
15415
|
+
* They compose, and the order matters. `waitForEnhancement` defers the rule to
|
|
15416
|
+
* TRACK CLOSE, so with both set the group is opened by the first member to
|
|
15417
|
+
* CLOSE — already carrying its name — and grows as later members close. That
|
|
15418
|
+
* is later, and complete. With grouping alone the group opens on the first
|
|
15419
|
+
* object event and picks up names as they are confirmed, through the growth
|
|
15420
|
+
* path. Neither combination fires twice for one subject.
|
|
15421
|
+
*
|
|
15422
|
+
* `.optional()` and deliberately NOT `.default()`: a Zod default does not run
|
|
15423
|
+
* on the addon cap path, so absent must keep meaning what it meant before this
|
|
15424
|
+
* field existed.
|
|
15425
|
+
*/
|
|
15426
|
+
groupIdleSec: number().int().min(0).max(600).optional()
|
|
14989
15427
|
});
|
|
14990
15428
|
/**
|
|
14991
15429
|
* Partial patch for `updateRule` — any subset of the input fields, plus the
|
|
@@ -15092,6 +15530,7 @@ var NcConditionDescriptorSchema = object({
|
|
|
15092
15530
|
"occupancy",
|
|
15093
15531
|
"audio",
|
|
15094
15532
|
"deviceState",
|
|
15533
|
+
"scene",
|
|
15095
15534
|
"systemEvent"
|
|
15096
15535
|
]),
|
|
15097
15536
|
operator: _enum([
|
|
@@ -15497,7 +15936,87 @@ var MethodAccessSchema = _enum([
|
|
|
15497
15936
|
var AllowedProviderSchema = union([literal("*"), array(string())]);
|
|
15498
15937
|
var AllowedDevicesSchema = record(string(), union([literal("*"), array(string())]));
|
|
15499
15938
|
var CapScopeSchema = _enum(["device", "system"]);
|
|
15500
|
-
|
|
15939
|
+
/**
|
|
15940
|
+
* DeviceSelector (scope model v3 — 2026-08-12).
|
|
15941
|
+
*
|
|
15942
|
+
* A `device` grant no longer carries a frozen list of deviceIds. It carries
|
|
15943
|
+
* a SELECTOR the matcher resolves against the live fleet, so the grant can be
|
|
15944
|
+
* DYNAMIC: a `types:['camera']` selector automatically covers a camera added
|
|
15945
|
+
* AFTER the grant was minted — no re-grant, no re-login.
|
|
15946
|
+
*
|
|
15947
|
+
* - `all` — every device in the deployment. The broad viewer/operator
|
|
15948
|
+
* lever without a `category` grant (a `category` grant also covers device
|
|
15949
|
+
* caps that carry no deviceId; `all` is specifically the device set).
|
|
15950
|
+
* - `ids` — an explicit deviceId list. This is what a v2 `device:[…]`
|
|
15951
|
+
* grant migrates to (see {@link TokenScopeSchema}); STATIC — a new camera
|
|
15952
|
+
* is NOT covered until the grant is edited.
|
|
15953
|
+
* - `types` — every device of a `DeviceType` (e.g. every `camera`).
|
|
15954
|
+
* DYNAMIC. A device that changes type, or a new device of the type,
|
|
15955
|
+
* re-resolves on the next request.
|
|
15956
|
+
* - `locations` — every device whose operator-assigned `location` label is
|
|
15957
|
+
* in the set (e.g. "Garden", "Front door"). DYNAMIC. A device with a
|
|
15958
|
+
* null/unset location matches NO `locations` selector.
|
|
15959
|
+
*/
|
|
15960
|
+
var DeviceSelectorSchema = discriminatedUnion("kind", [
|
|
15961
|
+
object({ kind: literal("all") }),
|
|
15962
|
+
object({
|
|
15963
|
+
kind: literal("ids"),
|
|
15964
|
+
ids: array(number().int()).min(1)
|
|
15965
|
+
}),
|
|
15966
|
+
object({
|
|
15967
|
+
kind: literal("types"),
|
|
15968
|
+
types: array(_enum(DeviceType)).min(1)
|
|
15969
|
+
}),
|
|
15970
|
+
object({
|
|
15971
|
+
kind: literal("locations"),
|
|
15972
|
+
locations: array(string().min(1)).min(1)
|
|
15973
|
+
})
|
|
15974
|
+
]);
|
|
15975
|
+
var DeviceTokenScopeSchema = object({
|
|
15976
|
+
type: literal("device"),
|
|
15977
|
+
/** The device SET this grant covers — resolved against the live fleet. */
|
|
15978
|
+
selector: DeviceSelectorSchema,
|
|
15979
|
+
access: array(MethodAccessSchema).min(1),
|
|
15980
|
+
/**
|
|
15981
|
+
* Whether a grant on a PARENT device transparently covers its accessory
|
|
15982
|
+
* CHILDREN (siren / floodlight / PIR) via the persisted-parentage walk.
|
|
15983
|
+
* Direction is parent → children ONLY.
|
|
15984
|
+
*
|
|
15985
|
+
* Absent → the matcher DERIVES it from the access flavour: `view`
|
|
15986
|
+
* inherits (a camera viewer sees the camera's accessories), `create` /
|
|
15987
|
+
* `delete` do NOT (actuating/removing a child is an explicit act the
|
|
15988
|
+
* operator must grant on the child, not inherit from the parent). Set it
|
|
15989
|
+
* explicitly to override that default per grant.
|
|
15990
|
+
*/
|
|
15991
|
+
includeLinked: boolean().optional()
|
|
15992
|
+
});
|
|
15993
|
+
/**
|
|
15994
|
+
* v2 → v3 lazy migration. A pre-v3 `device` grant carried
|
|
15995
|
+
* `targets: string[]` (stringified deviceIds); it rewrites to the equivalent
|
|
15996
|
+
* `selector: {kind:'ids', ids}`. Applied as a `preprocess` so it runs on
|
|
15997
|
+
* EVERY parse path — stored records AND the JWT-carried scope arrays
|
|
15998
|
+
* normalised at the request boundary ({@link normalizeTokenScopes} in
|
|
15999
|
+
* `device-selector.ts`). Chosen over a one-time DB migration because a
|
|
16000
|
+
* migration cannot reach a JWT already in a client's hands; parse-time
|
|
16001
|
+
* migration covers both without a flag day. No cast — the raw object is read
|
|
16002
|
+
* through `Reflect.get` (its static type is `unknown`).
|
|
16003
|
+
*/
|
|
16004
|
+
function migrateLegacyTokenScope(raw) {
|
|
16005
|
+
if (raw === null || typeof raw !== "object" || Array.isArray(raw)) return raw;
|
|
16006
|
+
if (Reflect.get(raw, "type") !== "device") return raw;
|
|
16007
|
+
if (Reflect.get(raw, "selector") !== void 0) return raw;
|
|
16008
|
+
const targets = Reflect.get(raw, "targets");
|
|
16009
|
+
if (!Array.isArray(targets)) return raw;
|
|
16010
|
+
return {
|
|
16011
|
+
type: "device",
|
|
16012
|
+
selector: {
|
|
16013
|
+
kind: "ids",
|
|
16014
|
+
ids: targets.map((t) => typeof t === "string" ? Number(t) : t).filter((n) => typeof n === "number" && Number.isInteger(n))
|
|
16015
|
+
},
|
|
16016
|
+
access: Reflect.get(raw, "access")
|
|
16017
|
+
};
|
|
16018
|
+
}
|
|
16019
|
+
var TokenScopeSchema = preprocess(migrateLegacyTokenScope, discriminatedUnion("type", [
|
|
15501
16020
|
object({
|
|
15502
16021
|
type: literal("category"),
|
|
15503
16022
|
target: CapScopeSchema,
|
|
@@ -15513,18 +16032,8 @@ var TokenScopeSchema = discriminatedUnion("type", [
|
|
|
15513
16032
|
target: string(),
|
|
15514
16033
|
access: array(MethodAccessSchema).min(1)
|
|
15515
16034
|
}),
|
|
15516
|
-
|
|
15517
|
-
|
|
15518
|
-
/**
|
|
15519
|
-
* One or more deviceIds (serialised as strings for wire-format
|
|
15520
|
-
* consistency with the rest of the union). Matcher accepts if
|
|
15521
|
-
* `input.deviceId` ∈ `targets`. Array shape avoids the row-explosion
|
|
15522
|
-
* of one scope-per-device when granting access to a set of cameras.
|
|
15523
|
-
*/
|
|
15524
|
-
targets: array(string()).min(1),
|
|
15525
|
-
access: array(MethodAccessSchema).min(1)
|
|
15526
|
-
})
|
|
15527
|
-
]);
|
|
16035
|
+
DeviceTokenScopeSchema
|
|
16036
|
+
]));
|
|
15528
16037
|
object({
|
|
15529
16038
|
id: string(),
|
|
15530
16039
|
username: string(),
|
|
@@ -15841,7 +16350,7 @@ var TrackEnvelopeSchema = object({
|
|
|
15841
16350
|
* `snapshots[]` references — megabytes across a page of tracks. `slim`
|
|
15842
16351
|
* keeps every scalar the list surfaces actually render (ids, class(es),
|
|
15843
16352
|
* label / audioLabels / importance enrichment, firstSeen/lastSeen, state,
|
|
15844
|
-
* zonesVisited, bestEventId, envelope, hasFace) and returns `positions` /
|
|
16353
|
+
* zonesVisited, bestEventId, envelope, hasFace, hasRider) and returns `positions` /
|
|
15845
16354
|
* `snapshots` as EMPTY arrays — detail views re-fetch the full row via
|
|
15846
16355
|
* `getTrack`. Mirrors the event-store `projection` convention
|
|
15847
16356
|
* (`getObjectEvents` et al.).
|
|
@@ -15977,7 +16486,21 @@ union([literal(1), literal(2)]);
|
|
|
15977
16486
|
var LabelAttributionSchema = object({
|
|
15978
16487
|
stepId: string(),
|
|
15979
16488
|
modelId: string().optional(),
|
|
15980
|
-
decidedAt: number()
|
|
16489
|
+
decidedAt: number(),
|
|
16490
|
+
/**
|
|
16491
|
+
* The GALLERY id behind a recognised tier-2 label — a face-gallery
|
|
16492
|
+
* `Identity.id` or a plate-gallery `Vehicle.id` (both `randomUUID`).
|
|
16493
|
+
*
|
|
16494
|
+
* The text alone is a DISPLAY NAME, and a display name is renameable: a
|
|
16495
|
+
* notification rule authored on "Gianluca" stopped matching the moment the
|
|
16496
|
+
* operator fixed the spelling in the gallery, and nothing said so. The id is
|
|
16497
|
+
* the thing that does not move, so it is what a rule matches on
|
|
16498
|
+
* (`NcConditions.identities`) and the text is what a human is shown.
|
|
16499
|
+
*
|
|
16500
|
+
* Absent when the label names no gallery row — a plate the OCR read but no
|
|
16501
|
+
* vehicle claims, a sub-class, a species, any tier-1 value.
|
|
16502
|
+
*/
|
|
16503
|
+
identityId: string().optional()
|
|
15981
16504
|
});
|
|
15982
16505
|
/**
|
|
15983
16506
|
* The TIERED label model (roadmap 4g), spread into `TrackSchema` and
|
|
@@ -16114,6 +16637,28 @@ var TrackSchema = object({
|
|
|
16114
16637
|
* `=== true` and render nothing otherwise, never infer "no face".
|
|
16115
16638
|
*/
|
|
16116
16639
|
hasFace: boolean().optional(),
|
|
16640
|
+
/**
|
|
16641
|
+
* This subject CONTAINS a folded rider — a person the rider-pairing step
|
|
16642
|
+
* ([D34](../decisions/adr-0034.md)) removed from the frame BEFORE the tracker,
|
|
16643
|
+
* so the passage is tracked once and as a VEHICLE.
|
|
16644
|
+
*
|
|
16645
|
+
* It exists because the fold's record was dishonest. D34 and the code both
|
|
16646
|
+
* said "the person is not lost — it is reported so both entities stay on the
|
|
16647
|
+
* record"; in fact the pair went into a per-processor RAM field behind an
|
|
16648
|
+
* accessor nobody called, and every durable surface said `vehicle`, full
|
|
16649
|
+
* stop. This is the composition note that makes the row true.
|
|
16650
|
+
*
|
|
16651
|
+
* A COMPOSITION, never a class and never a label. "This vehicle contains a
|
|
16652
|
+
* person" is not an answer to "what is this" — both label tiers would refuse
|
|
16653
|
+
* a macro token anyway (D89), and correctly. Nothing here changes what the
|
|
16654
|
+
* subject IS: a cyclist stays one vehicle track, occupancy still counts one,
|
|
16655
|
+
* and a `person` rule still does not fire for someone cycling past.
|
|
16656
|
+
*
|
|
16657
|
+
* **Absent ≠ false**, exactly like {@link hasFace}: every row written before
|
|
16658
|
+
* the column, and every hub that predates the field, omits it. Test
|
|
16659
|
+
* `=== true` and render nothing otherwise — never infer "no rider".
|
|
16660
|
+
*/
|
|
16661
|
+
hasRider: boolean().optional(),
|
|
16117
16662
|
...TrackFlagFields,
|
|
16118
16663
|
...TrackRetrainFields
|
|
16119
16664
|
});
|
|
@@ -16463,7 +17008,10 @@ var RecentTracksQueryInput = object({
|
|
|
16463
17008
|
* Encodes the (lastSeen, trackId) sort position — treat as opaque. */
|
|
16464
17009
|
cursor: string().optional(),
|
|
16465
17010
|
/** See {@link TrackProjectionSchema}. Default `full`. */
|
|
16466
|
-
projection: TrackProjectionSchema.optional()
|
|
17011
|
+
projection: TrackProjectionSchema.optional(),
|
|
17012
|
+
/** Include stationary-promoted rows (parked objects). Default false: the
|
|
17013
|
+
* feed lists passages; parking records live on the stationary registry. */
|
|
17014
|
+
includeStationary: boolean().optional()
|
|
16467
17015
|
});
|
|
16468
17016
|
var RecentTracksPageSchema = object({
|
|
16469
17017
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
@@ -16681,7 +17229,11 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
16681
17229
|
zone: TrackZoneFilterSchema.optional(),
|
|
16682
17230
|
/** See {@link TrackProjectionSchema}. Default `full` (backward
|
|
16683
17231
|
* compatible — omitting the field keeps today's exact behaviour). */
|
|
16684
|
-
projection: TrackProjectionSchema.optional()
|
|
17232
|
+
projection: TrackProjectionSchema.optional(),
|
|
17233
|
+
/** Include stationary-promoted rows (parked objects handed to the
|
|
17234
|
+
* stationary registry). Default false: the timeline lists passages,
|
|
17235
|
+
* not parking records (operator decision, 2026-08-15). */
|
|
17236
|
+
includeStationary: boolean().optional()
|
|
16685
17237
|
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
|
|
16686
17238
|
kind: "mutation",
|
|
16687
17239
|
auth: "admin"
|
|
@@ -16845,11 +17397,16 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
16845
17397
|
auth: "admin"
|
|
16846
17398
|
}), method(object({
|
|
16847
17399
|
eventId: string(),
|
|
16848
|
-
kind: MediaFileKindEnum.optional()
|
|
17400
|
+
kind: MediaFileKindEnum.optional(),
|
|
17401
|
+
deviceId: number()
|
|
16849
17402
|
}), array(MediaFileSchema).readonly()), method(object({
|
|
16850
17403
|
trackId: string(),
|
|
16851
|
-
kinds: array(MediaFileKindEnum).optional()
|
|
16852
|
-
|
|
17404
|
+
kinds: array(MediaFileKindEnum).optional(),
|
|
17405
|
+
deviceId: number()
|
|
17406
|
+
}), array(MediaFileSchema).readonly()), method(object({
|
|
17407
|
+
trackId: string(),
|
|
17408
|
+
deviceId: number()
|
|
17409
|
+
}), array(MediaFileInfoSchema).readonly()), method(SearchObjectEventsInput, array(ScoredObjectEventSchema).readonly()), method(object({}), WipeObjectEmbeddingsResultSchema, {
|
|
16853
17410
|
kind: "mutation",
|
|
16854
17411
|
auth: "admin"
|
|
16855
17412
|
}), method(RebuildObjectEmbeddingsInput, RebuildObjectEmbeddingsResultSchema, {
|
|
@@ -17549,6 +18106,17 @@ var maxSessionHoldMsField = {
|
|
|
17549
18106
|
default: 12e4,
|
|
17550
18107
|
step: 5e3
|
|
17551
18108
|
};
|
|
18109
|
+
/**
|
|
18110
|
+
* Quiet period that closes an `audioMode: 'on-motion'` audio window. Floor of
|
|
18111
|
+
* 5s so a rearm can never degenerate into per-event stream churn; default 90s
|
|
18112
|
+
* comfortably outlives the gap between two PIR wakes on a battery camera.
|
|
18113
|
+
*/
|
|
18114
|
+
var audioMotionWindowMsField = {
|
|
18115
|
+
min: 5e3,
|
|
18116
|
+
max: 6e5,
|
|
18117
|
+
default: 9e4,
|
|
18118
|
+
step: 5e3
|
|
18119
|
+
};
|
|
17552
18120
|
var motionFpsField = {
|
|
17553
18121
|
min: 1,
|
|
17554
18122
|
max: 30,
|
|
@@ -17580,7 +18148,7 @@ var detectionFpsField = {
|
|
|
17580
18148
|
var occupancyRecheckSecField = {
|
|
17581
18149
|
min: 0,
|
|
17582
18150
|
max: 300,
|
|
17583
|
-
default:
|
|
18151
|
+
default: 300,
|
|
17584
18152
|
step: 5
|
|
17585
18153
|
};
|
|
17586
18154
|
var occupancyRecheckFramesField = {
|
|
@@ -17725,6 +18293,27 @@ var RunnerCameraConfigSchema = object({
|
|
|
17725
18293
|
* resolved `CameraDetectionConfig`.
|
|
17726
18294
|
*/
|
|
17727
18295
|
maxSessionHoldMs: number().min(maxSessionHoldMsField.min).max(maxSessionHoldMsField.max).optional(),
|
|
18296
|
+
/**
|
|
18297
|
+
* Orchestrator-side quiet period (ms) that closes an `audioMode:
|
|
18298
|
+
* 'on-motion'` audio window, measured from the LAST motion event.
|
|
18299
|
+
*
|
|
18300
|
+
* This exists because the falling edge cannot be relied on. Camera-native
|
|
18301
|
+
* providers emit motion as a RISING EDGE ONLY (Reolink's Baichuan push and
|
|
18302
|
+
* its email-push SMTP path both emit `detected: true` and never the
|
|
18303
|
+
* counterpart); only the frame-diff analyzer emits falls. So on an
|
|
18304
|
+
* onboard-only camera a window that closed only on `detected: false` never
|
|
18305
|
+
* closed at all, and `on-motion` silently behaved as `always-on` — on a
|
|
18306
|
+
* battery camera, the one failure mode the mode exists to prevent.
|
|
18307
|
+
*
|
|
18308
|
+
* Every motion event rearms this timer WITHOUT restarting the stream, so a
|
|
18309
|
+
* burst of re-fires costs nothing. A falling edge, when one does arrive,
|
|
18310
|
+
* still closes earlier via `motionCooldownMs` — whichever comes first wins.
|
|
18311
|
+
*
|
|
18312
|
+
* Not consumed by the runner: carried here so it shares the per-camera
|
|
18313
|
+
* device-settings surface with `motionCooldownMs`, exactly like
|
|
18314
|
+
* `maxSessionHoldMs`.
|
|
18315
|
+
*/
|
|
18316
|
+
audioMotionWindowMs: number().min(audioMotionWindowMsField.min).max(audioMotionWindowMsField.max).optional(),
|
|
17728
18317
|
motionFps: number().min(motionFpsField.min).max(motionFpsField.max).default(motionFpsField.default),
|
|
17729
18318
|
detectionFps: number().min(detectionFpsField.min).max(detectionFpsField.max).default(detectionFpsField.default),
|
|
17730
18319
|
motionStreamId: string(),
|
|
@@ -17820,7 +18409,7 @@ var RunnerCameraConfigSchema = object({
|
|
|
17820
18409
|
*/
|
|
17821
18410
|
inferenceDevices: array(RunnerInferenceDeviceSchema).readonly().optional()
|
|
17822
18411
|
});
|
|
17823
|
-
motionFpsField.min, motionFpsField.max, motionFpsField.step, motionFpsField.default, detectionFpsField.min, detectionFpsField.max, detectionFpsField.step, detectionFpsField.default, motionCooldownMsField.min, motionCooldownMsField.max, motionCooldownMsField.step, motionCooldownMsField.default, maxSessionHoldMsField.min, maxSessionHoldMsField.max, maxSessionHoldMsField.step, maxSessionHoldMsField.default, occupancyRecheckSecField.min, occupancyRecheckSecField.max, occupancyRecheckSecField.step, occupancyRecheckSecField.default, occupancyRecheckFramesField.min, occupancyRecheckFramesField.max, occupancyRecheckFramesField.step, occupancyRecheckFramesField.default;
|
|
18412
|
+
motionFpsField.min, motionFpsField.max, motionFpsField.step, motionFpsField.default, detectionFpsField.min, detectionFpsField.max, detectionFpsField.step, detectionFpsField.default, motionCooldownMsField.min, motionCooldownMsField.max, motionCooldownMsField.step, motionCooldownMsField.default, maxSessionHoldMsField.min, maxSessionHoldMsField.max, maxSessionHoldMsField.step, maxSessionHoldMsField.default, audioMotionWindowMsField.min, audioMotionWindowMsField.max, audioMotionWindowMsField.step, audioMotionWindowMsField.default, occupancyRecheckSecField.min, occupancyRecheckSecField.max, occupancyRecheckSecField.step, occupancyRecheckSecField.default, occupancyRecheckFramesField.min, occupancyRecheckFramesField.max, occupancyRecheckFramesField.step, occupancyRecheckFramesField.default;
|
|
17824
18413
|
/**
|
|
17825
18414
|
* Runtime load summary returned by `getLocalLoad`. Used by the orchestrator's
|
|
17826
18415
|
* load-balancing levels (L2 capacity-based, L3 hardware-aware) to decide
|
|
@@ -18925,7 +19514,16 @@ targets: array(object({
|
|
|
18925
19514
|
/** A sleeping battery camera: the frame is deliberately stale and will
|
|
18926
19515
|
* NOT refresh in the background. A surface should say so rather than
|
|
18927
19516
|
* present it as current. */
|
|
18928
|
-
sleeping: boolean()
|
|
19517
|
+
sleeping: boolean(),
|
|
19518
|
+
/** Current device state rendered over the cached frame. State images
|
|
19519
|
+
* remain authoritative even when their photographic background is
|
|
19520
|
+
* old; null means the link must carry a current camera frame. */
|
|
19521
|
+
stateReason: _enum([
|
|
19522
|
+
"disabled",
|
|
19523
|
+
"sleeping",
|
|
19524
|
+
"unreachable",
|
|
19525
|
+
"waking"
|
|
19526
|
+
]).nullable()
|
|
18929
19527
|
})))
|
|
18930
19528
|
},
|
|
18931
19529
|
status: {
|
|
@@ -20585,6 +21183,25 @@ var BatteryStatusSchema = object({
|
|
|
20585
21183
|
/** Ms epoch of the last observation. Lets consumers reason about freshness. */
|
|
20586
21184
|
lastUpdated: number(),
|
|
20587
21185
|
/**
|
|
21186
|
+
* Ms epoch of the last time the device PROVED it was reachable — a
|
|
21187
|
+
* completed firmware round-trip, an observed wake, or an inbound push
|
|
21188
|
+
* (firmware event, email). `0`/absent = never since this slice was born.
|
|
21189
|
+
*
|
|
21190
|
+
* This is the ONLY input that separates "asleep" from "gone", and it is
|
|
21191
|
+
* fed exclusively by PASSIVE signals: nothing may write it by reaching
|
|
21192
|
+
* for the radio, because a poll that confirms reachability is the same
|
|
21193
|
+
* poll that drains the battery. See {@link deriveBatteryPresence} — the
|
|
21194
|
+
* single derivation every consumer must use; no surface computes its own.
|
|
21195
|
+
*
|
|
21196
|
+
* It is deliberately NOT a clock in the
|
|
21197
|
+
* `scripts/check-runtime-state-durability.ts` sense: it is the
|
|
21198
|
+
* observation itself, and it is the only thing a 30-hour silence is
|
|
21199
|
+
* visible in. Writers quantise it (see `CONTACT_WRITE_QUANTUM_MS` in the
|
|
21200
|
+
* Reolink provider) so a value that means "recently" cannot cost a
|
|
21201
|
+
* SQLite commit per round-trip.
|
|
21202
|
+
*/
|
|
21203
|
+
lastContactAt: number().optional(),
|
|
21204
|
+
/**
|
|
20588
21205
|
* True when the source is a BINARY low-battery indicator (HA
|
|
20589
21206
|
* `binary_sensor` device_class=battery / `LOW_BAT`) that has no real
|
|
20590
21207
|
* charge level — `percentage` is then a coarse stand-in (100 = normal,
|
|
@@ -22849,54 +23466,139 @@ var TalkAudioCodecSchema = _enum([
|
|
|
22849
23466
|
"g711ulaw",
|
|
22850
23467
|
"g711alaw"
|
|
22851
23468
|
]);
|
|
22852
|
-
|
|
22853
|
-
|
|
22854
|
-
|
|
22855
|
-
|
|
22856
|
-
|
|
22857
|
-
|
|
22858
|
-
|
|
22859
|
-
|
|
22860
|
-
|
|
22861
|
-
|
|
22862
|
-
|
|
22863
|
-
|
|
22864
|
-
|
|
22865
|
-
}),
|
|
22866
|
-
|
|
22867
|
-
|
|
22868
|
-
}),
|
|
22869
|
-
|
|
22870
|
-
|
|
22871
|
-
}),
|
|
22872
|
-
|
|
22873
|
-
|
|
22874
|
-
|
|
22875
|
-
|
|
22876
|
-
|
|
22877
|
-
|
|
22878
|
-
|
|
22879
|
-
|
|
22880
|
-
|
|
22881
|
-
|
|
22882
|
-
|
|
22883
|
-
|
|
22884
|
-
|
|
22885
|
-
|
|
22886
|
-
|
|
22887
|
-
|
|
22888
|
-
|
|
22889
|
-
|
|
22890
|
-
|
|
22891
|
-
|
|
22892
|
-
|
|
22893
|
-
|
|
22894
|
-
|
|
22895
|
-
|
|
22896
|
-
|
|
22897
|
-
|
|
22898
|
-
|
|
22899
|
-
|
|
23469
|
+
var intercomCapability = {
|
|
23470
|
+
name: "intercom",
|
|
23471
|
+
scope: "device",
|
|
23472
|
+
deviceNative: true,
|
|
23473
|
+
mode: "singleton",
|
|
23474
|
+
deviceTypes: [DeviceType.Camera],
|
|
23475
|
+
methods: {
|
|
23476
|
+
/**
|
|
23477
|
+
* Open a server-side WebRTC audio-only session. Returns an SDP
|
|
23478
|
+
* offer with a single sendonly audio m-line the client answers
|
|
23479
|
+
* (client → server direction). The server wakes battery cams
|
|
23480
|
+
* transparently before opening the upstream talk channel.
|
|
23481
|
+
*/
|
|
23482
|
+
startSession: method(object({ deviceId: number() }), object({
|
|
23483
|
+
sessionId: string(),
|
|
23484
|
+
sdpOffer: string()
|
|
23485
|
+
}), {
|
|
23486
|
+
kind: "mutation",
|
|
23487
|
+
auth: "admin"
|
|
23488
|
+
}),
|
|
23489
|
+
handleAnswer: method(object({
|
|
23490
|
+
deviceId: number(),
|
|
23491
|
+
sessionId: string(),
|
|
23492
|
+
sdpAnswer: string()
|
|
23493
|
+
}), _void(), {
|
|
23494
|
+
kind: "mutation",
|
|
23495
|
+
auth: "admin"
|
|
23496
|
+
}),
|
|
23497
|
+
/** Close explicitly. Server also auto-closes on 30s idle. */
|
|
23498
|
+
stopSession: method(object({
|
|
23499
|
+
deviceId: number(),
|
|
23500
|
+
sessionId: string()
|
|
23501
|
+
}), _void(), {
|
|
23502
|
+
kind: "mutation",
|
|
23503
|
+
auth: "admin"
|
|
23504
|
+
}),
|
|
23505
|
+
/**
|
|
23506
|
+
* Open a raw-PCM talk session (no WebRTC SDP plumbing). Used by
|
|
23507
|
+
* non-WebRTC consumers (HomeKit export, Alexa raw audio, test
|
|
23508
|
+
* harnesses) that already have decoded PCM frames and just need a
|
|
23509
|
+
* direct path onto the camera's talk channel. Mutually exclusive
|
|
23510
|
+
* with `startSession` (an active WebRTC session must be stopped
|
|
23511
|
+
* before a raw-PCM session can be opened on the same device, and
|
|
23512
|
+
* vice versa).
|
|
23513
|
+
*/
|
|
23514
|
+
startTalkSession: method(object({ deviceId: number() }), object({ sessionId: string() }), {
|
|
23515
|
+
kind: "mutation",
|
|
23516
|
+
auth: "admin"
|
|
23517
|
+
}),
|
|
23518
|
+
/**
|
|
23519
|
+
* Push one chunk of talk-back audio onto the active talk session.
|
|
23520
|
+
* The cap is codec-agnostic: the caller declares (or omits) the
|
|
23521
|
+
* wire format via `codec`; the provider decides between passthrough
|
|
23522
|
+
* (when the wire codec matches the camera's native talk channel),
|
|
23523
|
+
* transcoding via the `audio-codec` cap, or rejecting the call.
|
|
23524
|
+
*
|
|
23525
|
+
* Callers do NOT need to know the camera's wire format or sample
|
|
23526
|
+
* rate — that information lives entirely inside the provider.
|
|
23527
|
+
*
|
|
23528
|
+
* Sequence numbers MUST be monotonic per talk session; older frames
|
|
23529
|
+
* arriving after newer ones are dropped to avoid smearing the
|
|
23530
|
+
* downstream encoder state (G.711 is stateless but IMA ADPCM's
|
|
23531
|
+
* predictor would corrupt with re-ordering).
|
|
23532
|
+
*/
|
|
23533
|
+
pushTalkAudio: method(object({
|
|
23534
|
+
deviceId: number(),
|
|
23535
|
+
/** Audio bytes for ONE frame, base64-encoded so the payload
|
|
23536
|
+
* survives tRPC JSON serialization. */
|
|
23537
|
+
audioBase64: string(),
|
|
23538
|
+
/** Wire codec of the payload. Omit to let the provider default
|
|
23539
|
+
* to its native expected format (s16le @ provider-native rate,
|
|
23540
|
+
* mono). See {@link TalkAudioCodecSchema} for the supported set. */
|
|
23541
|
+
codec: TalkAudioCodecSchema.optional(),
|
|
23542
|
+
/** Sample rate (Hz). REQUIRED for `s16le`; advisory for
|
|
23543
|
+
* `opus` (encoder clock); ignored for `g711*` (implied 8000). */
|
|
23544
|
+
sampleRate: number().int().positive().optional(),
|
|
23545
|
+
/** Channel count. Default 1. */
|
|
23546
|
+
channels: number().int().positive().optional(),
|
|
23547
|
+
/** Sequence number for ordering / dropping out-of-order frames. */
|
|
23548
|
+
sequenceNumber: number().int()
|
|
23549
|
+
}), object({ accepted: boolean() }), {
|
|
23550
|
+
kind: "mutation",
|
|
23551
|
+
auth: "admin"
|
|
23552
|
+
}),
|
|
23553
|
+
/** Close the raw-PCM talk session. Idempotent. */
|
|
23554
|
+
endTalkSession: method(object({ deviceId: number() }), _void(), {
|
|
23555
|
+
kind: "mutation",
|
|
23556
|
+
auth: "admin"
|
|
23557
|
+
})
|
|
23558
|
+
},
|
|
23559
|
+
events: { onStatusChanged: { data: object({
|
|
23560
|
+
deviceId: number(),
|
|
23561
|
+
status: IntercomStatusSchema
|
|
23562
|
+
}) } },
|
|
23563
|
+
status: {
|
|
23564
|
+
schema: IntercomStatusSchema,
|
|
23565
|
+
kind: "command-driven"
|
|
23566
|
+
},
|
|
23567
|
+
/**
|
|
23568
|
+
* Runtime-state slice — mirrored by the kernel.
|
|
23569
|
+
*
|
|
23570
|
+
* The cap declared `status` and nothing else, so the only two sources an
|
|
23571
|
+
* exporter has for a value — the `device.state-changed` slice event and the
|
|
23572
|
+
* `deviceState.getAllSnapshots` snapshot, both built from runtime state —
|
|
23573
|
+
* carried nothing for `intercom`. A talk-back entity in Home Assistant would
|
|
23574
|
+
* have been published and never received a value, which is the defect the
|
|
23575
|
+
* export's two classification tables exist to prevent (177 of them, once), so
|
|
23576
|
+
* `intercom` was excluded rather than exported.
|
|
23577
|
+
*
|
|
23578
|
+
* The shape is the status shape: there is exactly one truth about talk-back
|
|
23579
|
+
* and duplicating it into a second schema is how two halves of one capability
|
|
23580
|
+
* come to disagree. Providers write it through
|
|
23581
|
+
* `this.runtimeState.setCapState('intercom', …)` at the four points that open
|
|
23582
|
+
* and close a session, and seed it at registration so the slice exists before
|
|
23583
|
+
* the first session rather than after it.
|
|
23584
|
+
*
|
|
23585
|
+
* **Bound, named rather than hidden:** `talking` mirrors the provider's own
|
|
23586
|
+
* session handle, so a session torn down by a transport death that never
|
|
23587
|
+
* reaches `stopSession` / `endTalkSession` leaves it latched until the next
|
|
23588
|
+
* session or the next restart. That is why the slice is `session` and not
|
|
23589
|
+
* `restored` — a restart must never restore "talking".
|
|
23590
|
+
*/
|
|
23591
|
+
runtimeState: IntercomStatusSchema,
|
|
23592
|
+
/**
|
|
23593
|
+
* Runtime-state durability: **session** — `talking` describes a live audio
|
|
23594
|
+
* session, which by definition does not survive the process that held it.
|
|
23595
|
+
* Restoring it would publish a camera as talking to nobody.
|
|
23596
|
+
*
|
|
23597
|
+
* See `RuntimeStateDurability`. Enforced by
|
|
23598
|
+
* `scripts/check-runtime-state-durability.ts`.
|
|
23599
|
+
*/
|
|
23600
|
+
durability: "session"
|
|
23601
|
+
};
|
|
22900
23602
|
/**
|
|
22901
23603
|
* Robotic lawn-mower cap. Models HA `lawn_mower.*` entities — anything
|
|
22902
23604
|
* with a mowing lifecycle plus a dock action.
|
|
@@ -25681,7 +26383,7 @@ method(object({
|
|
|
25681
26383
|
toMs: number()
|
|
25682
26384
|
}), RecordingAvailabilitySchema, {
|
|
25683
26385
|
kind: "query",
|
|
25684
|
-
auth: "
|
|
26386
|
+
auth: "protected"
|
|
25685
26387
|
}), method(object({
|
|
25686
26388
|
deviceId: number(),
|
|
25687
26389
|
fromMs: number(),
|
|
@@ -25689,14 +26391,14 @@ method(object({
|
|
|
25689
26391
|
tzOffsetMinutes: number()
|
|
25690
26392
|
}), RecordingDaysSchema, {
|
|
25691
26393
|
kind: "query",
|
|
25692
|
-
auth: "
|
|
26394
|
+
auth: "protected"
|
|
25693
26395
|
}), method(object({
|
|
25694
26396
|
deviceId: number(),
|
|
25695
26397
|
fromMs: number(),
|
|
25696
26398
|
toMs: number()
|
|
25697
26399
|
}), RecordingManifestSchema, {
|
|
25698
26400
|
kind: "query",
|
|
25699
|
-
auth: "
|
|
26401
|
+
auth: "protected"
|
|
25700
26402
|
}), method(object({}), RecordingStorageUsageSchema, {
|
|
25701
26403
|
kind: "query",
|
|
25702
26404
|
auth: "admin"
|
|
@@ -25986,14 +26688,77 @@ method(object({
|
|
|
25986
26688
|
* thing except the comparator: `similarity` (CLIP cosine at the same ROI coords
|
|
25987
26689
|
* vs condition-tagged references) and `llm` (vision-LLM judgment over the crop).
|
|
25988
26690
|
*
|
|
25989
|
-
*
|
|
25990
|
-
*
|
|
25991
|
-
*
|
|
25992
|
-
*
|
|
25993
|
-
|
|
25994
|
-
|
|
25995
|
-
*
|
|
26691
|
+
* **No `deviceConfig`, deliberately.** This shipped as the D14 widget archetype,
|
|
26692
|
+
* which put a "Scenes" tab on one camera's detail page. That is the wrong shape
|
|
26693
|
+
* for the thing: a scene is a standing question about the property ("is the bin
|
|
26694
|
+
* still out"), and the operator's question is "which of my scenes have tripped",
|
|
26695
|
+
* across every camera at once — not "what does camera 617 think". Buried one
|
|
26696
|
+
* camera deep it also could not be found. The surface is now a top-level admin
|
|
26697
|
+
* page (`/scenes`, `pages/Scenes.tsx`) that lists every scene on every camera and
|
|
26698
|
+
* picks the camera inside the create flow, the same shape Events and Faces have.
|
|
26699
|
+
*
|
|
26700
|
+
* The consequence to keep in mind: `host/scene-monitor-editor` is gone from
|
|
26701
|
+
* `HOST_WIDGETS` too. `scripts/check-host-widget-resolves.ts` asserts BOTH
|
|
26702
|
+
* directions, so a registration nobody declares fails exactly as loudly as a
|
|
26703
|
+
* declaration nobody registers. The editor is imported directly by the page.
|
|
26704
|
+
*
|
|
26705
|
+
* `status.kind:'push'` — the engine pushes on every hysteresis flip /
|
|
26706
|
+
* availability change; consumers never poll.
|
|
26707
|
+
*/
|
|
26708
|
+
/** Extensible condition tag. Seeded 'day' | 'ir' (the two variants the operator
|
|
26709
|
+
* captures) plus 'night' | 'dawn' | 'dusk' from the resolver's sun-times band.
|
|
26710
|
+
* Open by design so more can be added without a wire break.
|
|
26711
|
+
*
|
|
26712
|
+
* Matching does NOT fall back across conditions: cross-condition cosines are
|
|
26713
|
+
* not comparable, so "I have never seen this scene in this light" is reported
|
|
26714
|
+
* as `unknown`, never guessed. A day reference scored against an IR frame
|
|
26715
|
+
* collapses the cosine and would latch a false alarm every single night. */
|
|
25996
26716
|
var SceneConditionSchema = string();
|
|
26717
|
+
/**
|
|
26718
|
+
* What a scene does when the CURRENT light has no reference of its own.
|
|
26719
|
+
*
|
|
26720
|
+
* The lighting variants are not equally likely to exist. Almost every operator
|
|
26721
|
+
* captures daylight and then never stands outside at 22:00 to capture IR, and a
|
|
26722
|
+
* scene that is only ever going to be asked about a daytime question ("is the
|
|
26723
|
+
* bin still on the kerb at 08:00") does not need a night reference at all. The
|
|
26724
|
+
* night half must therefore be OPTIONAL, and optional means the scene keeps
|
|
26725
|
+
* working without it rather than degrading into a permanent complaint.
|
|
26726
|
+
*
|
|
26727
|
+
* - `skip` (default) — the check in that light is not made. Not a verdict, not
|
|
26728
|
+
* an alarm, not even an `unknown`: the live state simply stays whatever the
|
|
26729
|
+
* last covered light left it at, the latch is untouched, and the hysteresis
|
|
26730
|
+
* run is neither spent nor cleared. The scene resumes by itself at first
|
|
26731
|
+
* light. This is the only behaviour under which "I never captured IR" is a
|
|
26732
|
+
* configuration choice instead of a nightly fault.
|
|
26733
|
+
* - `judge-anyway` — score against the OTHER conditions' references. Available
|
|
26734
|
+
* for cameras whose IR frame is close enough to daylight (a floodlit
|
|
26735
|
+
* driveway, an always-white-light doorbell), and wrong for everything else:
|
|
26736
|
+
* cross-condition cosines are not comparable, so a day reference against a
|
|
26737
|
+
* true IR frame collapses and the scene reports a theft at 21:40.
|
|
26738
|
+
*
|
|
26739
|
+
* Never applies when the scene has NO comparable reference at all — that is
|
|
26740
|
+
* "not armed yet", it is reported as `no-reference-for-condition`, and silence
|
|
26741
|
+
* there would hide a scene the operator never finished setting up.
|
|
26742
|
+
*/
|
|
26743
|
+
var SceneUncoveredPolicySchema = _enum(["skip", "judge-anyway"]);
|
|
26744
|
+
/** `matched` = the baseline is what we see; `diverged` = it demonstrably is not;
|
|
26745
|
+
* `unknown` = we cannot judge (no reference for this condition, encoder model
|
|
26746
|
+
* changed, view shifted, no snapshot). `unknown` is a real value, not a null,
|
|
26747
|
+
* and never counts toward hysteresis in either direction. */
|
|
26748
|
+
var SceneVerdictSchema = _enum([
|
|
26749
|
+
"matched",
|
|
26750
|
+
"diverged",
|
|
26751
|
+
"unknown"
|
|
26752
|
+
]);
|
|
26753
|
+
/** Why a scene cannot judge. Named, because this feature's failure mode is
|
|
26754
|
+
* silence that reads as "nothing has happened". */
|
|
26755
|
+
var SceneUnavailableSchema = _enum([
|
|
26756
|
+
"no-reference-for-condition",
|
|
26757
|
+
"view-shifted",
|
|
26758
|
+
"no-vision-profile",
|
|
26759
|
+
"encoder-model-changed",
|
|
26760
|
+
"no-snapshot"
|
|
26761
|
+
]);
|
|
25997
26762
|
/** One captured reference — condition-tagged, model-version-gated. `embedding`
|
|
25998
26763
|
* is `number[]` (Float32Array does NOT survive MsgPack/UDS). */
|
|
25999
26764
|
var SceneReferenceSchema = object({
|
|
@@ -26001,7 +26766,14 @@ var SceneReferenceSchema = object({
|
|
|
26001
26766
|
modelId: string(),
|
|
26002
26767
|
condition: SceneConditionSchema,
|
|
26003
26768
|
capturedAt: number(),
|
|
26004
|
-
thumbnailMediaId: string().optional()
|
|
26769
|
+
thumbnailMediaId: string().optional(),
|
|
26770
|
+
/** Whole-frame (downscaled) embedding captured alongside the ROI crop. The
|
|
26771
|
+
* anti-view-shift anchor: a bumped camera, a PTZ preset or a re-aim makes the
|
|
26772
|
+
* normalized rect frame a different piece of world, and the scene would
|
|
26773
|
+
* diverge forever with a perfectly plausible cosine. Checked LAZILY, only
|
|
26774
|
+
* when hysteresis is about to flip — one extra encode per candidate
|
|
26775
|
+
* transition, not per poll. */
|
|
26776
|
+
anchorEmbedding: array(number()).optional()
|
|
26005
26777
|
});
|
|
26006
26778
|
var SceneMonitorStateSchema = object({
|
|
26007
26779
|
id: string(),
|
|
@@ -26023,6 +26795,28 @@ var SceneCheckSchema = discriminatedUnion("mode", [object({
|
|
|
26023
26795
|
profileId: string().optional(),
|
|
26024
26796
|
hysteresisCount: number().int().positive()
|
|
26025
26797
|
})]);
|
|
26798
|
+
var SCENE_DEFAULT_ANCHOR_THRESHOLD = .85;
|
|
26799
|
+
/** Night is OPTIONAL. A scene with only a daylight reference sits the IR hours
|
|
26800
|
+
* out in silence rather than reporting a fault every night. */
|
|
26801
|
+
var SCENE_DEFAULT_UNCOVERED_POLICY = "skip";
|
|
26802
|
+
/**
|
|
26803
|
+
* Vision-model adjudication of a candidate flip. Field names deliberately
|
|
26804
|
+
* mirror `NcConfirmSchema` so an operator meets one vocabulary, not two.
|
|
26805
|
+
*
|
|
26806
|
+
* `onTimeout` defaults to **'hold'**, the OPPOSITE of `NcConfirmGate`'s
|
|
26807
|
+
* fail-open: a notification suppressed is the worse error there, but a vision
|
|
26808
|
+
* model that timed out has not told us the bin is gone, and a latch is a
|
|
26809
|
+
* stateful claim that costs the operator a trip to reset.
|
|
26810
|
+
*/
|
|
26811
|
+
var SceneConfirmSchema = object({
|
|
26812
|
+
enabled: boolean().default(false),
|
|
26813
|
+
prompt: string().min(1).max(1e3),
|
|
26814
|
+
profileId: string().optional(),
|
|
26815
|
+
timeoutMs: number().int().min(1e3).max(2e4).default(8e3),
|
|
26816
|
+
maxImagePx: number().int().min(64).max(2048).default(448),
|
|
26817
|
+
/** What a timeout / unavailable model means for the PENDING flip. */
|
|
26818
|
+
onTimeout: _enum(["flip", "hold"]).default("hold")
|
|
26819
|
+
});
|
|
26026
26820
|
var SceneMonitorSchema = object({
|
|
26027
26821
|
id: string(),
|
|
26028
26822
|
label: string(),
|
|
@@ -26041,7 +26835,56 @@ var SceneMonitorSchema = object({
|
|
|
26041
26835
|
lastConfidence: number().nullable(),
|
|
26042
26836
|
currentCondition: SceneConditionSchema.nullable(),
|
|
26043
26837
|
availability: _enum(["ok", "unavailable"]),
|
|
26044
|
-
unavailableReason: string().nullable()
|
|
26838
|
+
unavailableReason: string().nullable(),
|
|
26839
|
+
/** Which state is "the initial screen". `null` until the first capture. */
|
|
26840
|
+
baselineStateId: string().nullable(),
|
|
26841
|
+
/** Which boolean drives notification rules and any export. */
|
|
26842
|
+
emit: _enum(["latched", "live"]).default("latched"),
|
|
26843
|
+
/** Live: does the region match the baseline RIGHT NOW. */
|
|
26844
|
+
verdict: SceneVerdictSchema,
|
|
26845
|
+
/** Has it been `diverged` at least once since `armedAt` — the operator's boolean. */
|
|
26846
|
+
latched: boolean(),
|
|
26847
|
+
/** Last reset (or creation). */
|
|
26848
|
+
armedAt: number(),
|
|
26849
|
+
divergedAt: number().nullable(),
|
|
26850
|
+
restoredAt: number().nullable(),
|
|
26851
|
+
/** A check is only COUNTED when the device has been quiet this long. Motion
|
|
26852
|
+
* during the window DISCARDS the observation — a car pulling up in front of
|
|
26853
|
+
* the bin must not be able to spend hysteresis credit. */
|
|
26854
|
+
quietSeconds: number().int().min(0).max(3600).default(60),
|
|
26855
|
+
/** An observation only advances the pending count when it is at least this
|
|
26856
|
+
* far from the previously counted one, so N agreeing checks span real time
|
|
26857
|
+
* rather than N adjacent polls inside one occlusion. */
|
|
26858
|
+
minObservationSpacingSec: number().int().min(0).max(3600).default(120),
|
|
26859
|
+
/** Vision-model adjudication of a candidate flip. Similarity primary only. */
|
|
26860
|
+
confirm: SceneConfirmSchema.optional(),
|
|
26861
|
+
/** Whole-frame anchor cosine below which a flip is REFUSED as `view-shifted`. */
|
|
26862
|
+
anchorThreshold: number().min(0).max(1).default(SCENE_DEFAULT_ANCHOR_THRESHOLD),
|
|
26863
|
+
/** Clear the latch on its own when the scene matches again? Default false —
|
|
26864
|
+
* `restoredAt` and the `scene-restored` edge are recorded regardless, so an
|
|
26865
|
+
* automation can react to the bin coming back without the operator's own
|
|
26866
|
+
* alarm silently clearing itself. */
|
|
26867
|
+
autoRestore: boolean().default(false),
|
|
26868
|
+
/** What to do when the current light has no reference of its own. See
|
|
26869
|
+
* {@link SceneUncoveredPolicySchema} — the default makes night OPTIONAL. */
|
|
26870
|
+
onUncoveredCondition: SceneUncoveredPolicySchema.default(SCENE_DEFAULT_UNCOVERED_POLICY),
|
|
26871
|
+
/**
|
|
26872
|
+
* The light whose checks are currently being SAT OUT under
|
|
26873
|
+
* `onUncoveredCondition: 'skip'` — `null` when the scene is checking normally.
|
|
26874
|
+
*
|
|
26875
|
+
* Engine-reported and advisory only: it moves no verdict, no latch and no
|
|
26876
|
+
* hysteresis. It exists so the card can say *"night (IR) — checks paused,
|
|
26877
|
+
* nothing captured in this light"* in the same calm voice as the coverage
|
|
26878
|
+
* line, because the alternative is a scene that silently stops answering
|
|
26879
|
+
* after sunset with nothing anywhere saying why. A skipped check must never
|
|
26880
|
+
* read as a broken one.
|
|
26881
|
+
*/
|
|
26882
|
+
suspendedCondition: SceneConditionSchema.nullable().default(null),
|
|
26883
|
+
/** Named cause when `verdict === 'unknown'`. */
|
|
26884
|
+
unavailable: SceneUnavailableSchema.nullable(),
|
|
26885
|
+
/** Conditions that have at least one comparable reference — the coverage line
|
|
26886
|
+
* ("day ✓ · ir ✓ · dusk ✗") that turns a silent fallback into a visible fact. */
|
|
26887
|
+
coveredConditions: array(SceneConditionSchema)
|
|
26045
26888
|
});
|
|
26046
26889
|
var SceneMonitorStatusSchema = object({
|
|
26047
26890
|
monitors: array(SceneMonitorSchema),
|
|
@@ -26054,12 +26897,6 @@ var sceneMonitorCapability = {
|
|
|
26054
26897
|
kind: "wrapper",
|
|
26055
26898
|
defaultActive: true,
|
|
26056
26899
|
deviceTypes: [DeviceType.Camera],
|
|
26057
|
-
deviceConfig: { ui: {
|
|
26058
|
-
kind: "widget",
|
|
26059
|
-
widgetId: "host/scene-monitor-editor",
|
|
26060
|
-
tab: "scenes",
|
|
26061
|
-
label: "Scenes"
|
|
26062
|
-
} },
|
|
26063
26900
|
methods: {
|
|
26064
26901
|
listScenes: method(object({ deviceId: number() }), SceneMonitorStatusSchema),
|
|
26065
26902
|
createScene: method(object({
|
|
@@ -26090,7 +26927,15 @@ var sceneMonitorCapability = {
|
|
|
26090
26927
|
"both"
|
|
26091
26928
|
]).optional(),
|
|
26092
26929
|
checkIntervalSec: number().optional(),
|
|
26093
|
-
check: SceneCheckSchema.optional()
|
|
26930
|
+
check: SceneCheckSchema.optional(),
|
|
26931
|
+
emit: _enum(["latched", "live"]).optional(),
|
|
26932
|
+
quietSeconds: number().int().min(0).max(3600).optional(),
|
|
26933
|
+
minObservationSpacingSec: number().int().min(0).max(3600).optional(),
|
|
26934
|
+
anchorThreshold: number().min(0).max(1).optional(),
|
|
26935
|
+
autoRestore: boolean().optional(),
|
|
26936
|
+
onUncoveredCondition: SceneUncoveredPolicySchema.optional(),
|
|
26937
|
+
/** `null` clears the vision-model adjudicator. */
|
|
26938
|
+
confirm: SceneConfirmSchema.nullable().optional()
|
|
26094
26939
|
})
|
|
26095
26940
|
}), _void(), {
|
|
26096
26941
|
kind: "mutation",
|
|
@@ -26131,6 +26976,26 @@ var sceneMonitorCapability = {
|
|
|
26131
26976
|
}), _void(), {
|
|
26132
26977
|
kind: "mutation",
|
|
26133
26978
|
auth: "admin"
|
|
26979
|
+
}),
|
|
26980
|
+
/**
|
|
26981
|
+
* Clear the latch, re-arm, and — by default — RE-CAPTURE the baseline for
|
|
26982
|
+
* the CURRENT condition. The bin never goes back in exactly the same spot;
|
|
26983
|
+
* "reset" in the operator's head means *this is the new normal*, and
|
|
26984
|
+
* re-capture is what makes the feature self-healing against slow drift
|
|
26985
|
+
* instead of failing silently weeks later.
|
|
26986
|
+
*
|
|
26987
|
+
* Reachable from three surfaces on this one mutation: the scene card, a
|
|
26988
|
+
* notification button (an `onTrigger` sequence with a `kind:'cap'` step —
|
|
26989
|
+
* no new Notification-Center code at all), and tRPC for scripts.
|
|
26990
|
+
*/
|
|
26991
|
+
resetScene: method(object({
|
|
26992
|
+
deviceId: number(),
|
|
26993
|
+
monitorId: string(),
|
|
26994
|
+
/** Defaults to TRUE at the provider seam — see `SCENE_RESET_RECAPTURES`. */
|
|
26995
|
+
recapture: boolean().optional()
|
|
26996
|
+
}), _void(), {
|
|
26997
|
+
kind: "mutation",
|
|
26998
|
+
auth: "admin"
|
|
26134
26999
|
})
|
|
26135
27000
|
},
|
|
26136
27001
|
status: {
|
|
@@ -26373,13 +27238,63 @@ var CamStreamDescriptorSchema = object({
|
|
|
26373
27238
|
* set of stream descriptors it can offer for the device, synchronously, so the
|
|
26374
27239
|
* broker can reconcile its registry against the authoritative provider state.
|
|
26375
27240
|
*/
|
|
27241
|
+
/**
|
|
27242
|
+
* The catalog as a DURABLE fact rather than a live answer.
|
|
27243
|
+
*
|
|
27244
|
+
* A battery camera's descriptors are profile-stable — they change when the
|
|
27245
|
+
* operator rewrites an encoder profile, not minute to minute — but building
|
|
27246
|
+
* them costs a Baichuan login, which on a sleeping Argus IS a wake. So the
|
|
27247
|
+
* provider is allowed to build them exactly once per profile and must serve
|
|
27248
|
+
* every later pull from a cache.
|
|
27249
|
+
*
|
|
27250
|
+
* Holding that cache only in RAM is what turned a restart into an outage. The
|
|
27251
|
+
* runner comes back with the camera asleep, `buildStreamCatalogUncached`
|
|
27252
|
+
* correctly refuses to wake it, the pull answers `[]`, the broker has no
|
|
27253
|
+
* cam-stream entry to build a broker from, and `webrtcSession.handleOffer`
|
|
27254
|
+
* fails with a flat "No broker for stream" — for as long as the camera sleeps,
|
|
27255
|
+
* which on a battery cam is most of the day. The camera was fine. The stream
|
|
27256
|
+
* was unreachable because the process had forgotten what the camera offers.
|
|
27257
|
+
*
|
|
27258
|
+
* Declaring it here puts it in `device-runtime-state`, the kernel's canonical
|
|
27259
|
+
* declared collection, with the same `restored` durability `battery` uses for
|
|
27260
|
+
* the same reason: the last known value is the only value there is while the
|
|
27261
|
+
* device is asleep. The broker's brokers are therefore always DEFINABLE — it
|
|
27262
|
+
* is the DIAL that wakes a camera, never the catalog (D173).
|
|
27263
|
+
*/
|
|
27264
|
+
var StreamCatalogStateSchema = object({
|
|
27265
|
+
/** The descriptors as last built from a real camera response. Never a guess:
|
|
27266
|
+
* a failed or refused build writes NOTHING, so a restored catalog is always
|
|
27267
|
+
* one the camera itself once produced. */
|
|
27268
|
+
descriptors: array(CamStreamDescriptorSchema),
|
|
27269
|
+
/** Ms epoch of the build that produced {@link descriptors}. Lets the wake
|
|
27270
|
+
* path decide whether the camera's own awake window is worth spending on a
|
|
27271
|
+
* re-read. */
|
|
27272
|
+
lastFetchedAt: number()
|
|
27273
|
+
});
|
|
26376
27274
|
var streamCatalogCapability = {
|
|
26377
27275
|
name: "stream-catalog",
|
|
26378
27276
|
scope: "device",
|
|
26379
27277
|
deviceNative: true,
|
|
26380
27278
|
mode: "singleton",
|
|
26381
27279
|
deviceTypes: [DeviceType.Camera],
|
|
26382
|
-
methods: { getCatalog: method(object({ deviceId: number().int().nonnegative() }), array(CamStreamDescriptorSchema).readonly()) }
|
|
27280
|
+
methods: { getCatalog: method(object({ deviceId: number().int().nonnegative() }), array(CamStreamDescriptorSchema).readonly()) },
|
|
27281
|
+
runtimeState: StreamCatalogStateSchema,
|
|
27282
|
+
/**
|
|
27283
|
+
* Runtime-state durability: **restored** — see the schema doc. A cold
|
|
27284
|
+
* catalog on a sleeping battery camera is not a slow first frame, it is a
|
|
27285
|
+
* camera that cannot be watched at all until it happens to wake.
|
|
27286
|
+
*
|
|
27287
|
+
* Churn is nil by construction: the slice is written only by a SUCCESSFUL
|
|
27288
|
+
* build, and a build only runs when there is no cached copy (or the copy is
|
|
27289
|
+
* a day old and the camera is awake anyway).
|
|
27290
|
+
*
|
|
27291
|
+
* See `RuntimeStateDurability`. Enforced by
|
|
27292
|
+
* `scripts/check-runtime-state-durability.ts`.
|
|
27293
|
+
*/
|
|
27294
|
+
durability: "restored",
|
|
27295
|
+
/** Clock field: written, but excluded from the compare that decides whether
|
|
27296
|
+
* persisting is worth a SQLite commit — the descriptors are the value. */
|
|
27297
|
+
volatileStateFields: ["lastFetchedAt"]
|
|
26383
27298
|
};
|
|
26384
27299
|
/** One of the camera's stream profiles. */
|
|
26385
27300
|
var StreamProfileSchema = _enum([
|
|
@@ -26832,12 +27747,64 @@ var NetworkAddressSchema = object({
|
|
|
26832
27747
|
family: string(),
|
|
26833
27748
|
internal: boolean()
|
|
26834
27749
|
});
|
|
27750
|
+
/**
|
|
27751
|
+
* Provenance of the site coordinates, and the whole reason this is not just two
|
|
27752
|
+
* numbers.
|
|
27753
|
+
*
|
|
27754
|
+
* - `operator-set` — a human typed it, or accepted a detection. Authoritative;
|
|
27755
|
+
* nothing overwrites it.
|
|
27756
|
+
* - `derived-from-ip` — the hub geolocated its own public IP once, because a
|
|
27757
|
+
* default that is right to a few kilometres beats the coarse UTC clock split
|
|
27758
|
+
* the sun-times consumers otherwise fall back to.
|
|
27759
|
+
*
|
|
27760
|
+
* The UI shows which one it is. An operator who cannot tell a guess from their
|
|
27761
|
+
* own input will eventually trust the guess.
|
|
27762
|
+
*/
|
|
27763
|
+
var SiteLocationSourceSchema = _enum(["operator-set", "derived-from-ip"]);
|
|
27764
|
+
/**
|
|
27765
|
+
* The read shape: the location plus the honest state of the one-shot derivation.
|
|
27766
|
+
*
|
|
27767
|
+
* `derivationAttemptedAt` is what makes the "one call, ever" contract
|
|
27768
|
+
* inspectable. When it is set and `location` is null, the geo-IP lookup ran and
|
|
27769
|
+
* failed; the hub will NOT try again on its own — the fallback is declared
|
|
27770
|
+
* (consumers degrade to their own last resort) and the operator either types the
|
|
27771
|
+
* coordinates or presses detect.
|
|
27772
|
+
*/
|
|
27773
|
+
var SiteLocationStatusSchema = object({
|
|
27774
|
+
location: object({
|
|
27775
|
+
/** WGS84 decimal degrees. */
|
|
27776
|
+
latitude: number().min(-90).max(90),
|
|
27777
|
+
longitude: number().min(-180).max(180),
|
|
27778
|
+
source: SiteLocationSourceSchema,
|
|
27779
|
+
/** Epoch ms the value was last written. */
|
|
27780
|
+
updatedAt: number(),
|
|
27781
|
+
/**
|
|
27782
|
+
* Human-readable place the geo-IP service reported ("Napoli, IT"). Display
|
|
27783
|
+
* only — never parsed, never matched on. Absent for an operator-typed value.
|
|
27784
|
+
*/
|
|
27785
|
+
label: string().optional()
|
|
27786
|
+
}).nullable(),
|
|
27787
|
+
derivationAttemptedAt: number().nullable(),
|
|
27788
|
+
/** Why the last derivation failed, for the UI to show instead of a shrug. */
|
|
27789
|
+
derivationError: string().nullable()
|
|
27790
|
+
});
|
|
27791
|
+
/** `null` clears the location and re-arms nothing — the derivation stays spent. */
|
|
27792
|
+
var SetSiteLocationInputSchema = object({
|
|
27793
|
+
latitude: number().min(-90).max(90),
|
|
27794
|
+
longitude: number().min(-180).max(180)
|
|
27795
|
+
}).nullable();
|
|
26835
27796
|
method(_void(), FeatureManifestSchema), method(_void(), HealthStatusSchema), method(_void(), FeatureManifestSchema), method(_void(), array(NetworkAddressSchema).readonly()), method(_void(), unknown().nullable(), { auth: "admin" }), method(record(string(), unknown()), _null(), {
|
|
26836
27797
|
kind: "mutation",
|
|
26837
27798
|
auth: "admin"
|
|
26838
27799
|
}), method(_void(), _void(), {
|
|
26839
27800
|
kind: "mutation",
|
|
26840
27801
|
auth: "admin"
|
|
27802
|
+
}), method(_void(), SiteLocationStatusSchema), method(SetSiteLocationInputSchema, SiteLocationStatusSchema, {
|
|
27803
|
+
kind: "mutation",
|
|
27804
|
+
auth: "admin"
|
|
27805
|
+
}), method(_void(), SiteLocationStatusSchema, {
|
|
27806
|
+
kind: "mutation",
|
|
27807
|
+
auth: "admin"
|
|
26841
27808
|
});
|
|
26842
27809
|
/**
|
|
26843
27810
|
* Tamper / case-open detection sensor. Drives Home Assistant
|
|
@@ -28157,6 +29124,7 @@ var DEVICE_LOCAL_STATE_CAPS = {
|
|
|
28157
29124
|
humiditySensor: humiditySensorCapability,
|
|
28158
29125
|
image: imageCapability,
|
|
28159
29126
|
imageSettings: imageSettingsCapability,
|
|
29127
|
+
intercom: intercomCapability,
|
|
28160
29128
|
lawnMowerControl: lawnMowerControlCapability,
|
|
28161
29129
|
lockControl: lockControlCapability,
|
|
28162
29130
|
mediaPlayer: mediaPlayerCapability,
|
|
@@ -28175,6 +29143,7 @@ var DEVICE_LOCAL_STATE_CAPS = {
|
|
|
28175
29143
|
sceneMonitor: sceneMonitorCapability,
|
|
28176
29144
|
scriptRunner: scriptRunnerCapability,
|
|
28177
29145
|
smoke: smokeCapability,
|
|
29146
|
+
streamCatalog: streamCatalogCapability,
|
|
28178
29147
|
streamParams: streamParamsCapability,
|
|
28179
29148
|
switch: switchCapability,
|
|
28180
29149
|
tamper: tamperCapability,
|
|
@@ -28828,6 +29797,15 @@ var BaseDeviceProvider = class extends BaseAddon {
|
|
|
28828
29797
|
labels: ["probe not implemented"]
|
|
28829
29798
|
};
|
|
28830
29799
|
}
|
|
29800
|
+
/**
|
|
29801
|
+
* Top-level devices restored at once in {@link onRestoreDevices}.
|
|
29802
|
+
*
|
|
29803
|
+
* Four covers the fleets this ships to without turning a boot into a burst a
|
|
29804
|
+
* camera NVR answers with a refusal. A provider whose upstream is a single
|
|
29805
|
+
* session with a serial command channel (a Baichuan hub, an NVR that
|
|
29806
|
+
* serialises ISAPI) should lower it; nothing needs to raise it.
|
|
29807
|
+
*/
|
|
29808
|
+
restoreConcurrency = 4;
|
|
28831
29809
|
async restoreDevices(savedDevices) {
|
|
28832
29810
|
await this.onRestoreDevices(savedDevices);
|
|
28833
29811
|
if (savedDevices.length > 0) this.ctx.logger.info(`Restored ${savedDevices.length} ${this.providerName} device(s)`);
|
|
@@ -28859,15 +29837,15 @@ var BaseDeviceProvider = class extends BaseAddon {
|
|
|
28859
29837
|
*/
|
|
28860
29838
|
async onRestoreDevices(savedDevices) {
|
|
28861
29839
|
const restored = /* @__PURE__ */ new Set();
|
|
28862
|
-
|
|
28863
|
-
|
|
29840
|
+
const topLevel = savedDevices.filter((saved) => saved.parentDeviceId === null);
|
|
29841
|
+
const restoreOne = async (saved) => {
|
|
28864
29842
|
const Class = this.deviceClasses[saved.type];
|
|
28865
29843
|
if (!Class) {
|
|
28866
29844
|
this.ctx.logger.warn("No device class registered for restored type — skipping", {
|
|
28867
29845
|
tags: { stableId: saved.stableId },
|
|
28868
29846
|
meta: { type: saved.type }
|
|
28869
29847
|
});
|
|
28870
|
-
|
|
29848
|
+
return;
|
|
28871
29849
|
}
|
|
28872
29850
|
try {
|
|
28873
29851
|
await this.ctx.kernel.devices.create(saved.stableId, Class, {});
|
|
@@ -28881,7 +29859,15 @@ var BaseDeviceProvider = class extends BaseAddon {
|
|
|
28881
29859
|
}
|
|
28882
29860
|
});
|
|
28883
29861
|
}
|
|
28884
|
-
}
|
|
29862
|
+
};
|
|
29863
|
+
let nextTopLevel = 0;
|
|
29864
|
+
await Promise.all(Array.from({ length: Math.min(Math.max(1, this.restoreConcurrency), topLevel.length) }, async () => {
|
|
29865
|
+
for (;;) {
|
|
29866
|
+
const saved = topLevel[nextTopLevel++];
|
|
29867
|
+
if (saved === void 0) return;
|
|
29868
|
+
await restoreOne(saved);
|
|
29869
|
+
}
|
|
29870
|
+
}));
|
|
28885
29871
|
const childRows = savedDevices.filter((s) => s.parentDeviceId !== null);
|
|
28886
29872
|
for (const saved of childRows) {
|
|
28887
29873
|
const Class = this.deviceClasses[saved.type];
|
|
@@ -31103,6 +32089,12 @@ Object.freeze({
|
|
|
31103
32089
|
addonId: null,
|
|
31104
32090
|
access: "create"
|
|
31105
32091
|
},
|
|
32092
|
+
"llm.cancel": {
|
|
32093
|
+
capName: "llm",
|
|
32094
|
+
capScope: "system",
|
|
32095
|
+
addonId: null,
|
|
32096
|
+
access: "create"
|
|
32097
|
+
},
|
|
31106
32098
|
"llm.deleteModel": {
|
|
31107
32099
|
capName: "llm",
|
|
31108
32100
|
capScope: "system",
|
|
@@ -31187,6 +32179,12 @@ Object.freeze({
|
|
|
31187
32179
|
addonId: null,
|
|
31188
32180
|
access: "view"
|
|
31189
32181
|
},
|
|
32182
|
+
"llm.resolveModelRef": {
|
|
32183
|
+
capName: "llm",
|
|
32184
|
+
capScope: "system",
|
|
32185
|
+
addonId: null,
|
|
32186
|
+
access: "create"
|
|
32187
|
+
},
|
|
31190
32188
|
"llm.setDefault": {
|
|
31191
32189
|
capName: "llm",
|
|
31192
32190
|
capScope: "system",
|
|
@@ -33353,6 +34351,12 @@ Object.freeze({
|
|
|
33353
34351
|
addonId: null,
|
|
33354
34352
|
access: "create"
|
|
33355
34353
|
},
|
|
34354
|
+
"sceneMonitor.resetScene": {
|
|
34355
|
+
capName: "scene-monitor",
|
|
34356
|
+
capScope: "device",
|
|
34357
|
+
addonId: null,
|
|
34358
|
+
access: "delete"
|
|
34359
|
+
},
|
|
33356
34360
|
"sceneMonitor.updateScene": {
|
|
33357
34361
|
capName: "scene-monitor",
|
|
33358
34362
|
capScope: "device",
|
|
@@ -34031,6 +35035,12 @@ Object.freeze({
|
|
|
34031
35035
|
addonId: null,
|
|
34032
35036
|
access: "create"
|
|
34033
35037
|
},
|
|
35038
|
+
"system.detectSiteLocation": {
|
|
35039
|
+
capName: "system",
|
|
35040
|
+
capScope: "system",
|
|
35041
|
+
addonId: null,
|
|
35042
|
+
access: "create"
|
|
35043
|
+
},
|
|
34034
35044
|
"system.featureFlags": {
|
|
34035
35045
|
capName: "system",
|
|
34036
35046
|
capScope: "system",
|
|
@@ -34049,6 +35059,12 @@ Object.freeze({
|
|
|
34049
35059
|
addonId: null,
|
|
34050
35060
|
access: "view"
|
|
34051
35061
|
},
|
|
35062
|
+
"system.getSiteLocation": {
|
|
35063
|
+
capName: "system",
|
|
35064
|
+
capScope: "system",
|
|
35065
|
+
addonId: null,
|
|
35066
|
+
access: "view"
|
|
35067
|
+
},
|
|
34052
35068
|
"system.health": {
|
|
34053
35069
|
capName: "system",
|
|
34054
35070
|
capScope: "system",
|
|
@@ -34073,6 +35089,12 @@ Object.freeze({
|
|
|
34073
35089
|
addonId: null,
|
|
34074
35090
|
access: "create"
|
|
34075
35091
|
},
|
|
35092
|
+
"system.setSiteLocation": {
|
|
35093
|
+
capName: "system",
|
|
35094
|
+
capScope: "system",
|
|
35095
|
+
addonId: null,
|
|
35096
|
+
access: "create"
|
|
35097
|
+
},
|
|
34076
35098
|
"terminalSession.adoptLegacyMonitor": {
|
|
34077
35099
|
capName: "terminal-session",
|
|
34078
35100
|
capScope: "system",
|
|
@@ -34644,6 +35666,1704 @@ Object.freeze({
|
|
|
34644
35666
|
access: "create"
|
|
34645
35667
|
}
|
|
34646
35668
|
});
|
|
35669
|
+
Object.freeze({
|
|
35670
|
+
"accessories.setChildHidden": [{
|
|
35671
|
+
name: "childDeviceId",
|
|
35672
|
+
form: "single",
|
|
35673
|
+
optional: false
|
|
35674
|
+
}, {
|
|
35675
|
+
name: "deviceId",
|
|
35676
|
+
form: "single",
|
|
35677
|
+
optional: false
|
|
35678
|
+
}],
|
|
35679
|
+
"addonSettings.getDeviceSettings": [{
|
|
35680
|
+
name: "deviceId",
|
|
35681
|
+
form: "single",
|
|
35682
|
+
optional: false
|
|
35683
|
+
}],
|
|
35684
|
+
"addonSettings.updateDeviceSettings": [{
|
|
35685
|
+
name: "deviceId",
|
|
35686
|
+
form: "single",
|
|
35687
|
+
optional: false
|
|
35688
|
+
}],
|
|
35689
|
+
"alarmPanel.arm": [{
|
|
35690
|
+
name: "deviceId",
|
|
35691
|
+
form: "single",
|
|
35692
|
+
optional: false
|
|
35693
|
+
}],
|
|
35694
|
+
"alarmPanel.disarm": [{
|
|
35695
|
+
name: "deviceId",
|
|
35696
|
+
form: "single",
|
|
35697
|
+
optional: false
|
|
35698
|
+
}],
|
|
35699
|
+
"alarmPanel.trigger": [{
|
|
35700
|
+
name: "deviceId",
|
|
35701
|
+
form: "single",
|
|
35702
|
+
optional: false
|
|
35703
|
+
}],
|
|
35704
|
+
"audioAnalysis.resolveDeviceSettings": [{
|
|
35705
|
+
name: "deviceId",
|
|
35706
|
+
form: "single",
|
|
35707
|
+
optional: false
|
|
35708
|
+
}],
|
|
35709
|
+
"audioAnalyzer.classify": [{
|
|
35710
|
+
name: "deviceId",
|
|
35711
|
+
form: "single",
|
|
35712
|
+
optional: true
|
|
35713
|
+
}],
|
|
35714
|
+
"audioMetrics.getCurrentSnapshot": [{
|
|
35715
|
+
name: "deviceId",
|
|
35716
|
+
form: "single",
|
|
35717
|
+
optional: false
|
|
35718
|
+
}],
|
|
35719
|
+
"audioMetrics.getHistory": [{
|
|
35720
|
+
name: "deviceId",
|
|
35721
|
+
form: "single",
|
|
35722
|
+
optional: false
|
|
35723
|
+
}],
|
|
35724
|
+
"automationControl.disable": [{
|
|
35725
|
+
name: "deviceId",
|
|
35726
|
+
form: "single",
|
|
35727
|
+
optional: false
|
|
35728
|
+
}],
|
|
35729
|
+
"automationControl.enable": [{
|
|
35730
|
+
name: "deviceId",
|
|
35731
|
+
form: "single",
|
|
35732
|
+
optional: false
|
|
35733
|
+
}],
|
|
35734
|
+
"automationControl.trigger": [{
|
|
35735
|
+
name: "deviceId",
|
|
35736
|
+
form: "single",
|
|
35737
|
+
optional: false
|
|
35738
|
+
}],
|
|
35739
|
+
"battery.wakeForStream": [{
|
|
35740
|
+
name: "deviceId",
|
|
35741
|
+
form: "single",
|
|
35742
|
+
optional: false
|
|
35743
|
+
}],
|
|
35744
|
+
"brightness.setBrightness": [{
|
|
35745
|
+
name: "deviceId",
|
|
35746
|
+
form: "single",
|
|
35747
|
+
optional: false
|
|
35748
|
+
}],
|
|
35749
|
+
"button.press": [{
|
|
35750
|
+
name: "deviceId",
|
|
35751
|
+
form: "single",
|
|
35752
|
+
optional: false
|
|
35753
|
+
}],
|
|
35754
|
+
"cameraCredentials.getCredentials": [{
|
|
35755
|
+
name: "deviceId",
|
|
35756
|
+
form: "single",
|
|
35757
|
+
optional: false
|
|
35758
|
+
}],
|
|
35759
|
+
"cameraStreams.getBrokerStreams": [{
|
|
35760
|
+
name: "deviceId",
|
|
35761
|
+
form: "single",
|
|
35762
|
+
optional: false
|
|
35763
|
+
}],
|
|
35764
|
+
"cameraStreams.getCameraStreams": [{
|
|
35765
|
+
name: "deviceId",
|
|
35766
|
+
form: "single",
|
|
35767
|
+
optional: false
|
|
35768
|
+
}],
|
|
35769
|
+
"cameraStreams.getProfileRtspEntries": [{
|
|
35770
|
+
name: "deviceId",
|
|
35771
|
+
form: "single",
|
|
35772
|
+
optional: false
|
|
35773
|
+
}],
|
|
35774
|
+
"cameraStreams.getRtspEntries": [{
|
|
35775
|
+
name: "deviceId",
|
|
35776
|
+
form: "single",
|
|
35777
|
+
optional: false
|
|
35778
|
+
}],
|
|
35779
|
+
"cameraStreams.pickStream": [{
|
|
35780
|
+
name: "deviceId",
|
|
35781
|
+
form: "single",
|
|
35782
|
+
optional: false
|
|
35783
|
+
}],
|
|
35784
|
+
"climateControl.setFanMode": [{
|
|
35785
|
+
name: "deviceId",
|
|
35786
|
+
form: "single",
|
|
35787
|
+
optional: false
|
|
35788
|
+
}],
|
|
35789
|
+
"climateControl.setMode": [{
|
|
35790
|
+
name: "deviceId",
|
|
35791
|
+
form: "single",
|
|
35792
|
+
optional: false
|
|
35793
|
+
}],
|
|
35794
|
+
"climateControl.setPreset": [{
|
|
35795
|
+
name: "deviceId",
|
|
35796
|
+
form: "single",
|
|
35797
|
+
optional: false
|
|
35798
|
+
}],
|
|
35799
|
+
"climateControl.setSwingHorizontal": [{
|
|
35800
|
+
name: "deviceId",
|
|
35801
|
+
form: "single",
|
|
35802
|
+
optional: false
|
|
35803
|
+
}],
|
|
35804
|
+
"climateControl.setSwingVertical": [{
|
|
35805
|
+
name: "deviceId",
|
|
35806
|
+
form: "single",
|
|
35807
|
+
optional: false
|
|
35808
|
+
}],
|
|
35809
|
+
"climateControl.setTarget": [{
|
|
35810
|
+
name: "deviceId",
|
|
35811
|
+
form: "single",
|
|
35812
|
+
optional: false
|
|
35813
|
+
}],
|
|
35814
|
+
"climateControl.setTargetHumidity": [{
|
|
35815
|
+
name: "deviceId",
|
|
35816
|
+
form: "single",
|
|
35817
|
+
optional: false
|
|
35818
|
+
}],
|
|
35819
|
+
"climateControl.setTargetRange": [{
|
|
35820
|
+
name: "deviceId",
|
|
35821
|
+
form: "single",
|
|
35822
|
+
optional: false
|
|
35823
|
+
}],
|
|
35824
|
+
"color.setColor": [{
|
|
35825
|
+
name: "deviceId",
|
|
35826
|
+
form: "single",
|
|
35827
|
+
optional: false
|
|
35828
|
+
}],
|
|
35829
|
+
"consumables.reset": [{
|
|
35830
|
+
name: "deviceId",
|
|
35831
|
+
form: "single",
|
|
35832
|
+
optional: false
|
|
35833
|
+
}],
|
|
35834
|
+
"control.setValue": [{
|
|
35835
|
+
name: "deviceId",
|
|
35836
|
+
form: "single",
|
|
35837
|
+
optional: false
|
|
35838
|
+
}],
|
|
35839
|
+
"cover.close": [{
|
|
35840
|
+
name: "deviceId",
|
|
35841
|
+
form: "single",
|
|
35842
|
+
optional: false
|
|
35843
|
+
}],
|
|
35844
|
+
"cover.open": [{
|
|
35845
|
+
name: "deviceId",
|
|
35846
|
+
form: "single",
|
|
35847
|
+
optional: false
|
|
35848
|
+
}],
|
|
35849
|
+
"cover.setPosition": [{
|
|
35850
|
+
name: "deviceId",
|
|
35851
|
+
form: "single",
|
|
35852
|
+
optional: false
|
|
35853
|
+
}],
|
|
35854
|
+
"cover.setTiltPosition": [{
|
|
35855
|
+
name: "deviceId",
|
|
35856
|
+
form: "single",
|
|
35857
|
+
optional: false
|
|
35858
|
+
}],
|
|
35859
|
+
"cover.stop": [{
|
|
35860
|
+
name: "deviceId",
|
|
35861
|
+
form: "single",
|
|
35862
|
+
optional: false
|
|
35863
|
+
}],
|
|
35864
|
+
"dayNight.getOptions": [{
|
|
35865
|
+
name: "deviceId",
|
|
35866
|
+
form: "single",
|
|
35867
|
+
optional: false
|
|
35868
|
+
}],
|
|
35869
|
+
"dayNight.setSettings": [{
|
|
35870
|
+
name: "deviceId",
|
|
35871
|
+
form: "single",
|
|
35872
|
+
optional: false
|
|
35873
|
+
}],
|
|
35874
|
+
"decoder.createSession": [{
|
|
35875
|
+
name: "deviceId",
|
|
35876
|
+
form: "single",
|
|
35877
|
+
optional: true
|
|
35878
|
+
}],
|
|
35879
|
+
"deviceAdoption.release": [{
|
|
35880
|
+
name: "camDeviceId",
|
|
35881
|
+
form: "single",
|
|
35882
|
+
optional: false
|
|
35883
|
+
}],
|
|
35884
|
+
"deviceAdoption.resync": [{
|
|
35885
|
+
name: "camDeviceId",
|
|
35886
|
+
form: "single",
|
|
35887
|
+
optional: false
|
|
35888
|
+
}],
|
|
35889
|
+
"deviceDiscovery.adoptDevice": [{
|
|
35890
|
+
name: "deviceId",
|
|
35891
|
+
form: "single",
|
|
35892
|
+
optional: false
|
|
35893
|
+
}],
|
|
35894
|
+
"deviceDiscovery.listDiscovered": [{
|
|
35895
|
+
name: "deviceId",
|
|
35896
|
+
form: "single",
|
|
35897
|
+
optional: false
|
|
35898
|
+
}],
|
|
35899
|
+
"deviceDiscovery.refreshDiscovery": [{
|
|
35900
|
+
name: "deviceId",
|
|
35901
|
+
form: "single",
|
|
35902
|
+
optional: false
|
|
35903
|
+
}],
|
|
35904
|
+
"deviceDiscovery.releaseDevice": [{
|
|
35905
|
+
name: "childDeviceId",
|
|
35906
|
+
form: "single",
|
|
35907
|
+
optional: false
|
|
35908
|
+
}, {
|
|
35909
|
+
name: "deviceId",
|
|
35910
|
+
form: "single",
|
|
35911
|
+
optional: false
|
|
35912
|
+
}],
|
|
35913
|
+
"deviceManager.adoptionRelease": [{
|
|
35914
|
+
name: "camDeviceId",
|
|
35915
|
+
form: "single",
|
|
35916
|
+
optional: false
|
|
35917
|
+
}],
|
|
35918
|
+
"deviceManager.adoptionResync": [{
|
|
35919
|
+
name: "camDeviceId",
|
|
35920
|
+
form: "single",
|
|
35921
|
+
optional: false
|
|
35922
|
+
}],
|
|
35923
|
+
"deviceManager.applyInitialMeta": [{
|
|
35924
|
+
name: "deviceId",
|
|
35925
|
+
form: "single",
|
|
35926
|
+
optional: false
|
|
35927
|
+
}, {
|
|
35928
|
+
name: "linkDeviceId",
|
|
35929
|
+
form: "single",
|
|
35930
|
+
optional: true
|
|
35931
|
+
}],
|
|
35932
|
+
"deviceManager.disable": [{
|
|
35933
|
+
name: "deviceId",
|
|
35934
|
+
form: "single",
|
|
35935
|
+
optional: false
|
|
35936
|
+
}],
|
|
35937
|
+
"deviceManager.enable": [{
|
|
35938
|
+
name: "deviceId",
|
|
35939
|
+
form: "single",
|
|
35940
|
+
optional: false
|
|
35941
|
+
}],
|
|
35942
|
+
"deviceManager.getBindings": [{
|
|
35943
|
+
name: "deviceId",
|
|
35944
|
+
form: "single",
|
|
35945
|
+
optional: false
|
|
35946
|
+
}],
|
|
35947
|
+
"deviceManager.getChildren": [{
|
|
35948
|
+
name: "parentDeviceId",
|
|
35949
|
+
form: "single",
|
|
35950
|
+
optional: false
|
|
35951
|
+
}],
|
|
35952
|
+
"deviceManager.getConfigSchema": [{
|
|
35953
|
+
name: "deviceId",
|
|
35954
|
+
form: "single",
|
|
35955
|
+
optional: false
|
|
35956
|
+
}],
|
|
35957
|
+
"deviceManager.getDevice": [{
|
|
35958
|
+
name: "deviceId",
|
|
35959
|
+
form: "single",
|
|
35960
|
+
optional: false
|
|
35961
|
+
}],
|
|
35962
|
+
"deviceManager.getDeviceAggregate": [{
|
|
35963
|
+
name: "deviceId",
|
|
35964
|
+
form: "single",
|
|
35965
|
+
optional: false
|
|
35966
|
+
}],
|
|
35967
|
+
"deviceManager.getDeviceLiveInfoAggregate": [{
|
|
35968
|
+
name: "deviceId",
|
|
35969
|
+
form: "single",
|
|
35970
|
+
optional: false
|
|
35971
|
+
}],
|
|
35972
|
+
"deviceManager.getDeviceSettingsAggregate": [{
|
|
35973
|
+
name: "deviceId",
|
|
35974
|
+
form: "single",
|
|
35975
|
+
optional: false
|
|
35976
|
+
}],
|
|
35977
|
+
"deviceManager.getDeviceStatusAggregate": [{
|
|
35978
|
+
name: "deviceId",
|
|
35979
|
+
form: "single",
|
|
35980
|
+
optional: false
|
|
35981
|
+
}],
|
|
35982
|
+
"deviceManager.getDeviceStatusAggregateBatch": [{
|
|
35983
|
+
name: "deviceIds",
|
|
35984
|
+
form: "array",
|
|
35985
|
+
optional: false
|
|
35986
|
+
}],
|
|
35987
|
+
"deviceManager.getLinkedDevices": [{
|
|
35988
|
+
name: "deviceId",
|
|
35989
|
+
form: "single",
|
|
35990
|
+
optional: false
|
|
35991
|
+
}],
|
|
35992
|
+
"deviceManager.getSettingsSchema": [{
|
|
35993
|
+
name: "deviceId",
|
|
35994
|
+
form: "single",
|
|
35995
|
+
optional: false
|
|
35996
|
+
}],
|
|
35997
|
+
"deviceManager.getStreamProfileMap": [{
|
|
35998
|
+
name: "deviceId",
|
|
35999
|
+
form: "single",
|
|
36000
|
+
optional: false
|
|
36001
|
+
}],
|
|
36002
|
+
"deviceManager.getStreamSources": [{
|
|
36003
|
+
name: "deviceId",
|
|
36004
|
+
form: "single",
|
|
36005
|
+
optional: false
|
|
36006
|
+
}],
|
|
36007
|
+
"deviceManager.getWireableFields": [{
|
|
36008
|
+
name: "deviceId",
|
|
36009
|
+
form: "single",
|
|
36010
|
+
optional: false
|
|
36011
|
+
}],
|
|
36012
|
+
"deviceManager.loadConfig": [{
|
|
36013
|
+
name: "deviceId",
|
|
36014
|
+
form: "single",
|
|
36015
|
+
optional: false
|
|
36016
|
+
}],
|
|
36017
|
+
"deviceManager.loadMeta": [{
|
|
36018
|
+
name: "deviceId",
|
|
36019
|
+
form: "single",
|
|
36020
|
+
optional: false
|
|
36021
|
+
}],
|
|
36022
|
+
"deviceManager.loadRuntimeState": [{
|
|
36023
|
+
name: "deviceId",
|
|
36024
|
+
form: "single",
|
|
36025
|
+
optional: false
|
|
36026
|
+
}],
|
|
36027
|
+
"deviceManager.persistConfig": [{
|
|
36028
|
+
name: "deviceId",
|
|
36029
|
+
form: "single",
|
|
36030
|
+
optional: false
|
|
36031
|
+
}],
|
|
36032
|
+
"deviceManager.probeStreams": [{
|
|
36033
|
+
name: "deviceId",
|
|
36034
|
+
form: "single",
|
|
36035
|
+
optional: false
|
|
36036
|
+
}],
|
|
36037
|
+
"deviceManager.registerDevice": [{
|
|
36038
|
+
name: "parentDeviceId",
|
|
36039
|
+
form: "single",
|
|
36040
|
+
optional: true
|
|
36041
|
+
}],
|
|
36042
|
+
"deviceManager.remove": [{
|
|
36043
|
+
name: "deviceId",
|
|
36044
|
+
form: "single",
|
|
36045
|
+
optional: false
|
|
36046
|
+
}],
|
|
36047
|
+
"deviceManager.removeDevice": [{
|
|
36048
|
+
name: "deviceId",
|
|
36049
|
+
form: "single",
|
|
36050
|
+
optional: false
|
|
36051
|
+
}],
|
|
36052
|
+
"deviceManager.runDeviceAction": [{
|
|
36053
|
+
name: "deviceId",
|
|
36054
|
+
form: "single",
|
|
36055
|
+
optional: false
|
|
36056
|
+
}],
|
|
36057
|
+
"deviceManager.setChildLayout": [{
|
|
36058
|
+
name: "deviceId",
|
|
36059
|
+
form: "single",
|
|
36060
|
+
optional: false
|
|
36061
|
+
}],
|
|
36062
|
+
"deviceManager.setDisabled": [{
|
|
36063
|
+
name: "deviceId",
|
|
36064
|
+
form: "single",
|
|
36065
|
+
optional: false
|
|
36066
|
+
}],
|
|
36067
|
+
"deviceManager.setDisplay": [{
|
|
36068
|
+
name: "deviceId",
|
|
36069
|
+
form: "single",
|
|
36070
|
+
optional: false
|
|
36071
|
+
}],
|
|
36072
|
+
"deviceManager.setIntegrationId": [{
|
|
36073
|
+
name: "deviceId",
|
|
36074
|
+
form: "single",
|
|
36075
|
+
optional: false
|
|
36076
|
+
}],
|
|
36077
|
+
"deviceManager.setLinkDeviceId": [{
|
|
36078
|
+
name: "deviceId",
|
|
36079
|
+
form: "single",
|
|
36080
|
+
optional: false
|
|
36081
|
+
}, {
|
|
36082
|
+
name: "linkDeviceId",
|
|
36083
|
+
form: "single",
|
|
36084
|
+
optional: true
|
|
36085
|
+
}],
|
|
36086
|
+
"deviceManager.setLocation": [{
|
|
36087
|
+
name: "deviceId",
|
|
36088
|
+
form: "single",
|
|
36089
|
+
optional: false
|
|
36090
|
+
}],
|
|
36091
|
+
"deviceManager.setMetadata": [{
|
|
36092
|
+
name: "deviceId",
|
|
36093
|
+
form: "single",
|
|
36094
|
+
optional: false
|
|
36095
|
+
}],
|
|
36096
|
+
"deviceManager.setName": [{
|
|
36097
|
+
name: "deviceId",
|
|
36098
|
+
form: "single",
|
|
36099
|
+
optional: false
|
|
36100
|
+
}],
|
|
36101
|
+
"deviceManager.setPrimaryChildEntityId": [{
|
|
36102
|
+
name: "deviceId",
|
|
36103
|
+
form: "single",
|
|
36104
|
+
optional: false
|
|
36105
|
+
}],
|
|
36106
|
+
"deviceManager.setRole": [{
|
|
36107
|
+
name: "deviceId",
|
|
36108
|
+
form: "single",
|
|
36109
|
+
optional: false
|
|
36110
|
+
}],
|
|
36111
|
+
"deviceManager.setStreamProfileMap": [{
|
|
36112
|
+
name: "deviceId",
|
|
36113
|
+
form: "single",
|
|
36114
|
+
optional: false
|
|
36115
|
+
}],
|
|
36116
|
+
"deviceManager.setType": [{
|
|
36117
|
+
name: "deviceId",
|
|
36118
|
+
form: "single",
|
|
36119
|
+
optional: false
|
|
36120
|
+
}],
|
|
36121
|
+
"deviceManager.setWrapperActive": [{
|
|
36122
|
+
name: "deviceId",
|
|
36123
|
+
form: "single",
|
|
36124
|
+
optional: false
|
|
36125
|
+
}],
|
|
36126
|
+
"deviceManager.testField": [{
|
|
36127
|
+
name: "deviceId",
|
|
36128
|
+
form: "single",
|
|
36129
|
+
optional: false
|
|
36130
|
+
}],
|
|
36131
|
+
"deviceManager.updateConfig": [{
|
|
36132
|
+
name: "deviceId",
|
|
36133
|
+
form: "single",
|
|
36134
|
+
optional: false
|
|
36135
|
+
}],
|
|
36136
|
+
"deviceManager.updateDeviceField": [{
|
|
36137
|
+
name: "deviceId",
|
|
36138
|
+
form: "single",
|
|
36139
|
+
optional: false
|
|
36140
|
+
}],
|
|
36141
|
+
"deviceManager.updateDeviceFieldsBatch": [{
|
|
36142
|
+
name: "deviceId",
|
|
36143
|
+
form: "single",
|
|
36144
|
+
optional: false
|
|
36145
|
+
}],
|
|
36146
|
+
"deviceOps.getConfigEntries": [{
|
|
36147
|
+
name: "deviceId",
|
|
36148
|
+
form: "single",
|
|
36149
|
+
optional: false
|
|
36150
|
+
}],
|
|
36151
|
+
"deviceOps.getRawState": [{
|
|
36152
|
+
name: "deviceId",
|
|
36153
|
+
form: "single",
|
|
36154
|
+
optional: false
|
|
36155
|
+
}],
|
|
36156
|
+
"deviceOps.getSettingsSchema": [{
|
|
36157
|
+
name: "deviceId",
|
|
36158
|
+
form: "single",
|
|
36159
|
+
optional: false
|
|
36160
|
+
}],
|
|
36161
|
+
"deviceOps.getStreamSources": [{
|
|
36162
|
+
name: "deviceId",
|
|
36163
|
+
form: "single",
|
|
36164
|
+
optional: false
|
|
36165
|
+
}],
|
|
36166
|
+
"deviceOps.removeDevice": [{
|
|
36167
|
+
name: "deviceId",
|
|
36168
|
+
form: "single",
|
|
36169
|
+
optional: false
|
|
36170
|
+
}],
|
|
36171
|
+
"deviceOps.runAction": [{
|
|
36172
|
+
name: "deviceId",
|
|
36173
|
+
form: "single",
|
|
36174
|
+
optional: false
|
|
36175
|
+
}],
|
|
36176
|
+
"deviceOps.setConfig": [{
|
|
36177
|
+
name: "deviceId",
|
|
36178
|
+
form: "single",
|
|
36179
|
+
optional: false
|
|
36180
|
+
}],
|
|
36181
|
+
"deviceState.getCapSlice": [{
|
|
36182
|
+
name: "deviceId",
|
|
36183
|
+
form: "single",
|
|
36184
|
+
optional: false
|
|
36185
|
+
}],
|
|
36186
|
+
"deviceState.getSnapshot": [{
|
|
36187
|
+
name: "deviceId",
|
|
36188
|
+
form: "single",
|
|
36189
|
+
optional: false
|
|
36190
|
+
}],
|
|
36191
|
+
"deviceState.setCapSlice": [{
|
|
36192
|
+
name: "deviceId",
|
|
36193
|
+
form: "single",
|
|
36194
|
+
optional: false
|
|
36195
|
+
}],
|
|
36196
|
+
"events.getEventClipUrl": [{
|
|
36197
|
+
name: "deviceId",
|
|
36198
|
+
form: "single",
|
|
36199
|
+
optional: false
|
|
36200
|
+
}],
|
|
36201
|
+
"events.getEvents": [{
|
|
36202
|
+
name: "deviceId",
|
|
36203
|
+
form: "single",
|
|
36204
|
+
optional: false
|
|
36205
|
+
}],
|
|
36206
|
+
"events.getEventThumbnail": [{
|
|
36207
|
+
name: "deviceId",
|
|
36208
|
+
form: "single",
|
|
36209
|
+
optional: false
|
|
36210
|
+
}],
|
|
36211
|
+
"faceGallery.getFaceByTrack": [{
|
|
36212
|
+
name: "deviceId",
|
|
36213
|
+
form: "single",
|
|
36214
|
+
optional: false
|
|
36215
|
+
}],
|
|
36216
|
+
"faceGallery.listRecentFaces": [{
|
|
36217
|
+
name: "deviceId",
|
|
36218
|
+
form: "single",
|
|
36219
|
+
optional: true
|
|
36220
|
+
}],
|
|
36221
|
+
"fanControl.setDirection": [{
|
|
36222
|
+
name: "deviceId",
|
|
36223
|
+
form: "single",
|
|
36224
|
+
optional: false
|
|
36225
|
+
}],
|
|
36226
|
+
"fanControl.setOscillating": [{
|
|
36227
|
+
name: "deviceId",
|
|
36228
|
+
form: "single",
|
|
36229
|
+
optional: false
|
|
36230
|
+
}],
|
|
36231
|
+
"fanControl.setPercentage": [{
|
|
36232
|
+
name: "deviceId",
|
|
36233
|
+
form: "single",
|
|
36234
|
+
optional: false
|
|
36235
|
+
}],
|
|
36236
|
+
"fanControl.setPreset": [{
|
|
36237
|
+
name: "deviceId",
|
|
36238
|
+
form: "single",
|
|
36239
|
+
optional: false
|
|
36240
|
+
}],
|
|
36241
|
+
"humidifier.setMode": [{
|
|
36242
|
+
name: "deviceId",
|
|
36243
|
+
form: "single",
|
|
36244
|
+
optional: false
|
|
36245
|
+
}],
|
|
36246
|
+
"humidifier.setOn": [{
|
|
36247
|
+
name: "deviceId",
|
|
36248
|
+
form: "single",
|
|
36249
|
+
optional: false
|
|
36250
|
+
}],
|
|
36251
|
+
"humidifier.setTargetHumidity": [{
|
|
36252
|
+
name: "deviceId",
|
|
36253
|
+
form: "single",
|
|
36254
|
+
optional: false
|
|
36255
|
+
}],
|
|
36256
|
+
"imageSettings.getOptions": [{
|
|
36257
|
+
name: "deviceId",
|
|
36258
|
+
form: "single",
|
|
36259
|
+
optional: false
|
|
36260
|
+
}],
|
|
36261
|
+
"imageSettings.setSettings": [{
|
|
36262
|
+
name: "deviceId",
|
|
36263
|
+
form: "single",
|
|
36264
|
+
optional: false
|
|
36265
|
+
}],
|
|
36266
|
+
"intercom.endTalkSession": [{
|
|
36267
|
+
name: "deviceId",
|
|
36268
|
+
form: "single",
|
|
36269
|
+
optional: false
|
|
36270
|
+
}],
|
|
36271
|
+
"intercom.handleAnswer": [{
|
|
36272
|
+
name: "deviceId",
|
|
36273
|
+
form: "single",
|
|
36274
|
+
optional: false
|
|
36275
|
+
}],
|
|
36276
|
+
"intercom.pushTalkAudio": [{
|
|
36277
|
+
name: "deviceId",
|
|
36278
|
+
form: "single",
|
|
36279
|
+
optional: false
|
|
36280
|
+
}],
|
|
36281
|
+
"intercom.startSession": [{
|
|
36282
|
+
name: "deviceId",
|
|
36283
|
+
form: "single",
|
|
36284
|
+
optional: false
|
|
36285
|
+
}],
|
|
36286
|
+
"intercom.startTalkSession": [{
|
|
36287
|
+
name: "deviceId",
|
|
36288
|
+
form: "single",
|
|
36289
|
+
optional: false
|
|
36290
|
+
}],
|
|
36291
|
+
"intercom.stopSession": [{
|
|
36292
|
+
name: "deviceId",
|
|
36293
|
+
form: "single",
|
|
36294
|
+
optional: false
|
|
36295
|
+
}],
|
|
36296
|
+
"lawnMowerControl.dock": [{
|
|
36297
|
+
name: "deviceId",
|
|
36298
|
+
form: "single",
|
|
36299
|
+
optional: false
|
|
36300
|
+
}],
|
|
36301
|
+
"lawnMowerControl.pause": [{
|
|
36302
|
+
name: "deviceId",
|
|
36303
|
+
form: "single",
|
|
36304
|
+
optional: false
|
|
36305
|
+
}],
|
|
36306
|
+
"lawnMowerControl.startMowing": [{
|
|
36307
|
+
name: "deviceId",
|
|
36308
|
+
form: "single",
|
|
36309
|
+
optional: false
|
|
36310
|
+
}],
|
|
36311
|
+
"lockControl.lock": [{
|
|
36312
|
+
name: "deviceId",
|
|
36313
|
+
form: "single",
|
|
36314
|
+
optional: false
|
|
36315
|
+
}],
|
|
36316
|
+
"lockControl.open": [{
|
|
36317
|
+
name: "deviceId",
|
|
36318
|
+
form: "single",
|
|
36319
|
+
optional: false
|
|
36320
|
+
}],
|
|
36321
|
+
"lockControl.unlock": [{
|
|
36322
|
+
name: "deviceId",
|
|
36323
|
+
form: "single",
|
|
36324
|
+
optional: false
|
|
36325
|
+
}],
|
|
36326
|
+
"mediaPlayer.next": [{
|
|
36327
|
+
name: "deviceId",
|
|
36328
|
+
form: "single",
|
|
36329
|
+
optional: false
|
|
36330
|
+
}],
|
|
36331
|
+
"mediaPlayer.pause": [{
|
|
36332
|
+
name: "deviceId",
|
|
36333
|
+
form: "single",
|
|
36334
|
+
optional: false
|
|
36335
|
+
}],
|
|
36336
|
+
"mediaPlayer.play": [{
|
|
36337
|
+
name: "deviceId",
|
|
36338
|
+
form: "single",
|
|
36339
|
+
optional: false
|
|
36340
|
+
}],
|
|
36341
|
+
"mediaPlayer.playMedia": [{
|
|
36342
|
+
name: "deviceId",
|
|
36343
|
+
form: "single",
|
|
36344
|
+
optional: false
|
|
36345
|
+
}],
|
|
36346
|
+
"mediaPlayer.previous": [{
|
|
36347
|
+
name: "deviceId",
|
|
36348
|
+
form: "single",
|
|
36349
|
+
optional: false
|
|
36350
|
+
}],
|
|
36351
|
+
"mediaPlayer.seek": [{
|
|
36352
|
+
name: "deviceId",
|
|
36353
|
+
form: "single",
|
|
36354
|
+
optional: false
|
|
36355
|
+
}],
|
|
36356
|
+
"mediaPlayer.selectSource": [{
|
|
36357
|
+
name: "deviceId",
|
|
36358
|
+
form: "single",
|
|
36359
|
+
optional: false
|
|
36360
|
+
}],
|
|
36361
|
+
"mediaPlayer.setMute": [{
|
|
36362
|
+
name: "deviceId",
|
|
36363
|
+
form: "single",
|
|
36364
|
+
optional: false
|
|
36365
|
+
}],
|
|
36366
|
+
"mediaPlayer.setRepeat": [{
|
|
36367
|
+
name: "deviceId",
|
|
36368
|
+
form: "single",
|
|
36369
|
+
optional: false
|
|
36370
|
+
}],
|
|
36371
|
+
"mediaPlayer.setShuffle": [{
|
|
36372
|
+
name: "deviceId",
|
|
36373
|
+
form: "single",
|
|
36374
|
+
optional: false
|
|
36375
|
+
}],
|
|
36376
|
+
"mediaPlayer.setVolume": [{
|
|
36377
|
+
name: "deviceId",
|
|
36378
|
+
form: "single",
|
|
36379
|
+
optional: false
|
|
36380
|
+
}],
|
|
36381
|
+
"mediaPlayer.stop": [{
|
|
36382
|
+
name: "deviceId",
|
|
36383
|
+
form: "single",
|
|
36384
|
+
optional: false
|
|
36385
|
+
}],
|
|
36386
|
+
"motion.isDetected": [{
|
|
36387
|
+
name: "deviceId",
|
|
36388
|
+
form: "single",
|
|
36389
|
+
optional: false
|
|
36390
|
+
}],
|
|
36391
|
+
"motionDetection.analyze": [{
|
|
36392
|
+
name: "deviceId",
|
|
36393
|
+
form: "single",
|
|
36394
|
+
optional: false
|
|
36395
|
+
}],
|
|
36396
|
+
"motionDetection.removeCamera": [{
|
|
36397
|
+
name: "deviceId",
|
|
36398
|
+
form: "single",
|
|
36399
|
+
optional: false
|
|
36400
|
+
}],
|
|
36401
|
+
"motionTrigger.setMotionTrigger": [{
|
|
36402
|
+
name: "deviceId",
|
|
36403
|
+
form: "single",
|
|
36404
|
+
optional: false
|
|
36405
|
+
}],
|
|
36406
|
+
"motionZones.getOptions": [{
|
|
36407
|
+
name: "deviceId",
|
|
36408
|
+
form: "single",
|
|
36409
|
+
optional: false
|
|
36410
|
+
}],
|
|
36411
|
+
"motionZones.setZone": [{
|
|
36412
|
+
name: "deviceId",
|
|
36413
|
+
form: "single",
|
|
36414
|
+
optional: false
|
|
36415
|
+
}],
|
|
36416
|
+
"nativeObjectDetection.setEnabled": [{
|
|
36417
|
+
name: "deviceId",
|
|
36418
|
+
form: "single",
|
|
36419
|
+
optional: false
|
|
36420
|
+
}],
|
|
36421
|
+
"networkQuality.getDeviceStats": [{
|
|
36422
|
+
name: "deviceId",
|
|
36423
|
+
form: "single",
|
|
36424
|
+
optional: false
|
|
36425
|
+
}],
|
|
36426
|
+
"networkQuality.reportClientStats": [{
|
|
36427
|
+
name: "deviceId",
|
|
36428
|
+
form: "single",
|
|
36429
|
+
optional: false
|
|
36430
|
+
}],
|
|
36431
|
+
"notificationRules.setDeviceMuted": [{
|
|
36432
|
+
name: "deviceId",
|
|
36433
|
+
form: "single",
|
|
36434
|
+
optional: false
|
|
36435
|
+
}],
|
|
36436
|
+
"notifier.cancel": [{
|
|
36437
|
+
name: "deviceId",
|
|
36438
|
+
form: "single",
|
|
36439
|
+
optional: false
|
|
36440
|
+
}],
|
|
36441
|
+
"notifier.send": [{
|
|
36442
|
+
name: "deviceId",
|
|
36443
|
+
form: "single",
|
|
36444
|
+
optional: false
|
|
36445
|
+
}],
|
|
36446
|
+
"osd.setOverlay": [{
|
|
36447
|
+
name: "deviceId",
|
|
36448
|
+
form: "single",
|
|
36449
|
+
optional: false
|
|
36450
|
+
}],
|
|
36451
|
+
"osdManager.clearSlotBinding": [{
|
|
36452
|
+
name: "deviceId",
|
|
36453
|
+
form: "single",
|
|
36454
|
+
optional: false
|
|
36455
|
+
}],
|
|
36456
|
+
"osdManager.copyDeviceConfiguration": [{
|
|
36457
|
+
name: "sourceDeviceId",
|
|
36458
|
+
form: "single",
|
|
36459
|
+
optional: false
|
|
36460
|
+
}, {
|
|
36461
|
+
name: "targetDeviceId",
|
|
36462
|
+
form: "single",
|
|
36463
|
+
optional: false
|
|
36464
|
+
}],
|
|
36465
|
+
"osdManager.getDeviceOsd": [{
|
|
36466
|
+
name: "deviceId",
|
|
36467
|
+
form: "single",
|
|
36468
|
+
optional: false
|
|
36469
|
+
}],
|
|
36470
|
+
"osdManager.getSourceCatalog": [{
|
|
36471
|
+
name: "deviceId",
|
|
36472
|
+
form: "single",
|
|
36473
|
+
optional: false
|
|
36474
|
+
}],
|
|
36475
|
+
"osdManager.previewSlot": [{
|
|
36476
|
+
name: "deviceId",
|
|
36477
|
+
form: "single",
|
|
36478
|
+
optional: false
|
|
36479
|
+
}],
|
|
36480
|
+
"osdManager.renderDevice": [{
|
|
36481
|
+
name: "deviceId",
|
|
36482
|
+
form: "single",
|
|
36483
|
+
optional: false
|
|
36484
|
+
}],
|
|
36485
|
+
"osdManager.setSlotBinding": [{
|
|
36486
|
+
name: "deviceId",
|
|
36487
|
+
form: "single",
|
|
36488
|
+
optional: false
|
|
36489
|
+
}],
|
|
36490
|
+
"petFeeder.callPet": [{
|
|
36491
|
+
name: "deviceId",
|
|
36492
|
+
form: "single",
|
|
36493
|
+
optional: false
|
|
36494
|
+
}],
|
|
36495
|
+
"petFeeder.cancelFeed": [{
|
|
36496
|
+
name: "deviceId",
|
|
36497
|
+
form: "single",
|
|
36498
|
+
optional: false
|
|
36499
|
+
}],
|
|
36500
|
+
"petFeeder.feed": [{
|
|
36501
|
+
name: "deviceId",
|
|
36502
|
+
form: "single",
|
|
36503
|
+
optional: false
|
|
36504
|
+
}],
|
|
36505
|
+
"petFeeder.markFoodReplenished": [{
|
|
36506
|
+
name: "deviceId",
|
|
36507
|
+
form: "single",
|
|
36508
|
+
optional: false
|
|
36509
|
+
}],
|
|
36510
|
+
"petFeeder.playSound": [{
|
|
36511
|
+
name: "deviceId",
|
|
36512
|
+
form: "single",
|
|
36513
|
+
optional: false
|
|
36514
|
+
}],
|
|
36515
|
+
"petFeeder.resetDesiccant": [{
|
|
36516
|
+
name: "deviceId",
|
|
36517
|
+
form: "single",
|
|
36518
|
+
optional: false
|
|
36519
|
+
}],
|
|
36520
|
+
"petFeeder.setChildLock": [{
|
|
36521
|
+
name: "deviceId",
|
|
36522
|
+
form: "single",
|
|
36523
|
+
optional: false
|
|
36524
|
+
}],
|
|
36525
|
+
"petFeeder.setFeedSound": [{
|
|
36526
|
+
name: "deviceId",
|
|
36527
|
+
form: "single",
|
|
36528
|
+
optional: false
|
|
36529
|
+
}],
|
|
36530
|
+
"petFeeder.setIndicatorLight": [{
|
|
36531
|
+
name: "deviceId",
|
|
36532
|
+
form: "single",
|
|
36533
|
+
optional: false
|
|
36534
|
+
}],
|
|
36535
|
+
"petFeeder.setVolume": [{
|
|
36536
|
+
name: "deviceId",
|
|
36537
|
+
form: "single",
|
|
36538
|
+
optional: false
|
|
36539
|
+
}],
|
|
36540
|
+
"pipelineAnalytics.clearTracks": [{
|
|
36541
|
+
name: "deviceId",
|
|
36542
|
+
form: "single",
|
|
36543
|
+
optional: false
|
|
36544
|
+
}],
|
|
36545
|
+
"pipelineAnalytics.completeRetrainTrack": [{
|
|
36546
|
+
name: "deviceId",
|
|
36547
|
+
form: "single",
|
|
36548
|
+
optional: false
|
|
36549
|
+
}],
|
|
36550
|
+
"pipelineAnalytics.deleteDeviceEvents": [{
|
|
36551
|
+
name: "deviceId",
|
|
36552
|
+
form: "single",
|
|
36553
|
+
optional: false
|
|
36554
|
+
}],
|
|
36555
|
+
"pipelineAnalytics.deleteTracks": [{
|
|
36556
|
+
name: "deviceId",
|
|
36557
|
+
form: "single",
|
|
36558
|
+
optional: false
|
|
36559
|
+
}],
|
|
36560
|
+
"pipelineAnalytics.deselectRetrainFrame": [{
|
|
36561
|
+
name: "deviceId",
|
|
36562
|
+
form: "single",
|
|
36563
|
+
optional: false
|
|
36564
|
+
}],
|
|
36565
|
+
"pipelineAnalytics.getActiveTracks": [{
|
|
36566
|
+
name: "deviceId",
|
|
36567
|
+
form: "single",
|
|
36568
|
+
optional: false
|
|
36569
|
+
}],
|
|
36570
|
+
"pipelineAnalytics.getAudioEvents": [{
|
|
36571
|
+
name: "deviceId",
|
|
36572
|
+
form: "single",
|
|
36573
|
+
optional: false
|
|
36574
|
+
}],
|
|
36575
|
+
"pipelineAnalytics.getEventDensity": [{
|
|
36576
|
+
name: "deviceId",
|
|
36577
|
+
form: "single",
|
|
36578
|
+
optional: false
|
|
36579
|
+
}],
|
|
36580
|
+
"pipelineAnalytics.getEventMedia": [{
|
|
36581
|
+
name: "deviceId",
|
|
36582
|
+
form: "single",
|
|
36583
|
+
optional: false
|
|
36584
|
+
}],
|
|
36585
|
+
"pipelineAnalytics.getKeyEvents": [{
|
|
36586
|
+
name: "deviceId",
|
|
36587
|
+
form: "single",
|
|
36588
|
+
optional: false
|
|
36589
|
+
}],
|
|
36590
|
+
"pipelineAnalytics.getMotionEvents": [{
|
|
36591
|
+
name: "deviceId",
|
|
36592
|
+
form: "single",
|
|
36593
|
+
optional: false
|
|
36594
|
+
}],
|
|
36595
|
+
"pipelineAnalytics.getObjectEvents": [{
|
|
36596
|
+
name: "deviceId",
|
|
36597
|
+
form: "single",
|
|
36598
|
+
optional: false
|
|
36599
|
+
}],
|
|
36600
|
+
"pipelineAnalytics.getRetrainExportUrl": [{
|
|
36601
|
+
name: "deviceIds",
|
|
36602
|
+
form: "array",
|
|
36603
|
+
optional: true
|
|
36604
|
+
}],
|
|
36605
|
+
"pipelineAnalytics.getSensorEvents": [{
|
|
36606
|
+
name: "deviceId",
|
|
36607
|
+
form: "single",
|
|
36608
|
+
optional: false
|
|
36609
|
+
}],
|
|
36610
|
+
"pipelineAnalytics.getTrack": [{
|
|
36611
|
+
name: "deviceId",
|
|
36612
|
+
form: "single",
|
|
36613
|
+
optional: false
|
|
36614
|
+
}],
|
|
36615
|
+
"pipelineAnalytics.getTrackMedia": [{
|
|
36616
|
+
name: "deviceId",
|
|
36617
|
+
form: "single",
|
|
36618
|
+
optional: false
|
|
36619
|
+
}],
|
|
36620
|
+
"pipelineAnalytics.getTrainingExportSummary": [{
|
|
36621
|
+
name: "deviceIds",
|
|
36622
|
+
form: "array",
|
|
36623
|
+
optional: true
|
|
36624
|
+
}],
|
|
36625
|
+
"pipelineAnalytics.getTrainingExportUrl": [{
|
|
36626
|
+
name: "deviceIds",
|
|
36627
|
+
form: "array",
|
|
36628
|
+
optional: true
|
|
36629
|
+
}],
|
|
36630
|
+
"pipelineAnalytics.listEventKinds": [{
|
|
36631
|
+
name: "deviceId",
|
|
36632
|
+
form: "single",
|
|
36633
|
+
optional: false
|
|
36634
|
+
}],
|
|
36635
|
+
"pipelineAnalytics.listEventKindsBatch": [{
|
|
36636
|
+
name: "deviceIds",
|
|
36637
|
+
form: "array",
|
|
36638
|
+
optional: false
|
|
36639
|
+
}],
|
|
36640
|
+
"pipelineAnalytics.listOpsLog": [{
|
|
36641
|
+
name: "deviceId",
|
|
36642
|
+
form: "single",
|
|
36643
|
+
optional: true
|
|
36644
|
+
}],
|
|
36645
|
+
"pipelineAnalytics.listRecentTracks": [{
|
|
36646
|
+
name: "deviceIds",
|
|
36647
|
+
form: "array",
|
|
36648
|
+
optional: false
|
|
36649
|
+
}],
|
|
36650
|
+
"pipelineAnalytics.listRetrainStaging": [{
|
|
36651
|
+
name: "deviceIds",
|
|
36652
|
+
form: "array",
|
|
36653
|
+
optional: true
|
|
36654
|
+
}],
|
|
36655
|
+
"pipelineAnalytics.listTrackMedia": [{
|
|
36656
|
+
name: "deviceId",
|
|
36657
|
+
form: "single",
|
|
36658
|
+
optional: false
|
|
36659
|
+
}],
|
|
36660
|
+
"pipelineAnalytics.listTracks": [{
|
|
36661
|
+
name: "deviceId",
|
|
36662
|
+
form: "single",
|
|
36663
|
+
optional: false
|
|
36664
|
+
}],
|
|
36665
|
+
"pipelineAnalytics.proposeRetrainAnnotations": [{
|
|
36666
|
+
name: "deviceId",
|
|
36667
|
+
form: "single",
|
|
36668
|
+
optional: false
|
|
36669
|
+
}],
|
|
36670
|
+
"pipelineAnalytics.pruneEventsBefore": [{
|
|
36671
|
+
name: "deviceId",
|
|
36672
|
+
form: "single",
|
|
36673
|
+
optional: false
|
|
36674
|
+
}],
|
|
36675
|
+
"pipelineAnalytics.pruneTracksBefore": [{
|
|
36676
|
+
name: "deviceId",
|
|
36677
|
+
form: "single",
|
|
36678
|
+
optional: false
|
|
36679
|
+
}],
|
|
36680
|
+
"pipelineAnalytics.rebuildObjectEmbeddings": [{
|
|
36681
|
+
name: "deviceId",
|
|
36682
|
+
form: "single",
|
|
36683
|
+
optional: true
|
|
36684
|
+
}],
|
|
36685
|
+
"pipelineAnalytics.restageRetrainTrack": [{
|
|
36686
|
+
name: "deviceId",
|
|
36687
|
+
form: "single",
|
|
36688
|
+
optional: false
|
|
36689
|
+
}],
|
|
36690
|
+
"pipelineAnalytics.saveRetrainAnnotations": [{
|
|
36691
|
+
name: "deviceId",
|
|
36692
|
+
form: "single",
|
|
36693
|
+
optional: false
|
|
36694
|
+
}],
|
|
36695
|
+
"pipelineAnalytics.searchObjectEvents": [{
|
|
36696
|
+
name: "deviceId",
|
|
36697
|
+
form: "single",
|
|
36698
|
+
optional: true
|
|
36699
|
+
}],
|
|
36700
|
+
"pipelineAnalytics.selectRetrainFrames": [{
|
|
36701
|
+
name: "deviceId",
|
|
36702
|
+
form: "single",
|
|
36703
|
+
optional: false
|
|
36704
|
+
}],
|
|
36705
|
+
"pipelineAnalytics.setTrackFlags": [{
|
|
36706
|
+
name: "deviceId",
|
|
36707
|
+
form: "single",
|
|
36708
|
+
optional: false
|
|
36709
|
+
}],
|
|
36710
|
+
"pipelineAnalytics.wipeAllAnalytics": [{
|
|
36711
|
+
name: "deviceId",
|
|
36712
|
+
form: "single",
|
|
36713
|
+
optional: false
|
|
36714
|
+
}],
|
|
36715
|
+
"pipelineExecutor.runPipeline": [{
|
|
36716
|
+
name: "deviceId",
|
|
36717
|
+
form: "single",
|
|
36718
|
+
optional: true
|
|
36719
|
+
}],
|
|
36720
|
+
"pipelineExecutor.runPipelineBatch": [{
|
|
36721
|
+
name: "deviceId",
|
|
36722
|
+
form: "single",
|
|
36723
|
+
optional: true
|
|
36724
|
+
}],
|
|
36725
|
+
"pipelineOrchestrator.assignAudio": [{
|
|
36726
|
+
name: "deviceId",
|
|
36727
|
+
form: "single",
|
|
36728
|
+
optional: false
|
|
36729
|
+
}],
|
|
36730
|
+
"pipelineOrchestrator.assignPipeline": [{
|
|
36731
|
+
name: "deviceId",
|
|
36732
|
+
form: "single",
|
|
36733
|
+
optional: false
|
|
36734
|
+
}],
|
|
36735
|
+
"pipelineOrchestrator.getAudioAssignment": [{
|
|
36736
|
+
name: "deviceId",
|
|
36737
|
+
form: "single",
|
|
36738
|
+
optional: false
|
|
36739
|
+
}],
|
|
36740
|
+
"pipelineOrchestrator.getCameraMetrics": [{
|
|
36741
|
+
name: "deviceId",
|
|
36742
|
+
form: "single",
|
|
36743
|
+
optional: false
|
|
36744
|
+
}],
|
|
36745
|
+
"pipelineOrchestrator.getCameraSettings": [{
|
|
36746
|
+
name: "deviceId",
|
|
36747
|
+
form: "single",
|
|
36748
|
+
optional: false
|
|
36749
|
+
}],
|
|
36750
|
+
"pipelineOrchestrator.getCameraStatus": [{
|
|
36751
|
+
name: "deviceId",
|
|
36752
|
+
form: "single",
|
|
36753
|
+
optional: false
|
|
36754
|
+
}],
|
|
36755
|
+
"pipelineOrchestrator.getCameraStatuses": [{
|
|
36756
|
+
name: "deviceIds",
|
|
36757
|
+
form: "array",
|
|
36758
|
+
optional: true
|
|
36759
|
+
}],
|
|
36760
|
+
"pipelineOrchestrator.getCameraStepOverrides": [{
|
|
36761
|
+
name: "deviceId",
|
|
36762
|
+
form: "single",
|
|
36763
|
+
optional: false
|
|
36764
|
+
}],
|
|
36765
|
+
"pipelineOrchestrator.getCameraSwitches": [{
|
|
36766
|
+
name: "deviceId",
|
|
36767
|
+
form: "single",
|
|
36768
|
+
optional: false
|
|
36769
|
+
}],
|
|
36770
|
+
"pipelineOrchestrator.getPipelineAssignment": [{
|
|
36771
|
+
name: "deviceId",
|
|
36772
|
+
form: "single",
|
|
36773
|
+
optional: false
|
|
36774
|
+
}],
|
|
36775
|
+
"pipelineOrchestrator.getPipelineDevicePin": [{
|
|
36776
|
+
name: "deviceId",
|
|
36777
|
+
form: "single",
|
|
36778
|
+
optional: false
|
|
36779
|
+
}],
|
|
36780
|
+
"pipelineOrchestrator.resolvePipeline": [{
|
|
36781
|
+
name: "deviceId",
|
|
36782
|
+
form: "single",
|
|
36783
|
+
optional: false
|
|
36784
|
+
}],
|
|
36785
|
+
"pipelineOrchestrator.setCameraPipelineForAgent": [{
|
|
36786
|
+
name: "deviceId",
|
|
36787
|
+
form: "single",
|
|
36788
|
+
optional: false
|
|
36789
|
+
}],
|
|
36790
|
+
"pipelineOrchestrator.setCameraStepOverride": [{
|
|
36791
|
+
name: "deviceId",
|
|
36792
|
+
form: "single",
|
|
36793
|
+
optional: false
|
|
36794
|
+
}],
|
|
36795
|
+
"pipelineOrchestrator.setCameraStepToggle": [{
|
|
36796
|
+
name: "deviceId",
|
|
36797
|
+
form: "single",
|
|
36798
|
+
optional: false
|
|
36799
|
+
}],
|
|
36800
|
+
"pipelineOrchestrator.setCameraSwitch": [{
|
|
36801
|
+
name: "deviceId",
|
|
36802
|
+
form: "single",
|
|
36803
|
+
optional: false
|
|
36804
|
+
}],
|
|
36805
|
+
"pipelineOrchestrator.setPipelineDevicePin": [{
|
|
36806
|
+
name: "deviceId",
|
|
36807
|
+
form: "single",
|
|
36808
|
+
optional: false
|
|
36809
|
+
}],
|
|
36810
|
+
"pipelineOrchestrator.unassignAudio": [{
|
|
36811
|
+
name: "deviceId",
|
|
36812
|
+
form: "single",
|
|
36813
|
+
optional: false
|
|
36814
|
+
}],
|
|
36815
|
+
"pipelineOrchestrator.unassignPipeline": [{
|
|
36816
|
+
name: "deviceId",
|
|
36817
|
+
form: "single",
|
|
36818
|
+
optional: false
|
|
36819
|
+
}],
|
|
36820
|
+
"pipelineRunner.attachCamera": [{
|
|
36821
|
+
name: "deviceId",
|
|
36822
|
+
form: "single",
|
|
36823
|
+
optional: false
|
|
36824
|
+
}],
|
|
36825
|
+
"pipelineRunner.detachCamera": [{
|
|
36826
|
+
name: "deviceId",
|
|
36827
|
+
form: "single",
|
|
36828
|
+
optional: false
|
|
36829
|
+
}],
|
|
36830
|
+
"pipelineRunner.getCameraMetrics": [{
|
|
36831
|
+
name: "deviceId",
|
|
36832
|
+
form: "single",
|
|
36833
|
+
optional: false
|
|
36834
|
+
}],
|
|
36835
|
+
"pipelineRunner.reportMotion": [{
|
|
36836
|
+
name: "deviceId",
|
|
36837
|
+
form: "single",
|
|
36838
|
+
optional: false
|
|
36839
|
+
}],
|
|
36840
|
+
"pipelineRunner.runDetailSubtree": [{
|
|
36841
|
+
name: "deviceId",
|
|
36842
|
+
form: "single",
|
|
36843
|
+
optional: false
|
|
36844
|
+
}],
|
|
36845
|
+
"pipelineRunner.runStatelessStep": [{
|
|
36846
|
+
name: "sourceDeviceId",
|
|
36847
|
+
form: "single",
|
|
36848
|
+
optional: false
|
|
36849
|
+
}],
|
|
36850
|
+
"plateGallery.getPlateByTrack": [{
|
|
36851
|
+
name: "deviceId",
|
|
36852
|
+
form: "single",
|
|
36853
|
+
optional: false
|
|
36854
|
+
}],
|
|
36855
|
+
"plateGallery.listPlates": [{
|
|
36856
|
+
name: "deviceId",
|
|
36857
|
+
form: "single",
|
|
36858
|
+
optional: true
|
|
36859
|
+
}],
|
|
36860
|
+
"privacyMask.getOptions": [{
|
|
36861
|
+
name: "deviceId",
|
|
36862
|
+
form: "single",
|
|
36863
|
+
optional: false
|
|
36864
|
+
}],
|
|
36865
|
+
"privacyMask.setAudioEnabled": [{
|
|
36866
|
+
name: "deviceId",
|
|
36867
|
+
form: "single",
|
|
36868
|
+
optional: false
|
|
36869
|
+
}],
|
|
36870
|
+
"privacyMask.setMask": [{
|
|
36871
|
+
name: "deviceId",
|
|
36872
|
+
form: "single",
|
|
36873
|
+
optional: false
|
|
36874
|
+
}],
|
|
36875
|
+
"ptz.continuousMove": [{
|
|
36876
|
+
name: "deviceId",
|
|
36877
|
+
form: "single",
|
|
36878
|
+
optional: false
|
|
36879
|
+
}],
|
|
36880
|
+
"ptz.deletePreset": [{
|
|
36881
|
+
name: "deviceId",
|
|
36882
|
+
form: "single",
|
|
36883
|
+
optional: false
|
|
36884
|
+
}],
|
|
36885
|
+
"ptz.getOptions": [{
|
|
36886
|
+
name: "deviceId",
|
|
36887
|
+
form: "single",
|
|
36888
|
+
optional: false
|
|
36889
|
+
}],
|
|
36890
|
+
"ptz.getPosition": [{
|
|
36891
|
+
name: "deviceId",
|
|
36892
|
+
form: "single",
|
|
36893
|
+
optional: false
|
|
36894
|
+
}],
|
|
36895
|
+
"ptz.getPresets": [{
|
|
36896
|
+
name: "deviceId",
|
|
36897
|
+
form: "single",
|
|
36898
|
+
optional: false
|
|
36899
|
+
}],
|
|
36900
|
+
"ptz.goHome": [{
|
|
36901
|
+
name: "deviceId",
|
|
36902
|
+
form: "single",
|
|
36903
|
+
optional: false
|
|
36904
|
+
}],
|
|
36905
|
+
"ptz.goToPreset": [{
|
|
36906
|
+
name: "deviceId",
|
|
36907
|
+
form: "single",
|
|
36908
|
+
optional: false
|
|
36909
|
+
}],
|
|
36910
|
+
"ptz.move": [{
|
|
36911
|
+
name: "deviceId",
|
|
36912
|
+
form: "single",
|
|
36913
|
+
optional: false
|
|
36914
|
+
}],
|
|
36915
|
+
"ptz.savePreset": [{
|
|
36916
|
+
name: "deviceId",
|
|
36917
|
+
form: "single",
|
|
36918
|
+
optional: false
|
|
36919
|
+
}],
|
|
36920
|
+
"ptz.setAutofocus": [{
|
|
36921
|
+
name: "deviceId",
|
|
36922
|
+
form: "single",
|
|
36923
|
+
optional: false
|
|
36924
|
+
}],
|
|
36925
|
+
"ptz.stop": [{
|
|
36926
|
+
name: "deviceId",
|
|
36927
|
+
form: "single",
|
|
36928
|
+
optional: false
|
|
36929
|
+
}],
|
|
36930
|
+
"ptzAutotrack.getSettings": [{
|
|
36931
|
+
name: "deviceId",
|
|
36932
|
+
form: "single",
|
|
36933
|
+
optional: false
|
|
36934
|
+
}],
|
|
36935
|
+
"ptzAutotrack.getStatus": [{
|
|
36936
|
+
name: "deviceId",
|
|
36937
|
+
form: "single",
|
|
36938
|
+
optional: false
|
|
36939
|
+
}],
|
|
36940
|
+
"ptzAutotrack.setEnabled": [{
|
|
36941
|
+
name: "deviceId",
|
|
36942
|
+
form: "single",
|
|
36943
|
+
optional: false
|
|
36944
|
+
}],
|
|
36945
|
+
"ptzAutotrack.setSettings": [{
|
|
36946
|
+
name: "deviceId",
|
|
36947
|
+
form: "single",
|
|
36948
|
+
optional: false
|
|
36949
|
+
}],
|
|
36950
|
+
"reboot.reboot": [{
|
|
36951
|
+
name: "deviceId",
|
|
36952
|
+
form: "single",
|
|
36953
|
+
optional: false
|
|
36954
|
+
}],
|
|
36955
|
+
"recording.deleteFootprint": [{
|
|
36956
|
+
name: "deviceId",
|
|
36957
|
+
form: "single",
|
|
36958
|
+
optional: false
|
|
36959
|
+
}],
|
|
36960
|
+
"recording.getAvailability": [{
|
|
36961
|
+
name: "deviceId",
|
|
36962
|
+
form: "single",
|
|
36963
|
+
optional: false
|
|
36964
|
+
}],
|
|
36965
|
+
"recording.getDaysWithRecordings": [{
|
|
36966
|
+
name: "deviceId",
|
|
36967
|
+
form: "single",
|
|
36968
|
+
optional: false
|
|
36969
|
+
}],
|
|
36970
|
+
"recording.getDeviceConfig": [{
|
|
36971
|
+
name: "deviceId",
|
|
36972
|
+
form: "single",
|
|
36973
|
+
optional: false
|
|
36974
|
+
}],
|
|
36975
|
+
"recording.getPlaybackManifest": [{
|
|
36976
|
+
name: "deviceId",
|
|
36977
|
+
form: "single",
|
|
36978
|
+
optional: false
|
|
36979
|
+
}],
|
|
36980
|
+
"recording.listOpsLog": [{
|
|
36981
|
+
name: "deviceId",
|
|
36982
|
+
form: "single",
|
|
36983
|
+
optional: true
|
|
36984
|
+
}],
|
|
36985
|
+
"recording.locateSegment": [{
|
|
36986
|
+
name: "deviceId",
|
|
36987
|
+
form: "single",
|
|
36988
|
+
optional: false
|
|
36989
|
+
}],
|
|
36990
|
+
"recording.pruneFootage": [{
|
|
36991
|
+
name: "deviceId",
|
|
36992
|
+
form: "single",
|
|
36993
|
+
optional: false
|
|
36994
|
+
}],
|
|
36995
|
+
"recording.readGopBytes": [{
|
|
36996
|
+
name: "deviceId",
|
|
36997
|
+
form: "single",
|
|
36998
|
+
optional: false
|
|
36999
|
+
}],
|
|
37000
|
+
"recording.readSegmentBytes": [{
|
|
37001
|
+
name: "deviceId",
|
|
37002
|
+
form: "single",
|
|
37003
|
+
optional: false
|
|
37004
|
+
}],
|
|
37005
|
+
"recording.relocateFootage": [{
|
|
37006
|
+
name: "deviceId",
|
|
37007
|
+
form: "single",
|
|
37008
|
+
optional: true
|
|
37009
|
+
}],
|
|
37010
|
+
"recording.renderClip": [{
|
|
37011
|
+
name: "deviceId",
|
|
37012
|
+
form: "single",
|
|
37013
|
+
optional: false
|
|
37014
|
+
}],
|
|
37015
|
+
"recording.renderGif": [{
|
|
37016
|
+
name: "deviceId",
|
|
37017
|
+
form: "single",
|
|
37018
|
+
optional: false
|
|
37019
|
+
}],
|
|
37020
|
+
"recording.rescanStorage": [{
|
|
37021
|
+
name: "deviceId",
|
|
37022
|
+
form: "single",
|
|
37023
|
+
optional: false
|
|
37024
|
+
}],
|
|
37025
|
+
"recording.setDeviceConfig": [{
|
|
37026
|
+
name: "deviceId",
|
|
37027
|
+
form: "single",
|
|
37028
|
+
optional: false
|
|
37029
|
+
}],
|
|
37030
|
+
"recording.startStorageMigrationMove": [{
|
|
37031
|
+
name: "deviceId",
|
|
37032
|
+
form: "single",
|
|
37033
|
+
optional: true
|
|
37034
|
+
}],
|
|
37035
|
+
"recordingExport.createExport": [{
|
|
37036
|
+
name: "deviceId",
|
|
37037
|
+
form: "single",
|
|
37038
|
+
optional: false
|
|
37039
|
+
}],
|
|
37040
|
+
"recordingExport.listExports": [{
|
|
37041
|
+
name: "deviceId",
|
|
37042
|
+
form: "single",
|
|
37043
|
+
optional: true
|
|
37044
|
+
}],
|
|
37045
|
+
"sceneMonitor.captureReference": [{
|
|
37046
|
+
name: "deviceId",
|
|
37047
|
+
form: "single",
|
|
37048
|
+
optional: false
|
|
37049
|
+
}],
|
|
37050
|
+
"sceneMonitor.createScene": [{
|
|
37051
|
+
name: "deviceId",
|
|
37052
|
+
form: "single",
|
|
37053
|
+
optional: false
|
|
37054
|
+
}],
|
|
37055
|
+
"sceneMonitor.deleteReference": [{
|
|
37056
|
+
name: "deviceId",
|
|
37057
|
+
form: "single",
|
|
37058
|
+
optional: false
|
|
37059
|
+
}],
|
|
37060
|
+
"sceneMonitor.deleteScene": [{
|
|
37061
|
+
name: "deviceId",
|
|
37062
|
+
form: "single",
|
|
37063
|
+
optional: false
|
|
37064
|
+
}],
|
|
37065
|
+
"sceneMonitor.listScenes": [{
|
|
37066
|
+
name: "deviceId",
|
|
37067
|
+
form: "single",
|
|
37068
|
+
optional: false
|
|
37069
|
+
}],
|
|
37070
|
+
"sceneMonitor.recheckNow": [{
|
|
37071
|
+
name: "deviceId",
|
|
37072
|
+
form: "single",
|
|
37073
|
+
optional: false
|
|
37074
|
+
}],
|
|
37075
|
+
"sceneMonitor.resetScene": [{
|
|
37076
|
+
name: "deviceId",
|
|
37077
|
+
form: "single",
|
|
37078
|
+
optional: false
|
|
37079
|
+
}],
|
|
37080
|
+
"sceneMonitor.updateScene": [{
|
|
37081
|
+
name: "deviceId",
|
|
37082
|
+
form: "single",
|
|
37083
|
+
optional: false
|
|
37084
|
+
}],
|
|
37085
|
+
"scriptRunner.run": [{
|
|
37086
|
+
name: "deviceId",
|
|
37087
|
+
form: "single",
|
|
37088
|
+
optional: false
|
|
37089
|
+
}],
|
|
37090
|
+
"scriptRunner.stop": [{
|
|
37091
|
+
name: "deviceId",
|
|
37092
|
+
form: "single",
|
|
37093
|
+
optional: false
|
|
37094
|
+
}],
|
|
37095
|
+
"snapshot.getSnapshot": [{
|
|
37096
|
+
name: "deviceId",
|
|
37097
|
+
form: "single",
|
|
37098
|
+
optional: false
|
|
37099
|
+
}],
|
|
37100
|
+
"snapshot.getSnapshotLinks": [{
|
|
37101
|
+
name: "targets",
|
|
37102
|
+
form: "object-array",
|
|
37103
|
+
optional: false,
|
|
37104
|
+
itemField: "deviceId"
|
|
37105
|
+
}],
|
|
37106
|
+
"snapshot.getSnapshotOverview": [{
|
|
37107
|
+
name: "deviceIds",
|
|
37108
|
+
form: "array",
|
|
37109
|
+
optional: false
|
|
37110
|
+
}],
|
|
37111
|
+
"snapshot.invalidateCache": [{
|
|
37112
|
+
name: "deviceId",
|
|
37113
|
+
form: "single",
|
|
37114
|
+
optional: false
|
|
37115
|
+
}],
|
|
37116
|
+
"streamBroker.acquireEgressTranscode": [{
|
|
37117
|
+
name: "deviceId",
|
|
37118
|
+
form: "single",
|
|
37119
|
+
optional: false
|
|
37120
|
+
}],
|
|
37121
|
+
"streamBroker.assignProfile": [{
|
|
37122
|
+
name: "deviceId",
|
|
37123
|
+
form: "single",
|
|
37124
|
+
optional: false
|
|
37125
|
+
}],
|
|
37126
|
+
"streamBroker.getDeviceAudioMute": [{
|
|
37127
|
+
name: "deviceId",
|
|
37128
|
+
form: "single",
|
|
37129
|
+
optional: false
|
|
37130
|
+
}],
|
|
37131
|
+
"streamBroker.getStreamWithCodec": [{
|
|
37132
|
+
name: "deviceId",
|
|
37133
|
+
form: "single",
|
|
37134
|
+
optional: false
|
|
37135
|
+
}],
|
|
37136
|
+
"streamBroker.produceEventMedia": [{
|
|
37137
|
+
name: "deviceId",
|
|
37138
|
+
form: "single",
|
|
37139
|
+
optional: false
|
|
37140
|
+
}],
|
|
37141
|
+
"streamBroker.publishCameraStream": [{
|
|
37142
|
+
name: "deviceId",
|
|
37143
|
+
form: "single",
|
|
37144
|
+
optional: false
|
|
37145
|
+
}],
|
|
37146
|
+
"streamBroker.renderPreBufferClip": [{
|
|
37147
|
+
name: "deviceId",
|
|
37148
|
+
form: "single",
|
|
37149
|
+
optional: false
|
|
37150
|
+
}],
|
|
37151
|
+
"streamBroker.restartProfile": [{
|
|
37152
|
+
name: "deviceId",
|
|
37153
|
+
form: "single",
|
|
37154
|
+
optional: false
|
|
37155
|
+
}],
|
|
37156
|
+
"streamBroker.retractCameraStream": [{
|
|
37157
|
+
name: "deviceId",
|
|
37158
|
+
form: "single",
|
|
37159
|
+
optional: false
|
|
37160
|
+
}],
|
|
37161
|
+
"streamBroker.setDeviceAudioMute": [{
|
|
37162
|
+
name: "deviceId",
|
|
37163
|
+
form: "single",
|
|
37164
|
+
optional: false
|
|
37165
|
+
}],
|
|
37166
|
+
"streamBroker.unassignProfile": [{
|
|
37167
|
+
name: "deviceId",
|
|
37168
|
+
form: "single",
|
|
37169
|
+
optional: false
|
|
37170
|
+
}],
|
|
37171
|
+
"streamCatalog.getCatalog": [{
|
|
37172
|
+
name: "deviceId",
|
|
37173
|
+
form: "single",
|
|
37174
|
+
optional: false
|
|
37175
|
+
}],
|
|
37176
|
+
"streamParams.getConfigSchema": [{
|
|
37177
|
+
name: "deviceId",
|
|
37178
|
+
form: "single",
|
|
37179
|
+
optional: false
|
|
37180
|
+
}],
|
|
37181
|
+
"streamParams.getOptions": [{
|
|
37182
|
+
name: "deviceId",
|
|
37183
|
+
form: "single",
|
|
37184
|
+
optional: false
|
|
37185
|
+
}],
|
|
37186
|
+
"streamParams.setProfile": [{
|
|
37187
|
+
name: "deviceId",
|
|
37188
|
+
form: "single",
|
|
37189
|
+
optional: false
|
|
37190
|
+
}],
|
|
37191
|
+
"switch.setState": [{
|
|
37192
|
+
name: "deviceId",
|
|
37193
|
+
form: "single",
|
|
37194
|
+
optional: false
|
|
37195
|
+
}],
|
|
37196
|
+
"vacuumControl.locate": [{
|
|
37197
|
+
name: "deviceId",
|
|
37198
|
+
form: "single",
|
|
37199
|
+
optional: false
|
|
37200
|
+
}],
|
|
37201
|
+
"vacuumControl.pause": [{
|
|
37202
|
+
name: "deviceId",
|
|
37203
|
+
form: "single",
|
|
37204
|
+
optional: false
|
|
37205
|
+
}],
|
|
37206
|
+
"vacuumControl.returnToBase": [{
|
|
37207
|
+
name: "deviceId",
|
|
37208
|
+
form: "single",
|
|
37209
|
+
optional: false
|
|
37210
|
+
}],
|
|
37211
|
+
"vacuumControl.setFanSpeed": [{
|
|
37212
|
+
name: "deviceId",
|
|
37213
|
+
form: "single",
|
|
37214
|
+
optional: false
|
|
37215
|
+
}],
|
|
37216
|
+
"vacuumControl.start": [{
|
|
37217
|
+
name: "deviceId",
|
|
37218
|
+
form: "single",
|
|
37219
|
+
optional: false
|
|
37220
|
+
}],
|
|
37221
|
+
"vacuumControl.stop": [{
|
|
37222
|
+
name: "deviceId",
|
|
37223
|
+
form: "single",
|
|
37224
|
+
optional: false
|
|
37225
|
+
}],
|
|
37226
|
+
"valve.close": [{
|
|
37227
|
+
name: "deviceId",
|
|
37228
|
+
form: "single",
|
|
37229
|
+
optional: false
|
|
37230
|
+
}],
|
|
37231
|
+
"valve.open": [{
|
|
37232
|
+
name: "deviceId",
|
|
37233
|
+
form: "single",
|
|
37234
|
+
optional: false
|
|
37235
|
+
}],
|
|
37236
|
+
"valve.setPosition": [{
|
|
37237
|
+
name: "deviceId",
|
|
37238
|
+
form: "single",
|
|
37239
|
+
optional: false
|
|
37240
|
+
}],
|
|
37241
|
+
"valve.stop": [{
|
|
37242
|
+
name: "deviceId",
|
|
37243
|
+
form: "single",
|
|
37244
|
+
optional: false
|
|
37245
|
+
}],
|
|
37246
|
+
"videoclips.getClipPlayback": [{
|
|
37247
|
+
name: "deviceId",
|
|
37248
|
+
form: "single",
|
|
37249
|
+
optional: false
|
|
37250
|
+
}],
|
|
37251
|
+
"videoclips.listClips": [{
|
|
37252
|
+
name: "deviceId",
|
|
37253
|
+
form: "single",
|
|
37254
|
+
optional: false
|
|
37255
|
+
}],
|
|
37256
|
+
"waterHeater.setAway": [{
|
|
37257
|
+
name: "deviceId",
|
|
37258
|
+
form: "single",
|
|
37259
|
+
optional: false
|
|
37260
|
+
}],
|
|
37261
|
+
"waterHeater.setOperationMode": [{
|
|
37262
|
+
name: "deviceId",
|
|
37263
|
+
form: "single",
|
|
37264
|
+
optional: false
|
|
37265
|
+
}],
|
|
37266
|
+
"waterHeater.setTargetTemp": [{
|
|
37267
|
+
name: "deviceId",
|
|
37268
|
+
form: "single",
|
|
37269
|
+
optional: false
|
|
37270
|
+
}],
|
|
37271
|
+
"webrtcSession.addIceCandidate": [{
|
|
37272
|
+
name: "deviceId",
|
|
37273
|
+
form: "single",
|
|
37274
|
+
optional: false
|
|
37275
|
+
}],
|
|
37276
|
+
"webrtcSession.closeSession": [{
|
|
37277
|
+
name: "deviceId",
|
|
37278
|
+
form: "single",
|
|
37279
|
+
optional: false
|
|
37280
|
+
}],
|
|
37281
|
+
"webrtcSession.createSession": [{
|
|
37282
|
+
name: "deviceId",
|
|
37283
|
+
form: "single",
|
|
37284
|
+
optional: false
|
|
37285
|
+
}],
|
|
37286
|
+
"webrtcSession.getIceCandidates": [{
|
|
37287
|
+
name: "deviceId",
|
|
37288
|
+
form: "single",
|
|
37289
|
+
optional: false
|
|
37290
|
+
}],
|
|
37291
|
+
"webrtcSession.getSessionState": [{
|
|
37292
|
+
name: "deviceId",
|
|
37293
|
+
form: "single",
|
|
37294
|
+
optional: false
|
|
37295
|
+
}],
|
|
37296
|
+
"webrtcSession.handleAnswer": [{
|
|
37297
|
+
name: "deviceId",
|
|
37298
|
+
form: "single",
|
|
37299
|
+
optional: false
|
|
37300
|
+
}],
|
|
37301
|
+
"webrtcSession.handleOffer": [{
|
|
37302
|
+
name: "deviceId",
|
|
37303
|
+
form: "single",
|
|
37304
|
+
optional: false
|
|
37305
|
+
}],
|
|
37306
|
+
"webrtcSession.hasAdaptiveBitrate": [{
|
|
37307
|
+
name: "deviceId",
|
|
37308
|
+
form: "single",
|
|
37309
|
+
optional: false
|
|
37310
|
+
}],
|
|
37311
|
+
"webrtcSession.listStreams": [{
|
|
37312
|
+
name: "deviceId",
|
|
37313
|
+
form: "single",
|
|
37314
|
+
optional: false
|
|
37315
|
+
}],
|
|
37316
|
+
"zoneAnalytics.getCameraHistory": [{
|
|
37317
|
+
name: "deviceId",
|
|
37318
|
+
form: "single",
|
|
37319
|
+
optional: false
|
|
37320
|
+
}],
|
|
37321
|
+
"zoneAnalytics.getCurrentSnapshot": [{
|
|
37322
|
+
name: "deviceId",
|
|
37323
|
+
form: "single",
|
|
37324
|
+
optional: false
|
|
37325
|
+
}],
|
|
37326
|
+
"zoneAnalytics.getUnzonedHistory": [{
|
|
37327
|
+
name: "deviceId",
|
|
37328
|
+
form: "single",
|
|
37329
|
+
optional: false
|
|
37330
|
+
}],
|
|
37331
|
+
"zoneAnalytics.getZoneHistory": [{
|
|
37332
|
+
name: "deviceId",
|
|
37333
|
+
form: "single",
|
|
37334
|
+
optional: false
|
|
37335
|
+
}],
|
|
37336
|
+
"zoneRules.listRules": [{
|
|
37337
|
+
name: "deviceId",
|
|
37338
|
+
form: "single",
|
|
37339
|
+
optional: false
|
|
37340
|
+
}],
|
|
37341
|
+
"zoneRules.setRules": [{
|
|
37342
|
+
name: "deviceId",
|
|
37343
|
+
form: "single",
|
|
37344
|
+
optional: false
|
|
37345
|
+
}],
|
|
37346
|
+
"zones.addZone": [{
|
|
37347
|
+
name: "deviceId",
|
|
37348
|
+
form: "single",
|
|
37349
|
+
optional: false
|
|
37350
|
+
}],
|
|
37351
|
+
"zones.listZones": [{
|
|
37352
|
+
name: "deviceId",
|
|
37353
|
+
form: "single",
|
|
37354
|
+
optional: false
|
|
37355
|
+
}],
|
|
37356
|
+
"zones.removeZone": [{
|
|
37357
|
+
name: "deviceId",
|
|
37358
|
+
form: "single",
|
|
37359
|
+
optional: false
|
|
37360
|
+
}],
|
|
37361
|
+
"zones.updateZone": [{
|
|
37362
|
+
name: "deviceId",
|
|
37363
|
+
form: "single",
|
|
37364
|
+
optional: false
|
|
37365
|
+
}]
|
|
37366
|
+
});
|
|
34647
37367
|
Object.freeze({
|
|
34648
37368
|
"broker": "broker",
|
|
34649
37369
|
"device-export": "device-export",
|