@camstack/addon-ai 0.4.128 → 0.4.130
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 +834 -232
- package/dist/addon.mjs +834 -232
- package/package.json +1 -3
package/dist/addon.js
CHANGED
|
@@ -17,7 +17,7 @@ let node_fs_promises = require("node:fs/promises");
|
|
|
17
17
|
node_fs_promises = require_chunk.__toESM(node_fs_promises);
|
|
18
18
|
let node_child_process = require("node:child_process");
|
|
19
19
|
let node_readline = require("node:readline");
|
|
20
|
-
//#region ../types/dist/event-category-
|
|
20
|
+
//#region ../types/dist/event-category-BGmz_oxW.mjs
|
|
21
21
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
22
22
|
EventCategory["SystemBoot"] = "system.boot";
|
|
23
23
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -550,6 +550,15 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
550
550
|
*/
|
|
551
551
|
EventCategory["PipelineAudioInferenceResult"] = "pipeline.audio-inference-result";
|
|
552
552
|
EventCategory["DetectionPhaseTransition"] = "detection.phase-transition";
|
|
553
|
+
/**
|
|
554
|
+
* A camera provider's RAW onboard motion push (D673): the `MotionOnMotionChanged`
|
|
555
|
+
* data shape without `triggeredBy`, built by `providerMotionEvent`. Its one
|
|
556
|
+
* consumer is the orchestrator's camera-sensors bridge, which re-emits the
|
|
557
|
+
* camera's EFFECTIVE onboard motion as `MotionOnMotionChanged` (a pass-through
|
|
558
|
+
* for a camera with no attached sensor). Providers must not emit
|
|
559
|
+
* `MotionOnMotionChanged` themselves; `scripts/check-onboard-motion-emitters.ts`
|
|
560
|
+
* keeps it so (camera-grid is a named, deferred exception).
|
|
561
|
+
*/
|
|
553
562
|
EventCategory["ProviderMotion"] = "provider.motion";
|
|
554
563
|
EventCategory["ProviderDetection"] = "provider.detection";
|
|
555
564
|
EventCategory["EnrichmentEmbeddingStored"] = "enrichment.embedding.stored";
|
|
@@ -5535,7 +5544,7 @@ function number(params) {
|
|
|
5535
5544
|
return /* @__PURE__ */ _coercedNumber(ZodNumber, params);
|
|
5536
5545
|
}
|
|
5537
5546
|
//#endregion
|
|
5538
|
-
//#region ../types/dist/sleep-
|
|
5547
|
+
//#region ../types/dist/sleep-CDCONfkt.mjs
|
|
5539
5548
|
/**
|
|
5540
5549
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5541
5550
|
* window to float samples (D455).
|
|
@@ -7623,7 +7632,7 @@ var DeviceRole = /* @__PURE__ */ function(DeviceRole) {
|
|
|
7623
7632
|
return DeviceRole;
|
|
7624
7633
|
}({});
|
|
7625
7634
|
//#endregion
|
|
7626
|
-
//#region ../types/dist/composition-
|
|
7635
|
+
//#region ../types/dist/composition-Bzr7GwgP.mjs
|
|
7627
7636
|
/**
|
|
7628
7637
|
* The ffmpeg build every CamStack node downloads, per platform and arch.
|
|
7629
7638
|
*
|
|
@@ -7677,21 +7686,20 @@ function portable(target) {
|
|
|
7677
7686
|
}
|
|
7678
7687
|
portable("linux64"), portable("linuxarm64"), portable("macarm64"), portable("mac64");
|
|
7679
7688
|
/**
|
|
7680
|
-
*
|
|
7681
|
-
*
|
|
7689
|
+
* THE table "which boolean of this device type counts as HIGH", and the
|
|
7690
|
+
* pure evaluator of its EDGE.
|
|
7682
7691
|
*
|
|
7683
|
-
*
|
|
7684
|
-
*
|
|
7685
|
-
*
|
|
7686
|
-
*
|
|
7687
|
-
*
|
|
7688
|
-
*
|
|
7689
|
-
* SPOSTA qui e il doorbell la ri-esporta.
|
|
7692
|
+
* ONE table for everyone who asks "is this device HIGH?": the
|
|
7693
|
+
* recorder's `RecordingTriggers.sensorDeviceIds` trigger, the post-analysis
|
|
7694
|
+
* sensor markers, the orchestrator's camera-sensors bridge and
|
|
7695
|
+
* the sources of a composite doorbell (`doorbellFeatureSources`, D671).
|
|
7696
|
+
* A second copy would diverge at the first cap added, and the symptom — "the
|
|
7697
|
+
* sensor rings the doorbell but does not record" — is exactly D62.
|
|
7690
7698
|
*
|
|
7691
|
-
* ⚠
|
|
7692
|
-
*
|
|
7693
|
-
*
|
|
7694
|
-
*
|
|
7699
|
+
* ⚠ NOT `DEVICE_STATE_READERS` (`catalogs/device-state-vocabulary.ts`), and the
|
|
7700
|
+
* two must not be unified: that one answers "what is the state WORD for a
|
|
7701
|
+
* rule" (and includes `presence`, `cover`, `alarm-panel`), this one "which
|
|
7702
|
+
* boolean's EDGE counts". Deliberately different vocabularies.
|
|
7695
7703
|
*/
|
|
7696
7704
|
/**
|
|
7697
7705
|
* Known binary / switch source caps → the boolean slice field whose
|
|
@@ -7712,6 +7720,8 @@ var SOURCE_CAP_ACTIVE_FIELD = {
|
|
|
7712
7720
|
vibration: "detected",
|
|
7713
7721
|
tamper: "tampered"
|
|
7714
7722
|
};
|
|
7723
|
+
/** Cap names whose presence in a device's bindings qualify it as a source. */
|
|
7724
|
+
var SOURCE_CAPS = Object.keys(SOURCE_CAP_ACTIVE_FIELD);
|
|
7715
7725
|
/**
|
|
7716
7726
|
* Error types for the safe expression engine. Two distinct classes so callers
|
|
7717
7727
|
* can tell a compile-time (grammar) failure from a runtime (evaluation)
|
|
@@ -9298,22 +9308,22 @@ var CLASS_MAP_MACRO_TARGETS = [
|
|
|
9298
9308
|
"package"
|
|
9299
9309
|
];
|
|
9300
9310
|
/**
|
|
9301
|
-
*
|
|
9302
|
-
*
|
|
9311
|
+
* The FIRST-LEVEL macro classes: those an object detector emits and that
|
|
9312
|
+
* an operator can select.
|
|
9303
9313
|
*
|
|
9304
|
-
*
|
|
9314
|
+
* They are the three offered by the `object-detection` step
|
|
9305
9315
|
* (`addon-pipeline/src/detection-pipeline/registry/step-definitions.ts`,
|
|
9306
|
-
* `enabledMacroClasses`). `package`
|
|
9307
|
-
* `MACRO_LABELS` —
|
|
9308
|
-
* `package-detection`,
|
|
9309
|
-
*
|
|
9316
|
+
* `enabledMacroClasses`). `package` is in {@link CLASS_MAP_MACRO_TARGETS} and in
|
|
9317
|
+
* `MACRO_LABELS` — it is a true macro — but NOT here: it belongs to the step
|
|
9318
|
+
* `package-detection`, whose enablement is driven by zones, and offering the
|
|
9319
|
+
* same word twice has already made an operator turn on the COCO proxy
|
|
9310
9320
|
* (suitcase/backpack/handbag) lasciando spento il detector dedicato.
|
|
9311
9321
|
*
|
|
9312
|
-
*
|
|
9313
|
-
*
|
|
9314
|
-
* (`types/detection.ts`);
|
|
9315
|
-
* (`RecordingTriggers.objectClasses`)
|
|
9316
|
-
*
|
|
9322
|
+
* ONE list. Before today the same three were hand-written in the step's offer
|
|
9323
|
+
* and a second time as the union `FirstLevelMacro`
|
|
9324
|
+
* (`types/detection.ts`); a third copy for the recording trigger
|
|
9325
|
+
* (`RecordingTriggers.objectClasses`) would have made the later divergence
|
|
9326
|
+
* invisible.
|
|
9317
9327
|
*/
|
|
9318
9328
|
var FIRST_LEVEL_MACRO_CLASSES = [
|
|
9319
9329
|
"person",
|
|
@@ -9378,17 +9388,17 @@ var RecordingStorageModeSchema = _enum([
|
|
|
9378
9388
|
"on-device-decision"
|
|
9379
9389
|
]);
|
|
9380
9390
|
/**
|
|
9381
|
-
*
|
|
9382
|
-
*
|
|
9391
|
+
* The macro classes that can open a recording window — the same
|
|
9392
|
+
* three offered by the `object-detection` step, from ONE list
|
|
9383
9393
|
* ({@link FIRST_LEVEL_MACRO_CLASSES}).
|
|
9384
9394
|
*/
|
|
9385
9395
|
var RecordingObjectTriggerClassSchema = _enum(FIRST_LEVEL_MACRO_CLASSES);
|
|
9386
9396
|
/**
|
|
9387
|
-
* True
|
|
9397
|
+
* True when `values` does not repeat an element.
|
|
9388
9398
|
*
|
|
9389
|
-
*
|
|
9390
|
-
*
|
|
9391
|
-
*
|
|
9399
|
+
* A duplicate is not harmless: every entry of `objectClasses` / `sensorDeviceIds`
|
|
9400
|
+
* becomes a SOURCE in `bandTriggerSources`, and the same source twice
|
|
9401
|
+
* would count its windows twice in `segmentMissedByMs`.
|
|
9392
9402
|
*/
|
|
9393
9403
|
var noDuplicates = (values) => new Set(values).size === values.length;
|
|
9394
9404
|
/** Which detectors trigger an `events`-mode band. */
|
|
@@ -9396,34 +9406,34 @@ var RecordingTriggersSchema = object({
|
|
|
9396
9406
|
motion: boolean().optional(),
|
|
9397
9407
|
audioThresholdDbfs: number$1().optional(),
|
|
9398
9408
|
/**
|
|
9399
|
-
*
|
|
9400
|
-
*
|
|
9401
|
-
*
|
|
9402
|
-
*
|
|
9409
|
+
* The macro classes whose detection opens a window. ABSENT = the source
|
|
9410
|
+
* is not listened to; an EMPTY array is rejected, because "events band, object
|
|
9411
|
+
* trigger on, no class" is the same shape "enabled and records
|
|
9412
|
+
* nothing, forever" that `eventsBandCanEverDemand` is written against.
|
|
9403
9413
|
*
|
|
9404
|
-
*
|
|
9405
|
-
*
|
|
9406
|
-
* `minConfidence<Macro>`
|
|
9407
|
-
* (`source: 'onboard'`)
|
|
9408
|
-
*
|
|
9414
|
+
* The signal read is ALREADY FILTERED: only `source: 'pipeline'` detections, i.e.
|
|
9415
|
+
* those that went through `enabledMacroClasses`, the
|
|
9416
|
+
* `minConfidence<Macro>` and the full-frame guard. The camera's onboard AI
|
|
9417
|
+
* (`source: 'onboard'`) goes through none of those gates and does NOT open
|
|
9418
|
+
* windows — see `recorder/object-trigger.ts`.
|
|
9409
9419
|
*/
|
|
9410
9420
|
objectClasses: array(RecordingObjectTriggerClassSchema).min(1).refine(noDuplicates, { message: "objectClasses must not repeat a class" }).optional(),
|
|
9411
9421
|
/**
|
|
9412
|
-
*
|
|
9413
|
-
*
|
|
9422
|
+
* The LINKED devices whose RISING EDGE opens a window. Absent = the source
|
|
9423
|
+
* is not listened to; an empty array is rejected for the same reason as
|
|
9414
9424
|
* `objectClasses`.
|
|
9415
9425
|
*
|
|
9416
|
-
*
|
|
9417
|
-
*
|
|
9418
|
-
*
|
|
9419
|
-
*
|
|
9420
|
-
* device (D12) —
|
|
9426
|
+
* These are SOURCE device ids, not cameras: the band names them, so the
|
|
9427
|
+
* hot path (`DeviceStateChanged`, at bus rate across the whole fleet)
|
|
9428
|
+
* does no RPC. The OFFER from which the operator picks them is another question, and
|
|
9429
|
+
* is resolved with `deviceManager.getLinkedDevices` + `getBindingsBatch` per
|
|
9430
|
+
* device (D12) — never a global list of caps.
|
|
9421
9431
|
*
|
|
9422
|
-
*
|
|
9423
|
-
* `SOURCE_CAP_ACTIVE_FIELD` (`catalogs/sensor-active-state.ts`)
|
|
9424
|
-
*
|
|
9425
|
-
*
|
|
9426
|
-
*
|
|
9432
|
+
* What "high" means depends on the device TYPE and is not decided here:
|
|
9433
|
+
* `SOURCE_CAP_ACTIVE_FIELD` (`catalogs/sensor-active-state.ts`) is THE table,
|
|
9434
|
+
* the same one as the composite doorbell (D671). And it is the EDGE, not
|
|
9435
|
+
* the level: a contact found already open at runner restart does not
|
|
9436
|
+
* record.
|
|
9427
9437
|
*/
|
|
9428
9438
|
sensorDeviceIds: array(number$1().int().positive()).min(1).max(16).refine(noDuplicates, { message: "sensorDeviceIds must not repeat a device" }).optional()
|
|
9429
9439
|
});
|
|
@@ -10500,7 +10510,7 @@ var DecoderSessionConfigSchema = object({
|
|
|
10500
10510
|
* - **VALUE** — at which level, for which scope, until when. That stays ONE
|
|
10501
10511
|
* thing: the logging settings document on the `system` cap. Two authorities
|
|
10502
10512
|
* over the values is the exact defect
|
|
10503
|
-
* `docs/design/plans/2026-08-26-
|
|
10513
|
+
* `docs/design/plans/2026-08-26-per-component-logging.md` was written to
|
|
10504
10514
|
* remove; re-introducing it from the cure side would be grotesque.
|
|
10505
10515
|
*
|
|
10506
10516
|
* Nothing in this file reads a clock, an env var or a store. The registry is
|
|
@@ -12211,7 +12221,7 @@ var BrokerStatusEnum = _enum([
|
|
|
12211
12221
|
"unreachable",
|
|
12212
12222
|
"error"
|
|
12213
12223
|
]);
|
|
12214
|
-
var BrokerInfoSchema
|
|
12224
|
+
var BrokerInfoSchema = object({
|
|
12215
12225
|
/** Stable broker id. Persisted; survives addon restarts. */
|
|
12216
12226
|
id: string(),
|
|
12217
12227
|
/** Addon id of the provider that OWNS this broker.
|
|
@@ -12344,7 +12354,7 @@ var GetStateInputSchema = object({
|
|
|
12344
12354
|
* HA: entity_id (returns the cached entity state). */
|
|
12345
12355
|
key: string()
|
|
12346
12356
|
});
|
|
12347
|
-
method(ListInputSchema, array(BrokerInfoSchema
|
|
12357
|
+
method(ListInputSchema, array(BrokerInfoSchema)), method(GetInputSchema, BrokerInfoSchema.nullable()), method(_void(), array(BrokerProviderInfoSchema), { auth: "admin" }), method(AddInputSchema, AddResultSchema, {
|
|
12348
12358
|
kind: "mutation",
|
|
12349
12359
|
auth: "admin"
|
|
12350
12360
|
}), method(RemoveInputSchema, _void(), {
|
|
@@ -13953,7 +13963,7 @@ method(_void(), EngineInfoSchema, { auth: "admin" }), method(object({
|
|
|
13953
13963
|
*
|
|
13954
13964
|
* ⚠ An earlier version of this comment blamed Zod stripping, and that
|
|
13955
13965
|
* was wrong — corrected 2026-08-26 after the hop map
|
|
13956
|
-
* (`docs/design/2026-08-26-
|
|
13966
|
+
* (`docs/design/2026-08-26-topic-hop-map.md`) traced the path.
|
|
13957
13967
|
* There is **no Zod parse at all** between the door and the engine: the
|
|
13958
13968
|
* dispatcher forwards the payload verbatim and UDS carries it whole. A
|
|
13959
13969
|
* field declared here reaches `SqliteSettingsBackend` either way.
|
|
@@ -14709,7 +14719,17 @@ var SiteZoneSchema = object({
|
|
|
14709
14719
|
var ProviderStatusSchema = object({
|
|
14710
14720
|
connected: boolean(),
|
|
14711
14721
|
deviceCount: number$1(),
|
|
14712
|
-
error: string().optional()
|
|
14722
|
+
error: string().optional(),
|
|
14723
|
+
/**
|
|
14724
|
+
* `'orchestrator'`: this provider writes NO camera's `motion` runtime slice
|
|
14725
|
+
* — the orchestrator is its only writer (D696). Set by `BaseDeviceProvider`,
|
|
14726
|
+
* which every provider bundles, so only a provider BUILT from D696-amended
|
|
14727
|
+
* code says it. ABSENT means an older provider that may still write it (raw
|
|
14728
|
+
* VMD writes, a boot seed), and the orchestrator's provider gate keeps that
|
|
14729
|
+
* provider's cameras unwritten (`camera-sensors/motion-slice-provider-gate.ts`)
|
|
14730
|
+
* — the provider twin of the runner's `getLocalLoad().motionSliceWriter`.
|
|
14731
|
+
*/
|
|
14732
|
+
motionSliceWriter: literal("orchestrator").optional()
|
|
14713
14733
|
});
|
|
14714
14734
|
object({
|
|
14715
14735
|
externalId: string(),
|
|
@@ -15507,28 +15527,10 @@ method(object({
|
|
|
15507
15527
|
deviceIds: array(number$1()).readonly(),
|
|
15508
15528
|
caps: array(string()).readonly().optional()
|
|
15509
15529
|
}), record(string(), record(string(), unknown().nullable())));
|
|
15510
|
-
|
|
15511
|
-
/** Ms epoch of the last press. null = never observed since this provider started. */
|
|
15512
|
-
lastPressedAt: number$1().nullable(),
|
|
15513
|
-
/** Counter since provider start. Resets on reboot. Useful for metrics/debug. */
|
|
15514
|
-
pressCountSinceStart: number$1()
|
|
15515
|
-
});
|
|
15516
|
-
object({
|
|
15517
|
-
deviceId: number$1(),
|
|
15518
|
-
timestamp: number$1()
|
|
15519
|
-
});
|
|
15520
|
-
/**
|
|
15521
|
-
* The `doorbell-source` extension slot's editable value (D648): the camera's
|
|
15522
|
-
* virtual-doorbell trigger devices, exactly what the wrapper's
|
|
15523
|
-
* `doorbellSources` persists (as `{ deviceId }` records).
|
|
15524
|
-
*/
|
|
15525
|
-
var DoorbellSourceSlotValueSchema = object({ deviceIds: array(number$1().int().positive()) });
|
|
15530
|
+
var ExtensionSlotIdSchema = _enum(["linked-devices"]);
|
|
15526
15531
|
DeviceType.Camera;
|
|
15527
|
-
DeviceType.Button, DeviceType.Camera;
|
|
15528
|
-
var ExtensionSlotIdSchema = _enum(["doorbell-source", "linked-devices"]);
|
|
15529
|
-
DeviceType.Camera, DeviceType.Camera;
|
|
15530
15532
|
/** A slot's editable value, discriminated on `slot`. */
|
|
15531
|
-
var ExtensionSlotValueSchema = discriminatedUnion("slot", [
|
|
15533
|
+
var ExtensionSlotValueSchema = discriminatedUnion("slot", [LinkedDevicesSlotValueSchema.extend({ slot: literal("linked-devices") })]);
|
|
15532
15534
|
DeviceType.Camera;
|
|
15533
15535
|
var ExtensionSourceAvailabilitySchema = discriminatedUnion("state", [object({ state: literal("ok") }), object({
|
|
15534
15536
|
state: literal("unreachable"),
|
|
@@ -15565,10 +15567,11 @@ var ExtensionSlotSourceSchema = object({
|
|
|
15565
15567
|
});
|
|
15566
15568
|
/**
|
|
15567
15569
|
* A DIFFERENT authority that gates whether the slot's sources do anything —
|
|
15568
|
-
* reported read-only, named, never written through this contract (D62).
|
|
15569
|
-
*
|
|
15570
|
-
*
|
|
15571
|
-
* `unknown` means the gate could
|
|
15570
|
+
* reported read-only, named, never written through this contract (D62) — e.g.
|
|
15571
|
+
* a slot whose sources act only while a wrapper is bound to the host, a
|
|
15572
|
+
* binding that belongs to `deviceManager.setWrapperActive`. No slot reports
|
|
15573
|
+
* one today (`linked-devices` answers `null`). `unknown` means the gate could
|
|
15574
|
+
* not be read; it is not "inactive" (D315).
|
|
15572
15575
|
*/
|
|
15573
15576
|
var ExtensionSlotActivationSchema = object({
|
|
15574
15577
|
state: _enum([
|
|
@@ -15584,7 +15587,7 @@ var ExtensionSlotRowSchema = discriminatedUnion("state", [object({
|
|
|
15584
15587
|
/** `<source>:<slotId>` — the routing key for `listCandidates` / `setSlot`. */
|
|
15585
15588
|
slotRef: string(),
|
|
15586
15589
|
slot: ExtensionSlotIdSchema,
|
|
15587
|
-
/** Names the store written (D62), e.g. `
|
|
15590
|
+
/** Names the store written (D62), e.g. `device-manager:_linkedDeviceIds`. */
|
|
15588
15591
|
authority: string(),
|
|
15589
15592
|
activation: ExtensionSlotActivationSchema.nullable(),
|
|
15590
15593
|
value: ExtensionSlotValueSchema,
|
|
@@ -15862,7 +15865,7 @@ method(object({
|
|
|
15862
15865
|
* per-device window, `KeyFrameCaptureLog`, `bumpCropMetric`. Every one of them
|
|
15863
15866
|
* ends in a log line, and a log line is the thing the operator asked to stop
|
|
15864
15867
|
* needing: *"possiamo armare questi errori intanto? Così al prossimo giro
|
|
15865
|
-
* ricontrolliamo tutti questi punti"
|
|
15868
|
+
* ricontrolliamo tutti questi punti"* [can we instrument these errors in the meantime? That way next round we recheck all these points]. Reading them meant grepping Loki and
|
|
15866
15869
|
* hand-correlating timestamps, which is how a 22% thumbnail gap and a 3-hour
|
|
15867
15870
|
* media blackout were both diagnosed. The counters stay; this is where they can
|
|
15868
15871
|
* be READ.
|
|
@@ -17346,7 +17349,7 @@ var BrokerStatusSchema$1 = _enum([
|
|
|
17346
17349
|
"unreachable",
|
|
17347
17350
|
"tls-error"
|
|
17348
17351
|
]);
|
|
17349
|
-
var BrokerInfoSchema = object({
|
|
17352
|
+
var BrokerInfoSchema$1 = object({
|
|
17350
17353
|
id: string(),
|
|
17351
17354
|
name: string(),
|
|
17352
17355
|
url: string(),
|
|
@@ -17409,7 +17412,7 @@ var StatusSchema = object({
|
|
|
17409
17412
|
brokerCount: number$1(),
|
|
17410
17413
|
embeddedRunning: boolean()
|
|
17411
17414
|
});
|
|
17412
|
-
method(_void(), array(BrokerInfoSchema)), method(IdInputSchema, BrokerConnectionDetailsSchema, { auth: "admin" }), method(AddBrokerInputSchema, AddBrokerResultSchema, {
|
|
17415
|
+
method(_void(), array(BrokerInfoSchema$1)), method(IdInputSchema, BrokerConnectionDetailsSchema, { auth: "admin" }), method(AddBrokerInputSchema, AddBrokerResultSchema, {
|
|
17413
17416
|
kind: "mutation",
|
|
17414
17417
|
auth: "admin"
|
|
17415
17418
|
}), method(IdInputSchema, _void(), {
|
|
@@ -19585,78 +19588,16 @@ var NcRuleInputSchema = object({
|
|
|
19585
19588
|
*/
|
|
19586
19589
|
confirm: NcConfirmSchema.optional(),
|
|
19587
19590
|
/**
|
|
19588
|
-
*
|
|
19589
|
-
*
|
|
19590
|
-
*
|
|
19591
|
-
*
|
|
19592
|
-
*
|
|
19593
|
-
*
|
|
19594
|
-
*
|
|
19595
|
-
*
|
|
19596
|
-
*
|
|
19597
|
-
* Only two honest answers exist, and this flag picks between them. It has
|
|
19598
|
-
* effect ONLY on a rule that declares a recognition scope
|
|
19599
|
-
* ({@link NcConditions.identities} or {@link NcConditions.plates}) — on any
|
|
19600
|
-
* other rule there is nothing to wait for and the flag is inert.
|
|
19601
|
-
*
|
|
19602
|
-
* | value | what happens |
|
|
19603
|
-
* | --- | --- |
|
|
19604
|
-
* | `true` | the rule stops firing on the object event and fires at TRACK CLOSE instead, once, with the name — later, and complete |
|
|
19605
|
-
* | 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) |
|
|
19606
|
-
*
|
|
19607
|
-
* `.optional()` and deliberately NOT `.default()`: a Zod default does not run
|
|
19608
|
-
* on the addon cap path, and absent has to keep meaning exactly what every
|
|
19609
|
-
* rule authored before this field meant.
|
|
19610
|
-
*
|
|
19611
|
-
* The cost of `true` is stated here because the editor states it too: a rule
|
|
19612
|
-
* that waits also inherits track-close SEMANTICS — its `zones` condition
|
|
19613
|
-
* tests every zone the track visited and a `crossing` condition can no longer
|
|
19614
|
-
* be satisfied, because a closed track carries no crossing.
|
|
19615
|
-
*/
|
|
19616
|
-
waitForEnhancement: boolean().optional(),
|
|
19617
|
-
/**
|
|
19618
|
-
* GROUP a burst of subjects into ONE notification that grows.
|
|
19619
|
-
*
|
|
19620
|
-
* Seconds of quiet after the last matching subject before the burst is
|
|
19621
|
-
* considered over. While it is open, the first subject enqueues immediately —
|
|
19622
|
-
* **exactly as today, with no added latency** — and every real growth (a new
|
|
19623
|
-
* subject, or a name confirmed on one already in it) REPLACES that
|
|
19624
|
-
* notification with an updated one naming everybody. The push carries the
|
|
19625
|
-
* group's own coalescing tag, so the phone replaces rather than stacks.
|
|
19626
|
-
*
|
|
19627
|
-
* `0` / absent = off, and off is today's behaviour byte for byte.
|
|
19628
|
-
*
|
|
19629
|
-
* ### Why an idle cutoff and not a window
|
|
19630
|
-
*
|
|
19631
|
-
* The measured seven-person arrival on device 590 spans 110 s with every
|
|
19632
|
-
* internal gap under 30 s. A 12 s fixed window cuts it into three groups; an
|
|
19633
|
-
* idle cutoff holds it as one and ends it when the arrival actually ends.
|
|
19634
|
-
* 30 s is a widely shipped value for the same decision.
|
|
19635
|
-
*
|
|
19636
|
-
* ### What it replaces
|
|
19637
|
-
*
|
|
19638
|
-
* The blind cooldown, which collapses a burst by DISCARDING it. Measured on
|
|
19639
|
-
* device 615 / *Persona su Uscio* over six days: 116 qualifying tracks → 74
|
|
19640
|
-
* notifications, **44 (37.9%) suppressed outright**, 23 of them overlapping a
|
|
19641
|
-
* track that did fire and 7 carrying a confirmed identity nobody heard about.
|
|
19642
|
-
* A group collapses the same volume by MERGING, so the cooldown becomes a
|
|
19643
|
-
* budget over GROUPS — which is what it always meant — and a growth is never
|
|
19644
|
-
* throttled by the window its own first member spent.
|
|
19645
|
-
*
|
|
19646
|
-
* ### Interaction with {@link waitForEnhancement}
|
|
19647
|
-
*
|
|
19648
|
-
* They compose, and the order matters. `waitForEnhancement` defers the rule to
|
|
19649
|
-
* TRACK CLOSE, so with both set the group is opened by the first member to
|
|
19650
|
-
* CLOSE — already carrying its name — and grows as later members close. That
|
|
19651
|
-
* is later, and complete. With grouping alone the group opens on the first
|
|
19652
|
-
* object event and picks up names as they are confirmed, through the growth
|
|
19653
|
-
* path. Neither combination fires twice for one subject.
|
|
19654
|
-
*
|
|
19655
|
-
* `.optional()` and deliberately NOT `.default()`: a Zod default does not run
|
|
19656
|
-
* on the addon cap path, so absent must keep meaning what it meant before this
|
|
19657
|
-
* field existed.
|
|
19591
|
+
* IMMEDIATE GROUPED (D692): the first matching subject opens a window of this many
|
|
19592
|
+
* seconds; the rule sends ONE message when the window closes — early, once every
|
|
19593
|
+
* subject in it is final, never before {@link NC_GROUPING_MIN_SEC} — naming everybody
|
|
19594
|
+
* the rule matched, with one mosaic tile per subject.
|
|
19595
|
+
* Absent = plain immediate (one message per track, at the first match).
|
|
19596
|
+
* Only an `immediate` DETECTION rule may carry it (`ruleGroupingApplies`, enforced on
|
|
19597
|
+
* save by the hub's grouping guard). `.optional()`, never `.default()`: the addon cap
|
|
19598
|
+
* path does not run Zod defaults.
|
|
19658
19599
|
*/
|
|
19659
|
-
|
|
19600
|
+
groupingSec: number$1().int().min(5).max(60).optional()
|
|
19660
19601
|
});
|
|
19661
19602
|
/**
|
|
19662
19603
|
* Partial patch for `updateRule` — any subset of the input fields, plus the
|
|
@@ -19704,9 +19645,10 @@ var NcRuleClearableKeySchema = _enum([
|
|
|
19704
19645
|
"targetUsers",
|
|
19705
19646
|
"snoozeOptions",
|
|
19706
19647
|
"snoozeAllowGlobal",
|
|
19707
|
-
"waitForEnhancement",
|
|
19708
19648
|
"actions",
|
|
19709
19649
|
"confirm",
|
|
19650
|
+
"groupingSec",
|
|
19651
|
+
"waitForEnhancement",
|
|
19710
19652
|
"groupIdleSec"
|
|
19711
19653
|
]);
|
|
19712
19654
|
var NcRuleUpdateInputSchema = object({
|
|
@@ -19728,9 +19670,25 @@ var NcRuleSchema = NcRuleInputSchema.extend({
|
|
|
19728
19670
|
*/
|
|
19729
19671
|
disabledTargetIds: array(string()).default([])
|
|
19730
19672
|
});
|
|
19673
|
+
/**
|
|
19674
|
+
* The state-summary SECTIONS (D647 / D698): the D637 kind groups that report a
|
|
19675
|
+
* still-true state. `backups-exports` and `alarm` are not sections — a completed
|
|
19676
|
+
* job is not an open state, and the alarm stays instant.
|
|
19677
|
+
*/
|
|
19678
|
+
var NcStateSummarySectionIdSchema = _enum([
|
|
19679
|
+
"device-state",
|
|
19680
|
+
"streams",
|
|
19681
|
+
"battery",
|
|
19682
|
+
"consumables",
|
|
19683
|
+
"tanks",
|
|
19684
|
+
"detection-blind",
|
|
19685
|
+
"nodes",
|
|
19686
|
+
"addons",
|
|
19687
|
+
"updates"
|
|
19688
|
+
]);
|
|
19731
19689
|
/** One section of a previewed state summary. `unavailable` = its state could not be read. */
|
|
19732
19690
|
var NcStateSummaryPreviewSectionSchema = object({
|
|
19733
|
-
id:
|
|
19691
|
+
id: NcStateSummarySectionIdSchema,
|
|
19734
19692
|
status: _enum(["read", "unavailable"]),
|
|
19735
19693
|
items: number$1().int().nonnegative(),
|
|
19736
19694
|
reason: string().optional()
|
|
@@ -19740,7 +19698,7 @@ var NcStateSummaryPreviewSectionSchema = object({
|
|
|
19740
19698
|
* a `rule` split (no `section`), one section's on a `section` split.
|
|
19741
19699
|
*/
|
|
19742
19700
|
var NcStateSummaryPreviewRowSchema = object({
|
|
19743
|
-
section:
|
|
19701
|
+
section: NcStateSummarySectionIdSchema.optional(),
|
|
19744
19702
|
/** The section's name on a per-section row; every reported section's, joined, on a combined one. */
|
|
19745
19703
|
title: string(),
|
|
19746
19704
|
text: string(),
|
|
@@ -20177,6 +20135,29 @@ object({
|
|
|
20177
20135
|
firstAt: number$1(),
|
|
20178
20136
|
lastAt: number$1()
|
|
20179
20137
|
});
|
|
20138
|
+
var NC_ALARM_TRIGGERED_MAX_SEC = 3600;
|
|
20139
|
+
var NcAlarmDelaySecSchema = number$1().int().min(0).max(600);
|
|
20140
|
+
var NcAlarmTriggeredSecSchema = number$1().int().min(0).max(NC_ALARM_TRIGGERED_MAX_SEC);
|
|
20141
|
+
var uniqueModes = (entries) => new Set(entries.map((e) => e.mode)).size === entries.length;
|
|
20142
|
+
var NcAlarmModeDelaysListSchema = array(object({
|
|
20143
|
+
mode: AlarmArmModeSchema,
|
|
20144
|
+
exitDelaySec: NcAlarmDelaySecSchema.optional(),
|
|
20145
|
+
entryDelaySec: NcAlarmDelaySecSchema.optional(),
|
|
20146
|
+
triggeredDurationSec: NcAlarmTriggeredSecSchema.optional()
|
|
20147
|
+
})).max(8).refine(uniqueModes, { message: "modeDelays: at most one entry per arm mode" });
|
|
20148
|
+
var NcAlarmModeDelaysEditListSchema = array(object({
|
|
20149
|
+
mode: AlarmArmModeSchema,
|
|
20150
|
+
exitDelaySec: NcAlarmDelaySecSchema.nullable().optional(),
|
|
20151
|
+
entryDelaySec: NcAlarmDelaySecSchema.nullable().optional(),
|
|
20152
|
+
triggeredDurationSec: NcAlarmTriggeredSecSchema.nullable().optional()
|
|
20153
|
+
})).max(8).refine(uniqueModes, { message: "modeDelays: at most one edit per arm mode" });
|
|
20154
|
+
/** One switch of the alarm table: put ONE device on, or take it off, ONE mode's list. */
|
|
20155
|
+
var NcAlarmNonBlockingEditSchema = object({
|
|
20156
|
+
mode: AlarmArmModeSchema,
|
|
20157
|
+
deviceId: number$1().int().positive(),
|
|
20158
|
+
/** true = on the list (may be open, does not block); false = off the list (blocks). */
|
|
20159
|
+
nonBlocking: boolean()
|
|
20160
|
+
});
|
|
20180
20161
|
/**
|
|
20181
20162
|
* The per-mode lists, at most one per mode. Two lists for one mode have no
|
|
20182
20163
|
* meaning a reader could agree on (union? the last one?), so they are refused
|
|
@@ -20185,10 +20166,10 @@ object({
|
|
|
20185
20166
|
var NcAlarmNonBlockingListSchema = array(object({
|
|
20186
20167
|
mode: AlarmArmModeSchema,
|
|
20187
20168
|
deviceIds: array(number$1().int()).max(200)
|
|
20188
|
-
})).max(8).refine(
|
|
20169
|
+
})).max(8).refine(uniqueModes, { message: "nonBlocking: at most one list per arm mode" });
|
|
20189
20170
|
/**
|
|
20190
|
-
* The three durations
|
|
20191
|
-
* transitions, and which openings each mode tolerates.
|
|
20171
|
+
* The three durations — global, and per mode since D697 — the panel's state
|
|
20172
|
+
* machine runs on, who hears about its transitions, and which openings each mode tolerates.
|
|
20192
20173
|
*
|
|
20193
20174
|
* They live on the NOTIFICATION-RULES cap, not on `alarm-panel`, on purpose:
|
|
20194
20175
|
* `alarm-panel` is `deviceNative` and its other provider mirrors somebody
|
|
@@ -20198,15 +20179,15 @@ var NcAlarmNonBlockingListSchema = array(object({
|
|
|
20198
20179
|
*/
|
|
20199
20180
|
var NcAlarmSettingsSchema = object({
|
|
20200
20181
|
/** Grace period between arming and the mode taking effect. 0 = immediate. */
|
|
20201
|
-
exitDelaySec:
|
|
20182
|
+
exitDelaySec: NcAlarmDelaySecSchema,
|
|
20202
20183
|
/** Grace period between a trigger and the alarm firing. 0 = immediate. */
|
|
20203
|
-
entryDelaySec:
|
|
20184
|
+
entryDelaySec: NcAlarmDelaySecSchema,
|
|
20204
20185
|
/**
|
|
20205
20186
|
* How long `triggered` lasts before the panel re-arms itself.
|
|
20206
20187
|
* **0 = until an operator disarms it** — the behaviour before this field
|
|
20207
20188
|
* existed, and therefore what an untouched install keeps doing.
|
|
20208
20189
|
*/
|
|
20209
|
-
triggeredDurationSec:
|
|
20190
|
+
triggeredDurationSec: NcAlarmTriggeredSecSchema,
|
|
20210
20191
|
/**
|
|
20211
20192
|
* Deprecated by D630 — every transition is announced. Parsed, never read;
|
|
20212
20193
|
* remove after one release. Optional so an older admin's patch (which still
|
|
@@ -20229,17 +20210,30 @@ var NcAlarmSettingsSchema = object({
|
|
|
20229
20210
|
* per mode is meaningful. Defaulted to `[]` so a blob stored before D630
|
|
20230
20211
|
* parses as "every opening blocks" — the behaviour it was written under.
|
|
20231
20212
|
*/
|
|
20232
|
-
nonBlocking: NcAlarmNonBlockingListSchema.default([])
|
|
20213
|
+
nonBlocking: NcAlarmNonBlockingListSchema.default([]),
|
|
20214
|
+
/**
|
|
20215
|
+
* Per arm mode, the delays that mode OVERRIDES (D697). A mode with no entry, or an entry
|
|
20216
|
+
* without a field, uses the global value above — so `[]`, the default, is exactly the
|
|
20217
|
+
* behaviour of a blob stored before this field existed. Read through `resolveModeDelays`.
|
|
20218
|
+
*/
|
|
20219
|
+
modeDelays: NcAlarmModeDelaysListSchema.default([])
|
|
20233
20220
|
});
|
|
20234
20221
|
/**
|
|
20235
20222
|
* Every field optional — a tab edits one control at a time.
|
|
20236
20223
|
*
|
|
20237
|
-
* `nonBlocking`
|
|
20238
|
-
* remove an inner `.default()`, so a patch that never
|
|
20239
|
-
* parse to `
|
|
20240
|
-
* (the same trap {@link NcRulePatchSchema} documents).
|
|
20224
|
+
* `nonBlocking` and `modeDelays` are re-declared WITHOUT their defaults:
|
|
20225
|
+
* `.partial()` does not remove an inner `.default()`, so a patch that never
|
|
20226
|
+
* named the field would parse to `[]` and wipe every mode's list on an
|
|
20227
|
+
* unrelated edit (the same trap {@link NcRulePatchSchema} documents). Here
|
|
20228
|
+
* `modeDelays` means EDITS, not the stored overrides.
|
|
20241
20229
|
*/
|
|
20242
|
-
var NcAlarmSettingsPatchSchema = NcAlarmSettingsSchema.extend({
|
|
20230
|
+
var NcAlarmSettingsPatchSchema = NcAlarmSettingsSchema.extend({
|
|
20231
|
+
nonBlocking: NcAlarmNonBlockingListSchema,
|
|
20232
|
+
/** Per-mode, per-field edits — NOT the whole list (see NcAlarmModeDelaysEditSchema). */
|
|
20233
|
+
modeDelays: NcAlarmModeDelaysEditListSchema,
|
|
20234
|
+
/** ONE membership change; the panel applies it to the list it holds at its turn. */
|
|
20235
|
+
nonBlockingEdit: NcAlarmNonBlockingEditSchema
|
|
20236
|
+
}).partial().refine((p) => p.nonBlocking === void 0 || p.nonBlockingEdit === void 0, { message: "nonBlocking and nonBlockingEdit are exclusive — send the whole lists or one edit" });
|
|
20243
20237
|
/**
|
|
20244
20238
|
* What one arm mode actually arms, DERIVED from the enabled rules gated on it.
|
|
20245
20239
|
* Never authored, never stored — see `alarm-mode-coverage.ts` for why a stored
|
|
@@ -20339,6 +20333,28 @@ var NcAlarmConfigSchema = object({
|
|
|
20339
20333
|
*/
|
|
20340
20334
|
live: NcAlarmLiveSchema.optional()
|
|
20341
20335
|
});
|
|
20336
|
+
var NcAlarmSensorReadingSchema = _enum([
|
|
20337
|
+
"open",
|
|
20338
|
+
"closed",
|
|
20339
|
+
"unknown",
|
|
20340
|
+
"not-opening"
|
|
20341
|
+
]);
|
|
20342
|
+
/** One device's state as the alarm reads it — the classifier the arm check uses. */
|
|
20343
|
+
var NcAlarmSensorStateSchema = object({
|
|
20344
|
+
deviceId: number$1().int().positive(),
|
|
20345
|
+
reading: NcAlarmSensorReadingSchema,
|
|
20346
|
+
/** The word as read (`open`, `closed`, `unlocked`, `stopped`, …); null when unknown / not an opening. */
|
|
20347
|
+
state: string().nullable(),
|
|
20348
|
+
/** Why `unknown`: the read failed, or the slice holds no word its cap defines (a placeholder included). */
|
|
20349
|
+
unknownWhy: _enum(["read-failed", "unknown-word"]).nullable(),
|
|
20350
|
+
/** The device manager's liveness as the centre mirrors it; null = not known. */
|
|
20351
|
+
online: boolean().nullable()
|
|
20352
|
+
});
|
|
20353
|
+
var NcAlarmSensorsInputSchema = object({ deviceIds: array(number$1().int().positive()).max(500) });
|
|
20354
|
+
var NcAlarmSensorsSchema = object({
|
|
20355
|
+
sensors: array(NcAlarmSensorStateSchema),
|
|
20356
|
+
readAt: number$1().int().nonnegative()
|
|
20357
|
+
});
|
|
20342
20358
|
/**
|
|
20343
20359
|
* ONE rule's demand on ONE camera's clip ring.
|
|
20344
20360
|
*
|
|
@@ -20429,7 +20445,7 @@ method(object({}), object({ rules: array(NcRuleSchema) }), { auth: "admin" }), m
|
|
|
20429
20445
|
}), method(object({}), NcAlarmConfigSchema, { auth: "admin" }), method(object({ patch: NcAlarmSettingsPatchSchema }), NcAlarmConfigSchema, {
|
|
20430
20446
|
kind: "mutation",
|
|
20431
20447
|
auth: "admin"
|
|
20432
|
-
});
|
|
20448
|
+
}), method(NcAlarmSensorsInputSchema, NcAlarmSensorsSchema, { auth: "admin" });
|
|
20433
20449
|
/**
|
|
20434
20450
|
* Zod schemas for persisted record types.
|
|
20435
20451
|
*
|
|
@@ -20776,12 +20792,26 @@ var CameraSensorRefSchema = object({
|
|
|
20776
20792
|
function cameraSensorRefKey(ref) {
|
|
20777
20793
|
return `${ref.addonId}/${ref.stableId}`;
|
|
20778
20794
|
}
|
|
20779
|
-
/**
|
|
20780
|
-
|
|
20781
|
-
|
|
20782
|
-
|
|
20783
|
-
|
|
20784
|
-
|
|
20795
|
+
/**
|
|
20796
|
+
* A sensor's mode (D673). `in-addition`: its motion is the camera's motion too.
|
|
20797
|
+
* `replace`: its motion is the camera's, and while one is READY the camera's
|
|
20798
|
+
* own motion no longer counts on its own. `confirm`: while one is READY the
|
|
20799
|
+
* camera's own motion counts only while a confirm sensor is active — with or
|
|
20800
|
+
* without a replace sensor (spec C2, the controller's ruling on Q1).
|
|
20801
|
+
*/
|
|
20802
|
+
var CameraSensorModeSchema = _enum([
|
|
20803
|
+
"in-addition",
|
|
20804
|
+
"confirm",
|
|
20805
|
+
"replace"
|
|
20806
|
+
]);
|
|
20807
|
+
/** A stored sensor with no mode — every CS-1 row — is in addition. */
|
|
20808
|
+
var DEFAULT_CAMERA_SENSOR_MODE = "in-addition";
|
|
20809
|
+
/**
|
|
20810
|
+
* A camera's attached sensors. A CS-1 row carried an envelope
|
|
20811
|
+
* `mode: 'in-addition'`: `z.object` drops it on parse, and the PARSED value is
|
|
20812
|
+
* what the write stores (D672 rule 3), so it is never written again.
|
|
20813
|
+
*/
|
|
20814
|
+
var CameraSensorsConfigSchema = object({ sensors: array(CameraSensorRefSchema.extend({ mode: CameraSensorModeSchema.default(DEFAULT_CAMERA_SENSOR_MODE) })).min(1).max(8) }).superRefine((value, ctx) => {
|
|
20785
20815
|
const seen = /* @__PURE__ */ new Set();
|
|
20786
20816
|
value.sensors.forEach((ref, index) => {
|
|
20787
20817
|
const key = cameraSensorRefKey(ref);
|
|
@@ -20793,39 +20823,41 @@ var CameraSensorsConfigSchema = object({
|
|
|
20793
20823
|
seen.add(key);
|
|
20794
20824
|
});
|
|
20795
20825
|
});
|
|
20796
|
-
|
|
20826
|
+
/** Every attachment names its mode; an older orchestrator that does not is in addition. */
|
|
20827
|
+
var AttachmentFields = {
|
|
20797
20828
|
addonId: string(),
|
|
20798
|
-
stableId: string()
|
|
20829
|
+
stableId: string(),
|
|
20830
|
+
mode: CameraSensorModeSchema.default(DEFAULT_CAMERA_SENSOR_MODE)
|
|
20799
20831
|
};
|
|
20800
20832
|
var CameraSensorAttachmentSchema = discriminatedUnion("state", [
|
|
20801
20833
|
object({
|
|
20802
|
-
...
|
|
20834
|
+
...AttachmentFields,
|
|
20803
20835
|
state: literal("ready"),
|
|
20804
20836
|
deviceId: number$1(),
|
|
20805
20837
|
name: string(),
|
|
20806
20838
|
caps: array(string()).readonly()
|
|
20807
20839
|
}),
|
|
20808
20840
|
object({
|
|
20809
|
-
...
|
|
20841
|
+
...AttachmentFields,
|
|
20810
20842
|
state: literal("offline"),
|
|
20811
20843
|
deviceId: number$1(),
|
|
20812
20844
|
name: string(),
|
|
20813
20845
|
reason: _enum(["offline", "disabled"])
|
|
20814
20846
|
}),
|
|
20815
20847
|
object({
|
|
20816
|
-
...
|
|
20848
|
+
...AttachmentFields,
|
|
20817
20849
|
state: literal("missing"),
|
|
20818
20850
|
reason: string()
|
|
20819
20851
|
}),
|
|
20820
20852
|
object({
|
|
20821
|
-
...
|
|
20853
|
+
...AttachmentFields,
|
|
20822
20854
|
state: literal("unsupported"),
|
|
20823
20855
|
deviceId: number$1(),
|
|
20824
20856
|
name: string(),
|
|
20825
20857
|
reason: string()
|
|
20826
20858
|
}),
|
|
20827
20859
|
object({
|
|
20828
|
-
...
|
|
20860
|
+
...AttachmentFields,
|
|
20829
20861
|
state: literal("unreadable"),
|
|
20830
20862
|
reason: string()
|
|
20831
20863
|
})
|
|
@@ -20838,17 +20870,49 @@ var CameraSensorAttachmentSchema = discriminatedUnion("state", [
|
|
|
20838
20870
|
* say.
|
|
20839
20871
|
*/
|
|
20840
20872
|
var CameraSensorsNotForwardedSchema = _enum(["onboard-not-listed", "no-active-detection"]);
|
|
20873
|
+
/** Whether the camera's OWN motion counts on its own (D673 C2), from its READY sensors (C3). */
|
|
20874
|
+
var CameraOwnMotionSchema = _enum([
|
|
20875
|
+
"always",
|
|
20876
|
+
"when-confirmed",
|
|
20877
|
+
"never"
|
|
20878
|
+
]);
|
|
20879
|
+
/** Confirm / Replace cannot suppress this camera's motion: its provider still emits it directly (D673 C13). */
|
|
20880
|
+
var CameraSensorsNotEnforcedSchema = _enum(["provider-not-split"]);
|
|
20881
|
+
/**
|
|
20882
|
+
* The camera's OWN onboard motion (D696): the raw input the bridge combines,
|
|
20883
|
+
* never the effective value. The camera's `motion` slice is the effective one,
|
|
20884
|
+
* so a view of the camera's own row reads this.
|
|
20885
|
+
* - `atMs`: when the bridge received the camera's last own edge.
|
|
20886
|
+
* - `detected`: evaluated WHEN THE STATUS IS ASKED — the last edge said `true`
|
|
20887
|
+
* AND it is younger than the window the bridge counts the camera's own motion
|
|
20888
|
+
* for (`motionCooldownMs`, floored at two sustain ticks). A camera that never
|
|
20889
|
+
* sends a clear (heartbeats only) therefore reads `false` once no push came
|
|
20890
|
+
* within the window; a status read is a snapshot, so a live view re-asks.
|
|
20891
|
+
* Absent = this orchestrator has not received the camera's own motion since it
|
|
20892
|
+
* started (unknown, never "quiet"), or an orchestrator older than D696.
|
|
20893
|
+
*/
|
|
20894
|
+
var CameraRawLevelSchema = object({
|
|
20895
|
+
detected: boolean(),
|
|
20896
|
+
atMs: number$1()
|
|
20897
|
+
});
|
|
20841
20898
|
var CameraSensorsStatusSchema = discriminatedUnion("state", [
|
|
20842
|
-
object({
|
|
20899
|
+
object({
|
|
20900
|
+
state: literal("not-configured"),
|
|
20901
|
+
cameraLevel: CameraRawLevelSchema.optional()
|
|
20902
|
+
}),
|
|
20843
20903
|
object({
|
|
20844
20904
|
state: literal("unreadable"),
|
|
20845
|
-
reason: string()
|
|
20905
|
+
reason: string(),
|
|
20906
|
+
cameraLevel: CameraRawLevelSchema.optional()
|
|
20846
20907
|
}),
|
|
20847
20908
|
object({
|
|
20848
20909
|
state: literal("configured"),
|
|
20849
|
-
|
|
20910
|
+
cameraLevel: CameraRawLevelSchema.optional(),
|
|
20850
20911
|
sensors: array(CameraSensorAttachmentSchema).readonly(),
|
|
20851
|
-
|
|
20912
|
+
/** Absent = an orchestrator older than CS-2: it does not say (D315). */
|
|
20913
|
+
cameraMotion: CameraOwnMotionSchema.optional(),
|
|
20914
|
+
notForwarded: CameraSensorsNotForwardedSchema.optional(),
|
|
20915
|
+
notEnforced: CameraSensorsNotEnforcedSchema.optional()
|
|
20852
20916
|
})
|
|
20853
20917
|
]);
|
|
20854
20918
|
Object.freeze({
|
|
@@ -21533,14 +21597,14 @@ var TrackSchema = object({
|
|
|
21533
21597
|
* `derive-returned-null tile=standin`,
|
|
21534
21598
|
* `native-tile tile=native no-key-frame-at-close`, …) written at close and
|
|
21535
21599
|
* CLEARED by the late-keyFrame upgrade when a native tile lands after all.
|
|
21536
|
-
* The operator-facing answer to "perché manca l'immagine?" on a track whose
|
|
21600
|
+
* The operator-facing answer to "perché manca l'immagine?" [why is the image missing?] on a track whose
|
|
21537
21601
|
* tile is a face/plate stand-in, a raster crop, or an icon.
|
|
21538
21602
|
*
|
|
21539
21603
|
* **`no-key-frame-at-close` (D400).** The line used to be written ONLY when
|
|
21540
21604
|
* the TILE ranked below native, so a track whose thumbnail landed natively
|
|
21541
21605
|
* while its key frame missed carried no reason at all — three of the four
|
|
21542
21606
|
* `MISSING_KEYFRAME` tracks in the 2026-09-07 operator audit were exactly
|
|
21543
|
-
* that shape, and their "niente ultimo" had no cause anywhere on the row.
|
|
21607
|
+
* that shape, and their "niente ultimo" [no last frame] had no cause anywhere on the row.
|
|
21544
21608
|
* The key frame is the head of a cascade (`keyFrame ⇒ keyFrameSmall ⇒ the
|
|
21545
21609
|
* lastFrame copy source`), so its absence is now on this line whatever the
|
|
21546
21610
|
* tile ended up being.
|
|
@@ -21627,7 +21691,7 @@ var MotionEventSchema = object({
|
|
|
21627
21691
|
/**
|
|
21628
21692
|
* Ms offsets from `timestamp` (the episode's own first rising edge, so the
|
|
21629
21693
|
* first entry is always `0`) of every genuine off→on transition the
|
|
21630
|
-
* episode saw — "ogni evento on si deve salvare" (D475). NOT one entry per
|
|
21694
|
+
* episode saw — "ogni evento on si deve salvare" [every ON event must be saved] (D475). NOT one entry per
|
|
21631
21695
|
* push: a firmware source that keepalives at ~1 Hz for the whole burst
|
|
21632
21696
|
* (Reolink, Hikvision) produces exactly one edge; a source that reports an
|
|
21633
21697
|
* explicit `false` mid-episode and then resumes before the quiet window
|
|
@@ -22151,6 +22215,7 @@ var KeyEventSchema = object({
|
|
|
22151
22215
|
bestEventId: string(),
|
|
22152
22216
|
/** Track lifetime in ms (lastSeen - firstSeen). */
|
|
22153
22217
|
windowMs: number$1().optional(),
|
|
22218
|
+
audioLabels: array(TrackAudioLabelSchema).readonly().optional(),
|
|
22154
22219
|
...TrackFlagFields,
|
|
22155
22220
|
...TrackRetrainFields
|
|
22156
22221
|
});
|
|
@@ -24039,8 +24104,10 @@ var RunnerCameraConfigSchema = object({
|
|
|
24039
24104
|
* - `analyzer`: ML/frame-diff motion detection (motion-wasm or other
|
|
24040
24105
|
* analyzer providers) running on decoded frames in this runner.
|
|
24041
24106
|
* - `onboard`: camera-native motion pushes (Reolink Baichuan, ONVIF
|
|
24042
|
-
* analytics). The provider emits ProviderMotion
|
|
24043
|
-
*
|
|
24107
|
+
* analytics). The provider emits its raw push as `ProviderMotion`
|
|
24108
|
+
* (D673); the orchestrator's camera-sensors bridge re-emits the camera's
|
|
24109
|
+
* effective motion as `MotionOnMotionChanged`, which is what reaches
|
|
24110
|
+
* `reportMotion`.
|
|
24044
24111
|
*/
|
|
24045
24112
|
motionSources: MotionSourcesSchema.default(["analyzer"]),
|
|
24046
24113
|
/**
|
|
@@ -24217,7 +24284,15 @@ var RunnerLocalLoadSchema = object({
|
|
|
24217
24284
|
hasGpu: boolean(),
|
|
24218
24285
|
inferenceBackend: string().optional(),
|
|
24219
24286
|
cpuCores: number$1().optional()
|
|
24220
|
-
})
|
|
24287
|
+
}),
|
|
24288
|
+
/**
|
|
24289
|
+
* Who writes a camera's `motion` runtime slice (D696). `'orchestrator'`: this
|
|
24290
|
+
* runner never writes it. ABSENT = a runner older than D696, which still
|
|
24291
|
+
* writes the slice from its phase machine; the orchestrator does not write
|
|
24292
|
+
* while any runner node is absent-or-unanswered, so one slice never has two
|
|
24293
|
+
* writers.
|
|
24294
|
+
*/
|
|
24295
|
+
motionSliceWriter: literal("orchestrator").optional()
|
|
24221
24296
|
});
|
|
24222
24297
|
/**
|
|
24223
24298
|
* Aggregate runtime metrics for the runner's whole local pool. Mirrors the
|
|
@@ -26853,7 +26928,7 @@ var ClipPlaybackSchema = object({
|
|
|
26853
26928
|
* **One authorised yes is one wake.** `next-natural` — take the clip the next
|
|
26854
26929
|
* time the camera is awake for its own reasons — is deliberately not a member:
|
|
26855
26930
|
* it was proposed, it is free on the battery, and the operator declined it on
|
|
26856
|
-
* 2026-09-20 (*"Quando un export viene richiesto si sveglia la camera."
|
|
26931
|
+
* 2026-09-20 (*"Quando un export viene richiesto si sveglia la camera."* [When an export is requested the camera wakes up],
|
|
26857
26932
|
* D558 "Considered and not taken").
|
|
26858
26933
|
*/
|
|
26859
26934
|
var ClipWakeSchema = _enum(["authorised"]);
|
|
@@ -27114,7 +27189,7 @@ DeviceType.Camera, method(object({
|
|
|
27114
27189
|
* It replaced `sources?: string[]`, a VIEW filter over source ids that
|
|
27115
27190
|
* assumed the answer was a fan-out over everything a camera has. The
|
|
27116
27191
|
* operator settled otherwise on 2026-09-20 — *"l'utilizzatore è uno
|
|
27117
|
-
* solo"* — so the list is asked of one provider at a time and there is
|
|
27192
|
+
* solo"* [there is only one user] — so the list is asked of one provider at a time and there is
|
|
27118
27193
|
* nothing to filter out of it.
|
|
27119
27194
|
*/
|
|
27120
27195
|
provider: string().min(1)
|
|
@@ -29058,6 +29133,17 @@ object({
|
|
|
29058
29133
|
deviceId: number$1(),
|
|
29059
29134
|
status: DeviceStatusSchema
|
|
29060
29135
|
});
|
|
29136
|
+
object({
|
|
29137
|
+
/** Ms epoch of the last press. null = never observed since this provider started. */
|
|
29138
|
+
lastPressedAt: number$1().nullable(),
|
|
29139
|
+
/** Counter since provider start. Resets on reboot. Useful for metrics/debug. */
|
|
29140
|
+
pressCountSinceStart: number$1()
|
|
29141
|
+
});
|
|
29142
|
+
object({
|
|
29143
|
+
deviceId: number$1(),
|
|
29144
|
+
timestamp: number$1()
|
|
29145
|
+
});
|
|
29146
|
+
DeviceType.Button, DeviceType.Camera;
|
|
29061
29147
|
/**
|
|
29062
29148
|
* Enum-state sensor — a string value picked from a finite option set.
|
|
29063
29149
|
* Drives HA `sensor` entries with `state_class: enum` (HVAC action
|
|
@@ -30702,9 +30788,9 @@ object({
|
|
|
30702
30788
|
/** Ms epoch of the last detected-true observation. Null if never detected. */
|
|
30703
30789
|
lastDetectedAt: number$1().nullable(),
|
|
30704
30790
|
/**
|
|
30705
|
-
* `MOTION_CLOSE_AFTER_MS` while `detected: true` on a `Camera` device
|
|
30706
|
-
* `null` while false and on every `Sensor`
|
|
30707
|
-
* constant's doc for the one-authority rule.
|
|
30791
|
+
* `MOTION_CLOSE_AFTER_MS` while `detected: true` on a `Camera` device (the
|
|
30792
|
+
* orchestrator writes it, D696), `null` while false and on every `Sensor`
|
|
30793
|
+
* device (D475) — see that constant's doc for the one-authority rule.
|
|
30708
30794
|
*
|
|
30709
30795
|
* ## Reading this field still arms nothing
|
|
30710
30796
|
*
|
|
@@ -30722,38 +30808,41 @@ object({
|
|
|
30722
30808
|
* `addon-export-alexa/src/motion-clear-hold.ts` and
|
|
30723
30809
|
* `addon-export-hap`'s `RESET_DEBOUNCE_MS` both do.
|
|
30724
30810
|
*
|
|
30725
|
-
* ## Who writes it
|
|
30811
|
+
* ## Who writes it (D696)
|
|
30726
30812
|
*
|
|
30727
|
-
* - **Cameras** — the
|
|
30728
|
-
*
|
|
30729
|
-
* `
|
|
30730
|
-
* `
|
|
30731
|
-
*
|
|
30732
|
-
*
|
|
30733
|
-
* a
|
|
30734
|
-
*
|
|
30735
|
-
*
|
|
30736
|
-
*
|
|
30813
|
+
* - **Cameras** — the orchestrator, and nothing else. It writes the camera's
|
|
30814
|
+
* EFFECTIVE motion (`addon-pipeline-orchestrator`
|
|
30815
|
+
* `camera-sensors/motion-slice.ts`), alongside the effective
|
|
30816
|
+
* `MotionOnMotionChanged` it emits or receives: the camera-sensors bridge
|
|
30817
|
+
* for a split camera, an unsplit emitter's direct event, the analyzer and
|
|
30818
|
+
* device activity, as the camera's `motionSources` counts them. A source
|
|
30819
|
+
* that never sends a clear falls one window after its last `true`.
|
|
30820
|
+
* `lastDetectedAt` moves only on an effective rise. No camera provider
|
|
30821
|
+
* writes this slice (not even a boot seed), and neither does the runner's
|
|
30822
|
+
* phase machine: its phase is "a session is attached" for every on-motion
|
|
30823
|
+
* session, not motion, and it now has its own `DetectionPhaseTransition`.
|
|
30824
|
+
* A provider's `isDetected` answers from the hub's slice.
|
|
30825
|
+
* - **Sensors** (Home Assistant binary sensors, Homematic, Matter, Alexa
|
|
30826
|
+
* imports) — the provider pushes both edges itself, from the upstream
|
|
30827
|
+
* system's own state change. That is the sensor's own fact.
|
|
30737
30828
|
*
|
|
30738
|
-
*
|
|
30829
|
+
* `scripts/check-onboard-motion-emitters.ts` refuses any other writer of a
|
|
30830
|
+
* `motion` slice; each sensor writer is a named exemption.
|
|
30739
30831
|
*
|
|
30740
|
-
*
|
|
30741
|
-
*
|
|
30742
|
-
*
|
|
30743
|
-
* `
|
|
30744
|
-
* Hikvision's comment says why: it read THIS docblock, agreed the
|
|
30745
|
-
* runner is canonical, and wrote anyway to avoid per-tick churn. So
|
|
30746
|
-
* two authorities can disagree about one slice, which this repo
|
|
30747
|
-
* forbids, and the doc said otherwise — which is worse than saying
|
|
30748
|
-
* nothing, because it reads as verification.
|
|
30749
|
-
*
|
|
30750
|
-
* This predates D475 and is not fixed there: the fix touches every
|
|
30751
|
-
* camera provider. Recorded in D475's Consequences. Do not restore the
|
|
30752
|
-
* "sole writer" wording without also removing the other writers.
|
|
30832
|
+
* This replaces the D475 §4 rule ("the phase machine is the sole writer").
|
|
30833
|
+
* That rule was never true: Hikvision and Amcrest wrote the slice raw beside
|
|
30834
|
+
* it, every provider seeded it at boot, and every session left it
|
|
30835
|
+
* `detected: true` after its detach.
|
|
30753
30836
|
*/
|
|
30754
30837
|
autoClearAfterMs: number$1().nullable()
|
|
30755
30838
|
});
|
|
30756
|
-
|
|
30839
|
+
/**
|
|
30840
|
+
* Payload of `motion.onMotionChanged` event + the corresponding bus
|
|
30841
|
+
* event `EventCategory.MotionOnMotionChanged`. Single source of truth
|
|
30842
|
+
* — both the cap event surface and the bus payload type alias to this
|
|
30843
|
+
* schema.
|
|
30844
|
+
*/
|
|
30845
|
+
var MotionOnMotionChangedDataSchema = object({
|
|
30757
30846
|
deviceId: number$1(),
|
|
30758
30847
|
detected: boolean(),
|
|
30759
30848
|
timestamp: number$1(),
|
|
@@ -33218,7 +33307,7 @@ var ReadGopBytesResultSchema = object({
|
|
|
33218
33307
|
/**
|
|
33219
33308
|
* A time WINDOW of one finalized segment, cut by byte range — the multi-GOP
|
|
33220
33309
|
* twin of {@link ReadGopBytesResultSchema}'s single instant. Built for the
|
|
33221
|
-
* replay clip's `recording` source (`docs/design/plans/2026-08-26-replay-
|
|
33310
|
+
* replay clip's `recording` source (`docs/design/plans/2026-08-26-clip-replay-on-pipeline.md`):
|
|
33222
33311
|
* a replay needs several seconds of native pixels, not one frame.
|
|
33223
33312
|
*
|
|
33224
33313
|
* `ok.data` is standalone-demuxable, same as a GOP read. `ok.reachesRequestedEnd`
|
|
@@ -35834,6 +35923,7 @@ DeviceType.Camera, method(object({
|
|
|
35834
35923
|
detection: array(ZoneRuleSchema).readonly(),
|
|
35835
35924
|
package: array(ZoneRuleSchema).readonly()
|
|
35836
35925
|
});
|
|
35926
|
+
SOURCE_CAPS.filter((cap) => cap !== "switch" && cap !== "motion");
|
|
35837
35927
|
/**
|
|
35838
35928
|
* Accessory device helpers — shared across drivers.
|
|
35839
35929
|
*
|
|
@@ -40812,6 +40902,12 @@ Object.freeze({
|
|
|
40812
40902
|
addonId: null,
|
|
40813
40903
|
access: "view"
|
|
40814
40904
|
},
|
|
40905
|
+
"notificationRules.getAlarmSensors": {
|
|
40906
|
+
capName: "notification-rules",
|
|
40907
|
+
capScope: "system",
|
|
40908
|
+
addonId: null,
|
|
40909
|
+
access: "view"
|
|
40910
|
+
},
|
|
40815
40911
|
"notificationRules.getClipRetentionAsks": {
|
|
40816
40912
|
capName: "notification-rules",
|
|
40817
40913
|
capScope: "system",
|
|
@@ -44390,6 +44486,11 @@ Object.freeze({
|
|
|
44390
44486
|
}
|
|
44391
44487
|
});
|
|
44392
44488
|
Object.freeze({
|
|
44489
|
+
"accessories.getStatus": [{
|
|
44490
|
+
name: "deviceId",
|
|
44491
|
+
form: "single",
|
|
44492
|
+
optional: false
|
|
44493
|
+
}],
|
|
44393
44494
|
"accessories.setChildHidden": [{
|
|
44394
44495
|
name: "childDeviceId",
|
|
44395
44496
|
form: "single",
|
|
@@ -44409,6 +44510,11 @@ Object.freeze({
|
|
|
44409
44510
|
form: "single",
|
|
44410
44511
|
optional: false
|
|
44411
44512
|
}],
|
|
44513
|
+
"airQualitySensor.getStatus": [{
|
|
44514
|
+
name: "deviceId",
|
|
44515
|
+
form: "single",
|
|
44516
|
+
optional: false
|
|
44517
|
+
}],
|
|
44412
44518
|
"alarmPanel.arm": [{
|
|
44413
44519
|
name: "deviceId",
|
|
44414
44520
|
form: "single",
|
|
@@ -44419,11 +44525,36 @@ Object.freeze({
|
|
|
44419
44525
|
form: "single",
|
|
44420
44526
|
optional: false
|
|
44421
44527
|
}],
|
|
44528
|
+
"alarmPanel.getStatus": [{
|
|
44529
|
+
name: "deviceId",
|
|
44530
|
+
form: "single",
|
|
44531
|
+
optional: false
|
|
44532
|
+
}],
|
|
44422
44533
|
"alarmPanel.trigger": [{
|
|
44423
44534
|
name: "deviceId",
|
|
44424
44535
|
form: "single",
|
|
44425
44536
|
optional: false
|
|
44426
44537
|
}],
|
|
44538
|
+
"ambientLightSensor.getStatus": [{
|
|
44539
|
+
name: "deviceId",
|
|
44540
|
+
form: "single",
|
|
44541
|
+
optional: false
|
|
44542
|
+
}],
|
|
44543
|
+
"audioAnalysis.applyDeviceSettingsPatch": [{
|
|
44544
|
+
name: "deviceId",
|
|
44545
|
+
form: "single",
|
|
44546
|
+
optional: false
|
|
44547
|
+
}],
|
|
44548
|
+
"audioAnalysis.getDeviceLiveContribution": [{
|
|
44549
|
+
name: "deviceId",
|
|
44550
|
+
form: "single",
|
|
44551
|
+
optional: false
|
|
44552
|
+
}],
|
|
44553
|
+
"audioAnalysis.getDeviceSettingsContribution": [{
|
|
44554
|
+
name: "deviceId",
|
|
44555
|
+
form: "single",
|
|
44556
|
+
optional: false
|
|
44557
|
+
}],
|
|
44427
44558
|
"audioAnalysis.resolveDeviceSettings": [{
|
|
44428
44559
|
name: "deviceId",
|
|
44429
44560
|
form: "single",
|
|
@@ -44464,16 +44595,36 @@ Object.freeze({
|
|
|
44464
44595
|
form: "single",
|
|
44465
44596
|
optional: false
|
|
44466
44597
|
}],
|
|
44598
|
+
"automationControl.getStatus": [{
|
|
44599
|
+
name: "deviceId",
|
|
44600
|
+
form: "single",
|
|
44601
|
+
optional: false
|
|
44602
|
+
}],
|
|
44467
44603
|
"automationControl.trigger": [{
|
|
44468
44604
|
name: "deviceId",
|
|
44469
44605
|
form: "single",
|
|
44470
44606
|
optional: false
|
|
44471
44607
|
}],
|
|
44608
|
+
"battery.getStatus": [{
|
|
44609
|
+
name: "deviceId",
|
|
44610
|
+
form: "single",
|
|
44611
|
+
optional: false
|
|
44612
|
+
}],
|
|
44472
44613
|
"battery.wakeForStream": [{
|
|
44473
44614
|
name: "deviceId",
|
|
44474
44615
|
form: "single",
|
|
44475
44616
|
optional: false
|
|
44476
44617
|
}],
|
|
44618
|
+
"binary.getStatus": [{
|
|
44619
|
+
name: "deviceId",
|
|
44620
|
+
form: "single",
|
|
44621
|
+
optional: false
|
|
44622
|
+
}],
|
|
44623
|
+
"brightness.getStatus": [{
|
|
44624
|
+
name: "deviceId",
|
|
44625
|
+
form: "single",
|
|
44626
|
+
optional: false
|
|
44627
|
+
}],
|
|
44477
44628
|
"brightness.setBrightness": [{
|
|
44478
44629
|
name: "deviceId",
|
|
44479
44630
|
form: "single",
|
|
@@ -44489,6 +44640,26 @@ Object.freeze({
|
|
|
44489
44640
|
form: "single",
|
|
44490
44641
|
optional: false
|
|
44491
44642
|
}],
|
|
44643
|
+
"cameraCredentials.getStatus": [{
|
|
44644
|
+
name: "deviceId",
|
|
44645
|
+
form: "single",
|
|
44646
|
+
optional: false
|
|
44647
|
+
}],
|
|
44648
|
+
"cameraGridLayout.applyDeviceSettingsPatch": [{
|
|
44649
|
+
name: "deviceId",
|
|
44650
|
+
form: "single",
|
|
44651
|
+
optional: false
|
|
44652
|
+
}],
|
|
44653
|
+
"cameraGridLayout.getDeviceLiveContribution": [{
|
|
44654
|
+
name: "deviceId",
|
|
44655
|
+
form: "single",
|
|
44656
|
+
optional: false
|
|
44657
|
+
}],
|
|
44658
|
+
"cameraGridLayout.getDeviceSettingsContribution": [{
|
|
44659
|
+
name: "deviceId",
|
|
44660
|
+
form: "single",
|
|
44661
|
+
optional: false
|
|
44662
|
+
}],
|
|
44492
44663
|
"cameraGridLayout.getLayout": [{
|
|
44493
44664
|
name: "deviceId",
|
|
44494
44665
|
form: "single",
|
|
@@ -44504,6 +44675,21 @@ Object.freeze({
|
|
|
44504
44675
|
form: "single",
|
|
44505
44676
|
optional: false
|
|
44506
44677
|
}],
|
|
44678
|
+
"cameraPipelineConfig.applyDeviceSettingsPatch": [{
|
|
44679
|
+
name: "deviceId",
|
|
44680
|
+
form: "single",
|
|
44681
|
+
optional: false
|
|
44682
|
+
}],
|
|
44683
|
+
"cameraPipelineConfig.getDeviceLiveContribution": [{
|
|
44684
|
+
name: "deviceId",
|
|
44685
|
+
form: "single",
|
|
44686
|
+
optional: false
|
|
44687
|
+
}],
|
|
44688
|
+
"cameraPipelineConfig.getDeviceSettingsContribution": [{
|
|
44689
|
+
name: "deviceId",
|
|
44690
|
+
form: "single",
|
|
44691
|
+
optional: false
|
|
44692
|
+
}],
|
|
44507
44693
|
"cameraStreams.getBrokerStreams": [{
|
|
44508
44694
|
name: "deviceId",
|
|
44509
44695
|
form: "single",
|
|
@@ -44529,6 +44715,16 @@ Object.freeze({
|
|
|
44529
44715
|
form: "single",
|
|
44530
44716
|
optional: false
|
|
44531
44717
|
}],
|
|
44718
|
+
"carbonMonoxide.getStatus": [{
|
|
44719
|
+
name: "deviceId",
|
|
44720
|
+
form: "single",
|
|
44721
|
+
optional: false
|
|
44722
|
+
}],
|
|
44723
|
+
"climateControl.getStatus": [{
|
|
44724
|
+
name: "deviceId",
|
|
44725
|
+
form: "single",
|
|
44726
|
+
optional: false
|
|
44727
|
+
}],
|
|
44532
44728
|
"climateControl.setFanMode": [{
|
|
44533
44729
|
name: "deviceId",
|
|
44534
44730
|
form: "single",
|
|
@@ -44569,16 +44765,41 @@ Object.freeze({
|
|
|
44569
44765
|
form: "single",
|
|
44570
44766
|
optional: false
|
|
44571
44767
|
}],
|
|
44768
|
+
"color.getStatus": [{
|
|
44769
|
+
name: "deviceId",
|
|
44770
|
+
form: "single",
|
|
44771
|
+
optional: false
|
|
44772
|
+
}],
|
|
44572
44773
|
"color.setColor": [{
|
|
44573
44774
|
name: "deviceId",
|
|
44574
44775
|
form: "single",
|
|
44575
44776
|
optional: false
|
|
44576
44777
|
}],
|
|
44778
|
+
"connectivity.getStatus": [{
|
|
44779
|
+
name: "deviceId",
|
|
44780
|
+
form: "single",
|
|
44781
|
+
optional: false
|
|
44782
|
+
}],
|
|
44783
|
+
"consumables.getStatus": [{
|
|
44784
|
+
name: "deviceId",
|
|
44785
|
+
form: "single",
|
|
44786
|
+
optional: false
|
|
44787
|
+
}],
|
|
44577
44788
|
"consumables.reset": [{
|
|
44578
44789
|
name: "deviceId",
|
|
44579
44790
|
form: "single",
|
|
44580
44791
|
optional: false
|
|
44581
44792
|
}],
|
|
44793
|
+
"contact.getStatus": [{
|
|
44794
|
+
name: "deviceId",
|
|
44795
|
+
form: "single",
|
|
44796
|
+
optional: false
|
|
44797
|
+
}],
|
|
44798
|
+
"control.getStatus": [{
|
|
44799
|
+
name: "deviceId",
|
|
44800
|
+
form: "single",
|
|
44801
|
+
optional: false
|
|
44802
|
+
}],
|
|
44582
44803
|
"control.setValue": [{
|
|
44583
44804
|
name: "deviceId",
|
|
44584
44805
|
form: "single",
|
|
@@ -44589,6 +44810,11 @@ Object.freeze({
|
|
|
44589
44810
|
form: "single",
|
|
44590
44811
|
optional: false
|
|
44591
44812
|
}],
|
|
44813
|
+
"cover.getStatus": [{
|
|
44814
|
+
name: "deviceId",
|
|
44815
|
+
form: "single",
|
|
44816
|
+
optional: false
|
|
44817
|
+
}],
|
|
44592
44818
|
"cover.open": [{
|
|
44593
44819
|
name: "deviceId",
|
|
44594
44820
|
form: "single",
|
|
@@ -44614,6 +44840,11 @@ Object.freeze({
|
|
|
44614
44840
|
form: "single",
|
|
44615
44841
|
optional: false
|
|
44616
44842
|
}],
|
|
44843
|
+
"dayNight.getStatus": [{
|
|
44844
|
+
name: "deviceId",
|
|
44845
|
+
form: "single",
|
|
44846
|
+
optional: false
|
|
44847
|
+
}],
|
|
44617
44848
|
"dayNight.setSettings": [{
|
|
44618
44849
|
name: "deviceId",
|
|
44619
44850
|
form: "single",
|
|
@@ -44624,11 +44855,31 @@ Object.freeze({
|
|
|
44624
44855
|
form: "single",
|
|
44625
44856
|
optional: true
|
|
44626
44857
|
}],
|
|
44858
|
+
"detectionPipeline.applyDeviceSettingsPatch": [{
|
|
44859
|
+
name: "deviceId",
|
|
44860
|
+
form: "single",
|
|
44861
|
+
optional: false
|
|
44862
|
+
}],
|
|
44863
|
+
"detectionPipeline.getDeviceLiveContribution": [{
|
|
44864
|
+
name: "deviceId",
|
|
44865
|
+
form: "single",
|
|
44866
|
+
optional: false
|
|
44867
|
+
}],
|
|
44868
|
+
"detectionPipeline.getDeviceSettingsContribution": [{
|
|
44869
|
+
name: "deviceId",
|
|
44870
|
+
form: "single",
|
|
44871
|
+
optional: false
|
|
44872
|
+
}],
|
|
44627
44873
|
"deviceAdminLink.getAdminLink": [{
|
|
44628
44874
|
name: "deviceId",
|
|
44629
44875
|
form: "single",
|
|
44630
44876
|
optional: false
|
|
44631
44877
|
}],
|
|
44878
|
+
"deviceAdoption.getStatus": [{
|
|
44879
|
+
name: "deviceId",
|
|
44880
|
+
form: "single",
|
|
44881
|
+
optional: false
|
|
44882
|
+
}],
|
|
44632
44883
|
"deviceAdoption.release": [{
|
|
44633
44884
|
name: "camDeviceId",
|
|
44634
44885
|
form: "single",
|
|
@@ -44644,6 +44895,11 @@ Object.freeze({
|
|
|
44644
44895
|
form: "single",
|
|
44645
44896
|
optional: false
|
|
44646
44897
|
}],
|
|
44898
|
+
"deviceDiscovery.getStatus": [{
|
|
44899
|
+
name: "deviceId",
|
|
44900
|
+
form: "single",
|
|
44901
|
+
optional: false
|
|
44902
|
+
}],
|
|
44647
44903
|
"deviceDiscovery.listDiscovered": [{
|
|
44648
44904
|
name: "deviceId",
|
|
44649
44905
|
form: "single",
|
|
@@ -44663,6 +44919,21 @@ Object.freeze({
|
|
|
44663
44919
|
form: "single",
|
|
44664
44920
|
optional: false
|
|
44665
44921
|
}],
|
|
44922
|
+
"deviceExport.applyDeviceSettingsPatch": [{
|
|
44923
|
+
name: "deviceId",
|
|
44924
|
+
form: "single",
|
|
44925
|
+
optional: false
|
|
44926
|
+
}],
|
|
44927
|
+
"deviceExport.getDeviceLiveContribution": [{
|
|
44928
|
+
name: "deviceId",
|
|
44929
|
+
form: "single",
|
|
44930
|
+
optional: false
|
|
44931
|
+
}],
|
|
44932
|
+
"deviceExport.getDeviceSettingsContribution": [{
|
|
44933
|
+
name: "deviceId",
|
|
44934
|
+
form: "single",
|
|
44935
|
+
optional: false
|
|
44936
|
+
}],
|
|
44666
44937
|
"deviceExtension.listCandidates": [{
|
|
44667
44938
|
name: "deviceId",
|
|
44668
44939
|
form: "single",
|
|
@@ -45011,6 +45282,26 @@ Object.freeze({
|
|
|
45011
45282
|
form: "single",
|
|
45012
45283
|
optional: false
|
|
45013
45284
|
}],
|
|
45285
|
+
"deviceStatus.getStatus": [{
|
|
45286
|
+
name: "deviceId",
|
|
45287
|
+
form: "single",
|
|
45288
|
+
optional: false
|
|
45289
|
+
}],
|
|
45290
|
+
"doorbell.getStatus": [{
|
|
45291
|
+
name: "deviceId",
|
|
45292
|
+
form: "single",
|
|
45293
|
+
optional: false
|
|
45294
|
+
}],
|
|
45295
|
+
"enumSensor.getStatus": [{
|
|
45296
|
+
name: "deviceId",
|
|
45297
|
+
form: "single",
|
|
45298
|
+
optional: false
|
|
45299
|
+
}],
|
|
45300
|
+
"eventEmitter.getStatus": [{
|
|
45301
|
+
name: "deviceId",
|
|
45302
|
+
form: "single",
|
|
45303
|
+
optional: false
|
|
45304
|
+
}],
|
|
45014
45305
|
"faceGallery.getFaceByTrack": [{
|
|
45015
45306
|
name: "deviceId",
|
|
45016
45307
|
form: "single",
|
|
@@ -45025,6 +45316,11 @@ Object.freeze({
|
|
|
45025
45316
|
form: "array",
|
|
45026
45317
|
optional: true
|
|
45027
45318
|
}],
|
|
45319
|
+
"fanControl.getStatus": [{
|
|
45320
|
+
name: "deviceId",
|
|
45321
|
+
form: "single",
|
|
45322
|
+
optional: false
|
|
45323
|
+
}],
|
|
45028
45324
|
"fanControl.setDirection": [{
|
|
45029
45325
|
name: "deviceId",
|
|
45030
45326
|
form: "single",
|
|
@@ -45045,6 +45341,26 @@ Object.freeze({
|
|
|
45045
45341
|
form: "single",
|
|
45046
45342
|
optional: false
|
|
45047
45343
|
}],
|
|
45344
|
+
"featureProbe.getStatus": [{
|
|
45345
|
+
name: "deviceId",
|
|
45346
|
+
form: "single",
|
|
45347
|
+
optional: false
|
|
45348
|
+
}],
|
|
45349
|
+
"flood.getStatus": [{
|
|
45350
|
+
name: "deviceId",
|
|
45351
|
+
form: "single",
|
|
45352
|
+
optional: false
|
|
45353
|
+
}],
|
|
45354
|
+
"gas.getStatus": [{
|
|
45355
|
+
name: "deviceId",
|
|
45356
|
+
form: "single",
|
|
45357
|
+
optional: false
|
|
45358
|
+
}],
|
|
45359
|
+
"humidifier.getStatus": [{
|
|
45360
|
+
name: "deviceId",
|
|
45361
|
+
form: "single",
|
|
45362
|
+
optional: false
|
|
45363
|
+
}],
|
|
45048
45364
|
"humidifier.setMode": [{
|
|
45049
45365
|
name: "deviceId",
|
|
45050
45366
|
form: "single",
|
|
@@ -45060,11 +45376,26 @@ Object.freeze({
|
|
|
45060
45376
|
form: "single",
|
|
45061
45377
|
optional: false
|
|
45062
45378
|
}],
|
|
45379
|
+
"humiditySensor.getStatus": [{
|
|
45380
|
+
name: "deviceId",
|
|
45381
|
+
form: "single",
|
|
45382
|
+
optional: false
|
|
45383
|
+
}],
|
|
45384
|
+
"image.getStatus": [{
|
|
45385
|
+
name: "deviceId",
|
|
45386
|
+
form: "single",
|
|
45387
|
+
optional: false
|
|
45388
|
+
}],
|
|
45063
45389
|
"imageSettings.getOptions": [{
|
|
45064
45390
|
name: "deviceId",
|
|
45065
45391
|
form: "single",
|
|
45066
45392
|
optional: false
|
|
45067
45393
|
}],
|
|
45394
|
+
"imageSettings.getStatus": [{
|
|
45395
|
+
name: "deviceId",
|
|
45396
|
+
form: "single",
|
|
45397
|
+
optional: false
|
|
45398
|
+
}],
|
|
45068
45399
|
"imageSettings.setSettings": [{
|
|
45069
45400
|
name: "deviceId",
|
|
45070
45401
|
form: "single",
|
|
@@ -45075,6 +45406,11 @@ Object.freeze({
|
|
|
45075
45406
|
form: "single",
|
|
45076
45407
|
optional: false
|
|
45077
45408
|
}],
|
|
45409
|
+
"intercom.getStatus": [{
|
|
45410
|
+
name: "deviceId",
|
|
45411
|
+
form: "single",
|
|
45412
|
+
optional: false
|
|
45413
|
+
}],
|
|
45078
45414
|
"intercom.handleAnswer": [{
|
|
45079
45415
|
name: "deviceId",
|
|
45080
45416
|
form: "single",
|
|
@@ -45105,6 +45441,11 @@ Object.freeze({
|
|
|
45105
45441
|
form: "single",
|
|
45106
45442
|
optional: false
|
|
45107
45443
|
}],
|
|
45444
|
+
"lawnMowerControl.getStatus": [{
|
|
45445
|
+
name: "deviceId",
|
|
45446
|
+
form: "single",
|
|
45447
|
+
optional: false
|
|
45448
|
+
}],
|
|
45108
45449
|
"lawnMowerControl.pause": [{
|
|
45109
45450
|
name: "deviceId",
|
|
45110
45451
|
form: "single",
|
|
@@ -45115,6 +45456,11 @@ Object.freeze({
|
|
|
45115
45456
|
form: "single",
|
|
45116
45457
|
optional: false
|
|
45117
45458
|
}],
|
|
45459
|
+
"lockControl.getStatus": [{
|
|
45460
|
+
name: "deviceId",
|
|
45461
|
+
form: "single",
|
|
45462
|
+
optional: false
|
|
45463
|
+
}],
|
|
45118
45464
|
"lockControl.lock": [{
|
|
45119
45465
|
name: "deviceId",
|
|
45120
45466
|
form: "single",
|
|
@@ -45130,6 +45476,11 @@ Object.freeze({
|
|
|
45130
45476
|
form: "single",
|
|
45131
45477
|
optional: false
|
|
45132
45478
|
}],
|
|
45479
|
+
"mediaPlayer.getStatus": [{
|
|
45480
|
+
name: "deviceId",
|
|
45481
|
+
form: "single",
|
|
45482
|
+
optional: false
|
|
45483
|
+
}],
|
|
45133
45484
|
"mediaPlayer.next": [{
|
|
45134
45485
|
name: "deviceId",
|
|
45135
45486
|
form: "single",
|
|
@@ -45190,6 +45541,11 @@ Object.freeze({
|
|
|
45190
45541
|
form: "single",
|
|
45191
45542
|
optional: false
|
|
45192
45543
|
}],
|
|
45544
|
+
"motion.getStatus": [{
|
|
45545
|
+
name: "deviceId",
|
|
45546
|
+
form: "single",
|
|
45547
|
+
optional: false
|
|
45548
|
+
}],
|
|
45193
45549
|
"motion.isDetected": [{
|
|
45194
45550
|
name: "deviceId",
|
|
45195
45551
|
form: "single",
|
|
@@ -45200,11 +45556,31 @@ Object.freeze({
|
|
|
45200
45556
|
form: "single",
|
|
45201
45557
|
optional: false
|
|
45202
45558
|
}],
|
|
45559
|
+
"motionDetection.applyDeviceSettingsPatch": [{
|
|
45560
|
+
name: "deviceId",
|
|
45561
|
+
form: "single",
|
|
45562
|
+
optional: false
|
|
45563
|
+
}],
|
|
45564
|
+
"motionDetection.getDeviceLiveContribution": [{
|
|
45565
|
+
name: "deviceId",
|
|
45566
|
+
form: "single",
|
|
45567
|
+
optional: false
|
|
45568
|
+
}],
|
|
45569
|
+
"motionDetection.getDeviceSettingsContribution": [{
|
|
45570
|
+
name: "deviceId",
|
|
45571
|
+
form: "single",
|
|
45572
|
+
optional: false
|
|
45573
|
+
}],
|
|
45203
45574
|
"motionDetection.removeCamera": [{
|
|
45204
45575
|
name: "deviceId",
|
|
45205
45576
|
form: "single",
|
|
45206
45577
|
optional: false
|
|
45207
45578
|
}],
|
|
45579
|
+
"motionTrigger.getStatus": [{
|
|
45580
|
+
name: "deviceId",
|
|
45581
|
+
form: "single",
|
|
45582
|
+
optional: false
|
|
45583
|
+
}],
|
|
45208
45584
|
"motionTrigger.setMotionTrigger": [{
|
|
45209
45585
|
name: "deviceId",
|
|
45210
45586
|
form: "single",
|
|
@@ -45215,6 +45591,11 @@ Object.freeze({
|
|
|
45215
45591
|
form: "single",
|
|
45216
45592
|
optional: false
|
|
45217
45593
|
}],
|
|
45594
|
+
"motionZones.getStatus": [{
|
|
45595
|
+
name: "deviceId",
|
|
45596
|
+
form: "single",
|
|
45597
|
+
optional: false
|
|
45598
|
+
}],
|
|
45218
45599
|
"motionZones.setZone": [{
|
|
45219
45600
|
name: "deviceId",
|
|
45220
45601
|
form: "single",
|
|
@@ -45225,6 +45606,11 @@ Object.freeze({
|
|
|
45225
45606
|
form: "single",
|
|
45226
45607
|
optional: false
|
|
45227
45608
|
}],
|
|
45609
|
+
"nativeObjectDetection.getStatus": [{
|
|
45610
|
+
name: "deviceId",
|
|
45611
|
+
form: "single",
|
|
45612
|
+
optional: false
|
|
45613
|
+
}],
|
|
45228
45614
|
"nativeObjectDetection.setEnabled": [{
|
|
45229
45615
|
name: "deviceId",
|
|
45230
45616
|
form: "single",
|
|
@@ -45240,6 +45626,11 @@ Object.freeze({
|
|
|
45240
45626
|
form: "single",
|
|
45241
45627
|
optional: false
|
|
45242
45628
|
}],
|
|
45629
|
+
"navigation.getStatus": [{
|
|
45630
|
+
name: "deviceId",
|
|
45631
|
+
form: "single",
|
|
45632
|
+
optional: false
|
|
45633
|
+
}],
|
|
45243
45634
|
"navigation.goToPoint": [{
|
|
45244
45635
|
name: "deviceId",
|
|
45245
45636
|
form: "single",
|
|
@@ -45285,6 +45676,11 @@ Object.freeze({
|
|
|
45285
45676
|
form: "single",
|
|
45286
45677
|
optional: false
|
|
45287
45678
|
}],
|
|
45679
|
+
"networkLink.getStatus": [{
|
|
45680
|
+
name: "deviceId",
|
|
45681
|
+
form: "single",
|
|
45682
|
+
optional: false
|
|
45683
|
+
}],
|
|
45288
45684
|
"networkQuality.getDeviceStats": [{
|
|
45289
45685
|
name: "deviceId",
|
|
45290
45686
|
form: "single",
|
|
@@ -45295,6 +45691,11 @@ Object.freeze({
|
|
|
45295
45691
|
form: "single",
|
|
45296
45692
|
optional: false
|
|
45297
45693
|
}],
|
|
45694
|
+
"notificationRules.getAlarmSensors": [{
|
|
45695
|
+
name: "deviceIds",
|
|
45696
|
+
form: "array",
|
|
45697
|
+
optional: false
|
|
45698
|
+
}],
|
|
45298
45699
|
"notificationRules.setDeviceMuted": [{
|
|
45299
45700
|
name: "deviceId",
|
|
45300
45701
|
form: "single",
|
|
@@ -45305,11 +45706,26 @@ Object.freeze({
|
|
|
45305
45706
|
form: "single",
|
|
45306
45707
|
optional: false
|
|
45307
45708
|
}],
|
|
45709
|
+
"notifier.getStatus": [{
|
|
45710
|
+
name: "deviceId",
|
|
45711
|
+
form: "single",
|
|
45712
|
+
optional: false
|
|
45713
|
+
}],
|
|
45308
45714
|
"notifier.send": [{
|
|
45309
45715
|
name: "deviceId",
|
|
45310
45716
|
form: "single",
|
|
45311
45717
|
optional: false
|
|
45312
45718
|
}],
|
|
45719
|
+
"numericSensor.getStatus": [{
|
|
45720
|
+
name: "deviceId",
|
|
45721
|
+
form: "single",
|
|
45722
|
+
optional: false
|
|
45723
|
+
}],
|
|
45724
|
+
"osd.getStatus": [{
|
|
45725
|
+
name: "deviceId",
|
|
45726
|
+
form: "single",
|
|
45727
|
+
optional: false
|
|
45728
|
+
}],
|
|
45313
45729
|
"osd.setOverlay": [{
|
|
45314
45730
|
name: "deviceId",
|
|
45315
45731
|
form: "single",
|
|
@@ -45369,6 +45785,11 @@ Object.freeze({
|
|
|
45369
45785
|
form: "single",
|
|
45370
45786
|
optional: false
|
|
45371
45787
|
}],
|
|
45788
|
+
"petFeeder.getStatus": [{
|
|
45789
|
+
name: "deviceId",
|
|
45790
|
+
form: "single",
|
|
45791
|
+
optional: false
|
|
45792
|
+
}],
|
|
45372
45793
|
"petFeeder.markFoodReplenished": [{
|
|
45373
45794
|
name: "deviceId",
|
|
45374
45795
|
form: "single",
|
|
@@ -45404,6 +45825,11 @@ Object.freeze({
|
|
|
45404
45825
|
form: "single",
|
|
45405
45826
|
optional: false
|
|
45406
45827
|
}],
|
|
45828
|
+
"pipelineAnalytics.applyDeviceSettingsPatch": [{
|
|
45829
|
+
name: "deviceId",
|
|
45830
|
+
form: "single",
|
|
45831
|
+
optional: false
|
|
45832
|
+
}],
|
|
45407
45833
|
"pipelineAnalytics.clearTrackRelation": [{
|
|
45408
45834
|
name: "deviceId",
|
|
45409
45835
|
form: "single",
|
|
@@ -45444,6 +45870,16 @@ Object.freeze({
|
|
|
45444
45870
|
form: "single",
|
|
45445
45871
|
optional: false
|
|
45446
45872
|
}],
|
|
45873
|
+
"pipelineAnalytics.getDeviceLiveContribution": [{
|
|
45874
|
+
name: "deviceId",
|
|
45875
|
+
form: "single",
|
|
45876
|
+
optional: false
|
|
45877
|
+
}],
|
|
45878
|
+
"pipelineAnalytics.getDeviceSettingsContribution": [{
|
|
45879
|
+
name: "deviceId",
|
|
45880
|
+
form: "single",
|
|
45881
|
+
optional: false
|
|
45882
|
+
}],
|
|
45447
45883
|
"pipelineAnalytics.getEventDensity": [{
|
|
45448
45884
|
name: "deviceId",
|
|
45449
45885
|
form: "single",
|
|
@@ -45659,6 +46095,11 @@ Object.freeze({
|
|
|
45659
46095
|
form: "single",
|
|
45660
46096
|
optional: true
|
|
45661
46097
|
}],
|
|
46098
|
+
"pipelineOrchestrator.applyDeviceSettingsPatch": [{
|
|
46099
|
+
name: "deviceId",
|
|
46100
|
+
form: "single",
|
|
46101
|
+
optional: false
|
|
46102
|
+
}],
|
|
45662
46103
|
"pipelineOrchestrator.assignAudio": [{
|
|
45663
46104
|
name: "deviceId",
|
|
45664
46105
|
form: "single",
|
|
@@ -45704,6 +46145,16 @@ Object.freeze({
|
|
|
45704
46145
|
form: "single",
|
|
45705
46146
|
optional: false
|
|
45706
46147
|
}],
|
|
46148
|
+
"pipelineOrchestrator.getDeviceLiveContribution": [{
|
|
46149
|
+
name: "deviceId",
|
|
46150
|
+
form: "single",
|
|
46151
|
+
optional: false
|
|
46152
|
+
}],
|
|
46153
|
+
"pipelineOrchestrator.getDeviceSettingsContribution": [{
|
|
46154
|
+
name: "deviceId",
|
|
46155
|
+
form: "single",
|
|
46156
|
+
optional: false
|
|
46157
|
+
}],
|
|
45707
46158
|
"pipelineOrchestrator.getPipelineAssignment": [{
|
|
45708
46159
|
name: "deviceId",
|
|
45709
46160
|
form: "single",
|
|
@@ -45824,11 +46275,31 @@ Object.freeze({
|
|
|
45824
46275
|
form: "single",
|
|
45825
46276
|
optional: true
|
|
45826
46277
|
}],
|
|
46278
|
+
"powerMeter.getStatus": [{
|
|
46279
|
+
name: "deviceId",
|
|
46280
|
+
form: "single",
|
|
46281
|
+
optional: false
|
|
46282
|
+
}],
|
|
46283
|
+
"presence.getStatus": [{
|
|
46284
|
+
name: "deviceId",
|
|
46285
|
+
form: "single",
|
|
46286
|
+
optional: false
|
|
46287
|
+
}],
|
|
46288
|
+
"pressureSensor.getStatus": [{
|
|
46289
|
+
name: "deviceId",
|
|
46290
|
+
form: "single",
|
|
46291
|
+
optional: false
|
|
46292
|
+
}],
|
|
45827
46293
|
"privacyMask.getOptions": [{
|
|
45828
46294
|
name: "deviceId",
|
|
45829
46295
|
form: "single",
|
|
45830
46296
|
optional: false
|
|
45831
46297
|
}],
|
|
46298
|
+
"privacyMask.getStatus": [{
|
|
46299
|
+
name: "deviceId",
|
|
46300
|
+
form: "single",
|
|
46301
|
+
optional: false
|
|
46302
|
+
}],
|
|
45832
46303
|
"privacyMask.setAudioEnabled": [{
|
|
45833
46304
|
name: "deviceId",
|
|
45834
46305
|
form: "single",
|
|
@@ -45879,6 +46350,11 @@ Object.freeze({
|
|
|
45879
46350
|
form: "single",
|
|
45880
46351
|
optional: false
|
|
45881
46352
|
}],
|
|
46353
|
+
"ptz.getStatus": [{
|
|
46354
|
+
name: "deviceId",
|
|
46355
|
+
form: "single",
|
|
46356
|
+
optional: false
|
|
46357
|
+
}],
|
|
45882
46358
|
"ptz.goHome": [{
|
|
45883
46359
|
name: "deviceId",
|
|
45884
46360
|
form: "single",
|
|
@@ -45969,6 +46445,11 @@ Object.freeze({
|
|
|
45969
46445
|
form: "single",
|
|
45970
46446
|
optional: false
|
|
45971
46447
|
}],
|
|
46448
|
+
"recordingArchive.applyDeviceSettingsPatch": [{
|
|
46449
|
+
name: "deviceId",
|
|
46450
|
+
form: "single",
|
|
46451
|
+
optional: false
|
|
46452
|
+
}],
|
|
45972
46453
|
"recordingArchive.deleteFootprint": [{
|
|
45973
46454
|
name: "deviceId",
|
|
45974
46455
|
form: "single",
|
|
@@ -45989,6 +46470,21 @@ Object.freeze({
|
|
|
45989
46470
|
form: "single",
|
|
45990
46471
|
optional: false
|
|
45991
46472
|
}],
|
|
46473
|
+
"recordingArchive.getDeviceLiveContribution": [{
|
|
46474
|
+
name: "deviceId",
|
|
46475
|
+
form: "single",
|
|
46476
|
+
optional: false
|
|
46477
|
+
}],
|
|
46478
|
+
"recordingArchive.getDeviceSettingsContribution": [{
|
|
46479
|
+
name: "deviceId",
|
|
46480
|
+
form: "single",
|
|
46481
|
+
optional: false
|
|
46482
|
+
}],
|
|
46483
|
+
"recordingArchive.getStatus": [{
|
|
46484
|
+
name: "deviceId",
|
|
46485
|
+
form: "single",
|
|
46486
|
+
optional: false
|
|
46487
|
+
}],
|
|
45992
46488
|
"recordingArchive.listOpsLog": [{
|
|
45993
46489
|
name: "deviceId",
|
|
45994
46490
|
form: "single",
|
|
@@ -46074,6 +46570,11 @@ Object.freeze({
|
|
|
46074
46570
|
form: "single",
|
|
46075
46571
|
optional: false
|
|
46076
46572
|
}],
|
|
46573
|
+
"recordingOnboard.getStatus": [{
|
|
46574
|
+
name: "deviceId",
|
|
46575
|
+
form: "single",
|
|
46576
|
+
optional: false
|
|
46577
|
+
}],
|
|
46077
46578
|
"recordingOnboard.setSettings": [{
|
|
46078
46579
|
name: "deviceId",
|
|
46079
46580
|
form: "single",
|
|
@@ -46104,6 +46605,11 @@ Object.freeze({
|
|
|
46104
46605
|
form: "single",
|
|
46105
46606
|
optional: false
|
|
46106
46607
|
}],
|
|
46608
|
+
"sceneMonitor.getStatus": [{
|
|
46609
|
+
name: "deviceId",
|
|
46610
|
+
form: "single",
|
|
46611
|
+
optional: false
|
|
46612
|
+
}],
|
|
46107
46613
|
"sceneMonitor.listScenes": [{
|
|
46108
46614
|
name: "deviceId",
|
|
46109
46615
|
form: "single",
|
|
@@ -46129,6 +46635,11 @@ Object.freeze({
|
|
|
46129
46635
|
form: "single",
|
|
46130
46636
|
optional: false
|
|
46131
46637
|
}],
|
|
46638
|
+
"scriptRunner.getStatus": [{
|
|
46639
|
+
name: "deviceId",
|
|
46640
|
+
form: "single",
|
|
46641
|
+
optional: false
|
|
46642
|
+
}],
|
|
46132
46643
|
"scriptRunner.run": [{
|
|
46133
46644
|
name: "deviceId",
|
|
46134
46645
|
form: "single",
|
|
@@ -46139,11 +46650,31 @@ Object.freeze({
|
|
|
46139
46650
|
form: "single",
|
|
46140
46651
|
optional: false
|
|
46141
46652
|
}],
|
|
46653
|
+
"smoke.getStatus": [{
|
|
46654
|
+
name: "deviceId",
|
|
46655
|
+
form: "single",
|
|
46656
|
+
optional: false
|
|
46657
|
+
}],
|
|
46658
|
+
"snapshot.applyDeviceSettingsPatch": [{
|
|
46659
|
+
name: "deviceId",
|
|
46660
|
+
form: "single",
|
|
46661
|
+
optional: false
|
|
46662
|
+
}],
|
|
46142
46663
|
"snapshot.getDebugState": [{
|
|
46143
46664
|
name: "deviceId",
|
|
46144
46665
|
form: "single",
|
|
46145
46666
|
optional: false
|
|
46146
46667
|
}],
|
|
46668
|
+
"snapshot.getDeviceLiveContribution": [{
|
|
46669
|
+
name: "deviceId",
|
|
46670
|
+
form: "single",
|
|
46671
|
+
optional: false
|
|
46672
|
+
}],
|
|
46673
|
+
"snapshot.getDeviceSettingsContribution": [{
|
|
46674
|
+
name: "deviceId",
|
|
46675
|
+
form: "single",
|
|
46676
|
+
optional: false
|
|
46677
|
+
}],
|
|
46147
46678
|
"snapshot.getSnapshot": [{
|
|
46148
46679
|
name: "deviceId",
|
|
46149
46680
|
form: "single",
|
|
@@ -46160,6 +46691,11 @@ Object.freeze({
|
|
|
46160
46691
|
form: "array",
|
|
46161
46692
|
optional: false
|
|
46162
46693
|
}],
|
|
46694
|
+
"snapshot.getStatus": [{
|
|
46695
|
+
name: "deviceId",
|
|
46696
|
+
form: "single",
|
|
46697
|
+
optional: false
|
|
46698
|
+
}],
|
|
46163
46699
|
"snapshot.invalidateCache": [{
|
|
46164
46700
|
name: "deviceId",
|
|
46165
46701
|
form: "single",
|
|
@@ -46170,6 +46706,11 @@ Object.freeze({
|
|
|
46170
46706
|
form: "single",
|
|
46171
46707
|
optional: false
|
|
46172
46708
|
}],
|
|
46709
|
+
"streamBroker.applyDeviceSettingsPatch": [{
|
|
46710
|
+
name: "deviceId",
|
|
46711
|
+
form: "single",
|
|
46712
|
+
optional: false
|
|
46713
|
+
}],
|
|
46173
46714
|
"streamBroker.assignProfile": [{
|
|
46174
46715
|
name: "deviceId",
|
|
46175
46716
|
form: "single",
|
|
@@ -46185,6 +46726,16 @@ Object.freeze({
|
|
|
46185
46726
|
form: "single",
|
|
46186
46727
|
optional: false
|
|
46187
46728
|
}],
|
|
46729
|
+
"streamBroker.getDeviceLiveContribution": [{
|
|
46730
|
+
name: "deviceId",
|
|
46731
|
+
form: "single",
|
|
46732
|
+
optional: false
|
|
46733
|
+
}],
|
|
46734
|
+
"streamBroker.getDeviceSettingsContribution": [{
|
|
46735
|
+
name: "deviceId",
|
|
46736
|
+
form: "single",
|
|
46737
|
+
optional: false
|
|
46738
|
+
}],
|
|
46188
46739
|
"streamBroker.getStreamWithCodec": [{
|
|
46189
46740
|
name: "deviceId",
|
|
46190
46741
|
form: "single",
|
|
@@ -46245,16 +46796,46 @@ Object.freeze({
|
|
|
46245
46796
|
form: "single",
|
|
46246
46797
|
optional: false
|
|
46247
46798
|
}],
|
|
46799
|
+
"streamParams.getStatus": [{
|
|
46800
|
+
name: "deviceId",
|
|
46801
|
+
form: "single",
|
|
46802
|
+
optional: false
|
|
46803
|
+
}],
|
|
46248
46804
|
"streamParams.setProfile": [{
|
|
46249
46805
|
name: "deviceId",
|
|
46250
46806
|
form: "single",
|
|
46251
46807
|
optional: false
|
|
46252
46808
|
}],
|
|
46809
|
+
"switch.getStatus": [{
|
|
46810
|
+
name: "deviceId",
|
|
46811
|
+
form: "single",
|
|
46812
|
+
optional: false
|
|
46813
|
+
}],
|
|
46253
46814
|
"switch.setState": [{
|
|
46254
46815
|
name: "deviceId",
|
|
46255
46816
|
form: "single",
|
|
46256
46817
|
optional: false
|
|
46257
46818
|
}],
|
|
46819
|
+
"tamper.getStatus": [{
|
|
46820
|
+
name: "deviceId",
|
|
46821
|
+
form: "single",
|
|
46822
|
+
optional: false
|
|
46823
|
+
}],
|
|
46824
|
+
"temperatureSensor.getStatus": [{
|
|
46825
|
+
name: "deviceId",
|
|
46826
|
+
form: "single",
|
|
46827
|
+
optional: false
|
|
46828
|
+
}],
|
|
46829
|
+
"update.getStatus": [{
|
|
46830
|
+
name: "deviceId",
|
|
46831
|
+
form: "single",
|
|
46832
|
+
optional: false
|
|
46833
|
+
}],
|
|
46834
|
+
"vacuumControl.getStatus": [{
|
|
46835
|
+
name: "deviceId",
|
|
46836
|
+
form: "single",
|
|
46837
|
+
optional: false
|
|
46838
|
+
}],
|
|
46258
46839
|
"vacuumControl.locate": [{
|
|
46259
46840
|
name: "deviceId",
|
|
46260
46841
|
form: "single",
|
|
@@ -46290,6 +46871,11 @@ Object.freeze({
|
|
|
46290
46871
|
form: "single",
|
|
46291
46872
|
optional: false
|
|
46292
46873
|
}],
|
|
46874
|
+
"valve.getStatus": [{
|
|
46875
|
+
name: "deviceId",
|
|
46876
|
+
form: "single",
|
|
46877
|
+
optional: false
|
|
46878
|
+
}],
|
|
46293
46879
|
"valve.open": [{
|
|
46294
46880
|
name: "deviceId",
|
|
46295
46881
|
form: "single",
|
|
@@ -46305,6 +46891,11 @@ Object.freeze({
|
|
|
46305
46891
|
form: "single",
|
|
46306
46892
|
optional: false
|
|
46307
46893
|
}],
|
|
46894
|
+
"vibration.getStatus": [{
|
|
46895
|
+
name: "deviceId",
|
|
46896
|
+
form: "single",
|
|
46897
|
+
optional: false
|
|
46898
|
+
}],
|
|
46308
46899
|
"videoclips.dialClipStream": [{
|
|
46309
46900
|
name: "deviceId",
|
|
46310
46901
|
form: "single",
|
|
@@ -46340,6 +46931,11 @@ Object.freeze({
|
|
|
46340
46931
|
form: "single",
|
|
46341
46932
|
optional: false
|
|
46342
46933
|
}],
|
|
46934
|
+
"waterHeater.getStatus": [{
|
|
46935
|
+
name: "deviceId",
|
|
46936
|
+
form: "single",
|
|
46937
|
+
optional: false
|
|
46938
|
+
}],
|
|
46343
46939
|
"waterHeater.setAway": [{
|
|
46344
46940
|
name: "deviceId",
|
|
46345
46941
|
form: "single",
|
|
@@ -46355,6 +46951,11 @@ Object.freeze({
|
|
|
46355
46951
|
form: "single",
|
|
46356
46952
|
optional: false
|
|
46357
46953
|
}],
|
|
46954
|
+
"weather.getStatus": [{
|
|
46955
|
+
name: "deviceId",
|
|
46956
|
+
form: "single",
|
|
46957
|
+
optional: false
|
|
46958
|
+
}],
|
|
46358
46959
|
"webrtcSession.addIceCandidate": [{
|
|
46359
46960
|
name: "deviceId",
|
|
46360
46961
|
form: "single",
|
|
@@ -47092,7 +47693,7 @@ var PreviewTextField = string().max(200);
|
|
|
47092
47693
|
* Whether the notification's preview is a STILL or a short animation.
|
|
47093
47694
|
*
|
|
47094
47695
|
* The operator's ask, verbatim: *"inviato come gif o video (come per le altre
|
|
47095
|
-
* rule)"* — the other rules already offer an animated preview, and a ten-hour
|
|
47696
|
+
* rule)"* [sent as a gif or video (as for the other rules)] — the other rules already offer an animated preview, and a ten-hour
|
|
47096
47697
|
* night reads better as three seconds of motion than as one frame of it. Both
|
|
47097
47698
|
* modes get the SAME treatment (blurred frame, large centred title); `'gif'`
|
|
47098
47699
|
* simply applies it to a dozen frames sampled across the render and assembles
|
|
@@ -47230,6 +47831,7 @@ TimelapseRuleInputSchema.extend({
|
|
|
47230
47831
|
createdAt: number$1(),
|
|
47231
47832
|
updatedAt: number$1()
|
|
47232
47833
|
});
|
|
47834
|
+
MotionOnMotionChangedDataSchema.omit({ triggeredBy: true });
|
|
47233
47835
|
object({
|
|
47234
47836
|
/**
|
|
47235
47837
|
* Fraction of the box's own size added on EACH side before cutting.
|
|
@@ -82998,7 +83600,7 @@ function messagesFor(request) {
|
|
|
82998
83600
|
* `RetryError` is the wrapper the library returns when the attempts are spent;
|
|
82999
83601
|
* the interesting error is the LAST one inside it, so the envelope is unwrapped
|
|
83000
83602
|
* before anything is classified (§2.3, "chi classifica gli errori deve
|
|
83001
|
-
* scartare l'involucro").
|
|
83603
|
+
* scartare l'involucro" [whoever classifies errors must discard the envelope]).
|
|
83002
83604
|
*/
|
|
83003
83605
|
function mapLibraryError(error) {
|
|
83004
83606
|
if (RetryError.isInstance(error)) {
|