@camstack/addon-provider-gree 0.2.89 → 0.2.91
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
|
@@ -2,7 +2,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
2
2
|
let dgram = require("dgram");
|
|
3
3
|
let crypto$1 = require("crypto");
|
|
4
4
|
let events = require("events");
|
|
5
|
-
//#region ../types/dist/event-category-
|
|
5
|
+
//#region ../types/dist/event-category-DAXzJeTX.mjs
|
|
6
6
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
7
7
|
EventCategory["SystemBoot"] = "system.boot";
|
|
8
8
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -594,7 +594,6 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
594
594
|
* issue. Payload `PipelineAnalyticsPlateGalleryChangedPayload`.
|
|
595
595
|
*/
|
|
596
596
|
EventCategory["PipelineAnalyticsPlateGalleryChanged"] = "pipeline-analytics.plate-gallery-changed";
|
|
597
|
-
EventCategory["FrigateLiveEvent"] = "frigate.live-event";
|
|
598
597
|
EventCategory["CameraStreamsProfileSlotsChanged"] = "camera-streams.onProfileSlotsChanged";
|
|
599
598
|
/**
|
|
600
599
|
* Stream-broker health watchdog. Per-broker (deviceId/profile) emission.
|
|
@@ -12628,7 +12627,7 @@ DeviceType.Camera;
|
|
|
12628
12627
|
var SourceInfoSchema = object({
|
|
12629
12628
|
/** Live dispatch key — mutable when the source system allows rename. */
|
|
12630
12629
|
id: string(),
|
|
12631
|
-
/** Source system tag — e.g. 'homeassistant' | 'reolink' | '
|
|
12630
|
+
/** Source system tag — e.g. 'homeassistant' | 'reolink' | 'onvif'. */
|
|
12632
12631
|
system: string(),
|
|
12633
12632
|
/** Immutable upstream identifier when available (HA `unique_id`, … ).
|
|
12634
12633
|
* Used to detect rename when `id` changes. */
|
|
@@ -12641,7 +12640,7 @@ var SourceInfoSchema = object({
|
|
|
12641
12640
|
/**
|
|
12642
12641
|
* Build the synthetic SourceInfo every existing provider falls back to
|
|
12643
12642
|
* when no upstream value has been persisted. Keeps non-migrated providers
|
|
12644
|
-
* (Reolink / Hikvision / ONVIF /
|
|
12643
|
+
* (Reolink / Hikvision / ONVIF / RTSP) functional without code
|
|
12645
12644
|
* changes — `id` reuses the CamStack stableId, `system` reuses the addon
|
|
12646
12645
|
* id. Real upstream identity replaces this once a provider migrates and
|
|
12647
12646
|
* calls `updateSourceInfo()` with concrete values.
|
|
@@ -13303,7 +13302,7 @@ var deviceProviderCapability = {
|
|
|
13303
13302
|
* - `device-management.router.ts` (deleted in Phase 2)
|
|
13304
13303
|
* - `device-ops.router.ts` (compat layer — deleted; device-provider ops absorbed here)
|
|
13305
13304
|
*
|
|
13306
|
-
* All device provider addons (rtsp, onvif,
|
|
13305
|
+
* All device provider addons (rtsp, onvif, …) are hub-local: they may
|
|
13307
13306
|
* fork into separate processes but never run on remote cluster agents. Therefore:
|
|
13308
13307
|
* - No nodeId routing needed — this is a pure hub singleton.
|
|
13309
13308
|
* - The hub's DeviceRegistry is the single source of truth for all live devices.
|
|
@@ -17351,7 +17350,7 @@ var NcRuleInputSchema = object({
|
|
|
17351
17350
|
* The measured seven-person arrival on device 590 spans 110 s with every
|
|
17352
17351
|
* internal gap under 30 s. A 12 s fixed window cuts it into three groups; an
|
|
17353
17352
|
* idle cutoff holds it as one and ends it when the arrival actually ends.
|
|
17354
|
-
* 30 is
|
|
17353
|
+
* 30 s is a widely shipped value for the same decision.
|
|
17355
17354
|
*
|
|
17356
17355
|
* ### What it replaces
|
|
17357
17356
|
*
|
|
@@ -19433,6 +19432,13 @@ var ZoneCrossingSchema = object({
|
|
|
19433
19432
|
/** Zone display name at crossing time (falls back to the id). */
|
|
19434
19433
|
zoneName: string().optional()
|
|
19435
19434
|
});
|
|
19435
|
+
/** One zone a box was stamped with, and how much of the BOX fell inside it. */
|
|
19436
|
+
var ZoneOverlapSchema = object({
|
|
19437
|
+
zoneId: string(),
|
|
19438
|
+
zoneName: string().optional(),
|
|
19439
|
+
/** Percentage of the BOX area inside the zone, 0–100. */
|
|
19440
|
+
overlapPct: number()
|
|
19441
|
+
});
|
|
19436
19442
|
var ObjectEventSchema = object({
|
|
19437
19443
|
...BaseEventFields,
|
|
19438
19444
|
kind: literal("object"),
|
|
@@ -19457,6 +19463,35 @@ var ObjectEventSchema = object({
|
|
|
19457
19463
|
bbox: BoundingBoxSchema.optional(),
|
|
19458
19464
|
/** Heavy JSON — omitted in slim projection. */
|
|
19459
19465
|
zones: array(string()).readonly().optional(),
|
|
19466
|
+
/**
|
|
19467
|
+
* How far inside each stamped zone the box actually was, as a percentage of
|
|
19468
|
+
* the BOX area.
|
|
19469
|
+
*
|
|
19470
|
+
* Membership alone cannot express "at least a third of it inside", which is
|
|
19471
|
+
* the bar an operator argues with — and the number already existed: the
|
|
19472
|
+
* engine computed it, the pipeline logged it, and then discarded it. It
|
|
19473
|
+
* matters most on the events that carry no track, where a rule has nothing
|
|
19474
|
+
* else to judge by.
|
|
19475
|
+
*/
|
|
19476
|
+
zoneOverlaps: array(ZoneOverlapSchema).readonly().optional(),
|
|
19477
|
+
/**
|
|
19478
|
+
* Present when this event describes a detection the TRACKER refused, so it
|
|
19479
|
+
* has no track and never will.
|
|
19480
|
+
*
|
|
19481
|
+
* A zone-scoped immediate rule asks "is there an animal in the flowerbed
|
|
19482
|
+
* NOW?"; tracking answers a different question ("is this the same subject as
|
|
19483
|
+
* before?") whose confirmation threshold presumes continuity. On 2026-09-09 a
|
|
19484
|
+
* dog at 0.7729, 100% inside a watched zone, was refused three times in six
|
|
19485
|
+
* seconds with three different candidate ids — seven analysed frames in the
|
|
19486
|
+
* window, the subject in a handful of them, metres apart — and produced no
|
|
19487
|
+
* event at all.
|
|
19488
|
+
*
|
|
19489
|
+
* It is NAMED rather than merely implied by a missing `trackId`: an event
|
|
19490
|
+
* with no track and no reason is indistinguishable from a track whose media
|
|
19491
|
+
* went missing, and a consumer that asks this one for a best shot or a
|
|
19492
|
+
* history is asking for something that never existed.
|
|
19493
|
+
*/
|
|
19494
|
+
spawnRefused: string().optional(),
|
|
19460
19495
|
/** Omitted in slim projection. */
|
|
19461
19496
|
state: TrackStateSchema.optional(),
|
|
19462
19497
|
/**
|
|
@@ -20530,6 +20565,60 @@ var NativeCropResultSchema = object({
|
|
|
20530
20565
|
*/
|
|
20531
20566
|
tier: _enum(["native", "ram-fullframe"]).optional()
|
|
20532
20567
|
});
|
|
20568
|
+
/**
|
|
20569
|
+
* What a PARKED frame is for — the `kind` half of the `(deviceId, trackId,
|
|
20570
|
+
* kind)` key ([D422](../../../docs/decisions/adr-0422-a-relevant-frame-is-parked-when-it-becomes-relevant.md)).
|
|
20571
|
+
*
|
|
20572
|
+
* - `keyFrame` — the track's clean best FULL frame at native width (capped by
|
|
20573
|
+
* the caller's `maxWidth`). What `keyFrame` + `keyFrameSmall` are written
|
|
20574
|
+
* from, and what the detail plane's full-frame rung cuts from.
|
|
20575
|
+
* - `thumbnail` — the best-shot subject slab: the caller's 16:9 central-square
|
|
20576
|
+
* window, cut by the runner at uncapped native resolution.
|
|
20577
|
+
*
|
|
20578
|
+
* The runner never interprets `trackId`; it is an opaque key the hub owns.
|
|
20579
|
+
*/
|
|
20580
|
+
var ParkedFrameKindSchema = _enum(["keyFrame", "thumbnail"]);
|
|
20581
|
+
/**
|
|
20582
|
+
* Why a park did NOT happen. Every one is logged on the runner with
|
|
20583
|
+
* `tags: { deviceId }` and the handle's measured age, because a handle already
|
|
20584
|
+
* gone at park time IS the defect the 150–500 ms window exists to prevent —
|
|
20585
|
+
* never a reason to retry in a loop.
|
|
20586
|
+
*
|
|
20587
|
+
* - `handle-gone` — the native surface no longer resolves this handle (never
|
|
20588
|
+
* registered, past the lease bound, or the worker released it). `detail`
|
|
20589
|
+
* carries the runner's own miss reason.
|
|
20590
|
+
* - `encode-failed` — pixels resolved and the JPEG encode threw.
|
|
20591
|
+
*/
|
|
20592
|
+
var ParkRefusalSchema = _enum(["handle-gone", "encode-failed"]);
|
|
20593
|
+
/** Answer to `parkTrackFrame` — a discriminated union, so "not parked" always names why. */
|
|
20594
|
+
var ParkTrackFrameResultSchema = discriminatedUnion("parked", [object({
|
|
20595
|
+
parked: literal(true),
|
|
20596
|
+
/** The node holding the parcel — what a later retrieval must be pinned to. */
|
|
20597
|
+
nodeId: string(),
|
|
20598
|
+
width: number().int().positive(),
|
|
20599
|
+
height: number().int().positive(),
|
|
20600
|
+
/** JPEG bytes the parcel costs on the node. */
|
|
20601
|
+
bytes: number().int().nonnegative(),
|
|
20602
|
+
/** Whether this park replaced a parcel already held for the key. */
|
|
20603
|
+
replaced: boolean()
|
|
20604
|
+
}), object({
|
|
20605
|
+
parked: literal(false),
|
|
20606
|
+
nodeId: string(),
|
|
20607
|
+
reason: ParkRefusalSchema,
|
|
20608
|
+
/** Age of the handle at the park, on the runner's clock; null if unknown. */
|
|
20609
|
+
handleAgeMs: number().nullable(),
|
|
20610
|
+
detail: string().optional()
|
|
20611
|
+
})]);
|
|
20612
|
+
/** A retrieved parcel — the runner's own JPEG, base64 for the wire. */
|
|
20613
|
+
var ParkedTrackFrameSchema = object({
|
|
20614
|
+
jpeg: string(),
|
|
20615
|
+
width: number().int().positive(),
|
|
20616
|
+
height: number().int().positive(),
|
|
20617
|
+
/** The frame instant the parcel shows (the caller's clock, echoed back). */
|
|
20618
|
+
timestamp: number(),
|
|
20619
|
+
/** When the node stored it (the node's clock). */
|
|
20620
|
+
parkedAt: number()
|
|
20621
|
+
});
|
|
20533
20622
|
/** Parent detection context passed to `runDetailSubtree` — the crop's
|
|
20534
20623
|
* originating detection, in FRAME-space coordinates. Reuses
|
|
20535
20624
|
* `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
|
|
@@ -20919,7 +21008,7 @@ var RunnerCameraConfigSchema = object({
|
|
|
20919
21008
|
* - `analyzer`: ML/frame-diff motion detection (motion-wasm or other
|
|
20920
21009
|
* analyzer providers) running on decoded frames in this runner.
|
|
20921
21010
|
* - `onboard`: camera-native motion pushes (Reolink Baichuan, ONVIF
|
|
20922
|
-
* analytics
|
|
21011
|
+
* analytics). The provider emits ProviderMotion
|
|
20923
21012
|
* events; the orchestrator forwards to `reportMotion`.
|
|
20924
21013
|
*/
|
|
20925
21014
|
motionSources: MotionSourcesSchema.default(["analyzer"]),
|
|
@@ -21161,7 +21250,26 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
21161
21250
|
className: string(),
|
|
21162
21251
|
/** Camera the pixels came from. Diagnostics + log tags ONLY — never routing. */
|
|
21163
21252
|
sourceDeviceId: number()
|
|
21164
|
-
}), RunStatelessStepResultSchema, { kind: "mutation" })
|
|
21253
|
+
}), RunStatelessStepResultSchema, { kind: "mutation" }), method(object({
|
|
21254
|
+
deviceId: number(),
|
|
21255
|
+
/** Opaque to the runner — the hub's track id. */
|
|
21256
|
+
trackId: string(),
|
|
21257
|
+
kind: ParkedFrameKindSchema,
|
|
21258
|
+
handle: FrameHandleSchema,
|
|
21259
|
+
/** Normalized [0,1] window to cut. `{0,0,1,1}` for a full frame. */
|
|
21260
|
+
bbox: NativeCropBboxSchema,
|
|
21261
|
+
/** Width cap for a full-frame park (the `keyFrame` native cap). */
|
|
21262
|
+
maxWidth: number().int().positive().optional(),
|
|
21263
|
+
/** The frame instant (caller's clock) — orders parks for one key. */
|
|
21264
|
+
timestamp: number()
|
|
21265
|
+
}), ParkTrackFrameResultSchema, { kind: "mutation" }), method(object({
|
|
21266
|
+
deviceId: number(),
|
|
21267
|
+
trackId: string(),
|
|
21268
|
+
kind: ParkedFrameKindSchema
|
|
21269
|
+
}), ParkedTrackFrameSchema.nullable()), method(object({
|
|
21270
|
+
deviceId: number(),
|
|
21271
|
+
trackId: string()
|
|
21272
|
+
}), object({ released: number().int().nonnegative() }), { kind: "mutation" });
|
|
21165
21273
|
var CameraPipelineConfigSchema = object({
|
|
21166
21274
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
21167
21275
|
steps: array(PipelineStepInputSchema).readonly(),
|
|
@@ -24231,8 +24339,8 @@ onStatusChanged: { data: object({
|
|
|
24231
24339
|
/**
|
|
24232
24340
|
* Runtime-state slice — every provider that registers this cap
|
|
24233
24341
|
* stores the same shape under `device.runtimeState[battery]`.
|
|
24234
|
-
* Cross-provider uniformity: a Reolink Argus, a
|
|
24235
|
-
*
|
|
24342
|
+
* Cross-provider uniformity: a Reolink Argus, a sensor proxy,
|
|
24343
|
+
* an ONVIF battery cam all read/write the same keys.
|
|
24236
24344
|
* Consumers (BatteryBadge, snapshot wrapper sleep gate) read once
|
|
24237
24345
|
* via `device.runtimeState.getCapState('battery')` regardless of
|
|
24238
24346
|
* the underlying driver.
|
|
@@ -24365,7 +24473,7 @@ DeviceType.Button, method(object({ deviceId: number().int().nonnegative() }), _v
|
|
|
24365
24473
|
*
|
|
24366
24474
|
* Implementations:
|
|
24367
24475
|
* - Each camera-providing addon registers this cap natively per
|
|
24368
|
-
* device (Reolink, Hikvision, RTSP,
|
|
24476
|
+
* device (Reolink, Hikvision, RTSP, ONVIF self).
|
|
24369
24477
|
* - Returns a snapshot from the persisted device config blob — no
|
|
24370
24478
|
* extra round-trip to the camera, no probing.
|
|
24371
24479
|
* - The cap is admin-only (`auth: 'admin'`) — credentials must not
|
|
@@ -26457,7 +26565,7 @@ var AvailableIntegrationTypeSchema = object({
|
|
|
26457
26565
|
* Which integration-marker cap the addon declared, so the wizard can
|
|
26458
26566
|
* branch on CAP — never on addon name. `device-adoption` integrations
|
|
26459
26567
|
* (Home Assistant, …) route through the broker step (Approach A);
|
|
26460
|
-
* `device-provider` integrations (Reolink/
|
|
26568
|
+
* `device-provider` integrations (Reolink/ONVIF) keep the
|
|
26461
26569
|
* legacy config → discovery flow.
|
|
26462
26570
|
*/
|
|
26463
26571
|
kind: _enum(["device-adoption", "device-provider"]),
|
|
@@ -29881,13 +29989,31 @@ var RecordingManifestSchema = object({
|
|
|
29881
29989
|
*/
|
|
29882
29990
|
playbackEndpoints: array(string())
|
|
29883
29991
|
});
|
|
29884
|
-
/**
|
|
29885
|
-
*
|
|
29992
|
+
/**
|
|
29993
|
+
* Recording storage usage for one camera — what the ARCHIVE holds for it,
|
|
29994
|
+
* across every profile and every resolvable location on this node.
|
|
29995
|
+
*
|
|
29996
|
+
* ## Archive vs residency, which is the whole point of this shape (D418)
|
|
29997
|
+
*
|
|
29998
|
+
* `usedBytes` / `oldestMs` / `segments` are the durable hour ledger's numbers:
|
|
29999
|
+
* the same quantity `RecordingLocationUsage.usedBytes` reports for the volume
|
|
30000
|
+
* this camera writes to, so the two can be added up and compared.
|
|
30001
|
+
*
|
|
30002
|
+
* They were not always. Until D418 this row came from the recorder's in-RAM
|
|
30003
|
+
* `RecordingIndex`, which since D287 holds only the live tail plus the hours
|
|
30004
|
+
* somebody hydrated — so a hub with 1.9 TB and 3.3 days of footage reported
|
|
30005
|
+
* 60.5 GB and "oldest: three hours ago" on the same page as the volume row
|
|
30006
|
+
* that said otherwise, and two people read it as retention eating recent
|
|
30007
|
+
* footage. Residency is still reported, under `residentBytes` /
|
|
30008
|
+
* `residentOldestMs`, which answer a different question and say so.
|
|
30009
|
+
*/
|
|
29886
30010
|
var RecordingDeviceUsageSchema = object({
|
|
29887
30011
|
deviceId: number(),
|
|
30012
|
+
/** Bytes the ARCHIVE holds for this camera on this node's resolvable
|
|
30013
|
+
* recordings locations. */
|
|
29888
30014
|
usedBytes: number(),
|
|
29889
30015
|
/**
|
|
29890
|
-
* Start of this camera's OLDEST
|
|
30016
|
+
* Start of this camera's OLDEST ARCHIVED segment, across every profile and
|
|
29891
30017
|
* location — the "Oldest footage" column in Recordings → Storage, and the
|
|
29892
30018
|
* only honest answer to "is retention actually holding?" per camera.
|
|
29893
30019
|
*
|
|
@@ -29897,7 +30023,24 @@ var RecordingDeviceUsageSchema = object({
|
|
|
29897
30023
|
* (types) and the addon ship on different trains, and the addon is usually
|
|
29898
30024
|
* the later of the two.
|
|
29899
30025
|
*/
|
|
29900
|
-
oldestMs: number().nullable().optional()
|
|
30026
|
+
oldestMs: number().nullable().optional(),
|
|
30027
|
+
/** Segments the archive holds for this camera — the "M" beside `usedBytes`.
|
|
30028
|
+
* OPTIONAL for the same train-skew reason as `oldestMs`. */
|
|
30029
|
+
segments: number().optional(),
|
|
30030
|
+
/**
|
|
30031
|
+
* RESIDENCY, not the archive: bytes the recorder process currently holds in
|
|
30032
|
+
* its RAM index — the live tail plus the hours a reader hydrated.
|
|
30033
|
+
*
|
|
30034
|
+
* It answers "what can be served without touching the disk", never "how much
|
|
30035
|
+
* footage this camera has". A UI that renders it must label it as such, and
|
|
30036
|
+
* must never total it as storage. OPTIONAL: a recorder predating D418 omits
|
|
30037
|
+
* it, and so does a node whose ledger could not answer.
|
|
30038
|
+
*/
|
|
30039
|
+
residentBytes: number().optional(),
|
|
30040
|
+
/** The residency counterpart of `oldestMs` — the oldest segment currently in
|
|
30041
|
+
* RAM, which on a healthy recorder is minutes ago and means nothing about
|
|
30042
|
+
* retention. `null` = nothing resident. */
|
|
30043
|
+
residentOldestMs: number().nullable().optional()
|
|
29901
30044
|
});
|
|
29902
30045
|
/** Recording storage usage + capacity for one storage location. */
|
|
29903
30046
|
var RecordingLocationUsageSchema = object({
|
|
@@ -29935,6 +30078,17 @@ var RecordingStorageUsageSchema = object({
|
|
|
29935
30078
|
totalUsedBytes: number(),
|
|
29936
30079
|
devices: array(RecordingDeviceUsageSchema),
|
|
29937
30080
|
/**
|
|
30081
|
+
* WHERE `devices[]` came from, so an empty table is never mistaken for empty
|
|
30082
|
+
* disks (D418).
|
|
30083
|
+
*
|
|
30084
|
+
* `archive` = the durable hour ledger answered. `unavailable` = this node
|
|
30085
|
+
* declared no ledger and the recorder REFUSED rather than answering the
|
|
30086
|
+
* question with the resident index (D295 rule 3) — the rows are UNKNOWN, not
|
|
30087
|
+
* zero, and a UI must say so. OPTIONAL: a recorder predating D418 omits it,
|
|
30088
|
+
* and its rows are residency.
|
|
30089
|
+
*/
|
|
30090
|
+
devicesRead: _enum(["archive", "unavailable"]).optional(),
|
|
30091
|
+
/**
|
|
29938
30092
|
* Per-physical-volume capacity. OPTIONAL, and consumers must render the rest
|
|
29939
30093
|
* of the payload without it: the hub serves this method through a BAKED
|
|
29940
30094
|
* router, so a hub whose framework train predates a change to this array
|
|
@@ -33814,7 +33968,7 @@ function toDeviceSummary(device, addonId) {
|
|
|
33814
33968
|
};
|
|
33815
33969
|
}
|
|
33816
33970
|
/**
|
|
33817
|
-
* Base class for device-provider addons (rtsp, onvif
|
|
33971
|
+
* Base class for device-provider addons (rtsp, onvif).
|
|
33818
33972
|
*
|
|
33819
33973
|
* Provides default implementations for the common device-provider cap
|
|
33820
33974
|
* methods (`start`, `stop`, `getStatus`, `getDevices`, `supportsDiscovery`,
|
|
@@ -38470,6 +38624,24 @@ Object.freeze({
|
|
|
38470
38624
|
addonId: null,
|
|
38471
38625
|
access: "view"
|
|
38472
38626
|
},
|
|
38627
|
+
"pipelineRunner.getParkedTrackFrame": {
|
|
38628
|
+
capName: "pipeline-runner",
|
|
38629
|
+
capScope: "system",
|
|
38630
|
+
addonId: null,
|
|
38631
|
+
access: "view"
|
|
38632
|
+
},
|
|
38633
|
+
"pipelineRunner.parkTrackFrame": {
|
|
38634
|
+
capName: "pipeline-runner",
|
|
38635
|
+
capScope: "system",
|
|
38636
|
+
addonId: null,
|
|
38637
|
+
access: "create"
|
|
38638
|
+
},
|
|
38639
|
+
"pipelineRunner.releaseParkedTrackFrames": {
|
|
38640
|
+
capName: "pipeline-runner",
|
|
38641
|
+
capScope: "system",
|
|
38642
|
+
addonId: null,
|
|
38643
|
+
access: "create"
|
|
38644
|
+
},
|
|
38473
38645
|
"pipelineRunner.reportMotion": {
|
|
38474
38646
|
capName: "pipeline-runner",
|
|
38475
38647
|
capScope: "system",
|
|
@@ -41747,6 +41919,21 @@ Object.freeze({
|
|
|
41747
41919
|
form: "single",
|
|
41748
41920
|
optional: false
|
|
41749
41921
|
}],
|
|
41922
|
+
"pipelineRunner.getParkedTrackFrame": [{
|
|
41923
|
+
name: "deviceId",
|
|
41924
|
+
form: "single",
|
|
41925
|
+
optional: false
|
|
41926
|
+
}],
|
|
41927
|
+
"pipelineRunner.parkTrackFrame": [{
|
|
41928
|
+
name: "deviceId",
|
|
41929
|
+
form: "single",
|
|
41930
|
+
optional: false
|
|
41931
|
+
}],
|
|
41932
|
+
"pipelineRunner.releaseParkedTrackFrames": [{
|
|
41933
|
+
name: "deviceId",
|
|
41934
|
+
form: "single",
|
|
41935
|
+
optional: false
|
|
41936
|
+
}],
|
|
41750
41937
|
"pipelineRunner.reportMotion": [{
|
|
41751
41938
|
name: "deviceId",
|
|
41752
41939
|
form: "single",
|
|
@@ -42438,7 +42625,7 @@ var PreviewTextField = string().max(200);
|
|
|
42438
42625
|
* Whether the notification's preview is a STILL or a short animation.
|
|
42439
42626
|
*
|
|
42440
42627
|
* The operator's ask, verbatim: *"inviato come gif o video (come per le altre
|
|
42441
|
-
* rule)"* —
|
|
42628
|
+
* rule)"* — the other rules already offer an animated preview, and a ten-hour
|
|
42442
42629
|
* night reads better as three seconds of motion than as one frame of it. Both
|
|
42443
42630
|
* modes get the SAME treatment (blurred frame, large centred title); `'gif'`
|
|
42444
42631
|
* simply applies it to a dozen frames sampled across the render and assembles
|
package/dist/addon.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createSocket } from "dgram";
|
|
2
2
|
import { createCipheriv, createDecipheriv } from "crypto";
|
|
3
3
|
import { EventEmitter } from "events";
|
|
4
|
-
//#region ../types/dist/event-category-
|
|
4
|
+
//#region ../types/dist/event-category-DAXzJeTX.mjs
|
|
5
5
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
6
6
|
EventCategory["SystemBoot"] = "system.boot";
|
|
7
7
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -593,7 +593,6 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
593
593
|
* issue. Payload `PipelineAnalyticsPlateGalleryChangedPayload`.
|
|
594
594
|
*/
|
|
595
595
|
EventCategory["PipelineAnalyticsPlateGalleryChanged"] = "pipeline-analytics.plate-gallery-changed";
|
|
596
|
-
EventCategory["FrigateLiveEvent"] = "frigate.live-event";
|
|
597
596
|
EventCategory["CameraStreamsProfileSlotsChanged"] = "camera-streams.onProfileSlotsChanged";
|
|
598
597
|
/**
|
|
599
598
|
* Stream-broker health watchdog. Per-broker (deviceId/profile) emission.
|
|
@@ -12627,7 +12626,7 @@ DeviceType.Camera;
|
|
|
12627
12626
|
var SourceInfoSchema = object({
|
|
12628
12627
|
/** Live dispatch key — mutable when the source system allows rename. */
|
|
12629
12628
|
id: string(),
|
|
12630
|
-
/** Source system tag — e.g. 'homeassistant' | 'reolink' | '
|
|
12629
|
+
/** Source system tag — e.g. 'homeassistant' | 'reolink' | 'onvif'. */
|
|
12631
12630
|
system: string(),
|
|
12632
12631
|
/** Immutable upstream identifier when available (HA `unique_id`, … ).
|
|
12633
12632
|
* Used to detect rename when `id` changes. */
|
|
@@ -12640,7 +12639,7 @@ var SourceInfoSchema = object({
|
|
|
12640
12639
|
/**
|
|
12641
12640
|
* Build the synthetic SourceInfo every existing provider falls back to
|
|
12642
12641
|
* when no upstream value has been persisted. Keeps non-migrated providers
|
|
12643
|
-
* (Reolink / Hikvision / ONVIF /
|
|
12642
|
+
* (Reolink / Hikvision / ONVIF / RTSP) functional without code
|
|
12644
12643
|
* changes — `id` reuses the CamStack stableId, `system` reuses the addon
|
|
12645
12644
|
* id. Real upstream identity replaces this once a provider migrates and
|
|
12646
12645
|
* calls `updateSourceInfo()` with concrete values.
|
|
@@ -13302,7 +13301,7 @@ var deviceProviderCapability = {
|
|
|
13302
13301
|
* - `device-management.router.ts` (deleted in Phase 2)
|
|
13303
13302
|
* - `device-ops.router.ts` (compat layer — deleted; device-provider ops absorbed here)
|
|
13304
13303
|
*
|
|
13305
|
-
* All device provider addons (rtsp, onvif,
|
|
13304
|
+
* All device provider addons (rtsp, onvif, …) are hub-local: they may
|
|
13306
13305
|
* fork into separate processes but never run on remote cluster agents. Therefore:
|
|
13307
13306
|
* - No nodeId routing needed — this is a pure hub singleton.
|
|
13308
13307
|
* - The hub's DeviceRegistry is the single source of truth for all live devices.
|
|
@@ -17350,7 +17349,7 @@ var NcRuleInputSchema = object({
|
|
|
17350
17349
|
* The measured seven-person arrival on device 590 spans 110 s with every
|
|
17351
17350
|
* internal gap under 30 s. A 12 s fixed window cuts it into three groups; an
|
|
17352
17351
|
* idle cutoff holds it as one and ends it when the arrival actually ends.
|
|
17353
|
-
* 30 is
|
|
17352
|
+
* 30 s is a widely shipped value for the same decision.
|
|
17354
17353
|
*
|
|
17355
17354
|
* ### What it replaces
|
|
17356
17355
|
*
|
|
@@ -19432,6 +19431,13 @@ var ZoneCrossingSchema = object({
|
|
|
19432
19431
|
/** Zone display name at crossing time (falls back to the id). */
|
|
19433
19432
|
zoneName: string().optional()
|
|
19434
19433
|
});
|
|
19434
|
+
/** One zone a box was stamped with, and how much of the BOX fell inside it. */
|
|
19435
|
+
var ZoneOverlapSchema = object({
|
|
19436
|
+
zoneId: string(),
|
|
19437
|
+
zoneName: string().optional(),
|
|
19438
|
+
/** Percentage of the BOX area inside the zone, 0–100. */
|
|
19439
|
+
overlapPct: number()
|
|
19440
|
+
});
|
|
19435
19441
|
var ObjectEventSchema = object({
|
|
19436
19442
|
...BaseEventFields,
|
|
19437
19443
|
kind: literal("object"),
|
|
@@ -19456,6 +19462,35 @@ var ObjectEventSchema = object({
|
|
|
19456
19462
|
bbox: BoundingBoxSchema.optional(),
|
|
19457
19463
|
/** Heavy JSON — omitted in slim projection. */
|
|
19458
19464
|
zones: array(string()).readonly().optional(),
|
|
19465
|
+
/**
|
|
19466
|
+
* How far inside each stamped zone the box actually was, as a percentage of
|
|
19467
|
+
* the BOX area.
|
|
19468
|
+
*
|
|
19469
|
+
* Membership alone cannot express "at least a third of it inside", which is
|
|
19470
|
+
* the bar an operator argues with — and the number already existed: the
|
|
19471
|
+
* engine computed it, the pipeline logged it, and then discarded it. It
|
|
19472
|
+
* matters most on the events that carry no track, where a rule has nothing
|
|
19473
|
+
* else to judge by.
|
|
19474
|
+
*/
|
|
19475
|
+
zoneOverlaps: array(ZoneOverlapSchema).readonly().optional(),
|
|
19476
|
+
/**
|
|
19477
|
+
* Present when this event describes a detection the TRACKER refused, so it
|
|
19478
|
+
* has no track and never will.
|
|
19479
|
+
*
|
|
19480
|
+
* A zone-scoped immediate rule asks "is there an animal in the flowerbed
|
|
19481
|
+
* NOW?"; tracking answers a different question ("is this the same subject as
|
|
19482
|
+
* before?") whose confirmation threshold presumes continuity. On 2026-09-09 a
|
|
19483
|
+
* dog at 0.7729, 100% inside a watched zone, was refused three times in six
|
|
19484
|
+
* seconds with three different candidate ids — seven analysed frames in the
|
|
19485
|
+
* window, the subject in a handful of them, metres apart — and produced no
|
|
19486
|
+
* event at all.
|
|
19487
|
+
*
|
|
19488
|
+
* It is NAMED rather than merely implied by a missing `trackId`: an event
|
|
19489
|
+
* with no track and no reason is indistinguishable from a track whose media
|
|
19490
|
+
* went missing, and a consumer that asks this one for a best shot or a
|
|
19491
|
+
* history is asking for something that never existed.
|
|
19492
|
+
*/
|
|
19493
|
+
spawnRefused: string().optional(),
|
|
19459
19494
|
/** Omitted in slim projection. */
|
|
19460
19495
|
state: TrackStateSchema.optional(),
|
|
19461
19496
|
/**
|
|
@@ -20529,6 +20564,60 @@ var NativeCropResultSchema = object({
|
|
|
20529
20564
|
*/
|
|
20530
20565
|
tier: _enum(["native", "ram-fullframe"]).optional()
|
|
20531
20566
|
});
|
|
20567
|
+
/**
|
|
20568
|
+
* What a PARKED frame is for — the `kind` half of the `(deviceId, trackId,
|
|
20569
|
+
* kind)` key ([D422](../../../docs/decisions/adr-0422-a-relevant-frame-is-parked-when-it-becomes-relevant.md)).
|
|
20570
|
+
*
|
|
20571
|
+
* - `keyFrame` — the track's clean best FULL frame at native width (capped by
|
|
20572
|
+
* the caller's `maxWidth`). What `keyFrame` + `keyFrameSmall` are written
|
|
20573
|
+
* from, and what the detail plane's full-frame rung cuts from.
|
|
20574
|
+
* - `thumbnail` — the best-shot subject slab: the caller's 16:9 central-square
|
|
20575
|
+
* window, cut by the runner at uncapped native resolution.
|
|
20576
|
+
*
|
|
20577
|
+
* The runner never interprets `trackId`; it is an opaque key the hub owns.
|
|
20578
|
+
*/
|
|
20579
|
+
var ParkedFrameKindSchema = _enum(["keyFrame", "thumbnail"]);
|
|
20580
|
+
/**
|
|
20581
|
+
* Why a park did NOT happen. Every one is logged on the runner with
|
|
20582
|
+
* `tags: { deviceId }` and the handle's measured age, because a handle already
|
|
20583
|
+
* gone at park time IS the defect the 150–500 ms window exists to prevent —
|
|
20584
|
+
* never a reason to retry in a loop.
|
|
20585
|
+
*
|
|
20586
|
+
* - `handle-gone` — the native surface no longer resolves this handle (never
|
|
20587
|
+
* registered, past the lease bound, or the worker released it). `detail`
|
|
20588
|
+
* carries the runner's own miss reason.
|
|
20589
|
+
* - `encode-failed` — pixels resolved and the JPEG encode threw.
|
|
20590
|
+
*/
|
|
20591
|
+
var ParkRefusalSchema = _enum(["handle-gone", "encode-failed"]);
|
|
20592
|
+
/** Answer to `parkTrackFrame` — a discriminated union, so "not parked" always names why. */
|
|
20593
|
+
var ParkTrackFrameResultSchema = discriminatedUnion("parked", [object({
|
|
20594
|
+
parked: literal(true),
|
|
20595
|
+
/** The node holding the parcel — what a later retrieval must be pinned to. */
|
|
20596
|
+
nodeId: string(),
|
|
20597
|
+
width: number().int().positive(),
|
|
20598
|
+
height: number().int().positive(),
|
|
20599
|
+
/** JPEG bytes the parcel costs on the node. */
|
|
20600
|
+
bytes: number().int().nonnegative(),
|
|
20601
|
+
/** Whether this park replaced a parcel already held for the key. */
|
|
20602
|
+
replaced: boolean()
|
|
20603
|
+
}), object({
|
|
20604
|
+
parked: literal(false),
|
|
20605
|
+
nodeId: string(),
|
|
20606
|
+
reason: ParkRefusalSchema,
|
|
20607
|
+
/** Age of the handle at the park, on the runner's clock; null if unknown. */
|
|
20608
|
+
handleAgeMs: number().nullable(),
|
|
20609
|
+
detail: string().optional()
|
|
20610
|
+
})]);
|
|
20611
|
+
/** A retrieved parcel — the runner's own JPEG, base64 for the wire. */
|
|
20612
|
+
var ParkedTrackFrameSchema = object({
|
|
20613
|
+
jpeg: string(),
|
|
20614
|
+
width: number().int().positive(),
|
|
20615
|
+
height: number().int().positive(),
|
|
20616
|
+
/** The frame instant the parcel shows (the caller's clock, echoed back). */
|
|
20617
|
+
timestamp: number(),
|
|
20618
|
+
/** When the node stored it (the node's clock). */
|
|
20619
|
+
parkedAt: number()
|
|
20620
|
+
});
|
|
20532
20621
|
/** Parent detection context passed to `runDetailSubtree` — the crop's
|
|
20533
20622
|
* originating detection, in FRAME-space coordinates. Reuses
|
|
20534
20623
|
* `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
|
|
@@ -20918,7 +21007,7 @@ var RunnerCameraConfigSchema = object({
|
|
|
20918
21007
|
* - `analyzer`: ML/frame-diff motion detection (motion-wasm or other
|
|
20919
21008
|
* analyzer providers) running on decoded frames in this runner.
|
|
20920
21009
|
* - `onboard`: camera-native motion pushes (Reolink Baichuan, ONVIF
|
|
20921
|
-
* analytics
|
|
21010
|
+
* analytics). The provider emits ProviderMotion
|
|
20922
21011
|
* events; the orchestrator forwards to `reportMotion`.
|
|
20923
21012
|
*/
|
|
20924
21013
|
motionSources: MotionSourcesSchema.default(["analyzer"]),
|
|
@@ -21160,7 +21249,26 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
21160
21249
|
className: string(),
|
|
21161
21250
|
/** Camera the pixels came from. Diagnostics + log tags ONLY — never routing. */
|
|
21162
21251
|
sourceDeviceId: number()
|
|
21163
|
-
}), RunStatelessStepResultSchema, { kind: "mutation" })
|
|
21252
|
+
}), RunStatelessStepResultSchema, { kind: "mutation" }), method(object({
|
|
21253
|
+
deviceId: number(),
|
|
21254
|
+
/** Opaque to the runner — the hub's track id. */
|
|
21255
|
+
trackId: string(),
|
|
21256
|
+
kind: ParkedFrameKindSchema,
|
|
21257
|
+
handle: FrameHandleSchema,
|
|
21258
|
+
/** Normalized [0,1] window to cut. `{0,0,1,1}` for a full frame. */
|
|
21259
|
+
bbox: NativeCropBboxSchema,
|
|
21260
|
+
/** Width cap for a full-frame park (the `keyFrame` native cap). */
|
|
21261
|
+
maxWidth: number().int().positive().optional(),
|
|
21262
|
+
/** The frame instant (caller's clock) — orders parks for one key. */
|
|
21263
|
+
timestamp: number()
|
|
21264
|
+
}), ParkTrackFrameResultSchema, { kind: "mutation" }), method(object({
|
|
21265
|
+
deviceId: number(),
|
|
21266
|
+
trackId: string(),
|
|
21267
|
+
kind: ParkedFrameKindSchema
|
|
21268
|
+
}), ParkedTrackFrameSchema.nullable()), method(object({
|
|
21269
|
+
deviceId: number(),
|
|
21270
|
+
trackId: string()
|
|
21271
|
+
}), object({ released: number().int().nonnegative() }), { kind: "mutation" });
|
|
21164
21272
|
var CameraPipelineConfigSchema = object({
|
|
21165
21273
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
21166
21274
|
steps: array(PipelineStepInputSchema).readonly(),
|
|
@@ -24230,8 +24338,8 @@ onStatusChanged: { data: object({
|
|
|
24230
24338
|
/**
|
|
24231
24339
|
* Runtime-state slice — every provider that registers this cap
|
|
24232
24340
|
* stores the same shape under `device.runtimeState[battery]`.
|
|
24233
|
-
* Cross-provider uniformity: a Reolink Argus, a
|
|
24234
|
-
*
|
|
24341
|
+
* Cross-provider uniformity: a Reolink Argus, a sensor proxy,
|
|
24342
|
+
* an ONVIF battery cam all read/write the same keys.
|
|
24235
24343
|
* Consumers (BatteryBadge, snapshot wrapper sleep gate) read once
|
|
24236
24344
|
* via `device.runtimeState.getCapState('battery')` regardless of
|
|
24237
24345
|
* the underlying driver.
|
|
@@ -24364,7 +24472,7 @@ DeviceType.Button, method(object({ deviceId: number().int().nonnegative() }), _v
|
|
|
24364
24472
|
*
|
|
24365
24473
|
* Implementations:
|
|
24366
24474
|
* - Each camera-providing addon registers this cap natively per
|
|
24367
|
-
* device (Reolink, Hikvision, RTSP,
|
|
24475
|
+
* device (Reolink, Hikvision, RTSP, ONVIF self).
|
|
24368
24476
|
* - Returns a snapshot from the persisted device config blob — no
|
|
24369
24477
|
* extra round-trip to the camera, no probing.
|
|
24370
24478
|
* - The cap is admin-only (`auth: 'admin'`) — credentials must not
|
|
@@ -26456,7 +26564,7 @@ var AvailableIntegrationTypeSchema = object({
|
|
|
26456
26564
|
* Which integration-marker cap the addon declared, so the wizard can
|
|
26457
26565
|
* branch on CAP — never on addon name. `device-adoption` integrations
|
|
26458
26566
|
* (Home Assistant, …) route through the broker step (Approach A);
|
|
26459
|
-
* `device-provider` integrations (Reolink/
|
|
26567
|
+
* `device-provider` integrations (Reolink/ONVIF) keep the
|
|
26460
26568
|
* legacy config → discovery flow.
|
|
26461
26569
|
*/
|
|
26462
26570
|
kind: _enum(["device-adoption", "device-provider"]),
|
|
@@ -29880,13 +29988,31 @@ var RecordingManifestSchema = object({
|
|
|
29880
29988
|
*/
|
|
29881
29989
|
playbackEndpoints: array(string())
|
|
29882
29990
|
});
|
|
29883
|
-
/**
|
|
29884
|
-
*
|
|
29991
|
+
/**
|
|
29992
|
+
* Recording storage usage for one camera — what the ARCHIVE holds for it,
|
|
29993
|
+
* across every profile and every resolvable location on this node.
|
|
29994
|
+
*
|
|
29995
|
+
* ## Archive vs residency, which is the whole point of this shape (D418)
|
|
29996
|
+
*
|
|
29997
|
+
* `usedBytes` / `oldestMs` / `segments` are the durable hour ledger's numbers:
|
|
29998
|
+
* the same quantity `RecordingLocationUsage.usedBytes` reports for the volume
|
|
29999
|
+
* this camera writes to, so the two can be added up and compared.
|
|
30000
|
+
*
|
|
30001
|
+
* They were not always. Until D418 this row came from the recorder's in-RAM
|
|
30002
|
+
* `RecordingIndex`, which since D287 holds only the live tail plus the hours
|
|
30003
|
+
* somebody hydrated — so a hub with 1.9 TB and 3.3 days of footage reported
|
|
30004
|
+
* 60.5 GB and "oldest: three hours ago" on the same page as the volume row
|
|
30005
|
+
* that said otherwise, and two people read it as retention eating recent
|
|
30006
|
+
* footage. Residency is still reported, under `residentBytes` /
|
|
30007
|
+
* `residentOldestMs`, which answer a different question and say so.
|
|
30008
|
+
*/
|
|
29885
30009
|
var RecordingDeviceUsageSchema = object({
|
|
29886
30010
|
deviceId: number(),
|
|
30011
|
+
/** Bytes the ARCHIVE holds for this camera on this node's resolvable
|
|
30012
|
+
* recordings locations. */
|
|
29887
30013
|
usedBytes: number(),
|
|
29888
30014
|
/**
|
|
29889
|
-
* Start of this camera's OLDEST
|
|
30015
|
+
* Start of this camera's OLDEST ARCHIVED segment, across every profile and
|
|
29890
30016
|
* location — the "Oldest footage" column in Recordings → Storage, and the
|
|
29891
30017
|
* only honest answer to "is retention actually holding?" per camera.
|
|
29892
30018
|
*
|
|
@@ -29896,7 +30022,24 @@ var RecordingDeviceUsageSchema = object({
|
|
|
29896
30022
|
* (types) and the addon ship on different trains, and the addon is usually
|
|
29897
30023
|
* the later of the two.
|
|
29898
30024
|
*/
|
|
29899
|
-
oldestMs: number().nullable().optional()
|
|
30025
|
+
oldestMs: number().nullable().optional(),
|
|
30026
|
+
/** Segments the archive holds for this camera — the "M" beside `usedBytes`.
|
|
30027
|
+
* OPTIONAL for the same train-skew reason as `oldestMs`. */
|
|
30028
|
+
segments: number().optional(),
|
|
30029
|
+
/**
|
|
30030
|
+
* RESIDENCY, not the archive: bytes the recorder process currently holds in
|
|
30031
|
+
* its RAM index — the live tail plus the hours a reader hydrated.
|
|
30032
|
+
*
|
|
30033
|
+
* It answers "what can be served without touching the disk", never "how much
|
|
30034
|
+
* footage this camera has". A UI that renders it must label it as such, and
|
|
30035
|
+
* must never total it as storage. OPTIONAL: a recorder predating D418 omits
|
|
30036
|
+
* it, and so does a node whose ledger could not answer.
|
|
30037
|
+
*/
|
|
30038
|
+
residentBytes: number().optional(),
|
|
30039
|
+
/** The residency counterpart of `oldestMs` — the oldest segment currently in
|
|
30040
|
+
* RAM, which on a healthy recorder is minutes ago and means nothing about
|
|
30041
|
+
* retention. `null` = nothing resident. */
|
|
30042
|
+
residentOldestMs: number().nullable().optional()
|
|
29900
30043
|
});
|
|
29901
30044
|
/** Recording storage usage + capacity for one storage location. */
|
|
29902
30045
|
var RecordingLocationUsageSchema = object({
|
|
@@ -29934,6 +30077,17 @@ var RecordingStorageUsageSchema = object({
|
|
|
29934
30077
|
totalUsedBytes: number(),
|
|
29935
30078
|
devices: array(RecordingDeviceUsageSchema),
|
|
29936
30079
|
/**
|
|
30080
|
+
* WHERE `devices[]` came from, so an empty table is never mistaken for empty
|
|
30081
|
+
* disks (D418).
|
|
30082
|
+
*
|
|
30083
|
+
* `archive` = the durable hour ledger answered. `unavailable` = this node
|
|
30084
|
+
* declared no ledger and the recorder REFUSED rather than answering the
|
|
30085
|
+
* question with the resident index (D295 rule 3) — the rows are UNKNOWN, not
|
|
30086
|
+
* zero, and a UI must say so. OPTIONAL: a recorder predating D418 omits it,
|
|
30087
|
+
* and its rows are residency.
|
|
30088
|
+
*/
|
|
30089
|
+
devicesRead: _enum(["archive", "unavailable"]).optional(),
|
|
30090
|
+
/**
|
|
29937
30091
|
* Per-physical-volume capacity. OPTIONAL, and consumers must render the rest
|
|
29938
30092
|
* of the payload without it: the hub serves this method through a BAKED
|
|
29939
30093
|
* router, so a hub whose framework train predates a change to this array
|
|
@@ -33813,7 +33967,7 @@ function toDeviceSummary(device, addonId) {
|
|
|
33813
33967
|
};
|
|
33814
33968
|
}
|
|
33815
33969
|
/**
|
|
33816
|
-
* Base class for device-provider addons (rtsp, onvif
|
|
33970
|
+
* Base class for device-provider addons (rtsp, onvif).
|
|
33817
33971
|
*
|
|
33818
33972
|
* Provides default implementations for the common device-provider cap
|
|
33819
33973
|
* methods (`start`, `stop`, `getStatus`, `getDevices`, `supportsDiscovery`,
|
|
@@ -38469,6 +38623,24 @@ Object.freeze({
|
|
|
38469
38623
|
addonId: null,
|
|
38470
38624
|
access: "view"
|
|
38471
38625
|
},
|
|
38626
|
+
"pipelineRunner.getParkedTrackFrame": {
|
|
38627
|
+
capName: "pipeline-runner",
|
|
38628
|
+
capScope: "system",
|
|
38629
|
+
addonId: null,
|
|
38630
|
+
access: "view"
|
|
38631
|
+
},
|
|
38632
|
+
"pipelineRunner.parkTrackFrame": {
|
|
38633
|
+
capName: "pipeline-runner",
|
|
38634
|
+
capScope: "system",
|
|
38635
|
+
addonId: null,
|
|
38636
|
+
access: "create"
|
|
38637
|
+
},
|
|
38638
|
+
"pipelineRunner.releaseParkedTrackFrames": {
|
|
38639
|
+
capName: "pipeline-runner",
|
|
38640
|
+
capScope: "system",
|
|
38641
|
+
addonId: null,
|
|
38642
|
+
access: "create"
|
|
38643
|
+
},
|
|
38472
38644
|
"pipelineRunner.reportMotion": {
|
|
38473
38645
|
capName: "pipeline-runner",
|
|
38474
38646
|
capScope: "system",
|
|
@@ -41746,6 +41918,21 @@ Object.freeze({
|
|
|
41746
41918
|
form: "single",
|
|
41747
41919
|
optional: false
|
|
41748
41920
|
}],
|
|
41921
|
+
"pipelineRunner.getParkedTrackFrame": [{
|
|
41922
|
+
name: "deviceId",
|
|
41923
|
+
form: "single",
|
|
41924
|
+
optional: false
|
|
41925
|
+
}],
|
|
41926
|
+
"pipelineRunner.parkTrackFrame": [{
|
|
41927
|
+
name: "deviceId",
|
|
41928
|
+
form: "single",
|
|
41929
|
+
optional: false
|
|
41930
|
+
}],
|
|
41931
|
+
"pipelineRunner.releaseParkedTrackFrames": [{
|
|
41932
|
+
name: "deviceId",
|
|
41933
|
+
form: "single",
|
|
41934
|
+
optional: false
|
|
41935
|
+
}],
|
|
41749
41936
|
"pipelineRunner.reportMotion": [{
|
|
41750
41937
|
name: "deviceId",
|
|
41751
41938
|
form: "single",
|
|
@@ -42437,7 +42624,7 @@ var PreviewTextField = string().max(200);
|
|
|
42437
42624
|
* Whether the notification's preview is a STILL or a short animation.
|
|
42438
42625
|
*
|
|
42439
42626
|
* The operator's ask, verbatim: *"inviato come gif o video (come per le altre
|
|
42440
|
-
* rule)"* —
|
|
42627
|
+
* rule)"* — the other rules already offer an animated preview, and a ten-hour
|
|
42441
42628
|
* night reads better as three seconds of motion than as one frame of it. Both
|
|
42442
42629
|
* modes get the SAME treatment (blurred frame, large centred title); `'gif'`
|
|
42443
42630
|
* 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-gree",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.91",
|
|
4
4
|
"description": "Gree air-conditioner device-provider addon for CamStack — wraps the @apocaliss92/nodegree local-UDP client (LAN discovery + AES control), exposing climate-control and fan-control",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|