@camstack/addon-provider-homematic 1.2.83 → 1.2.85

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 CHANGED
@@ -18821,11 +18821,30 @@ var SensorEventSchema = object({
18821
18821
  value: record(string(), unknown()).nullable(),
18822
18822
  timestamp: number()
18823
18823
  });
18824
+ /**
18825
+ * One stored sighting on a track's trajectory.
18826
+ *
18827
+ * The array these live in is returned in TIME order (D399) — it is APPENDED in
18828
+ * arrival order, and the two detector passes interleave, so a consumer must not
18829
+ * assume the two are the same on a row written by an older build.
18830
+ */
18824
18831
  var TrackPositionSchema = object({
18825
18832
  x: number(),
18826
18833
  y: number(),
18827
18834
  timestamp: number(),
18828
- bbox: BoundingBoxSchema
18835
+ bbox: BoundingBoxSchema,
18836
+ /**
18837
+ * Which detector pass measured this box (D399): `frame` is the full-frame
18838
+ * pass on the analysis raster, `recovery` is the native-resolution
18839
+ * small-subject second pass (D377/D378). Both write into one array, and until
18840
+ * this field existed the only way to tell them apart was that full-frame boxes
18841
+ * are exact multiples of 1.2 while recovery boxes are full-precision floats.
18842
+ * Absent on rows written before D399.
18843
+ */
18844
+ source: _enum(["frame", "recovery"]).optional(),
18845
+ /** Detection score of this box, so a position can be weighed and not only
18846
+ * plotted. Absent on rows written before D399. */
18847
+ score: number().optional()
18829
18848
  });
18830
18849
  var TrackSnapshotSchema = object({
18831
18850
  timestamp: number(),
@@ -19225,14 +19244,25 @@ var TrackSchema = object({
19225
19244
  */
19226
19245
  hasRider: boolean().optional(),
19227
19246
  /**
19228
- * WHY this track ended without a NATIVE best-shot tile
19229
- * ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md)) —
19247
+ * WHY this track ended without a NATIVE best-shot FRAME
19248
+ * ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md),
19249
+ * widened by [D400](../decisions/adr-0400-the-picture-is-judged-on-what-is-delivered.md)) —
19230
19250
  * a composed token line (`no-key-frame capture=keyframe:native-missx4`,
19231
- * `derive-returned-null tile=standin`, …) written at close and CLEARED by
19232
- * the late-keyFrame upgrade when a native tile lands after all. The
19233
- * operator-facing answer to "perché manca l'immagine?" on a track whose
19251
+ * `derive-returned-null tile=standin`,
19252
+ * `native-tile tile=native no-key-frame-at-close`, …) written at close and
19253
+ * CLEARED by the late-keyFrame upgrade when a native tile lands after all.
19254
+ * The operator-facing answer to "perché manca l'immagine?" on a track whose
19234
19255
  * tile is a face/plate stand-in, a raster crop, or an icon.
19235
19256
  *
19257
+ * **`no-key-frame-at-close` (D400).** The line used to be written ONLY when
19258
+ * the TILE ranked below native, so a track whose thumbnail landed natively
19259
+ * while its key frame missed carried no reason at all — three of the four
19260
+ * `MISSING_KEYFRAME` tracks in the 2026-09-07 operator audit were exactly
19261
+ * that shape, and their "niente ultimo" had no cause anywhere on the row.
19262
+ * The key frame is the head of a cascade (`keyFrame ⇒ keyFrameSmall ⇒ the
19263
+ * lastFrame copy source`), so its absence is now on this line whatever the
19264
+ * tile ended up being.
19265
+ *
19236
19266
  * **Absent ≠ "missed silently"**: a row written before the column, a hub
19237
19267
  * that predates the field, and every track whose tile landed native all
19238
19268
  * omit it. Render nothing when absent.
@@ -29269,8 +29299,27 @@ var PrivacyMaskRegionSchema = object({
29269
29299
  /** Current on-camera privacy state — mask master enable + zones + microphone. */
29270
29300
  var PrivacyMaskStatusSchema = object({
29271
29301
  enabled: boolean(),
29272
- /** Active zones (normalized 0..1). Length ≤ maxRegions. */
29273
- regions: array(PrivacyMaskRegionSchema),
29302
+ /**
29303
+ * Active zones (normalized 0..1). Length ≤ maxRegions.
29304
+ *
29305
+ * `null` means "no answer" — the provider has never reached this camera
29306
+ * (a cold `runtimeState` slice, a battery camera asleep) or the read
29307
+ * failed. A consumer must render it as UNKNOWN and never as "this camera
29308
+ * has no zones": those two look identical to an operator right up to the
29309
+ * moment one of them is acted on, and acting on them differs completely.
29310
+ * The switch group turned an unanswered read into *"nothing is set up for
29311
+ * it to act on"* — an instruction to go and draw a zone that already
29312
+ * exists — and this editor seeded an EMPTY canvas from it, one Save away
29313
+ * from deleting the mask it could not read.
29314
+ *
29315
+ * Empty-and-answered is `[]` and stays a real answer: this camera genuinely
29316
+ * has no zones. The distinction is the same one {@link
29317
+ * PrivacyMaskStatusSchema.shape.audioEnabled} already draws for the
29318
+ * microphone, on the very same payload — both planes come from ONE refresh,
29319
+ * so it was never coherent for one of them to be able to say "unknown"
29320
+ * while the other could not.
29321
+ */
29322
+ regions: array(PrivacyMaskRegionSchema).nullable(),
29274
29323
  /**
29275
29324
  * Is the camera capturing sound right now? Read from the camera, never from
29276
29325
  * a server-side mirror.
package/dist/addon.mjs CHANGED
@@ -18822,11 +18822,30 @@ var SensorEventSchema = object({
18822
18822
  value: record(string(), unknown()).nullable(),
18823
18823
  timestamp: number()
18824
18824
  });
18825
+ /**
18826
+ * One stored sighting on a track's trajectory.
18827
+ *
18828
+ * The array these live in is returned in TIME order (D399) — it is APPENDED in
18829
+ * arrival order, and the two detector passes interleave, so a consumer must not
18830
+ * assume the two are the same on a row written by an older build.
18831
+ */
18825
18832
  var TrackPositionSchema = object({
18826
18833
  x: number(),
18827
18834
  y: number(),
18828
18835
  timestamp: number(),
18829
- bbox: BoundingBoxSchema
18836
+ bbox: BoundingBoxSchema,
18837
+ /**
18838
+ * Which detector pass measured this box (D399): `frame` is the full-frame
18839
+ * pass on the analysis raster, `recovery` is the native-resolution
18840
+ * small-subject second pass (D377/D378). Both write into one array, and until
18841
+ * this field existed the only way to tell them apart was that full-frame boxes
18842
+ * are exact multiples of 1.2 while recovery boxes are full-precision floats.
18843
+ * Absent on rows written before D399.
18844
+ */
18845
+ source: _enum(["frame", "recovery"]).optional(),
18846
+ /** Detection score of this box, so a position can be weighed and not only
18847
+ * plotted. Absent on rows written before D399. */
18848
+ score: number().optional()
18830
18849
  });
18831
18850
  var TrackSnapshotSchema = object({
18832
18851
  timestamp: number(),
@@ -19226,14 +19245,25 @@ var TrackSchema = object({
19226
19245
  */
19227
19246
  hasRider: boolean().optional(),
19228
19247
  /**
19229
- * WHY this track ended without a NATIVE best-shot tile
19230
- * ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md)) —
19248
+ * WHY this track ended without a NATIVE best-shot FRAME
19249
+ * ([D276](../decisions/adr-0276-a-stand-in-tile-is-provisional-and-a-close-says-why.md),
19250
+ * widened by [D400](../decisions/adr-0400-the-picture-is-judged-on-what-is-delivered.md)) —
19231
19251
  * a composed token line (`no-key-frame capture=keyframe:native-missx4`,
19232
- * `derive-returned-null tile=standin`, …) written at close and CLEARED by
19233
- * the late-keyFrame upgrade when a native tile lands after all. The
19234
- * operator-facing answer to "perché manca l'immagine?" on a track whose
19252
+ * `derive-returned-null tile=standin`,
19253
+ * `native-tile tile=native no-key-frame-at-close`, …) written at close and
19254
+ * CLEARED by the late-keyFrame upgrade when a native tile lands after all.
19255
+ * The operator-facing answer to "perché manca l'immagine?" on a track whose
19235
19256
  * tile is a face/plate stand-in, a raster crop, or an icon.
19236
19257
  *
19258
+ * **`no-key-frame-at-close` (D400).** The line used to be written ONLY when
19259
+ * the TILE ranked below native, so a track whose thumbnail landed natively
19260
+ * while its key frame missed carried no reason at all — three of the four
19261
+ * `MISSING_KEYFRAME` tracks in the 2026-09-07 operator audit were exactly
19262
+ * that shape, and their "niente ultimo" had no cause anywhere on the row.
19263
+ * The key frame is the head of a cascade (`keyFrame ⇒ keyFrameSmall ⇒ the
19264
+ * lastFrame copy source`), so its absence is now on this line whatever the
19265
+ * tile ended up being.
19266
+ *
19237
19267
  * **Absent ≠ "missed silently"**: a row written before the column, a hub
19238
19268
  * that predates the field, and every track whose tile landed native all
19239
19269
  * omit it. Render nothing when absent.
@@ -29270,8 +29300,27 @@ var PrivacyMaskRegionSchema = object({
29270
29300
  /** Current on-camera privacy state — mask master enable + zones + microphone. */
29271
29301
  var PrivacyMaskStatusSchema = object({
29272
29302
  enabled: boolean(),
29273
- /** Active zones (normalized 0..1). Length ≤ maxRegions. */
29274
- regions: array(PrivacyMaskRegionSchema),
29303
+ /**
29304
+ * Active zones (normalized 0..1). Length ≤ maxRegions.
29305
+ *
29306
+ * `null` means "no answer" — the provider has never reached this camera
29307
+ * (a cold `runtimeState` slice, a battery camera asleep) or the read
29308
+ * failed. A consumer must render it as UNKNOWN and never as "this camera
29309
+ * has no zones": those two look identical to an operator right up to the
29310
+ * moment one of them is acted on, and acting on them differs completely.
29311
+ * The switch group turned an unanswered read into *"nothing is set up for
29312
+ * it to act on"* — an instruction to go and draw a zone that already
29313
+ * exists — and this editor seeded an EMPTY canvas from it, one Save away
29314
+ * from deleting the mask it could not read.
29315
+ *
29316
+ * Empty-and-answered is `[]` and stays a real answer: this camera genuinely
29317
+ * has no zones. The distinction is the same one {@link
29318
+ * PrivacyMaskStatusSchema.shape.audioEnabled} already draws for the
29319
+ * microphone, on the very same payload — both planes come from ONE refresh,
29320
+ * so it was never coherent for one of them to be able to say "unknown"
29321
+ * while the other could not.
29322
+ */
29323
+ regions: array(PrivacyMaskRegionSchema).nullable(),
29275
29324
  /**
29276
29325
  * Is the camera capturing sound right now? Read from the camera, never from
29277
29326
  * a server-side mirror.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-homematic",
3
- "version": "1.2.83",
3
+ "version": "1.2.85",
4
4
  "description": "Homematic / HomematicIP (CCU3 / RaspberryMatic) device-provider addon for CamStack — wraps the nodehomematic library",
5
5
  "keywords": [
6
6
  "camstack",