@camstack/addon-provider-petkit 0.2.116 → 0.2.117

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.
Files changed (3) hide show
  1. package/dist/addon.js +892 -325
  2. package/dist/addon.mjs +892 -325
  3. package/package.json +1 -3
package/dist/addon.js CHANGED
@@ -1101,7 +1101,7 @@ var Nodepetkit = class {
1101
1101
  }
1102
1102
  };
1103
1103
  //#endregion
1104
- //#region ../types/dist/event-category-C5xZWqz6.mjs
1104
+ //#region ../types/dist/event-category-BGmz_oxW.mjs
1105
1105
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
1106
1106
  EventCategory["SystemBoot"] = "system.boot";
1107
1107
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -1634,6 +1634,15 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
1634
1634
  */
1635
1635
  EventCategory["PipelineAudioInferenceResult"] = "pipeline.audio-inference-result";
1636
1636
  EventCategory["DetectionPhaseTransition"] = "detection.phase-transition";
1637
+ /**
1638
+ * A camera provider's RAW onboard motion push (D673): the `MotionOnMotionChanged`
1639
+ * data shape without `triggeredBy`, built by `providerMotionEvent`. Its one
1640
+ * consumer is the orchestrator's camera-sensors bridge, which re-emits the
1641
+ * camera's EFFECTIVE onboard motion as `MotionOnMotionChanged` (a pass-through
1642
+ * for a camera with no attached sensor). Providers must not emit
1643
+ * `MotionOnMotionChanged` themselves; `scripts/check-onboard-motion-emitters.ts`
1644
+ * keeps it so (camera-grid is a named, deferred exception).
1645
+ */
1637
1646
  EventCategory["ProviderMotion"] = "provider.motion";
1638
1647
  EventCategory["ProviderDetection"] = "provider.detection";
1639
1648
  EventCategory["EnrichmentEmbeddingStored"] = "enrichment.embedding.stored";
@@ -6472,7 +6481,7 @@ var ZodIssueCode = {
6472
6481
  var ZodFirstPartyTypeKind;
6473
6482
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
6474
6483
  //#endregion
6475
- //#region ../types/dist/sleep-gU6hqv4_.mjs
6484
+ //#region ../types/dist/sleep-CDCONfkt.mjs
6476
6485
  /**
6477
6486
  * The audio chunk plane's byte format, and the ONE expansion from a coded
6478
6487
  * window to float samples (D455).
@@ -8515,7 +8524,7 @@ function errMsg(err) {
8515
8524
  return String(err);
8516
8525
  }
8517
8526
  //#endregion
8518
- //#region ../types/dist/composition-Dq42XWp0.mjs
8527
+ //#region ../types/dist/composition-Bzr7GwgP.mjs
8519
8528
  /**
8520
8529
  * The ffmpeg build every CamStack node downloads, per platform and arch.
8521
8530
  *
@@ -8569,21 +8578,20 @@ function portable(target) {
8569
8578
  }
8570
8579
  portable("linux64"), portable("linuxarm64"), portable("macarm64"), portable("mac64");
8571
8580
  /**
8572
- * LA tabella "quale booleano di questo tipo di device conta come ALTO", e il
8573
- * valutatore puro del suo FRONTE.
8581
+ * THE table "which boolean of this device type counts as HIGH", and the
8582
+ * pure evaluator of its EDGE.
8574
8583
  *
8575
- * Viveva dentro il builtin virtual-doorbell
8576
- * (`@camstack/system` — `builtins/doorbell/trigger-engine.ts`) e i suoi
8577
- * predicati erano privati al modulo. Il recorder ne ha bisogno per il trigger
8578
- * `RecordingTriggers.sensorDeviceIds`: copiarla avrebbe creato la SECONDA
8579
- * tabella, che diverge alla prima cap aggiunta e il cui sintomo — "il sensore
8580
- * fa suonare il campanello ma non registra" — è esattamente D62. Quindi si
8581
- * SPOSTA qui e il doorbell la ri-esporta.
8584
+ * ONE table for everyone who asks "is this device HIGH?": the
8585
+ * recorder's `RecordingTriggers.sensorDeviceIds` trigger, the post-analysis
8586
+ * sensor markers, the orchestrator's camera-sensors bridge and
8587
+ * the sources of a composite doorbell (`doorbellFeatureSources`, D671).
8588
+ * A second copy would diverge at the first cap added, and the symptom — "the
8589
+ * sensor rings the doorbell but does not record" — is exactly D62.
8582
8590
  *
8583
- * ⚠ NON è `DEVICE_STATE_READERS` (`catalogs/device-state-vocabulary.ts`), e le
8584
- * due non vanno unificate: quella risponde a "qual è la PAROLA di stato per una
8585
- * regola" (e include `presence`, `cover`, `alarm-panel`), questa a "qual è il
8586
- * booleano il cui FRONTE conta". Vocabolari deliberatamente diversi.
8591
+ * ⚠ NOT `DEVICE_STATE_READERS` (`catalogs/device-state-vocabulary.ts`), and the
8592
+ * two must not be unified: that one answers "what is the state WORD for a
8593
+ * rule" (and includes `presence`, `cover`, `alarm-panel`), this one "which
8594
+ * boolean's EDGE counts". Deliberately different vocabularies.
8587
8595
  */
8588
8596
  /**
8589
8597
  * Known binary / switch source caps → the boolean slice field whose
@@ -10192,22 +10200,22 @@ var CLASS_MAP_MACRO_TARGETS = [
10192
10200
  "package"
10193
10201
  ];
10194
10202
  /**
10195
- * Le macro classi di PRIMO LIVELLO: quelle che un object detector emette e che
10196
- * un operatore può selezionare.
10203
+ * The FIRST-LEVEL macro classes: those an object detector emits and that
10204
+ * an operator can select.
10197
10205
  *
10198
- * Sono le tre offerte dallo step `object-detection`
10206
+ * They are the three offered by the `object-detection` step
10199
10207
  * (`addon-pipeline/src/detection-pipeline/registry/step-definitions.ts`,
10200
- * `enabledMacroClasses`). `package` sta in {@link CLASS_MAP_MACRO_TARGETS} e in
10201
- * `MACRO_LABELS` — è una macro vera — ma NON qui: appartiene allo step
10202
- * `package-detection`, la cui abilitazione è guidata dalle zone, e offrire la
10203
- * stessa parola due volte ha già fatto accendere a un operatore il proxy COCO
10208
+ * `enabledMacroClasses`). `package` is in {@link CLASS_MAP_MACRO_TARGETS} and in
10209
+ * `MACRO_LABELS` — it is a true macro — but NOT here: it belongs to the step
10210
+ * `package-detection`, whose enablement is driven by zones, and offering the
10211
+ * same word twice has already made an operator turn on the COCO proxy
10204
10212
  * (suitcase/backpack/handbag) lasciando spento il detector dedicato.
10205
10213
  *
10206
- * UNA lista. Prima di oggi le stesse tre erano scritte a mano nell'offerta
10207
- * dello step e una seconda volta come union `FirstLevelMacro`
10208
- * (`types/detection.ts`); una terza copia per il trigger di registrazione
10209
- * (`RecordingTriggers.objectClasses`) avrebbe reso invisibile la divergenza
10210
- * successiva.
10214
+ * ONE list. Before today the same three were hand-written in the step's offer
10215
+ * and a second time as the union `FirstLevelMacro`
10216
+ * (`types/detection.ts`); a third copy for the recording trigger
10217
+ * (`RecordingTriggers.objectClasses`) would have made the later divergence
10218
+ * invisible.
10211
10219
  */
10212
10220
  var FIRST_LEVEL_MACRO_CLASSES = [
10213
10221
  "person",
@@ -10272,17 +10280,17 @@ var RecordingStorageModeSchema = _enum([
10272
10280
  "on-device-decision"
10273
10281
  ]);
10274
10282
  /**
10275
- * Le macro classi che possono aprire una finestra di registrazione — le stesse
10276
- * tre offerte dallo step `object-detection`, da UNA lista
10283
+ * The macro classes that can open a recording window — the same
10284
+ * three offered by the `object-detection` step, from ONE list
10277
10285
  * ({@link FIRST_LEVEL_MACRO_CLASSES}).
10278
10286
  */
10279
10287
  var RecordingObjectTriggerClassSchema = _enum(FIRST_LEVEL_MACRO_CLASSES);
10280
10288
  /**
10281
- * True quando `values` non ripete un elemento.
10289
+ * True when `values` does not repeat an element.
10282
10290
  *
10283
- * Un duplicato non è innocuo: ogni voce di `objectClasses` / `sensorDeviceIds`
10284
- * diventa una SORGENTE in `bandTriggerSources`, e la stessa sorgente due volte
10285
- * conterebbe due volte le sue finestre in `segmentMissedByMs`.
10291
+ * A duplicate is not harmless: every entry of `objectClasses` / `sensorDeviceIds`
10292
+ * becomes a SOURCE in `bandTriggerSources`, and the same source twice
10293
+ * would count its windows twice in `segmentMissedByMs`.
10286
10294
  */
10287
10295
  var noDuplicates = (values) => new Set(values).size === values.length;
10288
10296
  /** Which detectors trigger an `events`-mode band. */
@@ -10290,34 +10298,34 @@ var RecordingTriggersSchema = object({
10290
10298
  motion: boolean().optional(),
10291
10299
  audioThresholdDbfs: number().optional(),
10292
10300
  /**
10293
- * Le macro classi la cui detection apre una finestra. ASSENTE = la sorgente
10294
- * non è ascoltata; un array VUOTO è rifiutato, perché "banda events, trigger
10295
- * object acceso, nessuna classe" è la stessa forma "abilitata e non registra
10296
- * nulla, per sempre" contro cui è scritto `eventsBandCanEverDemand`.
10301
+ * The macro classes whose detection opens a window. ABSENT = the source
10302
+ * is not listened to; an EMPTY array is rejected, because "events band, object
10303
+ * trigger on, no class" is the same shape "enabled and records
10304
+ * nothing, forever" that `eventsBandCanEverDemand` is written against.
10297
10305
  *
10298
- * Il segnale letto è GIÀ FILTRATO: solo detection `source: 'pipeline'`, cioè
10299
- * quelle che hanno attraversato `enabledMacroClasses`, i
10300
- * `minConfidence<Macro>` e il full-frame guard. L'AI a bordo camera
10301
- * (`source: 'onboard'`) non attraversa nessuno di quei gate e NON apre
10302
- * finestre — vedi `recorder/object-trigger.ts`.
10306
+ * The signal read is ALREADY FILTERED: only `source: 'pipeline'` detections, i.e.
10307
+ * those that went through `enabledMacroClasses`, the
10308
+ * `minConfidence<Macro>` and the full-frame guard. The camera's onboard AI
10309
+ * (`source: 'onboard'`) goes through none of those gates and does NOT open
10310
+ * windows — see `recorder/object-trigger.ts`.
10303
10311
  */
10304
10312
  objectClasses: array(RecordingObjectTriggerClassSchema).min(1).refine(noDuplicates, { message: "objectClasses must not repeat a class" }).optional(),
10305
10313
  /**
10306
- * I device LINKED il cui FRONTE ALTO apre una finestra. Assente = la sorgente
10307
- * non è ascoltata; un array vuoto è rifiutato per la stessa ragione di
10314
+ * The LINKED devices whose RISING EDGE opens a window. Absent = the source
10315
+ * is not listened to; an empty array is rejected for the same reason as
10308
10316
  * `objectClasses`.
10309
10317
  *
10310
- * Sono id di device SORGENTE, non camere: la banda li nomina, quindi il
10311
- * percorso caldo (`DeviceStateChanged`, a ritmo di bus su tutta la flotta)
10312
- * non fa RPC. L'OFFERTA da cui l'operatore li sceglie è un'altra domanda, e
10313
- * si risolve con `deviceManager.getLinkedDevices` + `getBindingsBatch` per
10314
- * device (D12) — mai un elenco globale di cap.
10318
+ * These are SOURCE device ids, not cameras: the band names them, so the
10319
+ * hot path (`DeviceStateChanged`, at bus rate across the whole fleet)
10320
+ * does no RPC. The OFFER from which the operator picks them is another question, and
10321
+ * is resolved with `deviceManager.getLinkedDevices` + `getBindingsBatch` per
10322
+ * device (D12) — never a global list of caps.
10315
10323
  *
10316
- * Cosa vuol dire "alto" dipende dal TIPO di device e non è deciso qui:
10317
- * `SOURCE_CAP_ACTIVE_FIELD` (`catalogs/sensor-active-state.ts`) è LA tabella,
10318
- * la stessa che il virtual-doorbell usa dal 2026-08-05. Ed è il FRONTE, non
10319
- * il livello: un contatto trovato già aperto al riavvio del runner non fa
10320
- * registrare.
10324
+ * What "high" means depends on the device TYPE and is not decided here:
10325
+ * `SOURCE_CAP_ACTIVE_FIELD` (`catalogs/sensor-active-state.ts`) is THE table,
10326
+ * the same one as the composite doorbell (D671). And it is the EDGE, not
10327
+ * the level: a contact found already open at runner restart does not
10328
+ * record.
10321
10329
  */
10322
10330
  sensorDeviceIds: array(number().int().positive()).min(1).max(16).refine(noDuplicates, { message: "sensorDeviceIds must not repeat a device" }).optional()
10323
10331
  });
@@ -11394,7 +11402,7 @@ var DecoderSessionConfigSchema = object({
11394
11402
  * - **VALUE** — at which level, for which scope, until when. That stays ONE
11395
11403
  * thing: the logging settings document on the `system` cap. Two authorities
11396
11404
  * over the values is the exact defect
11397
- * `docs/design/plans/2026-08-26-logging-per-componente.md` was written to
11405
+ * `docs/design/plans/2026-08-26-per-component-logging.md` was written to
11398
11406
  * remove; re-introducing it from the cure side would be grotesque.
11399
11407
  *
11400
11408
  * Nothing in this file reads a clock, an env var or a store. The registry is
@@ -13105,7 +13113,7 @@ var BrokerStatusEnum = _enum([
13105
13113
  "unreachable",
13106
13114
  "error"
13107
13115
  ]);
13108
- var BrokerInfoSchema$1 = object({
13116
+ var BrokerInfoSchema = object({
13109
13117
  /** Stable broker id. Persisted; survives addon restarts. */
13110
13118
  id: string(),
13111
13119
  /** Addon id of the provider that OWNS this broker.
@@ -13238,7 +13246,7 @@ var GetStateInputSchema = object({
13238
13246
  * HA: entity_id (returns the cached entity state). */
13239
13247
  key: string()
13240
13248
  });
13241
- method(ListInputSchema, array(BrokerInfoSchema$1)), method(GetInputSchema, BrokerInfoSchema$1.nullable()), method(_void(), array(BrokerProviderInfoSchema), { auth: "admin" }), method(AddInputSchema, AddResultSchema, {
13249
+ method(ListInputSchema, array(BrokerInfoSchema)), method(GetInputSchema, BrokerInfoSchema.nullable()), method(_void(), array(BrokerProviderInfoSchema), { auth: "admin" }), method(AddInputSchema, AddResultSchema, {
13242
13250
  kind: "mutation",
13243
13251
  auth: "admin"
13244
13252
  }), method(RemoveInputSchema, _void(), {
@@ -14949,7 +14957,7 @@ method(_void(), EngineInfoSchema, { auth: "admin" }), method(object({
14949
14957
  *
14950
14958
  * ⚠ An earlier version of this comment blamed Zod stripping, and that
14951
14959
  * was wrong — corrected 2026-08-26 after the hop map
14952
- * (`docs/design/2026-08-26-mappa-hop-argomenti.md`) traced the path.
14960
+ * (`docs/design/2026-08-26-topic-hop-map.md`) traced the path.
14953
14961
  * There is **no Zod parse at all** between the door and the engine: the
14954
14962
  * dispatcher forwards the payload verbatim and UDS carries it whole. A
14955
14963
  * field declared here reaches `SqliteSettingsBackend` either way.
@@ -15829,7 +15837,17 @@ var SiteZoneSchema = object({
15829
15837
  var ProviderStatusSchema = object({
15830
15838
  connected: boolean(),
15831
15839
  deviceCount: number(),
15832
- error: string().optional()
15840
+ error: string().optional(),
15841
+ /**
15842
+ * `'orchestrator'`: this provider writes NO camera's `motion` runtime slice
15843
+ * — the orchestrator is its only writer (D696). Set by `BaseDeviceProvider`,
15844
+ * which every provider bundles, so only a provider BUILT from D696-amended
15845
+ * code says it. ABSENT means an older provider that may still write it (raw
15846
+ * VMD writes, a boot seed), and the orchestrator's provider gate keeps that
15847
+ * provider's cameras unwritten (`camera-sensors/motion-slice-provider-gate.ts`)
15848
+ * — the provider twin of the runner's `getLocalLoad().motionSliceWriter`.
15849
+ */
15850
+ motionSliceWriter: literal("orchestrator").optional()
15833
15851
  });
15834
15852
  object({
15835
15853
  externalId: string(),
@@ -16708,109 +16726,10 @@ method(object({
16708
16726
  deviceIds: array(number()).readonly(),
16709
16727
  caps: array(string()).readonly().optional()
16710
16728
  }), record(string(), record(string(), unknown().nullable())));
16711
- /**
16712
- * Doorbell button cap. Two kinds of providers coexist behind this cap
16713
- * name (same pattern as `snapshot`):
16714
- *
16715
- * - **Native** providers: registered per-device by device-driver
16716
- * addons via `ctx.registerNativeCap` — either on a
16717
- * `DeviceType.Button` accessory with `role: DeviceRole.Doorbell`,
16718
- * or directly on the camera (Reolink registers at camera level).
16719
- * Emits an `onPressed` event every time the firmware pushes a
16720
- * ring; status tracks the last press and a pressCount since start
16721
- * (diagnostic).
16722
- *
16723
- * - **Wrapper** provider: the `virtual-doorbell` system builtin
16724
- * (`@camstack/system/builtins/doorbell`). Turns ANY binary-ish
16725
- * device (contact / switch / event-emitter …) into a doorbell for
16726
- * a camera. `defaultActive: false` — the operator explicitly binds
16727
- * it per camera in the device-bindings UI, then picks the source
16728
- * device + trigger in the per-device settings.
16729
- *
16730
- * The DeviceEventPropagator re-emits `onPressed` on the camera parent
16731
- * — subscribers listening at the camera level receive ring events
16732
- * with `via[]` populated. No code on the parent needed.
16733
- */
16734
- var DoorbellStatusSchema = object({
16735
- /** Ms epoch of the last press. null = never observed since this provider started. */
16736
- lastPressedAt: number().nullable(),
16737
- /** Counter since provider start. Resets on reboot. Useful for metrics/debug. */
16738
- pressCountSinceStart: number()
16739
- });
16740
- var DoorbellPressEventSchema = object({
16741
- deviceId: number(),
16742
- timestamp: number()
16743
- });
16744
- /**
16745
- * The `doorbell-source` extension slot's editable value (D648): the camera's
16746
- * virtual-doorbell trigger devices, exactly what the wrapper's
16747
- * `doorbellSources` persists (as `{ deviceId }` records).
16748
- */
16749
- var DoorbellSourceSlotValueSchema = object({ deviceIds: array(number().int().positive()) });
16750
- /**
16751
- * The `doorbell-source` slot — which devices ring this camera's VIRTUAL
16752
- * doorbell, owned by the `virtual-doorbell` wrapper over its
16753
- * `doorbellSources` store (D648). A source rings when one of its
16754
- * `SOURCE_CAPS` rises. Whether the wrapper is bound to the camera at all is a
16755
- * different authority (`deviceManager.setWrapperActive`, D62) — the slot
16756
- * reports it, it never writes it.
16757
- */
16758
- var DOORBELL_SOURCE_SLOT = {
16759
- id: "doorbell-source",
16760
- label: "Doorbell trigger devices",
16761
- description: "Any of these becoming active rings this camera's virtual doorbell: a binary sensor when it goes active, a switch when it turns on.",
16762
- shape: "association",
16763
- hostDeviceTypes: [DeviceType.Camera],
16764
- sourceCaps: SOURCE_CAPS,
16765
- cardinality: "many",
16766
- value: DoorbellSourceSlotValueSchema
16767
- };
16768
- var doorbellCapability = {
16769
- name: "doorbell",
16770
- scope: "device",
16771
- deviceNative: true,
16772
- mode: "singleton",
16773
- kind: "wrapper",
16774
- defaultActive: false,
16775
- deviceTypes: [DeviceType.Button, DeviceType.Camera],
16776
- extensionSlots: [DOORBELL_SOURCE_SLOT],
16777
- methods: {},
16778
- events: {
16779
- /**
16780
- * Fires once per physical press. Reolink delivers via Baichuan
16781
- * push (`ReolinkSimpleEvent.type === 'doorbell'`). There is no
16782
- * release/duration — it's a pulse.
16783
- */
16784
- onPressed: {
16785
- data: DoorbellPressEventSchema,
16786
- fromState: {
16787
- field: "lastPressedAt",
16788
- on: "advance"
16789
- }
16790
- } },
16791
- status: {
16792
- schema: DoorbellStatusSchema,
16793
- kind: "push"
16794
- },
16795
- /**
16796
- * Runtime-state slice — last press timestamp + lifetime press count.
16797
- * Mirrored by the kernel and readable via
16798
- * `device.state.doorbell.value`. UIs can show "last ring 5m ago"
16799
- * without subscribing.
16800
- */
16801
- runtimeState: DoorbellStatusSchema,
16802
- /**
16803
- * Runtime-state durability: **restored** — a monotonic accumulator: the slice IS the record. `lastPressedAt` is content here, not a clock, so it is deliberately NOT volatile.
16804
- *
16805
- * See `RuntimeStateDurability`. Enforced by
16806
- * `scripts/check-runtime-state-durability.ts`.
16807
- */
16808
- durability: "restored"
16809
- };
16810
- var ExtensionSlotIdSchema = _enum(["doorbell-source", "linked-devices"]);
16811
- DeviceType.Camera, DeviceType.Camera;
16729
+ var ExtensionSlotIdSchema = _enum(["linked-devices"]);
16730
+ DeviceType.Camera;
16812
16731
  /** A slot's editable value, discriminated on `slot`. */
16813
- var ExtensionSlotValueSchema = discriminatedUnion("slot", [DoorbellSourceSlotValueSchema.extend({ slot: literal("doorbell-source") }), LinkedDevicesSlotValueSchema.extend({ slot: literal("linked-devices") })]);
16732
+ var ExtensionSlotValueSchema = discriminatedUnion("slot", [LinkedDevicesSlotValueSchema.extend({ slot: literal("linked-devices") })]);
16814
16733
  DeviceType.Camera;
16815
16734
  var ExtensionSourceAvailabilitySchema = discriminatedUnion("state", [object({ state: literal("ok") }), object({
16816
16735
  state: literal("unreachable"),
@@ -16847,10 +16766,11 @@ var ExtensionSlotSourceSchema = object({
16847
16766
  });
16848
16767
  /**
16849
16768
  * A DIFFERENT authority that gates whether the slot's sources do anything —
16850
- * reported read-only, named, never written through this contract (D62). The
16851
- * virtual doorbell's sources ring only while the wrapper is bound to the
16852
- * camera, and that binding belongs to `deviceManager.setWrapperActive`.
16853
- * `unknown` means the gate could not be read; it is not "inactive" (D315).
16769
+ * reported read-only, named, never written through this contract (D62) — e.g.
16770
+ * a slot whose sources act only while a wrapper is bound to the host, a
16771
+ * binding that belongs to `deviceManager.setWrapperActive`. No slot reports
16772
+ * one today (`linked-devices` answers `null`). `unknown` means the gate could
16773
+ * not be read; it is not "inactive" (D315).
16854
16774
  */
16855
16775
  var ExtensionSlotActivationSchema = object({
16856
16776
  state: _enum([
@@ -16866,7 +16786,7 @@ var ExtensionSlotRowSchema = discriminatedUnion("state", [object({
16866
16786
  /** `<source>:<slotId>` — the routing key for `listCandidates` / `setSlot`. */
16867
16787
  slotRef: string(),
16868
16788
  slot: ExtensionSlotIdSchema,
16869
- /** Names the store written (D62), e.g. `virtual-doorbell:doorbellSources`. */
16789
+ /** Names the store written (D62), e.g. `device-manager:_linkedDeviceIds`. */
16870
16790
  authority: string(),
16871
16791
  activation: ExtensionSlotActivationSchema.nullable(),
16872
16792
  value: ExtensionSlotValueSchema,
@@ -17144,7 +17064,7 @@ method(object({
17144
17064
  * per-device window, `KeyFrameCaptureLog`, `bumpCropMetric`. Every one of them
17145
17065
  * ends in a log line, and a log line is the thing the operator asked to stop
17146
17066
  * needing: *"possiamo armare questi errori intanto? Così al prossimo giro
17147
- * ricontrolliamo tutti questi punti"*. Reading them meant grepping Loki and
17067
+ * 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
17148
17068
  * hand-correlating timestamps, which is how a 22% thumbnail gap and a 3-hour
17149
17069
  * media blackout were both diagnosed. The counters stay; this is where they can
17150
17070
  * be READ.
@@ -18520,7 +18440,7 @@ var BrokerStatusSchema$1 = _enum([
18520
18440
  "unreachable",
18521
18441
  "tls-error"
18522
18442
  ]);
18523
- var BrokerInfoSchema = object({
18443
+ var BrokerInfoSchema$1 = object({
18524
18444
  id: string(),
18525
18445
  name: string(),
18526
18446
  url: string(),
@@ -18583,7 +18503,7 @@ var StatusSchema = object({
18583
18503
  brokerCount: number(),
18584
18504
  embeddedRunning: boolean()
18585
18505
  });
18586
- method(_void(), array(BrokerInfoSchema)), method(IdInputSchema, BrokerConnectionDetailsSchema, { auth: "admin" }), method(AddBrokerInputSchema, AddBrokerResultSchema, {
18506
+ method(_void(), array(BrokerInfoSchema$1)), method(IdInputSchema, BrokerConnectionDetailsSchema, { auth: "admin" }), method(AddBrokerInputSchema, AddBrokerResultSchema, {
18587
18507
  kind: "mutation",
18588
18508
  auth: "admin"
18589
18509
  }), method(IdInputSchema, _void(), {
@@ -20797,78 +20717,16 @@ var NcRuleInputSchema = object({
20797
20717
  */
20798
20718
  confirm: NcConfirmSchema.optional(),
20799
20719
  /**
20800
- * WAIT for face/plate recognition before saying anything.
20801
- *
20802
- * A notification's TEXT is frozen at enqueue and its media is re-resolved at
20803
- * send; the identity is neither. A face is confirmed after `confirmFrames`
20804
- * agreeing observations — p50 **11.4 s** after the track was first seen,
20805
- * measured on this hub — and an `immediate` rule enqueues on the first object
20806
- * event, seconds before that. So "Gianluca è arrivato" is unsayable on the
20807
- * immediate path, and no amount of media re-resolution fixes a sentence.
20808
- *
20809
- * Only two honest answers exist, and this flag picks between them. It has
20810
- * effect ONLY on a rule that declares a recognition scope
20811
- * ({@link NcConditions.identities} or {@link NcConditions.plates}) — on any
20812
- * other rule there is nothing to wait for and the flag is inert.
20813
- *
20814
- * | value | what happens |
20815
- * | --- | --- |
20816
- * | `true` | the rule stops firing on the object event and fires at TRACK CLOSE instead, once, with the name — later, and complete |
20817
- * | 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) |
20818
- *
20819
- * `.optional()` and deliberately NOT `.default()`: a Zod default does not run
20820
- * on the addon cap path, and absent has to keep meaning exactly what every
20821
- * rule authored before this field meant.
20822
- *
20823
- * The cost of `true` is stated here because the editor states it too: a rule
20824
- * that waits also inherits track-close SEMANTICS — its `zones` condition
20825
- * tests every zone the track visited and a `crossing` condition can no longer
20826
- * be satisfied, because a closed track carries no crossing.
20720
+ * IMMEDIATE GROUPED (D692): the first matching subject opens a window of this many
20721
+ * seconds; the rule sends ONE message when the window closes — early, once every
20722
+ * subject in it is final, never before {@link NC_GROUPING_MIN_SEC} — naming everybody
20723
+ * the rule matched, with one mosaic tile per subject.
20724
+ * Absent = plain immediate (one message per track, at the first match).
20725
+ * Only an `immediate` DETECTION rule may carry it (`ruleGroupingApplies`, enforced on
20726
+ * save by the hub's grouping guard). `.optional()`, never `.default()`: the addon cap
20727
+ * path does not run Zod defaults.
20827
20728
  */
20828
- waitForEnhancement: boolean().optional(),
20829
- /**
20830
- * GROUP a burst of subjects into ONE notification that grows.
20831
- *
20832
- * Seconds of quiet after the last matching subject before the burst is
20833
- * considered over. While it is open, the first subject enqueues immediately —
20834
- * **exactly as today, with no added latency** — and every real growth (a new
20835
- * subject, or a name confirmed on one already in it) REPLACES that
20836
- * notification with an updated one naming everybody. The push carries the
20837
- * group's own coalescing tag, so the phone replaces rather than stacks.
20838
- *
20839
- * `0` / absent = off, and off is today's behaviour byte for byte.
20840
- *
20841
- * ### Why an idle cutoff and not a window
20842
- *
20843
- * The measured seven-person arrival on device 590 spans 110 s with every
20844
- * internal gap under 30 s. A 12 s fixed window cuts it into three groups; an
20845
- * idle cutoff holds it as one and ends it when the arrival actually ends.
20846
- * 30 s is a widely shipped value for the same decision.
20847
- *
20848
- * ### What it replaces
20849
- *
20850
- * The blind cooldown, which collapses a burst by DISCARDING it. Measured on
20851
- * device 615 / *Persona su Uscio* over six days: 116 qualifying tracks → 74
20852
- * notifications, **44 (37.9%) suppressed outright**, 23 of them overlapping a
20853
- * track that did fire and 7 carrying a confirmed identity nobody heard about.
20854
- * A group collapses the same volume by MERGING, so the cooldown becomes a
20855
- * budget over GROUPS — which is what it always meant — and a growth is never
20856
- * throttled by the window its own first member spent.
20857
- *
20858
- * ### Interaction with {@link waitForEnhancement}
20859
- *
20860
- * They compose, and the order matters. `waitForEnhancement` defers the rule to
20861
- * TRACK CLOSE, so with both set the group is opened by the first member to
20862
- * CLOSE — already carrying its name — and grows as later members close. That
20863
- * is later, and complete. With grouping alone the group opens on the first
20864
- * object event and picks up names as they are confirmed, through the growth
20865
- * path. Neither combination fires twice for one subject.
20866
- *
20867
- * `.optional()` and deliberately NOT `.default()`: a Zod default does not run
20868
- * on the addon cap path, so absent must keep meaning what it meant before this
20869
- * field existed.
20870
- */
20871
- groupIdleSec: number().int().min(0).max(600).optional()
20729
+ groupingSec: number().int().min(5).max(60).optional()
20872
20730
  });
20873
20731
  /**
20874
20732
  * Partial patch for `updateRule` — any subset of the input fields, plus the
@@ -20916,9 +20774,10 @@ var NcRuleClearableKeySchema = _enum([
20916
20774
  "targetUsers",
20917
20775
  "snoozeOptions",
20918
20776
  "snoozeAllowGlobal",
20919
- "waitForEnhancement",
20920
20777
  "actions",
20921
20778
  "confirm",
20779
+ "groupingSec",
20780
+ "waitForEnhancement",
20922
20781
  "groupIdleSec"
20923
20782
  ]);
20924
20783
  var NcRuleUpdateInputSchema = object({
@@ -20940,9 +20799,25 @@ var NcRuleSchema = NcRuleInputSchema.extend({
20940
20799
  */
20941
20800
  disabledTargetIds: array(string()).default([])
20942
20801
  });
20802
+ /**
20803
+ * The state-summary SECTIONS (D647 / D698): the D637 kind groups that report a
20804
+ * still-true state. `backups-exports` and `alarm` are not sections — a completed
20805
+ * job is not an open state, and the alarm stays instant.
20806
+ */
20807
+ var NcStateSummarySectionIdSchema = _enum([
20808
+ "device-state",
20809
+ "streams",
20810
+ "battery",
20811
+ "consumables",
20812
+ "tanks",
20813
+ "detection-blind",
20814
+ "nodes",
20815
+ "addons",
20816
+ "updates"
20817
+ ]);
20943
20818
  /** One section of a previewed state summary. `unavailable` = its state could not be read. */
20944
20819
  var NcStateSummaryPreviewSectionSchema = object({
20945
- id: string(),
20820
+ id: NcStateSummarySectionIdSchema,
20946
20821
  status: _enum(["read", "unavailable"]),
20947
20822
  items: number().int().nonnegative(),
20948
20823
  reason: string().optional()
@@ -20952,7 +20827,7 @@ var NcStateSummaryPreviewSectionSchema = object({
20952
20827
  * a `rule` split (no `section`), one section's on a `section` split.
20953
20828
  */
20954
20829
  var NcStateSummaryPreviewRowSchema = object({
20955
- section: string().optional(),
20830
+ section: NcStateSummarySectionIdSchema.optional(),
20956
20831
  /** The section's name on a per-section row; every reported section's, joined, on a combined one. */
20957
20832
  title: string(),
20958
20833
  text: string(),
@@ -21389,6 +21264,29 @@ object({
21389
21264
  firstAt: number(),
21390
21265
  lastAt: number()
21391
21266
  });
21267
+ var NC_ALARM_TRIGGERED_MAX_SEC = 3600;
21268
+ var NcAlarmDelaySecSchema = number().int().min(0).max(600);
21269
+ var NcAlarmTriggeredSecSchema = number().int().min(0).max(NC_ALARM_TRIGGERED_MAX_SEC);
21270
+ var uniqueModes = (entries) => new Set(entries.map((e) => e.mode)).size === entries.length;
21271
+ var NcAlarmModeDelaysListSchema = array(object({
21272
+ mode: AlarmArmModeSchema,
21273
+ exitDelaySec: NcAlarmDelaySecSchema.optional(),
21274
+ entryDelaySec: NcAlarmDelaySecSchema.optional(),
21275
+ triggeredDurationSec: NcAlarmTriggeredSecSchema.optional()
21276
+ })).max(8).refine(uniqueModes, { message: "modeDelays: at most one entry per arm mode" });
21277
+ var NcAlarmModeDelaysEditListSchema = array(object({
21278
+ mode: AlarmArmModeSchema,
21279
+ exitDelaySec: NcAlarmDelaySecSchema.nullable().optional(),
21280
+ entryDelaySec: NcAlarmDelaySecSchema.nullable().optional(),
21281
+ triggeredDurationSec: NcAlarmTriggeredSecSchema.nullable().optional()
21282
+ })).max(8).refine(uniqueModes, { message: "modeDelays: at most one edit per arm mode" });
21283
+ /** One switch of the alarm table: put ONE device on, or take it off, ONE mode's list. */
21284
+ var NcAlarmNonBlockingEditSchema = object({
21285
+ mode: AlarmArmModeSchema,
21286
+ deviceId: number().int().positive(),
21287
+ /** true = on the list (may be open, does not block); false = off the list (blocks). */
21288
+ nonBlocking: boolean()
21289
+ });
21392
21290
  /**
21393
21291
  * The per-mode lists, at most one per mode. Two lists for one mode have no
21394
21292
  * meaning a reader could agree on (union? the last one?), so they are refused
@@ -21397,10 +21295,10 @@ object({
21397
21295
  var NcAlarmNonBlockingListSchema = array(object({
21398
21296
  mode: AlarmArmModeSchema,
21399
21297
  deviceIds: array(number().int()).max(200)
21400
- })).max(8).refine((lists) => new Set(lists.map((l) => l.mode)).size === lists.length, { message: "nonBlocking: at most one list per arm mode" });
21298
+ })).max(8).refine(uniqueModes, { message: "nonBlocking: at most one list per arm mode" });
21401
21299
  /**
21402
- * The three durations the panel's state machine runs on, who hears about its
21403
- * transitions, and which openings each mode tolerates.
21300
+ * The three durations — global, and per mode since D697 — the panel's state
21301
+ * machine runs on, who hears about its transitions, and which openings each mode tolerates.
21404
21302
  *
21405
21303
  * They live on the NOTIFICATION-RULES cap, not on `alarm-panel`, on purpose:
21406
21304
  * `alarm-panel` is `deviceNative` and its other provider mirrors somebody
@@ -21410,15 +21308,15 @@ var NcAlarmNonBlockingListSchema = array(object({
21410
21308
  */
21411
21309
  var NcAlarmSettingsSchema = object({
21412
21310
  /** Grace period between arming and the mode taking effect. 0 = immediate. */
21413
- exitDelaySec: number().int().min(0).max(600),
21311
+ exitDelaySec: NcAlarmDelaySecSchema,
21414
21312
  /** Grace period between a trigger and the alarm firing. 0 = immediate. */
21415
- entryDelaySec: number().int().min(0).max(600),
21313
+ entryDelaySec: NcAlarmDelaySecSchema,
21416
21314
  /**
21417
21315
  * How long `triggered` lasts before the panel re-arms itself.
21418
21316
  * **0 = until an operator disarms it** — the behaviour before this field
21419
21317
  * existed, and therefore what an untouched install keeps doing.
21420
21318
  */
21421
- triggeredDurationSec: number().int().min(0).max(3600),
21319
+ triggeredDurationSec: NcAlarmTriggeredSecSchema,
21422
21320
  /**
21423
21321
  * Deprecated by D630 — every transition is announced. Parsed, never read;
21424
21322
  * remove after one release. Optional so an older admin's patch (which still
@@ -21441,17 +21339,30 @@ var NcAlarmSettingsSchema = object({
21441
21339
  * per mode is meaningful. Defaulted to `[]` so a blob stored before D630
21442
21340
  * parses as "every opening blocks" — the behaviour it was written under.
21443
21341
  */
21444
- nonBlocking: NcAlarmNonBlockingListSchema.default([])
21342
+ nonBlocking: NcAlarmNonBlockingListSchema.default([]),
21343
+ /**
21344
+ * Per arm mode, the delays that mode OVERRIDES (D697). A mode with no entry, or an entry
21345
+ * without a field, uses the global value above — so `[]`, the default, is exactly the
21346
+ * behaviour of a blob stored before this field existed. Read through `resolveModeDelays`.
21347
+ */
21348
+ modeDelays: NcAlarmModeDelaysListSchema.default([])
21445
21349
  });
21446
21350
  /**
21447
21351
  * Every field optional — a tab edits one control at a time.
21448
21352
  *
21449
- * `nonBlocking` is re-declared WITHOUT its default: `.partial()` does not
21450
- * remove an inner `.default()`, so a patch that never named the field would
21451
- * parse to `nonBlocking: []` and wipe every mode's list on an unrelated edit
21452
- * (the same trap {@link NcRulePatchSchema} documents).
21353
+ * `nonBlocking` and `modeDelays` are re-declared WITHOUT their defaults:
21354
+ * `.partial()` does not remove an inner `.default()`, so a patch that never
21355
+ * named the field would parse to `[]` and wipe every mode's list on an
21356
+ * unrelated edit (the same trap {@link NcRulePatchSchema} documents). Here
21357
+ * `modeDelays` means EDITS, not the stored overrides.
21453
21358
  */
21454
- var NcAlarmSettingsPatchSchema = NcAlarmSettingsSchema.extend({ nonBlocking: NcAlarmNonBlockingListSchema }).partial();
21359
+ var NcAlarmSettingsPatchSchema = NcAlarmSettingsSchema.extend({
21360
+ nonBlocking: NcAlarmNonBlockingListSchema,
21361
+ /** Per-mode, per-field edits — NOT the whole list (see NcAlarmModeDelaysEditSchema). */
21362
+ modeDelays: NcAlarmModeDelaysEditListSchema,
21363
+ /** ONE membership change; the panel applies it to the list it holds at its turn. */
21364
+ nonBlockingEdit: NcAlarmNonBlockingEditSchema
21365
+ }).partial().refine((p) => p.nonBlocking === void 0 || p.nonBlockingEdit === void 0, { message: "nonBlocking and nonBlockingEdit are exclusive — send the whole lists or one edit" });
21455
21366
  /**
21456
21367
  * What one arm mode actually arms, DERIVED from the enabled rules gated on it.
21457
21368
  * Never authored, never stored — see `alarm-mode-coverage.ts` for why a stored
@@ -21551,6 +21462,28 @@ var NcAlarmConfigSchema = object({
21551
21462
  */
21552
21463
  live: NcAlarmLiveSchema.optional()
21553
21464
  });
21465
+ var NcAlarmSensorReadingSchema = _enum([
21466
+ "open",
21467
+ "closed",
21468
+ "unknown",
21469
+ "not-opening"
21470
+ ]);
21471
+ /** One device's state as the alarm reads it — the classifier the arm check uses. */
21472
+ var NcAlarmSensorStateSchema = object({
21473
+ deviceId: number().int().positive(),
21474
+ reading: NcAlarmSensorReadingSchema,
21475
+ /** The word as read (`open`, `closed`, `unlocked`, `stopped`, …); null when unknown / not an opening. */
21476
+ state: string().nullable(),
21477
+ /** Why `unknown`: the read failed, or the slice holds no word its cap defines (a placeholder included). */
21478
+ unknownWhy: _enum(["read-failed", "unknown-word"]).nullable(),
21479
+ /** The device manager's liveness as the centre mirrors it; null = not known. */
21480
+ online: boolean().nullable()
21481
+ });
21482
+ var NcAlarmSensorsInputSchema = object({ deviceIds: array(number().int().positive()).max(500) });
21483
+ var NcAlarmSensorsSchema = object({
21484
+ sensors: array(NcAlarmSensorStateSchema),
21485
+ readAt: number().int().nonnegative()
21486
+ });
21554
21487
  /**
21555
21488
  * ONE rule's demand on ONE camera's clip ring.
21556
21489
  *
@@ -21641,7 +21574,7 @@ method(object({}), object({ rules: array(NcRuleSchema) }), { auth: "admin" }), m
21641
21574
  }), method(object({}), NcAlarmConfigSchema, { auth: "admin" }), method(object({ patch: NcAlarmSettingsPatchSchema }), NcAlarmConfigSchema, {
21642
21575
  kind: "mutation",
21643
21576
  auth: "admin"
21644
- });
21577
+ }), method(NcAlarmSensorsInputSchema, NcAlarmSensorsSchema, { auth: "admin" });
21645
21578
  /**
21646
21579
  * Zod schemas for persisted record types.
21647
21580
  *
@@ -21988,12 +21921,26 @@ var CameraSensorRefSchema = object({
21988
21921
  function cameraSensorRefKey(ref) {
21989
21922
  return `${ref.addonId}/${ref.stableId}`;
21990
21923
  }
21991
- /** CS-1 accepts exactly one mode; CS-2 (D673) widens it to confirm / replace. */
21992
- var CameraSensorsModeSchema = _enum(["in-addition"]);
21993
- var CameraSensorsConfigSchema = object({
21994
- mode: CameraSensorsModeSchema,
21995
- sensors: array(CameraSensorRefSchema).min(1).max(8)
21996
- }).superRefine((value, ctx) => {
21924
+ /**
21925
+ * A sensor's mode (D673). `in-addition`: its motion is the camera's motion too.
21926
+ * `replace`: its motion is the camera's, and while one is READY the camera's
21927
+ * own motion no longer counts on its own. `confirm`: while one is READY the
21928
+ * camera's own motion counts only while a confirm sensor is active — with or
21929
+ * without a replace sensor (spec C2, the controller's ruling on Q1).
21930
+ */
21931
+ var CameraSensorModeSchema = _enum([
21932
+ "in-addition",
21933
+ "confirm",
21934
+ "replace"
21935
+ ]);
21936
+ /** A stored sensor with no mode — every CS-1 row — is in addition. */
21937
+ var DEFAULT_CAMERA_SENSOR_MODE = "in-addition";
21938
+ /**
21939
+ * A camera's attached sensors. A CS-1 row carried an envelope
21940
+ * `mode: 'in-addition'`: `z.object` drops it on parse, and the PARSED value is
21941
+ * what the write stores (D672 rule 3), so it is never written again.
21942
+ */
21943
+ var CameraSensorsConfigSchema = object({ sensors: array(CameraSensorRefSchema.extend({ mode: CameraSensorModeSchema.default(DEFAULT_CAMERA_SENSOR_MODE) })).min(1).max(8) }).superRefine((value, ctx) => {
21997
21944
  const seen = /* @__PURE__ */ new Set();
21998
21945
  value.sensors.forEach((ref, index) => {
21999
21946
  const key = cameraSensorRefKey(ref);
@@ -22005,39 +21952,41 @@ var CameraSensorsConfigSchema = object({
22005
21952
  seen.add(key);
22006
21953
  });
22007
21954
  });
22008
- var RefFields = {
21955
+ /** Every attachment names its mode; an older orchestrator that does not is in addition. */
21956
+ var AttachmentFields = {
22009
21957
  addonId: string(),
22010
- stableId: string()
21958
+ stableId: string(),
21959
+ mode: CameraSensorModeSchema.default(DEFAULT_CAMERA_SENSOR_MODE)
22011
21960
  };
22012
21961
  var CameraSensorAttachmentSchema = discriminatedUnion("state", [
22013
21962
  object({
22014
- ...RefFields,
21963
+ ...AttachmentFields,
22015
21964
  state: literal("ready"),
22016
21965
  deviceId: number(),
22017
21966
  name: string(),
22018
21967
  caps: array(string()).readonly()
22019
21968
  }),
22020
21969
  object({
22021
- ...RefFields,
21970
+ ...AttachmentFields,
22022
21971
  state: literal("offline"),
22023
21972
  deviceId: number(),
22024
21973
  name: string(),
22025
21974
  reason: _enum(["offline", "disabled"])
22026
21975
  }),
22027
21976
  object({
22028
- ...RefFields,
21977
+ ...AttachmentFields,
22029
21978
  state: literal("missing"),
22030
21979
  reason: string()
22031
21980
  }),
22032
21981
  object({
22033
- ...RefFields,
21982
+ ...AttachmentFields,
22034
21983
  state: literal("unsupported"),
22035
21984
  deviceId: number(),
22036
21985
  name: string(),
22037
21986
  reason: string()
22038
21987
  }),
22039
21988
  object({
22040
- ...RefFields,
21989
+ ...AttachmentFields,
22041
21990
  state: literal("unreadable"),
22042
21991
  reason: string()
22043
21992
  })
@@ -22050,17 +21999,49 @@ var CameraSensorAttachmentSchema = discriminatedUnion("state", [
22050
21999
  * say.
22051
22000
  */
22052
22001
  var CameraSensorsNotForwardedSchema = _enum(["onboard-not-listed", "no-active-detection"]);
22002
+ /** Whether the camera's OWN motion counts on its own (D673 C2), from its READY sensors (C3). */
22003
+ var CameraOwnMotionSchema = _enum([
22004
+ "always",
22005
+ "when-confirmed",
22006
+ "never"
22007
+ ]);
22008
+ /** Confirm / Replace cannot suppress this camera's motion: its provider still emits it directly (D673 C13). */
22009
+ var CameraSensorsNotEnforcedSchema = _enum(["provider-not-split"]);
22010
+ /**
22011
+ * The camera's OWN onboard motion (D696): the raw input the bridge combines,
22012
+ * never the effective value. The camera's `motion` slice is the effective one,
22013
+ * so a view of the camera's own row reads this.
22014
+ * - `atMs`: when the bridge received the camera's last own edge.
22015
+ * - `detected`: evaluated WHEN THE STATUS IS ASKED — the last edge said `true`
22016
+ * AND it is younger than the window the bridge counts the camera's own motion
22017
+ * for (`motionCooldownMs`, floored at two sustain ticks). A camera that never
22018
+ * sends a clear (heartbeats only) therefore reads `false` once no push came
22019
+ * within the window; a status read is a snapshot, so a live view re-asks.
22020
+ * Absent = this orchestrator has not received the camera's own motion since it
22021
+ * started (unknown, never "quiet"), or an orchestrator older than D696.
22022
+ */
22023
+ var CameraRawLevelSchema = object({
22024
+ detected: boolean(),
22025
+ atMs: number()
22026
+ });
22053
22027
  var CameraSensorsStatusSchema = discriminatedUnion("state", [
22054
- object({ state: literal("not-configured") }),
22028
+ object({
22029
+ state: literal("not-configured"),
22030
+ cameraLevel: CameraRawLevelSchema.optional()
22031
+ }),
22055
22032
  object({
22056
22033
  state: literal("unreadable"),
22057
- reason: string()
22034
+ reason: string(),
22035
+ cameraLevel: CameraRawLevelSchema.optional()
22058
22036
  }),
22059
22037
  object({
22060
22038
  state: literal("configured"),
22061
- mode: CameraSensorsModeSchema,
22039
+ cameraLevel: CameraRawLevelSchema.optional(),
22062
22040
  sensors: array(CameraSensorAttachmentSchema).readonly(),
22063
- notForwarded: CameraSensorsNotForwardedSchema.optional()
22041
+ /** Absent = an orchestrator older than CS-2: it does not say (D315). */
22042
+ cameraMotion: CameraOwnMotionSchema.optional(),
22043
+ notForwarded: CameraSensorsNotForwardedSchema.optional(),
22044
+ notEnforced: CameraSensorsNotEnforcedSchema.optional()
22064
22045
  })
22065
22046
  ]);
22066
22047
  Object.freeze({
@@ -22745,14 +22726,14 @@ var TrackSchema = object({
22745
22726
  * `derive-returned-null tile=standin`,
22746
22727
  * `native-tile tile=native no-key-frame-at-close`, …) written at close and
22747
22728
  * CLEARED by the late-keyFrame upgrade when a native tile lands after all.
22748
- * The operator-facing answer to "perché manca l'immagine?" on a track whose
22729
+ * The operator-facing answer to "perché manca l'immagine?" [why is the image missing?] on a track whose
22749
22730
  * tile is a face/plate stand-in, a raster crop, or an icon.
22750
22731
  *
22751
22732
  * **`no-key-frame-at-close` (D400).** The line used to be written ONLY when
22752
22733
  * the TILE ranked below native, so a track whose thumbnail landed natively
22753
22734
  * while its key frame missed carried no reason at all — three of the four
22754
22735
  * `MISSING_KEYFRAME` tracks in the 2026-09-07 operator audit were exactly
22755
- * that shape, and their "niente ultimo" had no cause anywhere on the row.
22736
+ * that shape, and their "niente ultimo" [no last frame] had no cause anywhere on the row.
22756
22737
  * The key frame is the head of a cascade (`keyFrame ⇒ keyFrameSmall ⇒ the
22757
22738
  * lastFrame copy source`), so its absence is now on this line whatever the
22758
22739
  * tile ended up being.
@@ -22839,7 +22820,7 @@ var MotionEventSchema = object({
22839
22820
  /**
22840
22821
  * Ms offsets from `timestamp` (the episode's own first rising edge, so the
22841
22822
  * first entry is always `0`) of every genuine off→on transition the
22842
- * episode saw — "ogni evento on si deve salvare" (D475). NOT one entry per
22823
+ * episode saw — "ogni evento on si deve salvare" [every ON event must be saved] (D475). NOT one entry per
22843
22824
  * push: a firmware source that keepalives at ~1 Hz for the whole burst
22844
22825
  * (Reolink, Hikvision) produces exactly one edge; a source that reports an
22845
22826
  * explicit `false` mid-episode and then resumes before the quiet window
@@ -23363,6 +23344,7 @@ var KeyEventSchema = object({
23363
23344
  bestEventId: string(),
23364
23345
  /** Track lifetime in ms (lastSeen - firstSeen). */
23365
23346
  windowMs: number().optional(),
23347
+ audioLabels: array(TrackAudioLabelSchema).readonly().optional(),
23366
23348
  ...TrackFlagFields,
23367
23349
  ...TrackRetrainFields
23368
23350
  });
@@ -25291,8 +25273,10 @@ var RunnerCameraConfigSchema = object({
25291
25273
  * - `analyzer`: ML/frame-diff motion detection (motion-wasm or other
25292
25274
  * analyzer providers) running on decoded frames in this runner.
25293
25275
  * - `onboard`: camera-native motion pushes (Reolink Baichuan, ONVIF
25294
- * analytics). The provider emits ProviderMotion
25295
- * events; the orchestrator forwards to `reportMotion`.
25276
+ * analytics). The provider emits its raw push as `ProviderMotion`
25277
+ * (D673); the orchestrator's camera-sensors bridge re-emits the camera's
25278
+ * effective motion as `MotionOnMotionChanged`, which is what reaches
25279
+ * `reportMotion`.
25296
25280
  */
25297
25281
  motionSources: MotionSourcesSchema.default(["analyzer"]),
25298
25282
  /**
@@ -25469,7 +25453,15 @@ var RunnerLocalLoadSchema = object({
25469
25453
  hasGpu: boolean(),
25470
25454
  inferenceBackend: string().optional(),
25471
25455
  cpuCores: number().optional()
25472
- })
25456
+ }),
25457
+ /**
25458
+ * Who writes a camera's `motion` runtime slice (D696). `'orchestrator'`: this
25459
+ * runner never writes it. ABSENT = a runner older than D696, which still
25460
+ * writes the slice from its phase machine; the orchestrator does not write
25461
+ * while any runner node is absent-or-unanswered, so one slice never has two
25462
+ * writers.
25463
+ */
25464
+ motionSliceWriter: literal("orchestrator").optional()
25473
25465
  });
25474
25466
  /**
25475
25467
  * Aggregate runtime metrics for the runner's whole local pool. Mirrors the
@@ -28134,7 +28126,7 @@ var ClipPlaybackSchema = object({
28134
28126
  * **One authorised yes is one wake.** `next-natural` — take the clip the next
28135
28127
  * time the camera is awake for its own reasons — is deliberately not a member:
28136
28128
  * it was proposed, it is free on the battery, and the operator declined it on
28137
- * 2026-09-20 (*"Quando un export viene richiesto si sveglia la camera."*,
28129
+ * 2026-09-20 (*"Quando un export viene richiesto si sveglia la camera."* [When an export is requested the camera wakes up],
28138
28130
  * D558 "Considered and not taken").
28139
28131
  */
28140
28132
  var ClipWakeSchema = _enum(["authorised"]);
@@ -28395,7 +28387,7 @@ DeviceType.Camera, method(object({
28395
28387
  * It replaced `sources?: string[]`, a VIEW filter over source ids that
28396
28388
  * assumed the answer was a fan-out over everything a camera has. The
28397
28389
  * operator settled otherwise on 2026-09-20 — *"l'utilizzatore è uno
28398
- * solo"* — so the list is asked of one provider at a time and there is
28390
+ * solo"* [there is only one user] — so the list is asked of one provider at a time and there is
28399
28391
  * nothing to filter out of it.
28400
28392
  */
28401
28393
  provider: string().min(1)
@@ -30998,6 +30990,70 @@ onStatusChanged: { data: object({
30998
30990
  * whether persisting is worth a SQLite commit. */
30999
30991
  volatileStateFields: ["lastChangedAt"]
31000
30992
  };
30993
+ var DoorbellStatusSchema = object({
30994
+ /** Ms epoch of the last press. null = never observed since this provider started. */
30995
+ lastPressedAt: number().nullable(),
30996
+ /** Counter since provider start. Resets on reboot. Useful for metrics/debug. */
30997
+ pressCountSinceStart: number()
30998
+ });
30999
+ var DoorbellPressEventSchema = object({
31000
+ deviceId: number(),
31001
+ timestamp: number()
31002
+ });
31003
+ /**
31004
+ * Doorbell button cap. Two kinds of provider serve it, and to every consumer
31005
+ * they are the same cap:
31006
+ *
31007
+ * - **Native** providers, registered per device by a driver addon through
31008
+ * `ctx.registerNativeCap` — a `DeviceType.Button` accessory with
31009
+ * `role: DeviceRole.Doorbell`, or the camera itself (Reolink registers at
31010
+ * camera level). They emit `onPressed` on every firmware ring.
31011
+ * - **A composed doorbell** (D670, D671): a camera's customization gives it
31012
+ * the cap, its `lastPressedAt` rising from the sources the operator
31013
+ * assigned in Customize → Doorbell, and the composer emits `onPressed`
31014
+ * from that field's advance (`fromState`).
31015
+ *
31016
+ * The DeviceEventPropagator re-emits `onPressed` on the camera parent.
31017
+ */
31018
+ var doorbellCapability = {
31019
+ name: "doorbell",
31020
+ scope: "device",
31021
+ deviceNative: true,
31022
+ mode: "singleton",
31023
+ deviceTypes: [DeviceType.Button, DeviceType.Camera],
31024
+ methods: {},
31025
+ events: {
31026
+ /**
31027
+ * Fires once per physical press. Reolink delivers via Baichuan
31028
+ * push (`ReolinkSimpleEvent.type === 'doorbell'`). There is no
31029
+ * release/duration — it's a pulse.
31030
+ */
31031
+ onPressed: {
31032
+ data: DoorbellPressEventSchema,
31033
+ fromState: {
31034
+ field: "lastPressedAt",
31035
+ on: "advance"
31036
+ }
31037
+ } },
31038
+ status: {
31039
+ schema: DoorbellStatusSchema,
31040
+ kind: "push"
31041
+ },
31042
+ /**
31043
+ * Runtime-state slice — last press timestamp + lifetime press count.
31044
+ * Mirrored by the kernel and readable via
31045
+ * `device.state.doorbell.value`. UIs can show "last ring 5m ago"
31046
+ * without subscribing.
31047
+ */
31048
+ runtimeState: DoorbellStatusSchema,
31049
+ /**
31050
+ * Runtime-state durability: **restored** — a monotonic accumulator: the slice IS the record. `lastPressedAt` is content here, not a clock, so it is deliberately NOT volatile.
31051
+ *
31052
+ * See `RuntimeStateDurability`. Enforced by
31053
+ * `scripts/check-runtime-state-durability.ts`.
31054
+ */
31055
+ durability: "restored"
31056
+ };
31001
31057
  /**
31002
31058
  * Enum-state sensor — a string value picked from a finite option set.
31003
31059
  * Drives HA `sensor` entries with `state_class: enum` (HVAC action
@@ -33142,9 +33198,9 @@ var MotionStatusSchema = object({
33142
33198
  /** Ms epoch of the last detected-true observation. Null if never detected. */
33143
33199
  lastDetectedAt: number().nullable(),
33144
33200
  /**
33145
- * `MOTION_CLOSE_AFTER_MS` while `detected: true` on a `Camera` device,
33146
- * `null` while false and on every `Sensor` device (D475) — see that
33147
- * constant's doc for the one-authority rule.
33201
+ * `MOTION_CLOSE_AFTER_MS` while `detected: true` on a `Camera` device (the
33202
+ * orchestrator writes it, D696), `null` while false and on every `Sensor`
33203
+ * device (D475) — see that constant's doc for the one-authority rule.
33148
33204
  *
33149
33205
  * ## Reading this field still arms nothing
33150
33206
  *
@@ -33162,34 +33218,31 @@ var MotionStatusSchema = object({
33162
33218
  * `addon-export-alexa/src/motion-clear-hold.ts` and
33163
33219
  * `addon-export-hap`'s `RESET_DEBOUNCE_MS` both do.
33164
33220
  *
33165
- * ## Who writes it
33166
- *
33167
- * - **Cameras** — the runner's phase machine, `active → watching` on
33168
- * `cooldown_expired`, which then writes this slice with
33169
- * `detected: false` (`handlePhaseChanged` in
33170
- * `pipeline-runner/index.ts`). It produces the FALLING edge, which
33171
- * matters most for the sources that only ever push a rising one:
33172
- * Reolink emits `MotionOnMotionChanged { detected: true }` and never
33173
- * a false.
33174
- * - **Sensors** (Home Assistant binary sensors, Homematic) — the
33175
- * provider pushes the false itself, from the upstream system's own
33176
- * state change. No phase machine is involved.
33177
- *
33178
- * ### The phase machine is CANONICAL, not sole — and that is a defect
33179
- *
33180
- * An earlier revision of this docblock (mine, 2026-09-12) claimed the
33181
- * phase machine is the sole writer for a camera. It is not.
33182
- * `hikvision-camera.ts:3464` and `amcrest-camera.ts:445` both call
33183
- * `setCapSlice(motionCapability, …)` on their own rising edge, and
33184
- * Hikvision's comment says why: it read THIS docblock, agreed the
33185
- * runner is canonical, and wrote anyway to avoid per-tick churn. So
33186
- * two authorities can disagree about one slice, which this repo
33187
- * forbids, and the doc said otherwise — which is worse than saying
33188
- * nothing, because it reads as verification.
33189
- *
33190
- * This predates D475 and is not fixed there: the fix touches every
33191
- * camera provider. Recorded in D475's Consequences. Do not restore the
33192
- * "sole writer" wording without also removing the other writers.
33221
+ * ## Who writes it (D696)
33222
+ *
33223
+ * - **Cameras** — the orchestrator, and nothing else. It writes the camera's
33224
+ * EFFECTIVE motion (`addon-pipeline-orchestrator`
33225
+ * `camera-sensors/motion-slice.ts`), alongside the effective
33226
+ * `MotionOnMotionChanged` it emits or receives: the camera-sensors bridge
33227
+ * for a split camera, an unsplit emitter's direct event, the analyzer and
33228
+ * device activity, as the camera's `motionSources` counts them. A source
33229
+ * that never sends a clear falls one window after its last `true`.
33230
+ * `lastDetectedAt` moves only on an effective rise. No camera provider
33231
+ * writes this slice (not even a boot seed), and neither does the runner's
33232
+ * phase machine: its phase is "a session is attached" for every on-motion
33233
+ * session, not motion, and it now has its own `DetectionPhaseTransition`.
33234
+ * A provider's `isDetected` answers from the hub's slice.
33235
+ * - **Sensors** (Home Assistant binary sensors, Homematic, Matter, Alexa
33236
+ * imports) — the provider pushes both edges itself, from the upstream
33237
+ * system's own state change. That is the sensor's own fact.
33238
+ *
33239
+ * `scripts/check-onboard-motion-emitters.ts` refuses any other writer of a
33240
+ * `motion` slice; each sensor writer is a named exemption.
33241
+ *
33242
+ * This replaces the D475 §4 rule ("the phase machine is the sole writer").
33243
+ * That rule was never true: Hikvision and Amcrest wrote the slice raw beside
33244
+ * it, every provider seeded it at boot, and every session left it
33245
+ * `detected: true` after its detach.
33193
33246
  */
33194
33247
  autoClearAfterMs: number().nullable()
33195
33248
  });
@@ -33261,11 +33314,12 @@ onMotionChanged: { data: MotionOnMotionChangedDataSchema } },
33261
33314
  */
33262
33315
  runtimeState: MotionStatusSchema,
33263
33316
  /**
33264
- * Runtime-state durability: **session** — every writer of this slice
33317
+ * Runtime-state durability: **session** — the writer of this slice
33265
33318
  * writes only on an EDGE, so a restored `detected: true` would stay
33266
33319
  * frozen until the next one instead of being corrected. The next edge
33267
- * re-publishes the real state. (On who the writers are, and why there
33268
- * is more than one, see `autoClearAfterMs` above.)
33320
+ * re-publishes the real state, and the orchestrator re-publishes every
33321
+ * camera when it starts writing (D696; on who writes it, see
33322
+ * `autoClearAfterMs` above).
33269
33323
  *
33270
33324
  * See `RuntimeStateDurability`. Enforced by
33271
33325
  * `scripts/check-runtime-state-durability.ts`.
@@ -35648,8 +35702,7 @@ var ptzAutotrackCapability = {
35648
35702
  deviceNative: true,
35649
35703
  mode: "singleton",
35650
35704
  /**
35651
- * Two kinds of provider behind one name, the same shape `snapshot` and
35652
- * `doorbell` use:
35705
+ * Two kinds of provider behind one name, the same shape `snapshot` uses:
35653
35706
  *
35654
35707
  * - **Native**: the camera's own firmware autotrack, registered per device by
35655
35708
  * the driver when the probe says it exists (Reolink: yes; Hikvision:
@@ -35657,7 +35710,7 @@ var ptzAutotrackCapability = {
35657
35710
  * - **Wrapper**: the emulated implementation (`@camstack/system`'s `autotrack` builtin),
35658
35711
  * which follows a subject with `ptz.move` pulses driven by the detection
35659
35712
  * pipeline. `defaultActive: false` — the operator binds it per camera in
35660
- * the bindings UI, exactly as `virtual-doorbell` is bound.
35713
+ * the bindings UI.
35661
35714
  *
35662
35715
  * The binding chooses WHICH implementation answers; `setEnabled` stays the
35663
35716
  * one switch for the function either way. A camera never has both driving its
@@ -36332,7 +36385,7 @@ var ReadGopBytesResultSchema = object({
36332
36385
  /**
36333
36386
  * A time WINDOW of one finalized segment, cut by byte range — the multi-GOP
36334
36387
  * twin of {@link ReadGopBytesResultSchema}'s single instant. Built for the
36335
- * replay clip's `recording` source (`docs/design/plans/2026-08-26-replay-clip-su-pipeline.md`):
36388
+ * replay clip's `recording` source (`docs/design/plans/2026-08-26-clip-replay-on-pipeline.md`):
36336
36389
  * a replay needs several seconds of native pixels, not one frame.
36337
36390
  *
36338
36391
  * `ok.data` is standalone-demuxable, same as a GOP read. `ok.reachesRequestedEnd`
@@ -39696,6 +39749,7 @@ var zoneRulesCapability = {
39696
39749
  */
39697
39750
  durability: "restored"
39698
39751
  };
39752
+ SOURCE_CAPS.filter((cap) => cap !== "switch" && cap !== "motion");
39699
39753
  /**
39700
39754
  * Accessory device helpers — shared across drivers.
39701
39755
  *
@@ -40755,13 +40809,14 @@ var BaseDeviceProvider = class extends BaseAddon {
40755
40809
  async getStatus() {
40756
40810
  const all = await this.ctx.kernel.devices?.getAll() ?? [];
40757
40811
  const summary = this.restoreFailureSummary();
40758
- if (summary === null) return {
40812
+ const base = {
40759
40813
  connected: true,
40760
- deviceCount: all.length
40814
+ deviceCount: all.length,
40815
+ motionSliceWriter: "orchestrator"
40761
40816
  };
40817
+ if (summary === null) return base;
40762
40818
  return {
40763
- connected: true,
40764
- deviceCount: all.length,
40819
+ ...base,
40765
40820
  error: summary
40766
40821
  };
40767
40822
  }
@@ -46197,6 +46252,12 @@ Object.freeze({
46197
46252
  addonId: null,
46198
46253
  access: "view"
46199
46254
  },
46255
+ "notificationRules.getAlarmSensors": {
46256
+ capName: "notification-rules",
46257
+ capScope: "system",
46258
+ addonId: null,
46259
+ access: "view"
46260
+ },
46200
46261
  "notificationRules.getClipRetentionAsks": {
46201
46262
  capName: "notification-rules",
46202
46263
  capScope: "system",
@@ -49775,6 +49836,11 @@ Object.freeze({
49775
49836
  }
49776
49837
  });
49777
49838
  Object.freeze({
49839
+ "accessories.getStatus": [{
49840
+ name: "deviceId",
49841
+ form: "single",
49842
+ optional: false
49843
+ }],
49778
49844
  "accessories.setChildHidden": [{
49779
49845
  name: "childDeviceId",
49780
49846
  form: "single",
@@ -49794,6 +49860,11 @@ Object.freeze({
49794
49860
  form: "single",
49795
49861
  optional: false
49796
49862
  }],
49863
+ "airQualitySensor.getStatus": [{
49864
+ name: "deviceId",
49865
+ form: "single",
49866
+ optional: false
49867
+ }],
49797
49868
  "alarmPanel.arm": [{
49798
49869
  name: "deviceId",
49799
49870
  form: "single",
@@ -49804,11 +49875,36 @@ Object.freeze({
49804
49875
  form: "single",
49805
49876
  optional: false
49806
49877
  }],
49878
+ "alarmPanel.getStatus": [{
49879
+ name: "deviceId",
49880
+ form: "single",
49881
+ optional: false
49882
+ }],
49807
49883
  "alarmPanel.trigger": [{
49808
49884
  name: "deviceId",
49809
49885
  form: "single",
49810
49886
  optional: false
49811
49887
  }],
49888
+ "ambientLightSensor.getStatus": [{
49889
+ name: "deviceId",
49890
+ form: "single",
49891
+ optional: false
49892
+ }],
49893
+ "audioAnalysis.applyDeviceSettingsPatch": [{
49894
+ name: "deviceId",
49895
+ form: "single",
49896
+ optional: false
49897
+ }],
49898
+ "audioAnalysis.getDeviceLiveContribution": [{
49899
+ name: "deviceId",
49900
+ form: "single",
49901
+ optional: false
49902
+ }],
49903
+ "audioAnalysis.getDeviceSettingsContribution": [{
49904
+ name: "deviceId",
49905
+ form: "single",
49906
+ optional: false
49907
+ }],
49812
49908
  "audioAnalysis.resolveDeviceSettings": [{
49813
49909
  name: "deviceId",
49814
49910
  form: "single",
@@ -49849,16 +49945,36 @@ Object.freeze({
49849
49945
  form: "single",
49850
49946
  optional: false
49851
49947
  }],
49948
+ "automationControl.getStatus": [{
49949
+ name: "deviceId",
49950
+ form: "single",
49951
+ optional: false
49952
+ }],
49852
49953
  "automationControl.trigger": [{
49853
49954
  name: "deviceId",
49854
49955
  form: "single",
49855
49956
  optional: false
49856
49957
  }],
49958
+ "battery.getStatus": [{
49959
+ name: "deviceId",
49960
+ form: "single",
49961
+ optional: false
49962
+ }],
49857
49963
  "battery.wakeForStream": [{
49858
49964
  name: "deviceId",
49859
49965
  form: "single",
49860
49966
  optional: false
49861
49967
  }],
49968
+ "binary.getStatus": [{
49969
+ name: "deviceId",
49970
+ form: "single",
49971
+ optional: false
49972
+ }],
49973
+ "brightness.getStatus": [{
49974
+ name: "deviceId",
49975
+ form: "single",
49976
+ optional: false
49977
+ }],
49862
49978
  "brightness.setBrightness": [{
49863
49979
  name: "deviceId",
49864
49980
  form: "single",
@@ -49874,6 +49990,26 @@ Object.freeze({
49874
49990
  form: "single",
49875
49991
  optional: false
49876
49992
  }],
49993
+ "cameraCredentials.getStatus": [{
49994
+ name: "deviceId",
49995
+ form: "single",
49996
+ optional: false
49997
+ }],
49998
+ "cameraGridLayout.applyDeviceSettingsPatch": [{
49999
+ name: "deviceId",
50000
+ form: "single",
50001
+ optional: false
50002
+ }],
50003
+ "cameraGridLayout.getDeviceLiveContribution": [{
50004
+ name: "deviceId",
50005
+ form: "single",
50006
+ optional: false
50007
+ }],
50008
+ "cameraGridLayout.getDeviceSettingsContribution": [{
50009
+ name: "deviceId",
50010
+ form: "single",
50011
+ optional: false
50012
+ }],
49877
50013
  "cameraGridLayout.getLayout": [{
49878
50014
  name: "deviceId",
49879
50015
  form: "single",
@@ -49889,6 +50025,21 @@ Object.freeze({
49889
50025
  form: "single",
49890
50026
  optional: false
49891
50027
  }],
50028
+ "cameraPipelineConfig.applyDeviceSettingsPatch": [{
50029
+ name: "deviceId",
50030
+ form: "single",
50031
+ optional: false
50032
+ }],
50033
+ "cameraPipelineConfig.getDeviceLiveContribution": [{
50034
+ name: "deviceId",
50035
+ form: "single",
50036
+ optional: false
50037
+ }],
50038
+ "cameraPipelineConfig.getDeviceSettingsContribution": [{
50039
+ name: "deviceId",
50040
+ form: "single",
50041
+ optional: false
50042
+ }],
49892
50043
  "cameraStreams.getBrokerStreams": [{
49893
50044
  name: "deviceId",
49894
50045
  form: "single",
@@ -49914,6 +50065,16 @@ Object.freeze({
49914
50065
  form: "single",
49915
50066
  optional: false
49916
50067
  }],
50068
+ "carbonMonoxide.getStatus": [{
50069
+ name: "deviceId",
50070
+ form: "single",
50071
+ optional: false
50072
+ }],
50073
+ "climateControl.getStatus": [{
50074
+ name: "deviceId",
50075
+ form: "single",
50076
+ optional: false
50077
+ }],
49917
50078
  "climateControl.setFanMode": [{
49918
50079
  name: "deviceId",
49919
50080
  form: "single",
@@ -49954,16 +50115,41 @@ Object.freeze({
49954
50115
  form: "single",
49955
50116
  optional: false
49956
50117
  }],
50118
+ "color.getStatus": [{
50119
+ name: "deviceId",
50120
+ form: "single",
50121
+ optional: false
50122
+ }],
49957
50123
  "color.setColor": [{
49958
50124
  name: "deviceId",
49959
50125
  form: "single",
49960
50126
  optional: false
49961
50127
  }],
50128
+ "connectivity.getStatus": [{
50129
+ name: "deviceId",
50130
+ form: "single",
50131
+ optional: false
50132
+ }],
50133
+ "consumables.getStatus": [{
50134
+ name: "deviceId",
50135
+ form: "single",
50136
+ optional: false
50137
+ }],
49962
50138
  "consumables.reset": [{
49963
50139
  name: "deviceId",
49964
50140
  form: "single",
49965
50141
  optional: false
49966
50142
  }],
50143
+ "contact.getStatus": [{
50144
+ name: "deviceId",
50145
+ form: "single",
50146
+ optional: false
50147
+ }],
50148
+ "control.getStatus": [{
50149
+ name: "deviceId",
50150
+ form: "single",
50151
+ optional: false
50152
+ }],
49967
50153
  "control.setValue": [{
49968
50154
  name: "deviceId",
49969
50155
  form: "single",
@@ -49974,6 +50160,11 @@ Object.freeze({
49974
50160
  form: "single",
49975
50161
  optional: false
49976
50162
  }],
50163
+ "cover.getStatus": [{
50164
+ name: "deviceId",
50165
+ form: "single",
50166
+ optional: false
50167
+ }],
49977
50168
  "cover.open": [{
49978
50169
  name: "deviceId",
49979
50170
  form: "single",
@@ -49999,6 +50190,11 @@ Object.freeze({
49999
50190
  form: "single",
50000
50191
  optional: false
50001
50192
  }],
50193
+ "dayNight.getStatus": [{
50194
+ name: "deviceId",
50195
+ form: "single",
50196
+ optional: false
50197
+ }],
50002
50198
  "dayNight.setSettings": [{
50003
50199
  name: "deviceId",
50004
50200
  form: "single",
@@ -50009,11 +50205,31 @@ Object.freeze({
50009
50205
  form: "single",
50010
50206
  optional: true
50011
50207
  }],
50208
+ "detectionPipeline.applyDeviceSettingsPatch": [{
50209
+ name: "deviceId",
50210
+ form: "single",
50211
+ optional: false
50212
+ }],
50213
+ "detectionPipeline.getDeviceLiveContribution": [{
50214
+ name: "deviceId",
50215
+ form: "single",
50216
+ optional: false
50217
+ }],
50218
+ "detectionPipeline.getDeviceSettingsContribution": [{
50219
+ name: "deviceId",
50220
+ form: "single",
50221
+ optional: false
50222
+ }],
50012
50223
  "deviceAdminLink.getAdminLink": [{
50013
50224
  name: "deviceId",
50014
50225
  form: "single",
50015
50226
  optional: false
50016
50227
  }],
50228
+ "deviceAdoption.getStatus": [{
50229
+ name: "deviceId",
50230
+ form: "single",
50231
+ optional: false
50232
+ }],
50017
50233
  "deviceAdoption.release": [{
50018
50234
  name: "camDeviceId",
50019
50235
  form: "single",
@@ -50029,6 +50245,11 @@ Object.freeze({
50029
50245
  form: "single",
50030
50246
  optional: false
50031
50247
  }],
50248
+ "deviceDiscovery.getStatus": [{
50249
+ name: "deviceId",
50250
+ form: "single",
50251
+ optional: false
50252
+ }],
50032
50253
  "deviceDiscovery.listDiscovered": [{
50033
50254
  name: "deviceId",
50034
50255
  form: "single",
@@ -50048,6 +50269,21 @@ Object.freeze({
50048
50269
  form: "single",
50049
50270
  optional: false
50050
50271
  }],
50272
+ "deviceExport.applyDeviceSettingsPatch": [{
50273
+ name: "deviceId",
50274
+ form: "single",
50275
+ optional: false
50276
+ }],
50277
+ "deviceExport.getDeviceLiveContribution": [{
50278
+ name: "deviceId",
50279
+ form: "single",
50280
+ optional: false
50281
+ }],
50282
+ "deviceExport.getDeviceSettingsContribution": [{
50283
+ name: "deviceId",
50284
+ form: "single",
50285
+ optional: false
50286
+ }],
50051
50287
  "deviceExtension.listCandidates": [{
50052
50288
  name: "deviceId",
50053
50289
  form: "single",
@@ -50396,6 +50632,26 @@ Object.freeze({
50396
50632
  form: "single",
50397
50633
  optional: false
50398
50634
  }],
50635
+ "deviceStatus.getStatus": [{
50636
+ name: "deviceId",
50637
+ form: "single",
50638
+ optional: false
50639
+ }],
50640
+ "doorbell.getStatus": [{
50641
+ name: "deviceId",
50642
+ form: "single",
50643
+ optional: false
50644
+ }],
50645
+ "enumSensor.getStatus": [{
50646
+ name: "deviceId",
50647
+ form: "single",
50648
+ optional: false
50649
+ }],
50650
+ "eventEmitter.getStatus": [{
50651
+ name: "deviceId",
50652
+ form: "single",
50653
+ optional: false
50654
+ }],
50399
50655
  "faceGallery.getFaceByTrack": [{
50400
50656
  name: "deviceId",
50401
50657
  form: "single",
@@ -50410,6 +50666,11 @@ Object.freeze({
50410
50666
  form: "array",
50411
50667
  optional: true
50412
50668
  }],
50669
+ "fanControl.getStatus": [{
50670
+ name: "deviceId",
50671
+ form: "single",
50672
+ optional: false
50673
+ }],
50413
50674
  "fanControl.setDirection": [{
50414
50675
  name: "deviceId",
50415
50676
  form: "single",
@@ -50430,6 +50691,26 @@ Object.freeze({
50430
50691
  form: "single",
50431
50692
  optional: false
50432
50693
  }],
50694
+ "featureProbe.getStatus": [{
50695
+ name: "deviceId",
50696
+ form: "single",
50697
+ optional: false
50698
+ }],
50699
+ "flood.getStatus": [{
50700
+ name: "deviceId",
50701
+ form: "single",
50702
+ optional: false
50703
+ }],
50704
+ "gas.getStatus": [{
50705
+ name: "deviceId",
50706
+ form: "single",
50707
+ optional: false
50708
+ }],
50709
+ "humidifier.getStatus": [{
50710
+ name: "deviceId",
50711
+ form: "single",
50712
+ optional: false
50713
+ }],
50433
50714
  "humidifier.setMode": [{
50434
50715
  name: "deviceId",
50435
50716
  form: "single",
@@ -50445,11 +50726,26 @@ Object.freeze({
50445
50726
  form: "single",
50446
50727
  optional: false
50447
50728
  }],
50729
+ "humiditySensor.getStatus": [{
50730
+ name: "deviceId",
50731
+ form: "single",
50732
+ optional: false
50733
+ }],
50734
+ "image.getStatus": [{
50735
+ name: "deviceId",
50736
+ form: "single",
50737
+ optional: false
50738
+ }],
50448
50739
  "imageSettings.getOptions": [{
50449
50740
  name: "deviceId",
50450
50741
  form: "single",
50451
50742
  optional: false
50452
50743
  }],
50744
+ "imageSettings.getStatus": [{
50745
+ name: "deviceId",
50746
+ form: "single",
50747
+ optional: false
50748
+ }],
50453
50749
  "imageSettings.setSettings": [{
50454
50750
  name: "deviceId",
50455
50751
  form: "single",
@@ -50460,6 +50756,11 @@ Object.freeze({
50460
50756
  form: "single",
50461
50757
  optional: false
50462
50758
  }],
50759
+ "intercom.getStatus": [{
50760
+ name: "deviceId",
50761
+ form: "single",
50762
+ optional: false
50763
+ }],
50463
50764
  "intercom.handleAnswer": [{
50464
50765
  name: "deviceId",
50465
50766
  form: "single",
@@ -50490,6 +50791,11 @@ Object.freeze({
50490
50791
  form: "single",
50491
50792
  optional: false
50492
50793
  }],
50794
+ "lawnMowerControl.getStatus": [{
50795
+ name: "deviceId",
50796
+ form: "single",
50797
+ optional: false
50798
+ }],
50493
50799
  "lawnMowerControl.pause": [{
50494
50800
  name: "deviceId",
50495
50801
  form: "single",
@@ -50500,6 +50806,11 @@ Object.freeze({
50500
50806
  form: "single",
50501
50807
  optional: false
50502
50808
  }],
50809
+ "lockControl.getStatus": [{
50810
+ name: "deviceId",
50811
+ form: "single",
50812
+ optional: false
50813
+ }],
50503
50814
  "lockControl.lock": [{
50504
50815
  name: "deviceId",
50505
50816
  form: "single",
@@ -50515,6 +50826,11 @@ Object.freeze({
50515
50826
  form: "single",
50516
50827
  optional: false
50517
50828
  }],
50829
+ "mediaPlayer.getStatus": [{
50830
+ name: "deviceId",
50831
+ form: "single",
50832
+ optional: false
50833
+ }],
50518
50834
  "mediaPlayer.next": [{
50519
50835
  name: "deviceId",
50520
50836
  form: "single",
@@ -50575,6 +50891,11 @@ Object.freeze({
50575
50891
  form: "single",
50576
50892
  optional: false
50577
50893
  }],
50894
+ "motion.getStatus": [{
50895
+ name: "deviceId",
50896
+ form: "single",
50897
+ optional: false
50898
+ }],
50578
50899
  "motion.isDetected": [{
50579
50900
  name: "deviceId",
50580
50901
  form: "single",
@@ -50585,11 +50906,31 @@ Object.freeze({
50585
50906
  form: "single",
50586
50907
  optional: false
50587
50908
  }],
50909
+ "motionDetection.applyDeviceSettingsPatch": [{
50910
+ name: "deviceId",
50911
+ form: "single",
50912
+ optional: false
50913
+ }],
50914
+ "motionDetection.getDeviceLiveContribution": [{
50915
+ name: "deviceId",
50916
+ form: "single",
50917
+ optional: false
50918
+ }],
50919
+ "motionDetection.getDeviceSettingsContribution": [{
50920
+ name: "deviceId",
50921
+ form: "single",
50922
+ optional: false
50923
+ }],
50588
50924
  "motionDetection.removeCamera": [{
50589
50925
  name: "deviceId",
50590
50926
  form: "single",
50591
50927
  optional: false
50592
50928
  }],
50929
+ "motionTrigger.getStatus": [{
50930
+ name: "deviceId",
50931
+ form: "single",
50932
+ optional: false
50933
+ }],
50593
50934
  "motionTrigger.setMotionTrigger": [{
50594
50935
  name: "deviceId",
50595
50936
  form: "single",
@@ -50600,6 +50941,11 @@ Object.freeze({
50600
50941
  form: "single",
50601
50942
  optional: false
50602
50943
  }],
50944
+ "motionZones.getStatus": [{
50945
+ name: "deviceId",
50946
+ form: "single",
50947
+ optional: false
50948
+ }],
50603
50949
  "motionZones.setZone": [{
50604
50950
  name: "deviceId",
50605
50951
  form: "single",
@@ -50610,6 +50956,11 @@ Object.freeze({
50610
50956
  form: "single",
50611
50957
  optional: false
50612
50958
  }],
50959
+ "nativeObjectDetection.getStatus": [{
50960
+ name: "deviceId",
50961
+ form: "single",
50962
+ optional: false
50963
+ }],
50613
50964
  "nativeObjectDetection.setEnabled": [{
50614
50965
  name: "deviceId",
50615
50966
  form: "single",
@@ -50625,6 +50976,11 @@ Object.freeze({
50625
50976
  form: "single",
50626
50977
  optional: false
50627
50978
  }],
50979
+ "navigation.getStatus": [{
50980
+ name: "deviceId",
50981
+ form: "single",
50982
+ optional: false
50983
+ }],
50628
50984
  "navigation.goToPoint": [{
50629
50985
  name: "deviceId",
50630
50986
  form: "single",
@@ -50670,6 +51026,11 @@ Object.freeze({
50670
51026
  form: "single",
50671
51027
  optional: false
50672
51028
  }],
51029
+ "networkLink.getStatus": [{
51030
+ name: "deviceId",
51031
+ form: "single",
51032
+ optional: false
51033
+ }],
50673
51034
  "networkQuality.getDeviceStats": [{
50674
51035
  name: "deviceId",
50675
51036
  form: "single",
@@ -50680,6 +51041,11 @@ Object.freeze({
50680
51041
  form: "single",
50681
51042
  optional: false
50682
51043
  }],
51044
+ "notificationRules.getAlarmSensors": [{
51045
+ name: "deviceIds",
51046
+ form: "array",
51047
+ optional: false
51048
+ }],
50683
51049
  "notificationRules.setDeviceMuted": [{
50684
51050
  name: "deviceId",
50685
51051
  form: "single",
@@ -50690,11 +51056,26 @@ Object.freeze({
50690
51056
  form: "single",
50691
51057
  optional: false
50692
51058
  }],
51059
+ "notifier.getStatus": [{
51060
+ name: "deviceId",
51061
+ form: "single",
51062
+ optional: false
51063
+ }],
50693
51064
  "notifier.send": [{
50694
51065
  name: "deviceId",
50695
51066
  form: "single",
50696
51067
  optional: false
50697
51068
  }],
51069
+ "numericSensor.getStatus": [{
51070
+ name: "deviceId",
51071
+ form: "single",
51072
+ optional: false
51073
+ }],
51074
+ "osd.getStatus": [{
51075
+ name: "deviceId",
51076
+ form: "single",
51077
+ optional: false
51078
+ }],
50698
51079
  "osd.setOverlay": [{
50699
51080
  name: "deviceId",
50700
51081
  form: "single",
@@ -50754,6 +51135,11 @@ Object.freeze({
50754
51135
  form: "single",
50755
51136
  optional: false
50756
51137
  }],
51138
+ "petFeeder.getStatus": [{
51139
+ name: "deviceId",
51140
+ form: "single",
51141
+ optional: false
51142
+ }],
50757
51143
  "petFeeder.markFoodReplenished": [{
50758
51144
  name: "deviceId",
50759
51145
  form: "single",
@@ -50789,6 +51175,11 @@ Object.freeze({
50789
51175
  form: "single",
50790
51176
  optional: false
50791
51177
  }],
51178
+ "pipelineAnalytics.applyDeviceSettingsPatch": [{
51179
+ name: "deviceId",
51180
+ form: "single",
51181
+ optional: false
51182
+ }],
50792
51183
  "pipelineAnalytics.clearTrackRelation": [{
50793
51184
  name: "deviceId",
50794
51185
  form: "single",
@@ -50829,6 +51220,16 @@ Object.freeze({
50829
51220
  form: "single",
50830
51221
  optional: false
50831
51222
  }],
51223
+ "pipelineAnalytics.getDeviceLiveContribution": [{
51224
+ name: "deviceId",
51225
+ form: "single",
51226
+ optional: false
51227
+ }],
51228
+ "pipelineAnalytics.getDeviceSettingsContribution": [{
51229
+ name: "deviceId",
51230
+ form: "single",
51231
+ optional: false
51232
+ }],
50832
51233
  "pipelineAnalytics.getEventDensity": [{
50833
51234
  name: "deviceId",
50834
51235
  form: "single",
@@ -51044,6 +51445,11 @@ Object.freeze({
51044
51445
  form: "single",
51045
51446
  optional: true
51046
51447
  }],
51448
+ "pipelineOrchestrator.applyDeviceSettingsPatch": [{
51449
+ name: "deviceId",
51450
+ form: "single",
51451
+ optional: false
51452
+ }],
51047
51453
  "pipelineOrchestrator.assignAudio": [{
51048
51454
  name: "deviceId",
51049
51455
  form: "single",
@@ -51089,6 +51495,16 @@ Object.freeze({
51089
51495
  form: "single",
51090
51496
  optional: false
51091
51497
  }],
51498
+ "pipelineOrchestrator.getDeviceLiveContribution": [{
51499
+ name: "deviceId",
51500
+ form: "single",
51501
+ optional: false
51502
+ }],
51503
+ "pipelineOrchestrator.getDeviceSettingsContribution": [{
51504
+ name: "deviceId",
51505
+ form: "single",
51506
+ optional: false
51507
+ }],
51092
51508
  "pipelineOrchestrator.getPipelineAssignment": [{
51093
51509
  name: "deviceId",
51094
51510
  form: "single",
@@ -51209,11 +51625,31 @@ Object.freeze({
51209
51625
  form: "single",
51210
51626
  optional: true
51211
51627
  }],
51628
+ "powerMeter.getStatus": [{
51629
+ name: "deviceId",
51630
+ form: "single",
51631
+ optional: false
51632
+ }],
51633
+ "presence.getStatus": [{
51634
+ name: "deviceId",
51635
+ form: "single",
51636
+ optional: false
51637
+ }],
51638
+ "pressureSensor.getStatus": [{
51639
+ name: "deviceId",
51640
+ form: "single",
51641
+ optional: false
51642
+ }],
51212
51643
  "privacyMask.getOptions": [{
51213
51644
  name: "deviceId",
51214
51645
  form: "single",
51215
51646
  optional: false
51216
51647
  }],
51648
+ "privacyMask.getStatus": [{
51649
+ name: "deviceId",
51650
+ form: "single",
51651
+ optional: false
51652
+ }],
51217
51653
  "privacyMask.setAudioEnabled": [{
51218
51654
  name: "deviceId",
51219
51655
  form: "single",
@@ -51264,6 +51700,11 @@ Object.freeze({
51264
51700
  form: "single",
51265
51701
  optional: false
51266
51702
  }],
51703
+ "ptz.getStatus": [{
51704
+ name: "deviceId",
51705
+ form: "single",
51706
+ optional: false
51707
+ }],
51267
51708
  "ptz.goHome": [{
51268
51709
  name: "deviceId",
51269
51710
  form: "single",
@@ -51354,6 +51795,11 @@ Object.freeze({
51354
51795
  form: "single",
51355
51796
  optional: false
51356
51797
  }],
51798
+ "recordingArchive.applyDeviceSettingsPatch": [{
51799
+ name: "deviceId",
51800
+ form: "single",
51801
+ optional: false
51802
+ }],
51357
51803
  "recordingArchive.deleteFootprint": [{
51358
51804
  name: "deviceId",
51359
51805
  form: "single",
@@ -51374,6 +51820,21 @@ Object.freeze({
51374
51820
  form: "single",
51375
51821
  optional: false
51376
51822
  }],
51823
+ "recordingArchive.getDeviceLiveContribution": [{
51824
+ name: "deviceId",
51825
+ form: "single",
51826
+ optional: false
51827
+ }],
51828
+ "recordingArchive.getDeviceSettingsContribution": [{
51829
+ name: "deviceId",
51830
+ form: "single",
51831
+ optional: false
51832
+ }],
51833
+ "recordingArchive.getStatus": [{
51834
+ name: "deviceId",
51835
+ form: "single",
51836
+ optional: false
51837
+ }],
51377
51838
  "recordingArchive.listOpsLog": [{
51378
51839
  name: "deviceId",
51379
51840
  form: "single",
@@ -51459,6 +51920,11 @@ Object.freeze({
51459
51920
  form: "single",
51460
51921
  optional: false
51461
51922
  }],
51923
+ "recordingOnboard.getStatus": [{
51924
+ name: "deviceId",
51925
+ form: "single",
51926
+ optional: false
51927
+ }],
51462
51928
  "recordingOnboard.setSettings": [{
51463
51929
  name: "deviceId",
51464
51930
  form: "single",
@@ -51489,6 +51955,11 @@ Object.freeze({
51489
51955
  form: "single",
51490
51956
  optional: false
51491
51957
  }],
51958
+ "sceneMonitor.getStatus": [{
51959
+ name: "deviceId",
51960
+ form: "single",
51961
+ optional: false
51962
+ }],
51492
51963
  "sceneMonitor.listScenes": [{
51493
51964
  name: "deviceId",
51494
51965
  form: "single",
@@ -51514,6 +51985,11 @@ Object.freeze({
51514
51985
  form: "single",
51515
51986
  optional: false
51516
51987
  }],
51988
+ "scriptRunner.getStatus": [{
51989
+ name: "deviceId",
51990
+ form: "single",
51991
+ optional: false
51992
+ }],
51517
51993
  "scriptRunner.run": [{
51518
51994
  name: "deviceId",
51519
51995
  form: "single",
@@ -51524,11 +52000,31 @@ Object.freeze({
51524
52000
  form: "single",
51525
52001
  optional: false
51526
52002
  }],
52003
+ "smoke.getStatus": [{
52004
+ name: "deviceId",
52005
+ form: "single",
52006
+ optional: false
52007
+ }],
52008
+ "snapshot.applyDeviceSettingsPatch": [{
52009
+ name: "deviceId",
52010
+ form: "single",
52011
+ optional: false
52012
+ }],
51527
52013
  "snapshot.getDebugState": [{
51528
52014
  name: "deviceId",
51529
52015
  form: "single",
51530
52016
  optional: false
51531
52017
  }],
52018
+ "snapshot.getDeviceLiveContribution": [{
52019
+ name: "deviceId",
52020
+ form: "single",
52021
+ optional: false
52022
+ }],
52023
+ "snapshot.getDeviceSettingsContribution": [{
52024
+ name: "deviceId",
52025
+ form: "single",
52026
+ optional: false
52027
+ }],
51532
52028
  "snapshot.getSnapshot": [{
51533
52029
  name: "deviceId",
51534
52030
  form: "single",
@@ -51545,6 +52041,11 @@ Object.freeze({
51545
52041
  form: "array",
51546
52042
  optional: false
51547
52043
  }],
52044
+ "snapshot.getStatus": [{
52045
+ name: "deviceId",
52046
+ form: "single",
52047
+ optional: false
52048
+ }],
51548
52049
  "snapshot.invalidateCache": [{
51549
52050
  name: "deviceId",
51550
52051
  form: "single",
@@ -51555,6 +52056,11 @@ Object.freeze({
51555
52056
  form: "single",
51556
52057
  optional: false
51557
52058
  }],
52059
+ "streamBroker.applyDeviceSettingsPatch": [{
52060
+ name: "deviceId",
52061
+ form: "single",
52062
+ optional: false
52063
+ }],
51558
52064
  "streamBroker.assignProfile": [{
51559
52065
  name: "deviceId",
51560
52066
  form: "single",
@@ -51570,6 +52076,16 @@ Object.freeze({
51570
52076
  form: "single",
51571
52077
  optional: false
51572
52078
  }],
52079
+ "streamBroker.getDeviceLiveContribution": [{
52080
+ name: "deviceId",
52081
+ form: "single",
52082
+ optional: false
52083
+ }],
52084
+ "streamBroker.getDeviceSettingsContribution": [{
52085
+ name: "deviceId",
52086
+ form: "single",
52087
+ optional: false
52088
+ }],
51573
52089
  "streamBroker.getStreamWithCodec": [{
51574
52090
  name: "deviceId",
51575
52091
  form: "single",
@@ -51630,16 +52146,46 @@ Object.freeze({
51630
52146
  form: "single",
51631
52147
  optional: false
51632
52148
  }],
52149
+ "streamParams.getStatus": [{
52150
+ name: "deviceId",
52151
+ form: "single",
52152
+ optional: false
52153
+ }],
51633
52154
  "streamParams.setProfile": [{
51634
52155
  name: "deviceId",
51635
52156
  form: "single",
51636
52157
  optional: false
51637
52158
  }],
52159
+ "switch.getStatus": [{
52160
+ name: "deviceId",
52161
+ form: "single",
52162
+ optional: false
52163
+ }],
51638
52164
  "switch.setState": [{
51639
52165
  name: "deviceId",
51640
52166
  form: "single",
51641
52167
  optional: false
51642
52168
  }],
52169
+ "tamper.getStatus": [{
52170
+ name: "deviceId",
52171
+ form: "single",
52172
+ optional: false
52173
+ }],
52174
+ "temperatureSensor.getStatus": [{
52175
+ name: "deviceId",
52176
+ form: "single",
52177
+ optional: false
52178
+ }],
52179
+ "update.getStatus": [{
52180
+ name: "deviceId",
52181
+ form: "single",
52182
+ optional: false
52183
+ }],
52184
+ "vacuumControl.getStatus": [{
52185
+ name: "deviceId",
52186
+ form: "single",
52187
+ optional: false
52188
+ }],
51643
52189
  "vacuumControl.locate": [{
51644
52190
  name: "deviceId",
51645
52191
  form: "single",
@@ -51675,6 +52221,11 @@ Object.freeze({
51675
52221
  form: "single",
51676
52222
  optional: false
51677
52223
  }],
52224
+ "valve.getStatus": [{
52225
+ name: "deviceId",
52226
+ form: "single",
52227
+ optional: false
52228
+ }],
51678
52229
  "valve.open": [{
51679
52230
  name: "deviceId",
51680
52231
  form: "single",
@@ -51690,6 +52241,11 @@ Object.freeze({
51690
52241
  form: "single",
51691
52242
  optional: false
51692
52243
  }],
52244
+ "vibration.getStatus": [{
52245
+ name: "deviceId",
52246
+ form: "single",
52247
+ optional: false
52248
+ }],
51693
52249
  "videoclips.dialClipStream": [{
51694
52250
  name: "deviceId",
51695
52251
  form: "single",
@@ -51725,6 +52281,11 @@ Object.freeze({
51725
52281
  form: "single",
51726
52282
  optional: false
51727
52283
  }],
52284
+ "waterHeater.getStatus": [{
52285
+ name: "deviceId",
52286
+ form: "single",
52287
+ optional: false
52288
+ }],
51728
52289
  "waterHeater.setAway": [{
51729
52290
  name: "deviceId",
51730
52291
  form: "single",
@@ -51740,6 +52301,11 @@ Object.freeze({
51740
52301
  form: "single",
51741
52302
  optional: false
51742
52303
  }],
52304
+ "weather.getStatus": [{
52305
+ name: "deviceId",
52306
+ form: "single",
52307
+ optional: false
52308
+ }],
51743
52309
  "webrtcSession.addIceCandidate": [{
51744
52310
  name: "deviceId",
51745
52311
  form: "single",
@@ -52477,7 +53043,7 @@ var PreviewTextField = string().max(200);
52477
53043
  * Whether the notification's preview is a STILL or a short animation.
52478
53044
  *
52479
53045
  * The operator's ask, verbatim: *"inviato come gif o video (come per le altre
52480
- * rule)"* — the other rules already offer an animated preview, and a ten-hour
53046
+ * rule)"* [sent as a gif or video (as for the other rules)] — the other rules already offer an animated preview, and a ten-hour
52481
53047
  * night reads better as three seconds of motion than as one frame of it. Both
52482
53048
  * modes get the SAME treatment (blurred frame, large centred title); `'gif'`
52483
53049
  * simply applies it to a dozen frames sampled across the render and assembles
@@ -52615,6 +53181,7 @@ TimelapseRuleInputSchema.extend({
52615
53181
  createdAt: number(),
52616
53182
  updatedAt: number()
52617
53183
  });
53184
+ MotionOnMotionChangedDataSchema.omit({ triggeredBy: true });
52618
53185
  object({
52619
53186
  /**
52620
53187
  * Fraction of the box's own size added on EACH side before cutting.