@camstack/addon-provider-homematic 1.1.14 → 1.1.16
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 +45 -43
- package/dist/addon.mjs +45 -43
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -17895,7 +17895,17 @@ var AgentAddonConfigSchema = object({
|
|
|
17895
17895
|
});
|
|
17896
17896
|
var AgentPipelineSettingsSchema = object({
|
|
17897
17897
|
addonDefaults: record(string(), AgentAddonConfigSchema).readonly(),
|
|
17898
|
-
maxCameras: number().int().nonnegative().nullable().default(null)
|
|
17898
|
+
maxCameras: number().int().nonnegative().nullable().default(null),
|
|
17899
|
+
/** Per-node detection weight (relative share for the quota balancer). */
|
|
17900
|
+
detectWeight: number().positive().optional(),
|
|
17901
|
+
/** Node is eligible to run the detection pipeline (decode + inference). */
|
|
17902
|
+
detect: boolean().optional(),
|
|
17903
|
+
/** Node is eligible to host decoder sessions. */
|
|
17904
|
+
decode: boolean().optional(),
|
|
17905
|
+
/** Node is eligible to run audio-analyzer sessions. */
|
|
17906
|
+
audio: boolean().optional(),
|
|
17907
|
+
/** Node is eligible to be the ingest / source-owner (serve the restream). */
|
|
17908
|
+
ingest: boolean().optional()
|
|
17899
17909
|
});
|
|
17900
17910
|
var CameraPipelineForAgentSchema = object({
|
|
17901
17911
|
steps: array(PipelineStepInputSchema).readonly(),
|
|
@@ -17970,7 +17980,10 @@ var AgentLoadSummarySchema = object({
|
|
|
17970
17980
|
online: boolean(),
|
|
17971
17981
|
load: RunnerLocalLoadSchema,
|
|
17972
17982
|
/** Computed score used by the L2 capacity balancer (lower = less loaded). */
|
|
17973
|
-
score: number()
|
|
17983
|
+
score: number(),
|
|
17984
|
+
/** This node's decode hwaccel backend (per-node `probedBestHwaccel`), or null
|
|
17985
|
+
* when not yet probed — for the cluster Pipeline table UI (P0.2). */
|
|
17986
|
+
decodeHwaccel: string().nullable()
|
|
17974
17987
|
});
|
|
17975
17988
|
/**
|
|
17976
17989
|
* Aggregate metrics across the whole detection cluster. Replaces the legacy
|
|
@@ -18198,6 +18211,21 @@ method(object({
|
|
|
18198
18211
|
}), object({ success: literal(true) }), {
|
|
18199
18212
|
kind: "mutation",
|
|
18200
18213
|
auth: "admin"
|
|
18214
|
+
}), method(object({
|
|
18215
|
+
agentNodeId: string(),
|
|
18216
|
+
detectWeight: number().positive().nullable()
|
|
18217
|
+
}), object({ success: literal(true) }), {
|
|
18218
|
+
kind: "mutation",
|
|
18219
|
+
auth: "admin"
|
|
18220
|
+
}), method(object({
|
|
18221
|
+
agentNodeId: string(),
|
|
18222
|
+
detect: boolean().nullable().optional(),
|
|
18223
|
+
decode: boolean().nullable().optional(),
|
|
18224
|
+
audio: boolean().nullable().optional(),
|
|
18225
|
+
ingest: boolean().nullable().optional()
|
|
18226
|
+
}), object({ success: literal(true) }), {
|
|
18227
|
+
kind: "mutation",
|
|
18228
|
+
auth: "admin"
|
|
18201
18229
|
}), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
|
|
18202
18230
|
deviceId: number(),
|
|
18203
18231
|
addonId: string(),
|
|
@@ -20506,7 +20534,7 @@ var HardwareEncoderIdSchema = _enum([
|
|
|
20506
20534
|
"libx264",
|
|
20507
20535
|
"libx265"
|
|
20508
20536
|
]);
|
|
20509
|
-
|
|
20537
|
+
object({
|
|
20510
20538
|
encoders: array(object({
|
|
20511
20539
|
encoder: HardwareEncoderIdSchema,
|
|
20512
20540
|
codec: _enum(["H264", "H265"]),
|
|
@@ -20525,15 +20553,7 @@ var HardwareEncodersSchema = object({
|
|
|
20525
20553
|
defaultH265: HardwareEncoderIdSchema,
|
|
20526
20554
|
probedAt: number()
|
|
20527
20555
|
});
|
|
20528
|
-
|
|
20529
|
-
* Decode-side companion to {@link HardwareEncodersSchema}: the `-hwaccel`
|
|
20530
|
-
* methods the configured ffmpeg binary actually supports (parsed from
|
|
20531
|
-
* `ffmpeg -hwaccels`). Used to gate decode-hwaccel attempts so the transcode
|
|
20532
|
-
* egress never spends a spawn on a backend this build cannot offer. Per-stream
|
|
20533
|
-
* decode fragility (e.g. VideoToolbox HEVC) is still handled by the egress's
|
|
20534
|
-
* software fallback — this only filters out wholly-unsupported backends.
|
|
20535
|
-
*/
|
|
20536
|
-
var HardwareDecodeAccelsSchema = object({
|
|
20556
|
+
object({
|
|
20537
20557
|
methods: array(string()).readonly(),
|
|
20538
20558
|
probedAt: number()
|
|
20539
20559
|
});
|
|
@@ -20596,13 +20616,7 @@ var ResolvedInferenceConfigSchema = object({
|
|
|
20596
20616
|
format: ModelFormatSchema,
|
|
20597
20617
|
reason: string()
|
|
20598
20618
|
});
|
|
20599
|
-
method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema)
|
|
20600
|
-
kind: "mutation",
|
|
20601
|
-
auth: "admin"
|
|
20602
|
-
}), method(_void(), HardwareDecodeAccelsSchema), method(_void(), HardwareDecodeAccelsSchema, {
|
|
20603
|
-
kind: "mutation",
|
|
20604
|
-
auth: "admin"
|
|
20605
|
-
});
|
|
20619
|
+
method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
|
|
20606
20620
|
var PtzPresetSchema = object({
|
|
20607
20621
|
id: string(),
|
|
20608
20622
|
name: string()
|
|
@@ -24071,6 +24085,18 @@ Object.freeze({
|
|
|
24071
24085
|
addonId: null,
|
|
24072
24086
|
access: "create"
|
|
24073
24087
|
},
|
|
24088
|
+
"pipelineOrchestrator.setAgentCapabilities": {
|
|
24089
|
+
capName: "pipeline-orchestrator",
|
|
24090
|
+
capScope: "system",
|
|
24091
|
+
addonId: null,
|
|
24092
|
+
access: "create"
|
|
24093
|
+
},
|
|
24094
|
+
"pipelineOrchestrator.setAgentDetectWeight": {
|
|
24095
|
+
capName: "pipeline-orchestrator",
|
|
24096
|
+
capScope: "system",
|
|
24097
|
+
addonId: null,
|
|
24098
|
+
access: "create"
|
|
24099
|
+
},
|
|
24074
24100
|
"pipelineOrchestrator.setAgentMaxCameras": {
|
|
24075
24101
|
capName: "pipeline-orchestrator",
|
|
24076
24102
|
capScope: "system",
|
|
@@ -24227,30 +24253,6 @@ Object.freeze({
|
|
|
24227
24253
|
addonId: null,
|
|
24228
24254
|
access: "view"
|
|
24229
24255
|
},
|
|
24230
|
-
"platformProbe.getHardwareDecodeAccels": {
|
|
24231
|
-
capName: "platform-probe",
|
|
24232
|
-
capScope: "system",
|
|
24233
|
-
addonId: null,
|
|
24234
|
-
access: "view"
|
|
24235
|
-
},
|
|
24236
|
-
"platformProbe.getHardwareEncoders": {
|
|
24237
|
-
capName: "platform-probe",
|
|
24238
|
-
capScope: "system",
|
|
24239
|
-
addonId: null,
|
|
24240
|
-
access: "view"
|
|
24241
|
-
},
|
|
24242
|
-
"platformProbe.refreshHardwareDecodeAccels": {
|
|
24243
|
-
capName: "platform-probe",
|
|
24244
|
-
capScope: "system",
|
|
24245
|
-
addonId: null,
|
|
24246
|
-
access: "create"
|
|
24247
|
-
},
|
|
24248
|
-
"platformProbe.refreshHardwareEncoders": {
|
|
24249
|
-
capName: "platform-probe",
|
|
24250
|
-
capScope: "system",
|
|
24251
|
-
addonId: null,
|
|
24252
|
-
access: "create"
|
|
24253
|
-
},
|
|
24254
24256
|
"platformProbe.resolveHwAccel": {
|
|
24255
24257
|
capName: "platform-probe",
|
|
24256
24258
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -17896,7 +17896,17 @@ var AgentAddonConfigSchema = object({
|
|
|
17896
17896
|
});
|
|
17897
17897
|
var AgentPipelineSettingsSchema = object({
|
|
17898
17898
|
addonDefaults: record(string(), AgentAddonConfigSchema).readonly(),
|
|
17899
|
-
maxCameras: number().int().nonnegative().nullable().default(null)
|
|
17899
|
+
maxCameras: number().int().nonnegative().nullable().default(null),
|
|
17900
|
+
/** Per-node detection weight (relative share for the quota balancer). */
|
|
17901
|
+
detectWeight: number().positive().optional(),
|
|
17902
|
+
/** Node is eligible to run the detection pipeline (decode + inference). */
|
|
17903
|
+
detect: boolean().optional(),
|
|
17904
|
+
/** Node is eligible to host decoder sessions. */
|
|
17905
|
+
decode: boolean().optional(),
|
|
17906
|
+
/** Node is eligible to run audio-analyzer sessions. */
|
|
17907
|
+
audio: boolean().optional(),
|
|
17908
|
+
/** Node is eligible to be the ingest / source-owner (serve the restream). */
|
|
17909
|
+
ingest: boolean().optional()
|
|
17900
17910
|
});
|
|
17901
17911
|
var CameraPipelineForAgentSchema = object({
|
|
17902
17912
|
steps: array(PipelineStepInputSchema).readonly(),
|
|
@@ -17971,7 +17981,10 @@ var AgentLoadSummarySchema = object({
|
|
|
17971
17981
|
online: boolean(),
|
|
17972
17982
|
load: RunnerLocalLoadSchema,
|
|
17973
17983
|
/** Computed score used by the L2 capacity balancer (lower = less loaded). */
|
|
17974
|
-
score: number()
|
|
17984
|
+
score: number(),
|
|
17985
|
+
/** This node's decode hwaccel backend (per-node `probedBestHwaccel`), or null
|
|
17986
|
+
* when not yet probed — for the cluster Pipeline table UI (P0.2). */
|
|
17987
|
+
decodeHwaccel: string().nullable()
|
|
17975
17988
|
});
|
|
17976
17989
|
/**
|
|
17977
17990
|
* Aggregate metrics across the whole detection cluster. Replaces the legacy
|
|
@@ -18199,6 +18212,21 @@ method(object({
|
|
|
18199
18212
|
}), object({ success: literal(true) }), {
|
|
18200
18213
|
kind: "mutation",
|
|
18201
18214
|
auth: "admin"
|
|
18215
|
+
}), method(object({
|
|
18216
|
+
agentNodeId: string(),
|
|
18217
|
+
detectWeight: number().positive().nullable()
|
|
18218
|
+
}), object({ success: literal(true) }), {
|
|
18219
|
+
kind: "mutation",
|
|
18220
|
+
auth: "admin"
|
|
18221
|
+
}), method(object({
|
|
18222
|
+
agentNodeId: string(),
|
|
18223
|
+
detect: boolean().nullable().optional(),
|
|
18224
|
+
decode: boolean().nullable().optional(),
|
|
18225
|
+
audio: boolean().nullable().optional(),
|
|
18226
|
+
ingest: boolean().nullable().optional()
|
|
18227
|
+
}), object({ success: literal(true) }), {
|
|
18228
|
+
kind: "mutation",
|
|
18229
|
+
auth: "admin"
|
|
18202
18230
|
}), method(object({ deviceId: number() }), CameraPipelineSettingsSchema.nullable()), method(object({
|
|
18203
18231
|
deviceId: number(),
|
|
18204
18232
|
addonId: string(),
|
|
@@ -20507,7 +20535,7 @@ var HardwareEncoderIdSchema = _enum([
|
|
|
20507
20535
|
"libx264",
|
|
20508
20536
|
"libx265"
|
|
20509
20537
|
]);
|
|
20510
|
-
|
|
20538
|
+
object({
|
|
20511
20539
|
encoders: array(object({
|
|
20512
20540
|
encoder: HardwareEncoderIdSchema,
|
|
20513
20541
|
codec: _enum(["H264", "H265"]),
|
|
@@ -20526,15 +20554,7 @@ var HardwareEncodersSchema = object({
|
|
|
20526
20554
|
defaultH265: HardwareEncoderIdSchema,
|
|
20527
20555
|
probedAt: number()
|
|
20528
20556
|
});
|
|
20529
|
-
|
|
20530
|
-
* Decode-side companion to {@link HardwareEncodersSchema}: the `-hwaccel`
|
|
20531
|
-
* methods the configured ffmpeg binary actually supports (parsed from
|
|
20532
|
-
* `ffmpeg -hwaccels`). Used to gate decode-hwaccel attempts so the transcode
|
|
20533
|
-
* egress never spends a spawn on a backend this build cannot offer. Per-stream
|
|
20534
|
-
* decode fragility (e.g. VideoToolbox HEVC) is still handled by the egress's
|
|
20535
|
-
* software fallback — this only filters out wholly-unsupported backends.
|
|
20536
|
-
*/
|
|
20537
|
-
var HardwareDecodeAccelsSchema = object({
|
|
20557
|
+
object({
|
|
20538
20558
|
methods: array(string()).readonly(),
|
|
20539
20559
|
probedAt: number()
|
|
20540
20560
|
});
|
|
@@ -20597,13 +20617,7 @@ var ResolvedInferenceConfigSchema = object({
|
|
|
20597
20617
|
format: ModelFormatSchema,
|
|
20598
20618
|
reason: string()
|
|
20599
20619
|
});
|
|
20600
|
-
method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema)
|
|
20601
|
-
kind: "mutation",
|
|
20602
|
-
auth: "admin"
|
|
20603
|
-
}), method(_void(), HardwareDecodeAccelsSchema), method(_void(), HardwareDecodeAccelsSchema, {
|
|
20604
|
-
kind: "mutation",
|
|
20605
|
-
auth: "admin"
|
|
20606
|
-
});
|
|
20620
|
+
method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
|
|
20607
20621
|
var PtzPresetSchema = object({
|
|
20608
20622
|
id: string(),
|
|
20609
20623
|
name: string()
|
|
@@ -24072,6 +24086,18 @@ Object.freeze({
|
|
|
24072
24086
|
addonId: null,
|
|
24073
24087
|
access: "create"
|
|
24074
24088
|
},
|
|
24089
|
+
"pipelineOrchestrator.setAgentCapabilities": {
|
|
24090
|
+
capName: "pipeline-orchestrator",
|
|
24091
|
+
capScope: "system",
|
|
24092
|
+
addonId: null,
|
|
24093
|
+
access: "create"
|
|
24094
|
+
},
|
|
24095
|
+
"pipelineOrchestrator.setAgentDetectWeight": {
|
|
24096
|
+
capName: "pipeline-orchestrator",
|
|
24097
|
+
capScope: "system",
|
|
24098
|
+
addonId: null,
|
|
24099
|
+
access: "create"
|
|
24100
|
+
},
|
|
24075
24101
|
"pipelineOrchestrator.setAgentMaxCameras": {
|
|
24076
24102
|
capName: "pipeline-orchestrator",
|
|
24077
24103
|
capScope: "system",
|
|
@@ -24228,30 +24254,6 @@ Object.freeze({
|
|
|
24228
24254
|
addonId: null,
|
|
24229
24255
|
access: "view"
|
|
24230
24256
|
},
|
|
24231
|
-
"platformProbe.getHardwareDecodeAccels": {
|
|
24232
|
-
capName: "platform-probe",
|
|
24233
|
-
capScope: "system",
|
|
24234
|
-
addonId: null,
|
|
24235
|
-
access: "view"
|
|
24236
|
-
},
|
|
24237
|
-
"platformProbe.getHardwareEncoders": {
|
|
24238
|
-
capName: "platform-probe",
|
|
24239
|
-
capScope: "system",
|
|
24240
|
-
addonId: null,
|
|
24241
|
-
access: "view"
|
|
24242
|
-
},
|
|
24243
|
-
"platformProbe.refreshHardwareDecodeAccels": {
|
|
24244
|
-
capName: "platform-probe",
|
|
24245
|
-
capScope: "system",
|
|
24246
|
-
addonId: null,
|
|
24247
|
-
access: "create"
|
|
24248
|
-
},
|
|
24249
|
-
"platformProbe.refreshHardwareEncoders": {
|
|
24250
|
-
capName: "platform-probe",
|
|
24251
|
-
capScope: "system",
|
|
24252
|
-
addonId: null,
|
|
24253
|
-
access: "create"
|
|
24254
|
-
},
|
|
24255
24257
|
"platformProbe.resolveHwAccel": {
|
|
24256
24258
|
capName: "platform-probe",
|
|
24257
24259
|
capScope: "system",
|
package/package.json
CHANGED