@camstack/addon-matter-broker 0.2.16 → 0.2.17
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 +2858 -139
- package/dist/addon.mjs +2858 -139
- package/package.json +1 -1
package/dist/addon.mjs
CHANGED
|
@@ -11,7 +11,7 @@ import { networkInterfaces, tmpdir, uptime } from "node:os";
|
|
|
11
11
|
import { finished } from "node:stream/promises";
|
|
12
12
|
import { createConnection, createServer as createServer$2 } from "node:net";
|
|
13
13
|
import * as dgram from "node:dgram";
|
|
14
|
-
//#region ../types/dist/event-category-
|
|
14
|
+
//#region ../types/dist/event-category-Bxo5yJjt.mjs
|
|
15
15
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
16
16
|
EventCategory["SystemBoot"] = "system.boot";
|
|
17
17
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -218,6 +218,33 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
218
218
|
EventCategory["PipelineCameraAssigned"] = "pipeline.camera-assigned";
|
|
219
219
|
EventCategory["PipelineCameraUnassigned"] = "pipeline.camera-unassigned";
|
|
220
220
|
/**
|
|
221
|
+
* A node the orchestrator would otherwise place cameras on has NO usable
|
|
222
|
+
* inference device: the operator enabled one or more accelerators there and
|
|
223
|
+
* the live probe reports every one of them unavailable. Emitted once per
|
|
224
|
+
* TRANSITION into that state (never per dispatch), and the node is dropped
|
|
225
|
+
* from the placement candidate set for as long as it holds.
|
|
226
|
+
*
|
|
227
|
+
* This exists because the state was previously invisible: little-unraid
|
|
228
|
+
* absorbed 283k inference errors in a day while still being handed cameras,
|
|
229
|
+
* and nothing in the system said so.
|
|
230
|
+
*
|
|
231
|
+
* A node with no accelerators configured at all is NOT this — its devices
|
|
232
|
+
* are `disabled`, not `unavailable`, and the runner's default CPU pool
|
|
233
|
+
* serves it exactly as before.
|
|
234
|
+
*/
|
|
235
|
+
EventCategory["PipelineNodeInferenceUnavailable"] = "pipeline.node-inference-unavailable";
|
|
236
|
+
/**
|
|
237
|
+
* A camera has an OPEN detection session and has produced no detection at
|
|
238
|
+
* all for longer than the blind threshold — the camera is being decoded and
|
|
239
|
+
* inferred and is returning nothing. Emitted once per transition into blind,
|
|
240
|
+
* per camera.
|
|
241
|
+
*
|
|
242
|
+
* The failure it reports: a 1h43 detection blackout on the entrance camera
|
|
243
|
+
* that nobody noticed, because "a camera that detects nothing" and "a quiet
|
|
244
|
+
* camera" produce byte-identical silence.
|
|
245
|
+
*/
|
|
246
|
+
EventCategory["PipelineDetectionBlind"] = "pipeline.detection-blind";
|
|
247
|
+
/**
|
|
221
248
|
* Per-camera pipeline config was mutated by the orchestrator
|
|
222
249
|
* (3-level settings change via `setAgentAddonDefaults` /
|
|
223
250
|
* `setCameraStepToggle` / `setCameraPipelineForAgent` or a
|
|
@@ -10951,6 +10978,8 @@ var QueryFilterSchema = object({
|
|
|
10951
10978
|
where: record(string$2(), unknown()).optional(),
|
|
10952
10979
|
whereIn: record(string$2(), array(unknown())).optional(),
|
|
10953
10980
|
whereBetween: record(string$2(), tuple([unknown(), unknown()])).optional(),
|
|
10981
|
+
/** NULL-safe exclusion: matches rows whose field is NULL OR != the value. */
|
|
10982
|
+
whereNot: record(string$2(), unknown()).optional(),
|
|
10954
10983
|
orderBy: object({
|
|
10955
10984
|
field: string$2(),
|
|
10956
10985
|
direction: _enum(["asc", "desc"])
|
|
@@ -10970,7 +10999,8 @@ var QueryFilterSchema = object({
|
|
|
10970
10999
|
var MutationFilterSchema = object({
|
|
10971
11000
|
where: record(string$2(), unknown()).optional(),
|
|
10972
11001
|
whereIn: record(string$2(), array(unknown())).optional(),
|
|
10973
|
-
whereBetween: record(string$2(), tuple([unknown(), unknown()])).optional()
|
|
11002
|
+
whereBetween: record(string$2(), tuple([unknown(), unknown()])).optional(),
|
|
11003
|
+
whereNot: record(string$2(), unknown()).optional()
|
|
10974
11004
|
});
|
|
10975
11005
|
/** A single stored record: `{ id, data }`. */
|
|
10976
11006
|
var SettingsRecordSchema = object({
|
|
@@ -12506,6 +12536,17 @@ var LlmImageSchema = object({
|
|
|
12506
12536
|
bytes: _instanceof(Uint8Array),
|
|
12507
12537
|
mimeType: string$2()
|
|
12508
12538
|
});
|
|
12539
|
+
/**
|
|
12540
|
+
* Retry policy. `enabled: false` is NOT the same as `maxAttempts: 1` in intent —
|
|
12541
|
+
* the flag is what a consumer table flips, the count is what the operator tunes.
|
|
12542
|
+
* A retry doubles the wall time of a call, so the two gates that run inside a
|
|
12543
|
+
* notification's budget keep it off (see `CONSUMER_RETRY_POLICY` in addon-ai).
|
|
12544
|
+
*/
|
|
12545
|
+
var LlmRetryPolicySchema = object({
|
|
12546
|
+
enabled: boolean().default(false),
|
|
12547
|
+
/** Total attempts INCLUDING the first. 1 = no retry. */
|
|
12548
|
+
maxAttempts: number().int().min(1).max(5).default(1)
|
|
12549
|
+
});
|
|
12509
12550
|
var LlmGenerateBaseInputSchema = object({
|
|
12510
12551
|
/** Collection routing (the notification-output posture). */
|
|
12511
12552
|
addonId: string$2().optional(),
|
|
@@ -12520,7 +12561,28 @@ var LlmGenerateBaseInputSchema = object({
|
|
|
12520
12561
|
jsonSchema: record(string$2(), unknown()).optional(),
|
|
12521
12562
|
/** Per-call override of the profile default. */
|
|
12522
12563
|
maxTokens: number().int().positive().optional(),
|
|
12523
|
-
temperature: number().optional()
|
|
12564
|
+
temperature: number().optional(),
|
|
12565
|
+
/** Per-call override of the profile default (nucleus sampling). */
|
|
12566
|
+
topP: number().min(0).max(1).optional(),
|
|
12567
|
+
/** Per-call override of the profile default (top-k sampling). */
|
|
12568
|
+
topK: number().int().positive().optional(),
|
|
12569
|
+
/** Per-call override of `profile.timeoutMs` — the total generation bound. */
|
|
12570
|
+
timeoutMs: number().int().positive().optional(),
|
|
12571
|
+
/** Per-call override; beats both the consumer table and the profile. */
|
|
12572
|
+
retry: LlmRetryPolicySchema.optional(),
|
|
12573
|
+
/**
|
|
12574
|
+
* Caller-minted id that makes this generation CANCELLABLE.
|
|
12575
|
+
*
|
|
12576
|
+
* Without it a caller that stops waiting cannot stop the work: the gates race
|
|
12577
|
+
* the call against 8 s and free their own slot when the timer wins, while the
|
|
12578
|
+
* generation upstream keeps running to `profile.timeoutMs` — 60 s by default,
|
|
12579
|
+
* on a single-threaded local model. The per-camera bound then counts WAITS,
|
|
12580
|
+
* not generations, and the real load is unbounded.
|
|
12581
|
+
*
|
|
12582
|
+
* `AbortSignal` cannot cross a process boundary; an id can. Pass one here and
|
|
12583
|
+
* `llm.cancel({ requestId })` tears the socket down.
|
|
12584
|
+
*/
|
|
12585
|
+
requestId: string$2().optional()
|
|
12524
12586
|
});
|
|
12525
12587
|
/**
|
|
12526
12588
|
* `llm-runtime` — node-side managed llama.cpp executor (spec §4). Registered
|
|
@@ -12533,6 +12595,18 @@ var LlmGenerateBaseInputSchema = object({
|
|
|
12533
12595
|
* Resource ceiling = llama-server flags + idleStopMinutes ONLY (no RSS
|
|
12534
12596
|
* watchdog — operator decision #3).
|
|
12535
12597
|
*/
|
|
12598
|
+
/**
|
|
12599
|
+
* A companion artifact that MUST land beside the main GGUF: the `mmproj`
|
|
12600
|
+
* projector of a vision model, or shards 2..N of a split GGUF. Carried on the
|
|
12601
|
+
* REF rather than looked up at install time, so what the operator approved in
|
|
12602
|
+
* the preview is exactly what the node downloads.
|
|
12603
|
+
*/
|
|
12604
|
+
var ManagedModelExtraFileSchema = object({
|
|
12605
|
+
url: string$2(),
|
|
12606
|
+
filename: string$2(),
|
|
12607
|
+
sizeBytes: number(),
|
|
12608
|
+
sha256: string$2().optional()
|
|
12609
|
+
});
|
|
12536
12610
|
var ManagedModelRefSchema = discriminatedUnion("kind", [
|
|
12537
12611
|
object({
|
|
12538
12612
|
kind: literal("catalog"),
|
|
@@ -12541,7 +12615,11 @@ var ManagedModelRefSchema = discriminatedUnion("kind", [
|
|
|
12541
12615
|
object({
|
|
12542
12616
|
kind: literal("url"),
|
|
12543
12617
|
url: string$2(),
|
|
12544
|
-
sha256: string$2().optional()
|
|
12618
|
+
sha256: string$2().optional(),
|
|
12619
|
+
/** Picker/status label; the file basename when absent. */
|
|
12620
|
+
label: string$2().optional(),
|
|
12621
|
+
sizeBytes: number().optional(),
|
|
12622
|
+
extraFiles: array(ManagedModelExtraFileSchema).optional()
|
|
12545
12623
|
}),
|
|
12546
12624
|
object({
|
|
12547
12625
|
kind: literal("path"),
|
|
@@ -12559,13 +12637,82 @@ var ManagedRuntimeConfigSchema = object({
|
|
|
12559
12637
|
gpuLayers: number().int().default(0),
|
|
12560
12638
|
/** Default: cpus-2, clamped ≥1 (resolved node-side). */
|
|
12561
12639
|
threads: number().int().optional(),
|
|
12562
|
-
/** Concurrent slots. */
|
|
12640
|
+
/** Concurrent slots (`--parallel`). */
|
|
12563
12641
|
parallel: number().int().default(1),
|
|
12642
|
+
/** Logical batch size (`-b`). Larger = faster prompt ingest, more RAM. */
|
|
12643
|
+
batchSize: number().int().positive().optional(),
|
|
12644
|
+
/** Physical batch / micro-batch (`-ub`). */
|
|
12645
|
+
ubatchSize: number().int().positive().optional(),
|
|
12646
|
+
/**
|
|
12647
|
+
* `--flash-attn`. Cuts KV-cache memory on the backends that implement it and
|
|
12648
|
+
* is a no-op elsewhere, so it is offered rather than assumed.
|
|
12649
|
+
*/
|
|
12650
|
+
flashAttention: boolean().default(false),
|
|
12651
|
+
/**
|
|
12652
|
+
* `--mlock`. Pins the weights in RAM so the OS cannot page them out mid
|
|
12653
|
+
* inference. Costs the full model size in resident memory — which is exactly
|
|
12654
|
+
* what the RAM budget is counting.
|
|
12655
|
+
*/
|
|
12656
|
+
mlock: boolean().default(false),
|
|
12657
|
+
/**
|
|
12658
|
+
* `--no-mmap`. Reads the whole GGUF up front instead of mapping it. Slower to
|
|
12659
|
+
* start, but avoids the page-fault stalls a network or spinning-disk model
|
|
12660
|
+
* store produces on every first token.
|
|
12661
|
+
*/
|
|
12662
|
+
noMmap: boolean().default(false),
|
|
12663
|
+
/** `--cache-type-k` / `--cache-type-v` — quantising the KV cache is the
|
|
12664
|
+
* cheapest way to fit a longer context in the same RAM. */
|
|
12665
|
+
cacheTypeK: _enum([
|
|
12666
|
+
"f32",
|
|
12667
|
+
"f16",
|
|
12668
|
+
"q8_0",
|
|
12669
|
+
"q5_1",
|
|
12670
|
+
"q5_0",
|
|
12671
|
+
"q4_1",
|
|
12672
|
+
"q4_0"
|
|
12673
|
+
]).optional(),
|
|
12674
|
+
cacheTypeV: _enum([
|
|
12675
|
+
"f32",
|
|
12676
|
+
"f16",
|
|
12677
|
+
"q8_0",
|
|
12678
|
+
"q5_1",
|
|
12679
|
+
"q5_0",
|
|
12680
|
+
"q4_1",
|
|
12681
|
+
"q4_0"
|
|
12682
|
+
]).optional(),
|
|
12683
|
+
/**
|
|
12684
|
+
* Escape hatch for llama-server flags this schema does NOT model — `--jinja`
|
|
12685
|
+
* (which most vision chat templates need and some language-only models
|
|
12686
|
+
* dislike), `--cont-batching`, `--rope-scaling`, …
|
|
12687
|
+
*
|
|
12688
|
+
* It is NOT a second place to set the flags above. A token that collides
|
|
12689
|
+
* with a typed field is REJECTED at start, naming the field that owns it
|
|
12690
|
+
* (`assertNoOwnedFlags`), because two knobs writing the same argv is exactly
|
|
12691
|
+
* the "two switches that disagree" failure this repo has already shipped
|
|
12692
|
+
* twice (D62).
|
|
12693
|
+
*/
|
|
12694
|
+
extraArgs: array(string$2()).default([]),
|
|
12564
12695
|
/** Else lazy: first generate boots it. */
|
|
12565
12696
|
autoStart: boolean().default(false),
|
|
12566
12697
|
/** 0 = never; frees RAM after quiet periods. */
|
|
12567
12698
|
idleStopMinutes: number().int().default(30)
|
|
12568
12699
|
});
|
|
12700
|
+
/**
|
|
12701
|
+
* Where a multi-GB install currently is. A single 0..1 fraction cannot answer
|
|
12702
|
+
* "is it stuck?" for an install that is three files (shards + mmproj) followed
|
|
12703
|
+
* by a sha256 pass over 22 GB — during which the fraction sat at 1.0 and the
|
|
12704
|
+
* node looked hung. Phase + file + bytes is the smallest shape that does.
|
|
12705
|
+
*/
|
|
12706
|
+
var LlmDownloadProgressSchema = object({
|
|
12707
|
+
phase: _enum(["downloading", "verifying"]),
|
|
12708
|
+
/** The artifact currently moving, e.g. `mmproj-F16.gguf`. */
|
|
12709
|
+
file: string$2(),
|
|
12710
|
+
fileIndex: number().int(),
|
|
12711
|
+
fileCount: number().int(),
|
|
12712
|
+
/** Across the WHOLE install, not the current file. */
|
|
12713
|
+
downloadedBytes: number(),
|
|
12714
|
+
totalBytes: number().optional()
|
|
12715
|
+
});
|
|
12569
12716
|
var LlmRuntimeStatusSchema = object({
|
|
12570
12717
|
/** Status is ALWAYS node-qualified. */
|
|
12571
12718
|
nodeId: string$2(),
|
|
@@ -12582,6 +12729,8 @@ var LlmRuntimeStatusSchema = object({
|
|
|
12582
12729
|
modelPath: string$2().optional(),
|
|
12583
12730
|
modelId: string$2().optional(),
|
|
12584
12731
|
downloadProgress: number().min(0).max(1).optional(),
|
|
12732
|
+
/** Detail behind `downloadProgress`; present for the same lifetime. */
|
|
12733
|
+
download: LlmDownloadProgressSchema.optional(),
|
|
12585
12734
|
lastError: string$2().optional(),
|
|
12586
12735
|
crashesInWindow: number(),
|
|
12587
12736
|
/** Child RSS (sampled best-effort). */
|
|
@@ -12592,7 +12741,14 @@ var LlmNodeModelSchema = object({
|
|
|
12592
12741
|
file: string$2(),
|
|
12593
12742
|
sizeBytes: number(),
|
|
12594
12743
|
catalogId: string$2().optional(),
|
|
12595
|
-
installedAt: number().optional()
|
|
12744
|
+
installedAt: number().optional(),
|
|
12745
|
+
/**
|
|
12746
|
+
* Absolute path on the node. Present so a file that is on disk but matches
|
|
12747
|
+
* no catalog entry — a custom Hugging Face install, or a GGUF the operator
|
|
12748
|
+
* copied in by hand — is still SELECTABLE, as a `{kind:'path'}` ref. Without
|
|
12749
|
+
* it the picker could list such a file and do nothing with it.
|
|
12750
|
+
*/
|
|
12751
|
+
path: string$2().optional()
|
|
12596
12752
|
});
|
|
12597
12753
|
var LlmRuntimeDiskUsageSchema = object({
|
|
12598
12754
|
nodeId: string$2(),
|
|
@@ -12648,10 +12804,47 @@ var LlmProfileSchema = object({
|
|
|
12648
12804
|
baseUrl: string$2().optional(),
|
|
12649
12805
|
/** ConfigUISchema type:'password' — never round-trips (spec §5). */
|
|
12650
12806
|
apiKey: string$2().optional(),
|
|
12807
|
+
/** Vision on/off. A vision call against a `false` profile is REFUSED, never
|
|
12808
|
+
* degraded to text — that shipped once and produced a confident answer to a
|
|
12809
|
+
* question about a picture nobody sent. */
|
|
12651
12810
|
supportsVision: boolean(),
|
|
12652
12811
|
temperature: number().min(0).max(2).optional(),
|
|
12812
|
+
/** Nucleus sampling. Every wire we speak has it. */
|
|
12813
|
+
topP: number().min(0).max(1).optional(),
|
|
12814
|
+
/** Top-k sampling. Carried only by the wires that have it — NEITHER OpenAI
|
|
12815
|
+
* wire does, and the client drops it there (measured: the request body gets
|
|
12816
|
+
* `top_p` and no `top_k`). The profile editor hides the field wherever it
|
|
12817
|
+
* would change nothing; `KINDS_WITH_TOP_K` is the single owner of that list. */
|
|
12818
|
+
topK: number().int().positive().optional(),
|
|
12653
12819
|
maxTokens: number().int().positive().optional(),
|
|
12820
|
+
/** Prompt context window. Advisory for cloud kinds (they enforce their own);
|
|
12821
|
+
* for `managed-local` it is the llama.cpp `--ctx-size` the runtime starts
|
|
12822
|
+
* the model with, so it is the one field that changes a PROCESS. */
|
|
12823
|
+
contextLength: number().int().positive().optional(),
|
|
12824
|
+
/** Default system prompt. A caller's `system` REPLACES it (never appends —
|
|
12825
|
+
* two system prompts fighting is worse than either alone). */
|
|
12826
|
+
systemPrompt: string$2().optional(),
|
|
12827
|
+
/** Total generation bound — the only one a unary call has. */
|
|
12654
12828
|
timeoutMs: number().int().positive().default(6e4),
|
|
12829
|
+
/** The TCP handshake only — "is the port even open". NOT the wait for
|
|
12830
|
+
* response headers: on the LM Studio / llama-server wire those are written
|
|
12831
|
+
* once the model has finished loading, so they belong to the bound below. */
|
|
12832
|
+
connectTimeoutMs: number().int().positive().default(1e4),
|
|
12833
|
+
/** Accepted, but no output yet — response headers included, because a cold
|
|
12834
|
+
* GPU load is exactly what happens before them. */
|
|
12835
|
+
firstTokenTimeoutMs: number().int().positive().default(12e4),
|
|
12836
|
+
/** Output started then stopped. */
|
|
12837
|
+
idleTimeoutMs: number().int().positive().default(6e4),
|
|
12838
|
+
/** Profile-level default. The per-consumer table and a per-call override
|
|
12839
|
+
* both beat it — see `resolveRetryPolicy`. */
|
|
12840
|
+
retry: LlmRetryPolicySchema.default({
|
|
12841
|
+
enabled: false,
|
|
12842
|
+
maxAttempts: 1
|
|
12843
|
+
}),
|
|
12844
|
+
/** Whether this profile may use tools. The tool-call plumbing rides the
|
|
12845
|
+
* library; the REGISTRY of callable tools is ours and is empty in v1, so a
|
|
12846
|
+
* `true` here buys the wiring, not behaviour, until tools are registered. */
|
|
12847
|
+
toolsEnabled: boolean().default(false),
|
|
12655
12848
|
extraHeaders: record(string$2(), string$2()).optional(),
|
|
12656
12849
|
/** kind === 'managed-local' only (spec §4). */
|
|
12657
12850
|
runtime: ManagedRuntimeConfigSchema.optional()
|
|
@@ -12701,6 +12894,36 @@ var ManagedModelCatalogEntrySchema = object({
|
|
|
12701
12894
|
/** Vision models: companion projector file. */
|
|
12702
12895
|
mmprojUrl: string$2().optional()
|
|
12703
12896
|
});
|
|
12897
|
+
/**
|
|
12898
|
+
* The outcome of turning one operator-typed Hugging Face reference into a
|
|
12899
|
+
* download plan. A RESULT, never a throw: "this repo has 24 quantizations and
|
|
12900
|
+
* I will not pick for you" is a normal answer the UI has to render, not an
|
|
12901
|
+
* exception.
|
|
12902
|
+
*
|
|
12903
|
+
* `candidates` is the whole reason the refusal is usable — every string in it
|
|
12904
|
+
* is a tag that resolves when pasted back as `<org>/<repo>:<TAG>`.
|
|
12905
|
+
*/
|
|
12906
|
+
var HfModelResolutionSchema = discriminatedUnion("ok", [object({
|
|
12907
|
+
ok: literal(true),
|
|
12908
|
+
/** Ready to hand to `installModel` unchanged. */
|
|
12909
|
+
model: ManagedModelRefSchema,
|
|
12910
|
+
label: string$2(),
|
|
12911
|
+
repo: string$2(),
|
|
12912
|
+
quantization: string$2(),
|
|
12913
|
+
purpose: _enum(["text", "vision"]),
|
|
12914
|
+
totalBytes: number(),
|
|
12915
|
+
/** mmproj + shards, for the preview: an operator approving 23 GB should
|
|
12916
|
+
* see that 0.9 GB of it is a projector they did not name. */
|
|
12917
|
+
extraFilenames: array(string$2())
|
|
12918
|
+
}), object({
|
|
12919
|
+
ok: literal(false),
|
|
12920
|
+
code: string$2(),
|
|
12921
|
+
message: string$2(),
|
|
12922
|
+
candidates: array(string$2()).optional(),
|
|
12923
|
+
/** Set when the refusal was only the ceiling: re-calling with
|
|
12924
|
+
* `maxBytes: requiredBytes` is the operator's explicit override. */
|
|
12925
|
+
requiredBytes: number().optional()
|
|
12926
|
+
})]);
|
|
12704
12927
|
var LlmRuntimeNodeSchema = object({
|
|
12705
12928
|
nodeId: string$2(),
|
|
12706
12929
|
reachable: boolean(),
|
|
@@ -12713,7 +12936,10 @@ var ProfileRefInputSchema = object({
|
|
|
12713
12936
|
addonId: string$2(),
|
|
12714
12937
|
profileId: string$2()
|
|
12715
12938
|
});
|
|
12716
|
-
method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(GenerateVisionInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(object({
|
|
12939
|
+
method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(GenerateVisionInputSchema, LlmGenerateResultSchema, { kind: "mutation" }), method(object({
|
|
12940
|
+
addonId: string$2().optional(),
|
|
12941
|
+
requestId: string$2()
|
|
12942
|
+
}), _void(), { kind: "mutation" }), method(object({}), array(LlmProfileKindDescriptorSchema)), method(object({}), array(LlmProfileSchema)), method(object({ profile: LlmProfileSchema }), LlmProfileSchema, {
|
|
12717
12943
|
kind: "mutation",
|
|
12718
12944
|
auth: "admin"
|
|
12719
12945
|
}), method(ProfileRefInputSchema, _void(), {
|
|
@@ -12734,6 +12960,15 @@ method(LlmGenerateBaseInputSchema, LlmGenerateResultSchema, { kind: "mutation" }
|
|
|
12734
12960
|
consumer: string$2().optional(),
|
|
12735
12961
|
profileId: string$2().optional()
|
|
12736
12962
|
}), array(LlmUsageRollupSchema)), method(object({}), array(ManagedModelCatalogEntrySchema)), method(object({}), array(LlmRuntimeNodeSchema)), method(object({ nodeId: string$2() }), array(LlmNodeModelSchema)), method(object({
|
|
12963
|
+
/** `https://huggingface.co/<org>/<repo>/resolve/main/<f>.gguf`,
|
|
12964
|
+
* `<org>/<repo>/<f>.gguf`, `<org>/<repo>` or `<org>/<repo>:<QUANT>`. */
|
|
12965
|
+
ref: string$2(),
|
|
12966
|
+
/** Explicit ceiling override, in bytes. Absent = the built-in ceiling. */
|
|
12967
|
+
maxBytes: number().positive().optional()
|
|
12968
|
+
}), HfModelResolutionSchema, {
|
|
12969
|
+
kind: "mutation",
|
|
12970
|
+
auth: "admin"
|
|
12971
|
+
}), method(object({
|
|
12737
12972
|
nodeId: string$2(),
|
|
12738
12973
|
model: ManagedModelRefSchema
|
|
12739
12974
|
}), _void(), {
|
|
@@ -14381,6 +14616,8 @@ var NcSystemEventKindSchema = _enum([
|
|
|
14381
14616
|
"stream-offline",
|
|
14382
14617
|
"node-online",
|
|
14383
14618
|
"node-offline",
|
|
14619
|
+
"node-inference-unavailable",
|
|
14620
|
+
"detection-blind",
|
|
14384
14621
|
"addon-update-available",
|
|
14385
14622
|
"server-update-available",
|
|
14386
14623
|
"alarm-triggered",
|
|
@@ -14442,7 +14679,16 @@ var NcScheduleSchema = object({
|
|
|
14442
14679
|
});
|
|
14443
14680
|
/** Fuzzy plate matcher — OCR noise makes exact match useless (spec row 12/13). */
|
|
14444
14681
|
var NcPlateMatcherSchema = object({
|
|
14445
|
-
|
|
14682
|
+
/**
|
|
14683
|
+
* Plate texts (or gallery vehicle names) to match. EMPTY = **any plate the
|
|
14684
|
+
* pipeline could read** — the plate half of "no selection = no narrowing",
|
|
14685
|
+
* and the switch that says this rule is about vehicles that were IDENTIFIED
|
|
14686
|
+
* rather than merely seen. A subject carrying no plate still fails.
|
|
14687
|
+
*
|
|
14688
|
+
* The `.min(1)` this used to carry made that state unauthorable; nothing has
|
|
14689
|
+
* ever persisted an empty list, so widening it cannot change an existing rule.
|
|
14690
|
+
*/
|
|
14691
|
+
values: array(string$2().min(1)),
|
|
14446
14692
|
/** Max Levenshtein distance after normalization (uppercase alphanumeric). */
|
|
14447
14693
|
maxDistance: number().int().min(0).max(3).default(1)
|
|
14448
14694
|
});
|
|
@@ -14476,28 +14722,36 @@ var NcOccupancyConditionSchema = object({
|
|
|
14476
14722
|
/**
|
|
14477
14723
|
* Audio condition (IMMEDIATE trigger) — a rule on SOUND, not on a picture.
|
|
14478
14724
|
*
|
|
14479
|
-
*
|
|
14480
|
-
*
|
|
14481
|
-
*
|
|
14482
|
-
*
|
|
14483
|
-
* window are HITS. A sample is a hit when it satisfies BOTH present filters:
|
|
14725
|
+
* **TWO EXCLUSIVE MODES** (operator decision 2026-08-14, D157). Which one a
|
|
14726
|
+
* rule is in is not a stored field — it is WHICH FILTER the rule carries, so
|
|
14727
|
+
* there is no second switch that can disagree with the first and every rule
|
|
14728
|
+
* authored before the decision migrates for free (`audioModeOf`):
|
|
14484
14729
|
*
|
|
14485
|
-
* -
|
|
14486
|
-
*
|
|
14487
|
-
*
|
|
14730
|
+
* - **LABEL mode — `labels` present.** The rule fires on the FIRST frame the
|
|
14731
|
+
* classifier labels with one of them. No window, no percentage:
|
|
14732
|
+
* `hitPercent` and `samplingSeconds` are ignored, and the rule's own
|
|
14733
|
+
* `throttle` cooldown is the only brake. The per-label confidence floor is
|
|
14734
|
+
* the analyzer's (`classificationMinScore`, per device) — a label only
|
|
14735
|
+
* reaches this condition if the classifier was already confident enough.
|
|
14736
|
+
* - **LEVEL mode — `dbThreshold` present, no labels.** The sampling window IS
|
|
14737
|
+
* the condition: at least `hitPercent`% of the samples over
|
|
14738
|
+
* `samplingSeconds` must be at or above `dbThreshold` dBFS (see
|
|
14739
|
+
* {@link NC_AUDIO_DBFS_FLOOR}: negative-going, `0` = full scale). The window
|
|
14740
|
+
* must be FULL before it can match — a window open for two of its ten
|
|
14741
|
+
* seconds is 100% of nothing.
|
|
14488
14742
|
*
|
|
14489
|
-
*
|
|
14490
|
-
*
|
|
14491
|
-
*
|
|
14492
|
-
*
|
|
14493
|
-
*
|
|
14494
|
-
*
|
|
14495
|
-
* ZodEffects the cap path would have to special-case).
|
|
14743
|
+
* **Why label mode has no window.** It had one, and it never fired: the
|
|
14744
|
+
* analyzer emits ~1 audio frame per second but YAMNet only LABELS one to three
|
|
14745
|
+
* of them per episode, even through continuous crying. The measured maximum
|
|
14746
|
+
* `hitPercent` over the whole live history was 40 — under the shipped default
|
|
14747
|
+
* of 60, so a label rule could not fire at all, ever. A percentage of frames is
|
|
14748
|
+
* the wrong question to ask of a sparse classifier.
|
|
14496
14749
|
*
|
|
14497
|
-
*
|
|
14498
|
-
*
|
|
14499
|
-
*
|
|
14500
|
-
* `
|
|
14750
|
+
* **Fail-closed when NEITHER is given** — every sample would be a trivial hit
|
|
14751
|
+
* and the rule would fire on silence. The schema cannot express "exactly one
|
|
14752
|
+
* of" without becoming a ZodEffects the cap path would have to special-case, so
|
|
14753
|
+
* the exclusivity is enforced where every editor writes (`patchAudio`) and a
|
|
14754
|
+
* legacy rule carrying both resolves to LABEL (the mode that fires).
|
|
14501
14755
|
*
|
|
14502
14756
|
* Labels are the audio macro classes (`AUDIO_MACRO_LABELS` / the NC taxonomy's
|
|
14503
14757
|
* `audio-*` ids). Both spellings are accepted — the matcher normalizes the
|
|
@@ -14505,13 +14759,13 @@ var NcOccupancyConditionSchema = object({
|
|
|
14505
14759
|
* an operator who typed `dog` mean the same thing.
|
|
14506
14760
|
*/
|
|
14507
14761
|
var NcAudioConditionSchema = object({
|
|
14508
|
-
/**
|
|
14762
|
+
/** LABEL MODE: audio macro labels. Present ⇒ fires on the first labelled frame. */
|
|
14509
14763
|
labels: array(string$2().min(1)).min(1).optional(),
|
|
14510
|
-
/**
|
|
14764
|
+
/** LEVEL MODE: floor in dBFS (negative-going, `0` = full scale). */
|
|
14511
14765
|
dbThreshold: number().min(-96).max(0).optional(),
|
|
14512
|
-
/**
|
|
14766
|
+
/** LEVEL MODE ONLY: percentage of the window's samples that must be hits (1–100). */
|
|
14513
14767
|
hitPercent: number().int().min(1).max(100).default(60),
|
|
14514
|
-
/**
|
|
14768
|
+
/** LEVEL MODE ONLY: length of the sampling window in seconds. */
|
|
14515
14769
|
samplingSeconds: number().int().min(1).max(300).default(10)
|
|
14516
14770
|
});
|
|
14517
14771
|
/**
|
|
@@ -14649,13 +14903,81 @@ var NcRuleActionsSchema = object({
|
|
|
14649
14903
|
*/
|
|
14650
14904
|
buttons: array(NcRuleNotificationButtonSchema).max(8).optional()
|
|
14651
14905
|
});
|
|
14906
|
+
/**
|
|
14907
|
+
* "This rule applies only while `deviceId` is in one of `states`."
|
|
14908
|
+
*
|
|
14909
|
+
* The states are the DEVICE's own vocabulary — `AlarmState` for a panel,
|
|
14910
|
+
* `on`/`off` for a switch — not a normalised set, because normalising would
|
|
14911
|
+
* make the condition lie about devices whose states have no equivalent.
|
|
14912
|
+
*
|
|
14913
|
+
* An unreadable state does NOT match: see the engine's fail-closed gate. A
|
|
14914
|
+
* condition that fired on "I could not read it" would be worse than no gate.
|
|
14915
|
+
*/
|
|
14916
|
+
var NcDeviceStateConditionSchema = object({
|
|
14917
|
+
deviceId: number().int(),
|
|
14918
|
+
/** Any of these matches. */
|
|
14919
|
+
states: array(string$2().min(1)).min(1)
|
|
14920
|
+
});
|
|
14921
|
+
/**
|
|
14922
|
+
* "This rule applies only while scene `sceneId` is `matched` / `diverged`."
|
|
14923
|
+
*
|
|
14924
|
+
* A GATE, not a trigger. `occupancy` and `audio` each DISCRIMINATE their rule —
|
|
14925
|
+
* carrying one makes the rule fire on that subject and nothing else. Scene is
|
|
14926
|
+
* the other shape entirely, the `deviceState` shape: it narrows a rule that
|
|
14927
|
+
* already has a trigger ("tell me about a person at the front door, but only
|
|
14928
|
+
* while the bin is still out"). That is why it composes with every delivery
|
|
14929
|
+
* instead of owning one, and why no new `NcDelivery` member and no new subject
|
|
14930
|
+
* kind exist for it — see D159.
|
|
14931
|
+
*
|
|
14932
|
+
* ── Identity ───────────────────────────────────────────────────────────────
|
|
14933
|
+
* `sceneId` is `SceneMonitor.id`, a `randomUUID()` minted by `createScene` —
|
|
14934
|
+
* globally unique, so it needs no device to disambiguate it. `deviceId` is
|
|
14935
|
+
* carried as a HINT for the editor and for the log line, never as part of the
|
|
14936
|
+
* lookup key: a rule whose hint drifted must still gate correctly.
|
|
14937
|
+
*
|
|
14938
|
+
* ── Which boolean ──────────────────────────────────────────────────────────
|
|
14939
|
+
* `latched` ABSENT means "whatever the scene itself says" — `SceneMonitor.emit`
|
|
14940
|
+
* already declares which boolean drives notification rules, and a second knob
|
|
14941
|
+
* that could disagree with it is exactly the D62 failure. Set it only to
|
|
14942
|
+
* override one rule against the scene's own default.
|
|
14943
|
+
*
|
|
14944
|
+
* - LIVE reading (`emit`/`latched` resolve to live): passes iff
|
|
14945
|
+
* `verdict === requiredState`. `unknown` — no reference for this light, view
|
|
14946
|
+
* shifted, no snapshot — passes NEITHER. A scene that cannot judge is not
|
|
14947
|
+
* evidence, in either direction.
|
|
14948
|
+
* - LATCHED reading: passes iff `latched === (requiredState === 'diverged')`.
|
|
14949
|
+
* The latch is a durable fact about the past ("it has diverged since I armed
|
|
14950
|
+
* it"), so a camera that has gone dark does not clear it — that is the whole
|
|
14951
|
+
* reason the operator asked for a latch.
|
|
14952
|
+
*
|
|
14953
|
+
* The gate reads an in-memory mirror (`NcSceneStateCache`) refreshed OFF the
|
|
14954
|
+
* event path, never the cap: D49. A mirror that has never loaded, or a scene it
|
|
14955
|
+
* does not carry, reads absent and the rule does NOT fire — fail closed, and
|
|
14956
|
+
* said out loud in the log rather than dropped in silence.
|
|
14957
|
+
*/
|
|
14958
|
+
var NcSceneConditionSchema = object({
|
|
14959
|
+
/** `SceneMonitor.id` — the uuid the cap mints. The whole lookup key. */
|
|
14960
|
+
sceneId: string$2().min(1),
|
|
14961
|
+
/** The camera the scene lives on. A hint for the editor and the log line. */
|
|
14962
|
+
deviceId: number().int().optional(),
|
|
14963
|
+
/** The state the scene must be in for the rule to fire. */
|
|
14964
|
+
requiredState: _enum(["matched", "diverged"]),
|
|
14965
|
+
/**
|
|
14966
|
+
* Read the LATCH (`true`) or the LIVE verdict (`false`). Absent = follow the
|
|
14967
|
+
* scene's own `emit` field, which is the only place that decision belongs.
|
|
14968
|
+
*/
|
|
14969
|
+
latched: boolean().optional()
|
|
14970
|
+
});
|
|
14652
14971
|
var NcConditionsSchema = object({
|
|
14653
14972
|
/** Gate on ANOTHER device's current state (the alarm armed, a switch on). */
|
|
14654
|
-
deviceState:
|
|
14655
|
-
|
|
14656
|
-
|
|
14657
|
-
|
|
14658
|
-
|
|
14973
|
+
deviceState: NcDeviceStateConditionSchema.optional(),
|
|
14974
|
+
/**
|
|
14975
|
+
* Gate on a SCENE's state — "only while the bin is still out". Composes with
|
|
14976
|
+
* every trigger (detection, occupancy, audio, sensor, package, track-end);
|
|
14977
|
+
* unlike `occupancy`/`audio` it discriminates nothing. See
|
|
14978
|
+
* {@link NcSceneCondition} and D159.
|
|
14979
|
+
*/
|
|
14980
|
+
scene: NcSceneConditionSchema.optional(),
|
|
14659
14981
|
/** Device scope — absent = all devices. */
|
|
14660
14982
|
devices: array(number()).optional(),
|
|
14661
14983
|
/** Detector class names (any overlap with the record's class set). */
|
|
@@ -14681,18 +15003,47 @@ var NcConditionsSchema = object({
|
|
|
14681
15003
|
*/
|
|
14682
15004
|
labelEquals: array(string$2().min(1)).optional(),
|
|
14683
15005
|
/**
|
|
14684
|
-
*
|
|
14685
|
-
*
|
|
14686
|
-
*
|
|
15006
|
+
* KNOWN FACES — the rule's identity scope, and the switch that says the rule
|
|
15007
|
+
* is about recognised people at all.
|
|
15008
|
+
*
|
|
15009
|
+
* Three states, and the empty one is the point:
|
|
15010
|
+
*
|
|
15011
|
+
* | value | meaning |
|
|
15012
|
+
* | --- | --- |
|
|
15013
|
+
* | absent | the rule does not care who it is; an unrecognised person matches |
|
|
15014
|
+
* | `[]` | **only known faces** — any identity in the gallery, nobody in particular |
|
|
15015
|
+
* | a list | only these identities |
|
|
15016
|
+
*
|
|
15017
|
+
* `[]` is the repo-wide "no selection = no narrowing" reading (an absent
|
|
15018
|
+
* `devices` list is every device), applied one level down: the operator has
|
|
15019
|
+
* turned the face scope ON and narrowed it to nothing, which is every known
|
|
15020
|
+
* face. No second field states the same thing — a switch that can disagree
|
|
15021
|
+
* with the list under it is worse than no switch (D62).
|
|
15022
|
+
*
|
|
15023
|
+
* MEMBERS ARE FACE-GALLERY `Identity.id`s (uuid), not display names. A name is
|
|
15024
|
+
* renameable, and a rule authored on "Gianluca" went silently dark the moment
|
|
15025
|
+
* the operator fixed the spelling. The id reaches the record on
|
|
15026
|
+
* `LabelAttribution.identityId`; the name is what the editor shows and what
|
|
15027
|
+
* `{{label}}` renders.
|
|
15028
|
+
*
|
|
15029
|
+
* Rules written before this carry NAMES, and are resolved to ids lazily at
|
|
15030
|
+
* load (`NcRuleStore.load`) against the live gallery — a name nothing answers
|
|
15031
|
+
* for is left as it stands and reported, never dropped. The engine also
|
|
15032
|
+
* accepts a display-name hit as a compatibility leg, so a rule whose
|
|
15033
|
+
* migration could not resolve keeps matching exactly what it matched before.
|
|
14687
15034
|
*/
|
|
14688
15035
|
identities: array(string$2().min(1)).optional(),
|
|
14689
|
-
/**
|
|
15036
|
+
/**
|
|
15037
|
+
* KNOWN PLATES / VEHICLES — the plate mirror of {@link identities}, including
|
|
15038
|
+
* the empty-list reading: `values: []` is "any plate the OCR could read",
|
|
15039
|
+
* a non-empty list is those plates (fuzzily). See {@link NcPlateMatcherSchema}.
|
|
15040
|
+
*/
|
|
14690
15041
|
plates: NcPlateMatcherSchema.optional(),
|
|
14691
15042
|
/**
|
|
14692
|
-
* Identity EXCLUDE — mirror of {@link identities} with `notIn` semantics
|
|
14693
|
-
*
|
|
14694
|
-
* identity
|
|
14695
|
-
*
|
|
15043
|
+
* Identity EXCLUDE — mirror of {@link identities} with `notIn` semantics, and
|
|
15044
|
+
* the same id members and the same lazy name→id migration. A record with NO
|
|
15045
|
+
* identity passes (nothing to exclude), unlike the include variant which
|
|
15046
|
+
* fails on an unrecognised subject. An EMPTY list excludes nobody.
|
|
14696
15047
|
*/
|
|
14697
15048
|
identitiesExclude: array(string$2().min(1)).optional(),
|
|
14698
15049
|
/**
|
|
@@ -15084,7 +15435,80 @@ var NcRuleInputSchema = object({
|
|
|
15084
15435
|
* a rule that predates the gate must keep delivering byte-for-byte as it
|
|
15085
15436
|
* did, and absent is the only way to say that without a migration.
|
|
15086
15437
|
*/
|
|
15087
|
-
confirm: NcConfirmSchema.optional()
|
|
15438
|
+
confirm: NcConfirmSchema.optional(),
|
|
15439
|
+
/**
|
|
15440
|
+
* WAIT for face/plate recognition before saying anything.
|
|
15441
|
+
*
|
|
15442
|
+
* A notification's TEXT is frozen at enqueue and its media is re-resolved at
|
|
15443
|
+
* send; the identity is neither. A face is confirmed after `confirmFrames`
|
|
15444
|
+
* agreeing observations — p50 **11.4 s** after the track was first seen,
|
|
15445
|
+
* measured on this hub — and an `immediate` rule enqueues on the first object
|
|
15446
|
+
* event, seconds before that. So "Gianluca è arrivato" is unsayable on the
|
|
15447
|
+
* immediate path, and no amount of media re-resolution fixes a sentence.
|
|
15448
|
+
*
|
|
15449
|
+
* Only two honest answers exist, and this flag picks between them. It has
|
|
15450
|
+
* effect ONLY on a rule that declares a recognition scope
|
|
15451
|
+
* ({@link NcConditions.identities} or {@link NcConditions.plates}) — on any
|
|
15452
|
+
* other rule there is nothing to wait for and the flag is inert.
|
|
15453
|
+
*
|
|
15454
|
+
* | value | what happens |
|
|
15455
|
+
* | --- | --- |
|
|
15456
|
+
* | `true` | the rule stops firing on the object event and fires at TRACK CLOSE instead, once, with the name — later, and complete |
|
|
15457
|
+
* | 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) |
|
|
15458
|
+
*
|
|
15459
|
+
* `.optional()` and deliberately NOT `.default()`: a Zod default does not run
|
|
15460
|
+
* on the addon cap path, and absent has to keep meaning exactly what every
|
|
15461
|
+
* rule authored before this field meant.
|
|
15462
|
+
*
|
|
15463
|
+
* The cost of `true` is stated here because the editor states it too: a rule
|
|
15464
|
+
* that waits also inherits track-close SEMANTICS — its `zones` condition
|
|
15465
|
+
* tests every zone the track visited and a `crossing` condition can no longer
|
|
15466
|
+
* be satisfied, because a closed track carries no crossing.
|
|
15467
|
+
*/
|
|
15468
|
+
waitForEnhancement: boolean().optional(),
|
|
15469
|
+
/**
|
|
15470
|
+
* GROUP a burst of subjects into ONE notification that grows.
|
|
15471
|
+
*
|
|
15472
|
+
* Seconds of quiet after the last matching subject before the burst is
|
|
15473
|
+
* considered over. While it is open, the first subject enqueues immediately —
|
|
15474
|
+
* **exactly as today, with no added latency** — and every real growth (a new
|
|
15475
|
+
* subject, or a name confirmed on one already in it) REPLACES that
|
|
15476
|
+
* notification with an updated one naming everybody. The push carries the
|
|
15477
|
+
* group's own coalescing tag, so the phone replaces rather than stacks.
|
|
15478
|
+
*
|
|
15479
|
+
* `0` / absent = off, and off is today's behaviour byte for byte.
|
|
15480
|
+
*
|
|
15481
|
+
* ### Why an idle cutoff and not a window
|
|
15482
|
+
*
|
|
15483
|
+
* The measured seven-person arrival on device 590 spans 110 s with every
|
|
15484
|
+
* internal gap under 30 s. A 12 s fixed window cuts it into three groups; an
|
|
15485
|
+
* idle cutoff holds it as one and ends it when the arrival actually ends.
|
|
15486
|
+
* 30 is Frigate's shipped value for the same decision.
|
|
15487
|
+
*
|
|
15488
|
+
* ### What it replaces
|
|
15489
|
+
*
|
|
15490
|
+
* The blind cooldown, which collapses a burst by DISCARDING it. Measured on
|
|
15491
|
+
* device 615 / *Persona su Uscio* over six days: 116 qualifying tracks → 74
|
|
15492
|
+
* notifications, **44 (37.9%) suppressed outright**, 23 of them overlapping a
|
|
15493
|
+
* track that did fire and 7 carrying a confirmed identity nobody heard about.
|
|
15494
|
+
* A group collapses the same volume by MERGING, so the cooldown becomes a
|
|
15495
|
+
* budget over GROUPS — which is what it always meant — and a growth is never
|
|
15496
|
+
* throttled by the window its own first member spent.
|
|
15497
|
+
*
|
|
15498
|
+
* ### Interaction with {@link waitForEnhancement}
|
|
15499
|
+
*
|
|
15500
|
+
* They compose, and the order matters. `waitForEnhancement` defers the rule to
|
|
15501
|
+
* TRACK CLOSE, so with both set the group is opened by the first member to
|
|
15502
|
+
* CLOSE — already carrying its name — and grows as later members close. That
|
|
15503
|
+
* is later, and complete. With grouping alone the group opens on the first
|
|
15504
|
+
* object event and picks up names as they are confirmed, through the growth
|
|
15505
|
+
* path. Neither combination fires twice for one subject.
|
|
15506
|
+
*
|
|
15507
|
+
* `.optional()` and deliberately NOT `.default()`: a Zod default does not run
|
|
15508
|
+
* on the addon cap path, so absent must keep meaning what it meant before this
|
|
15509
|
+
* field existed.
|
|
15510
|
+
*/
|
|
15511
|
+
groupIdleSec: number().int().min(0).max(600).optional()
|
|
15088
15512
|
});
|
|
15089
15513
|
/**
|
|
15090
15514
|
* Partial patch for `updateRule` — any subset of the input fields, plus the
|
|
@@ -15191,6 +15615,7 @@ var NcConditionDescriptorSchema = object({
|
|
|
15191
15615
|
"occupancy",
|
|
15192
15616
|
"audio",
|
|
15193
15617
|
"deviceState",
|
|
15618
|
+
"scene",
|
|
15194
15619
|
"systemEvent"
|
|
15195
15620
|
]),
|
|
15196
15621
|
operator: _enum([
|
|
@@ -15596,7 +16021,87 @@ var MethodAccessSchema = _enum([
|
|
|
15596
16021
|
var AllowedProviderSchema = union([literal("*"), array(string$2())]);
|
|
15597
16022
|
var AllowedDevicesSchema = record(string$2(), union([literal("*"), array(string$2())]));
|
|
15598
16023
|
var CapScopeSchema = _enum(["device", "system"]);
|
|
15599
|
-
|
|
16024
|
+
/**
|
|
16025
|
+
* DeviceSelector (scope model v3 — 2026-08-12).
|
|
16026
|
+
*
|
|
16027
|
+
* A `device` grant no longer carries a frozen list of deviceIds. It carries
|
|
16028
|
+
* a SELECTOR the matcher resolves against the live fleet, so the grant can be
|
|
16029
|
+
* DYNAMIC: a `types:['camera']` selector automatically covers a camera added
|
|
16030
|
+
* AFTER the grant was minted — no re-grant, no re-login.
|
|
16031
|
+
*
|
|
16032
|
+
* - `all` — every device in the deployment. The broad viewer/operator
|
|
16033
|
+
* lever without a `category` grant (a `category` grant also covers device
|
|
16034
|
+
* caps that carry no deviceId; `all` is specifically the device set).
|
|
16035
|
+
* - `ids` — an explicit deviceId list. This is what a v2 `device:[…]`
|
|
16036
|
+
* grant migrates to (see {@link TokenScopeSchema}); STATIC — a new camera
|
|
16037
|
+
* is NOT covered until the grant is edited.
|
|
16038
|
+
* - `types` — every device of a `DeviceType` (e.g. every `camera`).
|
|
16039
|
+
* DYNAMIC. A device that changes type, or a new device of the type,
|
|
16040
|
+
* re-resolves on the next request.
|
|
16041
|
+
* - `locations` — every device whose operator-assigned `location` label is
|
|
16042
|
+
* in the set (e.g. "Garden", "Front door"). DYNAMIC. A device with a
|
|
16043
|
+
* null/unset location matches NO `locations` selector.
|
|
16044
|
+
*/
|
|
16045
|
+
var DeviceSelectorSchema = discriminatedUnion("kind", [
|
|
16046
|
+
object({ kind: literal("all") }),
|
|
16047
|
+
object({
|
|
16048
|
+
kind: literal("ids"),
|
|
16049
|
+
ids: array(number().int()).min(1)
|
|
16050
|
+
}),
|
|
16051
|
+
object({
|
|
16052
|
+
kind: literal("types"),
|
|
16053
|
+
types: array(_enum(DeviceType)).min(1)
|
|
16054
|
+
}),
|
|
16055
|
+
object({
|
|
16056
|
+
kind: literal("locations"),
|
|
16057
|
+
locations: array(string$2().min(1)).min(1)
|
|
16058
|
+
})
|
|
16059
|
+
]);
|
|
16060
|
+
var DeviceTokenScopeSchema = object({
|
|
16061
|
+
type: literal("device"),
|
|
16062
|
+
/** The device SET this grant covers — resolved against the live fleet. */
|
|
16063
|
+
selector: DeviceSelectorSchema,
|
|
16064
|
+
access: array(MethodAccessSchema).min(1),
|
|
16065
|
+
/**
|
|
16066
|
+
* Whether a grant on a PARENT device transparently covers its accessory
|
|
16067
|
+
* CHILDREN (siren / floodlight / PIR) via the persisted-parentage walk.
|
|
16068
|
+
* Direction is parent → children ONLY.
|
|
16069
|
+
*
|
|
16070
|
+
* Absent → the matcher DERIVES it from the access flavour: `view`
|
|
16071
|
+
* inherits (a camera viewer sees the camera's accessories), `create` /
|
|
16072
|
+
* `delete` do NOT (actuating/removing a child is an explicit act the
|
|
16073
|
+
* operator must grant on the child, not inherit from the parent). Set it
|
|
16074
|
+
* explicitly to override that default per grant.
|
|
16075
|
+
*/
|
|
16076
|
+
includeLinked: boolean().optional()
|
|
16077
|
+
});
|
|
16078
|
+
/**
|
|
16079
|
+
* v2 → v3 lazy migration. A pre-v3 `device` grant carried
|
|
16080
|
+
* `targets: string[]` (stringified deviceIds); it rewrites to the equivalent
|
|
16081
|
+
* `selector: {kind:'ids', ids}`. Applied as a `preprocess` so it runs on
|
|
16082
|
+
* EVERY parse path — stored records AND the JWT-carried scope arrays
|
|
16083
|
+
* normalised at the request boundary ({@link normalizeTokenScopes} in
|
|
16084
|
+
* `device-selector.ts`). Chosen over a one-time DB migration because a
|
|
16085
|
+
* migration cannot reach a JWT already in a client's hands; parse-time
|
|
16086
|
+
* migration covers both without a flag day. No cast — the raw object is read
|
|
16087
|
+
* through `Reflect.get` (its static type is `unknown`).
|
|
16088
|
+
*/
|
|
16089
|
+
function migrateLegacyTokenScope(raw) {
|
|
16090
|
+
if (raw === null || typeof raw !== "object" || Array.isArray(raw)) return raw;
|
|
16091
|
+
if (Reflect.get(raw, "type") !== "device") return raw;
|
|
16092
|
+
if (Reflect.get(raw, "selector") !== void 0) return raw;
|
|
16093
|
+
const targets = Reflect.get(raw, "targets");
|
|
16094
|
+
if (!Array.isArray(targets)) return raw;
|
|
16095
|
+
return {
|
|
16096
|
+
type: "device",
|
|
16097
|
+
selector: {
|
|
16098
|
+
kind: "ids",
|
|
16099
|
+
ids: targets.map((t) => typeof t === "string" ? Number(t) : t).filter((n) => typeof n === "number" && Number.isInteger(n))
|
|
16100
|
+
},
|
|
16101
|
+
access: Reflect.get(raw, "access")
|
|
16102
|
+
};
|
|
16103
|
+
}
|
|
16104
|
+
var TokenScopeSchema = preprocess(migrateLegacyTokenScope, discriminatedUnion("type", [
|
|
15600
16105
|
object({
|
|
15601
16106
|
type: literal("category"),
|
|
15602
16107
|
target: CapScopeSchema,
|
|
@@ -15612,18 +16117,8 @@ var TokenScopeSchema = discriminatedUnion("type", [
|
|
|
15612
16117
|
target: string$2(),
|
|
15613
16118
|
access: array(MethodAccessSchema).min(1)
|
|
15614
16119
|
}),
|
|
15615
|
-
|
|
15616
|
-
|
|
15617
|
-
/**
|
|
15618
|
-
* One or more deviceIds (serialised as strings for wire-format
|
|
15619
|
-
* consistency with the rest of the union). Matcher accepts if
|
|
15620
|
-
* `input.deviceId` ∈ `targets`. Array shape avoids the row-explosion
|
|
15621
|
-
* of one scope-per-device when granting access to a set of cameras.
|
|
15622
|
-
*/
|
|
15623
|
-
targets: array(string$2()).min(1),
|
|
15624
|
-
access: array(MethodAccessSchema).min(1)
|
|
15625
|
-
})
|
|
15626
|
-
]);
|
|
16120
|
+
DeviceTokenScopeSchema
|
|
16121
|
+
]));
|
|
15627
16122
|
object({
|
|
15628
16123
|
id: string$2(),
|
|
15629
16124
|
username: string$2(),
|
|
@@ -15940,7 +16435,7 @@ var TrackEnvelopeSchema = object({
|
|
|
15940
16435
|
* `snapshots[]` references — megabytes across a page of tracks. `slim`
|
|
15941
16436
|
* keeps every scalar the list surfaces actually render (ids, class(es),
|
|
15942
16437
|
* label / audioLabels / importance enrichment, firstSeen/lastSeen, state,
|
|
15943
|
-
* zonesVisited, bestEventId, envelope, hasFace) and returns `positions` /
|
|
16438
|
+
* zonesVisited, bestEventId, envelope, hasFace, hasRider) and returns `positions` /
|
|
15944
16439
|
* `snapshots` as EMPTY arrays — detail views re-fetch the full row via
|
|
15945
16440
|
* `getTrack`. Mirrors the event-store `projection` convention
|
|
15946
16441
|
* (`getObjectEvents` et al.).
|
|
@@ -16076,7 +16571,21 @@ union([literal(1), literal(2)]);
|
|
|
16076
16571
|
var LabelAttributionSchema = object({
|
|
16077
16572
|
stepId: string$2(),
|
|
16078
16573
|
modelId: string$2().optional(),
|
|
16079
|
-
decidedAt: number()
|
|
16574
|
+
decidedAt: number(),
|
|
16575
|
+
/**
|
|
16576
|
+
* The GALLERY id behind a recognised tier-2 label — a face-gallery
|
|
16577
|
+
* `Identity.id` or a plate-gallery `Vehicle.id` (both `randomUUID`).
|
|
16578
|
+
*
|
|
16579
|
+
* The text alone is a DISPLAY NAME, and a display name is renameable: a
|
|
16580
|
+
* notification rule authored on "Gianluca" stopped matching the moment the
|
|
16581
|
+
* operator fixed the spelling in the gallery, and nothing said so. The id is
|
|
16582
|
+
* the thing that does not move, so it is what a rule matches on
|
|
16583
|
+
* (`NcConditions.identities`) and the text is what a human is shown.
|
|
16584
|
+
*
|
|
16585
|
+
* Absent when the label names no gallery row — a plate the OCR read but no
|
|
16586
|
+
* vehicle claims, a sub-class, a species, any tier-1 value.
|
|
16587
|
+
*/
|
|
16588
|
+
identityId: string$2().optional()
|
|
16080
16589
|
});
|
|
16081
16590
|
/**
|
|
16082
16591
|
* The TIERED label model (roadmap 4g), spread into `TrackSchema` and
|
|
@@ -16213,6 +16722,28 @@ var TrackSchema = object({
|
|
|
16213
16722
|
* `=== true` and render nothing otherwise, never infer "no face".
|
|
16214
16723
|
*/
|
|
16215
16724
|
hasFace: boolean().optional(),
|
|
16725
|
+
/**
|
|
16726
|
+
* This subject CONTAINS a folded rider — a person the rider-pairing step
|
|
16727
|
+
* ([D34](../decisions/adr-0034.md)) removed from the frame BEFORE the tracker,
|
|
16728
|
+
* so the passage is tracked once and as a VEHICLE.
|
|
16729
|
+
*
|
|
16730
|
+
* It exists because the fold's record was dishonest. D34 and the code both
|
|
16731
|
+
* said "the person is not lost — it is reported so both entities stay on the
|
|
16732
|
+
* record"; in fact the pair went into a per-processor RAM field behind an
|
|
16733
|
+
* accessor nobody called, and every durable surface said `vehicle`, full
|
|
16734
|
+
* stop. This is the composition note that makes the row true.
|
|
16735
|
+
*
|
|
16736
|
+
* A COMPOSITION, never a class and never a label. "This vehicle contains a
|
|
16737
|
+
* person" is not an answer to "what is this" — both label tiers would refuse
|
|
16738
|
+
* a macro token anyway (D89), and correctly. Nothing here changes what the
|
|
16739
|
+
* subject IS: a cyclist stays one vehicle track, occupancy still counts one,
|
|
16740
|
+
* and a `person` rule still does not fire for someone cycling past.
|
|
16741
|
+
*
|
|
16742
|
+
* **Absent ≠ false**, exactly like {@link hasFace}: every row written before
|
|
16743
|
+
* the column, and every hub that predates the field, omits it. Test
|
|
16744
|
+
* `=== true` and render nothing otherwise — never infer "no rider".
|
|
16745
|
+
*/
|
|
16746
|
+
hasRider: boolean().optional(),
|
|
16216
16747
|
...TrackFlagFields,
|
|
16217
16748
|
...TrackRetrainFields
|
|
16218
16749
|
});
|
|
@@ -16562,7 +17093,10 @@ var RecentTracksQueryInput = object({
|
|
|
16562
17093
|
* Encodes the (lastSeen, trackId) sort position — treat as opaque. */
|
|
16563
17094
|
cursor: string$2().optional(),
|
|
16564
17095
|
/** See {@link TrackProjectionSchema}. Default `full`. */
|
|
16565
|
-
projection: TrackProjectionSchema.optional()
|
|
17096
|
+
projection: TrackProjectionSchema.optional(),
|
|
17097
|
+
/** Include stationary-promoted rows (parked objects). Default false: the
|
|
17098
|
+
* feed lists passages; parking records live on the stationary registry. */
|
|
17099
|
+
includeStationary: boolean().optional()
|
|
16566
17100
|
});
|
|
16567
17101
|
var RecentTracksPageSchema = object({
|
|
16568
17102
|
/** Merged page, ordered by (`lastSeen` DESC, `trackId` DESC). */
|
|
@@ -16780,7 +17314,11 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
16780
17314
|
zone: TrackZoneFilterSchema.optional(),
|
|
16781
17315
|
/** See {@link TrackProjectionSchema}. Default `full` (backward
|
|
16782
17316
|
* compatible — omitting the field keeps today's exact behaviour). */
|
|
16783
|
-
projection: TrackProjectionSchema.optional()
|
|
17317
|
+
projection: TrackProjectionSchema.optional(),
|
|
17318
|
+
/** Include stationary-promoted rows (parked objects handed to the
|
|
17319
|
+
* stationary registry). Default false: the timeline lists passages,
|
|
17320
|
+
* not parking records (operator decision, 2026-08-15). */
|
|
17321
|
+
includeStationary: boolean().optional()
|
|
16784
17322
|
}), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
|
|
16785
17323
|
kind: "mutation",
|
|
16786
17324
|
auth: "admin"
|
|
@@ -16944,11 +17482,16 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
16944
17482
|
auth: "admin"
|
|
16945
17483
|
}), method(object({
|
|
16946
17484
|
eventId: string$2(),
|
|
16947
|
-
kind: MediaFileKindEnum.optional()
|
|
17485
|
+
kind: MediaFileKindEnum.optional(),
|
|
17486
|
+
deviceId: number()
|
|
16948
17487
|
}), array(MediaFileSchema).readonly()), method(object({
|
|
16949
17488
|
trackId: string$2(),
|
|
16950
|
-
kinds: array(MediaFileKindEnum).optional()
|
|
16951
|
-
|
|
17489
|
+
kinds: array(MediaFileKindEnum).optional(),
|
|
17490
|
+
deviceId: number()
|
|
17491
|
+
}), array(MediaFileSchema).readonly()), method(object({
|
|
17492
|
+
trackId: string$2(),
|
|
17493
|
+
deviceId: number()
|
|
17494
|
+
}), array(MediaFileInfoSchema).readonly()), method(SearchObjectEventsInput, array(ScoredObjectEventSchema).readonly()), method(object({}), WipeObjectEmbeddingsResultSchema, {
|
|
16952
17495
|
kind: "mutation",
|
|
16953
17496
|
auth: "admin"
|
|
16954
17497
|
}), method(RebuildObjectEmbeddingsInput, RebuildObjectEmbeddingsResultSchema, {
|
|
@@ -17648,6 +18191,17 @@ var maxSessionHoldMsField = {
|
|
|
17648
18191
|
default: 12e4,
|
|
17649
18192
|
step: 5e3
|
|
17650
18193
|
};
|
|
18194
|
+
/**
|
|
18195
|
+
* Quiet period that closes an `audioMode: 'on-motion'` audio window. Floor of
|
|
18196
|
+
* 5s so a rearm can never degenerate into per-event stream churn; default 90s
|
|
18197
|
+
* comfortably outlives the gap between two PIR wakes on a battery camera.
|
|
18198
|
+
*/
|
|
18199
|
+
var audioMotionWindowMsField = {
|
|
18200
|
+
min: 5e3,
|
|
18201
|
+
max: 6e5,
|
|
18202
|
+
default: 9e4,
|
|
18203
|
+
step: 5e3
|
|
18204
|
+
};
|
|
17651
18205
|
var motionFpsField = {
|
|
17652
18206
|
min: 1,
|
|
17653
18207
|
max: 30,
|
|
@@ -17679,7 +18233,7 @@ var detectionFpsField = {
|
|
|
17679
18233
|
var occupancyRecheckSecField = {
|
|
17680
18234
|
min: 0,
|
|
17681
18235
|
max: 300,
|
|
17682
|
-
default:
|
|
18236
|
+
default: 300,
|
|
17683
18237
|
step: 5
|
|
17684
18238
|
};
|
|
17685
18239
|
var occupancyRecheckFramesField = {
|
|
@@ -17824,6 +18378,27 @@ var RunnerCameraConfigSchema = object({
|
|
|
17824
18378
|
* resolved `CameraDetectionConfig`.
|
|
17825
18379
|
*/
|
|
17826
18380
|
maxSessionHoldMs: number().min(maxSessionHoldMsField.min).max(maxSessionHoldMsField.max).optional(),
|
|
18381
|
+
/**
|
|
18382
|
+
* Orchestrator-side quiet period (ms) that closes an `audioMode:
|
|
18383
|
+
* 'on-motion'` audio window, measured from the LAST motion event.
|
|
18384
|
+
*
|
|
18385
|
+
* This exists because the falling edge cannot be relied on. Camera-native
|
|
18386
|
+
* providers emit motion as a RISING EDGE ONLY (Reolink's Baichuan push and
|
|
18387
|
+
* its email-push SMTP path both emit `detected: true` and never the
|
|
18388
|
+
* counterpart); only the frame-diff analyzer emits falls. So on an
|
|
18389
|
+
* onboard-only camera a window that closed only on `detected: false` never
|
|
18390
|
+
* closed at all, and `on-motion` silently behaved as `always-on` — on a
|
|
18391
|
+
* battery camera, the one failure mode the mode exists to prevent.
|
|
18392
|
+
*
|
|
18393
|
+
* Every motion event rearms this timer WITHOUT restarting the stream, so a
|
|
18394
|
+
* burst of re-fires costs nothing. A falling edge, when one does arrive,
|
|
18395
|
+
* still closes earlier via `motionCooldownMs` — whichever comes first wins.
|
|
18396
|
+
*
|
|
18397
|
+
* Not consumed by the runner: carried here so it shares the per-camera
|
|
18398
|
+
* device-settings surface with `motionCooldownMs`, exactly like
|
|
18399
|
+
* `maxSessionHoldMs`.
|
|
18400
|
+
*/
|
|
18401
|
+
audioMotionWindowMs: number().min(audioMotionWindowMsField.min).max(audioMotionWindowMsField.max).optional(),
|
|
17827
18402
|
motionFps: number().min(motionFpsField.min).max(motionFpsField.max).default(motionFpsField.default),
|
|
17828
18403
|
detectionFps: number().min(detectionFpsField.min).max(detectionFpsField.max).default(detectionFpsField.default),
|
|
17829
18404
|
motionStreamId: string$2(),
|
|
@@ -17919,7 +18494,7 @@ var RunnerCameraConfigSchema = object({
|
|
|
17919
18494
|
*/
|
|
17920
18495
|
inferenceDevices: array(RunnerInferenceDeviceSchema).readonly().optional()
|
|
17921
18496
|
});
|
|
17922
|
-
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;
|
|
18497
|
+
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;
|
|
17923
18498
|
/**
|
|
17924
18499
|
* Runtime load summary returned by `getLocalLoad`. Used by the orchestrator's
|
|
17925
18500
|
* load-balancing levels (L2 capacity-based, L3 hardware-aware) to decide
|
|
@@ -18935,7 +19510,16 @@ targets: array(object({
|
|
|
18935
19510
|
/** A sleeping battery camera: the frame is deliberately stale and will
|
|
18936
19511
|
* NOT refresh in the background. A surface should say so rather than
|
|
18937
19512
|
* present it as current. */
|
|
18938
|
-
sleeping: boolean()
|
|
19513
|
+
sleeping: boolean(),
|
|
19514
|
+
/** Current device state rendered over the cached frame. State images
|
|
19515
|
+
* remain authoritative even when their photographic background is
|
|
19516
|
+
* old; null means the link must carry a current camera frame. */
|
|
19517
|
+
stateReason: _enum([
|
|
19518
|
+
"disabled",
|
|
19519
|
+
"sleeping",
|
|
19520
|
+
"unreachable",
|
|
19521
|
+
"waking"
|
|
19522
|
+
]).nullable()
|
|
18939
19523
|
})));
|
|
18940
19524
|
/**
|
|
18941
19525
|
* `sso-bridge` — internal hub-only cap that lets SSO-style auth
|
|
@@ -20589,6 +21173,25 @@ var BatteryStatusSchema = object({
|
|
|
20589
21173
|
/** Ms epoch of the last observation. Lets consumers reason about freshness. */
|
|
20590
21174
|
lastUpdated: number(),
|
|
20591
21175
|
/**
|
|
21176
|
+
* Ms epoch of the last time the device PROVED it was reachable — a
|
|
21177
|
+
* completed firmware round-trip, an observed wake, or an inbound push
|
|
21178
|
+
* (firmware event, email). `0`/absent = never since this slice was born.
|
|
21179
|
+
*
|
|
21180
|
+
* This is the ONLY input that separates "asleep" from "gone", and it is
|
|
21181
|
+
* fed exclusively by PASSIVE signals: nothing may write it by reaching
|
|
21182
|
+
* for the radio, because a poll that confirms reachability is the same
|
|
21183
|
+
* poll that drains the battery. See {@link deriveBatteryPresence} — the
|
|
21184
|
+
* single derivation every consumer must use; no surface computes its own.
|
|
21185
|
+
*
|
|
21186
|
+
* It is deliberately NOT a clock in the
|
|
21187
|
+
* `scripts/check-runtime-state-durability.ts` sense: it is the
|
|
21188
|
+
* observation itself, and it is the only thing a 30-hour silence is
|
|
21189
|
+
* visible in. Writers quantise it (see `CONTACT_WRITE_QUANTUM_MS` in the
|
|
21190
|
+
* Reolink provider) so a value that means "recently" cannot cost a
|
|
21191
|
+
* SQLite commit per round-trip.
|
|
21192
|
+
*/
|
|
21193
|
+
lastContactAt: number().optional(),
|
|
21194
|
+
/**
|
|
20592
21195
|
* True when the source is a BINARY low-battery indicator (HA
|
|
20593
21196
|
* `binary_sensor` device_class=battery / `LOW_BAT`) that has no real
|
|
20594
21197
|
* charge level — `percentage` is then a coarse stand-in (100 = normal,
|
|
@@ -22870,54 +23473,139 @@ var TalkAudioCodecSchema = _enum([
|
|
|
22870
23473
|
"g711ulaw",
|
|
22871
23474
|
"g711alaw"
|
|
22872
23475
|
]);
|
|
22873
|
-
|
|
22874
|
-
|
|
22875
|
-
|
|
22876
|
-
|
|
22877
|
-
|
|
22878
|
-
|
|
22879
|
-
|
|
22880
|
-
|
|
22881
|
-
|
|
22882
|
-
|
|
22883
|
-
|
|
22884
|
-
|
|
22885
|
-
|
|
22886
|
-
}),
|
|
22887
|
-
|
|
22888
|
-
|
|
22889
|
-
}),
|
|
22890
|
-
|
|
22891
|
-
|
|
22892
|
-
}),
|
|
22893
|
-
|
|
22894
|
-
|
|
22895
|
-
|
|
22896
|
-
|
|
22897
|
-
|
|
22898
|
-
|
|
22899
|
-
|
|
22900
|
-
|
|
22901
|
-
|
|
22902
|
-
|
|
22903
|
-
|
|
22904
|
-
|
|
22905
|
-
|
|
22906
|
-
|
|
22907
|
-
|
|
22908
|
-
|
|
22909
|
-
|
|
22910
|
-
|
|
22911
|
-
|
|
22912
|
-
|
|
22913
|
-
|
|
22914
|
-
|
|
22915
|
-
|
|
22916
|
-
|
|
22917
|
-
|
|
22918
|
-
|
|
22919
|
-
|
|
22920
|
-
|
|
23476
|
+
var intercomCapability = {
|
|
23477
|
+
name: "intercom",
|
|
23478
|
+
scope: "device",
|
|
23479
|
+
deviceNative: true,
|
|
23480
|
+
mode: "singleton",
|
|
23481
|
+
deviceTypes: [DeviceType.Camera],
|
|
23482
|
+
methods: {
|
|
23483
|
+
/**
|
|
23484
|
+
* Open a server-side WebRTC audio-only session. Returns an SDP
|
|
23485
|
+
* offer with a single sendonly audio m-line the client answers
|
|
23486
|
+
* (client → server direction). The server wakes battery cams
|
|
23487
|
+
* transparently before opening the upstream talk channel.
|
|
23488
|
+
*/
|
|
23489
|
+
startSession: method(object({ deviceId: number() }), object({
|
|
23490
|
+
sessionId: string$2(),
|
|
23491
|
+
sdpOffer: string$2()
|
|
23492
|
+
}), {
|
|
23493
|
+
kind: "mutation",
|
|
23494
|
+
auth: "admin"
|
|
23495
|
+
}),
|
|
23496
|
+
handleAnswer: method(object({
|
|
23497
|
+
deviceId: number(),
|
|
23498
|
+
sessionId: string$2(),
|
|
23499
|
+
sdpAnswer: string$2()
|
|
23500
|
+
}), _void(), {
|
|
23501
|
+
kind: "mutation",
|
|
23502
|
+
auth: "admin"
|
|
23503
|
+
}),
|
|
23504
|
+
/** Close explicitly. Server also auto-closes on 30s idle. */
|
|
23505
|
+
stopSession: method(object({
|
|
23506
|
+
deviceId: number(),
|
|
23507
|
+
sessionId: string$2()
|
|
23508
|
+
}), _void(), {
|
|
23509
|
+
kind: "mutation",
|
|
23510
|
+
auth: "admin"
|
|
23511
|
+
}),
|
|
23512
|
+
/**
|
|
23513
|
+
* Open a raw-PCM talk session (no WebRTC SDP plumbing). Used by
|
|
23514
|
+
* non-WebRTC consumers (HomeKit export, Alexa raw audio, test
|
|
23515
|
+
* harnesses) that already have decoded PCM frames and just need a
|
|
23516
|
+
* direct path onto the camera's talk channel. Mutually exclusive
|
|
23517
|
+
* with `startSession` (an active WebRTC session must be stopped
|
|
23518
|
+
* before a raw-PCM session can be opened on the same device, and
|
|
23519
|
+
* vice versa).
|
|
23520
|
+
*/
|
|
23521
|
+
startTalkSession: method(object({ deviceId: number() }), object({ sessionId: string$2() }), {
|
|
23522
|
+
kind: "mutation",
|
|
23523
|
+
auth: "admin"
|
|
23524
|
+
}),
|
|
23525
|
+
/**
|
|
23526
|
+
* Push one chunk of talk-back audio onto the active talk session.
|
|
23527
|
+
* The cap is codec-agnostic: the caller declares (or omits) the
|
|
23528
|
+
* wire format via `codec`; the provider decides between passthrough
|
|
23529
|
+
* (when the wire codec matches the camera's native talk channel),
|
|
23530
|
+
* transcoding via the `audio-codec` cap, or rejecting the call.
|
|
23531
|
+
*
|
|
23532
|
+
* Callers do NOT need to know the camera's wire format or sample
|
|
23533
|
+
* rate — that information lives entirely inside the provider.
|
|
23534
|
+
*
|
|
23535
|
+
* Sequence numbers MUST be monotonic per talk session; older frames
|
|
23536
|
+
* arriving after newer ones are dropped to avoid smearing the
|
|
23537
|
+
* downstream encoder state (G.711 is stateless but IMA ADPCM's
|
|
23538
|
+
* predictor would corrupt with re-ordering).
|
|
23539
|
+
*/
|
|
23540
|
+
pushTalkAudio: method(object({
|
|
23541
|
+
deviceId: number(),
|
|
23542
|
+
/** Audio bytes for ONE frame, base64-encoded so the payload
|
|
23543
|
+
* survives tRPC JSON serialization. */
|
|
23544
|
+
audioBase64: string$2(),
|
|
23545
|
+
/** Wire codec of the payload. Omit to let the provider default
|
|
23546
|
+
* to its native expected format (s16le @ provider-native rate,
|
|
23547
|
+
* mono). See {@link TalkAudioCodecSchema} for the supported set. */
|
|
23548
|
+
codec: TalkAudioCodecSchema.optional(),
|
|
23549
|
+
/** Sample rate (Hz). REQUIRED for `s16le`; advisory for
|
|
23550
|
+
* `opus` (encoder clock); ignored for `g711*` (implied 8000). */
|
|
23551
|
+
sampleRate: number().int().positive().optional(),
|
|
23552
|
+
/** Channel count. Default 1. */
|
|
23553
|
+
channels: number().int().positive().optional(),
|
|
23554
|
+
/** Sequence number for ordering / dropping out-of-order frames. */
|
|
23555
|
+
sequenceNumber: number().int()
|
|
23556
|
+
}), object({ accepted: boolean() }), {
|
|
23557
|
+
kind: "mutation",
|
|
23558
|
+
auth: "admin"
|
|
23559
|
+
}),
|
|
23560
|
+
/** Close the raw-PCM talk session. Idempotent. */
|
|
23561
|
+
endTalkSession: method(object({ deviceId: number() }), _void(), {
|
|
23562
|
+
kind: "mutation",
|
|
23563
|
+
auth: "admin"
|
|
23564
|
+
})
|
|
23565
|
+
},
|
|
23566
|
+
events: { onStatusChanged: { data: object({
|
|
23567
|
+
deviceId: number(),
|
|
23568
|
+
status: IntercomStatusSchema
|
|
23569
|
+
}) } },
|
|
23570
|
+
status: {
|
|
23571
|
+
schema: IntercomStatusSchema,
|
|
23572
|
+
kind: "command-driven"
|
|
23573
|
+
},
|
|
23574
|
+
/**
|
|
23575
|
+
* Runtime-state slice — mirrored by the kernel.
|
|
23576
|
+
*
|
|
23577
|
+
* The cap declared `status` and nothing else, so the only two sources an
|
|
23578
|
+
* exporter has for a value — the `device.state-changed` slice event and the
|
|
23579
|
+
* `deviceState.getAllSnapshots` snapshot, both built from runtime state —
|
|
23580
|
+
* carried nothing for `intercom`. A talk-back entity in Home Assistant would
|
|
23581
|
+
* have been published and never received a value, which is the defect the
|
|
23582
|
+
* export's two classification tables exist to prevent (177 of them, once), so
|
|
23583
|
+
* `intercom` was excluded rather than exported.
|
|
23584
|
+
*
|
|
23585
|
+
* The shape is the status shape: there is exactly one truth about talk-back
|
|
23586
|
+
* and duplicating it into a second schema is how two halves of one capability
|
|
23587
|
+
* come to disagree. Providers write it through
|
|
23588
|
+
* `this.runtimeState.setCapState('intercom', …)` at the four points that open
|
|
23589
|
+
* and close a session, and seed it at registration so the slice exists before
|
|
23590
|
+
* the first session rather than after it.
|
|
23591
|
+
*
|
|
23592
|
+
* **Bound, named rather than hidden:** `talking` mirrors the provider's own
|
|
23593
|
+
* session handle, so a session torn down by a transport death that never
|
|
23594
|
+
* reaches `stopSession` / `endTalkSession` leaves it latched until the next
|
|
23595
|
+
* session or the next restart. That is why the slice is `session` and not
|
|
23596
|
+
* `restored` — a restart must never restore "talking".
|
|
23597
|
+
*/
|
|
23598
|
+
runtimeState: IntercomStatusSchema,
|
|
23599
|
+
/**
|
|
23600
|
+
* Runtime-state durability: **session** — `talking` describes a live audio
|
|
23601
|
+
* session, which by definition does not survive the process that held it.
|
|
23602
|
+
* Restoring it would publish a camera as talking to nobody.
|
|
23603
|
+
*
|
|
23604
|
+
* See `RuntimeStateDurability`. Enforced by
|
|
23605
|
+
* `scripts/check-runtime-state-durability.ts`.
|
|
23606
|
+
*/
|
|
23607
|
+
durability: "session"
|
|
23608
|
+
};
|
|
22921
23609
|
/**
|
|
22922
23610
|
* Robotic lawn-mower cap. Models HA `lawn_mower.*` entities — anything
|
|
22923
23611
|
* with a mowing lifecycle plus a dock action.
|
|
@@ -25614,7 +26302,7 @@ method(object({
|
|
|
25614
26302
|
toMs: number()
|
|
25615
26303
|
}), RecordingAvailabilitySchema, {
|
|
25616
26304
|
kind: "query",
|
|
25617
|
-
auth: "
|
|
26305
|
+
auth: "protected"
|
|
25618
26306
|
}), method(object({
|
|
25619
26307
|
deviceId: number(),
|
|
25620
26308
|
fromMs: number(),
|
|
@@ -25622,14 +26310,14 @@ method(object({
|
|
|
25622
26310
|
tzOffsetMinutes: number()
|
|
25623
26311
|
}), RecordingDaysSchema, {
|
|
25624
26312
|
kind: "query",
|
|
25625
|
-
auth: "
|
|
26313
|
+
auth: "protected"
|
|
25626
26314
|
}), method(object({
|
|
25627
26315
|
deviceId: number(),
|
|
25628
26316
|
fromMs: number(),
|
|
25629
26317
|
toMs: number()
|
|
25630
26318
|
}), RecordingManifestSchema, {
|
|
25631
26319
|
kind: "query",
|
|
25632
|
-
auth: "
|
|
26320
|
+
auth: "protected"
|
|
25633
26321
|
}), method(object({}), RecordingStorageUsageSchema, {
|
|
25634
26322
|
kind: "query",
|
|
25635
26323
|
auth: "admin"
|
|
@@ -25919,14 +26607,77 @@ method(object({
|
|
|
25919
26607
|
* thing except the comparator: `similarity` (CLIP cosine at the same ROI coords
|
|
25920
26608
|
* vs condition-tagged references) and `llm` (vision-LLM judgment over the crop).
|
|
25921
26609
|
*
|
|
25922
|
-
*
|
|
25923
|
-
*
|
|
25924
|
-
*
|
|
25925
|
-
*
|
|
26610
|
+
* **No `deviceConfig`, deliberately.** This shipped as the D14 widget archetype,
|
|
26611
|
+
* which put a "Scenes" tab on one camera's detail page. That is the wrong shape
|
|
26612
|
+
* for the thing: a scene is a standing question about the property ("is the bin
|
|
26613
|
+
* still out"), and the operator's question is "which of my scenes have tripped",
|
|
26614
|
+
* across every camera at once — not "what does camera 617 think". Buried one
|
|
26615
|
+
* camera deep it also could not be found. The surface is now a top-level admin
|
|
26616
|
+
* page (`/scenes`, `pages/Scenes.tsx`) that lists every scene on every camera and
|
|
26617
|
+
* picks the camera inside the create flow, the same shape Events and Faces have.
|
|
26618
|
+
*
|
|
26619
|
+
* The consequence to keep in mind: `host/scene-monitor-editor` is gone from
|
|
26620
|
+
* `HOST_WIDGETS` too. `scripts/check-host-widget-resolves.ts` asserts BOTH
|
|
26621
|
+
* directions, so a registration nobody declares fails exactly as loudly as a
|
|
26622
|
+
* declaration nobody registers. The editor is imported directly by the page.
|
|
26623
|
+
*
|
|
26624
|
+
* `status.kind:'push'` — the engine pushes on every hysteresis flip /
|
|
26625
|
+
* availability change; consumers never poll.
|
|
25926
26626
|
*/
|
|
25927
|
-
/** Extensible condition tag. Seeded 'day' | '
|
|
25928
|
-
*
|
|
26627
|
+
/** Extensible condition tag. Seeded 'day' | 'ir' (the two variants the operator
|
|
26628
|
+
* captures) plus 'night' | 'dawn' | 'dusk' from the resolver's sun-times band.
|
|
26629
|
+
* Open by design so more can be added without a wire break.
|
|
26630
|
+
*
|
|
26631
|
+
* Matching does NOT fall back across conditions: cross-condition cosines are
|
|
26632
|
+
* not comparable, so "I have never seen this scene in this light" is reported
|
|
26633
|
+
* as `unknown`, never guessed. A day reference scored against an IR frame
|
|
26634
|
+
* collapses the cosine and would latch a false alarm every single night. */
|
|
25929
26635
|
var SceneConditionSchema = string$2();
|
|
26636
|
+
/**
|
|
26637
|
+
* What a scene does when the CURRENT light has no reference of its own.
|
|
26638
|
+
*
|
|
26639
|
+
* The lighting variants are not equally likely to exist. Almost every operator
|
|
26640
|
+
* captures daylight and then never stands outside at 22:00 to capture IR, and a
|
|
26641
|
+
* scene that is only ever going to be asked about a daytime question ("is the
|
|
26642
|
+
* bin still on the kerb at 08:00") does not need a night reference at all. The
|
|
26643
|
+
* night half must therefore be OPTIONAL, and optional means the scene keeps
|
|
26644
|
+
* working without it rather than degrading into a permanent complaint.
|
|
26645
|
+
*
|
|
26646
|
+
* - `skip` (default) — the check in that light is not made. Not a verdict, not
|
|
26647
|
+
* an alarm, not even an `unknown`: the live state simply stays whatever the
|
|
26648
|
+
* last covered light left it at, the latch is untouched, and the hysteresis
|
|
26649
|
+
* run is neither spent nor cleared. The scene resumes by itself at first
|
|
26650
|
+
* light. This is the only behaviour under which "I never captured IR" is a
|
|
26651
|
+
* configuration choice instead of a nightly fault.
|
|
26652
|
+
* - `judge-anyway` — score against the OTHER conditions' references. Available
|
|
26653
|
+
* for cameras whose IR frame is close enough to daylight (a floodlit
|
|
26654
|
+
* driveway, an always-white-light doorbell), and wrong for everything else:
|
|
26655
|
+
* cross-condition cosines are not comparable, so a day reference against a
|
|
26656
|
+
* true IR frame collapses and the scene reports a theft at 21:40.
|
|
26657
|
+
*
|
|
26658
|
+
* Never applies when the scene has NO comparable reference at all — that is
|
|
26659
|
+
* "not armed yet", it is reported as `no-reference-for-condition`, and silence
|
|
26660
|
+
* there would hide a scene the operator never finished setting up.
|
|
26661
|
+
*/
|
|
26662
|
+
var SceneUncoveredPolicySchema = _enum(["skip", "judge-anyway"]);
|
|
26663
|
+
/** `matched` = the baseline is what we see; `diverged` = it demonstrably is not;
|
|
26664
|
+
* `unknown` = we cannot judge (no reference for this condition, encoder model
|
|
26665
|
+
* changed, view shifted, no snapshot). `unknown` is a real value, not a null,
|
|
26666
|
+
* and never counts toward hysteresis in either direction. */
|
|
26667
|
+
var SceneVerdictSchema = _enum([
|
|
26668
|
+
"matched",
|
|
26669
|
+
"diverged",
|
|
26670
|
+
"unknown"
|
|
26671
|
+
]);
|
|
26672
|
+
/** Why a scene cannot judge. Named, because this feature's failure mode is
|
|
26673
|
+
* silence that reads as "nothing has happened". */
|
|
26674
|
+
var SceneUnavailableSchema = _enum([
|
|
26675
|
+
"no-reference-for-condition",
|
|
26676
|
+
"view-shifted",
|
|
26677
|
+
"no-vision-profile",
|
|
26678
|
+
"encoder-model-changed",
|
|
26679
|
+
"no-snapshot"
|
|
26680
|
+
]);
|
|
25930
26681
|
/** One captured reference — condition-tagged, model-version-gated. `embedding`
|
|
25931
26682
|
* is `number[]` (Float32Array does NOT survive MsgPack/UDS). */
|
|
25932
26683
|
var SceneReferenceSchema = object({
|
|
@@ -25934,7 +26685,14 @@ var SceneReferenceSchema = object({
|
|
|
25934
26685
|
modelId: string$2(),
|
|
25935
26686
|
condition: SceneConditionSchema,
|
|
25936
26687
|
capturedAt: number(),
|
|
25937
|
-
thumbnailMediaId: string$2().optional()
|
|
26688
|
+
thumbnailMediaId: string$2().optional(),
|
|
26689
|
+
/** Whole-frame (downscaled) embedding captured alongside the ROI crop. The
|
|
26690
|
+
* anti-view-shift anchor: a bumped camera, a PTZ preset or a re-aim makes the
|
|
26691
|
+
* normalized rect frame a different piece of world, and the scene would
|
|
26692
|
+
* diverge forever with a perfectly plausible cosine. Checked LAZILY, only
|
|
26693
|
+
* when hysteresis is about to flip — one extra encode per candidate
|
|
26694
|
+
* transition, not per poll. */
|
|
26695
|
+
anchorEmbedding: array(number()).optional()
|
|
25938
26696
|
});
|
|
25939
26697
|
var SceneMonitorStateSchema = object({
|
|
25940
26698
|
id: string$2(),
|
|
@@ -25956,6 +26714,28 @@ var SceneCheckSchema = discriminatedUnion("mode", [object({
|
|
|
25956
26714
|
profileId: string$2().optional(),
|
|
25957
26715
|
hysteresisCount: number().int().positive()
|
|
25958
26716
|
})]);
|
|
26717
|
+
var SCENE_DEFAULT_ANCHOR_THRESHOLD = .85;
|
|
26718
|
+
/** Night is OPTIONAL. A scene with only a daylight reference sits the IR hours
|
|
26719
|
+
* out in silence rather than reporting a fault every night. */
|
|
26720
|
+
var SCENE_DEFAULT_UNCOVERED_POLICY = "skip";
|
|
26721
|
+
/**
|
|
26722
|
+
* Vision-model adjudication of a candidate flip. Field names deliberately
|
|
26723
|
+
* mirror `NcConfirmSchema` so an operator meets one vocabulary, not two.
|
|
26724
|
+
*
|
|
26725
|
+
* `onTimeout` defaults to **'hold'**, the OPPOSITE of `NcConfirmGate`'s
|
|
26726
|
+
* fail-open: a notification suppressed is the worse error there, but a vision
|
|
26727
|
+
* model that timed out has not told us the bin is gone, and a latch is a
|
|
26728
|
+
* stateful claim that costs the operator a trip to reset.
|
|
26729
|
+
*/
|
|
26730
|
+
var SceneConfirmSchema = object({
|
|
26731
|
+
enabled: boolean().default(false),
|
|
26732
|
+
prompt: string$2().min(1).max(1e3),
|
|
26733
|
+
profileId: string$2().optional(),
|
|
26734
|
+
timeoutMs: number().int().min(1e3).max(2e4).default(8e3),
|
|
26735
|
+
maxImagePx: number().int().min(64).max(2048).default(448),
|
|
26736
|
+
/** What a timeout / unavailable model means for the PENDING flip. */
|
|
26737
|
+
onTimeout: _enum(["flip", "hold"]).default("hold")
|
|
26738
|
+
});
|
|
25959
26739
|
var SceneMonitorSchema = object({
|
|
25960
26740
|
id: string$2(),
|
|
25961
26741
|
label: string$2(),
|
|
@@ -25974,7 +26754,56 @@ var SceneMonitorSchema = object({
|
|
|
25974
26754
|
lastConfidence: number().nullable(),
|
|
25975
26755
|
currentCondition: SceneConditionSchema.nullable(),
|
|
25976
26756
|
availability: _enum(["ok", "unavailable"]),
|
|
25977
|
-
unavailableReason: string$2().nullable()
|
|
26757
|
+
unavailableReason: string$2().nullable(),
|
|
26758
|
+
/** Which state is "the initial screen". `null` until the first capture. */
|
|
26759
|
+
baselineStateId: string$2().nullable(),
|
|
26760
|
+
/** Which boolean drives notification rules and any export. */
|
|
26761
|
+
emit: _enum(["latched", "live"]).default("latched"),
|
|
26762
|
+
/** Live: does the region match the baseline RIGHT NOW. */
|
|
26763
|
+
verdict: SceneVerdictSchema,
|
|
26764
|
+
/** Has it been `diverged` at least once since `armedAt` — the operator's boolean. */
|
|
26765
|
+
latched: boolean(),
|
|
26766
|
+
/** Last reset (or creation). */
|
|
26767
|
+
armedAt: number(),
|
|
26768
|
+
divergedAt: number().nullable(),
|
|
26769
|
+
restoredAt: number().nullable(),
|
|
26770
|
+
/** A check is only COUNTED when the device has been quiet this long. Motion
|
|
26771
|
+
* during the window DISCARDS the observation — a car pulling up in front of
|
|
26772
|
+
* the bin must not be able to spend hysteresis credit. */
|
|
26773
|
+
quietSeconds: number().int().min(0).max(3600).default(60),
|
|
26774
|
+
/** An observation only advances the pending count when it is at least this
|
|
26775
|
+
* far from the previously counted one, so N agreeing checks span real time
|
|
26776
|
+
* rather than N adjacent polls inside one occlusion. */
|
|
26777
|
+
minObservationSpacingSec: number().int().min(0).max(3600).default(120),
|
|
26778
|
+
/** Vision-model adjudication of a candidate flip. Similarity primary only. */
|
|
26779
|
+
confirm: SceneConfirmSchema.optional(),
|
|
26780
|
+
/** Whole-frame anchor cosine below which a flip is REFUSED as `view-shifted`. */
|
|
26781
|
+
anchorThreshold: number().min(0).max(1).default(SCENE_DEFAULT_ANCHOR_THRESHOLD),
|
|
26782
|
+
/** Clear the latch on its own when the scene matches again? Default false —
|
|
26783
|
+
* `restoredAt` and the `scene-restored` edge are recorded regardless, so an
|
|
26784
|
+
* automation can react to the bin coming back without the operator's own
|
|
26785
|
+
* alarm silently clearing itself. */
|
|
26786
|
+
autoRestore: boolean().default(false),
|
|
26787
|
+
/** What to do when the current light has no reference of its own. See
|
|
26788
|
+
* {@link SceneUncoveredPolicySchema} — the default makes night OPTIONAL. */
|
|
26789
|
+
onUncoveredCondition: SceneUncoveredPolicySchema.default(SCENE_DEFAULT_UNCOVERED_POLICY),
|
|
26790
|
+
/**
|
|
26791
|
+
* The light whose checks are currently being SAT OUT under
|
|
26792
|
+
* `onUncoveredCondition: 'skip'` — `null` when the scene is checking normally.
|
|
26793
|
+
*
|
|
26794
|
+
* Engine-reported and advisory only: it moves no verdict, no latch and no
|
|
26795
|
+
* hysteresis. It exists so the card can say *"night (IR) — checks paused,
|
|
26796
|
+
* nothing captured in this light"* in the same calm voice as the coverage
|
|
26797
|
+
* line, because the alternative is a scene that silently stops answering
|
|
26798
|
+
* after sunset with nothing anywhere saying why. A skipped check must never
|
|
26799
|
+
* read as a broken one.
|
|
26800
|
+
*/
|
|
26801
|
+
suspendedCondition: SceneConditionSchema.nullable().default(null),
|
|
26802
|
+
/** Named cause when `verdict === 'unknown'`. */
|
|
26803
|
+
unavailable: SceneUnavailableSchema.nullable(),
|
|
26804
|
+
/** Conditions that have at least one comparable reference — the coverage line
|
|
26805
|
+
* ("day ✓ · ir ✓ · dusk ✗") that turns a silent fallback into a visible fact. */
|
|
26806
|
+
coveredConditions: array(SceneConditionSchema)
|
|
25978
26807
|
});
|
|
25979
26808
|
var SceneMonitorStatusSchema = object({
|
|
25980
26809
|
monitors: array(SceneMonitorSchema),
|
|
@@ -25987,12 +26816,6 @@ var sceneMonitorCapability = {
|
|
|
25987
26816
|
kind: "wrapper",
|
|
25988
26817
|
defaultActive: true,
|
|
25989
26818
|
deviceTypes: [DeviceType.Camera],
|
|
25990
|
-
deviceConfig: { ui: {
|
|
25991
|
-
kind: "widget",
|
|
25992
|
-
widgetId: "host/scene-monitor-editor",
|
|
25993
|
-
tab: "scenes",
|
|
25994
|
-
label: "Scenes"
|
|
25995
|
-
} },
|
|
25996
26819
|
methods: {
|
|
25997
26820
|
listScenes: method(object({ deviceId: number() }), SceneMonitorStatusSchema),
|
|
25998
26821
|
createScene: method(object({
|
|
@@ -26023,7 +26846,15 @@ var sceneMonitorCapability = {
|
|
|
26023
26846
|
"both"
|
|
26024
26847
|
]).optional(),
|
|
26025
26848
|
checkIntervalSec: number().optional(),
|
|
26026
|
-
check: SceneCheckSchema.optional()
|
|
26849
|
+
check: SceneCheckSchema.optional(),
|
|
26850
|
+
emit: _enum(["latched", "live"]).optional(),
|
|
26851
|
+
quietSeconds: number().int().min(0).max(3600).optional(),
|
|
26852
|
+
minObservationSpacingSec: number().int().min(0).max(3600).optional(),
|
|
26853
|
+
anchorThreshold: number().min(0).max(1).optional(),
|
|
26854
|
+
autoRestore: boolean().optional(),
|
|
26855
|
+
onUncoveredCondition: SceneUncoveredPolicySchema.optional(),
|
|
26856
|
+
/** `null` clears the vision-model adjudicator. */
|
|
26857
|
+
confirm: SceneConfirmSchema.nullable().optional()
|
|
26027
26858
|
})
|
|
26028
26859
|
}), _void(), {
|
|
26029
26860
|
kind: "mutation",
|
|
@@ -26064,6 +26895,26 @@ var sceneMonitorCapability = {
|
|
|
26064
26895
|
}), _void(), {
|
|
26065
26896
|
kind: "mutation",
|
|
26066
26897
|
auth: "admin"
|
|
26898
|
+
}),
|
|
26899
|
+
/**
|
|
26900
|
+
* Clear the latch, re-arm, and — by default — RE-CAPTURE the baseline for
|
|
26901
|
+
* the CURRENT condition. The bin never goes back in exactly the same spot;
|
|
26902
|
+
* "reset" in the operator's head means *this is the new normal*, and
|
|
26903
|
+
* re-capture is what makes the feature self-healing against slow drift
|
|
26904
|
+
* instead of failing silently weeks later.
|
|
26905
|
+
*
|
|
26906
|
+
* Reachable from three surfaces on this one mutation: the scene card, a
|
|
26907
|
+
* notification button (an `onTrigger` sequence with a `kind:'cap'` step —
|
|
26908
|
+
* no new Notification-Center code at all), and tRPC for scripts.
|
|
26909
|
+
*/
|
|
26910
|
+
resetScene: method(object({
|
|
26911
|
+
deviceId: number(),
|
|
26912
|
+
monitorId: string$2(),
|
|
26913
|
+
/** Defaults to TRUE at the provider seam — see `SCENE_RESET_RECAPTURES`. */
|
|
26914
|
+
recapture: boolean().optional()
|
|
26915
|
+
}), _void(), {
|
|
26916
|
+
kind: "mutation",
|
|
26917
|
+
auth: "admin"
|
|
26067
26918
|
})
|
|
26068
26919
|
},
|
|
26069
26920
|
status: {
|
|
@@ -26300,7 +27151,70 @@ var CamStreamDescriptorSchema = object({
|
|
|
26300
27151
|
/** Transport-specific opaque metadata (e.g. rfc4571 SDP). */
|
|
26301
27152
|
metadata: record(string$2(), unknown()).optional()
|
|
26302
27153
|
});
|
|
26303
|
-
|
|
27154
|
+
/**
|
|
27155
|
+
* `stream-catalog` — device-scoped, provider-implemented. The pull counterpart
|
|
27156
|
+
* of the removed `publishCameraStream` push: a camera provider returns the full
|
|
27157
|
+
* set of stream descriptors it can offer for the device, synchronously, so the
|
|
27158
|
+
* broker can reconcile its registry against the authoritative provider state.
|
|
27159
|
+
*/
|
|
27160
|
+
/**
|
|
27161
|
+
* The catalog as a DURABLE fact rather than a live answer.
|
|
27162
|
+
*
|
|
27163
|
+
* A battery camera's descriptors are profile-stable — they change when the
|
|
27164
|
+
* operator rewrites an encoder profile, not minute to minute — but building
|
|
27165
|
+
* them costs a Baichuan login, which on a sleeping Argus IS a wake. So the
|
|
27166
|
+
* provider is allowed to build them exactly once per profile and must serve
|
|
27167
|
+
* every later pull from a cache.
|
|
27168
|
+
*
|
|
27169
|
+
* Holding that cache only in RAM is what turned a restart into an outage. The
|
|
27170
|
+
* runner comes back with the camera asleep, `buildStreamCatalogUncached`
|
|
27171
|
+
* correctly refuses to wake it, the pull answers `[]`, the broker has no
|
|
27172
|
+
* cam-stream entry to build a broker from, and `webrtcSession.handleOffer`
|
|
27173
|
+
* fails with a flat "No broker for stream" — for as long as the camera sleeps,
|
|
27174
|
+
* which on a battery cam is most of the day. The camera was fine. The stream
|
|
27175
|
+
* was unreachable because the process had forgotten what the camera offers.
|
|
27176
|
+
*
|
|
27177
|
+
* Declaring it here puts it in `device-runtime-state`, the kernel's canonical
|
|
27178
|
+
* declared collection, with the same `restored` durability `battery` uses for
|
|
27179
|
+
* the same reason: the last known value is the only value there is while the
|
|
27180
|
+
* device is asleep. The broker's brokers are therefore always DEFINABLE — it
|
|
27181
|
+
* is the DIAL that wakes a camera, never the catalog (D173).
|
|
27182
|
+
*/
|
|
27183
|
+
var StreamCatalogStateSchema = object({
|
|
27184
|
+
/** The descriptors as last built from a real camera response. Never a guess:
|
|
27185
|
+
* a failed or refused build writes NOTHING, so a restored catalog is always
|
|
27186
|
+
* one the camera itself once produced. */
|
|
27187
|
+
descriptors: array(CamStreamDescriptorSchema),
|
|
27188
|
+
/** Ms epoch of the build that produced {@link descriptors}. Lets the wake
|
|
27189
|
+
* path decide whether the camera's own awake window is worth spending on a
|
|
27190
|
+
* re-read. */
|
|
27191
|
+
lastFetchedAt: number()
|
|
27192
|
+
});
|
|
27193
|
+
var streamCatalogCapability = {
|
|
27194
|
+
name: "stream-catalog",
|
|
27195
|
+
scope: "device",
|
|
27196
|
+
deviceNative: true,
|
|
27197
|
+
mode: "singleton",
|
|
27198
|
+
deviceTypes: [DeviceType.Camera],
|
|
27199
|
+
methods: { getCatalog: method(object({ deviceId: number().int().nonnegative() }), array(CamStreamDescriptorSchema).readonly()) },
|
|
27200
|
+
runtimeState: StreamCatalogStateSchema,
|
|
27201
|
+
/**
|
|
27202
|
+
* Runtime-state durability: **restored** — see the schema doc. A cold
|
|
27203
|
+
* catalog on a sleeping battery camera is not a slow first frame, it is a
|
|
27204
|
+
* camera that cannot be watched at all until it happens to wake.
|
|
27205
|
+
*
|
|
27206
|
+
* Churn is nil by construction: the slice is written only by a SUCCESSFUL
|
|
27207
|
+
* build, and a build only runs when there is no cached copy (or the copy is
|
|
27208
|
+
* a day old and the camera is awake anyway).
|
|
27209
|
+
*
|
|
27210
|
+
* See `RuntimeStateDurability`. Enforced by
|
|
27211
|
+
* `scripts/check-runtime-state-durability.ts`.
|
|
27212
|
+
*/
|
|
27213
|
+
durability: "restored",
|
|
27214
|
+
/** Clock field: written, but excluded from the compare that decides whether
|
|
27215
|
+
* persisting is worth a SQLite commit — the descriptors are the value. */
|
|
27216
|
+
volatileStateFields: ["lastFetchedAt"]
|
|
27217
|
+
};
|
|
26304
27218
|
/** One of the camera's stream profiles. */
|
|
26305
27219
|
var StreamProfileSchema = _enum([
|
|
26306
27220
|
"main",
|
|
@@ -26554,12 +27468,64 @@ var NetworkAddressSchema = object({
|
|
|
26554
27468
|
family: string$2(),
|
|
26555
27469
|
internal: boolean()
|
|
26556
27470
|
});
|
|
27471
|
+
/**
|
|
27472
|
+
* Provenance of the site coordinates, and the whole reason this is not just two
|
|
27473
|
+
* numbers.
|
|
27474
|
+
*
|
|
27475
|
+
* - `operator-set` — a human typed it, or accepted a detection. Authoritative;
|
|
27476
|
+
* nothing overwrites it.
|
|
27477
|
+
* - `derived-from-ip` — the hub geolocated its own public IP once, because a
|
|
27478
|
+
* default that is right to a few kilometres beats the coarse UTC clock split
|
|
27479
|
+
* the sun-times consumers otherwise fall back to.
|
|
27480
|
+
*
|
|
27481
|
+
* The UI shows which one it is. An operator who cannot tell a guess from their
|
|
27482
|
+
* own input will eventually trust the guess.
|
|
27483
|
+
*/
|
|
27484
|
+
var SiteLocationSourceSchema = _enum(["operator-set", "derived-from-ip"]);
|
|
27485
|
+
/**
|
|
27486
|
+
* The read shape: the location plus the honest state of the one-shot derivation.
|
|
27487
|
+
*
|
|
27488
|
+
* `derivationAttemptedAt` is what makes the "one call, ever" contract
|
|
27489
|
+
* inspectable. When it is set and `location` is null, the geo-IP lookup ran and
|
|
27490
|
+
* failed; the hub will NOT try again on its own — the fallback is declared
|
|
27491
|
+
* (consumers degrade to their own last resort) and the operator either types the
|
|
27492
|
+
* coordinates or presses detect.
|
|
27493
|
+
*/
|
|
27494
|
+
var SiteLocationStatusSchema = object({
|
|
27495
|
+
location: object({
|
|
27496
|
+
/** WGS84 decimal degrees. */
|
|
27497
|
+
latitude: number().min(-90).max(90),
|
|
27498
|
+
longitude: number().min(-180).max(180),
|
|
27499
|
+
source: SiteLocationSourceSchema,
|
|
27500
|
+
/** Epoch ms the value was last written. */
|
|
27501
|
+
updatedAt: number(),
|
|
27502
|
+
/**
|
|
27503
|
+
* Human-readable place the geo-IP service reported ("Napoli, IT"). Display
|
|
27504
|
+
* only — never parsed, never matched on. Absent for an operator-typed value.
|
|
27505
|
+
*/
|
|
27506
|
+
label: string$2().optional()
|
|
27507
|
+
}).nullable(),
|
|
27508
|
+
derivationAttemptedAt: number().nullable(),
|
|
27509
|
+
/** Why the last derivation failed, for the UI to show instead of a shrug. */
|
|
27510
|
+
derivationError: string$2().nullable()
|
|
27511
|
+
});
|
|
27512
|
+
/** `null` clears the location and re-arms nothing — the derivation stays spent. */
|
|
27513
|
+
var SetSiteLocationInputSchema = object({
|
|
27514
|
+
latitude: number().min(-90).max(90),
|
|
27515
|
+
longitude: number().min(-180).max(180)
|
|
27516
|
+
}).nullable();
|
|
26557
27517
|
method(_void(), FeatureManifestSchema), method(_void(), HealthStatusSchema), method(_void(), FeatureManifestSchema), method(_void(), array(NetworkAddressSchema).readonly()), method(_void(), unknown().nullable(), { auth: "admin" }), method(record(string$2(), unknown()), _null(), {
|
|
26558
27518
|
kind: "mutation",
|
|
26559
27519
|
auth: "admin"
|
|
26560
27520
|
}), method(_void(), _void(), {
|
|
26561
27521
|
kind: "mutation",
|
|
26562
27522
|
auth: "admin"
|
|
27523
|
+
}), method(_void(), SiteLocationStatusSchema), method(SetSiteLocationInputSchema, SiteLocationStatusSchema, {
|
|
27524
|
+
kind: "mutation",
|
|
27525
|
+
auth: "admin"
|
|
27526
|
+
}), method(_void(), SiteLocationStatusSchema, {
|
|
27527
|
+
kind: "mutation",
|
|
27528
|
+
auth: "admin"
|
|
26563
27529
|
});
|
|
26564
27530
|
/**
|
|
26565
27531
|
* Tamper / case-open detection sensor. Drives Home Assistant
|
|
@@ -27879,6 +28845,7 @@ var DEVICE_LOCAL_STATE_CAPS = {
|
|
|
27879
28845
|
humiditySensor: humiditySensorCapability,
|
|
27880
28846
|
image: imageCapability,
|
|
27881
28847
|
imageSettings: imageSettingsCapability,
|
|
28848
|
+
intercom: intercomCapability,
|
|
27882
28849
|
lawnMowerControl: lawnMowerControlCapability,
|
|
27883
28850
|
lockControl: lockControlCapability,
|
|
27884
28851
|
mediaPlayer: mediaPlayerCapability,
|
|
@@ -27897,6 +28864,7 @@ var DEVICE_LOCAL_STATE_CAPS = {
|
|
|
27897
28864
|
sceneMonitor: sceneMonitorCapability,
|
|
27898
28865
|
scriptRunner: scriptRunnerCapability,
|
|
27899
28866
|
smoke: smokeCapability,
|
|
28867
|
+
streamCatalog: streamCatalogCapability,
|
|
27900
28868
|
streamParams: streamParamsCapability,
|
|
27901
28869
|
switch: switchCapability,
|
|
27902
28870
|
tamper: tamperCapability,
|
|
@@ -28550,6 +29518,15 @@ var BaseDeviceProvider = class extends BaseAddon {
|
|
|
28550
29518
|
labels: ["probe not implemented"]
|
|
28551
29519
|
};
|
|
28552
29520
|
}
|
|
29521
|
+
/**
|
|
29522
|
+
* Top-level devices restored at once in {@link onRestoreDevices}.
|
|
29523
|
+
*
|
|
29524
|
+
* Four covers the fleets this ships to without turning a boot into a burst a
|
|
29525
|
+
* camera NVR answers with a refusal. A provider whose upstream is a single
|
|
29526
|
+
* session with a serial command channel (a Baichuan hub, an NVR that
|
|
29527
|
+
* serialises ISAPI) should lower it; nothing needs to raise it.
|
|
29528
|
+
*/
|
|
29529
|
+
restoreConcurrency = 4;
|
|
28553
29530
|
async restoreDevices(savedDevices) {
|
|
28554
29531
|
await this.onRestoreDevices(savedDevices);
|
|
28555
29532
|
if (savedDevices.length > 0) this.ctx.logger.info(`Restored ${savedDevices.length} ${this.providerName} device(s)`);
|
|
@@ -28581,15 +29558,15 @@ var BaseDeviceProvider = class extends BaseAddon {
|
|
|
28581
29558
|
*/
|
|
28582
29559
|
async onRestoreDevices(savedDevices) {
|
|
28583
29560
|
const restored = /* @__PURE__ */ new Set();
|
|
28584
|
-
|
|
28585
|
-
|
|
29561
|
+
const topLevel = savedDevices.filter((saved) => saved.parentDeviceId === null);
|
|
29562
|
+
const restoreOne = async (saved) => {
|
|
28586
29563
|
const Class = this.deviceClasses[saved.type];
|
|
28587
29564
|
if (!Class) {
|
|
28588
29565
|
this.ctx.logger.warn("No device class registered for restored type — skipping", {
|
|
28589
29566
|
tags: { stableId: saved.stableId },
|
|
28590
29567
|
meta: { type: saved.type }
|
|
28591
29568
|
});
|
|
28592
|
-
|
|
29569
|
+
return;
|
|
28593
29570
|
}
|
|
28594
29571
|
try {
|
|
28595
29572
|
await this.ctx.kernel.devices.create(saved.stableId, Class, {});
|
|
@@ -28603,7 +29580,15 @@ var BaseDeviceProvider = class extends BaseAddon {
|
|
|
28603
29580
|
}
|
|
28604
29581
|
});
|
|
28605
29582
|
}
|
|
28606
|
-
}
|
|
29583
|
+
};
|
|
29584
|
+
let nextTopLevel = 0;
|
|
29585
|
+
await Promise.all(Array.from({ length: Math.min(Math.max(1, this.restoreConcurrency), topLevel.length) }, async () => {
|
|
29586
|
+
for (;;) {
|
|
29587
|
+
const saved = topLevel[nextTopLevel++];
|
|
29588
|
+
if (saved === void 0) return;
|
|
29589
|
+
await restoreOne(saved);
|
|
29590
|
+
}
|
|
29591
|
+
}));
|
|
28607
29592
|
const childRows = savedDevices.filter((s) => s.parentDeviceId !== null);
|
|
28608
29593
|
for (const saved of childRows) {
|
|
28609
29594
|
const Class = this.deviceClasses[saved.type];
|
|
@@ -30694,6 +31679,12 @@ Object.freeze({
|
|
|
30694
31679
|
addonId: null,
|
|
30695
31680
|
access: "create"
|
|
30696
31681
|
},
|
|
31682
|
+
"llm.cancel": {
|
|
31683
|
+
capName: "llm",
|
|
31684
|
+
capScope: "system",
|
|
31685
|
+
addonId: null,
|
|
31686
|
+
access: "create"
|
|
31687
|
+
},
|
|
30697
31688
|
"llm.deleteModel": {
|
|
30698
31689
|
capName: "llm",
|
|
30699
31690
|
capScope: "system",
|
|
@@ -30778,6 +31769,12 @@ Object.freeze({
|
|
|
30778
31769
|
addonId: null,
|
|
30779
31770
|
access: "view"
|
|
30780
31771
|
},
|
|
31772
|
+
"llm.resolveModelRef": {
|
|
31773
|
+
capName: "llm",
|
|
31774
|
+
capScope: "system",
|
|
31775
|
+
addonId: null,
|
|
31776
|
+
access: "create"
|
|
31777
|
+
},
|
|
30781
31778
|
"llm.setDefault": {
|
|
30782
31779
|
capName: "llm",
|
|
30783
31780
|
capScope: "system",
|
|
@@ -32944,6 +33941,12 @@ Object.freeze({
|
|
|
32944
33941
|
addonId: null,
|
|
32945
33942
|
access: "create"
|
|
32946
33943
|
},
|
|
33944
|
+
"sceneMonitor.resetScene": {
|
|
33945
|
+
capName: "scene-monitor",
|
|
33946
|
+
capScope: "device",
|
|
33947
|
+
addonId: null,
|
|
33948
|
+
access: "delete"
|
|
33949
|
+
},
|
|
32947
33950
|
"sceneMonitor.updateScene": {
|
|
32948
33951
|
capName: "scene-monitor",
|
|
32949
33952
|
capScope: "device",
|
|
@@ -33622,6 +34625,12 @@ Object.freeze({
|
|
|
33622
34625
|
addonId: null,
|
|
33623
34626
|
access: "create"
|
|
33624
34627
|
},
|
|
34628
|
+
"system.detectSiteLocation": {
|
|
34629
|
+
capName: "system",
|
|
34630
|
+
capScope: "system",
|
|
34631
|
+
addonId: null,
|
|
34632
|
+
access: "create"
|
|
34633
|
+
},
|
|
33625
34634
|
"system.featureFlags": {
|
|
33626
34635
|
capName: "system",
|
|
33627
34636
|
capScope: "system",
|
|
@@ -33640,6 +34649,12 @@ Object.freeze({
|
|
|
33640
34649
|
addonId: null,
|
|
33641
34650
|
access: "view"
|
|
33642
34651
|
},
|
|
34652
|
+
"system.getSiteLocation": {
|
|
34653
|
+
capName: "system",
|
|
34654
|
+
capScope: "system",
|
|
34655
|
+
addonId: null,
|
|
34656
|
+
access: "view"
|
|
34657
|
+
},
|
|
33643
34658
|
"system.health": {
|
|
33644
34659
|
capName: "system",
|
|
33645
34660
|
capScope: "system",
|
|
@@ -33664,6 +34679,12 @@ Object.freeze({
|
|
|
33664
34679
|
addonId: null,
|
|
33665
34680
|
access: "create"
|
|
33666
34681
|
},
|
|
34682
|
+
"system.setSiteLocation": {
|
|
34683
|
+
capName: "system",
|
|
34684
|
+
capScope: "system",
|
|
34685
|
+
addonId: null,
|
|
34686
|
+
access: "create"
|
|
34687
|
+
},
|
|
33667
34688
|
"terminalSession.adoptLegacyMonitor": {
|
|
33668
34689
|
capName: "terminal-session",
|
|
33669
34690
|
capScope: "system",
|
|
@@ -34235,6 +35256,1704 @@ Object.freeze({
|
|
|
34235
35256
|
access: "create"
|
|
34236
35257
|
}
|
|
34237
35258
|
});
|
|
35259
|
+
Object.freeze({
|
|
35260
|
+
"accessories.setChildHidden": [{
|
|
35261
|
+
name: "childDeviceId",
|
|
35262
|
+
form: "single",
|
|
35263
|
+
optional: false
|
|
35264
|
+
}, {
|
|
35265
|
+
name: "deviceId",
|
|
35266
|
+
form: "single",
|
|
35267
|
+
optional: false
|
|
35268
|
+
}],
|
|
35269
|
+
"addonSettings.getDeviceSettings": [{
|
|
35270
|
+
name: "deviceId",
|
|
35271
|
+
form: "single",
|
|
35272
|
+
optional: false
|
|
35273
|
+
}],
|
|
35274
|
+
"addonSettings.updateDeviceSettings": [{
|
|
35275
|
+
name: "deviceId",
|
|
35276
|
+
form: "single",
|
|
35277
|
+
optional: false
|
|
35278
|
+
}],
|
|
35279
|
+
"alarmPanel.arm": [{
|
|
35280
|
+
name: "deviceId",
|
|
35281
|
+
form: "single",
|
|
35282
|
+
optional: false
|
|
35283
|
+
}],
|
|
35284
|
+
"alarmPanel.disarm": [{
|
|
35285
|
+
name: "deviceId",
|
|
35286
|
+
form: "single",
|
|
35287
|
+
optional: false
|
|
35288
|
+
}],
|
|
35289
|
+
"alarmPanel.trigger": [{
|
|
35290
|
+
name: "deviceId",
|
|
35291
|
+
form: "single",
|
|
35292
|
+
optional: false
|
|
35293
|
+
}],
|
|
35294
|
+
"audioAnalysis.resolveDeviceSettings": [{
|
|
35295
|
+
name: "deviceId",
|
|
35296
|
+
form: "single",
|
|
35297
|
+
optional: false
|
|
35298
|
+
}],
|
|
35299
|
+
"audioAnalyzer.classify": [{
|
|
35300
|
+
name: "deviceId",
|
|
35301
|
+
form: "single",
|
|
35302
|
+
optional: true
|
|
35303
|
+
}],
|
|
35304
|
+
"audioMetrics.getCurrentSnapshot": [{
|
|
35305
|
+
name: "deviceId",
|
|
35306
|
+
form: "single",
|
|
35307
|
+
optional: false
|
|
35308
|
+
}],
|
|
35309
|
+
"audioMetrics.getHistory": [{
|
|
35310
|
+
name: "deviceId",
|
|
35311
|
+
form: "single",
|
|
35312
|
+
optional: false
|
|
35313
|
+
}],
|
|
35314
|
+
"automationControl.disable": [{
|
|
35315
|
+
name: "deviceId",
|
|
35316
|
+
form: "single",
|
|
35317
|
+
optional: false
|
|
35318
|
+
}],
|
|
35319
|
+
"automationControl.enable": [{
|
|
35320
|
+
name: "deviceId",
|
|
35321
|
+
form: "single",
|
|
35322
|
+
optional: false
|
|
35323
|
+
}],
|
|
35324
|
+
"automationControl.trigger": [{
|
|
35325
|
+
name: "deviceId",
|
|
35326
|
+
form: "single",
|
|
35327
|
+
optional: false
|
|
35328
|
+
}],
|
|
35329
|
+
"battery.wakeForStream": [{
|
|
35330
|
+
name: "deviceId",
|
|
35331
|
+
form: "single",
|
|
35332
|
+
optional: false
|
|
35333
|
+
}],
|
|
35334
|
+
"brightness.setBrightness": [{
|
|
35335
|
+
name: "deviceId",
|
|
35336
|
+
form: "single",
|
|
35337
|
+
optional: false
|
|
35338
|
+
}],
|
|
35339
|
+
"button.press": [{
|
|
35340
|
+
name: "deviceId",
|
|
35341
|
+
form: "single",
|
|
35342
|
+
optional: false
|
|
35343
|
+
}],
|
|
35344
|
+
"cameraCredentials.getCredentials": [{
|
|
35345
|
+
name: "deviceId",
|
|
35346
|
+
form: "single",
|
|
35347
|
+
optional: false
|
|
35348
|
+
}],
|
|
35349
|
+
"cameraStreams.getBrokerStreams": [{
|
|
35350
|
+
name: "deviceId",
|
|
35351
|
+
form: "single",
|
|
35352
|
+
optional: false
|
|
35353
|
+
}],
|
|
35354
|
+
"cameraStreams.getCameraStreams": [{
|
|
35355
|
+
name: "deviceId",
|
|
35356
|
+
form: "single",
|
|
35357
|
+
optional: false
|
|
35358
|
+
}],
|
|
35359
|
+
"cameraStreams.getProfileRtspEntries": [{
|
|
35360
|
+
name: "deviceId",
|
|
35361
|
+
form: "single",
|
|
35362
|
+
optional: false
|
|
35363
|
+
}],
|
|
35364
|
+
"cameraStreams.getRtspEntries": [{
|
|
35365
|
+
name: "deviceId",
|
|
35366
|
+
form: "single",
|
|
35367
|
+
optional: false
|
|
35368
|
+
}],
|
|
35369
|
+
"cameraStreams.pickStream": [{
|
|
35370
|
+
name: "deviceId",
|
|
35371
|
+
form: "single",
|
|
35372
|
+
optional: false
|
|
35373
|
+
}],
|
|
35374
|
+
"climateControl.setFanMode": [{
|
|
35375
|
+
name: "deviceId",
|
|
35376
|
+
form: "single",
|
|
35377
|
+
optional: false
|
|
35378
|
+
}],
|
|
35379
|
+
"climateControl.setMode": [{
|
|
35380
|
+
name: "deviceId",
|
|
35381
|
+
form: "single",
|
|
35382
|
+
optional: false
|
|
35383
|
+
}],
|
|
35384
|
+
"climateControl.setPreset": [{
|
|
35385
|
+
name: "deviceId",
|
|
35386
|
+
form: "single",
|
|
35387
|
+
optional: false
|
|
35388
|
+
}],
|
|
35389
|
+
"climateControl.setSwingHorizontal": [{
|
|
35390
|
+
name: "deviceId",
|
|
35391
|
+
form: "single",
|
|
35392
|
+
optional: false
|
|
35393
|
+
}],
|
|
35394
|
+
"climateControl.setSwingVertical": [{
|
|
35395
|
+
name: "deviceId",
|
|
35396
|
+
form: "single",
|
|
35397
|
+
optional: false
|
|
35398
|
+
}],
|
|
35399
|
+
"climateControl.setTarget": [{
|
|
35400
|
+
name: "deviceId",
|
|
35401
|
+
form: "single",
|
|
35402
|
+
optional: false
|
|
35403
|
+
}],
|
|
35404
|
+
"climateControl.setTargetHumidity": [{
|
|
35405
|
+
name: "deviceId",
|
|
35406
|
+
form: "single",
|
|
35407
|
+
optional: false
|
|
35408
|
+
}],
|
|
35409
|
+
"climateControl.setTargetRange": [{
|
|
35410
|
+
name: "deviceId",
|
|
35411
|
+
form: "single",
|
|
35412
|
+
optional: false
|
|
35413
|
+
}],
|
|
35414
|
+
"color.setColor": [{
|
|
35415
|
+
name: "deviceId",
|
|
35416
|
+
form: "single",
|
|
35417
|
+
optional: false
|
|
35418
|
+
}],
|
|
35419
|
+
"consumables.reset": [{
|
|
35420
|
+
name: "deviceId",
|
|
35421
|
+
form: "single",
|
|
35422
|
+
optional: false
|
|
35423
|
+
}],
|
|
35424
|
+
"control.setValue": [{
|
|
35425
|
+
name: "deviceId",
|
|
35426
|
+
form: "single",
|
|
35427
|
+
optional: false
|
|
35428
|
+
}],
|
|
35429
|
+
"cover.close": [{
|
|
35430
|
+
name: "deviceId",
|
|
35431
|
+
form: "single",
|
|
35432
|
+
optional: false
|
|
35433
|
+
}],
|
|
35434
|
+
"cover.open": [{
|
|
35435
|
+
name: "deviceId",
|
|
35436
|
+
form: "single",
|
|
35437
|
+
optional: false
|
|
35438
|
+
}],
|
|
35439
|
+
"cover.setPosition": [{
|
|
35440
|
+
name: "deviceId",
|
|
35441
|
+
form: "single",
|
|
35442
|
+
optional: false
|
|
35443
|
+
}],
|
|
35444
|
+
"cover.setTiltPosition": [{
|
|
35445
|
+
name: "deviceId",
|
|
35446
|
+
form: "single",
|
|
35447
|
+
optional: false
|
|
35448
|
+
}],
|
|
35449
|
+
"cover.stop": [{
|
|
35450
|
+
name: "deviceId",
|
|
35451
|
+
form: "single",
|
|
35452
|
+
optional: false
|
|
35453
|
+
}],
|
|
35454
|
+
"dayNight.getOptions": [{
|
|
35455
|
+
name: "deviceId",
|
|
35456
|
+
form: "single",
|
|
35457
|
+
optional: false
|
|
35458
|
+
}],
|
|
35459
|
+
"dayNight.setSettings": [{
|
|
35460
|
+
name: "deviceId",
|
|
35461
|
+
form: "single",
|
|
35462
|
+
optional: false
|
|
35463
|
+
}],
|
|
35464
|
+
"decoder.createSession": [{
|
|
35465
|
+
name: "deviceId",
|
|
35466
|
+
form: "single",
|
|
35467
|
+
optional: true
|
|
35468
|
+
}],
|
|
35469
|
+
"deviceAdoption.release": [{
|
|
35470
|
+
name: "camDeviceId",
|
|
35471
|
+
form: "single",
|
|
35472
|
+
optional: false
|
|
35473
|
+
}],
|
|
35474
|
+
"deviceAdoption.resync": [{
|
|
35475
|
+
name: "camDeviceId",
|
|
35476
|
+
form: "single",
|
|
35477
|
+
optional: false
|
|
35478
|
+
}],
|
|
35479
|
+
"deviceDiscovery.adoptDevice": [{
|
|
35480
|
+
name: "deviceId",
|
|
35481
|
+
form: "single",
|
|
35482
|
+
optional: false
|
|
35483
|
+
}],
|
|
35484
|
+
"deviceDiscovery.listDiscovered": [{
|
|
35485
|
+
name: "deviceId",
|
|
35486
|
+
form: "single",
|
|
35487
|
+
optional: false
|
|
35488
|
+
}],
|
|
35489
|
+
"deviceDiscovery.refreshDiscovery": [{
|
|
35490
|
+
name: "deviceId",
|
|
35491
|
+
form: "single",
|
|
35492
|
+
optional: false
|
|
35493
|
+
}],
|
|
35494
|
+
"deviceDiscovery.releaseDevice": [{
|
|
35495
|
+
name: "childDeviceId",
|
|
35496
|
+
form: "single",
|
|
35497
|
+
optional: false
|
|
35498
|
+
}, {
|
|
35499
|
+
name: "deviceId",
|
|
35500
|
+
form: "single",
|
|
35501
|
+
optional: false
|
|
35502
|
+
}],
|
|
35503
|
+
"deviceManager.adoptionRelease": [{
|
|
35504
|
+
name: "camDeviceId",
|
|
35505
|
+
form: "single",
|
|
35506
|
+
optional: false
|
|
35507
|
+
}],
|
|
35508
|
+
"deviceManager.adoptionResync": [{
|
|
35509
|
+
name: "camDeviceId",
|
|
35510
|
+
form: "single",
|
|
35511
|
+
optional: false
|
|
35512
|
+
}],
|
|
35513
|
+
"deviceManager.applyInitialMeta": [{
|
|
35514
|
+
name: "deviceId",
|
|
35515
|
+
form: "single",
|
|
35516
|
+
optional: false
|
|
35517
|
+
}, {
|
|
35518
|
+
name: "linkDeviceId",
|
|
35519
|
+
form: "single",
|
|
35520
|
+
optional: true
|
|
35521
|
+
}],
|
|
35522
|
+
"deviceManager.disable": [{
|
|
35523
|
+
name: "deviceId",
|
|
35524
|
+
form: "single",
|
|
35525
|
+
optional: false
|
|
35526
|
+
}],
|
|
35527
|
+
"deviceManager.enable": [{
|
|
35528
|
+
name: "deviceId",
|
|
35529
|
+
form: "single",
|
|
35530
|
+
optional: false
|
|
35531
|
+
}],
|
|
35532
|
+
"deviceManager.getBindings": [{
|
|
35533
|
+
name: "deviceId",
|
|
35534
|
+
form: "single",
|
|
35535
|
+
optional: false
|
|
35536
|
+
}],
|
|
35537
|
+
"deviceManager.getChildren": [{
|
|
35538
|
+
name: "parentDeviceId",
|
|
35539
|
+
form: "single",
|
|
35540
|
+
optional: false
|
|
35541
|
+
}],
|
|
35542
|
+
"deviceManager.getConfigSchema": [{
|
|
35543
|
+
name: "deviceId",
|
|
35544
|
+
form: "single",
|
|
35545
|
+
optional: false
|
|
35546
|
+
}],
|
|
35547
|
+
"deviceManager.getDevice": [{
|
|
35548
|
+
name: "deviceId",
|
|
35549
|
+
form: "single",
|
|
35550
|
+
optional: false
|
|
35551
|
+
}],
|
|
35552
|
+
"deviceManager.getDeviceAggregate": [{
|
|
35553
|
+
name: "deviceId",
|
|
35554
|
+
form: "single",
|
|
35555
|
+
optional: false
|
|
35556
|
+
}],
|
|
35557
|
+
"deviceManager.getDeviceLiveInfoAggregate": [{
|
|
35558
|
+
name: "deviceId",
|
|
35559
|
+
form: "single",
|
|
35560
|
+
optional: false
|
|
35561
|
+
}],
|
|
35562
|
+
"deviceManager.getDeviceSettingsAggregate": [{
|
|
35563
|
+
name: "deviceId",
|
|
35564
|
+
form: "single",
|
|
35565
|
+
optional: false
|
|
35566
|
+
}],
|
|
35567
|
+
"deviceManager.getDeviceStatusAggregate": [{
|
|
35568
|
+
name: "deviceId",
|
|
35569
|
+
form: "single",
|
|
35570
|
+
optional: false
|
|
35571
|
+
}],
|
|
35572
|
+
"deviceManager.getDeviceStatusAggregateBatch": [{
|
|
35573
|
+
name: "deviceIds",
|
|
35574
|
+
form: "array",
|
|
35575
|
+
optional: false
|
|
35576
|
+
}],
|
|
35577
|
+
"deviceManager.getLinkedDevices": [{
|
|
35578
|
+
name: "deviceId",
|
|
35579
|
+
form: "single",
|
|
35580
|
+
optional: false
|
|
35581
|
+
}],
|
|
35582
|
+
"deviceManager.getSettingsSchema": [{
|
|
35583
|
+
name: "deviceId",
|
|
35584
|
+
form: "single",
|
|
35585
|
+
optional: false
|
|
35586
|
+
}],
|
|
35587
|
+
"deviceManager.getStreamProfileMap": [{
|
|
35588
|
+
name: "deviceId",
|
|
35589
|
+
form: "single",
|
|
35590
|
+
optional: false
|
|
35591
|
+
}],
|
|
35592
|
+
"deviceManager.getStreamSources": [{
|
|
35593
|
+
name: "deviceId",
|
|
35594
|
+
form: "single",
|
|
35595
|
+
optional: false
|
|
35596
|
+
}],
|
|
35597
|
+
"deviceManager.getWireableFields": [{
|
|
35598
|
+
name: "deviceId",
|
|
35599
|
+
form: "single",
|
|
35600
|
+
optional: false
|
|
35601
|
+
}],
|
|
35602
|
+
"deviceManager.loadConfig": [{
|
|
35603
|
+
name: "deviceId",
|
|
35604
|
+
form: "single",
|
|
35605
|
+
optional: false
|
|
35606
|
+
}],
|
|
35607
|
+
"deviceManager.loadMeta": [{
|
|
35608
|
+
name: "deviceId",
|
|
35609
|
+
form: "single",
|
|
35610
|
+
optional: false
|
|
35611
|
+
}],
|
|
35612
|
+
"deviceManager.loadRuntimeState": [{
|
|
35613
|
+
name: "deviceId",
|
|
35614
|
+
form: "single",
|
|
35615
|
+
optional: false
|
|
35616
|
+
}],
|
|
35617
|
+
"deviceManager.persistConfig": [{
|
|
35618
|
+
name: "deviceId",
|
|
35619
|
+
form: "single",
|
|
35620
|
+
optional: false
|
|
35621
|
+
}],
|
|
35622
|
+
"deviceManager.probeStreams": [{
|
|
35623
|
+
name: "deviceId",
|
|
35624
|
+
form: "single",
|
|
35625
|
+
optional: false
|
|
35626
|
+
}],
|
|
35627
|
+
"deviceManager.registerDevice": [{
|
|
35628
|
+
name: "parentDeviceId",
|
|
35629
|
+
form: "single",
|
|
35630
|
+
optional: true
|
|
35631
|
+
}],
|
|
35632
|
+
"deviceManager.remove": [{
|
|
35633
|
+
name: "deviceId",
|
|
35634
|
+
form: "single",
|
|
35635
|
+
optional: false
|
|
35636
|
+
}],
|
|
35637
|
+
"deviceManager.removeDevice": [{
|
|
35638
|
+
name: "deviceId",
|
|
35639
|
+
form: "single",
|
|
35640
|
+
optional: false
|
|
35641
|
+
}],
|
|
35642
|
+
"deviceManager.runDeviceAction": [{
|
|
35643
|
+
name: "deviceId",
|
|
35644
|
+
form: "single",
|
|
35645
|
+
optional: false
|
|
35646
|
+
}],
|
|
35647
|
+
"deviceManager.setChildLayout": [{
|
|
35648
|
+
name: "deviceId",
|
|
35649
|
+
form: "single",
|
|
35650
|
+
optional: false
|
|
35651
|
+
}],
|
|
35652
|
+
"deviceManager.setDisabled": [{
|
|
35653
|
+
name: "deviceId",
|
|
35654
|
+
form: "single",
|
|
35655
|
+
optional: false
|
|
35656
|
+
}],
|
|
35657
|
+
"deviceManager.setDisplay": [{
|
|
35658
|
+
name: "deviceId",
|
|
35659
|
+
form: "single",
|
|
35660
|
+
optional: false
|
|
35661
|
+
}],
|
|
35662
|
+
"deviceManager.setIntegrationId": [{
|
|
35663
|
+
name: "deviceId",
|
|
35664
|
+
form: "single",
|
|
35665
|
+
optional: false
|
|
35666
|
+
}],
|
|
35667
|
+
"deviceManager.setLinkDeviceId": [{
|
|
35668
|
+
name: "deviceId",
|
|
35669
|
+
form: "single",
|
|
35670
|
+
optional: false
|
|
35671
|
+
}, {
|
|
35672
|
+
name: "linkDeviceId",
|
|
35673
|
+
form: "single",
|
|
35674
|
+
optional: true
|
|
35675
|
+
}],
|
|
35676
|
+
"deviceManager.setLocation": [{
|
|
35677
|
+
name: "deviceId",
|
|
35678
|
+
form: "single",
|
|
35679
|
+
optional: false
|
|
35680
|
+
}],
|
|
35681
|
+
"deviceManager.setMetadata": [{
|
|
35682
|
+
name: "deviceId",
|
|
35683
|
+
form: "single",
|
|
35684
|
+
optional: false
|
|
35685
|
+
}],
|
|
35686
|
+
"deviceManager.setName": [{
|
|
35687
|
+
name: "deviceId",
|
|
35688
|
+
form: "single",
|
|
35689
|
+
optional: false
|
|
35690
|
+
}],
|
|
35691
|
+
"deviceManager.setPrimaryChildEntityId": [{
|
|
35692
|
+
name: "deviceId",
|
|
35693
|
+
form: "single",
|
|
35694
|
+
optional: false
|
|
35695
|
+
}],
|
|
35696
|
+
"deviceManager.setRole": [{
|
|
35697
|
+
name: "deviceId",
|
|
35698
|
+
form: "single",
|
|
35699
|
+
optional: false
|
|
35700
|
+
}],
|
|
35701
|
+
"deviceManager.setStreamProfileMap": [{
|
|
35702
|
+
name: "deviceId",
|
|
35703
|
+
form: "single",
|
|
35704
|
+
optional: false
|
|
35705
|
+
}],
|
|
35706
|
+
"deviceManager.setType": [{
|
|
35707
|
+
name: "deviceId",
|
|
35708
|
+
form: "single",
|
|
35709
|
+
optional: false
|
|
35710
|
+
}],
|
|
35711
|
+
"deviceManager.setWrapperActive": [{
|
|
35712
|
+
name: "deviceId",
|
|
35713
|
+
form: "single",
|
|
35714
|
+
optional: false
|
|
35715
|
+
}],
|
|
35716
|
+
"deviceManager.testField": [{
|
|
35717
|
+
name: "deviceId",
|
|
35718
|
+
form: "single",
|
|
35719
|
+
optional: false
|
|
35720
|
+
}],
|
|
35721
|
+
"deviceManager.updateConfig": [{
|
|
35722
|
+
name: "deviceId",
|
|
35723
|
+
form: "single",
|
|
35724
|
+
optional: false
|
|
35725
|
+
}],
|
|
35726
|
+
"deviceManager.updateDeviceField": [{
|
|
35727
|
+
name: "deviceId",
|
|
35728
|
+
form: "single",
|
|
35729
|
+
optional: false
|
|
35730
|
+
}],
|
|
35731
|
+
"deviceManager.updateDeviceFieldsBatch": [{
|
|
35732
|
+
name: "deviceId",
|
|
35733
|
+
form: "single",
|
|
35734
|
+
optional: false
|
|
35735
|
+
}],
|
|
35736
|
+
"deviceOps.getConfigEntries": [{
|
|
35737
|
+
name: "deviceId",
|
|
35738
|
+
form: "single",
|
|
35739
|
+
optional: false
|
|
35740
|
+
}],
|
|
35741
|
+
"deviceOps.getRawState": [{
|
|
35742
|
+
name: "deviceId",
|
|
35743
|
+
form: "single",
|
|
35744
|
+
optional: false
|
|
35745
|
+
}],
|
|
35746
|
+
"deviceOps.getSettingsSchema": [{
|
|
35747
|
+
name: "deviceId",
|
|
35748
|
+
form: "single",
|
|
35749
|
+
optional: false
|
|
35750
|
+
}],
|
|
35751
|
+
"deviceOps.getStreamSources": [{
|
|
35752
|
+
name: "deviceId",
|
|
35753
|
+
form: "single",
|
|
35754
|
+
optional: false
|
|
35755
|
+
}],
|
|
35756
|
+
"deviceOps.removeDevice": [{
|
|
35757
|
+
name: "deviceId",
|
|
35758
|
+
form: "single",
|
|
35759
|
+
optional: false
|
|
35760
|
+
}],
|
|
35761
|
+
"deviceOps.runAction": [{
|
|
35762
|
+
name: "deviceId",
|
|
35763
|
+
form: "single",
|
|
35764
|
+
optional: false
|
|
35765
|
+
}],
|
|
35766
|
+
"deviceOps.setConfig": [{
|
|
35767
|
+
name: "deviceId",
|
|
35768
|
+
form: "single",
|
|
35769
|
+
optional: false
|
|
35770
|
+
}],
|
|
35771
|
+
"deviceState.getCapSlice": [{
|
|
35772
|
+
name: "deviceId",
|
|
35773
|
+
form: "single",
|
|
35774
|
+
optional: false
|
|
35775
|
+
}],
|
|
35776
|
+
"deviceState.getSnapshot": [{
|
|
35777
|
+
name: "deviceId",
|
|
35778
|
+
form: "single",
|
|
35779
|
+
optional: false
|
|
35780
|
+
}],
|
|
35781
|
+
"deviceState.setCapSlice": [{
|
|
35782
|
+
name: "deviceId",
|
|
35783
|
+
form: "single",
|
|
35784
|
+
optional: false
|
|
35785
|
+
}],
|
|
35786
|
+
"events.getEventClipUrl": [{
|
|
35787
|
+
name: "deviceId",
|
|
35788
|
+
form: "single",
|
|
35789
|
+
optional: false
|
|
35790
|
+
}],
|
|
35791
|
+
"events.getEvents": [{
|
|
35792
|
+
name: "deviceId",
|
|
35793
|
+
form: "single",
|
|
35794
|
+
optional: false
|
|
35795
|
+
}],
|
|
35796
|
+
"events.getEventThumbnail": [{
|
|
35797
|
+
name: "deviceId",
|
|
35798
|
+
form: "single",
|
|
35799
|
+
optional: false
|
|
35800
|
+
}],
|
|
35801
|
+
"faceGallery.getFaceByTrack": [{
|
|
35802
|
+
name: "deviceId",
|
|
35803
|
+
form: "single",
|
|
35804
|
+
optional: false
|
|
35805
|
+
}],
|
|
35806
|
+
"faceGallery.listRecentFaces": [{
|
|
35807
|
+
name: "deviceId",
|
|
35808
|
+
form: "single",
|
|
35809
|
+
optional: true
|
|
35810
|
+
}],
|
|
35811
|
+
"fanControl.setDirection": [{
|
|
35812
|
+
name: "deviceId",
|
|
35813
|
+
form: "single",
|
|
35814
|
+
optional: false
|
|
35815
|
+
}],
|
|
35816
|
+
"fanControl.setOscillating": [{
|
|
35817
|
+
name: "deviceId",
|
|
35818
|
+
form: "single",
|
|
35819
|
+
optional: false
|
|
35820
|
+
}],
|
|
35821
|
+
"fanControl.setPercentage": [{
|
|
35822
|
+
name: "deviceId",
|
|
35823
|
+
form: "single",
|
|
35824
|
+
optional: false
|
|
35825
|
+
}],
|
|
35826
|
+
"fanControl.setPreset": [{
|
|
35827
|
+
name: "deviceId",
|
|
35828
|
+
form: "single",
|
|
35829
|
+
optional: false
|
|
35830
|
+
}],
|
|
35831
|
+
"humidifier.setMode": [{
|
|
35832
|
+
name: "deviceId",
|
|
35833
|
+
form: "single",
|
|
35834
|
+
optional: false
|
|
35835
|
+
}],
|
|
35836
|
+
"humidifier.setOn": [{
|
|
35837
|
+
name: "deviceId",
|
|
35838
|
+
form: "single",
|
|
35839
|
+
optional: false
|
|
35840
|
+
}],
|
|
35841
|
+
"humidifier.setTargetHumidity": [{
|
|
35842
|
+
name: "deviceId",
|
|
35843
|
+
form: "single",
|
|
35844
|
+
optional: false
|
|
35845
|
+
}],
|
|
35846
|
+
"imageSettings.getOptions": [{
|
|
35847
|
+
name: "deviceId",
|
|
35848
|
+
form: "single",
|
|
35849
|
+
optional: false
|
|
35850
|
+
}],
|
|
35851
|
+
"imageSettings.setSettings": [{
|
|
35852
|
+
name: "deviceId",
|
|
35853
|
+
form: "single",
|
|
35854
|
+
optional: false
|
|
35855
|
+
}],
|
|
35856
|
+
"intercom.endTalkSession": [{
|
|
35857
|
+
name: "deviceId",
|
|
35858
|
+
form: "single",
|
|
35859
|
+
optional: false
|
|
35860
|
+
}],
|
|
35861
|
+
"intercom.handleAnswer": [{
|
|
35862
|
+
name: "deviceId",
|
|
35863
|
+
form: "single",
|
|
35864
|
+
optional: false
|
|
35865
|
+
}],
|
|
35866
|
+
"intercom.pushTalkAudio": [{
|
|
35867
|
+
name: "deviceId",
|
|
35868
|
+
form: "single",
|
|
35869
|
+
optional: false
|
|
35870
|
+
}],
|
|
35871
|
+
"intercom.startSession": [{
|
|
35872
|
+
name: "deviceId",
|
|
35873
|
+
form: "single",
|
|
35874
|
+
optional: false
|
|
35875
|
+
}],
|
|
35876
|
+
"intercom.startTalkSession": [{
|
|
35877
|
+
name: "deviceId",
|
|
35878
|
+
form: "single",
|
|
35879
|
+
optional: false
|
|
35880
|
+
}],
|
|
35881
|
+
"intercom.stopSession": [{
|
|
35882
|
+
name: "deviceId",
|
|
35883
|
+
form: "single",
|
|
35884
|
+
optional: false
|
|
35885
|
+
}],
|
|
35886
|
+
"lawnMowerControl.dock": [{
|
|
35887
|
+
name: "deviceId",
|
|
35888
|
+
form: "single",
|
|
35889
|
+
optional: false
|
|
35890
|
+
}],
|
|
35891
|
+
"lawnMowerControl.pause": [{
|
|
35892
|
+
name: "deviceId",
|
|
35893
|
+
form: "single",
|
|
35894
|
+
optional: false
|
|
35895
|
+
}],
|
|
35896
|
+
"lawnMowerControl.startMowing": [{
|
|
35897
|
+
name: "deviceId",
|
|
35898
|
+
form: "single",
|
|
35899
|
+
optional: false
|
|
35900
|
+
}],
|
|
35901
|
+
"lockControl.lock": [{
|
|
35902
|
+
name: "deviceId",
|
|
35903
|
+
form: "single",
|
|
35904
|
+
optional: false
|
|
35905
|
+
}],
|
|
35906
|
+
"lockControl.open": [{
|
|
35907
|
+
name: "deviceId",
|
|
35908
|
+
form: "single",
|
|
35909
|
+
optional: false
|
|
35910
|
+
}],
|
|
35911
|
+
"lockControl.unlock": [{
|
|
35912
|
+
name: "deviceId",
|
|
35913
|
+
form: "single",
|
|
35914
|
+
optional: false
|
|
35915
|
+
}],
|
|
35916
|
+
"mediaPlayer.next": [{
|
|
35917
|
+
name: "deviceId",
|
|
35918
|
+
form: "single",
|
|
35919
|
+
optional: false
|
|
35920
|
+
}],
|
|
35921
|
+
"mediaPlayer.pause": [{
|
|
35922
|
+
name: "deviceId",
|
|
35923
|
+
form: "single",
|
|
35924
|
+
optional: false
|
|
35925
|
+
}],
|
|
35926
|
+
"mediaPlayer.play": [{
|
|
35927
|
+
name: "deviceId",
|
|
35928
|
+
form: "single",
|
|
35929
|
+
optional: false
|
|
35930
|
+
}],
|
|
35931
|
+
"mediaPlayer.playMedia": [{
|
|
35932
|
+
name: "deviceId",
|
|
35933
|
+
form: "single",
|
|
35934
|
+
optional: false
|
|
35935
|
+
}],
|
|
35936
|
+
"mediaPlayer.previous": [{
|
|
35937
|
+
name: "deviceId",
|
|
35938
|
+
form: "single",
|
|
35939
|
+
optional: false
|
|
35940
|
+
}],
|
|
35941
|
+
"mediaPlayer.seek": [{
|
|
35942
|
+
name: "deviceId",
|
|
35943
|
+
form: "single",
|
|
35944
|
+
optional: false
|
|
35945
|
+
}],
|
|
35946
|
+
"mediaPlayer.selectSource": [{
|
|
35947
|
+
name: "deviceId",
|
|
35948
|
+
form: "single",
|
|
35949
|
+
optional: false
|
|
35950
|
+
}],
|
|
35951
|
+
"mediaPlayer.setMute": [{
|
|
35952
|
+
name: "deviceId",
|
|
35953
|
+
form: "single",
|
|
35954
|
+
optional: false
|
|
35955
|
+
}],
|
|
35956
|
+
"mediaPlayer.setRepeat": [{
|
|
35957
|
+
name: "deviceId",
|
|
35958
|
+
form: "single",
|
|
35959
|
+
optional: false
|
|
35960
|
+
}],
|
|
35961
|
+
"mediaPlayer.setShuffle": [{
|
|
35962
|
+
name: "deviceId",
|
|
35963
|
+
form: "single",
|
|
35964
|
+
optional: false
|
|
35965
|
+
}],
|
|
35966
|
+
"mediaPlayer.setVolume": [{
|
|
35967
|
+
name: "deviceId",
|
|
35968
|
+
form: "single",
|
|
35969
|
+
optional: false
|
|
35970
|
+
}],
|
|
35971
|
+
"mediaPlayer.stop": [{
|
|
35972
|
+
name: "deviceId",
|
|
35973
|
+
form: "single",
|
|
35974
|
+
optional: false
|
|
35975
|
+
}],
|
|
35976
|
+
"motion.isDetected": [{
|
|
35977
|
+
name: "deviceId",
|
|
35978
|
+
form: "single",
|
|
35979
|
+
optional: false
|
|
35980
|
+
}],
|
|
35981
|
+
"motionDetection.analyze": [{
|
|
35982
|
+
name: "deviceId",
|
|
35983
|
+
form: "single",
|
|
35984
|
+
optional: false
|
|
35985
|
+
}],
|
|
35986
|
+
"motionDetection.removeCamera": [{
|
|
35987
|
+
name: "deviceId",
|
|
35988
|
+
form: "single",
|
|
35989
|
+
optional: false
|
|
35990
|
+
}],
|
|
35991
|
+
"motionTrigger.setMotionTrigger": [{
|
|
35992
|
+
name: "deviceId",
|
|
35993
|
+
form: "single",
|
|
35994
|
+
optional: false
|
|
35995
|
+
}],
|
|
35996
|
+
"motionZones.getOptions": [{
|
|
35997
|
+
name: "deviceId",
|
|
35998
|
+
form: "single",
|
|
35999
|
+
optional: false
|
|
36000
|
+
}],
|
|
36001
|
+
"motionZones.setZone": [{
|
|
36002
|
+
name: "deviceId",
|
|
36003
|
+
form: "single",
|
|
36004
|
+
optional: false
|
|
36005
|
+
}],
|
|
36006
|
+
"nativeObjectDetection.setEnabled": [{
|
|
36007
|
+
name: "deviceId",
|
|
36008
|
+
form: "single",
|
|
36009
|
+
optional: false
|
|
36010
|
+
}],
|
|
36011
|
+
"networkQuality.getDeviceStats": [{
|
|
36012
|
+
name: "deviceId",
|
|
36013
|
+
form: "single",
|
|
36014
|
+
optional: false
|
|
36015
|
+
}],
|
|
36016
|
+
"networkQuality.reportClientStats": [{
|
|
36017
|
+
name: "deviceId",
|
|
36018
|
+
form: "single",
|
|
36019
|
+
optional: false
|
|
36020
|
+
}],
|
|
36021
|
+
"notificationRules.setDeviceMuted": [{
|
|
36022
|
+
name: "deviceId",
|
|
36023
|
+
form: "single",
|
|
36024
|
+
optional: false
|
|
36025
|
+
}],
|
|
36026
|
+
"notifier.cancel": [{
|
|
36027
|
+
name: "deviceId",
|
|
36028
|
+
form: "single",
|
|
36029
|
+
optional: false
|
|
36030
|
+
}],
|
|
36031
|
+
"notifier.send": [{
|
|
36032
|
+
name: "deviceId",
|
|
36033
|
+
form: "single",
|
|
36034
|
+
optional: false
|
|
36035
|
+
}],
|
|
36036
|
+
"osd.setOverlay": [{
|
|
36037
|
+
name: "deviceId",
|
|
36038
|
+
form: "single",
|
|
36039
|
+
optional: false
|
|
36040
|
+
}],
|
|
36041
|
+
"osdManager.clearSlotBinding": [{
|
|
36042
|
+
name: "deviceId",
|
|
36043
|
+
form: "single",
|
|
36044
|
+
optional: false
|
|
36045
|
+
}],
|
|
36046
|
+
"osdManager.copyDeviceConfiguration": [{
|
|
36047
|
+
name: "sourceDeviceId",
|
|
36048
|
+
form: "single",
|
|
36049
|
+
optional: false
|
|
36050
|
+
}, {
|
|
36051
|
+
name: "targetDeviceId",
|
|
36052
|
+
form: "single",
|
|
36053
|
+
optional: false
|
|
36054
|
+
}],
|
|
36055
|
+
"osdManager.getDeviceOsd": [{
|
|
36056
|
+
name: "deviceId",
|
|
36057
|
+
form: "single",
|
|
36058
|
+
optional: false
|
|
36059
|
+
}],
|
|
36060
|
+
"osdManager.getSourceCatalog": [{
|
|
36061
|
+
name: "deviceId",
|
|
36062
|
+
form: "single",
|
|
36063
|
+
optional: false
|
|
36064
|
+
}],
|
|
36065
|
+
"osdManager.previewSlot": [{
|
|
36066
|
+
name: "deviceId",
|
|
36067
|
+
form: "single",
|
|
36068
|
+
optional: false
|
|
36069
|
+
}],
|
|
36070
|
+
"osdManager.renderDevice": [{
|
|
36071
|
+
name: "deviceId",
|
|
36072
|
+
form: "single",
|
|
36073
|
+
optional: false
|
|
36074
|
+
}],
|
|
36075
|
+
"osdManager.setSlotBinding": [{
|
|
36076
|
+
name: "deviceId",
|
|
36077
|
+
form: "single",
|
|
36078
|
+
optional: false
|
|
36079
|
+
}],
|
|
36080
|
+
"petFeeder.callPet": [{
|
|
36081
|
+
name: "deviceId",
|
|
36082
|
+
form: "single",
|
|
36083
|
+
optional: false
|
|
36084
|
+
}],
|
|
36085
|
+
"petFeeder.cancelFeed": [{
|
|
36086
|
+
name: "deviceId",
|
|
36087
|
+
form: "single",
|
|
36088
|
+
optional: false
|
|
36089
|
+
}],
|
|
36090
|
+
"petFeeder.feed": [{
|
|
36091
|
+
name: "deviceId",
|
|
36092
|
+
form: "single",
|
|
36093
|
+
optional: false
|
|
36094
|
+
}],
|
|
36095
|
+
"petFeeder.markFoodReplenished": [{
|
|
36096
|
+
name: "deviceId",
|
|
36097
|
+
form: "single",
|
|
36098
|
+
optional: false
|
|
36099
|
+
}],
|
|
36100
|
+
"petFeeder.playSound": [{
|
|
36101
|
+
name: "deviceId",
|
|
36102
|
+
form: "single",
|
|
36103
|
+
optional: false
|
|
36104
|
+
}],
|
|
36105
|
+
"petFeeder.resetDesiccant": [{
|
|
36106
|
+
name: "deviceId",
|
|
36107
|
+
form: "single",
|
|
36108
|
+
optional: false
|
|
36109
|
+
}],
|
|
36110
|
+
"petFeeder.setChildLock": [{
|
|
36111
|
+
name: "deviceId",
|
|
36112
|
+
form: "single",
|
|
36113
|
+
optional: false
|
|
36114
|
+
}],
|
|
36115
|
+
"petFeeder.setFeedSound": [{
|
|
36116
|
+
name: "deviceId",
|
|
36117
|
+
form: "single",
|
|
36118
|
+
optional: false
|
|
36119
|
+
}],
|
|
36120
|
+
"petFeeder.setIndicatorLight": [{
|
|
36121
|
+
name: "deviceId",
|
|
36122
|
+
form: "single",
|
|
36123
|
+
optional: false
|
|
36124
|
+
}],
|
|
36125
|
+
"petFeeder.setVolume": [{
|
|
36126
|
+
name: "deviceId",
|
|
36127
|
+
form: "single",
|
|
36128
|
+
optional: false
|
|
36129
|
+
}],
|
|
36130
|
+
"pipelineAnalytics.clearTracks": [{
|
|
36131
|
+
name: "deviceId",
|
|
36132
|
+
form: "single",
|
|
36133
|
+
optional: false
|
|
36134
|
+
}],
|
|
36135
|
+
"pipelineAnalytics.completeRetrainTrack": [{
|
|
36136
|
+
name: "deviceId",
|
|
36137
|
+
form: "single",
|
|
36138
|
+
optional: false
|
|
36139
|
+
}],
|
|
36140
|
+
"pipelineAnalytics.deleteDeviceEvents": [{
|
|
36141
|
+
name: "deviceId",
|
|
36142
|
+
form: "single",
|
|
36143
|
+
optional: false
|
|
36144
|
+
}],
|
|
36145
|
+
"pipelineAnalytics.deleteTracks": [{
|
|
36146
|
+
name: "deviceId",
|
|
36147
|
+
form: "single",
|
|
36148
|
+
optional: false
|
|
36149
|
+
}],
|
|
36150
|
+
"pipelineAnalytics.deselectRetrainFrame": [{
|
|
36151
|
+
name: "deviceId",
|
|
36152
|
+
form: "single",
|
|
36153
|
+
optional: false
|
|
36154
|
+
}],
|
|
36155
|
+
"pipelineAnalytics.getActiveTracks": [{
|
|
36156
|
+
name: "deviceId",
|
|
36157
|
+
form: "single",
|
|
36158
|
+
optional: false
|
|
36159
|
+
}],
|
|
36160
|
+
"pipelineAnalytics.getAudioEvents": [{
|
|
36161
|
+
name: "deviceId",
|
|
36162
|
+
form: "single",
|
|
36163
|
+
optional: false
|
|
36164
|
+
}],
|
|
36165
|
+
"pipelineAnalytics.getEventDensity": [{
|
|
36166
|
+
name: "deviceId",
|
|
36167
|
+
form: "single",
|
|
36168
|
+
optional: false
|
|
36169
|
+
}],
|
|
36170
|
+
"pipelineAnalytics.getEventMedia": [{
|
|
36171
|
+
name: "deviceId",
|
|
36172
|
+
form: "single",
|
|
36173
|
+
optional: false
|
|
36174
|
+
}],
|
|
36175
|
+
"pipelineAnalytics.getKeyEvents": [{
|
|
36176
|
+
name: "deviceId",
|
|
36177
|
+
form: "single",
|
|
36178
|
+
optional: false
|
|
36179
|
+
}],
|
|
36180
|
+
"pipelineAnalytics.getMotionEvents": [{
|
|
36181
|
+
name: "deviceId",
|
|
36182
|
+
form: "single",
|
|
36183
|
+
optional: false
|
|
36184
|
+
}],
|
|
36185
|
+
"pipelineAnalytics.getObjectEvents": [{
|
|
36186
|
+
name: "deviceId",
|
|
36187
|
+
form: "single",
|
|
36188
|
+
optional: false
|
|
36189
|
+
}],
|
|
36190
|
+
"pipelineAnalytics.getRetrainExportUrl": [{
|
|
36191
|
+
name: "deviceIds",
|
|
36192
|
+
form: "array",
|
|
36193
|
+
optional: true
|
|
36194
|
+
}],
|
|
36195
|
+
"pipelineAnalytics.getSensorEvents": [{
|
|
36196
|
+
name: "deviceId",
|
|
36197
|
+
form: "single",
|
|
36198
|
+
optional: false
|
|
36199
|
+
}],
|
|
36200
|
+
"pipelineAnalytics.getTrack": [{
|
|
36201
|
+
name: "deviceId",
|
|
36202
|
+
form: "single",
|
|
36203
|
+
optional: false
|
|
36204
|
+
}],
|
|
36205
|
+
"pipelineAnalytics.getTrackMedia": [{
|
|
36206
|
+
name: "deviceId",
|
|
36207
|
+
form: "single",
|
|
36208
|
+
optional: false
|
|
36209
|
+
}],
|
|
36210
|
+
"pipelineAnalytics.getTrainingExportSummary": [{
|
|
36211
|
+
name: "deviceIds",
|
|
36212
|
+
form: "array",
|
|
36213
|
+
optional: true
|
|
36214
|
+
}],
|
|
36215
|
+
"pipelineAnalytics.getTrainingExportUrl": [{
|
|
36216
|
+
name: "deviceIds",
|
|
36217
|
+
form: "array",
|
|
36218
|
+
optional: true
|
|
36219
|
+
}],
|
|
36220
|
+
"pipelineAnalytics.listEventKinds": [{
|
|
36221
|
+
name: "deviceId",
|
|
36222
|
+
form: "single",
|
|
36223
|
+
optional: false
|
|
36224
|
+
}],
|
|
36225
|
+
"pipelineAnalytics.listEventKindsBatch": [{
|
|
36226
|
+
name: "deviceIds",
|
|
36227
|
+
form: "array",
|
|
36228
|
+
optional: false
|
|
36229
|
+
}],
|
|
36230
|
+
"pipelineAnalytics.listOpsLog": [{
|
|
36231
|
+
name: "deviceId",
|
|
36232
|
+
form: "single",
|
|
36233
|
+
optional: true
|
|
36234
|
+
}],
|
|
36235
|
+
"pipelineAnalytics.listRecentTracks": [{
|
|
36236
|
+
name: "deviceIds",
|
|
36237
|
+
form: "array",
|
|
36238
|
+
optional: false
|
|
36239
|
+
}],
|
|
36240
|
+
"pipelineAnalytics.listRetrainStaging": [{
|
|
36241
|
+
name: "deviceIds",
|
|
36242
|
+
form: "array",
|
|
36243
|
+
optional: true
|
|
36244
|
+
}],
|
|
36245
|
+
"pipelineAnalytics.listTrackMedia": [{
|
|
36246
|
+
name: "deviceId",
|
|
36247
|
+
form: "single",
|
|
36248
|
+
optional: false
|
|
36249
|
+
}],
|
|
36250
|
+
"pipelineAnalytics.listTracks": [{
|
|
36251
|
+
name: "deviceId",
|
|
36252
|
+
form: "single",
|
|
36253
|
+
optional: false
|
|
36254
|
+
}],
|
|
36255
|
+
"pipelineAnalytics.proposeRetrainAnnotations": [{
|
|
36256
|
+
name: "deviceId",
|
|
36257
|
+
form: "single",
|
|
36258
|
+
optional: false
|
|
36259
|
+
}],
|
|
36260
|
+
"pipelineAnalytics.pruneEventsBefore": [{
|
|
36261
|
+
name: "deviceId",
|
|
36262
|
+
form: "single",
|
|
36263
|
+
optional: false
|
|
36264
|
+
}],
|
|
36265
|
+
"pipelineAnalytics.pruneTracksBefore": [{
|
|
36266
|
+
name: "deviceId",
|
|
36267
|
+
form: "single",
|
|
36268
|
+
optional: false
|
|
36269
|
+
}],
|
|
36270
|
+
"pipelineAnalytics.rebuildObjectEmbeddings": [{
|
|
36271
|
+
name: "deviceId",
|
|
36272
|
+
form: "single",
|
|
36273
|
+
optional: true
|
|
36274
|
+
}],
|
|
36275
|
+
"pipelineAnalytics.restageRetrainTrack": [{
|
|
36276
|
+
name: "deviceId",
|
|
36277
|
+
form: "single",
|
|
36278
|
+
optional: false
|
|
36279
|
+
}],
|
|
36280
|
+
"pipelineAnalytics.saveRetrainAnnotations": [{
|
|
36281
|
+
name: "deviceId",
|
|
36282
|
+
form: "single",
|
|
36283
|
+
optional: false
|
|
36284
|
+
}],
|
|
36285
|
+
"pipelineAnalytics.searchObjectEvents": [{
|
|
36286
|
+
name: "deviceId",
|
|
36287
|
+
form: "single",
|
|
36288
|
+
optional: true
|
|
36289
|
+
}],
|
|
36290
|
+
"pipelineAnalytics.selectRetrainFrames": [{
|
|
36291
|
+
name: "deviceId",
|
|
36292
|
+
form: "single",
|
|
36293
|
+
optional: false
|
|
36294
|
+
}],
|
|
36295
|
+
"pipelineAnalytics.setTrackFlags": [{
|
|
36296
|
+
name: "deviceId",
|
|
36297
|
+
form: "single",
|
|
36298
|
+
optional: false
|
|
36299
|
+
}],
|
|
36300
|
+
"pipelineAnalytics.wipeAllAnalytics": [{
|
|
36301
|
+
name: "deviceId",
|
|
36302
|
+
form: "single",
|
|
36303
|
+
optional: false
|
|
36304
|
+
}],
|
|
36305
|
+
"pipelineExecutor.runPipeline": [{
|
|
36306
|
+
name: "deviceId",
|
|
36307
|
+
form: "single",
|
|
36308
|
+
optional: true
|
|
36309
|
+
}],
|
|
36310
|
+
"pipelineExecutor.runPipelineBatch": [{
|
|
36311
|
+
name: "deviceId",
|
|
36312
|
+
form: "single",
|
|
36313
|
+
optional: true
|
|
36314
|
+
}],
|
|
36315
|
+
"pipelineOrchestrator.assignAudio": [{
|
|
36316
|
+
name: "deviceId",
|
|
36317
|
+
form: "single",
|
|
36318
|
+
optional: false
|
|
36319
|
+
}],
|
|
36320
|
+
"pipelineOrchestrator.assignPipeline": [{
|
|
36321
|
+
name: "deviceId",
|
|
36322
|
+
form: "single",
|
|
36323
|
+
optional: false
|
|
36324
|
+
}],
|
|
36325
|
+
"pipelineOrchestrator.getAudioAssignment": [{
|
|
36326
|
+
name: "deviceId",
|
|
36327
|
+
form: "single",
|
|
36328
|
+
optional: false
|
|
36329
|
+
}],
|
|
36330
|
+
"pipelineOrchestrator.getCameraMetrics": [{
|
|
36331
|
+
name: "deviceId",
|
|
36332
|
+
form: "single",
|
|
36333
|
+
optional: false
|
|
36334
|
+
}],
|
|
36335
|
+
"pipelineOrchestrator.getCameraSettings": [{
|
|
36336
|
+
name: "deviceId",
|
|
36337
|
+
form: "single",
|
|
36338
|
+
optional: false
|
|
36339
|
+
}],
|
|
36340
|
+
"pipelineOrchestrator.getCameraStatus": [{
|
|
36341
|
+
name: "deviceId",
|
|
36342
|
+
form: "single",
|
|
36343
|
+
optional: false
|
|
36344
|
+
}],
|
|
36345
|
+
"pipelineOrchestrator.getCameraStatuses": [{
|
|
36346
|
+
name: "deviceIds",
|
|
36347
|
+
form: "array",
|
|
36348
|
+
optional: true
|
|
36349
|
+
}],
|
|
36350
|
+
"pipelineOrchestrator.getCameraStepOverrides": [{
|
|
36351
|
+
name: "deviceId",
|
|
36352
|
+
form: "single",
|
|
36353
|
+
optional: false
|
|
36354
|
+
}],
|
|
36355
|
+
"pipelineOrchestrator.getCameraSwitches": [{
|
|
36356
|
+
name: "deviceId",
|
|
36357
|
+
form: "single",
|
|
36358
|
+
optional: false
|
|
36359
|
+
}],
|
|
36360
|
+
"pipelineOrchestrator.getPipelineAssignment": [{
|
|
36361
|
+
name: "deviceId",
|
|
36362
|
+
form: "single",
|
|
36363
|
+
optional: false
|
|
36364
|
+
}],
|
|
36365
|
+
"pipelineOrchestrator.getPipelineDevicePin": [{
|
|
36366
|
+
name: "deviceId",
|
|
36367
|
+
form: "single",
|
|
36368
|
+
optional: false
|
|
36369
|
+
}],
|
|
36370
|
+
"pipelineOrchestrator.resolvePipeline": [{
|
|
36371
|
+
name: "deviceId",
|
|
36372
|
+
form: "single",
|
|
36373
|
+
optional: false
|
|
36374
|
+
}],
|
|
36375
|
+
"pipelineOrchestrator.setCameraPipelineForAgent": [{
|
|
36376
|
+
name: "deviceId",
|
|
36377
|
+
form: "single",
|
|
36378
|
+
optional: false
|
|
36379
|
+
}],
|
|
36380
|
+
"pipelineOrchestrator.setCameraStepOverride": [{
|
|
36381
|
+
name: "deviceId",
|
|
36382
|
+
form: "single",
|
|
36383
|
+
optional: false
|
|
36384
|
+
}],
|
|
36385
|
+
"pipelineOrchestrator.setCameraStepToggle": [{
|
|
36386
|
+
name: "deviceId",
|
|
36387
|
+
form: "single",
|
|
36388
|
+
optional: false
|
|
36389
|
+
}],
|
|
36390
|
+
"pipelineOrchestrator.setCameraSwitch": [{
|
|
36391
|
+
name: "deviceId",
|
|
36392
|
+
form: "single",
|
|
36393
|
+
optional: false
|
|
36394
|
+
}],
|
|
36395
|
+
"pipelineOrchestrator.setPipelineDevicePin": [{
|
|
36396
|
+
name: "deviceId",
|
|
36397
|
+
form: "single",
|
|
36398
|
+
optional: false
|
|
36399
|
+
}],
|
|
36400
|
+
"pipelineOrchestrator.unassignAudio": [{
|
|
36401
|
+
name: "deviceId",
|
|
36402
|
+
form: "single",
|
|
36403
|
+
optional: false
|
|
36404
|
+
}],
|
|
36405
|
+
"pipelineOrchestrator.unassignPipeline": [{
|
|
36406
|
+
name: "deviceId",
|
|
36407
|
+
form: "single",
|
|
36408
|
+
optional: false
|
|
36409
|
+
}],
|
|
36410
|
+
"pipelineRunner.attachCamera": [{
|
|
36411
|
+
name: "deviceId",
|
|
36412
|
+
form: "single",
|
|
36413
|
+
optional: false
|
|
36414
|
+
}],
|
|
36415
|
+
"pipelineRunner.detachCamera": [{
|
|
36416
|
+
name: "deviceId",
|
|
36417
|
+
form: "single",
|
|
36418
|
+
optional: false
|
|
36419
|
+
}],
|
|
36420
|
+
"pipelineRunner.getCameraMetrics": [{
|
|
36421
|
+
name: "deviceId",
|
|
36422
|
+
form: "single",
|
|
36423
|
+
optional: false
|
|
36424
|
+
}],
|
|
36425
|
+
"pipelineRunner.reportMotion": [{
|
|
36426
|
+
name: "deviceId",
|
|
36427
|
+
form: "single",
|
|
36428
|
+
optional: false
|
|
36429
|
+
}],
|
|
36430
|
+
"pipelineRunner.runDetailSubtree": [{
|
|
36431
|
+
name: "deviceId",
|
|
36432
|
+
form: "single",
|
|
36433
|
+
optional: false
|
|
36434
|
+
}],
|
|
36435
|
+
"pipelineRunner.runStatelessStep": [{
|
|
36436
|
+
name: "sourceDeviceId",
|
|
36437
|
+
form: "single",
|
|
36438
|
+
optional: false
|
|
36439
|
+
}],
|
|
36440
|
+
"plateGallery.getPlateByTrack": [{
|
|
36441
|
+
name: "deviceId",
|
|
36442
|
+
form: "single",
|
|
36443
|
+
optional: false
|
|
36444
|
+
}],
|
|
36445
|
+
"plateGallery.listPlates": [{
|
|
36446
|
+
name: "deviceId",
|
|
36447
|
+
form: "single",
|
|
36448
|
+
optional: true
|
|
36449
|
+
}],
|
|
36450
|
+
"privacyMask.getOptions": [{
|
|
36451
|
+
name: "deviceId",
|
|
36452
|
+
form: "single",
|
|
36453
|
+
optional: false
|
|
36454
|
+
}],
|
|
36455
|
+
"privacyMask.setAudioEnabled": [{
|
|
36456
|
+
name: "deviceId",
|
|
36457
|
+
form: "single",
|
|
36458
|
+
optional: false
|
|
36459
|
+
}],
|
|
36460
|
+
"privacyMask.setMask": [{
|
|
36461
|
+
name: "deviceId",
|
|
36462
|
+
form: "single",
|
|
36463
|
+
optional: false
|
|
36464
|
+
}],
|
|
36465
|
+
"ptz.continuousMove": [{
|
|
36466
|
+
name: "deviceId",
|
|
36467
|
+
form: "single",
|
|
36468
|
+
optional: false
|
|
36469
|
+
}],
|
|
36470
|
+
"ptz.deletePreset": [{
|
|
36471
|
+
name: "deviceId",
|
|
36472
|
+
form: "single",
|
|
36473
|
+
optional: false
|
|
36474
|
+
}],
|
|
36475
|
+
"ptz.getOptions": [{
|
|
36476
|
+
name: "deviceId",
|
|
36477
|
+
form: "single",
|
|
36478
|
+
optional: false
|
|
36479
|
+
}],
|
|
36480
|
+
"ptz.getPosition": [{
|
|
36481
|
+
name: "deviceId",
|
|
36482
|
+
form: "single",
|
|
36483
|
+
optional: false
|
|
36484
|
+
}],
|
|
36485
|
+
"ptz.getPresets": [{
|
|
36486
|
+
name: "deviceId",
|
|
36487
|
+
form: "single",
|
|
36488
|
+
optional: false
|
|
36489
|
+
}],
|
|
36490
|
+
"ptz.goHome": [{
|
|
36491
|
+
name: "deviceId",
|
|
36492
|
+
form: "single",
|
|
36493
|
+
optional: false
|
|
36494
|
+
}],
|
|
36495
|
+
"ptz.goToPreset": [{
|
|
36496
|
+
name: "deviceId",
|
|
36497
|
+
form: "single",
|
|
36498
|
+
optional: false
|
|
36499
|
+
}],
|
|
36500
|
+
"ptz.move": [{
|
|
36501
|
+
name: "deviceId",
|
|
36502
|
+
form: "single",
|
|
36503
|
+
optional: false
|
|
36504
|
+
}],
|
|
36505
|
+
"ptz.savePreset": [{
|
|
36506
|
+
name: "deviceId",
|
|
36507
|
+
form: "single",
|
|
36508
|
+
optional: false
|
|
36509
|
+
}],
|
|
36510
|
+
"ptz.setAutofocus": [{
|
|
36511
|
+
name: "deviceId",
|
|
36512
|
+
form: "single",
|
|
36513
|
+
optional: false
|
|
36514
|
+
}],
|
|
36515
|
+
"ptz.stop": [{
|
|
36516
|
+
name: "deviceId",
|
|
36517
|
+
form: "single",
|
|
36518
|
+
optional: false
|
|
36519
|
+
}],
|
|
36520
|
+
"ptzAutotrack.getSettings": [{
|
|
36521
|
+
name: "deviceId",
|
|
36522
|
+
form: "single",
|
|
36523
|
+
optional: false
|
|
36524
|
+
}],
|
|
36525
|
+
"ptzAutotrack.getStatus": [{
|
|
36526
|
+
name: "deviceId",
|
|
36527
|
+
form: "single",
|
|
36528
|
+
optional: false
|
|
36529
|
+
}],
|
|
36530
|
+
"ptzAutotrack.setEnabled": [{
|
|
36531
|
+
name: "deviceId",
|
|
36532
|
+
form: "single",
|
|
36533
|
+
optional: false
|
|
36534
|
+
}],
|
|
36535
|
+
"ptzAutotrack.setSettings": [{
|
|
36536
|
+
name: "deviceId",
|
|
36537
|
+
form: "single",
|
|
36538
|
+
optional: false
|
|
36539
|
+
}],
|
|
36540
|
+
"reboot.reboot": [{
|
|
36541
|
+
name: "deviceId",
|
|
36542
|
+
form: "single",
|
|
36543
|
+
optional: false
|
|
36544
|
+
}],
|
|
36545
|
+
"recording.deleteFootprint": [{
|
|
36546
|
+
name: "deviceId",
|
|
36547
|
+
form: "single",
|
|
36548
|
+
optional: false
|
|
36549
|
+
}],
|
|
36550
|
+
"recording.getAvailability": [{
|
|
36551
|
+
name: "deviceId",
|
|
36552
|
+
form: "single",
|
|
36553
|
+
optional: false
|
|
36554
|
+
}],
|
|
36555
|
+
"recording.getDaysWithRecordings": [{
|
|
36556
|
+
name: "deviceId",
|
|
36557
|
+
form: "single",
|
|
36558
|
+
optional: false
|
|
36559
|
+
}],
|
|
36560
|
+
"recording.getDeviceConfig": [{
|
|
36561
|
+
name: "deviceId",
|
|
36562
|
+
form: "single",
|
|
36563
|
+
optional: false
|
|
36564
|
+
}],
|
|
36565
|
+
"recording.getPlaybackManifest": [{
|
|
36566
|
+
name: "deviceId",
|
|
36567
|
+
form: "single",
|
|
36568
|
+
optional: false
|
|
36569
|
+
}],
|
|
36570
|
+
"recording.listOpsLog": [{
|
|
36571
|
+
name: "deviceId",
|
|
36572
|
+
form: "single",
|
|
36573
|
+
optional: true
|
|
36574
|
+
}],
|
|
36575
|
+
"recording.locateSegment": [{
|
|
36576
|
+
name: "deviceId",
|
|
36577
|
+
form: "single",
|
|
36578
|
+
optional: false
|
|
36579
|
+
}],
|
|
36580
|
+
"recording.pruneFootage": [{
|
|
36581
|
+
name: "deviceId",
|
|
36582
|
+
form: "single",
|
|
36583
|
+
optional: false
|
|
36584
|
+
}],
|
|
36585
|
+
"recording.readGopBytes": [{
|
|
36586
|
+
name: "deviceId",
|
|
36587
|
+
form: "single",
|
|
36588
|
+
optional: false
|
|
36589
|
+
}],
|
|
36590
|
+
"recording.readSegmentBytes": [{
|
|
36591
|
+
name: "deviceId",
|
|
36592
|
+
form: "single",
|
|
36593
|
+
optional: false
|
|
36594
|
+
}],
|
|
36595
|
+
"recording.relocateFootage": [{
|
|
36596
|
+
name: "deviceId",
|
|
36597
|
+
form: "single",
|
|
36598
|
+
optional: true
|
|
36599
|
+
}],
|
|
36600
|
+
"recording.renderClip": [{
|
|
36601
|
+
name: "deviceId",
|
|
36602
|
+
form: "single",
|
|
36603
|
+
optional: false
|
|
36604
|
+
}],
|
|
36605
|
+
"recording.renderGif": [{
|
|
36606
|
+
name: "deviceId",
|
|
36607
|
+
form: "single",
|
|
36608
|
+
optional: false
|
|
36609
|
+
}],
|
|
36610
|
+
"recording.rescanStorage": [{
|
|
36611
|
+
name: "deviceId",
|
|
36612
|
+
form: "single",
|
|
36613
|
+
optional: false
|
|
36614
|
+
}],
|
|
36615
|
+
"recording.setDeviceConfig": [{
|
|
36616
|
+
name: "deviceId",
|
|
36617
|
+
form: "single",
|
|
36618
|
+
optional: false
|
|
36619
|
+
}],
|
|
36620
|
+
"recording.startStorageMigrationMove": [{
|
|
36621
|
+
name: "deviceId",
|
|
36622
|
+
form: "single",
|
|
36623
|
+
optional: true
|
|
36624
|
+
}],
|
|
36625
|
+
"recordingExport.createExport": [{
|
|
36626
|
+
name: "deviceId",
|
|
36627
|
+
form: "single",
|
|
36628
|
+
optional: false
|
|
36629
|
+
}],
|
|
36630
|
+
"recordingExport.listExports": [{
|
|
36631
|
+
name: "deviceId",
|
|
36632
|
+
form: "single",
|
|
36633
|
+
optional: true
|
|
36634
|
+
}],
|
|
36635
|
+
"sceneMonitor.captureReference": [{
|
|
36636
|
+
name: "deviceId",
|
|
36637
|
+
form: "single",
|
|
36638
|
+
optional: false
|
|
36639
|
+
}],
|
|
36640
|
+
"sceneMonitor.createScene": [{
|
|
36641
|
+
name: "deviceId",
|
|
36642
|
+
form: "single",
|
|
36643
|
+
optional: false
|
|
36644
|
+
}],
|
|
36645
|
+
"sceneMonitor.deleteReference": [{
|
|
36646
|
+
name: "deviceId",
|
|
36647
|
+
form: "single",
|
|
36648
|
+
optional: false
|
|
36649
|
+
}],
|
|
36650
|
+
"sceneMonitor.deleteScene": [{
|
|
36651
|
+
name: "deviceId",
|
|
36652
|
+
form: "single",
|
|
36653
|
+
optional: false
|
|
36654
|
+
}],
|
|
36655
|
+
"sceneMonitor.listScenes": [{
|
|
36656
|
+
name: "deviceId",
|
|
36657
|
+
form: "single",
|
|
36658
|
+
optional: false
|
|
36659
|
+
}],
|
|
36660
|
+
"sceneMonitor.recheckNow": [{
|
|
36661
|
+
name: "deviceId",
|
|
36662
|
+
form: "single",
|
|
36663
|
+
optional: false
|
|
36664
|
+
}],
|
|
36665
|
+
"sceneMonitor.resetScene": [{
|
|
36666
|
+
name: "deviceId",
|
|
36667
|
+
form: "single",
|
|
36668
|
+
optional: false
|
|
36669
|
+
}],
|
|
36670
|
+
"sceneMonitor.updateScene": [{
|
|
36671
|
+
name: "deviceId",
|
|
36672
|
+
form: "single",
|
|
36673
|
+
optional: false
|
|
36674
|
+
}],
|
|
36675
|
+
"scriptRunner.run": [{
|
|
36676
|
+
name: "deviceId",
|
|
36677
|
+
form: "single",
|
|
36678
|
+
optional: false
|
|
36679
|
+
}],
|
|
36680
|
+
"scriptRunner.stop": [{
|
|
36681
|
+
name: "deviceId",
|
|
36682
|
+
form: "single",
|
|
36683
|
+
optional: false
|
|
36684
|
+
}],
|
|
36685
|
+
"snapshot.getSnapshot": [{
|
|
36686
|
+
name: "deviceId",
|
|
36687
|
+
form: "single",
|
|
36688
|
+
optional: false
|
|
36689
|
+
}],
|
|
36690
|
+
"snapshot.getSnapshotLinks": [{
|
|
36691
|
+
name: "targets",
|
|
36692
|
+
form: "object-array",
|
|
36693
|
+
optional: false,
|
|
36694
|
+
itemField: "deviceId"
|
|
36695
|
+
}],
|
|
36696
|
+
"snapshot.getSnapshotOverview": [{
|
|
36697
|
+
name: "deviceIds",
|
|
36698
|
+
form: "array",
|
|
36699
|
+
optional: false
|
|
36700
|
+
}],
|
|
36701
|
+
"snapshot.invalidateCache": [{
|
|
36702
|
+
name: "deviceId",
|
|
36703
|
+
form: "single",
|
|
36704
|
+
optional: false
|
|
36705
|
+
}],
|
|
36706
|
+
"streamBroker.acquireEgressTranscode": [{
|
|
36707
|
+
name: "deviceId",
|
|
36708
|
+
form: "single",
|
|
36709
|
+
optional: false
|
|
36710
|
+
}],
|
|
36711
|
+
"streamBroker.assignProfile": [{
|
|
36712
|
+
name: "deviceId",
|
|
36713
|
+
form: "single",
|
|
36714
|
+
optional: false
|
|
36715
|
+
}],
|
|
36716
|
+
"streamBroker.getDeviceAudioMute": [{
|
|
36717
|
+
name: "deviceId",
|
|
36718
|
+
form: "single",
|
|
36719
|
+
optional: false
|
|
36720
|
+
}],
|
|
36721
|
+
"streamBroker.getStreamWithCodec": [{
|
|
36722
|
+
name: "deviceId",
|
|
36723
|
+
form: "single",
|
|
36724
|
+
optional: false
|
|
36725
|
+
}],
|
|
36726
|
+
"streamBroker.produceEventMedia": [{
|
|
36727
|
+
name: "deviceId",
|
|
36728
|
+
form: "single",
|
|
36729
|
+
optional: false
|
|
36730
|
+
}],
|
|
36731
|
+
"streamBroker.publishCameraStream": [{
|
|
36732
|
+
name: "deviceId",
|
|
36733
|
+
form: "single",
|
|
36734
|
+
optional: false
|
|
36735
|
+
}],
|
|
36736
|
+
"streamBroker.renderPreBufferClip": [{
|
|
36737
|
+
name: "deviceId",
|
|
36738
|
+
form: "single",
|
|
36739
|
+
optional: false
|
|
36740
|
+
}],
|
|
36741
|
+
"streamBroker.restartProfile": [{
|
|
36742
|
+
name: "deviceId",
|
|
36743
|
+
form: "single",
|
|
36744
|
+
optional: false
|
|
36745
|
+
}],
|
|
36746
|
+
"streamBroker.retractCameraStream": [{
|
|
36747
|
+
name: "deviceId",
|
|
36748
|
+
form: "single",
|
|
36749
|
+
optional: false
|
|
36750
|
+
}],
|
|
36751
|
+
"streamBroker.setDeviceAudioMute": [{
|
|
36752
|
+
name: "deviceId",
|
|
36753
|
+
form: "single",
|
|
36754
|
+
optional: false
|
|
36755
|
+
}],
|
|
36756
|
+
"streamBroker.unassignProfile": [{
|
|
36757
|
+
name: "deviceId",
|
|
36758
|
+
form: "single",
|
|
36759
|
+
optional: false
|
|
36760
|
+
}],
|
|
36761
|
+
"streamCatalog.getCatalog": [{
|
|
36762
|
+
name: "deviceId",
|
|
36763
|
+
form: "single",
|
|
36764
|
+
optional: false
|
|
36765
|
+
}],
|
|
36766
|
+
"streamParams.getConfigSchema": [{
|
|
36767
|
+
name: "deviceId",
|
|
36768
|
+
form: "single",
|
|
36769
|
+
optional: false
|
|
36770
|
+
}],
|
|
36771
|
+
"streamParams.getOptions": [{
|
|
36772
|
+
name: "deviceId",
|
|
36773
|
+
form: "single",
|
|
36774
|
+
optional: false
|
|
36775
|
+
}],
|
|
36776
|
+
"streamParams.setProfile": [{
|
|
36777
|
+
name: "deviceId",
|
|
36778
|
+
form: "single",
|
|
36779
|
+
optional: false
|
|
36780
|
+
}],
|
|
36781
|
+
"switch.setState": [{
|
|
36782
|
+
name: "deviceId",
|
|
36783
|
+
form: "single",
|
|
36784
|
+
optional: false
|
|
36785
|
+
}],
|
|
36786
|
+
"vacuumControl.locate": [{
|
|
36787
|
+
name: "deviceId",
|
|
36788
|
+
form: "single",
|
|
36789
|
+
optional: false
|
|
36790
|
+
}],
|
|
36791
|
+
"vacuumControl.pause": [{
|
|
36792
|
+
name: "deviceId",
|
|
36793
|
+
form: "single",
|
|
36794
|
+
optional: false
|
|
36795
|
+
}],
|
|
36796
|
+
"vacuumControl.returnToBase": [{
|
|
36797
|
+
name: "deviceId",
|
|
36798
|
+
form: "single",
|
|
36799
|
+
optional: false
|
|
36800
|
+
}],
|
|
36801
|
+
"vacuumControl.setFanSpeed": [{
|
|
36802
|
+
name: "deviceId",
|
|
36803
|
+
form: "single",
|
|
36804
|
+
optional: false
|
|
36805
|
+
}],
|
|
36806
|
+
"vacuumControl.start": [{
|
|
36807
|
+
name: "deviceId",
|
|
36808
|
+
form: "single",
|
|
36809
|
+
optional: false
|
|
36810
|
+
}],
|
|
36811
|
+
"vacuumControl.stop": [{
|
|
36812
|
+
name: "deviceId",
|
|
36813
|
+
form: "single",
|
|
36814
|
+
optional: false
|
|
36815
|
+
}],
|
|
36816
|
+
"valve.close": [{
|
|
36817
|
+
name: "deviceId",
|
|
36818
|
+
form: "single",
|
|
36819
|
+
optional: false
|
|
36820
|
+
}],
|
|
36821
|
+
"valve.open": [{
|
|
36822
|
+
name: "deviceId",
|
|
36823
|
+
form: "single",
|
|
36824
|
+
optional: false
|
|
36825
|
+
}],
|
|
36826
|
+
"valve.setPosition": [{
|
|
36827
|
+
name: "deviceId",
|
|
36828
|
+
form: "single",
|
|
36829
|
+
optional: false
|
|
36830
|
+
}],
|
|
36831
|
+
"valve.stop": [{
|
|
36832
|
+
name: "deviceId",
|
|
36833
|
+
form: "single",
|
|
36834
|
+
optional: false
|
|
36835
|
+
}],
|
|
36836
|
+
"videoclips.getClipPlayback": [{
|
|
36837
|
+
name: "deviceId",
|
|
36838
|
+
form: "single",
|
|
36839
|
+
optional: false
|
|
36840
|
+
}],
|
|
36841
|
+
"videoclips.listClips": [{
|
|
36842
|
+
name: "deviceId",
|
|
36843
|
+
form: "single",
|
|
36844
|
+
optional: false
|
|
36845
|
+
}],
|
|
36846
|
+
"waterHeater.setAway": [{
|
|
36847
|
+
name: "deviceId",
|
|
36848
|
+
form: "single",
|
|
36849
|
+
optional: false
|
|
36850
|
+
}],
|
|
36851
|
+
"waterHeater.setOperationMode": [{
|
|
36852
|
+
name: "deviceId",
|
|
36853
|
+
form: "single",
|
|
36854
|
+
optional: false
|
|
36855
|
+
}],
|
|
36856
|
+
"waterHeater.setTargetTemp": [{
|
|
36857
|
+
name: "deviceId",
|
|
36858
|
+
form: "single",
|
|
36859
|
+
optional: false
|
|
36860
|
+
}],
|
|
36861
|
+
"webrtcSession.addIceCandidate": [{
|
|
36862
|
+
name: "deviceId",
|
|
36863
|
+
form: "single",
|
|
36864
|
+
optional: false
|
|
36865
|
+
}],
|
|
36866
|
+
"webrtcSession.closeSession": [{
|
|
36867
|
+
name: "deviceId",
|
|
36868
|
+
form: "single",
|
|
36869
|
+
optional: false
|
|
36870
|
+
}],
|
|
36871
|
+
"webrtcSession.createSession": [{
|
|
36872
|
+
name: "deviceId",
|
|
36873
|
+
form: "single",
|
|
36874
|
+
optional: false
|
|
36875
|
+
}],
|
|
36876
|
+
"webrtcSession.getIceCandidates": [{
|
|
36877
|
+
name: "deviceId",
|
|
36878
|
+
form: "single",
|
|
36879
|
+
optional: false
|
|
36880
|
+
}],
|
|
36881
|
+
"webrtcSession.getSessionState": [{
|
|
36882
|
+
name: "deviceId",
|
|
36883
|
+
form: "single",
|
|
36884
|
+
optional: false
|
|
36885
|
+
}],
|
|
36886
|
+
"webrtcSession.handleAnswer": [{
|
|
36887
|
+
name: "deviceId",
|
|
36888
|
+
form: "single",
|
|
36889
|
+
optional: false
|
|
36890
|
+
}],
|
|
36891
|
+
"webrtcSession.handleOffer": [{
|
|
36892
|
+
name: "deviceId",
|
|
36893
|
+
form: "single",
|
|
36894
|
+
optional: false
|
|
36895
|
+
}],
|
|
36896
|
+
"webrtcSession.hasAdaptiveBitrate": [{
|
|
36897
|
+
name: "deviceId",
|
|
36898
|
+
form: "single",
|
|
36899
|
+
optional: false
|
|
36900
|
+
}],
|
|
36901
|
+
"webrtcSession.listStreams": [{
|
|
36902
|
+
name: "deviceId",
|
|
36903
|
+
form: "single",
|
|
36904
|
+
optional: false
|
|
36905
|
+
}],
|
|
36906
|
+
"zoneAnalytics.getCameraHistory": [{
|
|
36907
|
+
name: "deviceId",
|
|
36908
|
+
form: "single",
|
|
36909
|
+
optional: false
|
|
36910
|
+
}],
|
|
36911
|
+
"zoneAnalytics.getCurrentSnapshot": [{
|
|
36912
|
+
name: "deviceId",
|
|
36913
|
+
form: "single",
|
|
36914
|
+
optional: false
|
|
36915
|
+
}],
|
|
36916
|
+
"zoneAnalytics.getUnzonedHistory": [{
|
|
36917
|
+
name: "deviceId",
|
|
36918
|
+
form: "single",
|
|
36919
|
+
optional: false
|
|
36920
|
+
}],
|
|
36921
|
+
"zoneAnalytics.getZoneHistory": [{
|
|
36922
|
+
name: "deviceId",
|
|
36923
|
+
form: "single",
|
|
36924
|
+
optional: false
|
|
36925
|
+
}],
|
|
36926
|
+
"zoneRules.listRules": [{
|
|
36927
|
+
name: "deviceId",
|
|
36928
|
+
form: "single",
|
|
36929
|
+
optional: false
|
|
36930
|
+
}],
|
|
36931
|
+
"zoneRules.setRules": [{
|
|
36932
|
+
name: "deviceId",
|
|
36933
|
+
form: "single",
|
|
36934
|
+
optional: false
|
|
36935
|
+
}],
|
|
36936
|
+
"zones.addZone": [{
|
|
36937
|
+
name: "deviceId",
|
|
36938
|
+
form: "single",
|
|
36939
|
+
optional: false
|
|
36940
|
+
}],
|
|
36941
|
+
"zones.listZones": [{
|
|
36942
|
+
name: "deviceId",
|
|
36943
|
+
form: "single",
|
|
36944
|
+
optional: false
|
|
36945
|
+
}],
|
|
36946
|
+
"zones.removeZone": [{
|
|
36947
|
+
name: "deviceId",
|
|
36948
|
+
form: "single",
|
|
36949
|
+
optional: false
|
|
36950
|
+
}],
|
|
36951
|
+
"zones.updateZone": [{
|
|
36952
|
+
name: "deviceId",
|
|
36953
|
+
form: "single",
|
|
36954
|
+
optional: false
|
|
36955
|
+
}]
|
|
36956
|
+
});
|
|
34238
36957
|
Object.freeze({
|
|
34239
36958
|
"broker": "broker",
|
|
34240
36959
|
"device-export": "device-export",
|