@camstack/addon-provider-homematic 1.2.104 → 1.2.106
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 +48 -8
- package/dist/addon.mjs +48 -8
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -19513,13 +19513,26 @@ var TrackAudioLabelSchema = object({
|
|
|
19513
19513
|
* - `audio` — an audio event on the camera itself that was anomalous for
|
|
19514
19514
|
* THAT camera, loud, and heard while nothing visual was happening (D62).
|
|
19515
19515
|
*
|
|
19516
|
+
* - `onboard` — the CAMERA's own firmware, paired with a decoded frame in
|
|
19517
|
+
* that frame's pixel space. A real root detector and a SPATIAL one: its
|
|
19518
|
+
* boxes are the same kind of fact `pipeline`'s are, produced by a different
|
|
19519
|
+
* detector.
|
|
19520
|
+
*
|
|
19521
|
+
* `onboard` was missing here while `DetectionSourceSchema` already had it, so
|
|
19522
|
+
* a persisted onboard track failed `safeParse` on read and came back with NO
|
|
19523
|
+
* source at all — which `isSpatialTrack` then admitted by accident, through the
|
|
19524
|
+
* `undefined` arm rather than by anybody's decision, and which `excludeSources`
|
|
19525
|
+
* could not name.
|
|
19526
|
+
*
|
|
19516
19527
|
* The spatial subsystems (tracker association, occupancy count, re-id /
|
|
19517
19528
|
* embedding, resurrection) MUST skip every synthetic source. Test for that
|
|
19518
|
-
* with `isSpatialTrack`, which allow-lists
|
|
19519
|
-
* check silently readmits every source added after it was
|
|
19529
|
+
* with `isSpatialTrack`, which allow-lists the spatial sources explicitly — a
|
|
19530
|
+
* `!== 'sensor'` check silently readmits every source added after it was
|
|
19531
|
+
* written.
|
|
19520
19532
|
*/
|
|
19521
19533
|
var TrackSourceSchema = _enum([
|
|
19522
19534
|
"pipeline",
|
|
19535
|
+
"onboard",
|
|
19523
19536
|
"sensor",
|
|
19524
19537
|
"audio"
|
|
19525
19538
|
]);
|
|
@@ -20107,6 +20120,7 @@ var MediaFileKindEnum = _enum([
|
|
|
20107
20120
|
"keyFrame",
|
|
20108
20121
|
"keyFrameSmall",
|
|
20109
20122
|
"thumbnailSmall",
|
|
20123
|
+
"confirmationCrop",
|
|
20110
20124
|
"sceneFrame"
|
|
20111
20125
|
]);
|
|
20112
20126
|
/**
|
|
@@ -21601,13 +21615,39 @@ var MotionSourceEnum = _enum([
|
|
|
21601
21615
|
*/
|
|
21602
21616
|
var MotionSourcesSchema = array(MotionSourceEnum);
|
|
21603
21617
|
/**
|
|
21604
|
-
* Which root
|
|
21605
|
-
*
|
|
21606
|
-
*
|
|
21607
|
-
*
|
|
21608
|
-
*
|
|
21618
|
+
* Which root detector a camera runs — EXACTLY ONE.
|
|
21619
|
+
*
|
|
21620
|
+
* Deliberately the SAME vocabulary post-analysis already tags every detection
|
|
21621
|
+
* with (`DetectionSource`) rather than a second spelling of the same two
|
|
21622
|
+
* ideas: the value an operator picks here is the value that comes back on the
|
|
21623
|
+
* track, the overlay and the debug row.
|
|
21624
|
+
*
|
|
21625
|
+
* ## Why one, and why it is still an array
|
|
21626
|
+
*
|
|
21627
|
+
* Two roots on one camera is a capability nobody asked for and the operator has
|
|
21628
|
+
* since ruled out. It was never free: both planes feed the SAME per-device
|
|
21629
|
+
* stationary registry, both can promote the same parked object, and the two
|
|
21630
|
+
* detectors disagree about the same box by construction — which is the
|
|
21631
|
+
* disagreement D505 had to arbitrate. Removing the case removes the arbitration.
|
|
21632
|
+
*
|
|
21633
|
+
* The ARRAY shape survives because the stored settings and the attach payload
|
|
21634
|
+
* already speak it on every camera of every fleet, and a cap input that
|
|
21635
|
+
* suddenly refuses a stored value makes the camera un-attachable — a fail-closed
|
|
21636
|
+
* in the one direction that costs an operator their cameras. So the wire stays
|
|
21637
|
+
* tolerant and the TYPE is exact: a longer list is truncated to its first
|
|
21638
|
+
* element rather than refused, and `max(1)` is what every consumer can then
|
|
21639
|
+
* rely on.
|
|
21640
|
+
*
|
|
21641
|
+
* AT MOST one, not exactly one. The EMPTY list is a legal, deliberate pick —
|
|
21642
|
+
* a camera an operator left with no root detector — and `planDetectionSources`
|
|
21643
|
+
* has always said so: inventing a root for them is how a default acts without
|
|
21644
|
+
* anybody choosing it. Tightening this to `length(1)` broke that, and the
|
|
21645
|
+
* suite caught it.
|
|
21646
|
+
*
|
|
21647
|
+
* Measured before tightening (2026-09-15, this fleet, 6 h of attaches): 3327
|
|
21648
|
+
* `["pipeline"]` and 2 `["onboard"]`. Not one camera had two.
|
|
21609
21649
|
*/
|
|
21610
|
-
var DetectionSourcesSchema = array(DetectionSourceSchema);
|
|
21650
|
+
var DetectionSourcesSchema = preprocess((value) => Array.isArray(value) && value.length > 1 ? value.slice(0, 1) : value, array(DetectionSourceSchema).max(1));
|
|
21611
21651
|
/**
|
|
21612
21652
|
* Input shape for `pipeline-runner.reportMotion` cap method. Exported
|
|
21613
21653
|
* so cap-side consumers (the orchestrator forward, the runner addon's
|
package/dist/addon.mjs
CHANGED
|
@@ -19514,13 +19514,26 @@ var TrackAudioLabelSchema = object({
|
|
|
19514
19514
|
* - `audio` — an audio event on the camera itself that was anomalous for
|
|
19515
19515
|
* THAT camera, loud, and heard while nothing visual was happening (D62).
|
|
19516
19516
|
*
|
|
19517
|
+
* - `onboard` — the CAMERA's own firmware, paired with a decoded frame in
|
|
19518
|
+
* that frame's pixel space. A real root detector and a SPATIAL one: its
|
|
19519
|
+
* boxes are the same kind of fact `pipeline`'s are, produced by a different
|
|
19520
|
+
* detector.
|
|
19521
|
+
*
|
|
19522
|
+
* `onboard` was missing here while `DetectionSourceSchema` already had it, so
|
|
19523
|
+
* a persisted onboard track failed `safeParse` on read and came back with NO
|
|
19524
|
+
* source at all — which `isSpatialTrack` then admitted by accident, through the
|
|
19525
|
+
* `undefined` arm rather than by anybody's decision, and which `excludeSources`
|
|
19526
|
+
* could not name.
|
|
19527
|
+
*
|
|
19517
19528
|
* The spatial subsystems (tracker association, occupancy count, re-id /
|
|
19518
19529
|
* embedding, resurrection) MUST skip every synthetic source. Test for that
|
|
19519
|
-
* with `isSpatialTrack`, which allow-lists
|
|
19520
|
-
* check silently readmits every source added after it was
|
|
19530
|
+
* with `isSpatialTrack`, which allow-lists the spatial sources explicitly — a
|
|
19531
|
+
* `!== 'sensor'` check silently readmits every source added after it was
|
|
19532
|
+
* written.
|
|
19521
19533
|
*/
|
|
19522
19534
|
var TrackSourceSchema = _enum([
|
|
19523
19535
|
"pipeline",
|
|
19536
|
+
"onboard",
|
|
19524
19537
|
"sensor",
|
|
19525
19538
|
"audio"
|
|
19526
19539
|
]);
|
|
@@ -20108,6 +20121,7 @@ var MediaFileKindEnum = _enum([
|
|
|
20108
20121
|
"keyFrame",
|
|
20109
20122
|
"keyFrameSmall",
|
|
20110
20123
|
"thumbnailSmall",
|
|
20124
|
+
"confirmationCrop",
|
|
20111
20125
|
"sceneFrame"
|
|
20112
20126
|
]);
|
|
20113
20127
|
/**
|
|
@@ -21602,13 +21616,39 @@ var MotionSourceEnum = _enum([
|
|
|
21602
21616
|
*/
|
|
21603
21617
|
var MotionSourcesSchema = array(MotionSourceEnum);
|
|
21604
21618
|
/**
|
|
21605
|
-
* Which root
|
|
21606
|
-
*
|
|
21607
|
-
*
|
|
21608
|
-
*
|
|
21609
|
-
*
|
|
21619
|
+
* Which root detector a camera runs — EXACTLY ONE.
|
|
21620
|
+
*
|
|
21621
|
+
* Deliberately the SAME vocabulary post-analysis already tags every detection
|
|
21622
|
+
* with (`DetectionSource`) rather than a second spelling of the same two
|
|
21623
|
+
* ideas: the value an operator picks here is the value that comes back on the
|
|
21624
|
+
* track, the overlay and the debug row.
|
|
21625
|
+
*
|
|
21626
|
+
* ## Why one, and why it is still an array
|
|
21627
|
+
*
|
|
21628
|
+
* Two roots on one camera is a capability nobody asked for and the operator has
|
|
21629
|
+
* since ruled out. It was never free: both planes feed the SAME per-device
|
|
21630
|
+
* stationary registry, both can promote the same parked object, and the two
|
|
21631
|
+
* detectors disagree about the same box by construction — which is the
|
|
21632
|
+
* disagreement D505 had to arbitrate. Removing the case removes the arbitration.
|
|
21633
|
+
*
|
|
21634
|
+
* The ARRAY shape survives because the stored settings and the attach payload
|
|
21635
|
+
* already speak it on every camera of every fleet, and a cap input that
|
|
21636
|
+
* suddenly refuses a stored value makes the camera un-attachable — a fail-closed
|
|
21637
|
+
* in the one direction that costs an operator their cameras. So the wire stays
|
|
21638
|
+
* tolerant and the TYPE is exact: a longer list is truncated to its first
|
|
21639
|
+
* element rather than refused, and `max(1)` is what every consumer can then
|
|
21640
|
+
* rely on.
|
|
21641
|
+
*
|
|
21642
|
+
* AT MOST one, not exactly one. The EMPTY list is a legal, deliberate pick —
|
|
21643
|
+
* a camera an operator left with no root detector — and `planDetectionSources`
|
|
21644
|
+
* has always said so: inventing a root for them is how a default acts without
|
|
21645
|
+
* anybody choosing it. Tightening this to `length(1)` broke that, and the
|
|
21646
|
+
* suite caught it.
|
|
21647
|
+
*
|
|
21648
|
+
* Measured before tightening (2026-09-15, this fleet, 6 h of attaches): 3327
|
|
21649
|
+
* `["pipeline"]` and 2 `["onboard"]`. Not one camera had two.
|
|
21610
21650
|
*/
|
|
21611
|
-
var DetectionSourcesSchema = array(DetectionSourceSchema);
|
|
21651
|
+
var DetectionSourcesSchema = preprocess((value) => Array.isArray(value) && value.length > 1 ? value.slice(0, 1) : value, array(DetectionSourceSchema).max(1));
|
|
21612
21652
|
/**
|
|
21613
21653
|
* Input shape for `pipeline-runner.reportMotion` cap method. Exported
|
|
21614
21654
|
* so cap-side consumers (the orchestrator forward, the runner addon's
|
package/package.json
CHANGED