@camstack/addon-post-analysis 1.2.359 → 1.2.360

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.
@@ -1,4 +1,4 @@
1
- import { $ as MotionTriggeredBySchema, $n as embeddingRefusalOf, $r as servedTemplateVars, A as DetectionSourceSchema, Ai as _enum, An as alarmPanelCapability, Ar as notificationRulesCapability, At as NcConditionDescriptorSchema, B as FailureCounters, Bi as strictObject, Bn as cloneAlarmSettings, Br as resolveLocationMode, Bt as NcScheduleSchema, C as CoverStateSchema, Ci as defineCustomActions, Cn as TrackRelationKindSchema, Cr as isSystemDelivery, Ct as NC_TAXONOMY, D as DETECTION_MACRO_CLASSES, Dn as activateAlarmProfile, Dr as linkedStepOf, Dt as NcAlarmSensorsInputSchema, E as DEFAULT_TIMELAPSE_PREVIEW_TEXT, Ei as nodePin, En as TrackSourceSchema, Er as kebabToCamel, Et as NcAlarmPostTriggeredActionSchema, F as EVENT_KIND_BY_CAP, Fi as looseObject, Fn as assertTimelapseCadences, Fr as readDeviceStateFrom, Ft as NcRuleInputSchema, G as LockStateSchema, Gi as unknown, Gn as deleteAlarmProfile, Gr as ruleAutoTriggersAlarm, Gt as NcStateSummarySectionIdSchema, H as LabelAttributionSchema, Hi as templateLiteral, Hn as coreBlockIdFromAddonId, Hr as resolveModeNotifyPolicy, Ht as NcSnoozeInputSchema, I as EVENT_OWNER_TYPES, Ii as number, In as audioMetricsCapability, Ir as readMotionTriggeredBy, It as NcRulePatchSchema, J as MAX_BIRTH_LATENCY_PROXY_MS, Jn as deriveRecordingMode, Jr as ruleGroupingApplies, Jt as NcTemplatePreviewInputSchema, K as MAX_ARCHIVED_DEBUG_NOTES, Ki as EventCategory, Kn as deriveDetailCropRect, Kr as ruleBelongsToAlarm$1, Kt as NcSystemEventKindSchema, L as EXPORT_DENSE_MAX_RANGES, Li as object, Ln as audioModeOf, Lr as readTimelapseGeneratedAt, Lt as NcRuleSchema, M as EMBEDDING_REQUIREMENTS_FAILED, Mi as boolean, Mn as applyModeDelaysEdits, Mt as NcLegacyRuleActionSequenceSchema, N as EMBEDDING_REQUIREMENTS_UNAVAILABLE, Ni as discriminatedUnion, Nn as applyNonBlockingEdit, Nr as pipelineAnalyticsCapability, Nt as NcRuleActionSchema, O as DETECTION_PIPELINE_CAP_NAME, Oi as sleep$1, On as addonWidgetsSourceCapability, Or as mayWriteToLocation, Ot as NcAlarmSensorsSchema, P as EVENT_DENSITY_BATCH_MAX, Pi as literal, Pn as applySecureOnArmEdit, Pr as plateGalleryCapability, Pt as NcRuleActionsSchema, Q as MediaFileKindEnum, Qr as sensorRaisedOf, Qt as OpsLogEntrySchema, R as FIRST_LEVEL_MACRO_CLASSES, Ri as partialRecord, Rn as buildEventKindDescriptor, Rr as renameAlarmProfile, Rt as NcRuleTargetSchema, S as ClearTrackRelationResultSchema, Si as customAction, Sn as TrackPuritySchema, Sr as isScheduleActive, St as NC_TANK_SYSTEM_EVENT_KINDS, T as DEFAULT_EVENT_COLOR, Ti as isDeviceScopedCap, Tn as TrackSideSchema, Tr as isVectorIndexDimConflict, Tt as NcAlarmConfigSchema, U as ListTrackRelationsInputSchema, Ui as tuple, Un as cosineSimilarity$1, Ut as NcSnoozeSchema, V as LABEL_SUPPLY_MACRO, Vi as string, Vn as consumableLowPercentOf, Vr as resolveModeDelays, Vt as NcSharedSequenceSchema, W as ListTrackRelationsResultSchema, Wi as union, Wn as createAlarmProfile, Wr as rootSupplyServes, Wt as NcSnoozeSuppressedSchema, X as MAX_TRACK_RELATIONS, Xn as describeSystemEventFamilyProblem, Xr as sceneMonitorCapability, Xt as NcTemplateVarDescriptorSchema, Y as MAX_TRACK_PURITIES, Yn as describeSystemEventDeliveryProblem, Yr as ruleKindOf, Yt as NcTemplatePreviewSchema, Z as MOTION_CLOSE_AFTER_MS, Zr as secureActuationFor, Zt as OPS_LOG_DEFAULT_LIMIT, _ as BIRTH_DECISION_DEFAULT_LIMIT, _i as DeviceType, _n as TIMELAPSE_DENSE_FLOOR_SEC, _r as isKnownTemplateVar, _t as NC_GROUPING_MAX_SEC, a as CLIP_EMBEDDING_STEP_ID, ai as systemEventFilterApplies, an as SCENE_CONFIRM_DEFAULT_TIMEOUT_MS, ar as evictionPolicyOfLocation, at as NC_ALARM_SYSTEM_EVENT_KINDS, b as COCO_TO_MACRO, bi as CamProfileSchema, bn as TimelapseRulePatchSchema, br as isRetiredClearKey, bt as NC_SNOOZE_MAX_MINUTES, c as resolveClusterModelPin, ci as templateCarriesSummary, cn as SCENE_DEFAULT_OBSERVATION_SPACING_SEC, cr as gifDeriveSpeed, ct as NC_AUDIO_CONFIRM_WINDOW_SEC_DEFAULT, d as APPEARANCE_BLOCKS, di as viewerLinkBaseOf, dn as SCENE_DIVERGED, dr as isAppLinkBase, dt as NC_CLIP_RETENTION_MAX_SEC, ei as storageOccupancyCapability, en as RECORDING_EXPORT_MAX_READ_BYTES, et as NC_ALARM_DEFAULT_PROFILE_ID, f as APPEARANCE_RESOLVES_AMBIGUITY_DEFAULT, fi as zoneAnalyticsCapability, fn as SCENE_RESET_RECAPTURES, fr as isAudioClassName, ft as NC_CONDITION_CATALOG, g as ArchivedDebugNoteSchema, gi as isSourceCap, gn as SetTrackRelationInputSchema, gr as isEventOwnerType, gt as NC_GROUPING_DEFAULT_SEC, h as AlarmArmModeSchema, hi as evaluateSensorEdge, hn as SetTrackPurityResultSchema, hr as isEventKindLabelKey, ht as NC_DEFAULT_SNOOZE_MINUTES, ii as systemEventFamilyProblems, in as SCENE_CONFIRM_DEFAULT_MAX_IMAGE_PX, ir as eventKindLabel, it as NC_ALARM_NOTIFY_FIELDS, j as EMBEDDING_MODEL_FAILED, ji as array, jn as applyBlockingEdit, jr as occupancyScope, jt as NcConditionsSchema, k as DeclaredDevices, ki as ZodObject, kn as alarmDeviceSecureOnArm, kr as memoizePinnedFfmpeg, kt as NcAlarmSettingsPatchSchema, l as ALL_CAPABILITY_DEFINITIONS, li as templateVarsFor, ln as SCENE_DEFAULT_QUIET_SECONDS, lr as gifFromMp4Args, lt as NC_CLIP_POST_ROLL_DEFAULT_SEC, m as AUDIO_MACRO_LABELS, mi as canonicalHash, mn as SetTrackPurityInputSchema, mr as isDetectionMacroClass, mt as NC_CONSUMABLE_SYSTEM_EVENT_KINDS, ni as syncActiveAlarmProfileSettings, nn as RebuildObjectEmbeddingsRefusalSchema, nr as encodeVectorBase64, nt as NC_ALARM_DELAY_FIELDS, o as FACE_EMBEDDING_STEP_ID, oi as systemEventSummaryScheduleOf, on as SCENE_DEFAULT_ANCHOR_THRESHOLD, or as faceGalleryCapability, ot as NC_ALARM_TRIGGERED_MAX_SEC, p as ARCHIVED_DEBUG_NOTES_DEFAULT_LIMIT, pi as DEFAULT_FIRST_SIGHTING_FRESHNESS_MS, pn as SceneMonitorSchema, pr as isDefaultAlarmProfileId, pt as NC_CONSUMABLE_LOW_PERCENT_DEFAULT, q as MAX_BIRTH_DECISION_RECORDS, qn as derivePostTriggeredAction, qr as ruleDeviceCompatCapQueries, qt as NcTaxonomySchema, ri as systemEventDeliveryProblems, rn as RetrainStatusSchema, rr as ensureAlarmProfiles, rt as NC_ALARM_DELAY_MAX_SEC, s as readClusterModelPinStrict, si as systemEventSummarySplitOf, sn as SCENE_DEFAULT_CHECK_INTERVAL_SEC, sr as failureContributionCapability, st as NC_AUDIO_CONFIRM_HITS_DEFAULT, t as BUILTIN_CLIP_MODELS, ti as subKindsOf, tn as RECORDING_SOURCE_CAMSTACK_ADDON, tt as NC_ALARM_DEFAULT_TRIGGERED_DURATION_SEC, u as APPEARANCE_BIN_COUNT, ui as vectorDimFromBase64, un as SCENE_DEFAULT_UNCOVERED_POLICY, ur as isAlarmControllableCap, ut as NC_CLIP_PRE_ROLL_DEFAULT_SEC, v as BaseDevice, vi as errMsg, vn as TRACK_RELATIONS_DEFAULT_LIMIT, vr as isLabelSupplyStepId, vt as NC_GROUPING_MIN_SEC, w as DEFAULT_DETAIL_CROP_CONVENTION, wi as hydrateSchema, wn as TrackRelationSchema, wr as isSystemEventSummaryRule, wt as NC_TEMPLATE_VARS, x as ClearTrackRelationInputSchema, xi as createEvent, xn as TimelapseRuleSchema, xr as isRootSuppliableStepId, xt as NC_SYSTEM_EVENT_KIND_GROUP_SPECS, y as BirthDecisionRecordSchema, yi as BaseAddon, yn as TimelapseRuleInputSchema, yr as isMediaOwnerType, yt as NC_SENSOR_TRANSITION_KINDS, z as FULL_IMAGE_BBOX, zi as record, zn as buildViewerLink, zr as resolveClipSearchMinScore, zt as NcRuleUpdateInputSchema } from "../clip-model-registry-LnBofk4d.mjs";
1
+ import { $ as NC_ALARM_DEFAULT_PROFILE_ID, $r as storageOccupancyCapability, $t as RECORDING_EXPORT_MAX_READ_BYTES, A as EMBEDDING_MODEL_FAILED, Ai as array, An as applyBlockingEdit, Ar as occupancyScope, At as NcConditionsSchema, B as LABEL_SUPPLY_MACRO, Bi as string, Bn as consumableLowPercentOf, Br as resolveModeDelays, Bt as NcSharedSequenceSchema, C as DEFAULT_DETAIL_CROP_CONVENTION, Ci as hydrateSchema, Cn as TrackRelationSchema, Cr as isSystemEventSummaryRule, Ct as NC_TEMPLATE_VARS, D as DETECTION_PIPELINE_CAP_NAME, Di as sleep$1, Dn as addonWidgetsSourceCapability, Dr as mayWriteToLocation, Dt as NcAlarmSensorsSchema, E as DETECTION_MACRO_CLASSES, En as activateAlarmProfile, Er as linkedStepOf, Et as NcAlarmSensorsInputSchema, F as EVENT_OWNER_TYPES, Fi as number, Fn as audioMetricsCapability, Fr as readMotionTriggeredBy, Ft as NcRulePatchSchema, G as MAX_ARCHIVED_DEBUG_NOTES, Gi as EventCategory, Gn as deriveDetailCropRect, Gr as ruleBelongsToAlarm$1, Gt as NcSystemEventKindSchema, H as ListTrackRelationsInputSchema, Hi as tuple, Hn as cosineSimilarity$1, Ht as NcSnoozeSchema, I as EXPORT_DENSE_MAX_RANGES, Ii as object, In as audioModeOf, Ir as readTimelapseGeneratedAt, It as NcRuleSchema, J as MAX_TRACK_PURITIES, Jn as describeSystemEventDeliveryProblem, Jr as ruleKindOf, Jt as NcTemplatePreviewSchema, K as MAX_BIRTH_DECISION_RECORDS, Kn as derivePostTriggeredAction, Kr as ruleDeviceCompatCapQueries, Kt as NcTaxonomySchema, L as FIRST_LEVEL_MACRO_CLASSES, Li as partialRecord, Ln as buildEventKindDescriptor, Lr as renameAlarmProfile, Lt as NcRuleTargetSchema, M as EMBEDDING_REQUIREMENTS_UNAVAILABLE, Mi as discriminatedUnion, Mn as applyNonBlockingEdit, Mr as pipelineAnalyticsCapability, Mt as NcRuleActionSchema, N as EVENT_DENSITY_BATCH_MAX, Ni as literal, Nn as applySecureOnArmEdit, Nr as plateGalleryCapability, Nt as NcRuleActionsSchema, O as DeclaredDevices, Oi as ZodObject, On as alarmDeviceSecureOnArm, Or as memoizePinnedFfmpeg, Ot as NcAlarmSettingsPatchSchema, P as EVENT_KIND_BY_CAP, Pi as looseObject, Pn as assertTimelapseCadences, Pr as readDeviceStateFrom, Pt as NcRuleInputSchema, Q as MotionTriggeredBySchema, Qn as embeddingRefusalOf, Qr as servedTemplateVars, R as FULL_IMAGE_BBOX, Ri as record, Rn as buildViewerLink, Rr as resolveClipSearchMinScore, Rt as NcRuleUpdateInputSchema, S as CoverStateSchema, Si as defineCustomActions, Sn as TrackRelationKindSchema, Sr as isSystemDelivery, St as NC_TAXONOMY, T as DEFAULT_TIMELAPSE_PREVIEW_TEXT, Ti as nodePin, Tn as TrackSourceSchema, Tr as kebabToCamel, Tt as NcAlarmPostTriggeredActionSchema, U as ListTrackRelationsResultSchema, Ui as union, Un as createAlarmProfile, Ur as rootSupplyServes, Ut as NcSnoozeSuppressedSchema, V as LabelAttributionSchema, Vi as templateLiteral, Vn as coreBlockIdFromAddonId, Vr as resolveModeNotifyPolicy, Vt as NcSnoozeInputSchema, W as LockStateSchema, Wi as unknown, Wn as deleteAlarmProfile, Wr as ruleAutoTriggersAlarm, Wt as NcStateSummarySectionIdSchema, X as MOTION_CLOSE_AFTER_MS, Xr as secureActuationFor, Xt as OPS_LOG_DEFAULT_LIMIT, Y as MAX_TRACK_RELATIONS, Yn as describeSystemEventFamilyProblem, Yr as sceneMonitorCapability, Yt as NcTemplateVarDescriptorSchema, Z as MediaFileKindEnum, Zr as sensorRaisedOf, Zt as OpsLogEntrySchema, _ as BaseDevice, _i as errMsg, _n as TRACK_RELATIONS_DEFAULT_LIMIT, _r as isLabelSupplyStepId, _t as NC_GROUPING_MIN_SEC, a as CLIP_EMBEDDING_STEP_ID, ai as systemEventSummaryScheduleOf, an as SCENE_DEFAULT_ANCHOR_THRESHOLD, ar as faceGalleryCapability, at as NC_ALARM_TRIGGERED_MAX_SEC, b as ClearTrackRelationInputSchema, bi as createEvent, bn as TimelapseRuleSchema, br as isRootSuppliableStepId, bt as NC_SYSTEM_EVENT_KIND_GROUP_SPECS, c as resolveClusterModelPin, ci as templateVarsFor, cn as SCENE_DEFAULT_QUIET_SECONDS, cr as gifFromMp4Args, ct as NC_CLIP_POST_ROLL_DEFAULT_SEC, d as APPEARANCE_RESOLVES_AMBIGUITY_DEFAULT, di as zoneAnalyticsCapability, dn as SCENE_RESET_RECAPTURES, dr as isAudioClassName, dt as NC_CONDITION_CATALOG, ei as subKindsOf, en as RECORDING_SOURCE_CAMSTACK_ADDON, et as NC_ALARM_DEFAULT_TRIGGERED_DURATION_SEC, f as ARCHIVED_DEBUG_NOTES_DEFAULT_LIMIT, fi as DEFAULT_FIRST_SIGHTING_FRESHNESS_MS, fn as SceneMonitorSchema, fr as isDefaultAlarmProfileId, ft as NC_CONSUMABLE_LOW_PERCENT_DEFAULT, g as BIRTH_DECISION_DEFAULT_LIMIT, gi as DeviceType, gn as TIMELAPSE_DENSE_FLOOR_SEC, gr as isKnownTemplateVar, gt as NC_GROUPING_MAX_SEC, h as ArchivedDebugNoteSchema, hi as isSourceCap, hn as SetTrackRelationInputSchema, hr as isEventOwnerType, ht as NC_GROUPING_DEFAULT_SEC, ii as systemEventFilterApplies, in as SCENE_CONFIRM_DEFAULT_TIMEOUT_MS, ir as evictionPolicyOfLocation, it as NC_ALARM_SYSTEM_EVENT_KINDS, j as EMBEDDING_REQUIREMENTS_FAILED, ji as boolean, jn as applyModeDelaysEdits, jt as NcLegacyRuleActionSequenceSchema, k as DetectionSourceSchema, ki as _enum, kn as alarmPanelCapability, kr as notificationRulesCapability, kt as NcConditionDescriptorSchema, l as APPEARANCE_BIN_COUNT, li as vectorDimFromBase64, ln as SCENE_DEFAULT_UNCOVERED_POLICY, lr as isAlarmControllableCap, lt as NC_CLIP_PRE_ROLL_DEFAULT_SEC, m as AlarmArmModeSchema, mi as evaluateSensorEdge, mn as SetTrackPurityResultSchema, mr as isEventKindLabelKey, mt as NC_DEFAULT_SNOOZE_MINUTES, ni as systemEventDeliveryProblems, nn as RetrainStatusSchema, nr as ensureAlarmProfiles, nt as NC_ALARM_DELAY_MAX_SEC, o as FACE_EMBEDDING_STEP_ID, oi as systemEventSummarySplitOf, on as SCENE_DEFAULT_CHECK_INTERVAL_SEC, or as failureContributionCapability, ot as NC_AUDIO_CONFIRM_HITS_DEFAULT, p as AUDIO_MACRO_LABELS, pi as canonicalHash, pn as SetTrackPurityInputSchema, pr as isDetectionMacroClass, pt as NC_CONSUMABLE_SYSTEM_EVENT_KINDS, q as MAX_BIRTH_LATENCY_PROXY_MS, qn as deriveRecordingMode, qr as ruleGroupingApplies, qt as NcTemplatePreviewInputSchema, ri as systemEventFamilyProblems, rn as SCENE_CONFIRM_DEFAULT_MAX_IMAGE_PX, rr as eventKindLabel, rt as NC_ALARM_NOTIFY_FIELDS, s as readClusterModelPinStrict, si as templateCarriesSummary, sn as SCENE_DEFAULT_OBSERVATION_SPACING_SEC, sr as gifDeriveSpeed, st as NC_AUDIO_CONFIRM_WINDOW_SEC_DEFAULT, t as BUILTIN_CLIP_MODELS, ti as syncActiveAlarmProfileSettings, tn as RebuildObjectEmbeddingsRefusalSchema, tr as encodeVectorBase64, tt as NC_ALARM_DELAY_FIELDS, u as APPEARANCE_BLOCKS, ui as viewerLinkBaseOf, un as SCENE_DIVERGED, ur as isAppLinkBase, ut as NC_CLIP_RETENTION_MAX_SEC, v as BirthDecisionRecordSchema, vi as BaseAddon, vn as TimelapseRuleInputSchema, vr as isMediaOwnerType, vt as NC_SENSOR_TRANSITION_KINDS, w as DEFAULT_EVENT_COLOR, wi as isDeviceScopedCap, wn as TrackSideSchema, wr as isVectorIndexDimConflict, wt as NcAlarmConfigSchema, x as ClearTrackRelationResultSchema, xi as customAction, xn as TrackPuritySchema, xr as isScheduleActive, xt as NC_TANK_SYSTEM_EVENT_KINDS, y as COCO_TO_MACRO, yi as CamProfileSchema, yn as TimelapseRulePatchSchema, yr as isRetiredClearKey, yt as NC_SNOOZE_MAX_MINUTES, z as FailureCounters, zi as strictObject, zn as cloneAlarmSettings, zr as resolveLocationMode, zt as NcScheduleSchema } from "../clip-model-registry-JWEBSbx2.mjs";
2
2
  import { t as __exportAll } from "../embedding-encoder/index.mjs";
3
3
  import * as fs$1 from "node:fs";
4
4
  import { createWriteStream, promises } from "node:fs";
@@ -9,13 +9,13 @@ import { execFile } from "node:child_process";
9
9
  import { startEventLoopStallMonitor } from "@camstack/system/addon-utils";
10
10
  import { pipeline } from "node:stream/promises";
11
11
  import { Readable } from "node:stream";
12
+ import { createGzip, gunzip, gunzipSync, gzip, gzipSync } from "node:zlib";
13
+ import os from "node:os";
12
14
  import fs, { readFile } from "node:fs/promises";
13
15
  import sharp from "sharp";
14
- import os from "node:os";
15
16
  import { setTimeout as setTimeout$1 } from "node:timers/promises";
16
17
  import { isDeepStrictEqual, promisify } from "node:util";
17
18
  import { Buffer as Buffer$1 } from "node:buffer";
18
- import { createGzip, gunzip, gunzipSync, gzip, gzipSync } from "node:zlib";
19
19
  import { request } from "node:http";
20
20
  import { request as request$1 } from "node:https";
21
21
  //#region src/pipeline-analytics/media-occupancy.ts
@@ -4337,6 +4337,7 @@ var node_exports = /* @__PURE__ */ __exportAll({
4337
4337
  verifyExpiringUrl: () => verifyExpiringUrl,
4338
4338
  writeFileAtomic: () => writeFileAtomic
4339
4339
  });
4340
+ process.platform, process.env["SystemRoot"];
4340
4341
  /**
4341
4342
  * Download portable Python (headless) from bjia56/portable-python.
4342
4343
  *
@@ -4351,7 +4352,9 @@ var node_exports = /* @__PURE__ */ __exportAll({
4351
4352
  * The zip's top-level dir is platform-specific (e.g.
4352
4353
  * `python-headless-3.12.12-darwin-universal2/`); after extraction
4353
4354
  * we rename it to a stable `python/` so consumers can rely on
4354
- * `<dataDir>/deps/python/bin/python3`.
4355
+ * `<dataDir>/deps/python/bin/python3` (`bin/python.exe` on Windows: that build
4356
+ * keeps its launcher in `bin/` beside the DLLs, with `Lib/` at the root, so
4357
+ * `<root>/bin/<interpreter>` holds on every platform).
4355
4358
  */
4356
4359
  var PYTHON_VERSION = "3.12.12";
4357
4360
  `${PYTHON_VERSION}`;
@@ -49022,7 +49025,7 @@ function toAsciiZipName(name) {
49022
49025
  return name.replace(/[^A-Za-z0-9._/-]/g, "_");
49023
49026
  }
49024
49027
  /** CRC-32 (IEEE 802.3), the checksum every ZIP entry header carries. */
49025
- function crc32(buf) {
49028
+ function crc32$1(buf) {
49026
49029
  let c = 4294967295;
49027
49030
  for (const byte of buf) c = CRC_TABLE[(c ^ byte) & 255] ^ c >>> 8;
49028
49031
  return (c ^ 4294967295) >>> 0;
@@ -49152,7 +49155,7 @@ var ZipStreamWriter = class {
49152
49155
  async add(entry) {
49153
49156
  if (!this.fits(entry)) return false;
49154
49157
  const nameBytes = Buffer.from(toAsciiZipName(entry.name), "ascii");
49155
- const crc = crc32(entry.body);
49158
+ const crc = crc32$1(entry.body);
49156
49159
  const { time, date } = dosDateTime(entry.mtimeMs);
49157
49160
  const header = zipLocalHeader(entry, crc, nameBytes);
49158
49161
  this.entries.push({
@@ -104135,6 +104138,1994 @@ async function projectSensorMarkers(deps, data, timestamp) {
104135
104138
  });
104136
104139
  return landed;
104137
104140
  }
104141
+ Object.freeze({
104142
+ "addons": { "getLogs": { "limit": 100 } },
104143
+ "audio-analyzer": {
104144
+ "analyseChunk": { "settings": { "__nested__": {
104145
+ "minConfidence": .3,
104146
+ "allowedClasses": []
104147
+ } } },
104148
+ "attachDevice": { "settings": { "__nested__": {
104149
+ "minConfidence": .3,
104150
+ "allowedClasses": []
104151
+ } } }
104152
+ },
104153
+ "audio-codec": {
104154
+ "pullEncoded": { "maxCount": 8 },
104155
+ "pullPcm": { "maxCount": 8 }
104156
+ },
104157
+ "battery": { "wakeForStream": { "timeoutMs": 8e3 } },
104158
+ "device-adoption": { "listCandidates": {
104159
+ "page": 1,
104160
+ "pageSize": 50
104161
+ } },
104162
+ "device-manager": { "adoptionListCandidates": {
104163
+ "page": 1,
104164
+ "pageSize": 50
104165
+ } },
104166
+ "llm": { "upsertProfile": { "profile": { "__nested__": {
104167
+ "timeoutMs": 6e4,
104168
+ "connectTimeoutMs": 1e4,
104169
+ "firstTokenTimeoutMs": 12e4,
104170
+ "idleTimeoutMs": 6e4,
104171
+ "retry": {
104172
+ "enabled": false,
104173
+ "maxAttempts": 1
104174
+ },
104175
+ "toolsEnabled": false
104176
+ } } } },
104177
+ "llm-runtime": {
104178
+ "complete": { "runtime": { "__nested__": {
104179
+ "contextSize": 4096,
104180
+ "gpuLayers": 0,
104181
+ "parallel": 1,
104182
+ "flashAttention": false,
104183
+ "mlock": false,
104184
+ "noMmap": false,
104185
+ "extraArgs": [],
104186
+ "autoStart": false,
104187
+ "idleStopMinutes": 30
104188
+ } } },
104189
+ "ensureStarted": { "runtime": { "__nested__": {
104190
+ "contextSize": 4096,
104191
+ "gpuLayers": 0,
104192
+ "parallel": 1,
104193
+ "flashAttention": false,
104194
+ "mlock": false,
104195
+ "noMmap": false,
104196
+ "extraArgs": [],
104197
+ "autoStart": false,
104198
+ "idleStopMinutes": 30
104199
+ } } }
104200
+ },
104201
+ "mqtt-broker": { "startEmbeddedBroker": {
104202
+ "port": 1883,
104203
+ "allowAnonymous": false
104204
+ } },
104205
+ "nodes": { "getCapUsageGraph": { "windowSeconds": 60 } },
104206
+ "notification-output": { "send": { "notification": { "__nested__": {
104207
+ "format": "text",
104208
+ "priority": 3
104209
+ } } } },
104210
+ "notification-rules": {
104211
+ "createRule": { "rule": { "__nested__": {
104212
+ "enabled": true,
104213
+ "conditions": {},
104214
+ "media": { "attach": "best" },
104215
+ "throttle": {
104216
+ "cooldownSec": 60,
104217
+ "scope": "rule-device"
104218
+ },
104219
+ "priority": 3
104220
+ } } },
104221
+ "getHistory": { "filter": { "limit": 100 } },
104222
+ "previewStateSummary": { "rule": { "__nested__": {
104223
+ "enabled": true,
104224
+ "conditions": {},
104225
+ "media": { "attach": "best" },
104226
+ "throttle": {
104227
+ "cooldownSec": 60,
104228
+ "scope": "rule-device"
104229
+ },
104230
+ "priority": 3
104231
+ } } },
104232
+ "testRule": {
104233
+ "rule": { "__nested__": {
104234
+ "enabled": true,
104235
+ "conditions": {},
104236
+ "media": { "attach": "best" },
104237
+ "throttle": {
104238
+ "cooldownSec": 60,
104239
+ "scope": "rule-device"
104240
+ },
104241
+ "priority": 3
104242
+ } },
104243
+ "lookbackMinutes": 60
104244
+ }
104245
+ },
104246
+ "osd-manager": {
104247
+ "setSlotBinding": { "binding": { "__nested__": {
104248
+ "enabled": true,
104249
+ "template": "${value}",
104250
+ "maxDecimals": 1
104251
+ } } },
104252
+ "upsertTemplate": { "template": { "__nested__": {
104253
+ "bindings": [],
104254
+ "parser": ""
104255
+ } } }
104256
+ },
104257
+ "pipeline-analytics": {
104258
+ "getAudioEvents": { "limit": 1e3 },
104259
+ "getKeyEvents": { "limit": 50 },
104260
+ "getKeyEventsBatch": { "limit": 50 },
104261
+ "getMotionEvents": { "limit": 1e3 },
104262
+ "getObjectEvents": { "limit": 1e3 },
104263
+ "getSensorEvents": { "limit": 1e3 },
104264
+ "listRecentTracks": { "limit": 200 },
104265
+ "listRetrainCorpusPage": {
104266
+ "page": 1,
104267
+ "pageSize": 50
104268
+ },
104269
+ "reclaimDebugMedia": { "mode": "report" },
104270
+ "resolveRetrainTrainingCorpus": { "workState": "complete" },
104271
+ "searchObjectEvents": { "limit": 50 }
104272
+ },
104273
+ "pipeline-orchestrator": {
104274
+ "applyAutoTune": {
104275
+ "headroom": .4,
104276
+ "minSessionsPerDevice": 2
104277
+ },
104278
+ "getNodeBenchmarkPreflight": {
104279
+ "phases": ["device", "pipeline"],
104280
+ "steps": [],
104281
+ "fpsPerStream": 10,
104282
+ "budgetMinutes": 45,
104283
+ "keepDownloadedModels": false,
104284
+ "acceptInsufficientHeadroom": false
104285
+ },
104286
+ "getPlacementStats": { "windowMs": 36e5 },
104287
+ "planAutoTune": {
104288
+ "headroom": .4,
104289
+ "minSessionsPerDevice": 2
104290
+ },
104291
+ "setLoadBalancingShares": {
104292
+ "nodes": {},
104293
+ "devices": {}
104294
+ },
104295
+ "startNodeBenchmark": {
104296
+ "phases": ["device", "pipeline"],
104297
+ "steps": [],
104298
+ "fpsPerStream": 10,
104299
+ "budgetMinutes": 45,
104300
+ "keepDownloadedModels": false,
104301
+ "acceptInsufficientHeadroom": false
104302
+ },
104303
+ "suggestShares": {
104304
+ "headroom": .4,
104305
+ "source": "hardware"
104306
+ }
104307
+ },
104308
+ "pipeline-runner": {
104309
+ "attachCamera": {
104310
+ "detectionMode": "on-motion",
104311
+ "audioMode": "always-on",
104312
+ "motionCooldownMs": 3e4,
104313
+ "motionFps": 4,
104314
+ "detectionFps": 10,
104315
+ "motionSources": ["analyzer"],
104316
+ "detectionSources": ["pipeline"],
104317
+ "pipelineEnabled": true,
104318
+ "zones": [],
104319
+ "onboardMotionDrivesAnalyzer": true,
104320
+ "preRollInferenceEnabled": true,
104321
+ "preRollInferenceFrames": 12,
104322
+ "occupancyRecheckEnabled": true,
104323
+ "occupancyRecheckSec": 300,
104324
+ "occupancyRecheckFrames": 4,
104325
+ "frameSource": { "kind": "local-broker" }
104326
+ },
104327
+ "reportMotion": { "source": "analyzer" },
104328
+ "startNodeBench": {
104329
+ "steps": [],
104330
+ "settleSec": 5,
104331
+ "measureSec": 20,
104332
+ "keepDownloadedModels": false
104333
+ }
104334
+ },
104335
+ "recording-archive": {
104336
+ "renderClip": {
104337
+ "preRollSec": 3,
104338
+ "postRollSec": 7,
104339
+ "maxWidth": 640
104340
+ },
104341
+ "renderGif": {
104342
+ "preRollSec": 2,
104343
+ "postRollSec": 5,
104344
+ "maxWidth": 480,
104345
+ "fps": 5
104346
+ },
104347
+ "setDeviceConfig": { "config": { "__nested__": { "bands": [] } } }
104348
+ },
104349
+ "storage": { "upsertLocation": { "isSystem": false } },
104350
+ "storage-provider": {
104351
+ "beginDownload": { "location": { "__nested__": { "isSystem": false } } },
104352
+ "beginUpload": { "location": { "__nested__": { "isSystem": false } } },
104353
+ "delete": { "location": { "__nested__": { "isSystem": false } } },
104354
+ "exists": { "location": { "__nested__": { "isSystem": false } } },
104355
+ "getAvailableSpace": { "location": { "__nested__": { "isSystem": false } } },
104356
+ "list": { "location": { "__nested__": { "isSystem": false } } },
104357
+ "read": { "location": { "__nested__": { "isSystem": false } } },
104358
+ "resolve": { "location": { "__nested__": { "isSystem": false } } },
104359
+ "write": { "location": { "__nested__": { "isSystem": false } } }
104360
+ },
104361
+ "stream-broker": {
104362
+ "produceEventMedia": {
104363
+ "preSeconds": 4,
104364
+ "postSeconds": 6,
104365
+ "kinds": ["mp4"],
104366
+ "gifMaxWidth": 640,
104367
+ "gifFps": 12,
104368
+ "gifSpeed": 4,
104369
+ "speed": 4
104370
+ },
104371
+ "pullAudioChunks": { "maxCount": 8 },
104372
+ "renderPreBufferClip": {
104373
+ "preRollSec": 3,
104374
+ "postRollSec": 5,
104375
+ "format": "gif",
104376
+ "maxWidth": 480,
104377
+ "fps": 5,
104378
+ "speed": 2
104379
+ }
104380
+ },
104381
+ "terminal-session": { "pullOutput": { "waitMs": 0 } },
104382
+ "training": {
104383
+ "planJob": { "selection": { "__nested__": { "workState": "complete" } } },
104384
+ "startJob": { "selection": { "__nested__": { "workState": "complete" } } },
104385
+ "startJobBatch": { "selection": { "__nested__": { "workState": "complete" } } }
104386
+ },
104387
+ "user-management": { "createUser": { "isAdmin": false } },
104388
+ "vector-store": {
104389
+ "declareIndex": { "metric": "cosine" },
104390
+ "scan": { "cursor": 0 }
104391
+ },
104392
+ "zones": {
104393
+ "addZone": { "zone": { "__nested__": {
104394
+ "kind": "polygon",
104395
+ "color": "#3b82f6"
104396
+ } } },
104397
+ "updateZone": { "zone": { "__nested__": {
104398
+ "kind": "polygon",
104399
+ "color": "#3b82f6"
104400
+ } } }
104401
+ }
104402
+ });
104403
+ Object.freeze({
104404
+ "addon-pages-source": ["listPages"],
104405
+ "addon-routes": ["getRoutes"],
104406
+ "addon-widgets-source": ["listWidgets"],
104407
+ "broker": ["list", "listProviders"],
104408
+ "calendar-source": ["listCalendars", "listEvents"],
104409
+ "custom-model-registry": ["listModels"],
104410
+ "data-store-provider": ["histogram", "query"],
104411
+ "device-export": ["listExposedDevices", "listSupportedDeviceKinds"],
104412
+ "device-extension": ["listSlots", "listSources"],
104413
+ "device-provider": ["discoverDevices", "getDevices"],
104414
+ "failure-contribution": ["list"],
104415
+ "llm": [
104416
+ "getDefaults",
104417
+ "getUsage",
104418
+ "listModelCatalog",
104419
+ "listModels",
104420
+ "listNodeModels",
104421
+ "listProfileKinds",
104422
+ "listProfiles",
104423
+ "listRuntimeNodes"
104424
+ ],
104425
+ "load-contribution": ["list"],
104426
+ "log-channels": ["list"],
104427
+ "log-destination": ["query"],
104428
+ "login-method": ["getLoginMethods"],
104429
+ "mqtt-broker": ["listBrokers"],
104430
+ "network-access": ["listEndpoints"],
104431
+ "notification-output": [
104432
+ "discoverTargets",
104433
+ "listTargetKinds",
104434
+ "listTargets"
104435
+ ],
104436
+ "recording": ["listSources"],
104437
+ "storage-occupancy": ["getOccupancy"],
104438
+ "storage-provider": ["list"],
104439
+ "training-provider": [
104440
+ "describe",
104441
+ "describeTypes",
104442
+ "listEntries",
104443
+ "listJobs"
104444
+ ],
104445
+ "turn-provider": ["getTurnServers"],
104446
+ "user-passkeys": ["listPasskeys"],
104447
+ "videoclips": ["listClips", "listSources"]
104448
+ });
104449
+ Object.freeze({ "videoclips": [
104450
+ "dialClipStream",
104451
+ "getPlaybackOptions",
104452
+ "offerClipBytes",
104453
+ "readClipBytes"
104454
+ ] });
104455
+ /** cap name -> the numeric state field whose strict advance IS the cap's one-shot event. */
104456
+ var CAP_ADVANCE_FIELDS = Object.freeze({ "doorbell": "lastPressedAt" });
104457
+ Object.freeze({
104458
+ "air-quality-sensor": [
104459
+ {
104460
+ "path": "co2Ppm",
104461
+ "valueType": "number"
104462
+ },
104463
+ {
104464
+ "path": "vocPpb",
104465
+ "valueType": "number"
104466
+ },
104467
+ {
104468
+ "path": "pm25",
104469
+ "valueType": "number"
104470
+ },
104471
+ {
104472
+ "path": "pm10",
104473
+ "valueType": "number"
104474
+ },
104475
+ {
104476
+ "path": "aqi",
104477
+ "valueType": "number"
104478
+ },
104479
+ {
104480
+ "path": "unit",
104481
+ "valueType": "string"
104482
+ },
104483
+ {
104484
+ "path": "precision",
104485
+ "valueType": "number"
104486
+ }
104487
+ ],
104488
+ "alarm-panel": [
104489
+ {
104490
+ "path": "state",
104491
+ "valueType": "enum",
104492
+ "enumValues": [
104493
+ "disarmed",
104494
+ "armed_home",
104495
+ "armed_away",
104496
+ "armed_night",
104497
+ "armed_vacation",
104498
+ "armed_custom_bypass",
104499
+ "arming",
104500
+ "disarming",
104501
+ "pending",
104502
+ "triggered"
104503
+ ]
104504
+ },
104505
+ {
104506
+ "path": "targetMode",
104507
+ "valueType": "enum",
104508
+ "enumValues": [
104509
+ "home",
104510
+ "away",
104511
+ "night",
104512
+ "vacation",
104513
+ "custom_bypass"
104514
+ ]
104515
+ },
104516
+ {
104517
+ "path": "requiresCode",
104518
+ "valueType": "boolean"
104519
+ }
104520
+ ],
104521
+ "ambient-light-sensor": [
104522
+ {
104523
+ "path": "lux",
104524
+ "valueType": "number"
104525
+ },
104526
+ {
104527
+ "path": "unit",
104528
+ "valueType": "string"
104529
+ },
104530
+ {
104531
+ "path": "precision",
104532
+ "valueType": "number"
104533
+ }
104534
+ ],
104535
+ "audio-metrics": [
104536
+ {
104537
+ "path": "ts",
104538
+ "valueType": "number"
104539
+ },
104540
+ {
104541
+ "path": "windowSec",
104542
+ "valueType": "number"
104543
+ },
104544
+ {
104545
+ "path": "level.rms",
104546
+ "valueType": "number"
104547
+ },
104548
+ {
104549
+ "path": "level.dbfs",
104550
+ "valueType": "number"
104551
+ },
104552
+ {
104553
+ "path": "peakDbfs",
104554
+ "valueType": "number"
104555
+ },
104556
+ {
104557
+ "path": "avgDbfs",
104558
+ "valueType": "number"
104559
+ },
104560
+ {
104561
+ "path": "current.className",
104562
+ "valueType": "string"
104563
+ },
104564
+ {
104565
+ "path": "current.score",
104566
+ "valueType": "number"
104567
+ },
104568
+ {
104569
+ "path": "current.timestamp",
104570
+ "valueType": "number"
104571
+ }
104572
+ ],
104573
+ "automation-control": [
104574
+ {
104575
+ "path": "enabled",
104576
+ "valueType": "boolean"
104577
+ },
104578
+ {
104579
+ "path": "isRunning",
104580
+ "valueType": "boolean"
104581
+ },
104582
+ {
104583
+ "path": "lastTriggeredAt",
104584
+ "valueType": "number"
104585
+ },
104586
+ {
104587
+ "path": "lastError",
104588
+ "valueType": "string"
104589
+ }
104590
+ ],
104591
+ "battery": [
104592
+ {
104593
+ "path": "percentage",
104594
+ "valueType": "number"
104595
+ },
104596
+ {
104597
+ "path": "charging",
104598
+ "valueType": "enum",
104599
+ "enumValues": [
104600
+ "dc",
104601
+ "solar",
104602
+ "none",
104603
+ "unknown"
104604
+ ]
104605
+ },
104606
+ {
104607
+ "path": "sleeping",
104608
+ "valueType": "boolean"
104609
+ },
104610
+ {
104611
+ "path": "lastUpdated",
104612
+ "valueType": "number"
104613
+ },
104614
+ {
104615
+ "path": "lastContactAt",
104616
+ "valueType": "number"
104617
+ },
104618
+ {
104619
+ "path": "binary",
104620
+ "valueType": "boolean"
104621
+ }
104622
+ ],
104623
+ "binary": [{
104624
+ "path": "on",
104625
+ "valueType": "boolean"
104626
+ }],
104627
+ "brightness": [{
104628
+ "path": "percentage",
104629
+ "valueType": "number"
104630
+ }],
104631
+ "broker": [{
104632
+ "path": "brokerCount",
104633
+ "valueType": "number"
104634
+ }, {
104635
+ "path": "connectedCount",
104636
+ "valueType": "number"
104637
+ }],
104638
+ "camera-credentials": [
104639
+ {
104640
+ "path": "host",
104641
+ "valueType": "string"
104642
+ },
104643
+ {
104644
+ "path": "port",
104645
+ "valueType": "number"
104646
+ },
104647
+ {
104648
+ "path": "onvifPort",
104649
+ "valueType": "number"
104650
+ },
104651
+ {
104652
+ "path": "rtspPort",
104653
+ "valueType": "number"
104654
+ },
104655
+ {
104656
+ "path": "https",
104657
+ "valueType": "boolean"
104658
+ },
104659
+ {
104660
+ "path": "hasUsername",
104661
+ "valueType": "boolean"
104662
+ },
104663
+ {
104664
+ "path": "hasPassword",
104665
+ "valueType": "boolean"
104666
+ },
104667
+ {
104668
+ "path": "onvifProfile",
104669
+ "valueType": "string"
104670
+ }
104671
+ ],
104672
+ "camera-streams": [
104673
+ {
104674
+ "path": "online",
104675
+ "valueType": "boolean"
104676
+ },
104677
+ {
104678
+ "path": "slotStatuses.high",
104679
+ "valueType": "enum",
104680
+ "enumValues": [
104681
+ "unassigned",
104682
+ "idle",
104683
+ "connecting",
104684
+ "streaming",
104685
+ "error"
104686
+ ]
104687
+ },
104688
+ {
104689
+ "path": "slotStatuses.mid",
104690
+ "valueType": "enum",
104691
+ "enumValues": [
104692
+ "unassigned",
104693
+ "idle",
104694
+ "connecting",
104695
+ "streaming",
104696
+ "error"
104697
+ ]
104698
+ },
104699
+ {
104700
+ "path": "slotStatuses.low",
104701
+ "valueType": "enum",
104702
+ "enumValues": [
104703
+ "unassigned",
104704
+ "idle",
104705
+ "connecting",
104706
+ "streaming",
104707
+ "error"
104708
+ ]
104709
+ },
104710
+ {
104711
+ "path": "slotErrors.high",
104712
+ "valueType": "string"
104713
+ },
104714
+ {
104715
+ "path": "slotErrors.mid",
104716
+ "valueType": "string"
104717
+ },
104718
+ {
104719
+ "path": "slotErrors.low",
104720
+ "valueType": "string"
104721
+ }
104722
+ ],
104723
+ "carbon-monoxide": [{
104724
+ "path": "detected",
104725
+ "valueType": "boolean"
104726
+ }],
104727
+ "climate-control": [
104728
+ {
104729
+ "path": "mode",
104730
+ "valueType": "enum",
104731
+ "enumValues": [
104732
+ "off",
104733
+ "heat",
104734
+ "cool",
104735
+ "auto",
104736
+ "heat_cool",
104737
+ "fan_only",
104738
+ "dry"
104739
+ ]
104740
+ },
104741
+ {
104742
+ "path": "fanMode",
104743
+ "valueType": "string"
104744
+ },
104745
+ {
104746
+ "path": "preset",
104747
+ "valueType": "string"
104748
+ },
104749
+ {
104750
+ "path": "target",
104751
+ "valueType": "number"
104752
+ },
104753
+ {
104754
+ "path": "targetHigh",
104755
+ "valueType": "number"
104756
+ },
104757
+ {
104758
+ "path": "targetLow",
104759
+ "valueType": "number"
104760
+ },
104761
+ {
104762
+ "path": "targetHumidity",
104763
+ "valueType": "number"
104764
+ },
104765
+ {
104766
+ "path": "currentTemp",
104767
+ "valueType": "number"
104768
+ },
104769
+ {
104770
+ "path": "currentHumidity",
104771
+ "valueType": "number"
104772
+ },
104773
+ {
104774
+ "path": "swingVertical",
104775
+ "valueType": "boolean"
104776
+ },
104777
+ {
104778
+ "path": "swingHorizontal",
104779
+ "valueType": "boolean"
104780
+ }
104781
+ ],
104782
+ "color": [
104783
+ {
104784
+ "path": "mode",
104785
+ "valueType": "enum",
104786
+ "enumValues": [
104787
+ "rgb",
104788
+ "hsv",
104789
+ "mired"
104790
+ ]
104791
+ },
104792
+ {
104793
+ "path": "rgb.r",
104794
+ "valueType": "number"
104795
+ },
104796
+ {
104797
+ "path": "rgb.g",
104798
+ "valueType": "number"
104799
+ },
104800
+ {
104801
+ "path": "rgb.b",
104802
+ "valueType": "number"
104803
+ },
104804
+ {
104805
+ "path": "hsv.h",
104806
+ "valueType": "number"
104807
+ },
104808
+ {
104809
+ "path": "hsv.s",
104810
+ "valueType": "number"
104811
+ },
104812
+ {
104813
+ "path": "hsv.v",
104814
+ "valueType": "number"
104815
+ },
104816
+ {
104817
+ "path": "mireds",
104818
+ "valueType": "number"
104819
+ }
104820
+ ],
104821
+ "connectivity": [{
104822
+ "path": "connected",
104823
+ "valueType": "boolean"
104824
+ }],
104825
+ "contact": [{
104826
+ "path": "entryOpen",
104827
+ "valueType": "boolean"
104828
+ }],
104829
+ "control": [
104830
+ {
104831
+ "path": "kind",
104832
+ "valueType": "enum",
104833
+ "enumValues": [
104834
+ "numeric",
104835
+ "select",
104836
+ "text",
104837
+ "datetime"
104838
+ ]
104839
+ },
104840
+ {
104841
+ "path": "unit",
104842
+ "valueType": "string"
104843
+ },
104844
+ {
104845
+ "path": "min",
104846
+ "valueType": "number"
104847
+ },
104848
+ {
104849
+ "path": "max",
104850
+ "valueType": "number"
104851
+ },
104852
+ {
104853
+ "path": "step",
104854
+ "valueType": "number"
104855
+ },
104856
+ {
104857
+ "path": "precision",
104858
+ "valueType": "number"
104859
+ },
104860
+ {
104861
+ "path": "format",
104862
+ "valueType": "enum",
104863
+ "enumValues": [
104864
+ "date",
104865
+ "time",
104866
+ "datetime"
104867
+ ]
104868
+ }
104869
+ ],
104870
+ "cover": [
104871
+ {
104872
+ "path": "state",
104873
+ "valueType": "enum",
104874
+ "enumValues": [
104875
+ "open",
104876
+ "opening",
104877
+ "closing",
104878
+ "closed",
104879
+ "stopped"
104880
+ ]
104881
+ },
104882
+ {
104883
+ "path": "position",
104884
+ "valueType": "number"
104885
+ },
104886
+ {
104887
+ "path": "tiltPosition",
104888
+ "valueType": "number"
104889
+ }
104890
+ ],
104891
+ "day-night": [
104892
+ {
104893
+ "path": "mode",
104894
+ "valueType": "enum",
104895
+ "enumValues": [
104896
+ "auto",
104897
+ "day",
104898
+ "night",
104899
+ "schedule"
104900
+ ]
104901
+ },
104902
+ {
104903
+ "path": "sensitivity",
104904
+ "valueType": "number"
104905
+ },
104906
+ {
104907
+ "path": "switchDelaySec",
104908
+ "valueType": "number"
104909
+ }
104910
+ ],
104911
+ "device-adoption": [
104912
+ {
104913
+ "path": "lastDiscoveryAt",
104914
+ "valueType": "number"
104915
+ },
104916
+ {
104917
+ "path": "candidateCount",
104918
+ "valueType": "number"
104919
+ },
104920
+ {
104921
+ "path": "adoptedCount",
104922
+ "valueType": "number"
104923
+ },
104924
+ {
104925
+ "path": "lastError",
104926
+ "valueType": "string"
104927
+ }
104928
+ ],
104929
+ "device-discovery": [{
104930
+ "path": "lastDiscoveryAt",
104931
+ "valueType": "number"
104932
+ }, {
104933
+ "path": "lastError",
104934
+ "valueType": "string"
104935
+ }],
104936
+ "device-export": [
104937
+ {
104938
+ "path": "linkState",
104939
+ "valueType": "enum",
104940
+ "enumValues": [
104941
+ "unlinked",
104942
+ "linked",
104943
+ "error"
104944
+ ]
104945
+ },
104946
+ {
104947
+ "path": "exposedDeviceCount",
104948
+ "valueType": "number"
104949
+ },
104950
+ {
104951
+ "path": "error",
104952
+ "valueType": "string"
104953
+ },
104954
+ {
104955
+ "path": "setup.qr",
104956
+ "valueType": "string"
104957
+ },
104958
+ {
104959
+ "path": "setup.note",
104960
+ "valueType": "string"
104961
+ }
104962
+ ],
104963
+ "device-status": [{
104964
+ "path": "online",
104965
+ "valueType": "boolean"
104966
+ }],
104967
+ "doorbell": [{
104968
+ "path": "lastPressedAt",
104969
+ "valueType": "number"
104970
+ }, {
104971
+ "path": "pressCountSinceStart",
104972
+ "valueType": "number"
104973
+ }],
104974
+ "enum-sensor": [{
104975
+ "path": "value",
104976
+ "valueType": "string"
104977
+ }, {
104978
+ "path": "format",
104979
+ "valueType": "enum",
104980
+ "enumValues": [
104981
+ "date",
104982
+ "time",
104983
+ "datetime"
104984
+ ]
104985
+ }],
104986
+ "event-emitter": [
104987
+ {
104988
+ "path": "lastEvent.deviceId",
104989
+ "valueType": "number"
104990
+ },
104991
+ {
104992
+ "path": "lastEvent.eventType",
104993
+ "valueType": "string"
104994
+ },
104995
+ {
104996
+ "path": "lastEvent.timestamp",
104997
+ "valueType": "number"
104998
+ },
104999
+ {
105000
+ "path": "lastEvent.seq",
105001
+ "valueType": "number"
105002
+ },
105003
+ {
105004
+ "path": "eventCountSinceStart",
105005
+ "valueType": "number"
105006
+ }
105007
+ ],
105008
+ "fan-control": [
105009
+ {
105010
+ "path": "percentage",
105011
+ "valueType": "number"
105012
+ },
105013
+ {
105014
+ "path": "percentageStep",
105015
+ "valueType": "number"
105016
+ },
105017
+ {
105018
+ "path": "preset",
105019
+ "valueType": "string"
105020
+ },
105021
+ {
105022
+ "path": "direction",
105023
+ "valueType": "enum",
105024
+ "enumValues": ["forward", "reverse"]
105025
+ },
105026
+ {
105027
+ "path": "oscillating",
105028
+ "valueType": "boolean"
105029
+ }
105030
+ ],
105031
+ "feature-probe": [
105032
+ {
105033
+ "path": "deviceType",
105034
+ "valueType": "string"
105035
+ },
105036
+ {
105037
+ "path": "model",
105038
+ "valueType": "string"
105039
+ },
105040
+ {
105041
+ "path": "channelCount",
105042
+ "valueType": "number"
105043
+ },
105044
+ {
105045
+ "path": "lastProbedAt",
105046
+ "valueType": "number"
105047
+ }
105048
+ ],
105049
+ "flood": [{
105050
+ "path": "flooded",
105051
+ "valueType": "boolean"
105052
+ }],
105053
+ "gas": [{
105054
+ "path": "detected",
105055
+ "valueType": "boolean"
105056
+ }],
105057
+ "humidifier": [
105058
+ {
105059
+ "path": "on",
105060
+ "valueType": "boolean"
105061
+ },
105062
+ {
105063
+ "path": "currentHumidity",
105064
+ "valueType": "number"
105065
+ },
105066
+ {
105067
+ "path": "targetHumidity",
105068
+ "valueType": "number"
105069
+ },
105070
+ {
105071
+ "path": "mode",
105072
+ "valueType": "string"
105073
+ },
105074
+ {
105075
+ "path": "action",
105076
+ "valueType": "string"
105077
+ },
105078
+ {
105079
+ "path": "minHumidity",
105080
+ "valueType": "number"
105081
+ },
105082
+ {
105083
+ "path": "maxHumidity",
105084
+ "valueType": "number"
105085
+ }
105086
+ ],
105087
+ "humidity-sensor": [
105088
+ {
105089
+ "path": "percent",
105090
+ "valueType": "number"
105091
+ },
105092
+ {
105093
+ "path": "unit",
105094
+ "valueType": "string"
105095
+ },
105096
+ {
105097
+ "path": "precision",
105098
+ "valueType": "number"
105099
+ }
105100
+ ],
105101
+ "image": [{
105102
+ "path": "url",
105103
+ "valueType": "string"
105104
+ }, {
105105
+ "path": "lastUpdated",
105106
+ "valueType": "number"
105107
+ }],
105108
+ "image-settings": [
105109
+ {
105110
+ "path": "brightness",
105111
+ "valueType": "number"
105112
+ },
105113
+ {
105114
+ "path": "contrast",
105115
+ "valueType": "number"
105116
+ },
105117
+ {
105118
+ "path": "saturation",
105119
+ "valueType": "number"
105120
+ },
105121
+ {
105122
+ "path": "sharpness",
105123
+ "valueType": "number"
105124
+ },
105125
+ {
105126
+ "path": "mirror",
105127
+ "valueType": "boolean"
105128
+ },
105129
+ {
105130
+ "path": "flip",
105131
+ "valueType": "boolean"
105132
+ },
105133
+ {
105134
+ "path": "rotate",
105135
+ "valueType": "enum",
105136
+ "enumValues": [
105137
+ "0",
105138
+ "90",
105139
+ "180",
105140
+ "270"
105141
+ ]
105142
+ },
105143
+ {
105144
+ "path": "whiteBalance",
105145
+ "valueType": "enum",
105146
+ "enumValues": ["auto", "manual"]
105147
+ },
105148
+ {
105149
+ "path": "warmth",
105150
+ "valueType": "number"
105151
+ },
105152
+ {
105153
+ "path": "exposureMode",
105154
+ "valueType": "enum",
105155
+ "enumValues": ["auto", "manual"]
105156
+ },
105157
+ {
105158
+ "path": "backlightMode",
105159
+ "valueType": "enum",
105160
+ "enumValues": [
105161
+ "off",
105162
+ "blc",
105163
+ "wdr",
105164
+ "hlc"
105165
+ ]
105166
+ }
105167
+ ],
105168
+ "intercom": [
105169
+ {
105170
+ "path": "talking",
105171
+ "valueType": "boolean"
105172
+ },
105173
+ {
105174
+ "path": "lastSessionAt",
105175
+ "valueType": "number"
105176
+ },
105177
+ {
105178
+ "path": "ability.sampleRate",
105179
+ "valueType": "number"
105180
+ },
105181
+ {
105182
+ "path": "ability.duplex",
105183
+ "valueType": "enum",
105184
+ "enumValues": ["half", "full"]
105185
+ },
105186
+ {
105187
+ "path": "ability.maxBacklogMs",
105188
+ "valueType": "number"
105189
+ }
105190
+ ],
105191
+ "lawn-mower-control": [
105192
+ {
105193
+ "path": "activity",
105194
+ "valueType": "enum",
105195
+ "enumValues": [
105196
+ "idle",
105197
+ "mowing",
105198
+ "paused",
105199
+ "docked",
105200
+ "error"
105201
+ ]
105202
+ },
105203
+ {
105204
+ "path": "batteryLevel",
105205
+ "valueType": "number"
105206
+ },
105207
+ {
105208
+ "path": "progressPercent",
105209
+ "valueType": "number"
105210
+ },
105211
+ {
105212
+ "path": "currentCode",
105213
+ "valueType": "number"
105214
+ },
105215
+ {
105216
+ "path": "currentCodeLabel",
105217
+ "valueType": "string"
105218
+ },
105219
+ {
105220
+ "path": "severity",
105221
+ "valueType": "enum",
105222
+ "enumValues": [
105223
+ "info",
105224
+ "warning",
105225
+ "error"
105226
+ ]
105227
+ }
105228
+ ],
105229
+ "lock-control": [{
105230
+ "path": "state",
105231
+ "valueType": "enum",
105232
+ "enumValues": [
105233
+ "locked",
105234
+ "unlocked",
105235
+ "locking",
105236
+ "unlocking",
105237
+ "jammed"
105238
+ ]
105239
+ }],
105240
+ "media-player": [
105241
+ {
105242
+ "path": "state",
105243
+ "valueType": "enum",
105244
+ "enumValues": [
105245
+ "off",
105246
+ "on",
105247
+ "idle",
105248
+ "playing",
105249
+ "paused",
105250
+ "buffering",
105251
+ "standby"
105252
+ ]
105253
+ },
105254
+ {
105255
+ "path": "volumeLevel",
105256
+ "valueType": "number"
105257
+ },
105258
+ {
105259
+ "path": "isMuted",
105260
+ "valueType": "boolean"
105261
+ },
105262
+ {
105263
+ "path": "source",
105264
+ "valueType": "string"
105265
+ },
105266
+ {
105267
+ "path": "currentMedia.type",
105268
+ "valueType": "string"
105269
+ },
105270
+ {
105271
+ "path": "currentMedia.title",
105272
+ "valueType": "string"
105273
+ },
105274
+ {
105275
+ "path": "currentMedia.artist",
105276
+ "valueType": "string"
105277
+ },
105278
+ {
105279
+ "path": "currentMedia.album",
105280
+ "valueType": "string"
105281
+ },
105282
+ {
105283
+ "path": "currentMedia.imageUrl",
105284
+ "valueType": "string"
105285
+ },
105286
+ {
105287
+ "path": "positionMs",
105288
+ "valueType": "number"
105289
+ },
105290
+ {
105291
+ "path": "durationMs",
105292
+ "valueType": "number"
105293
+ },
105294
+ {
105295
+ "path": "shuffle",
105296
+ "valueType": "boolean"
105297
+ },
105298
+ {
105299
+ "path": "repeat",
105300
+ "valueType": "enum",
105301
+ "enumValues": [
105302
+ "off",
105303
+ "all",
105304
+ "one"
105305
+ ]
105306
+ }
105307
+ ],
105308
+ "motion": [
105309
+ {
105310
+ "path": "detected",
105311
+ "valueType": "boolean"
105312
+ },
105313
+ {
105314
+ "path": "lastDetectedAt",
105315
+ "valueType": "number"
105316
+ },
105317
+ {
105318
+ "path": "autoClearAfterMs",
105319
+ "valueType": "number"
105320
+ }
105321
+ ],
105322
+ "motion-trigger": [{
105323
+ "path": "enabled",
105324
+ "valueType": "boolean"
105325
+ }],
105326
+ "motion-zones": [{
105327
+ "path": "enabled",
105328
+ "valueType": "boolean"
105329
+ }, {
105330
+ "path": "sensitivity",
105331
+ "valueType": "number"
105332
+ }],
105333
+ "mqtt-broker": [{
105334
+ "path": "brokerCount",
105335
+ "valueType": "number"
105336
+ }, {
105337
+ "path": "embeddedRunning",
105338
+ "valueType": "boolean"
105339
+ }],
105340
+ "native-object-detection": [{
105341
+ "path": "enabled",
105342
+ "valueType": "boolean"
105343
+ }],
105344
+ "navigation": [
105345
+ {
105346
+ "path": "mode",
105347
+ "valueType": "enum",
105348
+ "enumValues": [
105349
+ "idle",
105350
+ "cleaning",
105351
+ "spot",
105352
+ "following",
105353
+ "goto",
105354
+ "returning",
105355
+ "paused",
105356
+ "unknown"
105357
+ ]
105358
+ },
105359
+ {
105360
+ "path": "following",
105361
+ "valueType": "boolean"
105362
+ },
105363
+ {
105364
+ "path": "flash",
105365
+ "valueType": "boolean"
105366
+ },
105367
+ {
105368
+ "path": "lightMode",
105369
+ "valueType": "enum",
105370
+ "enumValues": ["auto", "manual"]
105371
+ },
105372
+ {
105373
+ "path": "lightLevel",
105374
+ "valueType": "number"
105375
+ }
105376
+ ],
105377
+ "network-link": [
105378
+ {
105379
+ "path": "type",
105380
+ "valueType": "enum",
105381
+ "enumValues": [
105382
+ "wifi",
105383
+ "ethernet",
105384
+ "cellular",
105385
+ "unknown"
105386
+ ]
105387
+ },
105388
+ {
105389
+ "path": "signalPercent",
105390
+ "valueType": "number"
105391
+ },
105392
+ {
105393
+ "path": "rssiDbm",
105394
+ "valueType": "number"
105395
+ },
105396
+ {
105397
+ "path": "ssid",
105398
+ "valueType": "string"
105399
+ },
105400
+ {
105401
+ "path": "lastUpdated",
105402
+ "valueType": "number"
105403
+ }
105404
+ ],
105405
+ "notifier": [
105406
+ {
105407
+ "path": "lastSentAt",
105408
+ "valueType": "number"
105409
+ },
105410
+ {
105411
+ "path": "lastError",
105412
+ "valueType": "string"
105413
+ },
105414
+ {
105415
+ "path": "queueDepth",
105416
+ "valueType": "number"
105417
+ },
105418
+ {
105419
+ "path": "supports.image",
105420
+ "valueType": "boolean"
105421
+ },
105422
+ {
105423
+ "path": "supports.priority",
105424
+ "valueType": "boolean"
105425
+ },
105426
+ {
105427
+ "path": "supports.data",
105428
+ "valueType": "boolean"
105429
+ },
105430
+ {
105431
+ "path": "supports.actions",
105432
+ "valueType": "boolean"
105433
+ },
105434
+ {
105435
+ "path": "supports.recipients",
105436
+ "valueType": "boolean"
105437
+ }
105438
+ ],
105439
+ "numeric-sensor": [
105440
+ {
105441
+ "path": "value",
105442
+ "valueType": "number"
105443
+ },
105444
+ {
105445
+ "path": "unit",
105446
+ "valueType": "string"
105447
+ },
105448
+ {
105449
+ "path": "precision",
105450
+ "valueType": "number"
105451
+ }
105452
+ ],
105453
+ "pet-feeder": [
105454
+ {
105455
+ "path": "foodLevel",
105456
+ "valueType": "number"
105457
+ },
105458
+ {
105459
+ "path": "food1",
105460
+ "valueType": "number"
105461
+ },
105462
+ {
105463
+ "path": "food2",
105464
+ "valueType": "number"
105465
+ },
105466
+ {
105467
+ "path": "lowFood",
105468
+ "valueType": "boolean"
105469
+ },
105470
+ {
105471
+ "path": "batteryPower",
105472
+ "valueType": "number"
105473
+ },
105474
+ {
105475
+ "path": "desiccantLeftDays",
105476
+ "valueType": "number"
105477
+ },
105478
+ {
105479
+ "path": "feeding",
105480
+ "valueType": "boolean"
105481
+ },
105482
+ {
105483
+ "path": "status",
105484
+ "valueType": "enum",
105485
+ "enumValues": [
105486
+ "normal",
105487
+ "offline",
105488
+ "on_batteries"
105489
+ ]
105490
+ },
105491
+ {
105492
+ "path": "error",
105493
+ "valueType": "string"
105494
+ },
105495
+ {
105496
+ "path": "errorCode",
105497
+ "valueType": "number"
105498
+ },
105499
+ {
105500
+ "path": "isDualHopper",
105501
+ "valueType": "boolean"
105502
+ },
105503
+ {
105504
+ "path": "childLock",
105505
+ "valueType": "boolean"
105506
+ },
105507
+ {
105508
+ "path": "indicatorLight",
105509
+ "valueType": "boolean"
105510
+ },
105511
+ {
105512
+ "path": "feedSound",
105513
+ "valueType": "boolean"
105514
+ },
105515
+ {
105516
+ "path": "volume",
105517
+ "valueType": "number"
105518
+ }
105519
+ ],
105520
+ "power-meter": [
105521
+ {
105522
+ "path": "watts",
105523
+ "valueType": "number"
105524
+ },
105525
+ {
105526
+ "path": "kwhTotal",
105527
+ "valueType": "number"
105528
+ },
105529
+ {
105530
+ "path": "volts",
105531
+ "valueType": "number"
105532
+ },
105533
+ {
105534
+ "path": "amps",
105535
+ "valueType": "number"
105536
+ },
105537
+ {
105538
+ "path": "va",
105539
+ "valueType": "number"
105540
+ },
105541
+ {
105542
+ "path": "powerFactor",
105543
+ "valueType": "number"
105544
+ },
105545
+ {
105546
+ "path": "unit",
105547
+ "valueType": "string"
105548
+ },
105549
+ {
105550
+ "path": "precision",
105551
+ "valueType": "number"
105552
+ }
105553
+ ],
105554
+ "presence": [
105555
+ {
105556
+ "path": "state",
105557
+ "valueType": "string"
105558
+ },
105559
+ {
105560
+ "path": "location",
105561
+ "valueType": "string"
105562
+ },
105563
+ {
105564
+ "path": "gps.latitude",
105565
+ "valueType": "number"
105566
+ },
105567
+ {
105568
+ "path": "gps.longitude",
105569
+ "valueType": "number"
105570
+ },
105571
+ {
105572
+ "path": "gps.accuracyMeters",
105573
+ "valueType": "number"
105574
+ },
105575
+ {
105576
+ "path": "batteryPercent",
105577
+ "valueType": "number"
105578
+ }
105579
+ ],
105580
+ "pressure-sensor": [
105581
+ {
105582
+ "path": "hpa",
105583
+ "valueType": "number"
105584
+ },
105585
+ {
105586
+ "path": "unit",
105587
+ "valueType": "string"
105588
+ },
105589
+ {
105590
+ "path": "precision",
105591
+ "valueType": "number"
105592
+ }
105593
+ ],
105594
+ "privacy-mask": [{
105595
+ "path": "enabled",
105596
+ "valueType": "boolean"
105597
+ }, {
105598
+ "path": "audioEnabled",
105599
+ "valueType": "boolean"
105600
+ }],
105601
+ "ptz": [
105602
+ {
105603
+ "path": "pan",
105604
+ "valueType": "number"
105605
+ },
105606
+ {
105607
+ "path": "tilt",
105608
+ "valueType": "number"
105609
+ },
105610
+ {
105611
+ "path": "zoom",
105612
+ "valueType": "number"
105613
+ },
105614
+ {
105615
+ "path": "autofocus",
105616
+ "valueType": "boolean"
105617
+ }
105618
+ ],
105619
+ "ptz-autotrack": [
105620
+ {
105621
+ "path": "enabled",
105622
+ "valueType": "boolean"
105623
+ },
105624
+ {
105625
+ "path": "currentSettings.targetType",
105626
+ "valueType": "string"
105627
+ },
105628
+ {
105629
+ "path": "currentSettings.stopDelaySeconds",
105630
+ "valueType": "number"
105631
+ },
105632
+ {
105633
+ "path": "currentSettings.disappearDelaySeconds",
105634
+ "valueType": "number"
105635
+ }
105636
+ ],
105637
+ "recording-archive": [
105638
+ {
105639
+ "path": "deviceId",
105640
+ "valueType": "number"
105641
+ },
105642
+ {
105643
+ "path": "enabled",
105644
+ "valueType": "boolean"
105645
+ },
105646
+ {
105647
+ "path": "activeMode",
105648
+ "valueType": "enum",
105649
+ "enumValues": [
105650
+ "off",
105651
+ "events",
105652
+ "continuous",
105653
+ "on-device-decision"
105654
+ ]
105655
+ },
105656
+ {
105657
+ "path": "nodeId",
105658
+ "valueType": "string"
105659
+ },
105660
+ {
105661
+ "path": "storageBytes",
105662
+ "valueType": "number"
105663
+ }
105664
+ ],
105665
+ "recording-onboard": [
105666
+ {
105667
+ "path": "primaryTrackId",
105668
+ "valueType": "string"
105669
+ },
105670
+ {
105671
+ "path": "enabled",
105672
+ "valueType": "boolean"
105673
+ },
105674
+ {
105675
+ "path": "overwriteWhenFull",
105676
+ "valueType": "boolean"
105677
+ },
105678
+ {
105679
+ "path": "preRecordSec",
105680
+ "valueType": "number"
105681
+ },
105682
+ {
105683
+ "path": "postRecordSec",
105684
+ "valueType": "number"
105685
+ },
105686
+ {
105687
+ "path": "segmentMinutes",
105688
+ "valueType": "number"
105689
+ },
105690
+ {
105691
+ "path": "unreadableWindows",
105692
+ "valueType": "number"
105693
+ },
105694
+ {
105695
+ "path": "recordingToNowhere",
105696
+ "valueType": "boolean"
105697
+ }
105698
+ ],
105699
+ "recording-signal": [{
105700
+ "path": "active",
105701
+ "valueType": "boolean"
105702
+ }, {
105703
+ "path": "reason",
105704
+ "valueType": "string"
105705
+ }],
105706
+ "script-runner": [
105707
+ {
105708
+ "path": "isRunning",
105709
+ "valueType": "boolean"
105710
+ },
105711
+ {
105712
+ "path": "lastRunAt",
105713
+ "valueType": "number"
105714
+ },
105715
+ {
105716
+ "path": "lastRunSuccess",
105717
+ "valueType": "boolean"
105718
+ },
105719
+ {
105720
+ "path": "lastError",
105721
+ "valueType": "string"
105722
+ }
105723
+ ],
105724
+ "smoke": [{
105725
+ "path": "detected",
105726
+ "valueType": "boolean"
105727
+ }],
105728
+ "snapshot": [
105729
+ {
105730
+ "path": "lastCapturedAt",
105731
+ "valueType": "number"
105732
+ },
105733
+ {
105734
+ "path": "cacheAgeMs",
105735
+ "valueType": "number"
105736
+ },
105737
+ {
105738
+ "path": "lastBytes",
105739
+ "valueType": "number"
105740
+ },
105741
+ {
105742
+ "path": "lastStreamId",
105743
+ "valueType": "string"
105744
+ }
105745
+ ],
105746
+ "stream-params": [
105747
+ {
105748
+ "path": "main.width",
105749
+ "valueType": "number"
105750
+ },
105751
+ {
105752
+ "path": "main.height",
105753
+ "valueType": "number"
105754
+ },
105755
+ {
105756
+ "path": "main.codec",
105757
+ "valueType": "enum",
105758
+ "enumValues": ["h264", "h265"]
105759
+ },
105760
+ {
105761
+ "path": "main.framerate",
105762
+ "valueType": "number"
105763
+ },
105764
+ {
105765
+ "path": "main.bitrate",
105766
+ "valueType": "number"
105767
+ },
105768
+ {
105769
+ "path": "main.bitrateMode",
105770
+ "valueType": "enum",
105771
+ "enumValues": ["vbr", "cbr"]
105772
+ },
105773
+ {
105774
+ "path": "main.encoderProfile",
105775
+ "valueType": "enum",
105776
+ "enumValues": [
105777
+ "high",
105778
+ "main",
105779
+ "baseline"
105780
+ ]
105781
+ },
105782
+ {
105783
+ "path": "main.gop",
105784
+ "valueType": "number"
105785
+ },
105786
+ {
105787
+ "path": "main.audio",
105788
+ "valueType": "boolean"
105789
+ },
105790
+ {
105791
+ "path": "sub.width",
105792
+ "valueType": "number"
105793
+ },
105794
+ {
105795
+ "path": "sub.height",
105796
+ "valueType": "number"
105797
+ },
105798
+ {
105799
+ "path": "sub.codec",
105800
+ "valueType": "enum",
105801
+ "enumValues": ["h264", "h265"]
105802
+ },
105803
+ {
105804
+ "path": "sub.framerate",
105805
+ "valueType": "number"
105806
+ },
105807
+ {
105808
+ "path": "sub.bitrate",
105809
+ "valueType": "number"
105810
+ },
105811
+ {
105812
+ "path": "sub.bitrateMode",
105813
+ "valueType": "enum",
105814
+ "enumValues": ["vbr", "cbr"]
105815
+ },
105816
+ {
105817
+ "path": "sub.encoderProfile",
105818
+ "valueType": "enum",
105819
+ "enumValues": [
105820
+ "high",
105821
+ "main",
105822
+ "baseline"
105823
+ ]
105824
+ },
105825
+ {
105826
+ "path": "sub.gop",
105827
+ "valueType": "number"
105828
+ },
105829
+ {
105830
+ "path": "sub.audio",
105831
+ "valueType": "boolean"
105832
+ },
105833
+ {
105834
+ "path": "ext.width",
105835
+ "valueType": "number"
105836
+ },
105837
+ {
105838
+ "path": "ext.height",
105839
+ "valueType": "number"
105840
+ },
105841
+ {
105842
+ "path": "ext.codec",
105843
+ "valueType": "enum",
105844
+ "enumValues": ["h264", "h265"]
105845
+ },
105846
+ {
105847
+ "path": "ext.framerate",
105848
+ "valueType": "number"
105849
+ },
105850
+ {
105851
+ "path": "ext.bitrate",
105852
+ "valueType": "number"
105853
+ },
105854
+ {
105855
+ "path": "ext.bitrateMode",
105856
+ "valueType": "enum",
105857
+ "enumValues": ["vbr", "cbr"]
105858
+ },
105859
+ {
105860
+ "path": "ext.encoderProfile",
105861
+ "valueType": "enum",
105862
+ "enumValues": [
105863
+ "high",
105864
+ "main",
105865
+ "baseline"
105866
+ ]
105867
+ },
105868
+ {
105869
+ "path": "ext.gop",
105870
+ "valueType": "number"
105871
+ },
105872
+ {
105873
+ "path": "ext.audio",
105874
+ "valueType": "boolean"
105875
+ }
105876
+ ],
105877
+ "switch": [{
105878
+ "path": "on",
105879
+ "valueType": "boolean"
105880
+ }],
105881
+ "tamper": [{
105882
+ "path": "tampered",
105883
+ "valueType": "boolean"
105884
+ }],
105885
+ "temperature-sensor": [
105886
+ {
105887
+ "path": "celsius",
105888
+ "valueType": "number"
105889
+ },
105890
+ {
105891
+ "path": "unit",
105892
+ "valueType": "string"
105893
+ },
105894
+ {
105895
+ "path": "precision",
105896
+ "valueType": "number"
105897
+ }
105898
+ ],
105899
+ "update": [
105900
+ {
105901
+ "path": "currentVersion",
105902
+ "valueType": "string"
105903
+ },
105904
+ {
105905
+ "path": "availableVersion",
105906
+ "valueType": "string"
105907
+ },
105908
+ {
105909
+ "path": "updatable",
105910
+ "valueType": "boolean"
105911
+ },
105912
+ {
105913
+ "path": "state",
105914
+ "valueType": "string"
105915
+ },
105916
+ {
105917
+ "path": "inProgress",
105918
+ "valueType": "boolean"
105919
+ }
105920
+ ],
105921
+ "vacuum-control": [
105922
+ {
105923
+ "path": "state",
105924
+ "valueType": "enum",
105925
+ "enumValues": [
105926
+ "idle",
105927
+ "cleaning",
105928
+ "paused",
105929
+ "returning",
105930
+ "docked",
105931
+ "drying",
105932
+ "error"
105933
+ ]
105934
+ },
105935
+ {
105936
+ "path": "batteryLevel",
105937
+ "valueType": "number"
105938
+ },
105939
+ {
105940
+ "path": "fanSpeed",
105941
+ "valueType": "string"
105942
+ },
105943
+ {
105944
+ "path": "cleanWater.level",
105945
+ "valueType": "number"
105946
+ },
105947
+ {
105948
+ "path": "cleanWater.status",
105949
+ "valueType": "enum",
105950
+ "enumValues": [
105951
+ "ok",
105952
+ "low",
105953
+ "full"
105954
+ ]
105955
+ },
105956
+ {
105957
+ "path": "dirtyWater.level",
105958
+ "valueType": "number"
105959
+ },
105960
+ {
105961
+ "path": "dirtyWater.status",
105962
+ "valueType": "enum",
105963
+ "enumValues": [
105964
+ "ok",
105965
+ "low",
105966
+ "full"
105967
+ ]
105968
+ },
105969
+ {
105970
+ "path": "detergent.level",
105971
+ "valueType": "number"
105972
+ },
105973
+ {
105974
+ "path": "detergent.status",
105975
+ "valueType": "enum",
105976
+ "enumValues": [
105977
+ "ok",
105978
+ "low",
105979
+ "full"
105980
+ ]
105981
+ },
105982
+ {
105983
+ "path": "dustBin.level",
105984
+ "valueType": "number"
105985
+ },
105986
+ {
105987
+ "path": "dustBin.status",
105988
+ "valueType": "enum",
105989
+ "enumValues": [
105990
+ "ok",
105991
+ "low",
105992
+ "full"
105993
+ ]
105994
+ },
105995
+ {
105996
+ "path": "progressPercent",
105997
+ "valueType": "number"
105998
+ },
105999
+ {
106000
+ "path": "errorCode",
106001
+ "valueType": "number"
106002
+ },
106003
+ {
106004
+ "path": "errorLabel",
106005
+ "valueType": "string"
106006
+ }
106007
+ ],
106008
+ "valve": [{
106009
+ "path": "state",
106010
+ "valueType": "enum",
106011
+ "enumValues": [
106012
+ "open",
106013
+ "opening",
106014
+ "closing",
106015
+ "closed",
106016
+ "stopped"
106017
+ ]
106018
+ }, {
106019
+ "path": "position",
106020
+ "valueType": "number"
106021
+ }],
106022
+ "vibration": [{
106023
+ "path": "detected",
106024
+ "valueType": "boolean"
106025
+ }],
106026
+ "water-heater": [
106027
+ {
106028
+ "path": "currentTemp",
106029
+ "valueType": "number"
106030
+ },
106031
+ {
106032
+ "path": "targetTemp",
106033
+ "valueType": "number"
106034
+ },
106035
+ {
106036
+ "path": "operationMode",
106037
+ "valueType": "string"
106038
+ },
106039
+ {
106040
+ "path": "away",
106041
+ "valueType": "boolean"
106042
+ },
106043
+ {
106044
+ "path": "minTemp",
106045
+ "valueType": "number"
106046
+ },
106047
+ {
106048
+ "path": "maxTemp",
106049
+ "valueType": "number"
106050
+ }
106051
+ ],
106052
+ "weather": [
106053
+ {
106054
+ "path": "condition",
106055
+ "valueType": "string"
106056
+ },
106057
+ {
106058
+ "path": "temperature",
106059
+ "valueType": "number"
106060
+ },
106061
+ {
106062
+ "path": "temperatureUnit",
106063
+ "valueType": "string"
106064
+ },
106065
+ {
106066
+ "path": "humidity",
106067
+ "valueType": "number"
106068
+ },
106069
+ {
106070
+ "path": "pressure",
106071
+ "valueType": "number"
106072
+ },
106073
+ {
106074
+ "path": "pressureUnit",
106075
+ "valueType": "string"
106076
+ },
106077
+ {
106078
+ "path": "windSpeed",
106079
+ "valueType": "number"
106080
+ },
106081
+ {
106082
+ "path": "windSpeedUnit",
106083
+ "valueType": "string"
106084
+ },
106085
+ {
106086
+ "path": "windBearing",
106087
+ "valueType": "number"
106088
+ }
106089
+ ],
106090
+ "zone-analytics": [
106091
+ {
106092
+ "path": "ts",
106093
+ "valueType": "number"
106094
+ },
106095
+ {
106096
+ "path": "frameWidth",
106097
+ "valueType": "number"
106098
+ },
106099
+ {
106100
+ "path": "frameHeight",
106101
+ "valueType": "number"
106102
+ },
106103
+ {
106104
+ "path": "frame.totalObjects",
106105
+ "valueType": "number"
106106
+ },
106107
+ {
106108
+ "path": "frame.standingObjects",
106109
+ "valueType": "number"
106110
+ },
106111
+ {
106112
+ "path": "frame.transientObjects",
106113
+ "valueType": "number"
106114
+ },
106115
+ {
106116
+ "path": "unzoned.totalObjects",
106117
+ "valueType": "number"
106118
+ },
106119
+ {
106120
+ "path": "unzoned.standingObjects",
106121
+ "valueType": "number"
106122
+ },
106123
+ {
106124
+ "path": "unzoned.transientObjects",
106125
+ "valueType": "number"
106126
+ }
106127
+ ]
106128
+ });
104138
106129
  //#endregion
104139
106130
  //#region src/pipeline-analytics/services/sensor-transition-gate.ts
104140
106131
  /**
@@ -104319,11 +106310,13 @@ var WORD_LEVEL_INACTIVE = {
104319
106310
  * `events[*].fromState: { field, on: 'advance' }` — the declaration the
104320
106311
  * composer already emits from — never listed by hand here. See "A press is a
104321
106312
  * stamp that ADVANCES" above.
106313
+ *
106314
+ * The table is codegen'd (`CAP_ADVANCE_FIELDS`, `npm run codegen`) and
106315
+ * schema-free: this file used to derive it from `ALL_CAPABILITY_DEFINITIONS`,
106316
+ * which inlined every cap's Zod schema into the addon (~+100 MB heap per
106317
+ * post-analysis runner, D28).
104322
106318
  */
104323
- var ADVANCE_FIELD = Object.fromEntries(ALL_CAPABILITY_DEFINITIONS.flatMap((def) => {
104324
- const fromState = Object.values(def.events ?? {}).find((event) => event.fromState?.on === "advance")?.fromState;
104325
- return fromState === void 0 ? [] : [[def.name, fromState.field]];
104326
- }));
106319
+ var ADVANCE_FIELD = CAP_ADVANCE_FIELDS;
104327
106320
  /** Default drop-summary window: one line per device per ten minutes, at most. */
104328
106321
  var DEFAULT_DROP_SUMMARY_WINDOW_MS = 6e5;
104329
106322
  var SensorTransitionGate = class {