@camstack/addon-provider-tuya 0.2.90 → 0.2.92
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 +205 -18
- package/dist/addon.mjs +205 -18
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -819,7 +819,7 @@ async function discoverDevices(options = {}, binder = createDgramBinder()) {
|
|
|
819
819
|
return [...byId.values()];
|
|
820
820
|
}
|
|
821
821
|
//#endregion
|
|
822
|
-
//#region ../types/dist/event-category-
|
|
822
|
+
//#region ../types/dist/event-category-DAXzJeTX.mjs
|
|
823
823
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
824
824
|
EventCategory["SystemBoot"] = "system.boot";
|
|
825
825
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -1411,7 +1411,6 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
1411
1411
|
* issue. Payload `PipelineAnalyticsPlateGalleryChangedPayload`.
|
|
1412
1412
|
*/
|
|
1413
1413
|
EventCategory["PipelineAnalyticsPlateGalleryChanged"] = "pipeline-analytics.plate-gallery-changed";
|
|
1414
|
-
EventCategory["FrigateLiveEvent"] = "frigate.live-event";
|
|
1415
1414
|
EventCategory["CameraStreamsProfileSlotsChanged"] = "camera-streams.onProfileSlotsChanged";
|
|
1416
1415
|
/**
|
|
1417
1416
|
* Stream-broker health watchdog. Per-broker (deviceId/profile) emission.
|
|
@@ -13445,7 +13444,7 @@ DeviceType.Camera;
|
|
|
13445
13444
|
var SourceInfoSchema = object({
|
|
13446
13445
|
/** Live dispatch key — mutable when the source system allows rename. */
|
|
13447
13446
|
id: string(),
|
|
13448
|
-
/** Source system tag — e.g. 'homeassistant' | 'reolink' | '
|
|
13447
|
+
/** Source system tag — e.g. 'homeassistant' | 'reolink' | 'onvif'. */
|
|
13449
13448
|
system: string(),
|
|
13450
13449
|
/** Immutable upstream identifier when available (HA `unique_id`, … ).
|
|
13451
13450
|
* Used to detect rename when `id` changes. */
|
|
@@ -13458,7 +13457,7 @@ var SourceInfoSchema = object({
|
|
|
13458
13457
|
/**
|
|
13459
13458
|
* Build the synthetic SourceInfo every existing provider falls back to
|
|
13460
13459
|
* when no upstream value has been persisted. Keeps non-migrated providers
|
|
13461
|
-
* (Reolink / Hikvision / ONVIF /
|
|
13460
|
+
* (Reolink / Hikvision / ONVIF / RTSP) functional without code
|
|
13462
13461
|
* changes — `id` reuses the CamStack stableId, `system` reuses the addon
|
|
13463
13462
|
* id. Real upstream identity replaces this once a provider migrates and
|
|
13464
13463
|
* calls `updateSourceInfo()` with concrete values.
|
|
@@ -14137,7 +14136,7 @@ var deviceProviderCapability = {
|
|
|
14137
14136
|
* - `device-management.router.ts` (deleted in Phase 2)
|
|
14138
14137
|
* - `device-ops.router.ts` (compat layer — deleted; device-provider ops absorbed here)
|
|
14139
14138
|
*
|
|
14140
|
-
* All device provider addons (rtsp, onvif,
|
|
14139
|
+
* All device provider addons (rtsp, onvif, …) are hub-local: they may
|
|
14141
14140
|
* fork into separate processes but never run on remote cluster agents. Therefore:
|
|
14142
14141
|
* - No nodeId routing needed — this is a pure hub singleton.
|
|
14143
14142
|
* - The hub's DeviceRegistry is the single source of truth for all live devices.
|
|
@@ -18185,7 +18184,7 @@ var NcRuleInputSchema = object({
|
|
|
18185
18184
|
* The measured seven-person arrival on device 590 spans 110 s with every
|
|
18186
18185
|
* internal gap under 30 s. A 12 s fixed window cuts it into three groups; an
|
|
18187
18186
|
* idle cutoff holds it as one and ends it when the arrival actually ends.
|
|
18188
|
-
* 30 is
|
|
18187
|
+
* 30 s is a widely shipped value for the same decision.
|
|
18189
18188
|
*
|
|
18190
18189
|
* ### What it replaces
|
|
18191
18190
|
*
|
|
@@ -20267,6 +20266,13 @@ var ZoneCrossingSchema = object({
|
|
|
20267
20266
|
/** Zone display name at crossing time (falls back to the id). */
|
|
20268
20267
|
zoneName: string().optional()
|
|
20269
20268
|
});
|
|
20269
|
+
/** One zone a box was stamped with, and how much of the BOX fell inside it. */
|
|
20270
|
+
var ZoneOverlapSchema = object({
|
|
20271
|
+
zoneId: string(),
|
|
20272
|
+
zoneName: string().optional(),
|
|
20273
|
+
/** Percentage of the BOX area inside the zone, 0–100. */
|
|
20274
|
+
overlapPct: number()
|
|
20275
|
+
});
|
|
20270
20276
|
var ObjectEventSchema = object({
|
|
20271
20277
|
...BaseEventFields,
|
|
20272
20278
|
kind: literal("object"),
|
|
@@ -20291,6 +20297,35 @@ var ObjectEventSchema = object({
|
|
|
20291
20297
|
bbox: BoundingBoxSchema.optional(),
|
|
20292
20298
|
/** Heavy JSON — omitted in slim projection. */
|
|
20293
20299
|
zones: array(string()).readonly().optional(),
|
|
20300
|
+
/**
|
|
20301
|
+
* How far inside each stamped zone the box actually was, as a percentage of
|
|
20302
|
+
* the BOX area.
|
|
20303
|
+
*
|
|
20304
|
+
* Membership alone cannot express "at least a third of it inside", which is
|
|
20305
|
+
* the bar an operator argues with — and the number already existed: the
|
|
20306
|
+
* engine computed it, the pipeline logged it, and then discarded it. It
|
|
20307
|
+
* matters most on the events that carry no track, where a rule has nothing
|
|
20308
|
+
* else to judge by.
|
|
20309
|
+
*/
|
|
20310
|
+
zoneOverlaps: array(ZoneOverlapSchema).readonly().optional(),
|
|
20311
|
+
/**
|
|
20312
|
+
* Present when this event describes a detection the TRACKER refused, so it
|
|
20313
|
+
* has no track and never will.
|
|
20314
|
+
*
|
|
20315
|
+
* A zone-scoped immediate rule asks "is there an animal in the flowerbed
|
|
20316
|
+
* NOW?"; tracking answers a different question ("is this the same subject as
|
|
20317
|
+
* before?") whose confirmation threshold presumes continuity. On 2026-09-09 a
|
|
20318
|
+
* dog at 0.7729, 100% inside a watched zone, was refused three times in six
|
|
20319
|
+
* seconds with three different candidate ids — seven analysed frames in the
|
|
20320
|
+
* window, the subject in a handful of them, metres apart — and produced no
|
|
20321
|
+
* event at all.
|
|
20322
|
+
*
|
|
20323
|
+
* It is NAMED rather than merely implied by a missing `trackId`: an event
|
|
20324
|
+
* with no track and no reason is indistinguishable from a track whose media
|
|
20325
|
+
* went missing, and a consumer that asks this one for a best shot or a
|
|
20326
|
+
* history is asking for something that never existed.
|
|
20327
|
+
*/
|
|
20328
|
+
spawnRefused: string().optional(),
|
|
20294
20329
|
/** Omitted in slim projection. */
|
|
20295
20330
|
state: TrackStateSchema.optional(),
|
|
20296
20331
|
/**
|
|
@@ -21364,6 +21399,60 @@ var NativeCropResultSchema = object({
|
|
|
21364
21399
|
*/
|
|
21365
21400
|
tier: _enum(["native", "ram-fullframe"]).optional()
|
|
21366
21401
|
});
|
|
21402
|
+
/**
|
|
21403
|
+
* What a PARKED frame is for — the `kind` half of the `(deviceId, trackId,
|
|
21404
|
+
* kind)` key ([D422](../../../docs/decisions/adr-0422-a-relevant-frame-is-parked-when-it-becomes-relevant.md)).
|
|
21405
|
+
*
|
|
21406
|
+
* - `keyFrame` — the track's clean best FULL frame at native width (capped by
|
|
21407
|
+
* the caller's `maxWidth`). What `keyFrame` + `keyFrameSmall` are written
|
|
21408
|
+
* from, and what the detail plane's full-frame rung cuts from.
|
|
21409
|
+
* - `thumbnail` — the best-shot subject slab: the caller's 16:9 central-square
|
|
21410
|
+
* window, cut by the runner at uncapped native resolution.
|
|
21411
|
+
*
|
|
21412
|
+
* The runner never interprets `trackId`; it is an opaque key the hub owns.
|
|
21413
|
+
*/
|
|
21414
|
+
var ParkedFrameKindSchema = _enum(["keyFrame", "thumbnail"]);
|
|
21415
|
+
/**
|
|
21416
|
+
* Why a park did NOT happen. Every one is logged on the runner with
|
|
21417
|
+
* `tags: { deviceId }` and the handle's measured age, because a handle already
|
|
21418
|
+
* gone at park time IS the defect the 150–500 ms window exists to prevent —
|
|
21419
|
+
* never a reason to retry in a loop.
|
|
21420
|
+
*
|
|
21421
|
+
* - `handle-gone` — the native surface no longer resolves this handle (never
|
|
21422
|
+
* registered, past the lease bound, or the worker released it). `detail`
|
|
21423
|
+
* carries the runner's own miss reason.
|
|
21424
|
+
* - `encode-failed` — pixels resolved and the JPEG encode threw.
|
|
21425
|
+
*/
|
|
21426
|
+
var ParkRefusalSchema = _enum(["handle-gone", "encode-failed"]);
|
|
21427
|
+
/** Answer to `parkTrackFrame` — a discriminated union, so "not parked" always names why. */
|
|
21428
|
+
var ParkTrackFrameResultSchema = discriminatedUnion("parked", [object({
|
|
21429
|
+
parked: literal(true),
|
|
21430
|
+
/** The node holding the parcel — what a later retrieval must be pinned to. */
|
|
21431
|
+
nodeId: string(),
|
|
21432
|
+
width: number().int().positive(),
|
|
21433
|
+
height: number().int().positive(),
|
|
21434
|
+
/** JPEG bytes the parcel costs on the node. */
|
|
21435
|
+
bytes: number().int().nonnegative(),
|
|
21436
|
+
/** Whether this park replaced a parcel already held for the key. */
|
|
21437
|
+
replaced: boolean()
|
|
21438
|
+
}), object({
|
|
21439
|
+
parked: literal(false),
|
|
21440
|
+
nodeId: string(),
|
|
21441
|
+
reason: ParkRefusalSchema,
|
|
21442
|
+
/** Age of the handle at the park, on the runner's clock; null if unknown. */
|
|
21443
|
+
handleAgeMs: number().nullable(),
|
|
21444
|
+
detail: string().optional()
|
|
21445
|
+
})]);
|
|
21446
|
+
/** A retrieved parcel — the runner's own JPEG, base64 for the wire. */
|
|
21447
|
+
var ParkedTrackFrameSchema = object({
|
|
21448
|
+
jpeg: string(),
|
|
21449
|
+
width: number().int().positive(),
|
|
21450
|
+
height: number().int().positive(),
|
|
21451
|
+
/** The frame instant the parcel shows (the caller's clock, echoed back). */
|
|
21452
|
+
timestamp: number(),
|
|
21453
|
+
/** When the node stored it (the node's clock). */
|
|
21454
|
+
parkedAt: number()
|
|
21455
|
+
});
|
|
21367
21456
|
/** Parent detection context passed to `runDetailSubtree` — the crop's
|
|
21368
21457
|
* originating detection, in FRAME-space coordinates. Reuses
|
|
21369
21458
|
* `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
|
|
@@ -21753,7 +21842,7 @@ var RunnerCameraConfigSchema = object({
|
|
|
21753
21842
|
* - `analyzer`: ML/frame-diff motion detection (motion-wasm or other
|
|
21754
21843
|
* analyzer providers) running on decoded frames in this runner.
|
|
21755
21844
|
* - `onboard`: camera-native motion pushes (Reolink Baichuan, ONVIF
|
|
21756
|
-
* analytics
|
|
21845
|
+
* analytics). The provider emits ProviderMotion
|
|
21757
21846
|
* events; the orchestrator forwards to `reportMotion`.
|
|
21758
21847
|
*/
|
|
21759
21848
|
motionSources: MotionSourcesSchema.default(["analyzer"]),
|
|
@@ -21995,7 +22084,26 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
21995
22084
|
className: string(),
|
|
21996
22085
|
/** Camera the pixels came from. Diagnostics + log tags ONLY — never routing. */
|
|
21997
22086
|
sourceDeviceId: number()
|
|
21998
|
-
}), RunStatelessStepResultSchema, { kind: "mutation" })
|
|
22087
|
+
}), RunStatelessStepResultSchema, { kind: "mutation" }), method(object({
|
|
22088
|
+
deviceId: number(),
|
|
22089
|
+
/** Opaque to the runner — the hub's track id. */
|
|
22090
|
+
trackId: string(),
|
|
22091
|
+
kind: ParkedFrameKindSchema,
|
|
22092
|
+
handle: FrameHandleSchema,
|
|
22093
|
+
/** Normalized [0,1] window to cut. `{0,0,1,1}` for a full frame. */
|
|
22094
|
+
bbox: NativeCropBboxSchema,
|
|
22095
|
+
/** Width cap for a full-frame park (the `keyFrame` native cap). */
|
|
22096
|
+
maxWidth: number().int().positive().optional(),
|
|
22097
|
+
/** The frame instant (caller's clock) — orders parks for one key. */
|
|
22098
|
+
timestamp: number()
|
|
22099
|
+
}), ParkTrackFrameResultSchema, { kind: "mutation" }), method(object({
|
|
22100
|
+
deviceId: number(),
|
|
22101
|
+
trackId: string(),
|
|
22102
|
+
kind: ParkedFrameKindSchema
|
|
22103
|
+
}), ParkedTrackFrameSchema.nullable()), method(object({
|
|
22104
|
+
deviceId: number(),
|
|
22105
|
+
trackId: string()
|
|
22106
|
+
}), object({ released: number().int().nonnegative() }), { kind: "mutation" });
|
|
21999
22107
|
var CameraPipelineConfigSchema = object({
|
|
22000
22108
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
22001
22109
|
steps: array(PipelineStepInputSchema).readonly(),
|
|
@@ -25065,8 +25173,8 @@ onStatusChanged: { data: object({
|
|
|
25065
25173
|
/**
|
|
25066
25174
|
* Runtime-state slice — every provider that registers this cap
|
|
25067
25175
|
* stores the same shape under `device.runtimeState[battery]`.
|
|
25068
|
-
* Cross-provider uniformity: a Reolink Argus, a
|
|
25069
|
-
*
|
|
25176
|
+
* Cross-provider uniformity: a Reolink Argus, a sensor proxy,
|
|
25177
|
+
* an ONVIF battery cam all read/write the same keys.
|
|
25070
25178
|
* Consumers (BatteryBadge, snapshot wrapper sleep gate) read once
|
|
25071
25179
|
* via `device.runtimeState.getCapState('battery')` regardless of
|
|
25072
25180
|
* the underlying driver.
|
|
@@ -25199,7 +25307,7 @@ DeviceType.Button, method(object({ deviceId: number().int().nonnegative() }), _v
|
|
|
25199
25307
|
*
|
|
25200
25308
|
* Implementations:
|
|
25201
25309
|
* - Each camera-providing addon registers this cap natively per
|
|
25202
|
-
* device (Reolink, Hikvision, RTSP,
|
|
25310
|
+
* device (Reolink, Hikvision, RTSP, ONVIF self).
|
|
25203
25311
|
* - Returns a snapshot from the persisted device config blob — no
|
|
25204
25312
|
* extra round-trip to the camera, no probing.
|
|
25205
25313
|
* - The cap is admin-only (`auth: 'admin'`) — credentials must not
|
|
@@ -27299,7 +27407,7 @@ var AvailableIntegrationTypeSchema = object({
|
|
|
27299
27407
|
* Which integration-marker cap the addon declared, so the wizard can
|
|
27300
27408
|
* branch on CAP — never on addon name. `device-adoption` integrations
|
|
27301
27409
|
* (Home Assistant, …) route through the broker step (Approach A);
|
|
27302
|
-
* `device-provider` integrations (Reolink/
|
|
27410
|
+
* `device-provider` integrations (Reolink/ONVIF) keep the
|
|
27303
27411
|
* legacy config → discovery flow.
|
|
27304
27412
|
*/
|
|
27305
27413
|
kind: _enum(["device-adoption", "device-provider"]),
|
|
@@ -30723,13 +30831,31 @@ var RecordingManifestSchema = object({
|
|
|
30723
30831
|
*/
|
|
30724
30832
|
playbackEndpoints: array(string())
|
|
30725
30833
|
});
|
|
30726
|
-
/**
|
|
30727
|
-
*
|
|
30834
|
+
/**
|
|
30835
|
+
* Recording storage usage for one camera — what the ARCHIVE holds for it,
|
|
30836
|
+
* across every profile and every resolvable location on this node.
|
|
30837
|
+
*
|
|
30838
|
+
* ## Archive vs residency, which is the whole point of this shape (D418)
|
|
30839
|
+
*
|
|
30840
|
+
* `usedBytes` / `oldestMs` / `segments` are the durable hour ledger's numbers:
|
|
30841
|
+
* the same quantity `RecordingLocationUsage.usedBytes` reports for the volume
|
|
30842
|
+
* this camera writes to, so the two can be added up and compared.
|
|
30843
|
+
*
|
|
30844
|
+
* They were not always. Until D418 this row came from the recorder's in-RAM
|
|
30845
|
+
* `RecordingIndex`, which since D287 holds only the live tail plus the hours
|
|
30846
|
+
* somebody hydrated — so a hub with 1.9 TB and 3.3 days of footage reported
|
|
30847
|
+
* 60.5 GB and "oldest: three hours ago" on the same page as the volume row
|
|
30848
|
+
* that said otherwise, and two people read it as retention eating recent
|
|
30849
|
+
* footage. Residency is still reported, under `residentBytes` /
|
|
30850
|
+
* `residentOldestMs`, which answer a different question and say so.
|
|
30851
|
+
*/
|
|
30728
30852
|
var RecordingDeviceUsageSchema = object({
|
|
30729
30853
|
deviceId: number(),
|
|
30854
|
+
/** Bytes the ARCHIVE holds for this camera on this node's resolvable
|
|
30855
|
+
* recordings locations. */
|
|
30730
30856
|
usedBytes: number(),
|
|
30731
30857
|
/**
|
|
30732
|
-
* Start of this camera's OLDEST
|
|
30858
|
+
* Start of this camera's OLDEST ARCHIVED segment, across every profile and
|
|
30733
30859
|
* location — the "Oldest footage" column in Recordings → Storage, and the
|
|
30734
30860
|
* only honest answer to "is retention actually holding?" per camera.
|
|
30735
30861
|
*
|
|
@@ -30739,7 +30865,24 @@ var RecordingDeviceUsageSchema = object({
|
|
|
30739
30865
|
* (types) and the addon ship on different trains, and the addon is usually
|
|
30740
30866
|
* the later of the two.
|
|
30741
30867
|
*/
|
|
30742
|
-
oldestMs: number().nullable().optional()
|
|
30868
|
+
oldestMs: number().nullable().optional(),
|
|
30869
|
+
/** Segments the archive holds for this camera — the "M" beside `usedBytes`.
|
|
30870
|
+
* OPTIONAL for the same train-skew reason as `oldestMs`. */
|
|
30871
|
+
segments: number().optional(),
|
|
30872
|
+
/**
|
|
30873
|
+
* RESIDENCY, not the archive: bytes the recorder process currently holds in
|
|
30874
|
+
* its RAM index — the live tail plus the hours a reader hydrated.
|
|
30875
|
+
*
|
|
30876
|
+
* It answers "what can be served without touching the disk", never "how much
|
|
30877
|
+
* footage this camera has". A UI that renders it must label it as such, and
|
|
30878
|
+
* must never total it as storage. OPTIONAL: a recorder predating D418 omits
|
|
30879
|
+
* it, and so does a node whose ledger could not answer.
|
|
30880
|
+
*/
|
|
30881
|
+
residentBytes: number().optional(),
|
|
30882
|
+
/** The residency counterpart of `oldestMs` — the oldest segment currently in
|
|
30883
|
+
* RAM, which on a healthy recorder is minutes ago and means nothing about
|
|
30884
|
+
* retention. `null` = nothing resident. */
|
|
30885
|
+
residentOldestMs: number().nullable().optional()
|
|
30743
30886
|
});
|
|
30744
30887
|
/** Recording storage usage + capacity for one storage location. */
|
|
30745
30888
|
var RecordingLocationUsageSchema = object({
|
|
@@ -30777,6 +30920,17 @@ var RecordingStorageUsageSchema = object({
|
|
|
30777
30920
|
totalUsedBytes: number(),
|
|
30778
30921
|
devices: array(RecordingDeviceUsageSchema),
|
|
30779
30922
|
/**
|
|
30923
|
+
* WHERE `devices[]` came from, so an empty table is never mistaken for empty
|
|
30924
|
+
* disks (D418).
|
|
30925
|
+
*
|
|
30926
|
+
* `archive` = the durable hour ledger answered. `unavailable` = this node
|
|
30927
|
+
* declared no ledger and the recorder REFUSED rather than answering the
|
|
30928
|
+
* question with the resident index (D295 rule 3) — the rows are UNKNOWN, not
|
|
30929
|
+
* zero, and a UI must say so. OPTIONAL: a recorder predating D418 omits it,
|
|
30930
|
+
* and its rows are residency.
|
|
30931
|
+
*/
|
|
30932
|
+
devicesRead: _enum(["archive", "unavailable"]).optional(),
|
|
30933
|
+
/**
|
|
30780
30934
|
* Per-physical-volume capacity. OPTIONAL, and consumers must render the rest
|
|
30781
30935
|
* of the payload without it: the hub serves this method through a BAKED
|
|
30782
30936
|
* router, so a hub whose framework train predates a change to this array
|
|
@@ -34656,7 +34810,7 @@ function toDeviceSummary(device, addonId) {
|
|
|
34656
34810
|
};
|
|
34657
34811
|
}
|
|
34658
34812
|
/**
|
|
34659
|
-
* Base class for device-provider addons (rtsp, onvif
|
|
34813
|
+
* Base class for device-provider addons (rtsp, onvif).
|
|
34660
34814
|
*
|
|
34661
34815
|
* Provides default implementations for the common device-provider cap
|
|
34662
34816
|
* methods (`start`, `stop`, `getStatus`, `getDevices`, `supportsDiscovery`,
|
|
@@ -39312,6 +39466,24 @@ Object.freeze({
|
|
|
39312
39466
|
addonId: null,
|
|
39313
39467
|
access: "view"
|
|
39314
39468
|
},
|
|
39469
|
+
"pipelineRunner.getParkedTrackFrame": {
|
|
39470
|
+
capName: "pipeline-runner",
|
|
39471
|
+
capScope: "system",
|
|
39472
|
+
addonId: null,
|
|
39473
|
+
access: "view"
|
|
39474
|
+
},
|
|
39475
|
+
"pipelineRunner.parkTrackFrame": {
|
|
39476
|
+
capName: "pipeline-runner",
|
|
39477
|
+
capScope: "system",
|
|
39478
|
+
addonId: null,
|
|
39479
|
+
access: "create"
|
|
39480
|
+
},
|
|
39481
|
+
"pipelineRunner.releaseParkedTrackFrames": {
|
|
39482
|
+
capName: "pipeline-runner",
|
|
39483
|
+
capScope: "system",
|
|
39484
|
+
addonId: null,
|
|
39485
|
+
access: "create"
|
|
39486
|
+
},
|
|
39315
39487
|
"pipelineRunner.reportMotion": {
|
|
39316
39488
|
capName: "pipeline-runner",
|
|
39317
39489
|
capScope: "system",
|
|
@@ -42589,6 +42761,21 @@ Object.freeze({
|
|
|
42589
42761
|
form: "single",
|
|
42590
42762
|
optional: false
|
|
42591
42763
|
}],
|
|
42764
|
+
"pipelineRunner.getParkedTrackFrame": [{
|
|
42765
|
+
name: "deviceId",
|
|
42766
|
+
form: "single",
|
|
42767
|
+
optional: false
|
|
42768
|
+
}],
|
|
42769
|
+
"pipelineRunner.parkTrackFrame": [{
|
|
42770
|
+
name: "deviceId",
|
|
42771
|
+
form: "single",
|
|
42772
|
+
optional: false
|
|
42773
|
+
}],
|
|
42774
|
+
"pipelineRunner.releaseParkedTrackFrames": [{
|
|
42775
|
+
name: "deviceId",
|
|
42776
|
+
form: "single",
|
|
42777
|
+
optional: false
|
|
42778
|
+
}],
|
|
42592
42779
|
"pipelineRunner.reportMotion": [{
|
|
42593
42780
|
name: "deviceId",
|
|
42594
42781
|
form: "single",
|
|
@@ -43280,7 +43467,7 @@ var PreviewTextField = string().max(200);
|
|
|
43280
43467
|
* Whether the notification's preview is a STILL or a short animation.
|
|
43281
43468
|
*
|
|
43282
43469
|
* The operator's ask, verbatim: *"inviato come gif o video (come per le altre
|
|
43283
|
-
* rule)"* —
|
|
43470
|
+
* rule)"* — the other rules already offer an animated preview, and a ten-hour
|
|
43284
43471
|
* night reads better as three seconds of motion than as one frame of it. Both
|
|
43285
43472
|
* modes get the SAME treatment (blurred frame, large centred title); `'gif'`
|
|
43286
43473
|
* simply applies it to a dozen frames sampled across the render and assembles
|
package/dist/addon.mjs
CHANGED
|
@@ -818,7 +818,7 @@ async function discoverDevices(options = {}, binder = createDgramBinder()) {
|
|
|
818
818
|
return [...byId.values()];
|
|
819
819
|
}
|
|
820
820
|
//#endregion
|
|
821
|
-
//#region ../types/dist/event-category-
|
|
821
|
+
//#region ../types/dist/event-category-DAXzJeTX.mjs
|
|
822
822
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
823
823
|
EventCategory["SystemBoot"] = "system.boot";
|
|
824
824
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -1410,7 +1410,6 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
1410
1410
|
* issue. Payload `PipelineAnalyticsPlateGalleryChangedPayload`.
|
|
1411
1411
|
*/
|
|
1412
1412
|
EventCategory["PipelineAnalyticsPlateGalleryChanged"] = "pipeline-analytics.plate-gallery-changed";
|
|
1413
|
-
EventCategory["FrigateLiveEvent"] = "frigate.live-event";
|
|
1414
1413
|
EventCategory["CameraStreamsProfileSlotsChanged"] = "camera-streams.onProfileSlotsChanged";
|
|
1415
1414
|
/**
|
|
1416
1415
|
* Stream-broker health watchdog. Per-broker (deviceId/profile) emission.
|
|
@@ -13444,7 +13443,7 @@ DeviceType.Camera;
|
|
|
13444
13443
|
var SourceInfoSchema = object({
|
|
13445
13444
|
/** Live dispatch key — mutable when the source system allows rename. */
|
|
13446
13445
|
id: string(),
|
|
13447
|
-
/** Source system tag — e.g. 'homeassistant' | 'reolink' | '
|
|
13446
|
+
/** Source system tag — e.g. 'homeassistant' | 'reolink' | 'onvif'. */
|
|
13448
13447
|
system: string(),
|
|
13449
13448
|
/** Immutable upstream identifier when available (HA `unique_id`, … ).
|
|
13450
13449
|
* Used to detect rename when `id` changes. */
|
|
@@ -13457,7 +13456,7 @@ var SourceInfoSchema = object({
|
|
|
13457
13456
|
/**
|
|
13458
13457
|
* Build the synthetic SourceInfo every existing provider falls back to
|
|
13459
13458
|
* when no upstream value has been persisted. Keeps non-migrated providers
|
|
13460
|
-
* (Reolink / Hikvision / ONVIF /
|
|
13459
|
+
* (Reolink / Hikvision / ONVIF / RTSP) functional without code
|
|
13461
13460
|
* changes — `id` reuses the CamStack stableId, `system` reuses the addon
|
|
13462
13461
|
* id. Real upstream identity replaces this once a provider migrates and
|
|
13463
13462
|
* calls `updateSourceInfo()` with concrete values.
|
|
@@ -14136,7 +14135,7 @@ var deviceProviderCapability = {
|
|
|
14136
14135
|
* - `device-management.router.ts` (deleted in Phase 2)
|
|
14137
14136
|
* - `device-ops.router.ts` (compat layer — deleted; device-provider ops absorbed here)
|
|
14138
14137
|
*
|
|
14139
|
-
* All device provider addons (rtsp, onvif,
|
|
14138
|
+
* All device provider addons (rtsp, onvif, …) are hub-local: they may
|
|
14140
14139
|
* fork into separate processes but never run on remote cluster agents. Therefore:
|
|
14141
14140
|
* - No nodeId routing needed — this is a pure hub singleton.
|
|
14142
14141
|
* - The hub's DeviceRegistry is the single source of truth for all live devices.
|
|
@@ -18184,7 +18183,7 @@ var NcRuleInputSchema = object({
|
|
|
18184
18183
|
* The measured seven-person arrival on device 590 spans 110 s with every
|
|
18185
18184
|
* internal gap under 30 s. A 12 s fixed window cuts it into three groups; an
|
|
18186
18185
|
* idle cutoff holds it as one and ends it when the arrival actually ends.
|
|
18187
|
-
* 30 is
|
|
18186
|
+
* 30 s is a widely shipped value for the same decision.
|
|
18188
18187
|
*
|
|
18189
18188
|
* ### What it replaces
|
|
18190
18189
|
*
|
|
@@ -20266,6 +20265,13 @@ var ZoneCrossingSchema = object({
|
|
|
20266
20265
|
/** Zone display name at crossing time (falls back to the id). */
|
|
20267
20266
|
zoneName: string().optional()
|
|
20268
20267
|
});
|
|
20268
|
+
/** One zone a box was stamped with, and how much of the BOX fell inside it. */
|
|
20269
|
+
var ZoneOverlapSchema = object({
|
|
20270
|
+
zoneId: string(),
|
|
20271
|
+
zoneName: string().optional(),
|
|
20272
|
+
/** Percentage of the BOX area inside the zone, 0–100. */
|
|
20273
|
+
overlapPct: number()
|
|
20274
|
+
});
|
|
20269
20275
|
var ObjectEventSchema = object({
|
|
20270
20276
|
...BaseEventFields,
|
|
20271
20277
|
kind: literal("object"),
|
|
@@ -20290,6 +20296,35 @@ var ObjectEventSchema = object({
|
|
|
20290
20296
|
bbox: BoundingBoxSchema.optional(),
|
|
20291
20297
|
/** Heavy JSON — omitted in slim projection. */
|
|
20292
20298
|
zones: array(string()).readonly().optional(),
|
|
20299
|
+
/**
|
|
20300
|
+
* How far inside each stamped zone the box actually was, as a percentage of
|
|
20301
|
+
* the BOX area.
|
|
20302
|
+
*
|
|
20303
|
+
* Membership alone cannot express "at least a third of it inside", which is
|
|
20304
|
+
* the bar an operator argues with — and the number already existed: the
|
|
20305
|
+
* engine computed it, the pipeline logged it, and then discarded it. It
|
|
20306
|
+
* matters most on the events that carry no track, where a rule has nothing
|
|
20307
|
+
* else to judge by.
|
|
20308
|
+
*/
|
|
20309
|
+
zoneOverlaps: array(ZoneOverlapSchema).readonly().optional(),
|
|
20310
|
+
/**
|
|
20311
|
+
* Present when this event describes a detection the TRACKER refused, so it
|
|
20312
|
+
* has no track and never will.
|
|
20313
|
+
*
|
|
20314
|
+
* A zone-scoped immediate rule asks "is there an animal in the flowerbed
|
|
20315
|
+
* NOW?"; tracking answers a different question ("is this the same subject as
|
|
20316
|
+
* before?") whose confirmation threshold presumes continuity. On 2026-09-09 a
|
|
20317
|
+
* dog at 0.7729, 100% inside a watched zone, was refused three times in six
|
|
20318
|
+
* seconds with three different candidate ids — seven analysed frames in the
|
|
20319
|
+
* window, the subject in a handful of them, metres apart — and produced no
|
|
20320
|
+
* event at all.
|
|
20321
|
+
*
|
|
20322
|
+
* It is NAMED rather than merely implied by a missing `trackId`: an event
|
|
20323
|
+
* with no track and no reason is indistinguishable from a track whose media
|
|
20324
|
+
* went missing, and a consumer that asks this one for a best shot or a
|
|
20325
|
+
* history is asking for something that never existed.
|
|
20326
|
+
*/
|
|
20327
|
+
spawnRefused: string().optional(),
|
|
20293
20328
|
/** Omitted in slim projection. */
|
|
20294
20329
|
state: TrackStateSchema.optional(),
|
|
20295
20330
|
/**
|
|
@@ -21363,6 +21398,60 @@ var NativeCropResultSchema = object({
|
|
|
21363
21398
|
*/
|
|
21364
21399
|
tier: _enum(["native", "ram-fullframe"]).optional()
|
|
21365
21400
|
});
|
|
21401
|
+
/**
|
|
21402
|
+
* What a PARKED frame is for — the `kind` half of the `(deviceId, trackId,
|
|
21403
|
+
* kind)` key ([D422](../../../docs/decisions/adr-0422-a-relevant-frame-is-parked-when-it-becomes-relevant.md)).
|
|
21404
|
+
*
|
|
21405
|
+
* - `keyFrame` — the track's clean best FULL frame at native width (capped by
|
|
21406
|
+
* the caller's `maxWidth`). What `keyFrame` + `keyFrameSmall` are written
|
|
21407
|
+
* from, and what the detail plane's full-frame rung cuts from.
|
|
21408
|
+
* - `thumbnail` — the best-shot subject slab: the caller's 16:9 central-square
|
|
21409
|
+
* window, cut by the runner at uncapped native resolution.
|
|
21410
|
+
*
|
|
21411
|
+
* The runner never interprets `trackId`; it is an opaque key the hub owns.
|
|
21412
|
+
*/
|
|
21413
|
+
var ParkedFrameKindSchema = _enum(["keyFrame", "thumbnail"]);
|
|
21414
|
+
/**
|
|
21415
|
+
* Why a park did NOT happen. Every one is logged on the runner with
|
|
21416
|
+
* `tags: { deviceId }` and the handle's measured age, because a handle already
|
|
21417
|
+
* gone at park time IS the defect the 150–500 ms window exists to prevent —
|
|
21418
|
+
* never a reason to retry in a loop.
|
|
21419
|
+
*
|
|
21420
|
+
* - `handle-gone` — the native surface no longer resolves this handle (never
|
|
21421
|
+
* registered, past the lease bound, or the worker released it). `detail`
|
|
21422
|
+
* carries the runner's own miss reason.
|
|
21423
|
+
* - `encode-failed` — pixels resolved and the JPEG encode threw.
|
|
21424
|
+
*/
|
|
21425
|
+
var ParkRefusalSchema = _enum(["handle-gone", "encode-failed"]);
|
|
21426
|
+
/** Answer to `parkTrackFrame` — a discriminated union, so "not parked" always names why. */
|
|
21427
|
+
var ParkTrackFrameResultSchema = discriminatedUnion("parked", [object({
|
|
21428
|
+
parked: literal(true),
|
|
21429
|
+
/** The node holding the parcel — what a later retrieval must be pinned to. */
|
|
21430
|
+
nodeId: string(),
|
|
21431
|
+
width: number().int().positive(),
|
|
21432
|
+
height: number().int().positive(),
|
|
21433
|
+
/** JPEG bytes the parcel costs on the node. */
|
|
21434
|
+
bytes: number().int().nonnegative(),
|
|
21435
|
+
/** Whether this park replaced a parcel already held for the key. */
|
|
21436
|
+
replaced: boolean()
|
|
21437
|
+
}), object({
|
|
21438
|
+
parked: literal(false),
|
|
21439
|
+
nodeId: string(),
|
|
21440
|
+
reason: ParkRefusalSchema,
|
|
21441
|
+
/** Age of the handle at the park, on the runner's clock; null if unknown. */
|
|
21442
|
+
handleAgeMs: number().nullable(),
|
|
21443
|
+
detail: string().optional()
|
|
21444
|
+
})]);
|
|
21445
|
+
/** A retrieved parcel — the runner's own JPEG, base64 for the wire. */
|
|
21446
|
+
var ParkedTrackFrameSchema = object({
|
|
21447
|
+
jpeg: string(),
|
|
21448
|
+
width: number().int().positive(),
|
|
21449
|
+
height: number().int().positive(),
|
|
21450
|
+
/** The frame instant the parcel shows (the caller's clock, echoed back). */
|
|
21451
|
+
timestamp: number(),
|
|
21452
|
+
/** When the node stored it (the node's clock). */
|
|
21453
|
+
parkedAt: number()
|
|
21454
|
+
});
|
|
21366
21455
|
/** Parent detection context passed to `runDetailSubtree` — the crop's
|
|
21367
21456
|
* originating detection, in FRAME-space coordinates. Reuses
|
|
21368
21457
|
* `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
|
|
@@ -21752,7 +21841,7 @@ var RunnerCameraConfigSchema = object({
|
|
|
21752
21841
|
* - `analyzer`: ML/frame-diff motion detection (motion-wasm or other
|
|
21753
21842
|
* analyzer providers) running on decoded frames in this runner.
|
|
21754
21843
|
* - `onboard`: camera-native motion pushes (Reolink Baichuan, ONVIF
|
|
21755
|
-
* analytics
|
|
21844
|
+
* analytics). The provider emits ProviderMotion
|
|
21756
21845
|
* events; the orchestrator forwards to `reportMotion`.
|
|
21757
21846
|
*/
|
|
21758
21847
|
motionSources: MotionSourcesSchema.default(["analyzer"]),
|
|
@@ -21994,7 +22083,26 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
21994
22083
|
className: string(),
|
|
21995
22084
|
/** Camera the pixels came from. Diagnostics + log tags ONLY — never routing. */
|
|
21996
22085
|
sourceDeviceId: number()
|
|
21997
|
-
}), RunStatelessStepResultSchema, { kind: "mutation" })
|
|
22086
|
+
}), RunStatelessStepResultSchema, { kind: "mutation" }), method(object({
|
|
22087
|
+
deviceId: number(),
|
|
22088
|
+
/** Opaque to the runner — the hub's track id. */
|
|
22089
|
+
trackId: string(),
|
|
22090
|
+
kind: ParkedFrameKindSchema,
|
|
22091
|
+
handle: FrameHandleSchema,
|
|
22092
|
+
/** Normalized [0,1] window to cut. `{0,0,1,1}` for a full frame. */
|
|
22093
|
+
bbox: NativeCropBboxSchema,
|
|
22094
|
+
/** Width cap for a full-frame park (the `keyFrame` native cap). */
|
|
22095
|
+
maxWidth: number().int().positive().optional(),
|
|
22096
|
+
/** The frame instant (caller's clock) — orders parks for one key. */
|
|
22097
|
+
timestamp: number()
|
|
22098
|
+
}), ParkTrackFrameResultSchema, { kind: "mutation" }), method(object({
|
|
22099
|
+
deviceId: number(),
|
|
22100
|
+
trackId: string(),
|
|
22101
|
+
kind: ParkedFrameKindSchema
|
|
22102
|
+
}), ParkedTrackFrameSchema.nullable()), method(object({
|
|
22103
|
+
deviceId: number(),
|
|
22104
|
+
trackId: string()
|
|
22105
|
+
}), object({ released: number().int().nonnegative() }), { kind: "mutation" });
|
|
21998
22106
|
var CameraPipelineConfigSchema = object({
|
|
21999
22107
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
22000
22108
|
steps: array(PipelineStepInputSchema).readonly(),
|
|
@@ -25064,8 +25172,8 @@ onStatusChanged: { data: object({
|
|
|
25064
25172
|
/**
|
|
25065
25173
|
* Runtime-state slice — every provider that registers this cap
|
|
25066
25174
|
* stores the same shape under `device.runtimeState[battery]`.
|
|
25067
|
-
* Cross-provider uniformity: a Reolink Argus, a
|
|
25068
|
-
*
|
|
25175
|
+
* Cross-provider uniformity: a Reolink Argus, a sensor proxy,
|
|
25176
|
+
* an ONVIF battery cam all read/write the same keys.
|
|
25069
25177
|
* Consumers (BatteryBadge, snapshot wrapper sleep gate) read once
|
|
25070
25178
|
* via `device.runtimeState.getCapState('battery')` regardless of
|
|
25071
25179
|
* the underlying driver.
|
|
@@ -25198,7 +25306,7 @@ DeviceType.Button, method(object({ deviceId: number().int().nonnegative() }), _v
|
|
|
25198
25306
|
*
|
|
25199
25307
|
* Implementations:
|
|
25200
25308
|
* - Each camera-providing addon registers this cap natively per
|
|
25201
|
-
* device (Reolink, Hikvision, RTSP,
|
|
25309
|
+
* device (Reolink, Hikvision, RTSP, ONVIF self).
|
|
25202
25310
|
* - Returns a snapshot from the persisted device config blob — no
|
|
25203
25311
|
* extra round-trip to the camera, no probing.
|
|
25204
25312
|
* - The cap is admin-only (`auth: 'admin'`) — credentials must not
|
|
@@ -27298,7 +27406,7 @@ var AvailableIntegrationTypeSchema = object({
|
|
|
27298
27406
|
* Which integration-marker cap the addon declared, so the wizard can
|
|
27299
27407
|
* branch on CAP — never on addon name. `device-adoption` integrations
|
|
27300
27408
|
* (Home Assistant, …) route through the broker step (Approach A);
|
|
27301
|
-
* `device-provider` integrations (Reolink/
|
|
27409
|
+
* `device-provider` integrations (Reolink/ONVIF) keep the
|
|
27302
27410
|
* legacy config → discovery flow.
|
|
27303
27411
|
*/
|
|
27304
27412
|
kind: _enum(["device-adoption", "device-provider"]),
|
|
@@ -30722,13 +30830,31 @@ var RecordingManifestSchema = object({
|
|
|
30722
30830
|
*/
|
|
30723
30831
|
playbackEndpoints: array(string())
|
|
30724
30832
|
});
|
|
30725
|
-
/**
|
|
30726
|
-
*
|
|
30833
|
+
/**
|
|
30834
|
+
* Recording storage usage for one camera — what the ARCHIVE holds for it,
|
|
30835
|
+
* across every profile and every resolvable location on this node.
|
|
30836
|
+
*
|
|
30837
|
+
* ## Archive vs residency, which is the whole point of this shape (D418)
|
|
30838
|
+
*
|
|
30839
|
+
* `usedBytes` / `oldestMs` / `segments` are the durable hour ledger's numbers:
|
|
30840
|
+
* the same quantity `RecordingLocationUsage.usedBytes` reports for the volume
|
|
30841
|
+
* this camera writes to, so the two can be added up and compared.
|
|
30842
|
+
*
|
|
30843
|
+
* They were not always. Until D418 this row came from the recorder's in-RAM
|
|
30844
|
+
* `RecordingIndex`, which since D287 holds only the live tail plus the hours
|
|
30845
|
+
* somebody hydrated — so a hub with 1.9 TB and 3.3 days of footage reported
|
|
30846
|
+
* 60.5 GB and "oldest: three hours ago" on the same page as the volume row
|
|
30847
|
+
* that said otherwise, and two people read it as retention eating recent
|
|
30848
|
+
* footage. Residency is still reported, under `residentBytes` /
|
|
30849
|
+
* `residentOldestMs`, which answer a different question and say so.
|
|
30850
|
+
*/
|
|
30727
30851
|
var RecordingDeviceUsageSchema = object({
|
|
30728
30852
|
deviceId: number(),
|
|
30853
|
+
/** Bytes the ARCHIVE holds for this camera on this node's resolvable
|
|
30854
|
+
* recordings locations. */
|
|
30729
30855
|
usedBytes: number(),
|
|
30730
30856
|
/**
|
|
30731
|
-
* Start of this camera's OLDEST
|
|
30857
|
+
* Start of this camera's OLDEST ARCHIVED segment, across every profile and
|
|
30732
30858
|
* location — the "Oldest footage" column in Recordings → Storage, and the
|
|
30733
30859
|
* only honest answer to "is retention actually holding?" per camera.
|
|
30734
30860
|
*
|
|
@@ -30738,7 +30864,24 @@ var RecordingDeviceUsageSchema = object({
|
|
|
30738
30864
|
* (types) and the addon ship on different trains, and the addon is usually
|
|
30739
30865
|
* the later of the two.
|
|
30740
30866
|
*/
|
|
30741
|
-
oldestMs: number().nullable().optional()
|
|
30867
|
+
oldestMs: number().nullable().optional(),
|
|
30868
|
+
/** Segments the archive holds for this camera — the "M" beside `usedBytes`.
|
|
30869
|
+
* OPTIONAL for the same train-skew reason as `oldestMs`. */
|
|
30870
|
+
segments: number().optional(),
|
|
30871
|
+
/**
|
|
30872
|
+
* RESIDENCY, not the archive: bytes the recorder process currently holds in
|
|
30873
|
+
* its RAM index — the live tail plus the hours a reader hydrated.
|
|
30874
|
+
*
|
|
30875
|
+
* It answers "what can be served without touching the disk", never "how much
|
|
30876
|
+
* footage this camera has". A UI that renders it must label it as such, and
|
|
30877
|
+
* must never total it as storage. OPTIONAL: a recorder predating D418 omits
|
|
30878
|
+
* it, and so does a node whose ledger could not answer.
|
|
30879
|
+
*/
|
|
30880
|
+
residentBytes: number().optional(),
|
|
30881
|
+
/** The residency counterpart of `oldestMs` — the oldest segment currently in
|
|
30882
|
+
* RAM, which on a healthy recorder is minutes ago and means nothing about
|
|
30883
|
+
* retention. `null` = nothing resident. */
|
|
30884
|
+
residentOldestMs: number().nullable().optional()
|
|
30742
30885
|
});
|
|
30743
30886
|
/** Recording storage usage + capacity for one storage location. */
|
|
30744
30887
|
var RecordingLocationUsageSchema = object({
|
|
@@ -30776,6 +30919,17 @@ var RecordingStorageUsageSchema = object({
|
|
|
30776
30919
|
totalUsedBytes: number(),
|
|
30777
30920
|
devices: array(RecordingDeviceUsageSchema),
|
|
30778
30921
|
/**
|
|
30922
|
+
* WHERE `devices[]` came from, so an empty table is never mistaken for empty
|
|
30923
|
+
* disks (D418).
|
|
30924
|
+
*
|
|
30925
|
+
* `archive` = the durable hour ledger answered. `unavailable` = this node
|
|
30926
|
+
* declared no ledger and the recorder REFUSED rather than answering the
|
|
30927
|
+
* question with the resident index (D295 rule 3) — the rows are UNKNOWN, not
|
|
30928
|
+
* zero, and a UI must say so. OPTIONAL: a recorder predating D418 omits it,
|
|
30929
|
+
* and its rows are residency.
|
|
30930
|
+
*/
|
|
30931
|
+
devicesRead: _enum(["archive", "unavailable"]).optional(),
|
|
30932
|
+
/**
|
|
30779
30933
|
* Per-physical-volume capacity. OPTIONAL, and consumers must render the rest
|
|
30780
30934
|
* of the payload without it: the hub serves this method through a BAKED
|
|
30781
30935
|
* router, so a hub whose framework train predates a change to this array
|
|
@@ -34655,7 +34809,7 @@ function toDeviceSummary(device, addonId) {
|
|
|
34655
34809
|
};
|
|
34656
34810
|
}
|
|
34657
34811
|
/**
|
|
34658
|
-
* Base class for device-provider addons (rtsp, onvif
|
|
34812
|
+
* Base class for device-provider addons (rtsp, onvif).
|
|
34659
34813
|
*
|
|
34660
34814
|
* Provides default implementations for the common device-provider cap
|
|
34661
34815
|
* methods (`start`, `stop`, `getStatus`, `getDevices`, `supportsDiscovery`,
|
|
@@ -39311,6 +39465,24 @@ Object.freeze({
|
|
|
39311
39465
|
addonId: null,
|
|
39312
39466
|
access: "view"
|
|
39313
39467
|
},
|
|
39468
|
+
"pipelineRunner.getParkedTrackFrame": {
|
|
39469
|
+
capName: "pipeline-runner",
|
|
39470
|
+
capScope: "system",
|
|
39471
|
+
addonId: null,
|
|
39472
|
+
access: "view"
|
|
39473
|
+
},
|
|
39474
|
+
"pipelineRunner.parkTrackFrame": {
|
|
39475
|
+
capName: "pipeline-runner",
|
|
39476
|
+
capScope: "system",
|
|
39477
|
+
addonId: null,
|
|
39478
|
+
access: "create"
|
|
39479
|
+
},
|
|
39480
|
+
"pipelineRunner.releaseParkedTrackFrames": {
|
|
39481
|
+
capName: "pipeline-runner",
|
|
39482
|
+
capScope: "system",
|
|
39483
|
+
addonId: null,
|
|
39484
|
+
access: "create"
|
|
39485
|
+
},
|
|
39314
39486
|
"pipelineRunner.reportMotion": {
|
|
39315
39487
|
capName: "pipeline-runner",
|
|
39316
39488
|
capScope: "system",
|
|
@@ -42588,6 +42760,21 @@ Object.freeze({
|
|
|
42588
42760
|
form: "single",
|
|
42589
42761
|
optional: false
|
|
42590
42762
|
}],
|
|
42763
|
+
"pipelineRunner.getParkedTrackFrame": [{
|
|
42764
|
+
name: "deviceId",
|
|
42765
|
+
form: "single",
|
|
42766
|
+
optional: false
|
|
42767
|
+
}],
|
|
42768
|
+
"pipelineRunner.parkTrackFrame": [{
|
|
42769
|
+
name: "deviceId",
|
|
42770
|
+
form: "single",
|
|
42771
|
+
optional: false
|
|
42772
|
+
}],
|
|
42773
|
+
"pipelineRunner.releaseParkedTrackFrames": [{
|
|
42774
|
+
name: "deviceId",
|
|
42775
|
+
form: "single",
|
|
42776
|
+
optional: false
|
|
42777
|
+
}],
|
|
42591
42778
|
"pipelineRunner.reportMotion": [{
|
|
42592
42779
|
name: "deviceId",
|
|
42593
42780
|
form: "single",
|
|
@@ -43279,7 +43466,7 @@ var PreviewTextField = string().max(200);
|
|
|
43279
43466
|
* Whether the notification's preview is a STILL or a short animation.
|
|
43280
43467
|
*
|
|
43281
43468
|
* The operator's ask, verbatim: *"inviato come gif o video (come per le altre
|
|
43282
|
-
* rule)"* —
|
|
43469
|
+
* rule)"* — the other rules already offer an animated preview, and a ten-hour
|
|
43283
43470
|
* night reads better as three seconds of motion than as one frame of it. Both
|
|
43284
43471
|
* modes get the SAME treatment (blurred frame, large centred title); `'gif'`
|
|
43285
43472
|
* simply applies it to a dozen frames sampled across the render and assembles
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-tuya",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.92",
|
|
4
4
|
"description": "Tuya / Smart Life device-provider addon for CamStack — account-onboarded (Tuya IoT cloud fetch of device localKeys) + LOCAL DP control via the @apocaliss92/nodetuya encrypted-LAN client, exposing switch / water-heater-family kettle entities",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|