@camstack/addon-provider-rtsp 1.2.16 → 1.2.18
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 +2925 -151
- package/dist/addon.mjs +2925 -151
- package/package.json +1 -1
package/dist/addon.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import net from "node:net";
|
|
2
|
-
//#region ../types/dist/event-category-
|
|
2
|
+
//#region ../types/dist/event-category-Bxo5yJjt.mjs
|
|
3
3
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4
4
|
EventCategory["SystemBoot"] = "system.boot";
|
|
5
5
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -206,6 +206,33 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
206
206
|
EventCategory["PipelineCameraAssigned"] = "pipeline.camera-assigned";
|
|
207
207
|
EventCategory["PipelineCameraUnassigned"] = "pipeline.camera-unassigned";
|
|
208
208
|
/**
|
|
209
|
+
* A node the orchestrator would otherwise place cameras on has NO usable
|
|
210
|
+
* inference device: the operator enabled one or more accelerators there and
|
|
211
|
+
* the live probe reports every one of them unavailable. Emitted once per
|
|
212
|
+
* TRANSITION into that state (never per dispatch), and the node is dropped
|
|
213
|
+
* from the placement candidate set for as long as it holds.
|
|
214
|
+
*
|
|
215
|
+
* This exists because the state was previously invisible: little-unraid
|
|
216
|
+
* absorbed 283k inference errors in a day while still being handed cameras,
|
|
217
|
+
* and nothing in the system said so.
|
|
218
|
+
*
|
|
219
|
+
* A node with no accelerators configured at all is NOT this — its devices
|
|
220
|
+
* are `disabled`, not `unavailable`, and the runner's default CPU pool
|
|
221
|
+
* serves it exactly as before.
|
|
222
|
+
*/
|
|
223
|
+
EventCategory["PipelineNodeInferenceUnavailable"] = "pipeline.node-inference-unavailable";
|
|
224
|
+
/**
|
|
225
|
+
* A camera has an OPEN detection session and has produced no detection at
|
|
226
|
+
* all for longer than the blind threshold — the camera is being decoded and
|
|
227
|
+
* inferred and is returning nothing. Emitted once per transition into blind,
|
|
228
|
+
* per camera.
|
|
229
|
+
*
|
|
230
|
+
* The failure it reports: a 1h43 detection blackout on the entrance camera
|
|
231
|
+
* that nobody noticed, because "a camera that detects nothing" and "a quiet
|
|
232
|
+
* camera" produce byte-identical silence.
|
|
233
|
+
*/
|
|
234
|
+
EventCategory["PipelineDetectionBlind"] = "pipeline.detection-blind";
|
|
235
|
+
/**
|
|
209
236
|
* Per-camera pipeline config was mutated by the orchestrator
|
|
210
237
|
* (3-level settings change via `setAgentAddonDefaults` /
|
|
211
238
|
* `setCameraStepToggle` / `setCameraPipelineForAgent` or a
|
|
@@ -10922,6 +10949,8 @@ var QueryFilterSchema = object({
|
|
|
10922
10949
|
where: record(string(), unknown()).optional(),
|
|
10923
10950
|
whereIn: record(string(), array(unknown())).optional(),
|
|
10924
10951
|
whereBetween: record(string(), tuple([unknown(), unknown()])).optional(),
|
|
10952
|
+
/** NULL-safe exclusion: matches rows whose field is NULL OR != the value. */
|
|
10953
|
+
whereNot: record(string(), unknown()).optional(),
|
|
10925
10954
|
orderBy: object({
|
|
10926
10955
|
field: string(),
|
|
10927
10956
|
direction: _enum(["asc", "desc"])
|
|
@@ -10941,7 +10970,8 @@ var QueryFilterSchema = object({
|
|
|
10941
10970
|
var MutationFilterSchema = object({
|
|
10942
10971
|
where: record(string(), unknown()).optional(),
|
|
10943
10972
|
whereIn: record(string(), array(unknown())).optional(),
|
|
10944
|
-
whereBetween: record(string(), tuple([unknown(), unknown()])).optional()
|
|
10973
|
+
whereBetween: record(string(), tuple([unknown(), unknown()])).optional(),
|
|
10974
|
+
whereNot: record(string(), unknown()).optional()
|
|
10945
10975
|
});
|
|
10946
10976
|
/** A single stored record: `{ id, data }`. */
|
|
10947
10977
|
var SettingsRecordSchema = object({
|
|
@@ -12460,6 +12490,17 @@ var LlmImageSchema = object({
|
|
|
12460
12490
|
bytes: _instanceof(Uint8Array),
|
|
12461
12491
|
mimeType: string()
|
|
12462
12492
|
});
|
|
12493
|
+
/**
|
|
12494
|
+
* Retry policy. `enabled: false` is NOT the same as `maxAttempts: 1` in intent —
|
|
12495
|
+
* the flag is what a consumer table flips, the count is what the operator tunes.
|
|
12496
|
+
* A retry doubles the wall time of a call, so the two gates that run inside a
|
|
12497
|
+
* notification's budget keep it off (see `CONSUMER_RETRY_POLICY` in addon-ai).
|
|
12498
|
+
*/
|
|
12499
|
+
var LlmRetryPolicySchema = object({
|
|
12500
|
+
enabled: boolean().default(false),
|
|
12501
|
+
/** Total attempts INCLUDING the first. 1 = no retry. */
|
|
12502
|
+
maxAttempts: number().int().min(1).max(5).default(1)
|
|
12503
|
+
});
|
|
12463
12504
|
var LlmGenerateBaseInputSchema = object({
|
|
12464
12505
|
/** Collection routing (the notification-output posture). */
|
|
12465
12506
|
addonId: string().optional(),
|
|
@@ -12474,7 +12515,28 @@ var LlmGenerateBaseInputSchema = object({
|
|
|
12474
12515
|
jsonSchema: record(string(), unknown()).optional(),
|
|
12475
12516
|
/** Per-call override of the profile default. */
|
|
12476
12517
|
maxTokens: number().int().positive().optional(),
|
|
12477
|
-
temperature: number().optional()
|
|
12518
|
+
temperature: number().optional(),
|
|
12519
|
+
/** Per-call override of the profile default (nucleus sampling). */
|
|
12520
|
+
topP: number().min(0).max(1).optional(),
|
|
12521
|
+
/** Per-call override of the profile default (top-k sampling). */
|
|
12522
|
+
topK: number().int().positive().optional(),
|
|
12523
|
+
/** Per-call override of `profile.timeoutMs` — the total generation bound. */
|
|
12524
|
+
timeoutMs: number().int().positive().optional(),
|
|
12525
|
+
/** Per-call override; beats both the consumer table and the profile. */
|
|
12526
|
+
retry: LlmRetryPolicySchema.optional(),
|
|
12527
|
+
/**
|
|
12528
|
+
* Caller-minted id that makes this generation CANCELLABLE.
|
|
12529
|
+
*
|
|
12530
|
+
* Without it a caller that stops waiting cannot stop the work: the gates race
|
|
12531
|
+
* the call against 8 s and free their own slot when the timer wins, while the
|
|
12532
|
+
* generation upstream keeps running to `profile.timeoutMs` — 60 s by default,
|
|
12533
|
+
* on a single-threaded local model. The per-camera bound then counts WAITS,
|
|
12534
|
+
* not generations, and the real load is unbounded.
|
|
12535
|
+
*
|
|
12536
|
+
* `AbortSignal` cannot cross a process boundary; an id can. Pass one here and
|
|
12537
|
+
* `llm.cancel({ requestId })` tears the socket down.
|
|
12538
|
+
*/
|
|
12539
|
+
requestId: string().optional()
|
|
12478
12540
|
});
|
|
12479
12541
|
/**
|
|
12480
12542
|
* `llm-runtime` — node-side managed llama.cpp executor (spec §4). Registered
|
|
@@ -12487,6 +12549,18 @@ var LlmGenerateBaseInputSchema = object({
|
|
|
12487
12549
|
* Resource ceiling = llama-server flags + idleStopMinutes ONLY (no RSS
|
|
12488
12550
|
* watchdog — operator decision #3).
|
|
12489
12551
|
*/
|
|
12552
|
+
/**
|
|
12553
|
+
* A companion artifact that MUST land beside the main GGUF: the `mmproj`
|
|
12554
|
+
* projector of a vision model, or shards 2..N of a split GGUF. Carried on the
|
|
12555
|
+
* REF rather than looked up at install time, so what the operator approved in
|
|
12556
|
+
* the preview is exactly what the node downloads.
|
|
12557
|
+
*/
|
|
12558
|
+
var ManagedModelExtraFileSchema = object({
|
|
12559
|
+
url: string(),
|
|
12560
|
+
filename: string(),
|
|
12561
|
+
sizeBytes: number(),
|
|
12562
|
+
sha256: string().optional()
|
|
12563
|
+
});
|
|
12490
12564
|
var ManagedModelRefSchema = discriminatedUnion("kind", [
|
|
12491
12565
|
object({
|
|
12492
12566
|
kind: literal("catalog"),
|
|
@@ -12495,7 +12569,11 @@ var ManagedModelRefSchema = discriminatedUnion("kind", [
|
|
|
12495
12569
|
object({
|
|
12496
12570
|
kind: literal("url"),
|
|
12497
12571
|
url: string(),
|
|
12498
|
-
sha256: string().optional()
|
|
12572
|
+
sha256: string().optional(),
|
|
12573
|
+
/** Picker/status label; the file basename when absent. */
|
|
12574
|
+
label: string().optional(),
|
|
12575
|
+
sizeBytes: number().optional(),
|
|
12576
|
+
extraFiles: array(ManagedModelExtraFileSchema).optional()
|
|
12499
12577
|
}),
|
|
12500
12578
|
object({
|
|
12501
12579
|
kind: literal("path"),
|
|
@@ -12513,13 +12591,82 @@ var ManagedRuntimeConfigSchema = object({
|
|
|
12513
12591
|
gpuLayers: number().int().default(0),
|
|
12514
12592
|
/** Default: cpus-2, clamped ≥1 (resolved node-side). */
|
|
12515
12593
|
threads: number().int().optional(),
|
|
12516
|
-
/** Concurrent slots. */
|
|
12594
|
+
/** Concurrent slots (`--parallel`). */
|
|
12517
12595
|
parallel: number().int().default(1),
|
|
12596
|
+
/** Logical batch size (`-b`). Larger = faster prompt ingest, more RAM. */
|
|
12597
|
+
batchSize: number().int().positive().optional(),
|
|
12598
|
+
/** Physical batch / micro-batch (`-ub`). */
|
|
12599
|
+
ubatchSize: number().int().positive().optional(),
|
|
12600
|
+
/**
|
|
12601
|
+
* `--flash-attn`. Cuts KV-cache memory on the backends that implement it and
|
|
12602
|
+
* is a no-op elsewhere, so it is offered rather than assumed.
|
|
12603
|
+
*/
|
|
12604
|
+
flashAttention: boolean().default(false),
|
|
12605
|
+
/**
|
|
12606
|
+
* `--mlock`. Pins the weights in RAM so the OS cannot page them out mid
|
|
12607
|
+
* inference. Costs the full model size in resident memory — which is exactly
|
|
12608
|
+
* what the RAM budget is counting.
|
|
12609
|
+
*/
|
|
12610
|
+
mlock: boolean().default(false),
|
|
12611
|
+
/**
|
|
12612
|
+
* `--no-mmap`. Reads the whole GGUF up front instead of mapping it. Slower to
|
|
12613
|
+
* start, but avoids the page-fault stalls a network or spinning-disk model
|
|
12614
|
+
* store produces on every first token.
|
|
12615
|
+
*/
|
|
12616
|
+
noMmap: boolean().default(false),
|
|
12617
|
+
/** `--cache-type-k` / `--cache-type-v` — quantising the KV cache is the
|
|
12618
|
+
* cheapest way to fit a longer context in the same RAM. */
|
|
12619
|
+
cacheTypeK: _enum([
|
|
12620
|
+
"f32",
|
|
12621
|
+
"f16",
|
|
12622
|
+
"q8_0",
|
|
12623
|
+
"q5_1",
|
|
12624
|
+
"q5_0",
|
|
12625
|
+
"q4_1",
|
|
12626
|
+
"q4_0"
|
|
12627
|
+
]).optional(),
|
|
12628
|
+
cacheTypeV: _enum([
|
|
12629
|
+
"f32",
|
|
12630
|
+
"f16",
|
|
12631
|
+
"q8_0",
|
|
12632
|
+
"q5_1",
|
|
12633
|
+
"q5_0",
|
|
12634
|
+
"q4_1",
|
|
12635
|
+
"q4_0"
|
|
12636
|
+
]).optional(),
|
|
12637
|
+
/**
|
|
12638
|
+
* Escape hatch for llama-server flags this schema does NOT model — `--jinja`
|
|
12639
|
+
* (which most vision chat templates need and some language-only models
|
|
12640
|
+
* dislike), `--cont-batching`, `--rope-scaling`, …
|
|
12641
|
+
*
|
|
12642
|
+
* It is NOT a second place to set the flags above. A token that collides
|
|
12643
|
+
* with a typed field is REJECTED at start, naming the field that owns it
|
|
12644
|
+
* (`assertNoOwnedFlags`), because two knobs writing the same argv is exactly
|
|
12645
|
+
* the "two switches that disagree" failure this repo has already shipped
|
|
12646
|
+
* twice (D62).
|
|
12647
|
+
*/
|
|
12648
|
+
extraArgs: array(string()).default([]),
|
|
12518
12649
|
/** Else lazy: first generate boots it. */
|
|
12519
12650
|
autoStart: boolean().default(false),
|
|
12520
12651
|
/** 0 = never; frees RAM after quiet periods. */
|
|
12521
12652
|
idleStopMinutes: number().int().default(30)
|
|
12522
12653
|
});
|
|
12654
|
+
/**
|
|
12655
|
+
* Where a multi-GB install currently is. A single 0..1 fraction cannot answer
|
|
12656
|
+
* "is it stuck?" for an install that is three files (shards + mmproj) followed
|
|
12657
|
+
* by a sha256 pass over 22 GB — during which the fraction sat at 1.0 and the
|
|
12658
|
+
* node looked hung. Phase + file + bytes is the smallest shape that does.
|
|
12659
|
+
*/
|
|
12660
|
+
var LlmDownloadProgressSchema = object({
|
|
12661
|
+
phase: _enum(["downloading", "verifying"]),
|
|
12662
|
+
/** The artifact currently moving, e.g. `mmproj-F16.gguf`. */
|
|
12663
|
+
file: string(),
|
|
12664
|
+
fileIndex: number().int(),
|
|
12665
|
+
fileCount: number().int(),
|
|
12666
|
+
/** Across the WHOLE install, not the current file. */
|
|
12667
|
+
downloadedBytes: number(),
|
|
12668
|
+
totalBytes: number().optional()
|
|
12669
|
+
});
|
|
12523
12670
|
var LlmRuntimeStatusSchema = object({
|
|
12524
12671
|
/** Status is ALWAYS node-qualified. */
|
|
12525
12672
|
nodeId: string(),
|
|
@@ -12536,6 +12683,8 @@ var LlmRuntimeStatusSchema = object({
|
|
|
12536
12683
|
modelPath: string().optional(),
|
|
12537
12684
|
modelId: string().optional(),
|
|
12538
12685
|
downloadProgress: number().min(0).max(1).optional(),
|
|
12686
|
+
/** Detail behind `downloadProgress`; present for the same lifetime. */
|
|
12687
|
+
download: LlmDownloadProgressSchema.optional(),
|
|
12539
12688
|
lastError: string().optional(),
|
|
12540
12689
|
crashesInWindow: number(),
|
|
12541
12690
|
/** Child RSS (sampled best-effort). */
|
|
@@ -12546,7 +12695,14 @@ var LlmNodeModelSchema = object({
|
|
|
12546
12695
|
file: string(),
|
|
12547
12696
|
sizeBytes: number(),
|
|
12548
12697
|
catalogId: string().optional(),
|
|
12549
|
-
installedAt: number().optional()
|
|
12698
|
+
installedAt: number().optional(),
|
|
12699
|
+
/**
|
|
12700
|
+
* Absolute path on the node. Present so a file that is on disk but matches
|
|
12701
|
+
* no catalog entry — a custom Hugging Face install, or a GGUF the operator
|
|
12702
|
+
* copied in by hand — is still SELECTABLE, as a `{kind:'path'}` ref. Without
|
|
12703
|
+
* it the picker could list such a file and do nothing with it.
|
|
12704
|
+
*/
|
|
12705
|
+
path: string().optional()
|
|
12550
12706
|
});
|
|
12551
12707
|
var LlmRuntimeDiskUsageSchema = object({
|
|
12552
12708
|
nodeId: string(),
|
|
@@ -12602,10 +12758,47 @@ var LlmProfileSchema = object({
|
|
|
12602
12758
|
baseUrl: string().optional(),
|
|
12603
12759
|
/** ConfigUISchema type:'password' — never round-trips (spec §5). */
|
|
12604
12760
|
apiKey: string().optional(),
|
|
12761
|
+
/** Vision on/off. A vision call against a `false` profile is REFUSED, never
|
|
12762
|
+
* degraded to text — that shipped once and produced a confident answer to a
|
|
12763
|
+
* question about a picture nobody sent. */
|
|
12605
12764
|
supportsVision: boolean(),
|
|
12606
12765
|
temperature: number().min(0).max(2).optional(),
|
|
12766
|
+
/** Nucleus sampling. Every wire we speak has it. */
|
|
12767
|
+
topP: number().min(0).max(1).optional(),
|
|
12768
|
+
/** Top-k sampling. Carried only by the wires that have it — NEITHER OpenAI
|
|
12769
|
+
* wire does, and the client drops it there (measured: the request body gets
|
|
12770
|
+
* `top_p` and no `top_k`). The profile editor hides the field wherever it
|
|
12771
|
+
* would change nothing; `KINDS_WITH_TOP_K` is the single owner of that list. */
|
|
12772
|
+
topK: number().int().positive().optional(),
|
|
12607
12773
|
maxTokens: number().int().positive().optional(),
|
|
12774
|
+
/** Prompt context window. Advisory for cloud kinds (they enforce their own);
|
|
12775
|
+
* for `managed-local` it is the llama.cpp `--ctx-size` the runtime starts
|
|
12776
|
+
* the model with, so it is the one field that changes a PROCESS. */
|
|
12777
|
+
contextLength: number().int().positive().optional(),
|
|
12778
|
+
/** Default system prompt. A caller's `system` REPLACES it (never appends —
|
|
12779
|
+
* two system prompts fighting is worse than either alone). */
|
|
12780
|
+
systemPrompt: string().optional(),
|
|
12781
|
+
/** Total generation bound — the only one a unary call has. */
|
|
12608
12782
|
timeoutMs: number().int().positive().default(6e4),
|
|
12783
|
+
/** The TCP handshake only — "is the port even open". NOT the wait for
|
|
12784
|
+
* response headers: on the LM Studio / llama-server wire those are written
|
|
12785
|
+
* once the model has finished loading, so they belong to the bound below. */
|
|
12786
|
+
connectTimeoutMs: number().int().positive().default(1e4),
|
|
12787
|
+
/** Accepted, but no output yet — response headers included, because a cold
|
|
12788
|
+
* GPU load is exactly what happens before them. */
|
|
12789
|
+
firstTokenTimeoutMs: number().int().positive().default(12e4),
|
|
12790
|
+
/** Output started then stopped. */
|
|
12791
|
+
idleTimeoutMs: number().int().positive().default(6e4),
|
|
12792
|
+
/** Profile-level default. The per-consumer table and a per-call override
|
|
12793
|
+
* both beat it — see `resolveRetryPolicy`. */
|
|
12794
|
+
retry: LlmRetryPolicySchema.default({
|
|
12795
|
+
enabled: false,
|
|
12796
|
+
maxAttempts: 1
|
|
12797
|
+
}),
|
|
12798
|
+
/** Whether this profile may use tools. The tool-call plumbing rides the
|
|
12799
|
+
* library; the REGISTRY of callable tools is ours and is empty in v1, so a
|
|
12800
|
+
* `true` here buys the wiring, not behaviour, until tools are registered. */
|
|
12801
|
+
toolsEnabled: boolean().default(false),
|
|
12609
12802
|
extraHeaders: record(string(), string()).optional(),
|
|
12610
12803
|
/** kind === 'managed-local' only (spec §4). */
|
|
12611
12804
|
runtime: ManagedRuntimeConfigSchema.optional()
|
|
@@ -12655,6 +12848,36 @@ var ManagedModelCatalogEntrySchema = object({
|
|
|
12655
12848
|
/** Vision models: companion projector file. */
|
|
12656
12849
|
mmprojUrl: string().optional()
|
|
12657
12850
|
});
|
|
12851
|
+
/**
|
|
12852
|
+
* The outcome of turning one operator-typed Hugging Face reference into a
|
|
12853
|
+
* download plan. A RESULT, never a throw: "this repo has 24 quantizations and
|
|
12854
|
+
* I will not pick for you" is a normal answer the UI has to render, not an
|
|
12855
|
+
* exception.
|
|
12856
|
+
*
|
|
12857
|
+
* `candidates` is the whole reason the refusal is usable — every string in it
|
|
12858
|
+
* is a tag that resolves when pasted back as `<org>/<repo>:<TAG>`.
|
|
12859
|
+
*/
|
|
12860
|
+
var HfModelResolutionSchema = discriminatedUnion("ok", [object({
|
|
12861
|
+
ok: literal(true),
|
|
12862
|
+
/** Ready to hand to `installModel` unchanged. */
|
|
12863
|
+
model: ManagedModelRefSchema,
|
|
12864
|
+
label: string(),
|
|
12865
|
+
repo: string(),
|
|
12866
|
+
quantization: string(),
|
|
12867
|
+
purpose: _enum(["text", "vision"]),
|
|
12868
|
+
totalBytes: number(),
|
|
12869
|
+
/** mmproj + shards, for the preview: an operator approving 23 GB should
|
|
12870
|
+
* see that 0.9 GB of it is a projector they did not name. */
|
|
12871
|
+
extraFilenames: array(string())
|
|
12872
|
+
}), object({
|
|
12873
|
+
ok: literal(false),
|
|
12874
|
+
code: string(),
|
|
12875
|
+
message: string(),
|
|
12876
|
+
candidates: array(string()).optional(),
|
|
12877
|
+
/** Set when the refusal was only the ceiling: re-calling with
|
|
12878
|
+
* `maxBytes: requiredBytes` is the operator's explicit override. */
|
|
12879
|
+
requiredBytes: number().optional()
|
|
12880
|
+
})]);
|
|
12658
12881
|
var LlmRuntimeNodeSchema = object({
|
|
12659
12882
|
nodeId: string(),
|
|
12660
12883
|
reachable: boolean(),
|
|
@@ -12667,7 +12890,10 @@ var ProfileRefInputSchema = object({
|
|
|
12667
12890
|
addonId: string(),
|
|
12668
12891
|
profileId: string()
|
|
12669
12892
|
});
|
|
12670
|
-
method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(GenerateVisionInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(object({
|
|
12893
|
+
method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(GenerateVisionInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(object({
|
|
12894
|
+
addonId: string().optional(),
|
|
12895
|
+
requestId: string()
|
|
12896
|
+
}), _void(), { kind: "mutation" }), method(object({}), array(LlmProfileKindDescriptorSchema)), method(object({}), array(LlmProfileSchema)), method(object({ profile: LlmProfileSchema }), LlmProfileSchema, {
|
|
12671
12897
|
kind: "mutation",
|
|
12672
12898
|
auth: "admin"
|
|
12673
12899
|
}), method(ProfileRefInputSchema, _void(), {
|
|
@@ -12688,6 +12914,15 @@ method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, { kind: "mutation" }
|
|
|
12688
12914
|
consumer: string().optional(),
|
|
12689
12915
|
profileId: string().optional()
|
|
12690
12916
|
}), array(LlmUsageRollupSchema)), method(object({}), array(ManagedModelCatalogEntrySchema)), method(object({}), array(LlmRuntimeNodeSchema)), method(object({ nodeId: string() }), array(LlmNodeModelSchema)), method(object({
|
|
12917
|
+
/** `https://huggingface.co/<org>/<repo>/resolve/main/<f>.gguf`,
|
|
12918
|
+
* `<org>/<repo>/<f>.gguf`, `<org>/<repo>` or `<org>/<repo>:<QUANT>`. */
|
|
12919
|
+
ref: string(),
|
|
12920
|
+
/** Explicit ceiling override, in bytes. Absent = the built-in ceiling. */
|
|
12921
|
+
maxBytes: number().positive().optional()
|
|
12922
|
+
}), HfModelResolutionSchema, {
|
|
12923
|
+
kind: "mutation",
|
|
12924
|
+
auth: "admin"
|
|
12925
|
+
}), method(object({
|
|
12691
12926
|
nodeId: string(),
|
|
12692
12927
|
model: ManagedModelRefSchema
|
|
12693
12928
|
}), _void(), {
|
|
@@ -13247,11 +13482,33 @@ var NotificationFormatSchema = _enum([
|
|
|
13247
13482
|
* Named by INTENT, never by glyph. "check" would tie the vocabulary to one
|
|
13248
13483
|
* renderer's icon set; "acknowledge" survives an adapter that draws it
|
|
13249
13484
|
* differently.
|
|
13485
|
+
*
|
|
13486
|
+
* ── A TOKEN IS NOT A WIRE VALUE ─────────────────────────────────────
|
|
13487
|
+
*
|
|
13488
|
+
* These names are for US. **No adapter may forward one verbatim.** Each maps
|
|
13489
|
+
* the whole set onto its own renderer's vocabulary through a
|
|
13490
|
+
* `Record<NotificationActionIcon, string>` — a Record, never a lookup with a
|
|
13491
|
+
* fallback, so adding a member here fails every adapter's build until someone
|
|
13492
|
+
* decides its glyph, which is the only place that decision can be made
|
|
13493
|
+
* honestly.
|
|
13494
|
+
*
|
|
13495
|
+
* This paragraph is the bug. Zentik declared `actionIcons: true` and passed
|
|
13496
|
+
* `disarm` straight through; iOS feeds that string to
|
|
13497
|
+
* `UNNotificationActionIcon(systemImageName:)`, `disarm` is not an SF Symbol,
|
|
13498
|
+
* and every snooze and alarm button arrived BLANK. A pass-through is not a
|
|
13499
|
+
* mapping, and "the field is documented" is not "the value renders".
|
|
13500
|
+
*
|
|
13501
|
+
* Adding a member is TRAIN-BOUND. The enum lives in the published
|
|
13502
|
+
* `@camstack/server` closure and the cap seam validates against the HUB's copy,
|
|
13503
|
+
* so an addon that emits a token the running hub does not know does not lose an
|
|
13504
|
+
* icon — its whole `send` fails Zod validation and the notification never
|
|
13505
|
+
* arrives. Never emit a new token from an addon before the train carrying it.
|
|
13250
13506
|
*/
|
|
13251
13507
|
var NotificationActionIconSchema = _enum([
|
|
13252
13508
|
"acknowledge",
|
|
13253
13509
|
"dismiss",
|
|
13254
13510
|
"silence",
|
|
13511
|
+
"snooze",
|
|
13255
13512
|
"view",
|
|
13256
13513
|
"play",
|
|
13257
13514
|
"open",
|
|
@@ -13259,9 +13516,13 @@ var NotificationActionIconSchema = _enum([
|
|
|
13259
13516
|
"lock",
|
|
13260
13517
|
"unlock",
|
|
13261
13518
|
"arm",
|
|
13519
|
+
"arm-home",
|
|
13520
|
+
"arm-away",
|
|
13521
|
+
"arm-night",
|
|
13262
13522
|
"disarm",
|
|
13263
13523
|
"light",
|
|
13264
|
-
"alert"
|
|
13524
|
+
"alert",
|
|
13525
|
+
"camera"
|
|
13265
13526
|
]);
|
|
13266
13527
|
/** A single tap-through action button. */
|
|
13267
13528
|
var NotificationActionSchema = object({
|
|
@@ -13461,6 +13722,24 @@ method(object({}), array(TargetKindSchema)), method(object({}), array(TargetSche
|
|
|
13461
13722
|
targetId: string(),
|
|
13462
13723
|
enabled: boolean()
|
|
13463
13724
|
}), _void(), { kind: "mutation" });
|
|
13725
|
+
new Set([
|
|
13726
|
+
{
|
|
13727
|
+
id: "person",
|
|
13728
|
+
name: "Person"
|
|
13729
|
+
},
|
|
13730
|
+
{
|
|
13731
|
+
id: "vehicle",
|
|
13732
|
+
name: "Vehicle"
|
|
13733
|
+
},
|
|
13734
|
+
{
|
|
13735
|
+
id: "animal",
|
|
13736
|
+
name: "Animal"
|
|
13737
|
+
},
|
|
13738
|
+
{
|
|
13739
|
+
id: "package",
|
|
13740
|
+
name: "Package"
|
|
13741
|
+
}
|
|
13742
|
+
].map((l) => l.id));
|
|
13464
13743
|
var COCO_TO_MACRO = {
|
|
13465
13744
|
mapping: {
|
|
13466
13745
|
person: "person",
|
|
@@ -14291,11 +14570,15 @@ var NcSystemEventKindSchema = _enum([
|
|
|
14291
14570
|
"stream-offline",
|
|
14292
14571
|
"node-online",
|
|
14293
14572
|
"node-offline",
|
|
14573
|
+
"node-inference-unavailable",
|
|
14574
|
+
"detection-blind",
|
|
14294
14575
|
"addon-update-available",
|
|
14295
14576
|
"server-update-available",
|
|
14296
14577
|
"alarm-triggered",
|
|
14297
14578
|
"alarm-armed",
|
|
14298
14579
|
"alarm-disarmed",
|
|
14580
|
+
"alarm-arming",
|
|
14581
|
+
"alarm-arm-refused",
|
|
14299
14582
|
"camera-online",
|
|
14300
14583
|
"camera-offline",
|
|
14301
14584
|
"camera-disabled",
|
|
@@ -14350,7 +14633,16 @@ var NcScheduleSchema = object({
|
|
|
14350
14633
|
});
|
|
14351
14634
|
/** Fuzzy plate matcher — OCR noise makes exact match useless (spec row 12/13). */
|
|
14352
14635
|
var NcPlateMatcherSchema = object({
|
|
14353
|
-
|
|
14636
|
+
/**
|
|
14637
|
+
* Plate texts (or gallery vehicle names) to match. EMPTY = **any plate the
|
|
14638
|
+
* pipeline could read** — the plate half of "no selection = no narrowing",
|
|
14639
|
+
* and the switch that says this rule is about vehicles that were IDENTIFIED
|
|
14640
|
+
* rather than merely seen. A subject carrying no plate still fails.
|
|
14641
|
+
*
|
|
14642
|
+
* The `.min(1)` this used to carry made that state unauthorable; nothing has
|
|
14643
|
+
* ever persisted an empty list, so widening it cannot change an existing rule.
|
|
14644
|
+
*/
|
|
14645
|
+
values: array(string().min(1)),
|
|
14354
14646
|
/** Max Levenshtein distance after normalization (uppercase alphanumeric). */
|
|
14355
14647
|
maxDistance: number().int().min(0).max(3).default(1)
|
|
14356
14648
|
});
|
|
@@ -14384,28 +14676,36 @@ var NcOccupancyConditionSchema = object({
|
|
|
14384
14676
|
/**
|
|
14385
14677
|
* Audio condition (IMMEDIATE trigger) — a rule on SOUND, not on a picture.
|
|
14386
14678
|
*
|
|
14387
|
-
*
|
|
14388
|
-
*
|
|
14389
|
-
*
|
|
14390
|
-
*
|
|
14391
|
-
*
|
|
14392
|
-
*
|
|
14393
|
-
*
|
|
14394
|
-
*
|
|
14395
|
-
*
|
|
14396
|
-
*
|
|
14397
|
-
*
|
|
14398
|
-
*
|
|
14399
|
-
*
|
|
14400
|
-
*
|
|
14401
|
-
*
|
|
14402
|
-
*
|
|
14403
|
-
*
|
|
14404
|
-
*
|
|
14405
|
-
*
|
|
14406
|
-
*
|
|
14407
|
-
*
|
|
14408
|
-
* `
|
|
14679
|
+
* **TWO EXCLUSIVE MODES** (operator decision 2026-08-14, D157). Which one a
|
|
14680
|
+
* rule is in is not a stored field — it is WHICH FILTER the rule carries, so
|
|
14681
|
+
* there is no second switch that can disagree with the first and every rule
|
|
14682
|
+
* authored before the decision migrates for free (`audioModeOf`):
|
|
14683
|
+
*
|
|
14684
|
+
* - **LABEL mode — `labels` present.** The rule fires on the FIRST frame the
|
|
14685
|
+
* classifier labels with one of them. No window, no percentage:
|
|
14686
|
+
* `hitPercent` and `samplingSeconds` are ignored, and the rule's own
|
|
14687
|
+
* `throttle` cooldown is the only brake. The per-label confidence floor is
|
|
14688
|
+
* the analyzer's (`classificationMinScore`, per device) — a label only
|
|
14689
|
+
* reaches this condition if the classifier was already confident enough.
|
|
14690
|
+
* - **LEVEL mode — `dbThreshold` present, no labels.** The sampling window IS
|
|
14691
|
+
* the condition: at least `hitPercent`% of the samples over
|
|
14692
|
+
* `samplingSeconds` must be at or above `dbThreshold` dBFS (see
|
|
14693
|
+
* {@link NC_AUDIO_DBFS_FLOOR}: negative-going, `0` = full scale). The window
|
|
14694
|
+
* must be FULL before it can match — a window open for two of its ten
|
|
14695
|
+
* seconds is 100% of nothing.
|
|
14696
|
+
*
|
|
14697
|
+
* **Why label mode has no window.** It had one, and it never fired: the
|
|
14698
|
+
* analyzer emits ~1 audio frame per second but YAMNet only LABELS one to three
|
|
14699
|
+
* of them per episode, even through continuous crying. The measured maximum
|
|
14700
|
+
* `hitPercent` over the whole live history was 40 — under the shipped default
|
|
14701
|
+
* of 60, so a label rule could not fire at all, ever. A percentage of frames is
|
|
14702
|
+
* the wrong question to ask of a sparse classifier.
|
|
14703
|
+
*
|
|
14704
|
+
* **Fail-closed when NEITHER is given** — every sample would be a trivial hit
|
|
14705
|
+
* and the rule would fire on silence. The schema cannot express "exactly one
|
|
14706
|
+
* of" without becoming a ZodEffects the cap path would have to special-case, so
|
|
14707
|
+
* the exclusivity is enforced where every editor writes (`patchAudio`) and a
|
|
14708
|
+
* legacy rule carrying both resolves to LABEL (the mode that fires).
|
|
14409
14709
|
*
|
|
14410
14710
|
* Labels are the audio macro classes (`AUDIO_MACRO_LABELS` / the NC taxonomy's
|
|
14411
14711
|
* `audio-*` ids). Both spellings are accepted — the matcher normalizes the
|
|
@@ -14413,13 +14713,13 @@ var NcOccupancyConditionSchema = object({
|
|
|
14413
14713
|
* an operator who typed `dog` mean the same thing.
|
|
14414
14714
|
*/
|
|
14415
14715
|
var NcAudioConditionSchema = object({
|
|
14416
|
-
/**
|
|
14716
|
+
/** LABEL MODE: audio macro labels. Present ⇒ fires on the first labelled frame. */
|
|
14417
14717
|
labels: array(string().min(1)).min(1).optional(),
|
|
14418
|
-
/**
|
|
14718
|
+
/** LEVEL MODE: floor in dBFS (negative-going, `0` = full scale). */
|
|
14419
14719
|
dbThreshold: number().min(-96).max(0).optional(),
|
|
14420
|
-
/**
|
|
14720
|
+
/** LEVEL MODE ONLY: percentage of the window's samples that must be hits (1–100). */
|
|
14421
14721
|
hitPercent: number().int().min(1).max(100).default(60),
|
|
14422
|
-
/**
|
|
14722
|
+
/** LEVEL MODE ONLY: length of the sampling window in seconds. */
|
|
14423
14723
|
samplingSeconds: number().int().min(1).max(300).default(10)
|
|
14424
14724
|
});
|
|
14425
14725
|
/**
|
|
@@ -14557,13 +14857,81 @@ var NcRuleActionsSchema = object({
|
|
|
14557
14857
|
*/
|
|
14558
14858
|
buttons: array(NcRuleNotificationButtonSchema).max(8).optional()
|
|
14559
14859
|
});
|
|
14860
|
+
/**
|
|
14861
|
+
* "This rule applies only while `deviceId` is in one of `states`."
|
|
14862
|
+
*
|
|
14863
|
+
* The states are the DEVICE's own vocabulary — `AlarmState` for a panel,
|
|
14864
|
+
* `on`/`off` for a switch — not a normalised set, because normalising would
|
|
14865
|
+
* make the condition lie about devices whose states have no equivalent.
|
|
14866
|
+
*
|
|
14867
|
+
* An unreadable state does NOT match: see the engine's fail-closed gate. A
|
|
14868
|
+
* condition that fired on "I could not read it" would be worse than no gate.
|
|
14869
|
+
*/
|
|
14870
|
+
var NcDeviceStateConditionSchema = object({
|
|
14871
|
+
deviceId: number().int(),
|
|
14872
|
+
/** Any of these matches. */
|
|
14873
|
+
states: array(string().min(1)).min(1)
|
|
14874
|
+
});
|
|
14875
|
+
/**
|
|
14876
|
+
* "This rule applies only while scene `sceneId` is `matched` / `diverged`."
|
|
14877
|
+
*
|
|
14878
|
+
* A GATE, not a trigger. `occupancy` and `audio` each DISCRIMINATE their rule —
|
|
14879
|
+
* carrying one makes the rule fire on that subject and nothing else. Scene is
|
|
14880
|
+
* the other shape entirely, the `deviceState` shape: it narrows a rule that
|
|
14881
|
+
* already has a trigger ("tell me about a person at the front door, but only
|
|
14882
|
+
* while the bin is still out"). That is why it composes with every delivery
|
|
14883
|
+
* instead of owning one, and why no new `NcDelivery` member and no new subject
|
|
14884
|
+
* kind exist for it — see D159.
|
|
14885
|
+
*
|
|
14886
|
+
* ── Identity ───────────────────────────────────────────────────────────────
|
|
14887
|
+
* `sceneId` is `SceneMonitor.id`, a `randomUUID()` minted by `createScene` —
|
|
14888
|
+
* globally unique, so it needs no device to disambiguate it. `deviceId` is
|
|
14889
|
+
* carried as a HINT for the editor and for the log line, never as part of the
|
|
14890
|
+
* lookup key: a rule whose hint drifted must still gate correctly.
|
|
14891
|
+
*
|
|
14892
|
+
* ── Which boolean ──────────────────────────────────────────────────────────
|
|
14893
|
+
* `latched` ABSENT means "whatever the scene itself says" — `SceneMonitor.emit`
|
|
14894
|
+
* already declares which boolean drives notification rules, and a second knob
|
|
14895
|
+
* that could disagree with it is exactly the D62 failure. Set it only to
|
|
14896
|
+
* override one rule against the scene's own default.
|
|
14897
|
+
*
|
|
14898
|
+
* - LIVE reading (`emit`/`latched` resolve to live): passes iff
|
|
14899
|
+
* `verdict === requiredState`. `unknown` — no reference for this light, view
|
|
14900
|
+
* shifted, no snapshot — passes NEITHER. A scene that cannot judge is not
|
|
14901
|
+
* evidence, in either direction.
|
|
14902
|
+
* - LATCHED reading: passes iff `latched === (requiredState === 'diverged')`.
|
|
14903
|
+
* The latch is a durable fact about the past ("it has diverged since I armed
|
|
14904
|
+
* it"), so a camera that has gone dark does not clear it — that is the whole
|
|
14905
|
+
* reason the operator asked for a latch.
|
|
14906
|
+
*
|
|
14907
|
+
* The gate reads an in-memory mirror (`NcSceneStateCache`) refreshed OFF the
|
|
14908
|
+
* event path, never the cap: D49. A mirror that has never loaded, or a scene it
|
|
14909
|
+
* does not carry, reads absent and the rule does NOT fire — fail closed, and
|
|
14910
|
+
* said out loud in the log rather than dropped in silence.
|
|
14911
|
+
*/
|
|
14912
|
+
var NcSceneConditionSchema = object({
|
|
14913
|
+
/** `SceneMonitor.id` — the uuid the cap mints. The whole lookup key. */
|
|
14914
|
+
sceneId: string().min(1),
|
|
14915
|
+
/** The camera the scene lives on. A hint for the editor and the log line. */
|
|
14916
|
+
deviceId: number().int().optional(),
|
|
14917
|
+
/** The state the scene must be in for the rule to fire. */
|
|
14918
|
+
requiredState: _enum(["matched", "diverged"]),
|
|
14919
|
+
/**
|
|
14920
|
+
* Read the LATCH (`true`) or the LIVE verdict (`false`). Absent = follow the
|
|
14921
|
+
* scene's own `emit` field, which is the only place that decision belongs.
|
|
14922
|
+
*/
|
|
14923
|
+
latched: boolean().optional()
|
|
14924
|
+
});
|
|
14560
14925
|
var NcConditionsSchema = object({
|
|
14561
14926
|
/** Gate on ANOTHER device's current state (the alarm armed, a switch on). */
|
|
14562
|
-
deviceState:
|
|
14563
|
-
|
|
14564
|
-
|
|
14565
|
-
|
|
14566
|
-
|
|
14927
|
+
deviceState: NcDeviceStateConditionSchema.optional(),
|
|
14928
|
+
/**
|
|
14929
|
+
* Gate on a SCENE's state — "only while the bin is still out". Composes with
|
|
14930
|
+
* every trigger (detection, occupancy, audio, sensor, package, track-end);
|
|
14931
|
+
* unlike `occupancy`/`audio` it discriminates nothing. See
|
|
14932
|
+
* {@link NcSceneCondition} and D159.
|
|
14933
|
+
*/
|
|
14934
|
+
scene: NcSceneConditionSchema.optional(),
|
|
14567
14935
|
/** Device scope — absent = all devices. */
|
|
14568
14936
|
devices: array(number()).optional(),
|
|
14569
14937
|
/** Detector class names (any overlap with the record's class set). */
|
|
@@ -14589,18 +14957,47 @@ var NcConditionsSchema = object({
|
|
|
14589
14957
|
*/
|
|
14590
14958
|
labelEquals: array(string().min(1)).optional(),
|
|
14591
14959
|
/**
|
|
14592
|
-
*
|
|
14593
|
-
*
|
|
14594
|
-
*
|
|
14960
|
+
* KNOWN FACES — the rule's identity scope, and the switch that says the rule
|
|
14961
|
+
* is about recognised people at all.
|
|
14962
|
+
*
|
|
14963
|
+
* Three states, and the empty one is the point:
|
|
14964
|
+
*
|
|
14965
|
+
* | value | meaning |
|
|
14966
|
+
* | --- | --- |
|
|
14967
|
+
* | absent | the rule does not care who it is; an unrecognised person matches |
|
|
14968
|
+
* | `[]` | **only known faces** — any identity in the gallery, nobody in particular |
|
|
14969
|
+
* | a list | only these identities |
|
|
14970
|
+
*
|
|
14971
|
+
* `[]` is the repo-wide "no selection = no narrowing" reading (an absent
|
|
14972
|
+
* `devices` list is every device), applied one level down: the operator has
|
|
14973
|
+
* turned the face scope ON and narrowed it to nothing, which is every known
|
|
14974
|
+
* face. No second field states the same thing — a switch that can disagree
|
|
14975
|
+
* with the list under it is worse than no switch (D62).
|
|
14976
|
+
*
|
|
14977
|
+
* MEMBERS ARE FACE-GALLERY `Identity.id`s (uuid), not display names. A name is
|
|
14978
|
+
* renameable, and a rule authored on "Gianluca" went silently dark the moment
|
|
14979
|
+
* the operator fixed the spelling. The id reaches the record on
|
|
14980
|
+
* `LabelAttribution.identityId`; the name is what the editor shows and what
|
|
14981
|
+
* `{{label}}` renders.
|
|
14982
|
+
*
|
|
14983
|
+
* Rules written before this carry NAMES, and are resolved to ids lazily at
|
|
14984
|
+
* load (`NcRuleStore.load`) against the live gallery — a name nothing answers
|
|
14985
|
+
* for is left as it stands and reported, never dropped. The engine also
|
|
14986
|
+
* accepts a display-name hit as a compatibility leg, so a rule whose
|
|
14987
|
+
* migration could not resolve keeps matching exactly what it matched before.
|
|
14595
14988
|
*/
|
|
14596
14989
|
identities: array(string().min(1)).optional(),
|
|
14597
|
-
/**
|
|
14990
|
+
/**
|
|
14991
|
+
* KNOWN PLATES / VEHICLES — the plate mirror of {@link identities}, including
|
|
14992
|
+
* the empty-list reading: `values: []` is "any plate the OCR could read",
|
|
14993
|
+
* a non-empty list is those plates (fuzzily). See {@link NcPlateMatcherSchema}.
|
|
14994
|
+
*/
|
|
14598
14995
|
plates: NcPlateMatcherSchema.optional(),
|
|
14599
14996
|
/**
|
|
14600
|
-
* Identity EXCLUDE — mirror of {@link identities} with `notIn` semantics
|
|
14601
|
-
*
|
|
14602
|
-
* identity
|
|
14603
|
-
*
|
|
14997
|
+
* Identity EXCLUDE — mirror of {@link identities} with `notIn` semantics, and
|
|
14998
|
+
* the same id members and the same lazy name→id migration. A record with NO
|
|
14999
|
+
* identity passes (nothing to exclude), unlike the include variant which
|
|
15000
|
+
* fails on an unrecognised subject. An EMPTY list excludes nobody.
|
|
14604
15001
|
*/
|
|
14605
15002
|
identitiesExclude: array(string().min(1)).optional(),
|
|
14606
15003
|
/**
|
|
@@ -14992,7 +15389,80 @@ var NcRuleInputSchema = object({
|
|
|
14992
15389
|
* a rule that predates the gate must keep delivering byte-for-byte as it
|
|
14993
15390
|
* did, and absent is the only way to say that without a migration.
|
|
14994
15391
|
*/
|
|
14995
|
-
confirm: NcConfirmSchema.optional()
|
|
15392
|
+
confirm: NcConfirmSchema.optional(),
|
|
15393
|
+
/**
|
|
15394
|
+
* WAIT for face/plate recognition before saying anything.
|
|
15395
|
+
*
|
|
15396
|
+
* A notification's TEXT is frozen at enqueue and its media is re-resolved at
|
|
15397
|
+
* send; the identity is neither. A face is confirmed after `confirmFrames`
|
|
15398
|
+
* agreeing observations — p50 **11.4 s** after the track was first seen,
|
|
15399
|
+
* measured on this hub — and an `immediate` rule enqueues on the first object
|
|
15400
|
+
* event, seconds before that. So "Gianluca è arrivato" is unsayable on the
|
|
15401
|
+
* immediate path, and no amount of media re-resolution fixes a sentence.
|
|
15402
|
+
*
|
|
15403
|
+
* Only two honest answers exist, and this flag picks between them. It has
|
|
15404
|
+
* effect ONLY on a rule that declares a recognition scope
|
|
15405
|
+
* ({@link NcConditions.identities} or {@link NcConditions.plates}) — on any
|
|
15406
|
+
* other rule there is nothing to wait for and the flag is inert.
|
|
15407
|
+
*
|
|
15408
|
+
* | value | what happens |
|
|
15409
|
+
* | --- | --- |
|
|
15410
|
+
* | `true` | the rule stops firing on the object event and fires at TRACK CLOSE instead, once, with the name — later, and complete |
|
|
15411
|
+
* | 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) |
|
|
15412
|
+
*
|
|
15413
|
+
* `.optional()` and deliberately NOT `.default()`: a Zod default does not run
|
|
15414
|
+
* on the addon cap path, and absent has to keep meaning exactly what every
|
|
15415
|
+
* rule authored before this field meant.
|
|
15416
|
+
*
|
|
15417
|
+
* The cost of `true` is stated here because the editor states it too: a rule
|
|
15418
|
+
* that waits also inherits track-close SEMANTICS — its `zones` condition
|
|
15419
|
+
* tests every zone the track visited and a `crossing` condition can no longer
|
|
15420
|
+
* be satisfied, because a closed track carries no crossing.
|
|
15421
|
+
*/
|
|
15422
|
+
waitForEnhancement: boolean().optional(),
|
|
15423
|
+
/**
|
|
15424
|
+
* GROUP a burst of subjects into ONE notification that grows.
|
|
15425
|
+
*
|
|
15426
|
+
* Seconds of quiet after the last matching subject before the burst is
|
|
15427
|
+
* considered over. While it is open, the first subject enqueues immediately —
|
|
15428
|
+
* **exactly as today, with no added latency** — and every real growth (a new
|
|
15429
|
+
* subject, or a name confirmed on one already in it) REPLACES that
|
|
15430
|
+
* notification with an updated one naming everybody. The push carries the
|
|
15431
|
+
* group's own coalescing tag, so the phone replaces rather than stacks.
|
|
15432
|
+
*
|
|
15433
|
+
* `0` / absent = off, and off is today's behaviour byte for byte.
|
|
15434
|
+
*
|
|
15435
|
+
* ### Why an idle cutoff and not a window
|
|
15436
|
+
*
|
|
15437
|
+
* The measured seven-person arrival on device 590 spans 110 s with every
|
|
15438
|
+
* internal gap under 30 s. A 12 s fixed window cuts it into three groups; an
|
|
15439
|
+
* idle cutoff holds it as one and ends it when the arrival actually ends.
|
|
15440
|
+
* 30 is Frigate's shipped value for the same decision.
|
|
15441
|
+
*
|
|
15442
|
+
* ### What it replaces
|
|
15443
|
+
*
|
|
15444
|
+
* The blind cooldown, which collapses a burst by DISCARDING it. Measured on
|
|
15445
|
+
* device 615 / *Persona su Uscio* over six days: 116 qualifying tracks → 74
|
|
15446
|
+
* notifications, **44 (37.9%) suppressed outright**, 23 of them overlapping a
|
|
15447
|
+
* track that did fire and 7 carrying a confirmed identity nobody heard about.
|
|
15448
|
+
* A group collapses the same volume by MERGING, so the cooldown becomes a
|
|
15449
|
+
* budget over GROUPS — which is what it always meant — and a growth is never
|
|
15450
|
+
* throttled by the window its own first member spent.
|
|
15451
|
+
*
|
|
15452
|
+
* ### Interaction with {@link waitForEnhancement}
|
|
15453
|
+
*
|
|
15454
|
+
* They compose, and the order matters. `waitForEnhancement` defers the rule to
|
|
15455
|
+
* TRACK CLOSE, so with both set the group is opened by the first member to
|
|
15456
|
+
* CLOSE — already carrying its name — and grows as later members close. That
|
|
15457
|
+
* is later, and complete. With grouping alone the group opens on the first
|
|
15458
|
+
* object event and picks up names as they are confirmed, through the growth
|
|
15459
|
+
* path. Neither combination fires twice for one subject.
|
|
15460
|
+
*
|
|
15461
|
+
* `.optional()` and deliberately NOT `.default()`: a Zod default does not run
|
|
15462
|
+
* on the addon cap path, so absent must keep meaning what it meant before this
|
|
15463
|
+
* field existed.
|
|
15464
|
+
*/
|
|
15465
|
+
groupIdleSec: number().int().min(0).max(600).optional()
|
|
14996
15466
|
});
|
|
14997
15467
|
/**
|
|
14998
15468
|
* Partial patch for `updateRule` — any subset of the input fields, plus the
|
|
@@ -15099,6 +15569,7 @@ var NcConditionDescriptorSchema = object({
|
|
|
15099
15569
|
"occupancy",
|
|
15100
15570
|
"audio",
|
|
15101
15571
|
"deviceState",
|
|
15572
|
+
"scene",
|
|
15102
15573
|
"systemEvent"
|
|
15103
15574
|
]),
|
|
15104
15575
|
operator: _enum([
|
|
@@ -15504,7 +15975,87 @@ var MethodAccessSchema = _enum([
|
|
|
15504
15975
|
var AllowedProviderSchema = union([literal("*"), array(string())]);
|
|
15505
15976
|
var AllowedDevicesSchema = record(string(), union([literal("*"), array(string())]));
|
|
15506
15977
|
var CapScopeSchema = _enum(["device", "system"]);
|
|
15507
|
-
|
|
15978
|
+
/**
|
|
15979
|
+
* DeviceSelector (scope model v3 — 2026-08-12).
|
|
15980
|
+
*
|
|
15981
|
+
* A `device` grant no longer carries a frozen list of deviceIds. It carries
|
|
15982
|
+
* a SELECTOR the matcher resolves against the live fleet, so the grant can be
|
|
15983
|
+
* DYNAMIC: a `types:['camera']` selector automatically covers a camera added
|
|
15984
|
+
* AFTER the grant was minted — no re-grant, no re-login.
|
|
15985
|
+
*
|
|
15986
|
+
* - `all` — every device in the deployment. The broad viewer/operator
|
|
15987
|
+
* lever without a `category` grant (a `category` grant also covers device
|
|
15988
|
+
* caps that carry no deviceId; `all` is specifically the device set).
|
|
15989
|
+
* - `ids` — an explicit deviceId list. This is what a v2 `device:[…]`
|
|
15990
|
+
* grant migrates to (see {@link TokenScopeSchema}); STATIC — a new camera
|
|
15991
|
+
* is NOT covered until the grant is edited.
|
|
15992
|
+
* - `types` — every device of a `DeviceType` (e.g. every `camera`).
|
|
15993
|
+
* DYNAMIC. A device that changes type, or a new device of the type,
|
|
15994
|
+
* re-resolves on the next request.
|
|
15995
|
+
* - `locations` — every device whose operator-assigned `location` label is
|
|
15996
|
+
* in the set (e.g. "Garden", "Front door"). DYNAMIC. A device with a
|
|
15997
|
+
* null/unset location matches NO `locations` selector.
|
|
15998
|
+
*/
|
|
15999
|
+
var DeviceSelectorSchema = discriminatedUnion("kind", [
|
|
16000
|
+
object({ kind: literal("all") }),
|
|
16001
|
+
object({
|
|
16002
|
+
kind: literal("ids"),
|
|
16003
|
+
ids: array(number().int()).min(1)
|
|
16004
|
+
}),
|
|
16005
|
+
object({
|
|
16006
|
+
kind: literal("types"),
|
|
16007
|
+
types: array(_enum(DeviceType)).min(1)
|
|
16008
|
+
}),
|
|
16009
|
+
object({
|
|
16010
|
+
kind: literal("locations"),
|
|
16011
|
+
locations: array(string().min(1)).min(1)
|
|
16012
|
+
})
|
|
16013
|
+
]);
|
|
16014
|
+
var DeviceTokenScopeSchema = object({
|
|
16015
|
+
type: literal("device"),
|
|
16016
|
+
/** The device SET this grant covers — resolved against the live fleet. */
|
|
16017
|
+
selector: DeviceSelectorSchema,
|
|
16018
|
+
access: array(MethodAccessSchema).min(1),
|
|
16019
|
+
/**
|
|
16020
|
+
* Whether a grant on a PARENT device transparently covers its accessory
|
|
16021
|
+
* CHILDREN (siren / floodlight / PIR) via the persisted-parentage walk.
|
|
16022
|
+
* Direction is parent → children ONLY.
|
|
16023
|
+
*
|
|
16024
|
+
* Absent → the matcher DERIVES it from the access flavour: `view`
|
|
16025
|
+
* inherits (a camera viewer sees the camera's accessories), `create` /
|
|
16026
|
+
* `delete` do NOT (actuating/removing a child is an explicit act the
|
|
16027
|
+
* operator must grant on the child, not inherit from the parent). Set it
|
|
16028
|
+
* explicitly to override that default per grant.
|
|
16029
|
+
*/
|
|
16030
|
+
includeLinked: boolean().optional()
|
|
16031
|
+
});
|
|
16032
|
+
/**
|
|
16033
|
+
* v2 → v3 lazy migration. A pre-v3 `device` grant carried
|
|
16034
|
+
* `targets: string[]` (stringified deviceIds); it rewrites to the equivalent
|
|
16035
|
+
* `selector: {kind:'ids', ids}`. Applied as a `preprocess` so it runs on
|
|
16036
|
+
* EVERY parse path — stored records AND the JWT-carried scope arrays
|
|
16037
|
+
* normalised at the request boundary ({@link normalizeTokenScopes} in
|
|
16038
|
+
* `device-selector.ts`). Chosen over a one-time DB migration because a
|
|
16039
|
+
* migration cannot reach a JWT already in a client's hands; parse-time
|
|
16040
|
+
* migration covers both without a flag day. No cast — the raw object is read
|
|
16041
|
+
* through `Reflect.get` (its static type is `unknown`).
|
|
16042
|
+
*/
|
|
16043
|
+
function migrateLegacyTokenScope(raw) {
|
|
16044
|
+
if (raw === null || typeof raw !== "object" || Array.isArray(raw)) return raw;
|
|
16045
|
+
if (Reflect.get(raw, "type") !== "device") return raw;
|
|
16046
|
+
if (Reflect.get(raw, "selector") !== void 0) return raw;
|
|
16047
|
+
const targets = Reflect.get(raw, "targets");
|
|
16048
|
+
if (!Array.isArray(targets)) return raw;
|
|
16049
|
+
return {
|
|
16050
|
+
type: "device",
|
|
16051
|
+
selector: {
|
|
16052
|
+
kind: "ids",
|
|
16053
|
+
ids: targets.map((t) => typeof t === "string" ? Number(t) : t).filter((n) => typeof n === "number" && Number.isInteger(n))
|
|
16054
|
+
},
|
|
16055
|
+
access: Reflect.get(raw, "access")
|
|
16056
|
+
};
|
|
16057
|
+
}
|
|
16058
|
+
var TokenScopeSchema = preprocess(migrateLegacyTokenScope, discriminatedUnion("type", [
|
|
15508
16059
|
object({
|
|
15509
16060
|
type: literal("category"),
|
|
15510
16061
|
target: CapScopeSchema,
|
|
@@ -15520,18 +16071,8 @@ var TokenScopeSchema = discriminatedUnion("type", [
|
|
|
15520
16071
|
target: string(),
|
|
15521
16072
|
access: array(MethodAccessSchema).min(1)
|
|
15522
16073
|
}),
|
|
15523
|
-
|
|
15524
|
-
|
|
15525
|
-
/**
|
|
15526
|
-
* One or more deviceIds (serialised as strings for wire-format
|
|
15527
|
-
* consistency with the rest of the union). Matcher accepts if
|
|
15528
|
-
* `input.deviceId` ∈ `targets`. Array shape avoids the row-explosion
|
|
15529
|
-
* of one scope-per-device when granting access to a set of cameras.
|
|
15530
|
-
*/
|
|
15531
|
-
targets: array(string()).min(1),
|
|
15532
|
-
access: array(MethodAccessSchema).min(1)
|
|
15533
|
-
})
|
|
15534
|
-
]);
|
|
16074
|
+
DeviceTokenScopeSchema
|
|
16075
|
+
]));
|
|
15535
16076
|
object({
|
|
15536
16077
|
id: string(),
|
|
15537
16078
|
username: string(),
|
|
@@ -15848,7 +16389,7 @@ var TrackEnvelopeSchema = object({
|
|
|
15848
16389
|
* `snapshots[]` references — megabytes across a page of tracks. `slim`
|
|
15849
16390
|
* keeps every scalar the list surfaces actually render (ids, class(es),
|
|
15850
16391
|
* label / audioLabels / importance enrichment, firstSeen/lastSeen, state,
|
|
15851
|
-
* zonesVisited, bestEventId, envelope, hasFace) and returns `positions` /
|
|
16392
|
+
* zonesVisited, bestEventId, envelope, hasFace, hasRider) and returns `positions` /
|
|
15852
16393
|
* `snapshots` as EMPTY arrays — detail views re-fetch the full row via
|
|
15853
16394
|
* `getTrack`. Mirrors the event-store `projection` convention
|
|
15854
16395
|
* (`getObjectEvents` et al.).
|
|
@@ -15984,7 +16525,21 @@ union([literal(1), literal(2)]);
|
|
|
15984
16525
|
var LabelAttributionSchema = object({
|
|
15985
16526
|
stepId: string(),
|
|
15986
16527
|
modelId: string().optional(),
|
|
15987
|
-
decidedAt: number()
|
|
16528
|
+
decidedAt: number(),
|
|
16529
|
+
/**
|
|
16530
|
+
* The GALLERY id behind a recognised tier-2 label — a face-gallery
|
|
16531
|
+
* `Identity.id` or a plate-gallery `Vehicle.id` (both `randomUUID`).
|
|
16532
|
+
*
|
|
16533
|
+
* The text alone is a DISPLAY NAME, and a display name is renameable: a
|
|
16534
|
+
* notification rule authored on "Gianluca" stopped matching the moment the
|
|
16535
|
+
* operator fixed the spelling in the gallery, and nothing said so. The id is
|
|
16536
|
+
* the thing that does not move, so it is what a rule matches on
|
|
16537
|
+
* (`NcConditions.identities`) and the text is what a human is shown.
|
|
16538
|
+
*
|
|
16539
|
+
* Absent when the label names no gallery row — a plate the OCR read but no
|
|
16540
|
+
* vehicle claims, a sub-class, a species, any tier-1 value.
|
|
16541
|
+
*/
|
|
16542
|
+
identityId: string().optional()
|
|
15988
16543
|
});
|
|
15989
16544
|
/**
|
|
15990
16545
|
* The TIERED label model (roadmap 4g), spread into `TrackSchema` and
|
|
@@ -16121,6 +16676,28 @@ var TrackSchema = object({
|
|
|
16121
16676
|
* `=== true` and render nothing otherwise, never infer "no face".
|
|
16122
16677
|
*/
|
|
16123
16678
|
hasFace: boolean().optional(),
|
|
16679
|
+
/**
|
|
16680
|
+
* This subject CONTAINS a folded rider — a person the rider-pairing step
|
|
16681
|
+
* ([D34](../decisions/adr-0034.md)) removed from the frame BEFORE the tracker,
|
|
16682
|
+
* so the passage is tracked once and as a VEHICLE.
|
|
16683
|
+
*
|
|
16684
|
+
* It exists because the fold's record was dishonest. D34 and the code both
|
|
16685
|
+
* said "the person is not lost — it is reported so both entities stay on the
|
|
16686
|
+
* record"; in fact the pair went into a per-processor RAM field behind an
|
|
16687
|
+
* accessor nobody called, and every durable surface said `vehicle`, full
|
|
16688
|
+
* stop. This is the composition note that makes the row true.
|
|
16689
|
+
*
|
|
16690
|
+
* A COMPOSITION, never a class and never a label. "This vehicle contains a
|
|
16691
|
+
* person" is not an answer to "what is this" — both label tiers would refuse
|
|
16692
|
+
* a macro token anyway (D89), and correctly. Nothing here changes what the
|
|
16693
|
+
* subject IS: a cyclist stays one vehicle track, occupancy still counts one,
|
|
16694
|
+
* and a `person` rule still does not fire for someone cycling past.
|
|
16695
|
+
*
|
|
16696
|
+
* **Absent ≠ false**, exactly like {@link hasFace}: every row written before
|
|
16697
|
+
* the column, and every hub that predates the field, omits it. Test
|
|
16698
|
+
* `=== true` and render nothing otherwise — never infer "no rider".
|
|
16699
|
+
*/
|
|
16700
|
+
hasRider: boolean().optional(),
|
|
16124
16701
|
...TrackFlagFields,
|
|
16125
16702
|
...TrackRetrainFields
|
|
16126
16703
|
});
|
|
@@ -16470,7 +17047,10 @@ var RecentTracksQueryInput = object({
|
|
|
16470
17047
|
* Encodes the (lastSeen, trackId) sort position — treat as opaque. */
|
|
16471
17048
|
cursor: string().optional(),
|
|
16472
17049
|
/** See {@link TrackProjectionSchema}. Default `full`. */
|
|
16473
|
-
projection: TrackProjectionSchema.optional()
|
|
17050
|
+
projection: TrackProjectionSchema.optional(),
|
|
17051
|
+
/** Include stationary-promoted rows (parked objects). Default false: the
|
|
17052
|
+
* feed lists passages; parking records live on the stationary registry. */
|
|
17053
|
+
includeStationary: boolean().optional()
|
|
16474
17054
|
});
|
|
16475
17055
|
var RecentTracksPageSchema = object({
|
|
16476
17056
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
@@ -16688,7 +17268,11 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
16688
17268
|
zone: TrackZoneFilterSchema.optional(),
|
|
16689
17269
|
/** See {@link TrackProjectionSchema}. Default `full` (backward
|
|
16690
17270
|
* compatible — omitting the field keeps today's exact behaviour). */
|
|
16691
|
-
projection: TrackProjectionSchema.optional()
|
|
17271
|
+
projection: TrackProjectionSchema.optional(),
|
|
17272
|
+
/** Include stationary-promoted rows (parked objects handed to the
|
|
17273
|
+
* stationary registry). Default false: the timeline lists passages,
|
|
17274
|
+
* not parking records (operator decision, 2026-08-15). */
|
|
17275
|
+
includeStationary: boolean().optional()
|
|
16692
17276
|
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
|
|
16693
17277
|
kind: "mutation",
|
|
16694
17278
|
auth: "admin"
|
|
@@ -16852,11 +17436,16 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
16852
17436
|
auth: "admin"
|
|
16853
17437
|
}), method(object({
|
|
16854
17438
|
eventId: string(),
|
|
16855
|
-
kind: MediaFileKindEnum.optional()
|
|
17439
|
+
kind: MediaFileKindEnum.optional(),
|
|
17440
|
+
deviceId: number()
|
|
16856
17441
|
}), array(MediaFileSchema).readonly()), method(object({
|
|
16857
17442
|
trackId: string(),
|
|
16858
|
-
kinds: array(MediaFileKindEnum).optional()
|
|
16859
|
-
|
|
17443
|
+
kinds: array(MediaFileKindEnum).optional(),
|
|
17444
|
+
deviceId: number()
|
|
17445
|
+
}), array(MediaFileSchema).readonly()), method(object({
|
|
17446
|
+
trackId: string(),
|
|
17447
|
+
deviceId: number()
|
|
17448
|
+
}), array(MediaFileInfoSchema).readonly()), method(SearchObjectEventsInput, array(ScoredObjectEventSchema).readonly()), method(object({}), WipeObjectEmbeddingsResultSchema, {
|
|
16860
17449
|
kind: "mutation",
|
|
16861
17450
|
auth: "admin"
|
|
16862
17451
|
}), method(RebuildObjectEmbeddingsInput, RebuildObjectEmbeddingsResultSchema, {
|
|
@@ -17556,6 +18145,17 @@ var maxSessionHoldMsField = {
|
|
|
17556
18145
|
default: 12e4,
|
|
17557
18146
|
step: 5e3
|
|
17558
18147
|
};
|
|
18148
|
+
/**
|
|
18149
|
+
* Quiet period that closes an `audioMode: 'on-motion'` audio window. Floor of
|
|
18150
|
+
* 5s so a rearm can never degenerate into per-event stream churn; default 90s
|
|
18151
|
+
* comfortably outlives the gap between two PIR wakes on a battery camera.
|
|
18152
|
+
*/
|
|
18153
|
+
var audioMotionWindowMsField = {
|
|
18154
|
+
min: 5e3,
|
|
18155
|
+
max: 6e5,
|
|
18156
|
+
default: 9e4,
|
|
18157
|
+
step: 5e3
|
|
18158
|
+
};
|
|
17559
18159
|
var motionFpsField = {
|
|
17560
18160
|
min: 1,
|
|
17561
18161
|
max: 30,
|
|
@@ -17568,10 +18168,26 @@ var detectionFpsField = {
|
|
|
17568
18168
|
default: 10,
|
|
17569
18169
|
step: 1
|
|
17570
18170
|
};
|
|
18171
|
+
/**
|
|
18172
|
+
* The occupancy re-check interval. DEFAULT 300 s (2026-08-13 — was 30 s).
|
|
18173
|
+
*
|
|
18174
|
+
* The recheck is now on by default (a parked car is invisible to occupancy
|
|
18175
|
+
* rules until the stationary registry has been rebuilt by motion, which after a
|
|
18176
|
+
* restart may be never on a quiet camera). Each cycle re-subscribes a detection
|
|
18177
|
+
* session — an RTSP re-dial — so the switch is only affordable at a WIDE
|
|
18178
|
+
* interval: 300 s is ~12 re-dials an hour per camera, against 120 at the old
|
|
18179
|
+
* 30 s. A parked car is therefore counted within 5 minutes of a restart.
|
|
18180
|
+
*
|
|
18181
|
+
* Why not wider: `max` is 300 and raising it is TRAIN-BOUND, not addon-bound —
|
|
18182
|
+
* the host validates `attachCamera` against ITS copy of this schema, so a
|
|
18183
|
+
* runner asked for 600 would be rejected by the hub until a `@camstack/server`
|
|
18184
|
+
* carrying the wider bound is installed everywhere. 300 is the widest value
|
|
18185
|
+
* that ships with an addon deploy.
|
|
18186
|
+
*/
|
|
17571
18187
|
var occupancyRecheckSecField = {
|
|
17572
18188
|
min: 0,
|
|
17573
18189
|
max: 300,
|
|
17574
|
-
default:
|
|
18190
|
+
default: 300,
|
|
17575
18191
|
step: 5
|
|
17576
18192
|
};
|
|
17577
18193
|
var occupancyRecheckFramesField = {
|
|
@@ -17716,6 +18332,27 @@ var RunnerCameraConfigSchema = object({
|
|
|
17716
18332
|
* resolved `CameraDetectionConfig`.
|
|
17717
18333
|
*/
|
|
17718
18334
|
maxSessionHoldMs: number().min(maxSessionHoldMsField.min).max(maxSessionHoldMsField.max).optional(),
|
|
18335
|
+
/**
|
|
18336
|
+
* Orchestrator-side quiet period (ms) that closes an `audioMode:
|
|
18337
|
+
* 'on-motion'` audio window, measured from the LAST motion event.
|
|
18338
|
+
*
|
|
18339
|
+
* This exists because the falling edge cannot be relied on. Camera-native
|
|
18340
|
+
* providers emit motion as a RISING EDGE ONLY (Reolink's Baichuan push and
|
|
18341
|
+
* its email-push SMTP path both emit `detected: true` and never the
|
|
18342
|
+
* counterpart); only the frame-diff analyzer emits falls. So on an
|
|
18343
|
+
* onboard-only camera a window that closed only on `detected: false` never
|
|
18344
|
+
* closed at all, and `on-motion` silently behaved as `always-on` — on a
|
|
18345
|
+
* battery camera, the one failure mode the mode exists to prevent.
|
|
18346
|
+
*
|
|
18347
|
+
* Every motion event rearms this timer WITHOUT restarting the stream, so a
|
|
18348
|
+
* burst of re-fires costs nothing. A falling edge, when one does arrive,
|
|
18349
|
+
* still closes earlier via `motionCooldownMs` — whichever comes first wins.
|
|
18350
|
+
*
|
|
18351
|
+
* Not consumed by the runner: carried here so it shares the per-camera
|
|
18352
|
+
* device-settings surface with `motionCooldownMs`, exactly like
|
|
18353
|
+
* `maxSessionHoldMs`.
|
|
18354
|
+
*/
|
|
18355
|
+
audioMotionWindowMs: number().min(audioMotionWindowMsField.min).max(audioMotionWindowMsField.max).optional(),
|
|
17719
18356
|
motionFps: number().min(motionFpsField.min).max(motionFpsField.max).default(motionFpsField.default),
|
|
17720
18357
|
detectionFps: number().min(detectionFpsField.min).max(detectionFpsField.max).default(detectionFpsField.default),
|
|
17721
18358
|
motionStreamId: string(),
|
|
@@ -17769,15 +18406,21 @@ var RunnerCameraConfigSchema = object({
|
|
|
17769
18406
|
*/
|
|
17770
18407
|
onboardMotionDrivesAnalyzer: boolean().default(true),
|
|
17771
18408
|
/**
|
|
17772
|
-
* Master toggle for the occupancy re-check. When `false`
|
|
17773
|
-
*
|
|
17774
|
-
* this is off by default because the recheck re-subscribes a detection session
|
|
17775
|
-
* every N seconds while `watching`, a major source of pull-decoder re-dial
|
|
17776
|
-
* churn (each cycle creates+tears a session → RTSP re-dial → latency). The
|
|
18409
|
+
* Master toggle for the occupancy re-check. When `false` the runner never arms
|
|
18410
|
+
* the periodic recheck timer, regardless of `occupancyRecheckSec`; the
|
|
17777
18411
|
* `occupancyRecheckSec` / `occupancyRecheckFrames` sliders only take effect
|
|
17778
18412
|
* (and only render) when this is enabled.
|
|
17779
|
-
|
|
17780
|
-
|
|
18413
|
+
*
|
|
18414
|
+
* DEFAULT `true` since 2026-08-13 (was `false`). It was off because the
|
|
18415
|
+
* recheck re-subscribes a detection session every N seconds while `watching`
|
|
18416
|
+
* — each cycle creates+tears a session ⇒ an RTSP re-dial ⇒ latency, a major
|
|
18417
|
+
* pull-decoder churn source. What that bought was a blind spot: a STATIONARY
|
|
18418
|
+
* object is counted only while the stationary registry holds it, and the
|
|
18419
|
+
* registry rebuilds from motion, so after a restart a parked car was invisible
|
|
18420
|
+
* to every occupancy rule until something moved in front of it. The churn is
|
|
18421
|
+
* now paid on the interval instead — see `occupancyRecheckSecField`.
|
|
18422
|
+
*/
|
|
18423
|
+
occupancyRecheckEnabled: boolean().default(true),
|
|
17781
18424
|
occupancyRecheckSec: number().min(occupancyRecheckSecField.min).max(occupancyRecheckSecField.max).default(occupancyRecheckSecField.default),
|
|
17782
18425
|
occupancyRecheckFrames: number().min(occupancyRecheckFramesField.min).max(occupancyRecheckFramesField.max).default(occupancyRecheckFramesField.default),
|
|
17783
18426
|
/**
|
|
@@ -17805,7 +18448,7 @@ var RunnerCameraConfigSchema = object({
|
|
|
17805
18448
|
*/
|
|
17806
18449
|
inferenceDevices: array(RunnerInferenceDeviceSchema).readonly().optional()
|
|
17807
18450
|
});
|
|
17808
|
-
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;
|
|
18451
|
+
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;
|
|
17809
18452
|
/**
|
|
17810
18453
|
* Runtime load summary returned by `getLocalLoad`. Used by the orchestrator's
|
|
17811
18454
|
* load-balancing levels (L2 capacity-based, L3 hardware-aware) to decide
|
|
@@ -18910,7 +19553,16 @@ targets: array(object({
|
|
|
18910
19553
|
/** A sleeping battery camera: the frame is deliberately stale and will
|
|
18911
19554
|
* NOT refresh in the background. A surface should say so rather than
|
|
18912
19555
|
* present it as current. */
|
|
18913
|
-
sleeping: boolean()
|
|
19556
|
+
sleeping: boolean(),
|
|
19557
|
+
/** Current device state rendered over the cached frame. State images
|
|
19558
|
+
* remain authoritative even when their photographic background is
|
|
19559
|
+
* old; null means the link must carry a current camera frame. */
|
|
19560
|
+
stateReason: _enum([
|
|
19561
|
+
"disabled",
|
|
19562
|
+
"sleeping",
|
|
19563
|
+
"unreachable",
|
|
19564
|
+
"waking"
|
|
19565
|
+
]).nullable()
|
|
18914
19566
|
})))
|
|
18915
19567
|
},
|
|
18916
19568
|
status: {
|
|
@@ -20570,6 +21222,25 @@ var BatteryStatusSchema = object({
|
|
|
20570
21222
|
/** Ms epoch of the last observation. Lets consumers reason about freshness. */
|
|
20571
21223
|
lastUpdated: number(),
|
|
20572
21224
|
/**
|
|
21225
|
+
* Ms epoch of the last time the device PROVED it was reachable — a
|
|
21226
|
+
* completed firmware round-trip, an observed wake, or an inbound push
|
|
21227
|
+
* (firmware event, email). `0`/absent = never since this slice was born.
|
|
21228
|
+
*
|
|
21229
|
+
* This is the ONLY input that separates "asleep" from "gone", and it is
|
|
21230
|
+
* fed exclusively by PASSIVE signals: nothing may write it by reaching
|
|
21231
|
+
* for the radio, because a poll that confirms reachability is the same
|
|
21232
|
+
* poll that drains the battery. See {@link deriveBatteryPresence} — the
|
|
21233
|
+
* single derivation every consumer must use; no surface computes its own.
|
|
21234
|
+
*
|
|
21235
|
+
* It is deliberately NOT a clock in the
|
|
21236
|
+
* `scripts/check-runtime-state-durability.ts` sense: it is the
|
|
21237
|
+
* observation itself, and it is the only thing a 30-hour silence is
|
|
21238
|
+
* visible in. Writers quantise it (see `CONTACT_WRITE_QUANTUM_MS` in the
|
|
21239
|
+
* Reolink provider) so a value that means "recently" cannot cost a
|
|
21240
|
+
* SQLite commit per round-trip.
|
|
21241
|
+
*/
|
|
21242
|
+
lastContactAt: number().optional(),
|
|
21243
|
+
/**
|
|
20573
21244
|
* True when the source is a BINARY low-battery indicator (HA
|
|
20574
21245
|
* `binary_sensor` device_class=battery / `LOW_BAT`) that has no real
|
|
20575
21246
|
* charge level — `percentage` is then a coarse stand-in (100 = normal,
|
|
@@ -22842,54 +23513,139 @@ var TalkAudioCodecSchema = _enum([
|
|
|
22842
23513
|
"g711ulaw",
|
|
22843
23514
|
"g711alaw"
|
|
22844
23515
|
]);
|
|
22845
|
-
|
|
22846
|
-
|
|
22847
|
-
|
|
22848
|
-
|
|
22849
|
-
|
|
22850
|
-
|
|
22851
|
-
|
|
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
|
-
|
|
23516
|
+
var intercomCapability = {
|
|
23517
|
+
name: "intercom",
|
|
23518
|
+
scope: "device",
|
|
23519
|
+
deviceNative: true,
|
|
23520
|
+
mode: "singleton",
|
|
23521
|
+
deviceTypes: [DeviceType.Camera],
|
|
23522
|
+
methods: {
|
|
23523
|
+
/**
|
|
23524
|
+
* Open a server-side WebRTC audio-only session. Returns an SDP
|
|
23525
|
+
* offer with a single sendonly audio m-line the client answers
|
|
23526
|
+
* (client → server direction). The server wakes battery cams
|
|
23527
|
+
* transparently before opening the upstream talk channel.
|
|
23528
|
+
*/
|
|
23529
|
+
startSession: method(object({ deviceId: number() }), object({
|
|
23530
|
+
sessionId: string(),
|
|
23531
|
+
sdpOffer: string()
|
|
23532
|
+
}), {
|
|
23533
|
+
kind: "mutation",
|
|
23534
|
+
auth: "admin"
|
|
23535
|
+
}),
|
|
23536
|
+
handleAnswer: method(object({
|
|
23537
|
+
deviceId: number(),
|
|
23538
|
+
sessionId: string(),
|
|
23539
|
+
sdpAnswer: string()
|
|
23540
|
+
}), _void(), {
|
|
23541
|
+
kind: "mutation",
|
|
23542
|
+
auth: "admin"
|
|
23543
|
+
}),
|
|
23544
|
+
/** Close explicitly. Server also auto-closes on 30s idle. */
|
|
23545
|
+
stopSession: method(object({
|
|
23546
|
+
deviceId: number(),
|
|
23547
|
+
sessionId: string()
|
|
23548
|
+
}), _void(), {
|
|
23549
|
+
kind: "mutation",
|
|
23550
|
+
auth: "admin"
|
|
23551
|
+
}),
|
|
23552
|
+
/**
|
|
23553
|
+
* Open a raw-PCM talk session (no WebRTC SDP plumbing). Used by
|
|
23554
|
+
* non-WebRTC consumers (HomeKit export, Alexa raw audio, test
|
|
23555
|
+
* harnesses) that already have decoded PCM frames and just need a
|
|
23556
|
+
* direct path onto the camera's talk channel. Mutually exclusive
|
|
23557
|
+
* with `startSession` (an active WebRTC session must be stopped
|
|
23558
|
+
* before a raw-PCM session can be opened on the same device, and
|
|
23559
|
+
* vice versa).
|
|
23560
|
+
*/
|
|
23561
|
+
startTalkSession: method(object({ deviceId: number() }), object({ sessionId: string() }), {
|
|
23562
|
+
kind: "mutation",
|
|
23563
|
+
auth: "admin"
|
|
23564
|
+
}),
|
|
23565
|
+
/**
|
|
23566
|
+
* Push one chunk of talk-back audio onto the active talk session.
|
|
23567
|
+
* The cap is codec-agnostic: the caller declares (or omits) the
|
|
23568
|
+
* wire format via `codec`; the provider decides between passthrough
|
|
23569
|
+
* (when the wire codec matches the camera's native talk channel),
|
|
23570
|
+
* transcoding via the `audio-codec` cap, or rejecting the call.
|
|
23571
|
+
*
|
|
23572
|
+
* Callers do NOT need to know the camera's wire format or sample
|
|
23573
|
+
* rate — that information lives entirely inside the provider.
|
|
23574
|
+
*
|
|
23575
|
+
* Sequence numbers MUST be monotonic per talk session; older frames
|
|
23576
|
+
* arriving after newer ones are dropped to avoid smearing the
|
|
23577
|
+
* downstream encoder state (G.711 is stateless but IMA ADPCM's
|
|
23578
|
+
* predictor would corrupt with re-ordering).
|
|
23579
|
+
*/
|
|
23580
|
+
pushTalkAudio: method(object({
|
|
23581
|
+
deviceId: number(),
|
|
23582
|
+
/** Audio bytes for ONE frame, base64-encoded so the payload
|
|
23583
|
+
* survives tRPC JSON serialization. */
|
|
23584
|
+
audioBase64: string(),
|
|
23585
|
+
/** Wire codec of the payload. Omit to let the provider default
|
|
23586
|
+
* to its native expected format (s16le @ provider-native rate,
|
|
23587
|
+
* mono). See {@link TalkAudioCodecSchema} for the supported set. */
|
|
23588
|
+
codec: TalkAudioCodecSchema.optional(),
|
|
23589
|
+
/** Sample rate (Hz). REQUIRED for `s16le`; advisory for
|
|
23590
|
+
* `opus` (encoder clock); ignored for `g711*` (implied 8000). */
|
|
23591
|
+
sampleRate: number().int().positive().optional(),
|
|
23592
|
+
/** Channel count. Default 1. */
|
|
23593
|
+
channels: number().int().positive().optional(),
|
|
23594
|
+
/** Sequence number for ordering / dropping out-of-order frames. */
|
|
23595
|
+
sequenceNumber: number().int()
|
|
23596
|
+
}), object({ accepted: boolean() }), {
|
|
23597
|
+
kind: "mutation",
|
|
23598
|
+
auth: "admin"
|
|
23599
|
+
}),
|
|
23600
|
+
/** Close the raw-PCM talk session. Idempotent. */
|
|
23601
|
+
endTalkSession: method(object({ deviceId: number() }), _void(), {
|
|
23602
|
+
kind: "mutation",
|
|
23603
|
+
auth: "admin"
|
|
23604
|
+
})
|
|
23605
|
+
},
|
|
23606
|
+
events: { onStatusChanged: { data: object({
|
|
23607
|
+
deviceId: number(),
|
|
23608
|
+
status: IntercomStatusSchema
|
|
23609
|
+
}) } },
|
|
23610
|
+
status: {
|
|
23611
|
+
schema: IntercomStatusSchema,
|
|
23612
|
+
kind: "command-driven"
|
|
23613
|
+
},
|
|
23614
|
+
/**
|
|
23615
|
+
* Runtime-state slice — mirrored by the kernel.
|
|
23616
|
+
*
|
|
23617
|
+
* The cap declared `status` and nothing else, so the only two sources an
|
|
23618
|
+
* exporter has for a value — the `device.state-changed` slice event and the
|
|
23619
|
+
* `deviceState.getAllSnapshots` snapshot, both built from runtime state —
|
|
23620
|
+
* carried nothing for `intercom`. A talk-back entity in Home Assistant would
|
|
23621
|
+
* have been published and never received a value, which is the defect the
|
|
23622
|
+
* export's two classification tables exist to prevent (177 of them, once), so
|
|
23623
|
+
* `intercom` was excluded rather than exported.
|
|
23624
|
+
*
|
|
23625
|
+
* The shape is the status shape: there is exactly one truth about talk-back
|
|
23626
|
+
* and duplicating it into a second schema is how two halves of one capability
|
|
23627
|
+
* come to disagree. Providers write it through
|
|
23628
|
+
* `this.runtimeState.setCapState('intercom', …)` at the four points that open
|
|
23629
|
+
* and close a session, and seed it at registration so the slice exists before
|
|
23630
|
+
* the first session rather than after it.
|
|
23631
|
+
*
|
|
23632
|
+
* **Bound, named rather than hidden:** `talking` mirrors the provider's own
|
|
23633
|
+
* session handle, so a session torn down by a transport death that never
|
|
23634
|
+
* reaches `stopSession` / `endTalkSession` leaves it latched until the next
|
|
23635
|
+
* session or the next restart. That is why the slice is `session` and not
|
|
23636
|
+
* `restored` — a restart must never restore "talking".
|
|
23637
|
+
*/
|
|
23638
|
+
runtimeState: IntercomStatusSchema,
|
|
23639
|
+
/**
|
|
23640
|
+
* Runtime-state durability: **session** — `talking` describes a live audio
|
|
23641
|
+
* session, which by definition does not survive the process that held it.
|
|
23642
|
+
* Restoring it would publish a camera as talking to nobody.
|
|
23643
|
+
*
|
|
23644
|
+
* See `RuntimeStateDurability`. Enforced by
|
|
23645
|
+
* `scripts/check-runtime-state-durability.ts`.
|
|
23646
|
+
*/
|
|
23647
|
+
durability: "session"
|
|
23648
|
+
};
|
|
22893
23649
|
/**
|
|
22894
23650
|
* Robotic lawn-mower cap. Models HA `lawn_mower.*` entities — anything
|
|
22895
23651
|
* with a mowing lifecycle plus a dock action.
|
|
@@ -25586,7 +26342,7 @@ method(object({
|
|
|
25586
26342
|
toMs: number()
|
|
25587
26343
|
}), RecordingAvailabilitySchema, {
|
|
25588
26344
|
kind: "query",
|
|
25589
|
-
auth: "
|
|
26345
|
+
auth: "protected"
|
|
25590
26346
|
}), method(object({
|
|
25591
26347
|
deviceId: number(),
|
|
25592
26348
|
fromMs: number(),
|
|
@@ -25594,14 +26350,14 @@ method(object({
|
|
|
25594
26350
|
tzOffsetMinutes: number()
|
|
25595
26351
|
}), RecordingDaysSchema, {
|
|
25596
26352
|
kind: "query",
|
|
25597
|
-
auth: "
|
|
26353
|
+
auth: "protected"
|
|
25598
26354
|
}), method(object({
|
|
25599
26355
|
deviceId: number(),
|
|
25600
26356
|
fromMs: number(),
|
|
25601
26357
|
toMs: number()
|
|
25602
26358
|
}), RecordingManifestSchema, {
|
|
25603
26359
|
kind: "query",
|
|
25604
|
-
auth: "
|
|
26360
|
+
auth: "protected"
|
|
25605
26361
|
}), method(object({}), RecordingStorageUsageSchema, {
|
|
25606
26362
|
kind: "query",
|
|
25607
26363
|
auth: "admin"
|
|
@@ -25891,14 +26647,77 @@ method(object({
|
|
|
25891
26647
|
* thing except the comparator: `similarity` (CLIP cosine at the same ROI coords
|
|
25892
26648
|
* vs condition-tagged references) and `llm` (vision-LLM judgment over the crop).
|
|
25893
26649
|
*
|
|
25894
|
-
*
|
|
25895
|
-
*
|
|
25896
|
-
*
|
|
25897
|
-
*
|
|
25898
|
-
|
|
25899
|
-
|
|
25900
|
-
*
|
|
26650
|
+
* **No `deviceConfig`, deliberately.** This shipped as the D14 widget archetype,
|
|
26651
|
+
* which put a "Scenes" tab on one camera's detail page. That is the wrong shape
|
|
26652
|
+
* for the thing: a scene is a standing question about the property ("is the bin
|
|
26653
|
+
* still out"), and the operator's question is "which of my scenes have tripped",
|
|
26654
|
+
* across every camera at once — not "what does camera 617 think". Buried one
|
|
26655
|
+
* camera deep it also could not be found. The surface is now a top-level admin
|
|
26656
|
+
* page (`/scenes`, `pages/Scenes.tsx`) that lists every scene on every camera and
|
|
26657
|
+
* picks the camera inside the create flow, the same shape Events and Faces have.
|
|
26658
|
+
*
|
|
26659
|
+
* The consequence to keep in mind: `host/scene-monitor-editor` is gone from
|
|
26660
|
+
* `HOST_WIDGETS` too. `scripts/check-host-widget-resolves.ts` asserts BOTH
|
|
26661
|
+
* directions, so a registration nobody declares fails exactly as loudly as a
|
|
26662
|
+
* declaration nobody registers. The editor is imported directly by the page.
|
|
26663
|
+
*
|
|
26664
|
+
* `status.kind:'push'` — the engine pushes on every hysteresis flip /
|
|
26665
|
+
* availability change; consumers never poll.
|
|
26666
|
+
*/
|
|
26667
|
+
/** Extensible condition tag. Seeded 'day' | 'ir' (the two variants the operator
|
|
26668
|
+
* captures) plus 'night' | 'dawn' | 'dusk' from the resolver's sun-times band.
|
|
26669
|
+
* Open by design so more can be added without a wire break.
|
|
26670
|
+
*
|
|
26671
|
+
* Matching does NOT fall back across conditions: cross-condition cosines are
|
|
26672
|
+
* not comparable, so "I have never seen this scene in this light" is reported
|
|
26673
|
+
* as `unknown`, never guessed. A day reference scored against an IR frame
|
|
26674
|
+
* collapses the cosine and would latch a false alarm every single night. */
|
|
25901
26675
|
var SceneConditionSchema = string();
|
|
26676
|
+
/**
|
|
26677
|
+
* What a scene does when the CURRENT light has no reference of its own.
|
|
26678
|
+
*
|
|
26679
|
+
* The lighting variants are not equally likely to exist. Almost every operator
|
|
26680
|
+
* captures daylight and then never stands outside at 22:00 to capture IR, and a
|
|
26681
|
+
* scene that is only ever going to be asked about a daytime question ("is the
|
|
26682
|
+
* bin still on the kerb at 08:00") does not need a night reference at all. The
|
|
26683
|
+
* night half must therefore be OPTIONAL, and optional means the scene keeps
|
|
26684
|
+
* working without it rather than degrading into a permanent complaint.
|
|
26685
|
+
*
|
|
26686
|
+
* - `skip` (default) — the check in that light is not made. Not a verdict, not
|
|
26687
|
+
* an alarm, not even an `unknown`: the live state simply stays whatever the
|
|
26688
|
+
* last covered light left it at, the latch is untouched, and the hysteresis
|
|
26689
|
+
* run is neither spent nor cleared. The scene resumes by itself at first
|
|
26690
|
+
* light. This is the only behaviour under which "I never captured IR" is a
|
|
26691
|
+
* configuration choice instead of a nightly fault.
|
|
26692
|
+
* - `judge-anyway` — score against the OTHER conditions' references. Available
|
|
26693
|
+
* for cameras whose IR frame is close enough to daylight (a floodlit
|
|
26694
|
+
* driveway, an always-white-light doorbell), and wrong for everything else:
|
|
26695
|
+
* cross-condition cosines are not comparable, so a day reference against a
|
|
26696
|
+
* true IR frame collapses and the scene reports a theft at 21:40.
|
|
26697
|
+
*
|
|
26698
|
+
* Never applies when the scene has NO comparable reference at all — that is
|
|
26699
|
+
* "not armed yet", it is reported as `no-reference-for-condition`, and silence
|
|
26700
|
+
* there would hide a scene the operator never finished setting up.
|
|
26701
|
+
*/
|
|
26702
|
+
var SceneUncoveredPolicySchema = _enum(["skip", "judge-anyway"]);
|
|
26703
|
+
/** `matched` = the baseline is what we see; `diverged` = it demonstrably is not;
|
|
26704
|
+
* `unknown` = we cannot judge (no reference for this condition, encoder model
|
|
26705
|
+
* changed, view shifted, no snapshot). `unknown` is a real value, not a null,
|
|
26706
|
+
* and never counts toward hysteresis in either direction. */
|
|
26707
|
+
var SceneVerdictSchema = _enum([
|
|
26708
|
+
"matched",
|
|
26709
|
+
"diverged",
|
|
26710
|
+
"unknown"
|
|
26711
|
+
]);
|
|
26712
|
+
/** Why a scene cannot judge. Named, because this feature's failure mode is
|
|
26713
|
+
* silence that reads as "nothing has happened". */
|
|
26714
|
+
var SceneUnavailableSchema = _enum([
|
|
26715
|
+
"no-reference-for-condition",
|
|
26716
|
+
"view-shifted",
|
|
26717
|
+
"no-vision-profile",
|
|
26718
|
+
"encoder-model-changed",
|
|
26719
|
+
"no-snapshot"
|
|
26720
|
+
]);
|
|
25902
26721
|
/** One captured reference — condition-tagged, model-version-gated. `embedding`
|
|
25903
26722
|
* is `number[]` (Float32Array does NOT survive MsgPack/UDS). */
|
|
25904
26723
|
var SceneReferenceSchema = object({
|
|
@@ -25906,7 +26725,14 @@ var SceneReferenceSchema = object({
|
|
|
25906
26725
|
modelId: string(),
|
|
25907
26726
|
condition: SceneConditionSchema,
|
|
25908
26727
|
capturedAt: number(),
|
|
25909
|
-
thumbnailMediaId: string().optional()
|
|
26728
|
+
thumbnailMediaId: string().optional(),
|
|
26729
|
+
/** Whole-frame (downscaled) embedding captured alongside the ROI crop. The
|
|
26730
|
+
* anti-view-shift anchor: a bumped camera, a PTZ preset or a re-aim makes the
|
|
26731
|
+
* normalized rect frame a different piece of world, and the scene would
|
|
26732
|
+
* diverge forever with a perfectly plausible cosine. Checked LAZILY, only
|
|
26733
|
+
* when hysteresis is about to flip — one extra encode per candidate
|
|
26734
|
+
* transition, not per poll. */
|
|
26735
|
+
anchorEmbedding: array(number()).optional()
|
|
25910
26736
|
});
|
|
25911
26737
|
var SceneMonitorStateSchema = object({
|
|
25912
26738
|
id: string(),
|
|
@@ -25928,6 +26754,28 @@ var SceneCheckSchema = discriminatedUnion("mode", [object({
|
|
|
25928
26754
|
profileId: string().optional(),
|
|
25929
26755
|
hysteresisCount: number().int().positive()
|
|
25930
26756
|
})]);
|
|
26757
|
+
var SCENE_DEFAULT_ANCHOR_THRESHOLD = .85;
|
|
26758
|
+
/** Night is OPTIONAL. A scene with only a daylight reference sits the IR hours
|
|
26759
|
+
* out in silence rather than reporting a fault every night. */
|
|
26760
|
+
var SCENE_DEFAULT_UNCOVERED_POLICY = "skip";
|
|
26761
|
+
/**
|
|
26762
|
+
* Vision-model adjudication of a candidate flip. Field names deliberately
|
|
26763
|
+
* mirror `NcConfirmSchema` so an operator meets one vocabulary, not two.
|
|
26764
|
+
*
|
|
26765
|
+
* `onTimeout` defaults to **'hold'**, the OPPOSITE of `NcConfirmGate`'s
|
|
26766
|
+
* fail-open: a notification suppressed is the worse error there, but a vision
|
|
26767
|
+
* model that timed out has not told us the bin is gone, and a latch is a
|
|
26768
|
+
* stateful claim that costs the operator a trip to reset.
|
|
26769
|
+
*/
|
|
26770
|
+
var SceneConfirmSchema = object({
|
|
26771
|
+
enabled: boolean().default(false),
|
|
26772
|
+
prompt: string().min(1).max(1e3),
|
|
26773
|
+
profileId: string().optional(),
|
|
26774
|
+
timeoutMs: number().int().min(1e3).max(2e4).default(8e3),
|
|
26775
|
+
maxImagePx: number().int().min(64).max(2048).default(448),
|
|
26776
|
+
/** What a timeout / unavailable model means for the PENDING flip. */
|
|
26777
|
+
onTimeout: _enum(["flip", "hold"]).default("hold")
|
|
26778
|
+
});
|
|
25931
26779
|
var SceneMonitorSchema = object({
|
|
25932
26780
|
id: string(),
|
|
25933
26781
|
label: string(),
|
|
@@ -25946,7 +26794,56 @@ var SceneMonitorSchema = object({
|
|
|
25946
26794
|
lastConfidence: number().nullable(),
|
|
25947
26795
|
currentCondition: SceneConditionSchema.nullable(),
|
|
25948
26796
|
availability: _enum(["ok", "unavailable"]),
|
|
25949
|
-
unavailableReason: string().nullable()
|
|
26797
|
+
unavailableReason: string().nullable(),
|
|
26798
|
+
/** Which state is "the initial screen". `null` until the first capture. */
|
|
26799
|
+
baselineStateId: string().nullable(),
|
|
26800
|
+
/** Which boolean drives notification rules and any export. */
|
|
26801
|
+
emit: _enum(["latched", "live"]).default("latched"),
|
|
26802
|
+
/** Live: does the region match the baseline RIGHT NOW. */
|
|
26803
|
+
verdict: SceneVerdictSchema,
|
|
26804
|
+
/** Has it been `diverged` at least once since `armedAt` — the operator's boolean. */
|
|
26805
|
+
latched: boolean(),
|
|
26806
|
+
/** Last reset (or creation). */
|
|
26807
|
+
armedAt: number(),
|
|
26808
|
+
divergedAt: number().nullable(),
|
|
26809
|
+
restoredAt: number().nullable(),
|
|
26810
|
+
/** A check is only COUNTED when the device has been quiet this long. Motion
|
|
26811
|
+
* during the window DISCARDS the observation — a car pulling up in front of
|
|
26812
|
+
* the bin must not be able to spend hysteresis credit. */
|
|
26813
|
+
quietSeconds: number().int().min(0).max(3600).default(60),
|
|
26814
|
+
/** An observation only advances the pending count when it is at least this
|
|
26815
|
+
* far from the previously counted one, so N agreeing checks span real time
|
|
26816
|
+
* rather than N adjacent polls inside one occlusion. */
|
|
26817
|
+
minObservationSpacingSec: number().int().min(0).max(3600).default(120),
|
|
26818
|
+
/** Vision-model adjudication of a candidate flip. Similarity primary only. */
|
|
26819
|
+
confirm: SceneConfirmSchema.optional(),
|
|
26820
|
+
/** Whole-frame anchor cosine below which a flip is REFUSED as `view-shifted`. */
|
|
26821
|
+
anchorThreshold: number().min(0).max(1).default(SCENE_DEFAULT_ANCHOR_THRESHOLD),
|
|
26822
|
+
/** Clear the latch on its own when the scene matches again? Default false —
|
|
26823
|
+
* `restoredAt` and the `scene-restored` edge are recorded regardless, so an
|
|
26824
|
+
* automation can react to the bin coming back without the operator's own
|
|
26825
|
+
* alarm silently clearing itself. */
|
|
26826
|
+
autoRestore: boolean().default(false),
|
|
26827
|
+
/** What to do when the current light has no reference of its own. See
|
|
26828
|
+
* {@link SceneUncoveredPolicySchema} — the default makes night OPTIONAL. */
|
|
26829
|
+
onUncoveredCondition: SceneUncoveredPolicySchema.default(SCENE_DEFAULT_UNCOVERED_POLICY),
|
|
26830
|
+
/**
|
|
26831
|
+
* The light whose checks are currently being SAT OUT under
|
|
26832
|
+
* `onUncoveredCondition: 'skip'` — `null` when the scene is checking normally.
|
|
26833
|
+
*
|
|
26834
|
+
* Engine-reported and advisory only: it moves no verdict, no latch and no
|
|
26835
|
+
* hysteresis. It exists so the card can say *"night (IR) — checks paused,
|
|
26836
|
+
* nothing captured in this light"* in the same calm voice as the coverage
|
|
26837
|
+
* line, because the alternative is a scene that silently stops answering
|
|
26838
|
+
* after sunset with nothing anywhere saying why. A skipped check must never
|
|
26839
|
+
* read as a broken one.
|
|
26840
|
+
*/
|
|
26841
|
+
suspendedCondition: SceneConditionSchema.nullable().default(null),
|
|
26842
|
+
/** Named cause when `verdict === 'unknown'`. */
|
|
26843
|
+
unavailable: SceneUnavailableSchema.nullable(),
|
|
26844
|
+
/** Conditions that have at least one comparable reference — the coverage line
|
|
26845
|
+
* ("day ✓ · ir ✓ · dusk ✗") that turns a silent fallback into a visible fact. */
|
|
26846
|
+
coveredConditions: array(SceneConditionSchema)
|
|
25950
26847
|
});
|
|
25951
26848
|
var SceneMonitorStatusSchema = object({
|
|
25952
26849
|
monitors: array(SceneMonitorSchema),
|
|
@@ -25959,12 +26856,6 @@ var sceneMonitorCapability = {
|
|
|
25959
26856
|
kind: "wrapper",
|
|
25960
26857
|
defaultActive: true,
|
|
25961
26858
|
deviceTypes: [DeviceType.Camera],
|
|
25962
|
-
deviceConfig: { ui: {
|
|
25963
|
-
kind: "widget",
|
|
25964
|
-
widgetId: "host/scene-monitor-editor",
|
|
25965
|
-
tab: "scenes",
|
|
25966
|
-
label: "Scenes"
|
|
25967
|
-
} },
|
|
25968
26859
|
methods: {
|
|
25969
26860
|
listScenes: method(object({ deviceId: number() }), SceneMonitorStatusSchema),
|
|
25970
26861
|
createScene: method(object({
|
|
@@ -25995,7 +26886,15 @@ var sceneMonitorCapability = {
|
|
|
25995
26886
|
"both"
|
|
25996
26887
|
]).optional(),
|
|
25997
26888
|
checkIntervalSec: number().optional(),
|
|
25998
|
-
check: SceneCheckSchema.optional()
|
|
26889
|
+
check: SceneCheckSchema.optional(),
|
|
26890
|
+
emit: _enum(["latched", "live"]).optional(),
|
|
26891
|
+
quietSeconds: number().int().min(0).max(3600).optional(),
|
|
26892
|
+
minObservationSpacingSec: number().int().min(0).max(3600).optional(),
|
|
26893
|
+
anchorThreshold: number().min(0).max(1).optional(),
|
|
26894
|
+
autoRestore: boolean().optional(),
|
|
26895
|
+
onUncoveredCondition: SceneUncoveredPolicySchema.optional(),
|
|
26896
|
+
/** `null` clears the vision-model adjudicator. */
|
|
26897
|
+
confirm: SceneConfirmSchema.nullable().optional()
|
|
25999
26898
|
})
|
|
26000
26899
|
}), _void(), {
|
|
26001
26900
|
kind: "mutation",
|
|
@@ -26036,6 +26935,26 @@ var sceneMonitorCapability = {
|
|
|
26036
26935
|
}), _void(), {
|
|
26037
26936
|
kind: "mutation",
|
|
26038
26937
|
auth: "admin"
|
|
26938
|
+
}),
|
|
26939
|
+
/**
|
|
26940
|
+
* Clear the latch, re-arm, and — by default — RE-CAPTURE the baseline for
|
|
26941
|
+
* the CURRENT condition. The bin never goes back in exactly the same spot;
|
|
26942
|
+
* "reset" in the operator's head means *this is the new normal*, and
|
|
26943
|
+
* re-capture is what makes the feature self-healing against slow drift
|
|
26944
|
+
* instead of failing silently weeks later.
|
|
26945
|
+
*
|
|
26946
|
+
* Reachable from three surfaces on this one mutation: the scene card, a
|
|
26947
|
+
* notification button (an `onTrigger` sequence with a `kind:'cap'` step —
|
|
26948
|
+
* no new Notification-Center code at all), and tRPC for scripts.
|
|
26949
|
+
*/
|
|
26950
|
+
resetScene: method(object({
|
|
26951
|
+
deviceId: number(),
|
|
26952
|
+
monitorId: string(),
|
|
26953
|
+
/** Defaults to TRUE at the provider seam — see `SCENE_RESET_RECAPTURES`. */
|
|
26954
|
+
recapture: boolean().optional()
|
|
26955
|
+
}), _void(), {
|
|
26956
|
+
kind: "mutation",
|
|
26957
|
+
auth: "admin"
|
|
26039
26958
|
})
|
|
26040
26959
|
},
|
|
26041
26960
|
status: {
|
|
@@ -26278,13 +27197,63 @@ var CamStreamDescriptorSchema = object({
|
|
|
26278
27197
|
* set of stream descriptors it can offer for the device, synchronously, so the
|
|
26279
27198
|
* broker can reconcile its registry against the authoritative provider state.
|
|
26280
27199
|
*/
|
|
27200
|
+
/**
|
|
27201
|
+
* The catalog as a DURABLE fact rather than a live answer.
|
|
27202
|
+
*
|
|
27203
|
+
* A battery camera's descriptors are profile-stable — they change when the
|
|
27204
|
+
* operator rewrites an encoder profile, not minute to minute — but building
|
|
27205
|
+
* them costs a Baichuan login, which on a sleeping Argus IS a wake. So the
|
|
27206
|
+
* provider is allowed to build them exactly once per profile and must serve
|
|
27207
|
+
* every later pull from a cache.
|
|
27208
|
+
*
|
|
27209
|
+
* Holding that cache only in RAM is what turned a restart into an outage. The
|
|
27210
|
+
* runner comes back with the camera asleep, `buildStreamCatalogUncached`
|
|
27211
|
+
* correctly refuses to wake it, the pull answers `[]`, the broker has no
|
|
27212
|
+
* cam-stream entry to build a broker from, and `webrtcSession.handleOffer`
|
|
27213
|
+
* fails with a flat "No broker for stream" — for as long as the camera sleeps,
|
|
27214
|
+
* which on a battery cam is most of the day. The camera was fine. The stream
|
|
27215
|
+
* was unreachable because the process had forgotten what the camera offers.
|
|
27216
|
+
*
|
|
27217
|
+
* Declaring it here puts it in `device-runtime-state`, the kernel's canonical
|
|
27218
|
+
* declared collection, with the same `restored` durability `battery` uses for
|
|
27219
|
+
* the same reason: the last known value is the only value there is while the
|
|
27220
|
+
* device is asleep. The broker's brokers are therefore always DEFINABLE — it
|
|
27221
|
+
* is the DIAL that wakes a camera, never the catalog (D173).
|
|
27222
|
+
*/
|
|
27223
|
+
var StreamCatalogStateSchema = object({
|
|
27224
|
+
/** The descriptors as last built from a real camera response. Never a guess:
|
|
27225
|
+
* a failed or refused build writes NOTHING, so a restored catalog is always
|
|
27226
|
+
* one the camera itself once produced. */
|
|
27227
|
+
descriptors: array(CamStreamDescriptorSchema),
|
|
27228
|
+
/** Ms epoch of the build that produced {@link descriptors}. Lets the wake
|
|
27229
|
+
* path decide whether the camera's own awake window is worth spending on a
|
|
27230
|
+
* re-read. */
|
|
27231
|
+
lastFetchedAt: number()
|
|
27232
|
+
});
|
|
26281
27233
|
var streamCatalogCapability = {
|
|
26282
27234
|
name: "stream-catalog",
|
|
26283
27235
|
scope: "device",
|
|
26284
27236
|
deviceNative: true,
|
|
26285
27237
|
mode: "singleton",
|
|
26286
27238
|
deviceTypes: [DeviceType.Camera],
|
|
26287
|
-
methods: { getCatalog: method(object({ deviceId: number().int().nonnegative() }), array(CamStreamDescriptorSchema).readonly()) }
|
|
27239
|
+
methods: { getCatalog: method(object({ deviceId: number().int().nonnegative() }), array(CamStreamDescriptorSchema).readonly()) },
|
|
27240
|
+
runtimeState: StreamCatalogStateSchema,
|
|
27241
|
+
/**
|
|
27242
|
+
* Runtime-state durability: **restored** — see the schema doc. A cold
|
|
27243
|
+
* catalog on a sleeping battery camera is not a slow first frame, it is a
|
|
27244
|
+
* camera that cannot be watched at all until it happens to wake.
|
|
27245
|
+
*
|
|
27246
|
+
* Churn is nil by construction: the slice is written only by a SUCCESSFUL
|
|
27247
|
+
* build, and a build only runs when there is no cached copy (or the copy is
|
|
27248
|
+
* a day old and the camera is awake anyway).
|
|
27249
|
+
*
|
|
27250
|
+
* See `RuntimeStateDurability`. Enforced by
|
|
27251
|
+
* `scripts/check-runtime-state-durability.ts`.
|
|
27252
|
+
*/
|
|
27253
|
+
durability: "restored",
|
|
27254
|
+
/** Clock field: written, but excluded from the compare that decides whether
|
|
27255
|
+
* persisting is worth a SQLite commit — the descriptors are the value. */
|
|
27256
|
+
volatileStateFields: ["lastFetchedAt"]
|
|
26288
27257
|
};
|
|
26289
27258
|
/** One of the camera's stream profiles. */
|
|
26290
27259
|
var StreamProfileSchema = _enum([
|
|
@@ -26539,12 +27508,64 @@ var NetworkAddressSchema = object({
|
|
|
26539
27508
|
family: string(),
|
|
26540
27509
|
internal: boolean()
|
|
26541
27510
|
});
|
|
27511
|
+
/**
|
|
27512
|
+
* Provenance of the site coordinates, and the whole reason this is not just two
|
|
27513
|
+
* numbers.
|
|
27514
|
+
*
|
|
27515
|
+
* - `operator-set` — a human typed it, or accepted a detection. Authoritative;
|
|
27516
|
+
* nothing overwrites it.
|
|
27517
|
+
* - `derived-from-ip` — the hub geolocated its own public IP once, because a
|
|
27518
|
+
* default that is right to a few kilometres beats the coarse UTC clock split
|
|
27519
|
+
* the sun-times consumers otherwise fall back to.
|
|
27520
|
+
*
|
|
27521
|
+
* The UI shows which one it is. An operator who cannot tell a guess from their
|
|
27522
|
+
* own input will eventually trust the guess.
|
|
27523
|
+
*/
|
|
27524
|
+
var SiteLocationSourceSchema = _enum(["operator-set", "derived-from-ip"]);
|
|
27525
|
+
/**
|
|
27526
|
+
* The read shape: the location plus the honest state of the one-shot derivation.
|
|
27527
|
+
*
|
|
27528
|
+
* `derivationAttemptedAt` is what makes the "one call, ever" contract
|
|
27529
|
+
* inspectable. When it is set and `location` is null, the geo-IP lookup ran and
|
|
27530
|
+
* failed; the hub will NOT try again on its own — the fallback is declared
|
|
27531
|
+
* (consumers degrade to their own last resort) and the operator either types the
|
|
27532
|
+
* coordinates or presses detect.
|
|
27533
|
+
*/
|
|
27534
|
+
var SiteLocationStatusSchema = object({
|
|
27535
|
+
location: object({
|
|
27536
|
+
/** WGS84 decimal degrees. */
|
|
27537
|
+
latitude: number().min(-90).max(90),
|
|
27538
|
+
longitude: number().min(-180).max(180),
|
|
27539
|
+
source: SiteLocationSourceSchema,
|
|
27540
|
+
/** Epoch ms the value was last written. */
|
|
27541
|
+
updatedAt: number(),
|
|
27542
|
+
/**
|
|
27543
|
+
* Human-readable place the geo-IP service reported ("Napoli, IT"). Display
|
|
27544
|
+
* only — never parsed, never matched on. Absent for an operator-typed value.
|
|
27545
|
+
*/
|
|
27546
|
+
label: string().optional()
|
|
27547
|
+
}).nullable(),
|
|
27548
|
+
derivationAttemptedAt: number().nullable(),
|
|
27549
|
+
/** Why the last derivation failed, for the UI to show instead of a shrug. */
|
|
27550
|
+
derivationError: string().nullable()
|
|
27551
|
+
});
|
|
27552
|
+
/** `null` clears the location and re-arms nothing — the derivation stays spent. */
|
|
27553
|
+
var SetSiteLocationInputSchema = object({
|
|
27554
|
+
latitude: number().min(-90).max(90),
|
|
27555
|
+
longitude: number().min(-180).max(180)
|
|
27556
|
+
}).nullable();
|
|
26542
27557
|
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(), {
|
|
26543
27558
|
kind: "mutation",
|
|
26544
27559
|
auth: "admin"
|
|
26545
27560
|
}), method(_void(), _void(), {
|
|
26546
27561
|
kind: "mutation",
|
|
26547
27562
|
auth: "admin"
|
|
27563
|
+
}), method(_void(), SiteLocationStatusSchema), method(SetSiteLocationInputSchema, SiteLocationStatusSchema, {
|
|
27564
|
+
kind: "mutation",
|
|
27565
|
+
auth: "admin"
|
|
27566
|
+
}), method(_void(), SiteLocationStatusSchema, {
|
|
27567
|
+
kind: "mutation",
|
|
27568
|
+
auth: "admin"
|
|
26548
27569
|
});
|
|
26549
27570
|
/**
|
|
26550
27571
|
* Tamper / case-open detection sensor. Drives Home Assistant
|
|
@@ -27864,6 +28885,7 @@ var DEVICE_LOCAL_STATE_CAPS = {
|
|
|
27864
28885
|
humiditySensor: humiditySensorCapability,
|
|
27865
28886
|
image: imageCapability,
|
|
27866
28887
|
imageSettings: imageSettingsCapability,
|
|
28888
|
+
intercom: intercomCapability,
|
|
27867
28889
|
lawnMowerControl: lawnMowerControlCapability,
|
|
27868
28890
|
lockControl: lockControlCapability,
|
|
27869
28891
|
mediaPlayer: mediaPlayerCapability,
|
|
@@ -27882,6 +28904,7 @@ var DEVICE_LOCAL_STATE_CAPS = {
|
|
|
27882
28904
|
sceneMonitor: sceneMonitorCapability,
|
|
27883
28905
|
scriptRunner: scriptRunnerCapability,
|
|
27884
28906
|
smoke: smokeCapability,
|
|
28907
|
+
streamCatalog: streamCatalogCapability,
|
|
27885
28908
|
streamParams: streamParamsCapability,
|
|
27886
28909
|
switch: switchCapability,
|
|
27887
28910
|
tamper: tamperCapability,
|
|
@@ -28535,6 +29558,15 @@ var BaseDeviceProvider = class extends BaseAddon {
|
|
|
28535
29558
|
labels: ["probe not implemented"]
|
|
28536
29559
|
};
|
|
28537
29560
|
}
|
|
29561
|
+
/**
|
|
29562
|
+
* Top-level devices restored at once in {@link onRestoreDevices}.
|
|
29563
|
+
*
|
|
29564
|
+
* Four covers the fleets this ships to without turning a boot into a burst a
|
|
29565
|
+
* camera NVR answers with a refusal. A provider whose upstream is a single
|
|
29566
|
+
* session with a serial command channel (a Baichuan hub, an NVR that
|
|
29567
|
+
* serialises ISAPI) should lower it; nothing needs to raise it.
|
|
29568
|
+
*/
|
|
29569
|
+
restoreConcurrency = 4;
|
|
28538
29570
|
async restoreDevices(savedDevices) {
|
|
28539
29571
|
await this.onRestoreDevices(savedDevices);
|
|
28540
29572
|
if (savedDevices.length > 0) this.ctx.logger.info(`Restored ${savedDevices.length} ${this.providerName} device(s)`);
|
|
@@ -28566,15 +29598,15 @@ var BaseDeviceProvider = class extends BaseAddon {
|
|
|
28566
29598
|
*/
|
|
28567
29599
|
async onRestoreDevices(savedDevices) {
|
|
28568
29600
|
const restored = /* @__PURE__ */ new Set();
|
|
28569
|
-
|
|
28570
|
-
|
|
29601
|
+
const topLevel = savedDevices.filter((saved) => saved.parentDeviceId === null);
|
|
29602
|
+
const restoreOne = async (saved) => {
|
|
28571
29603
|
const Class = this.deviceClasses[saved.type];
|
|
28572
29604
|
if (!Class) {
|
|
28573
29605
|
this.ctx.logger.warn("No device class registered for restored type — skipping", {
|
|
28574
29606
|
tags: { stableId: saved.stableId },
|
|
28575
29607
|
meta: { type: saved.type }
|
|
28576
29608
|
});
|
|
28577
|
-
|
|
29609
|
+
return;
|
|
28578
29610
|
}
|
|
28579
29611
|
try {
|
|
28580
29612
|
await this.ctx.kernel.devices.create(saved.stableId, Class, {});
|
|
@@ -28588,7 +29620,15 @@ var BaseDeviceProvider = class extends BaseAddon {
|
|
|
28588
29620
|
}
|
|
28589
29621
|
});
|
|
28590
29622
|
}
|
|
28591
|
-
}
|
|
29623
|
+
};
|
|
29624
|
+
let nextTopLevel = 0;
|
|
29625
|
+
await Promise.all(Array.from({ length: Math.min(Math.max(1, this.restoreConcurrency), topLevel.length) }, async () => {
|
|
29626
|
+
for (;;) {
|
|
29627
|
+
const saved = topLevel[nextTopLevel++];
|
|
29628
|
+
if (saved === void 0) return;
|
|
29629
|
+
await restoreOne(saved);
|
|
29630
|
+
}
|
|
29631
|
+
}));
|
|
28592
29632
|
const childRows = savedDevices.filter((s) => s.parentDeviceId !== null);
|
|
28593
29633
|
for (const saved of childRows) {
|
|
28594
29634
|
const Class = this.deviceClasses[saved.type];
|
|
@@ -30745,6 +31785,12 @@ Object.freeze({
|
|
|
30745
31785
|
addonId: null,
|
|
30746
31786
|
access: "create"
|
|
30747
31787
|
},
|
|
31788
|
+
"llm.cancel": {
|
|
31789
|
+
capName: "llm",
|
|
31790
|
+
capScope: "system",
|
|
31791
|
+
addonId: null,
|
|
31792
|
+
access: "create"
|
|
31793
|
+
},
|
|
30748
31794
|
"llm.deleteModel": {
|
|
30749
31795
|
capName: "llm",
|
|
30750
31796
|
capScope: "system",
|
|
@@ -30829,6 +31875,12 @@ Object.freeze({
|
|
|
30829
31875
|
addonId: null,
|
|
30830
31876
|
access: "view"
|
|
30831
31877
|
},
|
|
31878
|
+
"llm.resolveModelRef": {
|
|
31879
|
+
capName: "llm",
|
|
31880
|
+
capScope: "system",
|
|
31881
|
+
addonId: null,
|
|
31882
|
+
access: "create"
|
|
31883
|
+
},
|
|
30832
31884
|
"llm.setDefault": {
|
|
30833
31885
|
capName: "llm",
|
|
30834
31886
|
capScope: "system",
|
|
@@ -32995,6 +34047,12 @@ Object.freeze({
|
|
|
32995
34047
|
addonId: null,
|
|
32996
34048
|
access: "create"
|
|
32997
34049
|
},
|
|
34050
|
+
"sceneMonitor.resetScene": {
|
|
34051
|
+
capName: "scene-monitor",
|
|
34052
|
+
capScope: "device",
|
|
34053
|
+
addonId: null,
|
|
34054
|
+
access: "delete"
|
|
34055
|
+
},
|
|
32998
34056
|
"sceneMonitor.updateScene": {
|
|
32999
34057
|
capName: "scene-monitor",
|
|
33000
34058
|
capScope: "device",
|
|
@@ -33673,6 +34731,12 @@ Object.freeze({
|
|
|
33673
34731
|
addonId: null,
|
|
33674
34732
|
access: "create"
|
|
33675
34733
|
},
|
|
34734
|
+
"system.detectSiteLocation": {
|
|
34735
|
+
capName: "system",
|
|
34736
|
+
capScope: "system",
|
|
34737
|
+
addonId: null,
|
|
34738
|
+
access: "create"
|
|
34739
|
+
},
|
|
33676
34740
|
"system.featureFlags": {
|
|
33677
34741
|
capName: "system",
|
|
33678
34742
|
capScope: "system",
|
|
@@ -33691,6 +34755,12 @@ Object.freeze({
|
|
|
33691
34755
|
addonId: null,
|
|
33692
34756
|
access: "view"
|
|
33693
34757
|
},
|
|
34758
|
+
"system.getSiteLocation": {
|
|
34759
|
+
capName: "system",
|
|
34760
|
+
capScope: "system",
|
|
34761
|
+
addonId: null,
|
|
34762
|
+
access: "view"
|
|
34763
|
+
},
|
|
33694
34764
|
"system.health": {
|
|
33695
34765
|
capName: "system",
|
|
33696
34766
|
capScope: "system",
|
|
@@ -33715,6 +34785,12 @@ Object.freeze({
|
|
|
33715
34785
|
addonId: null,
|
|
33716
34786
|
access: "create"
|
|
33717
34787
|
},
|
|
34788
|
+
"system.setSiteLocation": {
|
|
34789
|
+
capName: "system",
|
|
34790
|
+
capScope: "system",
|
|
34791
|
+
addonId: null,
|
|
34792
|
+
access: "create"
|
|
34793
|
+
},
|
|
33718
34794
|
"terminalSession.adoptLegacyMonitor": {
|
|
33719
34795
|
capName: "terminal-session",
|
|
33720
34796
|
capScope: "system",
|
|
@@ -34286,6 +35362,1704 @@ Object.freeze({
|
|
|
34286
35362
|
access: "create"
|
|
34287
35363
|
}
|
|
34288
35364
|
});
|
|
35365
|
+
Object.freeze({
|
|
35366
|
+
"accessories.setChildHidden": [{
|
|
35367
|
+
name: "childDeviceId",
|
|
35368
|
+
form: "single",
|
|
35369
|
+
optional: false
|
|
35370
|
+
}, {
|
|
35371
|
+
name: "deviceId",
|
|
35372
|
+
form: "single",
|
|
35373
|
+
optional: false
|
|
35374
|
+
}],
|
|
35375
|
+
"addonSettings.getDeviceSettings": [{
|
|
35376
|
+
name: "deviceId",
|
|
35377
|
+
form: "single",
|
|
35378
|
+
optional: false
|
|
35379
|
+
}],
|
|
35380
|
+
"addonSettings.updateDeviceSettings": [{
|
|
35381
|
+
name: "deviceId",
|
|
35382
|
+
form: "single",
|
|
35383
|
+
optional: false
|
|
35384
|
+
}],
|
|
35385
|
+
"alarmPanel.arm": [{
|
|
35386
|
+
name: "deviceId",
|
|
35387
|
+
form: "single",
|
|
35388
|
+
optional: false
|
|
35389
|
+
}],
|
|
35390
|
+
"alarmPanel.disarm": [{
|
|
35391
|
+
name: "deviceId",
|
|
35392
|
+
form: "single",
|
|
35393
|
+
optional: false
|
|
35394
|
+
}],
|
|
35395
|
+
"alarmPanel.trigger": [{
|
|
35396
|
+
name: "deviceId",
|
|
35397
|
+
form: "single",
|
|
35398
|
+
optional: false
|
|
35399
|
+
}],
|
|
35400
|
+
"audioAnalysis.resolveDeviceSettings": [{
|
|
35401
|
+
name: "deviceId",
|
|
35402
|
+
form: "single",
|
|
35403
|
+
optional: false
|
|
35404
|
+
}],
|
|
35405
|
+
"audioAnalyzer.classify": [{
|
|
35406
|
+
name: "deviceId",
|
|
35407
|
+
form: "single",
|
|
35408
|
+
optional: true
|
|
35409
|
+
}],
|
|
35410
|
+
"audioMetrics.getCurrentSnapshot": [{
|
|
35411
|
+
name: "deviceId",
|
|
35412
|
+
form: "single",
|
|
35413
|
+
optional: false
|
|
35414
|
+
}],
|
|
35415
|
+
"audioMetrics.getHistory": [{
|
|
35416
|
+
name: "deviceId",
|
|
35417
|
+
form: "single",
|
|
35418
|
+
optional: false
|
|
35419
|
+
}],
|
|
35420
|
+
"automationControl.disable": [{
|
|
35421
|
+
name: "deviceId",
|
|
35422
|
+
form: "single",
|
|
35423
|
+
optional: false
|
|
35424
|
+
}],
|
|
35425
|
+
"automationControl.enable": [{
|
|
35426
|
+
name: "deviceId",
|
|
35427
|
+
form: "single",
|
|
35428
|
+
optional: false
|
|
35429
|
+
}],
|
|
35430
|
+
"automationControl.trigger": [{
|
|
35431
|
+
name: "deviceId",
|
|
35432
|
+
form: "single",
|
|
35433
|
+
optional: false
|
|
35434
|
+
}],
|
|
35435
|
+
"battery.wakeForStream": [{
|
|
35436
|
+
name: "deviceId",
|
|
35437
|
+
form: "single",
|
|
35438
|
+
optional: false
|
|
35439
|
+
}],
|
|
35440
|
+
"brightness.setBrightness": [{
|
|
35441
|
+
name: "deviceId",
|
|
35442
|
+
form: "single",
|
|
35443
|
+
optional: false
|
|
35444
|
+
}],
|
|
35445
|
+
"button.press": [{
|
|
35446
|
+
name: "deviceId",
|
|
35447
|
+
form: "single",
|
|
35448
|
+
optional: false
|
|
35449
|
+
}],
|
|
35450
|
+
"cameraCredentials.getCredentials": [{
|
|
35451
|
+
name: "deviceId",
|
|
35452
|
+
form: "single",
|
|
35453
|
+
optional: false
|
|
35454
|
+
}],
|
|
35455
|
+
"cameraStreams.getBrokerStreams": [{
|
|
35456
|
+
name: "deviceId",
|
|
35457
|
+
form: "single",
|
|
35458
|
+
optional: false
|
|
35459
|
+
}],
|
|
35460
|
+
"cameraStreams.getCameraStreams": [{
|
|
35461
|
+
name: "deviceId",
|
|
35462
|
+
form: "single",
|
|
35463
|
+
optional: false
|
|
35464
|
+
}],
|
|
35465
|
+
"cameraStreams.getProfileRtspEntries": [{
|
|
35466
|
+
name: "deviceId",
|
|
35467
|
+
form: "single",
|
|
35468
|
+
optional: false
|
|
35469
|
+
}],
|
|
35470
|
+
"cameraStreams.getRtspEntries": [{
|
|
35471
|
+
name: "deviceId",
|
|
35472
|
+
form: "single",
|
|
35473
|
+
optional: false
|
|
35474
|
+
}],
|
|
35475
|
+
"cameraStreams.pickStream": [{
|
|
35476
|
+
name: "deviceId",
|
|
35477
|
+
form: "single",
|
|
35478
|
+
optional: false
|
|
35479
|
+
}],
|
|
35480
|
+
"climateControl.setFanMode": [{
|
|
35481
|
+
name: "deviceId",
|
|
35482
|
+
form: "single",
|
|
35483
|
+
optional: false
|
|
35484
|
+
}],
|
|
35485
|
+
"climateControl.setMode": [{
|
|
35486
|
+
name: "deviceId",
|
|
35487
|
+
form: "single",
|
|
35488
|
+
optional: false
|
|
35489
|
+
}],
|
|
35490
|
+
"climateControl.setPreset": [{
|
|
35491
|
+
name: "deviceId",
|
|
35492
|
+
form: "single",
|
|
35493
|
+
optional: false
|
|
35494
|
+
}],
|
|
35495
|
+
"climateControl.setSwingHorizontal": [{
|
|
35496
|
+
name: "deviceId",
|
|
35497
|
+
form: "single",
|
|
35498
|
+
optional: false
|
|
35499
|
+
}],
|
|
35500
|
+
"climateControl.setSwingVertical": [{
|
|
35501
|
+
name: "deviceId",
|
|
35502
|
+
form: "single",
|
|
35503
|
+
optional: false
|
|
35504
|
+
}],
|
|
35505
|
+
"climateControl.setTarget": [{
|
|
35506
|
+
name: "deviceId",
|
|
35507
|
+
form: "single",
|
|
35508
|
+
optional: false
|
|
35509
|
+
}],
|
|
35510
|
+
"climateControl.setTargetHumidity": [{
|
|
35511
|
+
name: "deviceId",
|
|
35512
|
+
form: "single",
|
|
35513
|
+
optional: false
|
|
35514
|
+
}],
|
|
35515
|
+
"climateControl.setTargetRange": [{
|
|
35516
|
+
name: "deviceId",
|
|
35517
|
+
form: "single",
|
|
35518
|
+
optional: false
|
|
35519
|
+
}],
|
|
35520
|
+
"color.setColor": [{
|
|
35521
|
+
name: "deviceId",
|
|
35522
|
+
form: "single",
|
|
35523
|
+
optional: false
|
|
35524
|
+
}],
|
|
35525
|
+
"consumables.reset": [{
|
|
35526
|
+
name: "deviceId",
|
|
35527
|
+
form: "single",
|
|
35528
|
+
optional: false
|
|
35529
|
+
}],
|
|
35530
|
+
"control.setValue": [{
|
|
35531
|
+
name: "deviceId",
|
|
35532
|
+
form: "single",
|
|
35533
|
+
optional: false
|
|
35534
|
+
}],
|
|
35535
|
+
"cover.close": [{
|
|
35536
|
+
name: "deviceId",
|
|
35537
|
+
form: "single",
|
|
35538
|
+
optional: false
|
|
35539
|
+
}],
|
|
35540
|
+
"cover.open": [{
|
|
35541
|
+
name: "deviceId",
|
|
35542
|
+
form: "single",
|
|
35543
|
+
optional: false
|
|
35544
|
+
}],
|
|
35545
|
+
"cover.setPosition": [{
|
|
35546
|
+
name: "deviceId",
|
|
35547
|
+
form: "single",
|
|
35548
|
+
optional: false
|
|
35549
|
+
}],
|
|
35550
|
+
"cover.setTiltPosition": [{
|
|
35551
|
+
name: "deviceId",
|
|
35552
|
+
form: "single",
|
|
35553
|
+
optional: false
|
|
35554
|
+
}],
|
|
35555
|
+
"cover.stop": [{
|
|
35556
|
+
name: "deviceId",
|
|
35557
|
+
form: "single",
|
|
35558
|
+
optional: false
|
|
35559
|
+
}],
|
|
35560
|
+
"dayNight.getOptions": [{
|
|
35561
|
+
name: "deviceId",
|
|
35562
|
+
form: "single",
|
|
35563
|
+
optional: false
|
|
35564
|
+
}],
|
|
35565
|
+
"dayNight.setSettings": [{
|
|
35566
|
+
name: "deviceId",
|
|
35567
|
+
form: "single",
|
|
35568
|
+
optional: false
|
|
35569
|
+
}],
|
|
35570
|
+
"decoder.createSession": [{
|
|
35571
|
+
name: "deviceId",
|
|
35572
|
+
form: "single",
|
|
35573
|
+
optional: true
|
|
35574
|
+
}],
|
|
35575
|
+
"deviceAdoption.release": [{
|
|
35576
|
+
name: "camDeviceId",
|
|
35577
|
+
form: "single",
|
|
35578
|
+
optional: false
|
|
35579
|
+
}],
|
|
35580
|
+
"deviceAdoption.resync": [{
|
|
35581
|
+
name: "camDeviceId",
|
|
35582
|
+
form: "single",
|
|
35583
|
+
optional: false
|
|
35584
|
+
}],
|
|
35585
|
+
"deviceDiscovery.adoptDevice": [{
|
|
35586
|
+
name: "deviceId",
|
|
35587
|
+
form: "single",
|
|
35588
|
+
optional: false
|
|
35589
|
+
}],
|
|
35590
|
+
"deviceDiscovery.listDiscovered": [{
|
|
35591
|
+
name: "deviceId",
|
|
35592
|
+
form: "single",
|
|
35593
|
+
optional: false
|
|
35594
|
+
}],
|
|
35595
|
+
"deviceDiscovery.refreshDiscovery": [{
|
|
35596
|
+
name: "deviceId",
|
|
35597
|
+
form: "single",
|
|
35598
|
+
optional: false
|
|
35599
|
+
}],
|
|
35600
|
+
"deviceDiscovery.releaseDevice": [{
|
|
35601
|
+
name: "childDeviceId",
|
|
35602
|
+
form: "single",
|
|
35603
|
+
optional: false
|
|
35604
|
+
}, {
|
|
35605
|
+
name: "deviceId",
|
|
35606
|
+
form: "single",
|
|
35607
|
+
optional: false
|
|
35608
|
+
}],
|
|
35609
|
+
"deviceManager.adoptionRelease": [{
|
|
35610
|
+
name: "camDeviceId",
|
|
35611
|
+
form: "single",
|
|
35612
|
+
optional: false
|
|
35613
|
+
}],
|
|
35614
|
+
"deviceManager.adoptionResync": [{
|
|
35615
|
+
name: "camDeviceId",
|
|
35616
|
+
form: "single",
|
|
35617
|
+
optional: false
|
|
35618
|
+
}],
|
|
35619
|
+
"deviceManager.applyInitialMeta": [{
|
|
35620
|
+
name: "deviceId",
|
|
35621
|
+
form: "single",
|
|
35622
|
+
optional: false
|
|
35623
|
+
}, {
|
|
35624
|
+
name: "linkDeviceId",
|
|
35625
|
+
form: "single",
|
|
35626
|
+
optional: true
|
|
35627
|
+
}],
|
|
35628
|
+
"deviceManager.disable": [{
|
|
35629
|
+
name: "deviceId",
|
|
35630
|
+
form: "single",
|
|
35631
|
+
optional: false
|
|
35632
|
+
}],
|
|
35633
|
+
"deviceManager.enable": [{
|
|
35634
|
+
name: "deviceId",
|
|
35635
|
+
form: "single",
|
|
35636
|
+
optional: false
|
|
35637
|
+
}],
|
|
35638
|
+
"deviceManager.getBindings": [{
|
|
35639
|
+
name: "deviceId",
|
|
35640
|
+
form: "single",
|
|
35641
|
+
optional: false
|
|
35642
|
+
}],
|
|
35643
|
+
"deviceManager.getChildren": [{
|
|
35644
|
+
name: "parentDeviceId",
|
|
35645
|
+
form: "single",
|
|
35646
|
+
optional: false
|
|
35647
|
+
}],
|
|
35648
|
+
"deviceManager.getConfigSchema": [{
|
|
35649
|
+
name: "deviceId",
|
|
35650
|
+
form: "single",
|
|
35651
|
+
optional: false
|
|
35652
|
+
}],
|
|
35653
|
+
"deviceManager.getDevice": [{
|
|
35654
|
+
name: "deviceId",
|
|
35655
|
+
form: "single",
|
|
35656
|
+
optional: false
|
|
35657
|
+
}],
|
|
35658
|
+
"deviceManager.getDeviceAggregate": [{
|
|
35659
|
+
name: "deviceId",
|
|
35660
|
+
form: "single",
|
|
35661
|
+
optional: false
|
|
35662
|
+
}],
|
|
35663
|
+
"deviceManager.getDeviceLiveInfoAggregate": [{
|
|
35664
|
+
name: "deviceId",
|
|
35665
|
+
form: "single",
|
|
35666
|
+
optional: false
|
|
35667
|
+
}],
|
|
35668
|
+
"deviceManager.getDeviceSettingsAggregate": [{
|
|
35669
|
+
name: "deviceId",
|
|
35670
|
+
form: "single",
|
|
35671
|
+
optional: false
|
|
35672
|
+
}],
|
|
35673
|
+
"deviceManager.getDeviceStatusAggregate": [{
|
|
35674
|
+
name: "deviceId",
|
|
35675
|
+
form: "single",
|
|
35676
|
+
optional: false
|
|
35677
|
+
}],
|
|
35678
|
+
"deviceManager.getDeviceStatusAggregateBatch": [{
|
|
35679
|
+
name: "deviceIds",
|
|
35680
|
+
form: "array",
|
|
35681
|
+
optional: false
|
|
35682
|
+
}],
|
|
35683
|
+
"deviceManager.getLinkedDevices": [{
|
|
35684
|
+
name: "deviceId",
|
|
35685
|
+
form: "single",
|
|
35686
|
+
optional: false
|
|
35687
|
+
}],
|
|
35688
|
+
"deviceManager.getSettingsSchema": [{
|
|
35689
|
+
name: "deviceId",
|
|
35690
|
+
form: "single",
|
|
35691
|
+
optional: false
|
|
35692
|
+
}],
|
|
35693
|
+
"deviceManager.getStreamProfileMap": [{
|
|
35694
|
+
name: "deviceId",
|
|
35695
|
+
form: "single",
|
|
35696
|
+
optional: false
|
|
35697
|
+
}],
|
|
35698
|
+
"deviceManager.getStreamSources": [{
|
|
35699
|
+
name: "deviceId",
|
|
35700
|
+
form: "single",
|
|
35701
|
+
optional: false
|
|
35702
|
+
}],
|
|
35703
|
+
"deviceManager.getWireableFields": [{
|
|
35704
|
+
name: "deviceId",
|
|
35705
|
+
form: "single",
|
|
35706
|
+
optional: false
|
|
35707
|
+
}],
|
|
35708
|
+
"deviceManager.loadConfig": [{
|
|
35709
|
+
name: "deviceId",
|
|
35710
|
+
form: "single",
|
|
35711
|
+
optional: false
|
|
35712
|
+
}],
|
|
35713
|
+
"deviceManager.loadMeta": [{
|
|
35714
|
+
name: "deviceId",
|
|
35715
|
+
form: "single",
|
|
35716
|
+
optional: false
|
|
35717
|
+
}],
|
|
35718
|
+
"deviceManager.loadRuntimeState": [{
|
|
35719
|
+
name: "deviceId",
|
|
35720
|
+
form: "single",
|
|
35721
|
+
optional: false
|
|
35722
|
+
}],
|
|
35723
|
+
"deviceManager.persistConfig": [{
|
|
35724
|
+
name: "deviceId",
|
|
35725
|
+
form: "single",
|
|
35726
|
+
optional: false
|
|
35727
|
+
}],
|
|
35728
|
+
"deviceManager.probeStreams": [{
|
|
35729
|
+
name: "deviceId",
|
|
35730
|
+
form: "single",
|
|
35731
|
+
optional: false
|
|
35732
|
+
}],
|
|
35733
|
+
"deviceManager.registerDevice": [{
|
|
35734
|
+
name: "parentDeviceId",
|
|
35735
|
+
form: "single",
|
|
35736
|
+
optional: true
|
|
35737
|
+
}],
|
|
35738
|
+
"deviceManager.remove": [{
|
|
35739
|
+
name: "deviceId",
|
|
35740
|
+
form: "single",
|
|
35741
|
+
optional: false
|
|
35742
|
+
}],
|
|
35743
|
+
"deviceManager.removeDevice": [{
|
|
35744
|
+
name: "deviceId",
|
|
35745
|
+
form: "single",
|
|
35746
|
+
optional: false
|
|
35747
|
+
}],
|
|
35748
|
+
"deviceManager.runDeviceAction": [{
|
|
35749
|
+
name: "deviceId",
|
|
35750
|
+
form: "single",
|
|
35751
|
+
optional: false
|
|
35752
|
+
}],
|
|
35753
|
+
"deviceManager.setChildLayout": [{
|
|
35754
|
+
name: "deviceId",
|
|
35755
|
+
form: "single",
|
|
35756
|
+
optional: false
|
|
35757
|
+
}],
|
|
35758
|
+
"deviceManager.setDisabled": [{
|
|
35759
|
+
name: "deviceId",
|
|
35760
|
+
form: "single",
|
|
35761
|
+
optional: false
|
|
35762
|
+
}],
|
|
35763
|
+
"deviceManager.setDisplay": [{
|
|
35764
|
+
name: "deviceId",
|
|
35765
|
+
form: "single",
|
|
35766
|
+
optional: false
|
|
35767
|
+
}],
|
|
35768
|
+
"deviceManager.setIntegrationId": [{
|
|
35769
|
+
name: "deviceId",
|
|
35770
|
+
form: "single",
|
|
35771
|
+
optional: false
|
|
35772
|
+
}],
|
|
35773
|
+
"deviceManager.setLinkDeviceId": [{
|
|
35774
|
+
name: "deviceId",
|
|
35775
|
+
form: "single",
|
|
35776
|
+
optional: false
|
|
35777
|
+
}, {
|
|
35778
|
+
name: "linkDeviceId",
|
|
35779
|
+
form: "single",
|
|
35780
|
+
optional: true
|
|
35781
|
+
}],
|
|
35782
|
+
"deviceManager.setLocation": [{
|
|
35783
|
+
name: "deviceId",
|
|
35784
|
+
form: "single",
|
|
35785
|
+
optional: false
|
|
35786
|
+
}],
|
|
35787
|
+
"deviceManager.setMetadata": [{
|
|
35788
|
+
name: "deviceId",
|
|
35789
|
+
form: "single",
|
|
35790
|
+
optional: false
|
|
35791
|
+
}],
|
|
35792
|
+
"deviceManager.setName": [{
|
|
35793
|
+
name: "deviceId",
|
|
35794
|
+
form: "single",
|
|
35795
|
+
optional: false
|
|
35796
|
+
}],
|
|
35797
|
+
"deviceManager.setPrimaryChildEntityId": [{
|
|
35798
|
+
name: "deviceId",
|
|
35799
|
+
form: "single",
|
|
35800
|
+
optional: false
|
|
35801
|
+
}],
|
|
35802
|
+
"deviceManager.setRole": [{
|
|
35803
|
+
name: "deviceId",
|
|
35804
|
+
form: "single",
|
|
35805
|
+
optional: false
|
|
35806
|
+
}],
|
|
35807
|
+
"deviceManager.setStreamProfileMap": [{
|
|
35808
|
+
name: "deviceId",
|
|
35809
|
+
form: "single",
|
|
35810
|
+
optional: false
|
|
35811
|
+
}],
|
|
35812
|
+
"deviceManager.setType": [{
|
|
35813
|
+
name: "deviceId",
|
|
35814
|
+
form: "single",
|
|
35815
|
+
optional: false
|
|
35816
|
+
}],
|
|
35817
|
+
"deviceManager.setWrapperActive": [{
|
|
35818
|
+
name: "deviceId",
|
|
35819
|
+
form: "single",
|
|
35820
|
+
optional: false
|
|
35821
|
+
}],
|
|
35822
|
+
"deviceManager.testField": [{
|
|
35823
|
+
name: "deviceId",
|
|
35824
|
+
form: "single",
|
|
35825
|
+
optional: false
|
|
35826
|
+
}],
|
|
35827
|
+
"deviceManager.updateConfig": [{
|
|
35828
|
+
name: "deviceId",
|
|
35829
|
+
form: "single",
|
|
35830
|
+
optional: false
|
|
35831
|
+
}],
|
|
35832
|
+
"deviceManager.updateDeviceField": [{
|
|
35833
|
+
name: "deviceId",
|
|
35834
|
+
form: "single",
|
|
35835
|
+
optional: false
|
|
35836
|
+
}],
|
|
35837
|
+
"deviceManager.updateDeviceFieldsBatch": [{
|
|
35838
|
+
name: "deviceId",
|
|
35839
|
+
form: "single",
|
|
35840
|
+
optional: false
|
|
35841
|
+
}],
|
|
35842
|
+
"deviceOps.getConfigEntries": [{
|
|
35843
|
+
name: "deviceId",
|
|
35844
|
+
form: "single",
|
|
35845
|
+
optional: false
|
|
35846
|
+
}],
|
|
35847
|
+
"deviceOps.getRawState": [{
|
|
35848
|
+
name: "deviceId",
|
|
35849
|
+
form: "single",
|
|
35850
|
+
optional: false
|
|
35851
|
+
}],
|
|
35852
|
+
"deviceOps.getSettingsSchema": [{
|
|
35853
|
+
name: "deviceId",
|
|
35854
|
+
form: "single",
|
|
35855
|
+
optional: false
|
|
35856
|
+
}],
|
|
35857
|
+
"deviceOps.getStreamSources": [{
|
|
35858
|
+
name: "deviceId",
|
|
35859
|
+
form: "single",
|
|
35860
|
+
optional: false
|
|
35861
|
+
}],
|
|
35862
|
+
"deviceOps.removeDevice": [{
|
|
35863
|
+
name: "deviceId",
|
|
35864
|
+
form: "single",
|
|
35865
|
+
optional: false
|
|
35866
|
+
}],
|
|
35867
|
+
"deviceOps.runAction": [{
|
|
35868
|
+
name: "deviceId",
|
|
35869
|
+
form: "single",
|
|
35870
|
+
optional: false
|
|
35871
|
+
}],
|
|
35872
|
+
"deviceOps.setConfig": [{
|
|
35873
|
+
name: "deviceId",
|
|
35874
|
+
form: "single",
|
|
35875
|
+
optional: false
|
|
35876
|
+
}],
|
|
35877
|
+
"deviceState.getCapSlice": [{
|
|
35878
|
+
name: "deviceId",
|
|
35879
|
+
form: "single",
|
|
35880
|
+
optional: false
|
|
35881
|
+
}],
|
|
35882
|
+
"deviceState.getSnapshot": [{
|
|
35883
|
+
name: "deviceId",
|
|
35884
|
+
form: "single",
|
|
35885
|
+
optional: false
|
|
35886
|
+
}],
|
|
35887
|
+
"deviceState.setCapSlice": [{
|
|
35888
|
+
name: "deviceId",
|
|
35889
|
+
form: "single",
|
|
35890
|
+
optional: false
|
|
35891
|
+
}],
|
|
35892
|
+
"events.getEventClipUrl": [{
|
|
35893
|
+
name: "deviceId",
|
|
35894
|
+
form: "single",
|
|
35895
|
+
optional: false
|
|
35896
|
+
}],
|
|
35897
|
+
"events.getEvents": [{
|
|
35898
|
+
name: "deviceId",
|
|
35899
|
+
form: "single",
|
|
35900
|
+
optional: false
|
|
35901
|
+
}],
|
|
35902
|
+
"events.getEventThumbnail": [{
|
|
35903
|
+
name: "deviceId",
|
|
35904
|
+
form: "single",
|
|
35905
|
+
optional: false
|
|
35906
|
+
}],
|
|
35907
|
+
"faceGallery.getFaceByTrack": [{
|
|
35908
|
+
name: "deviceId",
|
|
35909
|
+
form: "single",
|
|
35910
|
+
optional: false
|
|
35911
|
+
}],
|
|
35912
|
+
"faceGallery.listRecentFaces": [{
|
|
35913
|
+
name: "deviceId",
|
|
35914
|
+
form: "single",
|
|
35915
|
+
optional: true
|
|
35916
|
+
}],
|
|
35917
|
+
"fanControl.setDirection": [{
|
|
35918
|
+
name: "deviceId",
|
|
35919
|
+
form: "single",
|
|
35920
|
+
optional: false
|
|
35921
|
+
}],
|
|
35922
|
+
"fanControl.setOscillating": [{
|
|
35923
|
+
name: "deviceId",
|
|
35924
|
+
form: "single",
|
|
35925
|
+
optional: false
|
|
35926
|
+
}],
|
|
35927
|
+
"fanControl.setPercentage": [{
|
|
35928
|
+
name: "deviceId",
|
|
35929
|
+
form: "single",
|
|
35930
|
+
optional: false
|
|
35931
|
+
}],
|
|
35932
|
+
"fanControl.setPreset": [{
|
|
35933
|
+
name: "deviceId",
|
|
35934
|
+
form: "single",
|
|
35935
|
+
optional: false
|
|
35936
|
+
}],
|
|
35937
|
+
"humidifier.setMode": [{
|
|
35938
|
+
name: "deviceId",
|
|
35939
|
+
form: "single",
|
|
35940
|
+
optional: false
|
|
35941
|
+
}],
|
|
35942
|
+
"humidifier.setOn": [{
|
|
35943
|
+
name: "deviceId",
|
|
35944
|
+
form: "single",
|
|
35945
|
+
optional: false
|
|
35946
|
+
}],
|
|
35947
|
+
"humidifier.setTargetHumidity": [{
|
|
35948
|
+
name: "deviceId",
|
|
35949
|
+
form: "single",
|
|
35950
|
+
optional: false
|
|
35951
|
+
}],
|
|
35952
|
+
"imageSettings.getOptions": [{
|
|
35953
|
+
name: "deviceId",
|
|
35954
|
+
form: "single",
|
|
35955
|
+
optional: false
|
|
35956
|
+
}],
|
|
35957
|
+
"imageSettings.setSettings": [{
|
|
35958
|
+
name: "deviceId",
|
|
35959
|
+
form: "single",
|
|
35960
|
+
optional: false
|
|
35961
|
+
}],
|
|
35962
|
+
"intercom.endTalkSession": [{
|
|
35963
|
+
name: "deviceId",
|
|
35964
|
+
form: "single",
|
|
35965
|
+
optional: false
|
|
35966
|
+
}],
|
|
35967
|
+
"intercom.handleAnswer": [{
|
|
35968
|
+
name: "deviceId",
|
|
35969
|
+
form: "single",
|
|
35970
|
+
optional: false
|
|
35971
|
+
}],
|
|
35972
|
+
"intercom.pushTalkAudio": [{
|
|
35973
|
+
name: "deviceId",
|
|
35974
|
+
form: "single",
|
|
35975
|
+
optional: false
|
|
35976
|
+
}],
|
|
35977
|
+
"intercom.startSession": [{
|
|
35978
|
+
name: "deviceId",
|
|
35979
|
+
form: "single",
|
|
35980
|
+
optional: false
|
|
35981
|
+
}],
|
|
35982
|
+
"intercom.startTalkSession": [{
|
|
35983
|
+
name: "deviceId",
|
|
35984
|
+
form: "single",
|
|
35985
|
+
optional: false
|
|
35986
|
+
}],
|
|
35987
|
+
"intercom.stopSession": [{
|
|
35988
|
+
name: "deviceId",
|
|
35989
|
+
form: "single",
|
|
35990
|
+
optional: false
|
|
35991
|
+
}],
|
|
35992
|
+
"lawnMowerControl.dock": [{
|
|
35993
|
+
name: "deviceId",
|
|
35994
|
+
form: "single",
|
|
35995
|
+
optional: false
|
|
35996
|
+
}],
|
|
35997
|
+
"lawnMowerControl.pause": [{
|
|
35998
|
+
name: "deviceId",
|
|
35999
|
+
form: "single",
|
|
36000
|
+
optional: false
|
|
36001
|
+
}],
|
|
36002
|
+
"lawnMowerControl.startMowing": [{
|
|
36003
|
+
name: "deviceId",
|
|
36004
|
+
form: "single",
|
|
36005
|
+
optional: false
|
|
36006
|
+
}],
|
|
36007
|
+
"lockControl.lock": [{
|
|
36008
|
+
name: "deviceId",
|
|
36009
|
+
form: "single",
|
|
36010
|
+
optional: false
|
|
36011
|
+
}],
|
|
36012
|
+
"lockControl.open": [{
|
|
36013
|
+
name: "deviceId",
|
|
36014
|
+
form: "single",
|
|
36015
|
+
optional: false
|
|
36016
|
+
}],
|
|
36017
|
+
"lockControl.unlock": [{
|
|
36018
|
+
name: "deviceId",
|
|
36019
|
+
form: "single",
|
|
36020
|
+
optional: false
|
|
36021
|
+
}],
|
|
36022
|
+
"mediaPlayer.next": [{
|
|
36023
|
+
name: "deviceId",
|
|
36024
|
+
form: "single",
|
|
36025
|
+
optional: false
|
|
36026
|
+
}],
|
|
36027
|
+
"mediaPlayer.pause": [{
|
|
36028
|
+
name: "deviceId",
|
|
36029
|
+
form: "single",
|
|
36030
|
+
optional: false
|
|
36031
|
+
}],
|
|
36032
|
+
"mediaPlayer.play": [{
|
|
36033
|
+
name: "deviceId",
|
|
36034
|
+
form: "single",
|
|
36035
|
+
optional: false
|
|
36036
|
+
}],
|
|
36037
|
+
"mediaPlayer.playMedia": [{
|
|
36038
|
+
name: "deviceId",
|
|
36039
|
+
form: "single",
|
|
36040
|
+
optional: false
|
|
36041
|
+
}],
|
|
36042
|
+
"mediaPlayer.previous": [{
|
|
36043
|
+
name: "deviceId",
|
|
36044
|
+
form: "single",
|
|
36045
|
+
optional: false
|
|
36046
|
+
}],
|
|
36047
|
+
"mediaPlayer.seek": [{
|
|
36048
|
+
name: "deviceId",
|
|
36049
|
+
form: "single",
|
|
36050
|
+
optional: false
|
|
36051
|
+
}],
|
|
36052
|
+
"mediaPlayer.selectSource": [{
|
|
36053
|
+
name: "deviceId",
|
|
36054
|
+
form: "single",
|
|
36055
|
+
optional: false
|
|
36056
|
+
}],
|
|
36057
|
+
"mediaPlayer.setMute": [{
|
|
36058
|
+
name: "deviceId",
|
|
36059
|
+
form: "single",
|
|
36060
|
+
optional: false
|
|
36061
|
+
}],
|
|
36062
|
+
"mediaPlayer.setRepeat": [{
|
|
36063
|
+
name: "deviceId",
|
|
36064
|
+
form: "single",
|
|
36065
|
+
optional: false
|
|
36066
|
+
}],
|
|
36067
|
+
"mediaPlayer.setShuffle": [{
|
|
36068
|
+
name: "deviceId",
|
|
36069
|
+
form: "single",
|
|
36070
|
+
optional: false
|
|
36071
|
+
}],
|
|
36072
|
+
"mediaPlayer.setVolume": [{
|
|
36073
|
+
name: "deviceId",
|
|
36074
|
+
form: "single",
|
|
36075
|
+
optional: false
|
|
36076
|
+
}],
|
|
36077
|
+
"mediaPlayer.stop": [{
|
|
36078
|
+
name: "deviceId",
|
|
36079
|
+
form: "single",
|
|
36080
|
+
optional: false
|
|
36081
|
+
}],
|
|
36082
|
+
"motion.isDetected": [{
|
|
36083
|
+
name: "deviceId",
|
|
36084
|
+
form: "single",
|
|
36085
|
+
optional: false
|
|
36086
|
+
}],
|
|
36087
|
+
"motionDetection.analyze": [{
|
|
36088
|
+
name: "deviceId",
|
|
36089
|
+
form: "single",
|
|
36090
|
+
optional: false
|
|
36091
|
+
}],
|
|
36092
|
+
"motionDetection.removeCamera": [{
|
|
36093
|
+
name: "deviceId",
|
|
36094
|
+
form: "single",
|
|
36095
|
+
optional: false
|
|
36096
|
+
}],
|
|
36097
|
+
"motionTrigger.setMotionTrigger": [{
|
|
36098
|
+
name: "deviceId",
|
|
36099
|
+
form: "single",
|
|
36100
|
+
optional: false
|
|
36101
|
+
}],
|
|
36102
|
+
"motionZones.getOptions": [{
|
|
36103
|
+
name: "deviceId",
|
|
36104
|
+
form: "single",
|
|
36105
|
+
optional: false
|
|
36106
|
+
}],
|
|
36107
|
+
"motionZones.setZone": [{
|
|
36108
|
+
name: "deviceId",
|
|
36109
|
+
form: "single",
|
|
36110
|
+
optional: false
|
|
36111
|
+
}],
|
|
36112
|
+
"nativeObjectDetection.setEnabled": [{
|
|
36113
|
+
name: "deviceId",
|
|
36114
|
+
form: "single",
|
|
36115
|
+
optional: false
|
|
36116
|
+
}],
|
|
36117
|
+
"networkQuality.getDeviceStats": [{
|
|
36118
|
+
name: "deviceId",
|
|
36119
|
+
form: "single",
|
|
36120
|
+
optional: false
|
|
36121
|
+
}],
|
|
36122
|
+
"networkQuality.reportClientStats": [{
|
|
36123
|
+
name: "deviceId",
|
|
36124
|
+
form: "single",
|
|
36125
|
+
optional: false
|
|
36126
|
+
}],
|
|
36127
|
+
"notificationRules.setDeviceMuted": [{
|
|
36128
|
+
name: "deviceId",
|
|
36129
|
+
form: "single",
|
|
36130
|
+
optional: false
|
|
36131
|
+
}],
|
|
36132
|
+
"notifier.cancel": [{
|
|
36133
|
+
name: "deviceId",
|
|
36134
|
+
form: "single",
|
|
36135
|
+
optional: false
|
|
36136
|
+
}],
|
|
36137
|
+
"notifier.send": [{
|
|
36138
|
+
name: "deviceId",
|
|
36139
|
+
form: "single",
|
|
36140
|
+
optional: false
|
|
36141
|
+
}],
|
|
36142
|
+
"osd.setOverlay": [{
|
|
36143
|
+
name: "deviceId",
|
|
36144
|
+
form: "single",
|
|
36145
|
+
optional: false
|
|
36146
|
+
}],
|
|
36147
|
+
"osdManager.clearSlotBinding": [{
|
|
36148
|
+
name: "deviceId",
|
|
36149
|
+
form: "single",
|
|
36150
|
+
optional: false
|
|
36151
|
+
}],
|
|
36152
|
+
"osdManager.copyDeviceConfiguration": [{
|
|
36153
|
+
name: "sourceDeviceId",
|
|
36154
|
+
form: "single",
|
|
36155
|
+
optional: false
|
|
36156
|
+
}, {
|
|
36157
|
+
name: "targetDeviceId",
|
|
36158
|
+
form: "single",
|
|
36159
|
+
optional: false
|
|
36160
|
+
}],
|
|
36161
|
+
"osdManager.getDeviceOsd": [{
|
|
36162
|
+
name: "deviceId",
|
|
36163
|
+
form: "single",
|
|
36164
|
+
optional: false
|
|
36165
|
+
}],
|
|
36166
|
+
"osdManager.getSourceCatalog": [{
|
|
36167
|
+
name: "deviceId",
|
|
36168
|
+
form: "single",
|
|
36169
|
+
optional: false
|
|
36170
|
+
}],
|
|
36171
|
+
"osdManager.previewSlot": [{
|
|
36172
|
+
name: "deviceId",
|
|
36173
|
+
form: "single",
|
|
36174
|
+
optional: false
|
|
36175
|
+
}],
|
|
36176
|
+
"osdManager.renderDevice": [{
|
|
36177
|
+
name: "deviceId",
|
|
36178
|
+
form: "single",
|
|
36179
|
+
optional: false
|
|
36180
|
+
}],
|
|
36181
|
+
"osdManager.setSlotBinding": [{
|
|
36182
|
+
name: "deviceId",
|
|
36183
|
+
form: "single",
|
|
36184
|
+
optional: false
|
|
36185
|
+
}],
|
|
36186
|
+
"petFeeder.callPet": [{
|
|
36187
|
+
name: "deviceId",
|
|
36188
|
+
form: "single",
|
|
36189
|
+
optional: false
|
|
36190
|
+
}],
|
|
36191
|
+
"petFeeder.cancelFeed": [{
|
|
36192
|
+
name: "deviceId",
|
|
36193
|
+
form: "single",
|
|
36194
|
+
optional: false
|
|
36195
|
+
}],
|
|
36196
|
+
"petFeeder.feed": [{
|
|
36197
|
+
name: "deviceId",
|
|
36198
|
+
form: "single",
|
|
36199
|
+
optional: false
|
|
36200
|
+
}],
|
|
36201
|
+
"petFeeder.markFoodReplenished": [{
|
|
36202
|
+
name: "deviceId",
|
|
36203
|
+
form: "single",
|
|
36204
|
+
optional: false
|
|
36205
|
+
}],
|
|
36206
|
+
"petFeeder.playSound": [{
|
|
36207
|
+
name: "deviceId",
|
|
36208
|
+
form: "single",
|
|
36209
|
+
optional: false
|
|
36210
|
+
}],
|
|
36211
|
+
"petFeeder.resetDesiccant": [{
|
|
36212
|
+
name: "deviceId",
|
|
36213
|
+
form: "single",
|
|
36214
|
+
optional: false
|
|
36215
|
+
}],
|
|
36216
|
+
"petFeeder.setChildLock": [{
|
|
36217
|
+
name: "deviceId",
|
|
36218
|
+
form: "single",
|
|
36219
|
+
optional: false
|
|
36220
|
+
}],
|
|
36221
|
+
"petFeeder.setFeedSound": [{
|
|
36222
|
+
name: "deviceId",
|
|
36223
|
+
form: "single",
|
|
36224
|
+
optional: false
|
|
36225
|
+
}],
|
|
36226
|
+
"petFeeder.setIndicatorLight": [{
|
|
36227
|
+
name: "deviceId",
|
|
36228
|
+
form: "single",
|
|
36229
|
+
optional: false
|
|
36230
|
+
}],
|
|
36231
|
+
"petFeeder.setVolume": [{
|
|
36232
|
+
name: "deviceId",
|
|
36233
|
+
form: "single",
|
|
36234
|
+
optional: false
|
|
36235
|
+
}],
|
|
36236
|
+
"pipelineAnalytics.clearTracks": [{
|
|
36237
|
+
name: "deviceId",
|
|
36238
|
+
form: "single",
|
|
36239
|
+
optional: false
|
|
36240
|
+
}],
|
|
36241
|
+
"pipelineAnalytics.completeRetrainTrack": [{
|
|
36242
|
+
name: "deviceId",
|
|
36243
|
+
form: "single",
|
|
36244
|
+
optional: false
|
|
36245
|
+
}],
|
|
36246
|
+
"pipelineAnalytics.deleteDeviceEvents": [{
|
|
36247
|
+
name: "deviceId",
|
|
36248
|
+
form: "single",
|
|
36249
|
+
optional: false
|
|
36250
|
+
}],
|
|
36251
|
+
"pipelineAnalytics.deleteTracks": [{
|
|
36252
|
+
name: "deviceId",
|
|
36253
|
+
form: "single",
|
|
36254
|
+
optional: false
|
|
36255
|
+
}],
|
|
36256
|
+
"pipelineAnalytics.deselectRetrainFrame": [{
|
|
36257
|
+
name: "deviceId",
|
|
36258
|
+
form: "single",
|
|
36259
|
+
optional: false
|
|
36260
|
+
}],
|
|
36261
|
+
"pipelineAnalytics.getActiveTracks": [{
|
|
36262
|
+
name: "deviceId",
|
|
36263
|
+
form: "single",
|
|
36264
|
+
optional: false
|
|
36265
|
+
}],
|
|
36266
|
+
"pipelineAnalytics.getAudioEvents": [{
|
|
36267
|
+
name: "deviceId",
|
|
36268
|
+
form: "single",
|
|
36269
|
+
optional: false
|
|
36270
|
+
}],
|
|
36271
|
+
"pipelineAnalytics.getEventDensity": [{
|
|
36272
|
+
name: "deviceId",
|
|
36273
|
+
form: "single",
|
|
36274
|
+
optional: false
|
|
36275
|
+
}],
|
|
36276
|
+
"pipelineAnalytics.getEventMedia": [{
|
|
36277
|
+
name: "deviceId",
|
|
36278
|
+
form: "single",
|
|
36279
|
+
optional: false
|
|
36280
|
+
}],
|
|
36281
|
+
"pipelineAnalytics.getKeyEvents": [{
|
|
36282
|
+
name: "deviceId",
|
|
36283
|
+
form: "single",
|
|
36284
|
+
optional: false
|
|
36285
|
+
}],
|
|
36286
|
+
"pipelineAnalytics.getMotionEvents": [{
|
|
36287
|
+
name: "deviceId",
|
|
36288
|
+
form: "single",
|
|
36289
|
+
optional: false
|
|
36290
|
+
}],
|
|
36291
|
+
"pipelineAnalytics.getObjectEvents": [{
|
|
36292
|
+
name: "deviceId",
|
|
36293
|
+
form: "single",
|
|
36294
|
+
optional: false
|
|
36295
|
+
}],
|
|
36296
|
+
"pipelineAnalytics.getRetrainExportUrl": [{
|
|
36297
|
+
name: "deviceIds",
|
|
36298
|
+
form: "array",
|
|
36299
|
+
optional: true
|
|
36300
|
+
}],
|
|
36301
|
+
"pipelineAnalytics.getSensorEvents": [{
|
|
36302
|
+
name: "deviceId",
|
|
36303
|
+
form: "single",
|
|
36304
|
+
optional: false
|
|
36305
|
+
}],
|
|
36306
|
+
"pipelineAnalytics.getTrack": [{
|
|
36307
|
+
name: "deviceId",
|
|
36308
|
+
form: "single",
|
|
36309
|
+
optional: false
|
|
36310
|
+
}],
|
|
36311
|
+
"pipelineAnalytics.getTrackMedia": [{
|
|
36312
|
+
name: "deviceId",
|
|
36313
|
+
form: "single",
|
|
36314
|
+
optional: false
|
|
36315
|
+
}],
|
|
36316
|
+
"pipelineAnalytics.getTrainingExportSummary": [{
|
|
36317
|
+
name: "deviceIds",
|
|
36318
|
+
form: "array",
|
|
36319
|
+
optional: true
|
|
36320
|
+
}],
|
|
36321
|
+
"pipelineAnalytics.getTrainingExportUrl": [{
|
|
36322
|
+
name: "deviceIds",
|
|
36323
|
+
form: "array",
|
|
36324
|
+
optional: true
|
|
36325
|
+
}],
|
|
36326
|
+
"pipelineAnalytics.listEventKinds": [{
|
|
36327
|
+
name: "deviceId",
|
|
36328
|
+
form: "single",
|
|
36329
|
+
optional: false
|
|
36330
|
+
}],
|
|
36331
|
+
"pipelineAnalytics.listEventKindsBatch": [{
|
|
36332
|
+
name: "deviceIds",
|
|
36333
|
+
form: "array",
|
|
36334
|
+
optional: false
|
|
36335
|
+
}],
|
|
36336
|
+
"pipelineAnalytics.listOpsLog": [{
|
|
36337
|
+
name: "deviceId",
|
|
36338
|
+
form: "single",
|
|
36339
|
+
optional: true
|
|
36340
|
+
}],
|
|
36341
|
+
"pipelineAnalytics.listRecentTracks": [{
|
|
36342
|
+
name: "deviceIds",
|
|
36343
|
+
form: "array",
|
|
36344
|
+
optional: false
|
|
36345
|
+
}],
|
|
36346
|
+
"pipelineAnalytics.listRetrainStaging": [{
|
|
36347
|
+
name: "deviceIds",
|
|
36348
|
+
form: "array",
|
|
36349
|
+
optional: true
|
|
36350
|
+
}],
|
|
36351
|
+
"pipelineAnalytics.listTrackMedia": [{
|
|
36352
|
+
name: "deviceId",
|
|
36353
|
+
form: "single",
|
|
36354
|
+
optional: false
|
|
36355
|
+
}],
|
|
36356
|
+
"pipelineAnalytics.listTracks": [{
|
|
36357
|
+
name: "deviceId",
|
|
36358
|
+
form: "single",
|
|
36359
|
+
optional: false
|
|
36360
|
+
}],
|
|
36361
|
+
"pipelineAnalytics.proposeRetrainAnnotations": [{
|
|
36362
|
+
name: "deviceId",
|
|
36363
|
+
form: "single",
|
|
36364
|
+
optional: false
|
|
36365
|
+
}],
|
|
36366
|
+
"pipelineAnalytics.pruneEventsBefore": [{
|
|
36367
|
+
name: "deviceId",
|
|
36368
|
+
form: "single",
|
|
36369
|
+
optional: false
|
|
36370
|
+
}],
|
|
36371
|
+
"pipelineAnalytics.pruneTracksBefore": [{
|
|
36372
|
+
name: "deviceId",
|
|
36373
|
+
form: "single",
|
|
36374
|
+
optional: false
|
|
36375
|
+
}],
|
|
36376
|
+
"pipelineAnalytics.rebuildObjectEmbeddings": [{
|
|
36377
|
+
name: "deviceId",
|
|
36378
|
+
form: "single",
|
|
36379
|
+
optional: true
|
|
36380
|
+
}],
|
|
36381
|
+
"pipelineAnalytics.restageRetrainTrack": [{
|
|
36382
|
+
name: "deviceId",
|
|
36383
|
+
form: "single",
|
|
36384
|
+
optional: false
|
|
36385
|
+
}],
|
|
36386
|
+
"pipelineAnalytics.saveRetrainAnnotations": [{
|
|
36387
|
+
name: "deviceId",
|
|
36388
|
+
form: "single",
|
|
36389
|
+
optional: false
|
|
36390
|
+
}],
|
|
36391
|
+
"pipelineAnalytics.searchObjectEvents": [{
|
|
36392
|
+
name: "deviceId",
|
|
36393
|
+
form: "single",
|
|
36394
|
+
optional: true
|
|
36395
|
+
}],
|
|
36396
|
+
"pipelineAnalytics.selectRetrainFrames": [{
|
|
36397
|
+
name: "deviceId",
|
|
36398
|
+
form: "single",
|
|
36399
|
+
optional: false
|
|
36400
|
+
}],
|
|
36401
|
+
"pipelineAnalytics.setTrackFlags": [{
|
|
36402
|
+
name: "deviceId",
|
|
36403
|
+
form: "single",
|
|
36404
|
+
optional: false
|
|
36405
|
+
}],
|
|
36406
|
+
"pipelineAnalytics.wipeAllAnalytics": [{
|
|
36407
|
+
name: "deviceId",
|
|
36408
|
+
form: "single",
|
|
36409
|
+
optional: false
|
|
36410
|
+
}],
|
|
36411
|
+
"pipelineExecutor.runPipeline": [{
|
|
36412
|
+
name: "deviceId",
|
|
36413
|
+
form: "single",
|
|
36414
|
+
optional: true
|
|
36415
|
+
}],
|
|
36416
|
+
"pipelineExecutor.runPipelineBatch": [{
|
|
36417
|
+
name: "deviceId",
|
|
36418
|
+
form: "single",
|
|
36419
|
+
optional: true
|
|
36420
|
+
}],
|
|
36421
|
+
"pipelineOrchestrator.assignAudio": [{
|
|
36422
|
+
name: "deviceId",
|
|
36423
|
+
form: "single",
|
|
36424
|
+
optional: false
|
|
36425
|
+
}],
|
|
36426
|
+
"pipelineOrchestrator.assignPipeline": [{
|
|
36427
|
+
name: "deviceId",
|
|
36428
|
+
form: "single",
|
|
36429
|
+
optional: false
|
|
36430
|
+
}],
|
|
36431
|
+
"pipelineOrchestrator.getAudioAssignment": [{
|
|
36432
|
+
name: "deviceId",
|
|
36433
|
+
form: "single",
|
|
36434
|
+
optional: false
|
|
36435
|
+
}],
|
|
36436
|
+
"pipelineOrchestrator.getCameraMetrics": [{
|
|
36437
|
+
name: "deviceId",
|
|
36438
|
+
form: "single",
|
|
36439
|
+
optional: false
|
|
36440
|
+
}],
|
|
36441
|
+
"pipelineOrchestrator.getCameraSettings": [{
|
|
36442
|
+
name: "deviceId",
|
|
36443
|
+
form: "single",
|
|
36444
|
+
optional: false
|
|
36445
|
+
}],
|
|
36446
|
+
"pipelineOrchestrator.getCameraStatus": [{
|
|
36447
|
+
name: "deviceId",
|
|
36448
|
+
form: "single",
|
|
36449
|
+
optional: false
|
|
36450
|
+
}],
|
|
36451
|
+
"pipelineOrchestrator.getCameraStatuses": [{
|
|
36452
|
+
name: "deviceIds",
|
|
36453
|
+
form: "array",
|
|
36454
|
+
optional: true
|
|
36455
|
+
}],
|
|
36456
|
+
"pipelineOrchestrator.getCameraStepOverrides": [{
|
|
36457
|
+
name: "deviceId",
|
|
36458
|
+
form: "single",
|
|
36459
|
+
optional: false
|
|
36460
|
+
}],
|
|
36461
|
+
"pipelineOrchestrator.getCameraSwitches": [{
|
|
36462
|
+
name: "deviceId",
|
|
36463
|
+
form: "single",
|
|
36464
|
+
optional: false
|
|
36465
|
+
}],
|
|
36466
|
+
"pipelineOrchestrator.getPipelineAssignment": [{
|
|
36467
|
+
name: "deviceId",
|
|
36468
|
+
form: "single",
|
|
36469
|
+
optional: false
|
|
36470
|
+
}],
|
|
36471
|
+
"pipelineOrchestrator.getPipelineDevicePin": [{
|
|
36472
|
+
name: "deviceId",
|
|
36473
|
+
form: "single",
|
|
36474
|
+
optional: false
|
|
36475
|
+
}],
|
|
36476
|
+
"pipelineOrchestrator.resolvePipeline": [{
|
|
36477
|
+
name: "deviceId",
|
|
36478
|
+
form: "single",
|
|
36479
|
+
optional: false
|
|
36480
|
+
}],
|
|
36481
|
+
"pipelineOrchestrator.setCameraPipelineForAgent": [{
|
|
36482
|
+
name: "deviceId",
|
|
36483
|
+
form: "single",
|
|
36484
|
+
optional: false
|
|
36485
|
+
}],
|
|
36486
|
+
"pipelineOrchestrator.setCameraStepOverride": [{
|
|
36487
|
+
name: "deviceId",
|
|
36488
|
+
form: "single",
|
|
36489
|
+
optional: false
|
|
36490
|
+
}],
|
|
36491
|
+
"pipelineOrchestrator.setCameraStepToggle": [{
|
|
36492
|
+
name: "deviceId",
|
|
36493
|
+
form: "single",
|
|
36494
|
+
optional: false
|
|
36495
|
+
}],
|
|
36496
|
+
"pipelineOrchestrator.setCameraSwitch": [{
|
|
36497
|
+
name: "deviceId",
|
|
36498
|
+
form: "single",
|
|
36499
|
+
optional: false
|
|
36500
|
+
}],
|
|
36501
|
+
"pipelineOrchestrator.setPipelineDevicePin": [{
|
|
36502
|
+
name: "deviceId",
|
|
36503
|
+
form: "single",
|
|
36504
|
+
optional: false
|
|
36505
|
+
}],
|
|
36506
|
+
"pipelineOrchestrator.unassignAudio": [{
|
|
36507
|
+
name: "deviceId",
|
|
36508
|
+
form: "single",
|
|
36509
|
+
optional: false
|
|
36510
|
+
}],
|
|
36511
|
+
"pipelineOrchestrator.unassignPipeline": [{
|
|
36512
|
+
name: "deviceId",
|
|
36513
|
+
form: "single",
|
|
36514
|
+
optional: false
|
|
36515
|
+
}],
|
|
36516
|
+
"pipelineRunner.attachCamera": [{
|
|
36517
|
+
name: "deviceId",
|
|
36518
|
+
form: "single",
|
|
36519
|
+
optional: false
|
|
36520
|
+
}],
|
|
36521
|
+
"pipelineRunner.detachCamera": [{
|
|
36522
|
+
name: "deviceId",
|
|
36523
|
+
form: "single",
|
|
36524
|
+
optional: false
|
|
36525
|
+
}],
|
|
36526
|
+
"pipelineRunner.getCameraMetrics": [{
|
|
36527
|
+
name: "deviceId",
|
|
36528
|
+
form: "single",
|
|
36529
|
+
optional: false
|
|
36530
|
+
}],
|
|
36531
|
+
"pipelineRunner.reportMotion": [{
|
|
36532
|
+
name: "deviceId",
|
|
36533
|
+
form: "single",
|
|
36534
|
+
optional: false
|
|
36535
|
+
}],
|
|
36536
|
+
"pipelineRunner.runDetailSubtree": [{
|
|
36537
|
+
name: "deviceId",
|
|
36538
|
+
form: "single",
|
|
36539
|
+
optional: false
|
|
36540
|
+
}],
|
|
36541
|
+
"pipelineRunner.runStatelessStep": [{
|
|
36542
|
+
name: "sourceDeviceId",
|
|
36543
|
+
form: "single",
|
|
36544
|
+
optional: false
|
|
36545
|
+
}],
|
|
36546
|
+
"plateGallery.getPlateByTrack": [{
|
|
36547
|
+
name: "deviceId",
|
|
36548
|
+
form: "single",
|
|
36549
|
+
optional: false
|
|
36550
|
+
}],
|
|
36551
|
+
"plateGallery.listPlates": [{
|
|
36552
|
+
name: "deviceId",
|
|
36553
|
+
form: "single",
|
|
36554
|
+
optional: true
|
|
36555
|
+
}],
|
|
36556
|
+
"privacyMask.getOptions": [{
|
|
36557
|
+
name: "deviceId",
|
|
36558
|
+
form: "single",
|
|
36559
|
+
optional: false
|
|
36560
|
+
}],
|
|
36561
|
+
"privacyMask.setAudioEnabled": [{
|
|
36562
|
+
name: "deviceId",
|
|
36563
|
+
form: "single",
|
|
36564
|
+
optional: false
|
|
36565
|
+
}],
|
|
36566
|
+
"privacyMask.setMask": [{
|
|
36567
|
+
name: "deviceId",
|
|
36568
|
+
form: "single",
|
|
36569
|
+
optional: false
|
|
36570
|
+
}],
|
|
36571
|
+
"ptz.continuousMove": [{
|
|
36572
|
+
name: "deviceId",
|
|
36573
|
+
form: "single",
|
|
36574
|
+
optional: false
|
|
36575
|
+
}],
|
|
36576
|
+
"ptz.deletePreset": [{
|
|
36577
|
+
name: "deviceId",
|
|
36578
|
+
form: "single",
|
|
36579
|
+
optional: false
|
|
36580
|
+
}],
|
|
36581
|
+
"ptz.getOptions": [{
|
|
36582
|
+
name: "deviceId",
|
|
36583
|
+
form: "single",
|
|
36584
|
+
optional: false
|
|
36585
|
+
}],
|
|
36586
|
+
"ptz.getPosition": [{
|
|
36587
|
+
name: "deviceId",
|
|
36588
|
+
form: "single",
|
|
36589
|
+
optional: false
|
|
36590
|
+
}],
|
|
36591
|
+
"ptz.getPresets": [{
|
|
36592
|
+
name: "deviceId",
|
|
36593
|
+
form: "single",
|
|
36594
|
+
optional: false
|
|
36595
|
+
}],
|
|
36596
|
+
"ptz.goHome": [{
|
|
36597
|
+
name: "deviceId",
|
|
36598
|
+
form: "single",
|
|
36599
|
+
optional: false
|
|
36600
|
+
}],
|
|
36601
|
+
"ptz.goToPreset": [{
|
|
36602
|
+
name: "deviceId",
|
|
36603
|
+
form: "single",
|
|
36604
|
+
optional: false
|
|
36605
|
+
}],
|
|
36606
|
+
"ptz.move": [{
|
|
36607
|
+
name: "deviceId",
|
|
36608
|
+
form: "single",
|
|
36609
|
+
optional: false
|
|
36610
|
+
}],
|
|
36611
|
+
"ptz.savePreset": [{
|
|
36612
|
+
name: "deviceId",
|
|
36613
|
+
form: "single",
|
|
36614
|
+
optional: false
|
|
36615
|
+
}],
|
|
36616
|
+
"ptz.setAutofocus": [{
|
|
36617
|
+
name: "deviceId",
|
|
36618
|
+
form: "single",
|
|
36619
|
+
optional: false
|
|
36620
|
+
}],
|
|
36621
|
+
"ptz.stop": [{
|
|
36622
|
+
name: "deviceId",
|
|
36623
|
+
form: "single",
|
|
36624
|
+
optional: false
|
|
36625
|
+
}],
|
|
36626
|
+
"ptzAutotrack.getSettings": [{
|
|
36627
|
+
name: "deviceId",
|
|
36628
|
+
form: "single",
|
|
36629
|
+
optional: false
|
|
36630
|
+
}],
|
|
36631
|
+
"ptzAutotrack.getStatus": [{
|
|
36632
|
+
name: "deviceId",
|
|
36633
|
+
form: "single",
|
|
36634
|
+
optional: false
|
|
36635
|
+
}],
|
|
36636
|
+
"ptzAutotrack.setEnabled": [{
|
|
36637
|
+
name: "deviceId",
|
|
36638
|
+
form: "single",
|
|
36639
|
+
optional: false
|
|
36640
|
+
}],
|
|
36641
|
+
"ptzAutotrack.setSettings": [{
|
|
36642
|
+
name: "deviceId",
|
|
36643
|
+
form: "single",
|
|
36644
|
+
optional: false
|
|
36645
|
+
}],
|
|
36646
|
+
"reboot.reboot": [{
|
|
36647
|
+
name: "deviceId",
|
|
36648
|
+
form: "single",
|
|
36649
|
+
optional: false
|
|
36650
|
+
}],
|
|
36651
|
+
"recording.deleteFootprint": [{
|
|
36652
|
+
name: "deviceId",
|
|
36653
|
+
form: "single",
|
|
36654
|
+
optional: false
|
|
36655
|
+
}],
|
|
36656
|
+
"recording.getAvailability": [{
|
|
36657
|
+
name: "deviceId",
|
|
36658
|
+
form: "single",
|
|
36659
|
+
optional: false
|
|
36660
|
+
}],
|
|
36661
|
+
"recording.getDaysWithRecordings": [{
|
|
36662
|
+
name: "deviceId",
|
|
36663
|
+
form: "single",
|
|
36664
|
+
optional: false
|
|
36665
|
+
}],
|
|
36666
|
+
"recording.getDeviceConfig": [{
|
|
36667
|
+
name: "deviceId",
|
|
36668
|
+
form: "single",
|
|
36669
|
+
optional: false
|
|
36670
|
+
}],
|
|
36671
|
+
"recording.getPlaybackManifest": [{
|
|
36672
|
+
name: "deviceId",
|
|
36673
|
+
form: "single",
|
|
36674
|
+
optional: false
|
|
36675
|
+
}],
|
|
36676
|
+
"recording.listOpsLog": [{
|
|
36677
|
+
name: "deviceId",
|
|
36678
|
+
form: "single",
|
|
36679
|
+
optional: true
|
|
36680
|
+
}],
|
|
36681
|
+
"recording.locateSegment": [{
|
|
36682
|
+
name: "deviceId",
|
|
36683
|
+
form: "single",
|
|
36684
|
+
optional: false
|
|
36685
|
+
}],
|
|
36686
|
+
"recording.pruneFootage": [{
|
|
36687
|
+
name: "deviceId",
|
|
36688
|
+
form: "single",
|
|
36689
|
+
optional: false
|
|
36690
|
+
}],
|
|
36691
|
+
"recording.readGopBytes": [{
|
|
36692
|
+
name: "deviceId",
|
|
36693
|
+
form: "single",
|
|
36694
|
+
optional: false
|
|
36695
|
+
}],
|
|
36696
|
+
"recording.readSegmentBytes": [{
|
|
36697
|
+
name: "deviceId",
|
|
36698
|
+
form: "single",
|
|
36699
|
+
optional: false
|
|
36700
|
+
}],
|
|
36701
|
+
"recording.relocateFootage": [{
|
|
36702
|
+
name: "deviceId",
|
|
36703
|
+
form: "single",
|
|
36704
|
+
optional: true
|
|
36705
|
+
}],
|
|
36706
|
+
"recording.renderClip": [{
|
|
36707
|
+
name: "deviceId",
|
|
36708
|
+
form: "single",
|
|
36709
|
+
optional: false
|
|
36710
|
+
}],
|
|
36711
|
+
"recording.renderGif": [{
|
|
36712
|
+
name: "deviceId",
|
|
36713
|
+
form: "single",
|
|
36714
|
+
optional: false
|
|
36715
|
+
}],
|
|
36716
|
+
"recording.rescanStorage": [{
|
|
36717
|
+
name: "deviceId",
|
|
36718
|
+
form: "single",
|
|
36719
|
+
optional: false
|
|
36720
|
+
}],
|
|
36721
|
+
"recording.setDeviceConfig": [{
|
|
36722
|
+
name: "deviceId",
|
|
36723
|
+
form: "single",
|
|
36724
|
+
optional: false
|
|
36725
|
+
}],
|
|
36726
|
+
"recording.startStorageMigrationMove": [{
|
|
36727
|
+
name: "deviceId",
|
|
36728
|
+
form: "single",
|
|
36729
|
+
optional: true
|
|
36730
|
+
}],
|
|
36731
|
+
"recordingExport.createExport": [{
|
|
36732
|
+
name: "deviceId",
|
|
36733
|
+
form: "single",
|
|
36734
|
+
optional: false
|
|
36735
|
+
}],
|
|
36736
|
+
"recordingExport.listExports": [{
|
|
36737
|
+
name: "deviceId",
|
|
36738
|
+
form: "single",
|
|
36739
|
+
optional: true
|
|
36740
|
+
}],
|
|
36741
|
+
"sceneMonitor.captureReference": [{
|
|
36742
|
+
name: "deviceId",
|
|
36743
|
+
form: "single",
|
|
36744
|
+
optional: false
|
|
36745
|
+
}],
|
|
36746
|
+
"sceneMonitor.createScene": [{
|
|
36747
|
+
name: "deviceId",
|
|
36748
|
+
form: "single",
|
|
36749
|
+
optional: false
|
|
36750
|
+
}],
|
|
36751
|
+
"sceneMonitor.deleteReference": [{
|
|
36752
|
+
name: "deviceId",
|
|
36753
|
+
form: "single",
|
|
36754
|
+
optional: false
|
|
36755
|
+
}],
|
|
36756
|
+
"sceneMonitor.deleteScene": [{
|
|
36757
|
+
name: "deviceId",
|
|
36758
|
+
form: "single",
|
|
36759
|
+
optional: false
|
|
36760
|
+
}],
|
|
36761
|
+
"sceneMonitor.listScenes": [{
|
|
36762
|
+
name: "deviceId",
|
|
36763
|
+
form: "single",
|
|
36764
|
+
optional: false
|
|
36765
|
+
}],
|
|
36766
|
+
"sceneMonitor.recheckNow": [{
|
|
36767
|
+
name: "deviceId",
|
|
36768
|
+
form: "single",
|
|
36769
|
+
optional: false
|
|
36770
|
+
}],
|
|
36771
|
+
"sceneMonitor.resetScene": [{
|
|
36772
|
+
name: "deviceId",
|
|
36773
|
+
form: "single",
|
|
36774
|
+
optional: false
|
|
36775
|
+
}],
|
|
36776
|
+
"sceneMonitor.updateScene": [{
|
|
36777
|
+
name: "deviceId",
|
|
36778
|
+
form: "single",
|
|
36779
|
+
optional: false
|
|
36780
|
+
}],
|
|
36781
|
+
"scriptRunner.run": [{
|
|
36782
|
+
name: "deviceId",
|
|
36783
|
+
form: "single",
|
|
36784
|
+
optional: false
|
|
36785
|
+
}],
|
|
36786
|
+
"scriptRunner.stop": [{
|
|
36787
|
+
name: "deviceId",
|
|
36788
|
+
form: "single",
|
|
36789
|
+
optional: false
|
|
36790
|
+
}],
|
|
36791
|
+
"snapshot.getSnapshot": [{
|
|
36792
|
+
name: "deviceId",
|
|
36793
|
+
form: "single",
|
|
36794
|
+
optional: false
|
|
36795
|
+
}],
|
|
36796
|
+
"snapshot.getSnapshotLinks": [{
|
|
36797
|
+
name: "targets",
|
|
36798
|
+
form: "object-array",
|
|
36799
|
+
optional: false,
|
|
36800
|
+
itemField: "deviceId"
|
|
36801
|
+
}],
|
|
36802
|
+
"snapshot.getSnapshotOverview": [{
|
|
36803
|
+
name: "deviceIds",
|
|
36804
|
+
form: "array",
|
|
36805
|
+
optional: false
|
|
36806
|
+
}],
|
|
36807
|
+
"snapshot.invalidateCache": [{
|
|
36808
|
+
name: "deviceId",
|
|
36809
|
+
form: "single",
|
|
36810
|
+
optional: false
|
|
36811
|
+
}],
|
|
36812
|
+
"streamBroker.acquireEgressTranscode": [{
|
|
36813
|
+
name: "deviceId",
|
|
36814
|
+
form: "single",
|
|
36815
|
+
optional: false
|
|
36816
|
+
}],
|
|
36817
|
+
"streamBroker.assignProfile": [{
|
|
36818
|
+
name: "deviceId",
|
|
36819
|
+
form: "single",
|
|
36820
|
+
optional: false
|
|
36821
|
+
}],
|
|
36822
|
+
"streamBroker.getDeviceAudioMute": [{
|
|
36823
|
+
name: "deviceId",
|
|
36824
|
+
form: "single",
|
|
36825
|
+
optional: false
|
|
36826
|
+
}],
|
|
36827
|
+
"streamBroker.getStreamWithCodec": [{
|
|
36828
|
+
name: "deviceId",
|
|
36829
|
+
form: "single",
|
|
36830
|
+
optional: false
|
|
36831
|
+
}],
|
|
36832
|
+
"streamBroker.produceEventMedia": [{
|
|
36833
|
+
name: "deviceId",
|
|
36834
|
+
form: "single",
|
|
36835
|
+
optional: false
|
|
36836
|
+
}],
|
|
36837
|
+
"streamBroker.publishCameraStream": [{
|
|
36838
|
+
name: "deviceId",
|
|
36839
|
+
form: "single",
|
|
36840
|
+
optional: false
|
|
36841
|
+
}],
|
|
36842
|
+
"streamBroker.renderPreBufferClip": [{
|
|
36843
|
+
name: "deviceId",
|
|
36844
|
+
form: "single",
|
|
36845
|
+
optional: false
|
|
36846
|
+
}],
|
|
36847
|
+
"streamBroker.restartProfile": [{
|
|
36848
|
+
name: "deviceId",
|
|
36849
|
+
form: "single",
|
|
36850
|
+
optional: false
|
|
36851
|
+
}],
|
|
36852
|
+
"streamBroker.retractCameraStream": [{
|
|
36853
|
+
name: "deviceId",
|
|
36854
|
+
form: "single",
|
|
36855
|
+
optional: false
|
|
36856
|
+
}],
|
|
36857
|
+
"streamBroker.setDeviceAudioMute": [{
|
|
36858
|
+
name: "deviceId",
|
|
36859
|
+
form: "single",
|
|
36860
|
+
optional: false
|
|
36861
|
+
}],
|
|
36862
|
+
"streamBroker.unassignProfile": [{
|
|
36863
|
+
name: "deviceId",
|
|
36864
|
+
form: "single",
|
|
36865
|
+
optional: false
|
|
36866
|
+
}],
|
|
36867
|
+
"streamCatalog.getCatalog": [{
|
|
36868
|
+
name: "deviceId",
|
|
36869
|
+
form: "single",
|
|
36870
|
+
optional: false
|
|
36871
|
+
}],
|
|
36872
|
+
"streamParams.getConfigSchema": [{
|
|
36873
|
+
name: "deviceId",
|
|
36874
|
+
form: "single",
|
|
36875
|
+
optional: false
|
|
36876
|
+
}],
|
|
36877
|
+
"streamParams.getOptions": [{
|
|
36878
|
+
name: "deviceId",
|
|
36879
|
+
form: "single",
|
|
36880
|
+
optional: false
|
|
36881
|
+
}],
|
|
36882
|
+
"streamParams.setProfile": [{
|
|
36883
|
+
name: "deviceId",
|
|
36884
|
+
form: "single",
|
|
36885
|
+
optional: false
|
|
36886
|
+
}],
|
|
36887
|
+
"switch.setState": [{
|
|
36888
|
+
name: "deviceId",
|
|
36889
|
+
form: "single",
|
|
36890
|
+
optional: false
|
|
36891
|
+
}],
|
|
36892
|
+
"vacuumControl.locate": [{
|
|
36893
|
+
name: "deviceId",
|
|
36894
|
+
form: "single",
|
|
36895
|
+
optional: false
|
|
36896
|
+
}],
|
|
36897
|
+
"vacuumControl.pause": [{
|
|
36898
|
+
name: "deviceId",
|
|
36899
|
+
form: "single",
|
|
36900
|
+
optional: false
|
|
36901
|
+
}],
|
|
36902
|
+
"vacuumControl.returnToBase": [{
|
|
36903
|
+
name: "deviceId",
|
|
36904
|
+
form: "single",
|
|
36905
|
+
optional: false
|
|
36906
|
+
}],
|
|
36907
|
+
"vacuumControl.setFanSpeed": [{
|
|
36908
|
+
name: "deviceId",
|
|
36909
|
+
form: "single",
|
|
36910
|
+
optional: false
|
|
36911
|
+
}],
|
|
36912
|
+
"vacuumControl.start": [{
|
|
36913
|
+
name: "deviceId",
|
|
36914
|
+
form: "single",
|
|
36915
|
+
optional: false
|
|
36916
|
+
}],
|
|
36917
|
+
"vacuumControl.stop": [{
|
|
36918
|
+
name: "deviceId",
|
|
36919
|
+
form: "single",
|
|
36920
|
+
optional: false
|
|
36921
|
+
}],
|
|
36922
|
+
"valve.close": [{
|
|
36923
|
+
name: "deviceId",
|
|
36924
|
+
form: "single",
|
|
36925
|
+
optional: false
|
|
36926
|
+
}],
|
|
36927
|
+
"valve.open": [{
|
|
36928
|
+
name: "deviceId",
|
|
36929
|
+
form: "single",
|
|
36930
|
+
optional: false
|
|
36931
|
+
}],
|
|
36932
|
+
"valve.setPosition": [{
|
|
36933
|
+
name: "deviceId",
|
|
36934
|
+
form: "single",
|
|
36935
|
+
optional: false
|
|
36936
|
+
}],
|
|
36937
|
+
"valve.stop": [{
|
|
36938
|
+
name: "deviceId",
|
|
36939
|
+
form: "single",
|
|
36940
|
+
optional: false
|
|
36941
|
+
}],
|
|
36942
|
+
"videoclips.getClipPlayback": [{
|
|
36943
|
+
name: "deviceId",
|
|
36944
|
+
form: "single",
|
|
36945
|
+
optional: false
|
|
36946
|
+
}],
|
|
36947
|
+
"videoclips.listClips": [{
|
|
36948
|
+
name: "deviceId",
|
|
36949
|
+
form: "single",
|
|
36950
|
+
optional: false
|
|
36951
|
+
}],
|
|
36952
|
+
"waterHeater.setAway": [{
|
|
36953
|
+
name: "deviceId",
|
|
36954
|
+
form: "single",
|
|
36955
|
+
optional: false
|
|
36956
|
+
}],
|
|
36957
|
+
"waterHeater.setOperationMode": [{
|
|
36958
|
+
name: "deviceId",
|
|
36959
|
+
form: "single",
|
|
36960
|
+
optional: false
|
|
36961
|
+
}],
|
|
36962
|
+
"waterHeater.setTargetTemp": [{
|
|
36963
|
+
name: "deviceId",
|
|
36964
|
+
form: "single",
|
|
36965
|
+
optional: false
|
|
36966
|
+
}],
|
|
36967
|
+
"webrtcSession.addIceCandidate": [{
|
|
36968
|
+
name: "deviceId",
|
|
36969
|
+
form: "single",
|
|
36970
|
+
optional: false
|
|
36971
|
+
}],
|
|
36972
|
+
"webrtcSession.closeSession": [{
|
|
36973
|
+
name: "deviceId",
|
|
36974
|
+
form: "single",
|
|
36975
|
+
optional: false
|
|
36976
|
+
}],
|
|
36977
|
+
"webrtcSession.createSession": [{
|
|
36978
|
+
name: "deviceId",
|
|
36979
|
+
form: "single",
|
|
36980
|
+
optional: false
|
|
36981
|
+
}],
|
|
36982
|
+
"webrtcSession.getIceCandidates": [{
|
|
36983
|
+
name: "deviceId",
|
|
36984
|
+
form: "single",
|
|
36985
|
+
optional: false
|
|
36986
|
+
}],
|
|
36987
|
+
"webrtcSession.getSessionState": [{
|
|
36988
|
+
name: "deviceId",
|
|
36989
|
+
form: "single",
|
|
36990
|
+
optional: false
|
|
36991
|
+
}],
|
|
36992
|
+
"webrtcSession.handleAnswer": [{
|
|
36993
|
+
name: "deviceId",
|
|
36994
|
+
form: "single",
|
|
36995
|
+
optional: false
|
|
36996
|
+
}],
|
|
36997
|
+
"webrtcSession.handleOffer": [{
|
|
36998
|
+
name: "deviceId",
|
|
36999
|
+
form: "single",
|
|
37000
|
+
optional: false
|
|
37001
|
+
}],
|
|
37002
|
+
"webrtcSession.hasAdaptiveBitrate": [{
|
|
37003
|
+
name: "deviceId",
|
|
37004
|
+
form: "single",
|
|
37005
|
+
optional: false
|
|
37006
|
+
}],
|
|
37007
|
+
"webrtcSession.listStreams": [{
|
|
37008
|
+
name: "deviceId",
|
|
37009
|
+
form: "single",
|
|
37010
|
+
optional: false
|
|
37011
|
+
}],
|
|
37012
|
+
"zoneAnalytics.getCameraHistory": [{
|
|
37013
|
+
name: "deviceId",
|
|
37014
|
+
form: "single",
|
|
37015
|
+
optional: false
|
|
37016
|
+
}],
|
|
37017
|
+
"zoneAnalytics.getCurrentSnapshot": [{
|
|
37018
|
+
name: "deviceId",
|
|
37019
|
+
form: "single",
|
|
37020
|
+
optional: false
|
|
37021
|
+
}],
|
|
37022
|
+
"zoneAnalytics.getUnzonedHistory": [{
|
|
37023
|
+
name: "deviceId",
|
|
37024
|
+
form: "single",
|
|
37025
|
+
optional: false
|
|
37026
|
+
}],
|
|
37027
|
+
"zoneAnalytics.getZoneHistory": [{
|
|
37028
|
+
name: "deviceId",
|
|
37029
|
+
form: "single",
|
|
37030
|
+
optional: false
|
|
37031
|
+
}],
|
|
37032
|
+
"zoneRules.listRules": [{
|
|
37033
|
+
name: "deviceId",
|
|
37034
|
+
form: "single",
|
|
37035
|
+
optional: false
|
|
37036
|
+
}],
|
|
37037
|
+
"zoneRules.setRules": [{
|
|
37038
|
+
name: "deviceId",
|
|
37039
|
+
form: "single",
|
|
37040
|
+
optional: false
|
|
37041
|
+
}],
|
|
37042
|
+
"zones.addZone": [{
|
|
37043
|
+
name: "deviceId",
|
|
37044
|
+
form: "single",
|
|
37045
|
+
optional: false
|
|
37046
|
+
}],
|
|
37047
|
+
"zones.listZones": [{
|
|
37048
|
+
name: "deviceId",
|
|
37049
|
+
form: "single",
|
|
37050
|
+
optional: false
|
|
37051
|
+
}],
|
|
37052
|
+
"zones.removeZone": [{
|
|
37053
|
+
name: "deviceId",
|
|
37054
|
+
form: "single",
|
|
37055
|
+
optional: false
|
|
37056
|
+
}],
|
|
37057
|
+
"zones.updateZone": [{
|
|
37058
|
+
name: "deviceId",
|
|
37059
|
+
form: "single",
|
|
37060
|
+
optional: false
|
|
37061
|
+
}]
|
|
37062
|
+
});
|
|
34289
37063
|
Object.freeze({
|
|
34290
37064
|
"broker": "broker",
|
|
34291
37065
|
"device-export": "device-export",
|