@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.
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
2
2
  __esModule: { value: true },
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
- const require_clip_model_registry = require("../clip-model-registry-DyP97b8e.js");
5
+ const require_clip_model_registry = require("../clip-model-registry-jPIOGw_9.js");
6
6
  let node_fs = require("node:fs");
7
7
  node_fs = require_clip_model_registry.__toESM(node_fs, 1);
8
8
  let node_path = require("node:path");
@@ -13,16 +13,16 @@ let node_child_process = require("node:child_process");
13
13
  let _camstack_system_addon_utils = require("@camstack/system/addon-utils");
14
14
  let node_stream_promises = require("node:stream/promises");
15
15
  let node_stream = require("node:stream");
16
+ let node_zlib = require("node:zlib");
17
+ let node_os = require("node:os");
18
+ node_os = require_clip_model_registry.__toESM(node_os, 1);
16
19
  let node_fs_promises = require("node:fs/promises");
17
20
  node_fs_promises = require_clip_model_registry.__toESM(node_fs_promises, 1);
18
21
  let sharp = require("sharp");
19
22
  sharp = require_clip_model_registry.__toESM(sharp);
20
- let node_os = require("node:os");
21
- node_os = require_clip_model_registry.__toESM(node_os);
22
23
  let node_timers_promises = require("node:timers/promises");
23
24
  let node_util = require("node:util");
24
25
  let node_buffer = require("node:buffer");
25
- let node_zlib = require("node:zlib");
26
26
  let node_http = require("node:http");
27
27
  let node_https = require("node:https");
28
28
  //#region src/pipeline-analytics/media-occupancy.ts
@@ -4345,6 +4345,7 @@ var node_exports = /* @__PURE__ */ require_clip_model_registry.__exportAll({
4345
4345
  verifyExpiringUrl: () => verifyExpiringUrl,
4346
4346
  writeFileAtomic: () => writeFileAtomic
4347
4347
  });
4348
+ process.platform, process.env["SystemRoot"];
4348
4349
  /**
4349
4350
  * Download portable Python (headless) from bjia56/portable-python.
4350
4351
  *
@@ -4359,7 +4360,9 @@ var node_exports = /* @__PURE__ */ require_clip_model_registry.__exportAll({
4359
4360
  * The zip's top-level dir is platform-specific (e.g.
4360
4361
  * `python-headless-3.12.12-darwin-universal2/`); after extraction
4361
4362
  * we rename it to a stable `python/` so consumers can rely on
4362
- * `<dataDir>/deps/python/bin/python3`.
4363
+ * `<dataDir>/deps/python/bin/python3` (`bin/python.exe` on Windows: that build
4364
+ * keeps its launcher in `bin/` beside the DLLs, with `Lib/` at the root, so
4365
+ * `<root>/bin/<interpreter>` holds on every platform).
4363
4366
  */
4364
4367
  var PYTHON_VERSION = "3.12.12";
4365
4368
  `${PYTHON_VERSION}`;
@@ -104230,6 +104233,1994 @@ async function projectSensorMarkers(deps, data, timestamp) {
104230
104233
  });
104231
104234
  return landed;
104232
104235
  }
104236
+ Object.freeze({
104237
+ "addons": { "getLogs": { "limit": 100 } },
104238
+ "audio-analyzer": {
104239
+ "analyseChunk": { "settings": { "__nested__": {
104240
+ "minConfidence": .3,
104241
+ "allowedClasses": []
104242
+ } } },
104243
+ "attachDevice": { "settings": { "__nested__": {
104244
+ "minConfidence": .3,
104245
+ "allowedClasses": []
104246
+ } } }
104247
+ },
104248
+ "audio-codec": {
104249
+ "pullEncoded": { "maxCount": 8 },
104250
+ "pullPcm": { "maxCount": 8 }
104251
+ },
104252
+ "battery": { "wakeForStream": { "timeoutMs": 8e3 } },
104253
+ "device-adoption": { "listCandidates": {
104254
+ "page": 1,
104255
+ "pageSize": 50
104256
+ } },
104257
+ "device-manager": { "adoptionListCandidates": {
104258
+ "page": 1,
104259
+ "pageSize": 50
104260
+ } },
104261
+ "llm": { "upsertProfile": { "profile": { "__nested__": {
104262
+ "timeoutMs": 6e4,
104263
+ "connectTimeoutMs": 1e4,
104264
+ "firstTokenTimeoutMs": 12e4,
104265
+ "idleTimeoutMs": 6e4,
104266
+ "retry": {
104267
+ "enabled": false,
104268
+ "maxAttempts": 1
104269
+ },
104270
+ "toolsEnabled": false
104271
+ } } } },
104272
+ "llm-runtime": {
104273
+ "complete": { "runtime": { "__nested__": {
104274
+ "contextSize": 4096,
104275
+ "gpuLayers": 0,
104276
+ "parallel": 1,
104277
+ "flashAttention": false,
104278
+ "mlock": false,
104279
+ "noMmap": false,
104280
+ "extraArgs": [],
104281
+ "autoStart": false,
104282
+ "idleStopMinutes": 30
104283
+ } } },
104284
+ "ensureStarted": { "runtime": { "__nested__": {
104285
+ "contextSize": 4096,
104286
+ "gpuLayers": 0,
104287
+ "parallel": 1,
104288
+ "flashAttention": false,
104289
+ "mlock": false,
104290
+ "noMmap": false,
104291
+ "extraArgs": [],
104292
+ "autoStart": false,
104293
+ "idleStopMinutes": 30
104294
+ } } }
104295
+ },
104296
+ "mqtt-broker": { "startEmbeddedBroker": {
104297
+ "port": 1883,
104298
+ "allowAnonymous": false
104299
+ } },
104300
+ "nodes": { "getCapUsageGraph": { "windowSeconds": 60 } },
104301
+ "notification-output": { "send": { "notification": { "__nested__": {
104302
+ "format": "text",
104303
+ "priority": 3
104304
+ } } } },
104305
+ "notification-rules": {
104306
+ "createRule": { "rule": { "__nested__": {
104307
+ "enabled": true,
104308
+ "conditions": {},
104309
+ "media": { "attach": "best" },
104310
+ "throttle": {
104311
+ "cooldownSec": 60,
104312
+ "scope": "rule-device"
104313
+ },
104314
+ "priority": 3
104315
+ } } },
104316
+ "getHistory": { "filter": { "limit": 100 } },
104317
+ "previewStateSummary": { "rule": { "__nested__": {
104318
+ "enabled": true,
104319
+ "conditions": {},
104320
+ "media": { "attach": "best" },
104321
+ "throttle": {
104322
+ "cooldownSec": 60,
104323
+ "scope": "rule-device"
104324
+ },
104325
+ "priority": 3
104326
+ } } },
104327
+ "testRule": {
104328
+ "rule": { "__nested__": {
104329
+ "enabled": true,
104330
+ "conditions": {},
104331
+ "media": { "attach": "best" },
104332
+ "throttle": {
104333
+ "cooldownSec": 60,
104334
+ "scope": "rule-device"
104335
+ },
104336
+ "priority": 3
104337
+ } },
104338
+ "lookbackMinutes": 60
104339
+ }
104340
+ },
104341
+ "osd-manager": {
104342
+ "setSlotBinding": { "binding": { "__nested__": {
104343
+ "enabled": true,
104344
+ "template": "${value}",
104345
+ "maxDecimals": 1
104346
+ } } },
104347
+ "upsertTemplate": { "template": { "__nested__": {
104348
+ "bindings": [],
104349
+ "parser": ""
104350
+ } } }
104351
+ },
104352
+ "pipeline-analytics": {
104353
+ "getAudioEvents": { "limit": 1e3 },
104354
+ "getKeyEvents": { "limit": 50 },
104355
+ "getKeyEventsBatch": { "limit": 50 },
104356
+ "getMotionEvents": { "limit": 1e3 },
104357
+ "getObjectEvents": { "limit": 1e3 },
104358
+ "getSensorEvents": { "limit": 1e3 },
104359
+ "listRecentTracks": { "limit": 200 },
104360
+ "listRetrainCorpusPage": {
104361
+ "page": 1,
104362
+ "pageSize": 50
104363
+ },
104364
+ "reclaimDebugMedia": { "mode": "report" },
104365
+ "resolveRetrainTrainingCorpus": { "workState": "complete" },
104366
+ "searchObjectEvents": { "limit": 50 }
104367
+ },
104368
+ "pipeline-orchestrator": {
104369
+ "applyAutoTune": {
104370
+ "headroom": .4,
104371
+ "minSessionsPerDevice": 2
104372
+ },
104373
+ "getNodeBenchmarkPreflight": {
104374
+ "phases": ["device", "pipeline"],
104375
+ "steps": [],
104376
+ "fpsPerStream": 10,
104377
+ "budgetMinutes": 45,
104378
+ "keepDownloadedModels": false,
104379
+ "acceptInsufficientHeadroom": false
104380
+ },
104381
+ "getPlacementStats": { "windowMs": 36e5 },
104382
+ "planAutoTune": {
104383
+ "headroom": .4,
104384
+ "minSessionsPerDevice": 2
104385
+ },
104386
+ "setLoadBalancingShares": {
104387
+ "nodes": {},
104388
+ "devices": {}
104389
+ },
104390
+ "startNodeBenchmark": {
104391
+ "phases": ["device", "pipeline"],
104392
+ "steps": [],
104393
+ "fpsPerStream": 10,
104394
+ "budgetMinutes": 45,
104395
+ "keepDownloadedModels": false,
104396
+ "acceptInsufficientHeadroom": false
104397
+ },
104398
+ "suggestShares": {
104399
+ "headroom": .4,
104400
+ "source": "hardware"
104401
+ }
104402
+ },
104403
+ "pipeline-runner": {
104404
+ "attachCamera": {
104405
+ "detectionMode": "on-motion",
104406
+ "audioMode": "always-on",
104407
+ "motionCooldownMs": 3e4,
104408
+ "motionFps": 4,
104409
+ "detectionFps": 10,
104410
+ "motionSources": ["analyzer"],
104411
+ "detectionSources": ["pipeline"],
104412
+ "pipelineEnabled": true,
104413
+ "zones": [],
104414
+ "onboardMotionDrivesAnalyzer": true,
104415
+ "preRollInferenceEnabled": true,
104416
+ "preRollInferenceFrames": 12,
104417
+ "occupancyRecheckEnabled": true,
104418
+ "occupancyRecheckSec": 300,
104419
+ "occupancyRecheckFrames": 4,
104420
+ "frameSource": { "kind": "local-broker" }
104421
+ },
104422
+ "reportMotion": { "source": "analyzer" },
104423
+ "startNodeBench": {
104424
+ "steps": [],
104425
+ "settleSec": 5,
104426
+ "measureSec": 20,
104427
+ "keepDownloadedModels": false
104428
+ }
104429
+ },
104430
+ "recording-archive": {
104431
+ "renderClip": {
104432
+ "preRollSec": 3,
104433
+ "postRollSec": 7,
104434
+ "maxWidth": 640
104435
+ },
104436
+ "renderGif": {
104437
+ "preRollSec": 2,
104438
+ "postRollSec": 5,
104439
+ "maxWidth": 480,
104440
+ "fps": 5
104441
+ },
104442
+ "setDeviceConfig": { "config": { "__nested__": { "bands": [] } } }
104443
+ },
104444
+ "storage": { "upsertLocation": { "isSystem": false } },
104445
+ "storage-provider": {
104446
+ "beginDownload": { "location": { "__nested__": { "isSystem": false } } },
104447
+ "beginUpload": { "location": { "__nested__": { "isSystem": false } } },
104448
+ "delete": { "location": { "__nested__": { "isSystem": false } } },
104449
+ "exists": { "location": { "__nested__": { "isSystem": false } } },
104450
+ "getAvailableSpace": { "location": { "__nested__": { "isSystem": false } } },
104451
+ "list": { "location": { "__nested__": { "isSystem": false } } },
104452
+ "read": { "location": { "__nested__": { "isSystem": false } } },
104453
+ "resolve": { "location": { "__nested__": { "isSystem": false } } },
104454
+ "write": { "location": { "__nested__": { "isSystem": false } } }
104455
+ },
104456
+ "stream-broker": {
104457
+ "produceEventMedia": {
104458
+ "preSeconds": 4,
104459
+ "postSeconds": 6,
104460
+ "kinds": ["mp4"],
104461
+ "gifMaxWidth": 640,
104462
+ "gifFps": 12,
104463
+ "gifSpeed": 4,
104464
+ "speed": 4
104465
+ },
104466
+ "pullAudioChunks": { "maxCount": 8 },
104467
+ "renderPreBufferClip": {
104468
+ "preRollSec": 3,
104469
+ "postRollSec": 5,
104470
+ "format": "gif",
104471
+ "maxWidth": 480,
104472
+ "fps": 5,
104473
+ "speed": 2
104474
+ }
104475
+ },
104476
+ "terminal-session": { "pullOutput": { "waitMs": 0 } },
104477
+ "training": {
104478
+ "planJob": { "selection": { "__nested__": { "workState": "complete" } } },
104479
+ "startJob": { "selection": { "__nested__": { "workState": "complete" } } },
104480
+ "startJobBatch": { "selection": { "__nested__": { "workState": "complete" } } }
104481
+ },
104482
+ "user-management": { "createUser": { "isAdmin": false } },
104483
+ "vector-store": {
104484
+ "declareIndex": { "metric": "cosine" },
104485
+ "scan": { "cursor": 0 }
104486
+ },
104487
+ "zones": {
104488
+ "addZone": { "zone": { "__nested__": {
104489
+ "kind": "polygon",
104490
+ "color": "#3b82f6"
104491
+ } } },
104492
+ "updateZone": { "zone": { "__nested__": {
104493
+ "kind": "polygon",
104494
+ "color": "#3b82f6"
104495
+ } } }
104496
+ }
104497
+ });
104498
+ Object.freeze({
104499
+ "addon-pages-source": ["listPages"],
104500
+ "addon-routes": ["getRoutes"],
104501
+ "addon-widgets-source": ["listWidgets"],
104502
+ "broker": ["list", "listProviders"],
104503
+ "calendar-source": ["listCalendars", "listEvents"],
104504
+ "custom-model-registry": ["listModels"],
104505
+ "data-store-provider": ["histogram", "query"],
104506
+ "device-export": ["listExposedDevices", "listSupportedDeviceKinds"],
104507
+ "device-extension": ["listSlots", "listSources"],
104508
+ "device-provider": ["discoverDevices", "getDevices"],
104509
+ "failure-contribution": ["list"],
104510
+ "llm": [
104511
+ "getDefaults",
104512
+ "getUsage",
104513
+ "listModelCatalog",
104514
+ "listModels",
104515
+ "listNodeModels",
104516
+ "listProfileKinds",
104517
+ "listProfiles",
104518
+ "listRuntimeNodes"
104519
+ ],
104520
+ "load-contribution": ["list"],
104521
+ "log-channels": ["list"],
104522
+ "log-destination": ["query"],
104523
+ "login-method": ["getLoginMethods"],
104524
+ "mqtt-broker": ["listBrokers"],
104525
+ "network-access": ["listEndpoints"],
104526
+ "notification-output": [
104527
+ "discoverTargets",
104528
+ "listTargetKinds",
104529
+ "listTargets"
104530
+ ],
104531
+ "recording": ["listSources"],
104532
+ "storage-occupancy": ["getOccupancy"],
104533
+ "storage-provider": ["list"],
104534
+ "training-provider": [
104535
+ "describe",
104536
+ "describeTypes",
104537
+ "listEntries",
104538
+ "listJobs"
104539
+ ],
104540
+ "turn-provider": ["getTurnServers"],
104541
+ "user-passkeys": ["listPasskeys"],
104542
+ "videoclips": ["listClips", "listSources"]
104543
+ });
104544
+ Object.freeze({ "videoclips": [
104545
+ "dialClipStream",
104546
+ "getPlaybackOptions",
104547
+ "offerClipBytes",
104548
+ "readClipBytes"
104549
+ ] });
104550
+ /** cap name -> the numeric state field whose strict advance IS the cap's one-shot event. */
104551
+ var CAP_ADVANCE_FIELDS = Object.freeze({ "doorbell": "lastPressedAt" });
104552
+ Object.freeze({
104553
+ "air-quality-sensor": [
104554
+ {
104555
+ "path": "co2Ppm",
104556
+ "valueType": "number"
104557
+ },
104558
+ {
104559
+ "path": "vocPpb",
104560
+ "valueType": "number"
104561
+ },
104562
+ {
104563
+ "path": "pm25",
104564
+ "valueType": "number"
104565
+ },
104566
+ {
104567
+ "path": "pm10",
104568
+ "valueType": "number"
104569
+ },
104570
+ {
104571
+ "path": "aqi",
104572
+ "valueType": "number"
104573
+ },
104574
+ {
104575
+ "path": "unit",
104576
+ "valueType": "string"
104577
+ },
104578
+ {
104579
+ "path": "precision",
104580
+ "valueType": "number"
104581
+ }
104582
+ ],
104583
+ "alarm-panel": [
104584
+ {
104585
+ "path": "state",
104586
+ "valueType": "enum",
104587
+ "enumValues": [
104588
+ "disarmed",
104589
+ "armed_home",
104590
+ "armed_away",
104591
+ "armed_night",
104592
+ "armed_vacation",
104593
+ "armed_custom_bypass",
104594
+ "arming",
104595
+ "disarming",
104596
+ "pending",
104597
+ "triggered"
104598
+ ]
104599
+ },
104600
+ {
104601
+ "path": "targetMode",
104602
+ "valueType": "enum",
104603
+ "enumValues": [
104604
+ "home",
104605
+ "away",
104606
+ "night",
104607
+ "vacation",
104608
+ "custom_bypass"
104609
+ ]
104610
+ },
104611
+ {
104612
+ "path": "requiresCode",
104613
+ "valueType": "boolean"
104614
+ }
104615
+ ],
104616
+ "ambient-light-sensor": [
104617
+ {
104618
+ "path": "lux",
104619
+ "valueType": "number"
104620
+ },
104621
+ {
104622
+ "path": "unit",
104623
+ "valueType": "string"
104624
+ },
104625
+ {
104626
+ "path": "precision",
104627
+ "valueType": "number"
104628
+ }
104629
+ ],
104630
+ "audio-metrics": [
104631
+ {
104632
+ "path": "ts",
104633
+ "valueType": "number"
104634
+ },
104635
+ {
104636
+ "path": "windowSec",
104637
+ "valueType": "number"
104638
+ },
104639
+ {
104640
+ "path": "level.rms",
104641
+ "valueType": "number"
104642
+ },
104643
+ {
104644
+ "path": "level.dbfs",
104645
+ "valueType": "number"
104646
+ },
104647
+ {
104648
+ "path": "peakDbfs",
104649
+ "valueType": "number"
104650
+ },
104651
+ {
104652
+ "path": "avgDbfs",
104653
+ "valueType": "number"
104654
+ },
104655
+ {
104656
+ "path": "current.className",
104657
+ "valueType": "string"
104658
+ },
104659
+ {
104660
+ "path": "current.score",
104661
+ "valueType": "number"
104662
+ },
104663
+ {
104664
+ "path": "current.timestamp",
104665
+ "valueType": "number"
104666
+ }
104667
+ ],
104668
+ "automation-control": [
104669
+ {
104670
+ "path": "enabled",
104671
+ "valueType": "boolean"
104672
+ },
104673
+ {
104674
+ "path": "isRunning",
104675
+ "valueType": "boolean"
104676
+ },
104677
+ {
104678
+ "path": "lastTriggeredAt",
104679
+ "valueType": "number"
104680
+ },
104681
+ {
104682
+ "path": "lastError",
104683
+ "valueType": "string"
104684
+ }
104685
+ ],
104686
+ "battery": [
104687
+ {
104688
+ "path": "percentage",
104689
+ "valueType": "number"
104690
+ },
104691
+ {
104692
+ "path": "charging",
104693
+ "valueType": "enum",
104694
+ "enumValues": [
104695
+ "dc",
104696
+ "solar",
104697
+ "none",
104698
+ "unknown"
104699
+ ]
104700
+ },
104701
+ {
104702
+ "path": "sleeping",
104703
+ "valueType": "boolean"
104704
+ },
104705
+ {
104706
+ "path": "lastUpdated",
104707
+ "valueType": "number"
104708
+ },
104709
+ {
104710
+ "path": "lastContactAt",
104711
+ "valueType": "number"
104712
+ },
104713
+ {
104714
+ "path": "binary",
104715
+ "valueType": "boolean"
104716
+ }
104717
+ ],
104718
+ "binary": [{
104719
+ "path": "on",
104720
+ "valueType": "boolean"
104721
+ }],
104722
+ "brightness": [{
104723
+ "path": "percentage",
104724
+ "valueType": "number"
104725
+ }],
104726
+ "broker": [{
104727
+ "path": "brokerCount",
104728
+ "valueType": "number"
104729
+ }, {
104730
+ "path": "connectedCount",
104731
+ "valueType": "number"
104732
+ }],
104733
+ "camera-credentials": [
104734
+ {
104735
+ "path": "host",
104736
+ "valueType": "string"
104737
+ },
104738
+ {
104739
+ "path": "port",
104740
+ "valueType": "number"
104741
+ },
104742
+ {
104743
+ "path": "onvifPort",
104744
+ "valueType": "number"
104745
+ },
104746
+ {
104747
+ "path": "rtspPort",
104748
+ "valueType": "number"
104749
+ },
104750
+ {
104751
+ "path": "https",
104752
+ "valueType": "boolean"
104753
+ },
104754
+ {
104755
+ "path": "hasUsername",
104756
+ "valueType": "boolean"
104757
+ },
104758
+ {
104759
+ "path": "hasPassword",
104760
+ "valueType": "boolean"
104761
+ },
104762
+ {
104763
+ "path": "onvifProfile",
104764
+ "valueType": "string"
104765
+ }
104766
+ ],
104767
+ "camera-streams": [
104768
+ {
104769
+ "path": "online",
104770
+ "valueType": "boolean"
104771
+ },
104772
+ {
104773
+ "path": "slotStatuses.high",
104774
+ "valueType": "enum",
104775
+ "enumValues": [
104776
+ "unassigned",
104777
+ "idle",
104778
+ "connecting",
104779
+ "streaming",
104780
+ "error"
104781
+ ]
104782
+ },
104783
+ {
104784
+ "path": "slotStatuses.mid",
104785
+ "valueType": "enum",
104786
+ "enumValues": [
104787
+ "unassigned",
104788
+ "idle",
104789
+ "connecting",
104790
+ "streaming",
104791
+ "error"
104792
+ ]
104793
+ },
104794
+ {
104795
+ "path": "slotStatuses.low",
104796
+ "valueType": "enum",
104797
+ "enumValues": [
104798
+ "unassigned",
104799
+ "idle",
104800
+ "connecting",
104801
+ "streaming",
104802
+ "error"
104803
+ ]
104804
+ },
104805
+ {
104806
+ "path": "slotErrors.high",
104807
+ "valueType": "string"
104808
+ },
104809
+ {
104810
+ "path": "slotErrors.mid",
104811
+ "valueType": "string"
104812
+ },
104813
+ {
104814
+ "path": "slotErrors.low",
104815
+ "valueType": "string"
104816
+ }
104817
+ ],
104818
+ "carbon-monoxide": [{
104819
+ "path": "detected",
104820
+ "valueType": "boolean"
104821
+ }],
104822
+ "climate-control": [
104823
+ {
104824
+ "path": "mode",
104825
+ "valueType": "enum",
104826
+ "enumValues": [
104827
+ "off",
104828
+ "heat",
104829
+ "cool",
104830
+ "auto",
104831
+ "heat_cool",
104832
+ "fan_only",
104833
+ "dry"
104834
+ ]
104835
+ },
104836
+ {
104837
+ "path": "fanMode",
104838
+ "valueType": "string"
104839
+ },
104840
+ {
104841
+ "path": "preset",
104842
+ "valueType": "string"
104843
+ },
104844
+ {
104845
+ "path": "target",
104846
+ "valueType": "number"
104847
+ },
104848
+ {
104849
+ "path": "targetHigh",
104850
+ "valueType": "number"
104851
+ },
104852
+ {
104853
+ "path": "targetLow",
104854
+ "valueType": "number"
104855
+ },
104856
+ {
104857
+ "path": "targetHumidity",
104858
+ "valueType": "number"
104859
+ },
104860
+ {
104861
+ "path": "currentTemp",
104862
+ "valueType": "number"
104863
+ },
104864
+ {
104865
+ "path": "currentHumidity",
104866
+ "valueType": "number"
104867
+ },
104868
+ {
104869
+ "path": "swingVertical",
104870
+ "valueType": "boolean"
104871
+ },
104872
+ {
104873
+ "path": "swingHorizontal",
104874
+ "valueType": "boolean"
104875
+ }
104876
+ ],
104877
+ "color": [
104878
+ {
104879
+ "path": "mode",
104880
+ "valueType": "enum",
104881
+ "enumValues": [
104882
+ "rgb",
104883
+ "hsv",
104884
+ "mired"
104885
+ ]
104886
+ },
104887
+ {
104888
+ "path": "rgb.r",
104889
+ "valueType": "number"
104890
+ },
104891
+ {
104892
+ "path": "rgb.g",
104893
+ "valueType": "number"
104894
+ },
104895
+ {
104896
+ "path": "rgb.b",
104897
+ "valueType": "number"
104898
+ },
104899
+ {
104900
+ "path": "hsv.h",
104901
+ "valueType": "number"
104902
+ },
104903
+ {
104904
+ "path": "hsv.s",
104905
+ "valueType": "number"
104906
+ },
104907
+ {
104908
+ "path": "hsv.v",
104909
+ "valueType": "number"
104910
+ },
104911
+ {
104912
+ "path": "mireds",
104913
+ "valueType": "number"
104914
+ }
104915
+ ],
104916
+ "connectivity": [{
104917
+ "path": "connected",
104918
+ "valueType": "boolean"
104919
+ }],
104920
+ "contact": [{
104921
+ "path": "entryOpen",
104922
+ "valueType": "boolean"
104923
+ }],
104924
+ "control": [
104925
+ {
104926
+ "path": "kind",
104927
+ "valueType": "enum",
104928
+ "enumValues": [
104929
+ "numeric",
104930
+ "select",
104931
+ "text",
104932
+ "datetime"
104933
+ ]
104934
+ },
104935
+ {
104936
+ "path": "unit",
104937
+ "valueType": "string"
104938
+ },
104939
+ {
104940
+ "path": "min",
104941
+ "valueType": "number"
104942
+ },
104943
+ {
104944
+ "path": "max",
104945
+ "valueType": "number"
104946
+ },
104947
+ {
104948
+ "path": "step",
104949
+ "valueType": "number"
104950
+ },
104951
+ {
104952
+ "path": "precision",
104953
+ "valueType": "number"
104954
+ },
104955
+ {
104956
+ "path": "format",
104957
+ "valueType": "enum",
104958
+ "enumValues": [
104959
+ "date",
104960
+ "time",
104961
+ "datetime"
104962
+ ]
104963
+ }
104964
+ ],
104965
+ "cover": [
104966
+ {
104967
+ "path": "state",
104968
+ "valueType": "enum",
104969
+ "enumValues": [
104970
+ "open",
104971
+ "opening",
104972
+ "closing",
104973
+ "closed",
104974
+ "stopped"
104975
+ ]
104976
+ },
104977
+ {
104978
+ "path": "position",
104979
+ "valueType": "number"
104980
+ },
104981
+ {
104982
+ "path": "tiltPosition",
104983
+ "valueType": "number"
104984
+ }
104985
+ ],
104986
+ "day-night": [
104987
+ {
104988
+ "path": "mode",
104989
+ "valueType": "enum",
104990
+ "enumValues": [
104991
+ "auto",
104992
+ "day",
104993
+ "night",
104994
+ "schedule"
104995
+ ]
104996
+ },
104997
+ {
104998
+ "path": "sensitivity",
104999
+ "valueType": "number"
105000
+ },
105001
+ {
105002
+ "path": "switchDelaySec",
105003
+ "valueType": "number"
105004
+ }
105005
+ ],
105006
+ "device-adoption": [
105007
+ {
105008
+ "path": "lastDiscoveryAt",
105009
+ "valueType": "number"
105010
+ },
105011
+ {
105012
+ "path": "candidateCount",
105013
+ "valueType": "number"
105014
+ },
105015
+ {
105016
+ "path": "adoptedCount",
105017
+ "valueType": "number"
105018
+ },
105019
+ {
105020
+ "path": "lastError",
105021
+ "valueType": "string"
105022
+ }
105023
+ ],
105024
+ "device-discovery": [{
105025
+ "path": "lastDiscoveryAt",
105026
+ "valueType": "number"
105027
+ }, {
105028
+ "path": "lastError",
105029
+ "valueType": "string"
105030
+ }],
105031
+ "device-export": [
105032
+ {
105033
+ "path": "linkState",
105034
+ "valueType": "enum",
105035
+ "enumValues": [
105036
+ "unlinked",
105037
+ "linked",
105038
+ "error"
105039
+ ]
105040
+ },
105041
+ {
105042
+ "path": "exposedDeviceCount",
105043
+ "valueType": "number"
105044
+ },
105045
+ {
105046
+ "path": "error",
105047
+ "valueType": "string"
105048
+ },
105049
+ {
105050
+ "path": "setup.qr",
105051
+ "valueType": "string"
105052
+ },
105053
+ {
105054
+ "path": "setup.note",
105055
+ "valueType": "string"
105056
+ }
105057
+ ],
105058
+ "device-status": [{
105059
+ "path": "online",
105060
+ "valueType": "boolean"
105061
+ }],
105062
+ "doorbell": [{
105063
+ "path": "lastPressedAt",
105064
+ "valueType": "number"
105065
+ }, {
105066
+ "path": "pressCountSinceStart",
105067
+ "valueType": "number"
105068
+ }],
105069
+ "enum-sensor": [{
105070
+ "path": "value",
105071
+ "valueType": "string"
105072
+ }, {
105073
+ "path": "format",
105074
+ "valueType": "enum",
105075
+ "enumValues": [
105076
+ "date",
105077
+ "time",
105078
+ "datetime"
105079
+ ]
105080
+ }],
105081
+ "event-emitter": [
105082
+ {
105083
+ "path": "lastEvent.deviceId",
105084
+ "valueType": "number"
105085
+ },
105086
+ {
105087
+ "path": "lastEvent.eventType",
105088
+ "valueType": "string"
105089
+ },
105090
+ {
105091
+ "path": "lastEvent.timestamp",
105092
+ "valueType": "number"
105093
+ },
105094
+ {
105095
+ "path": "lastEvent.seq",
105096
+ "valueType": "number"
105097
+ },
105098
+ {
105099
+ "path": "eventCountSinceStart",
105100
+ "valueType": "number"
105101
+ }
105102
+ ],
105103
+ "fan-control": [
105104
+ {
105105
+ "path": "percentage",
105106
+ "valueType": "number"
105107
+ },
105108
+ {
105109
+ "path": "percentageStep",
105110
+ "valueType": "number"
105111
+ },
105112
+ {
105113
+ "path": "preset",
105114
+ "valueType": "string"
105115
+ },
105116
+ {
105117
+ "path": "direction",
105118
+ "valueType": "enum",
105119
+ "enumValues": ["forward", "reverse"]
105120
+ },
105121
+ {
105122
+ "path": "oscillating",
105123
+ "valueType": "boolean"
105124
+ }
105125
+ ],
105126
+ "feature-probe": [
105127
+ {
105128
+ "path": "deviceType",
105129
+ "valueType": "string"
105130
+ },
105131
+ {
105132
+ "path": "model",
105133
+ "valueType": "string"
105134
+ },
105135
+ {
105136
+ "path": "channelCount",
105137
+ "valueType": "number"
105138
+ },
105139
+ {
105140
+ "path": "lastProbedAt",
105141
+ "valueType": "number"
105142
+ }
105143
+ ],
105144
+ "flood": [{
105145
+ "path": "flooded",
105146
+ "valueType": "boolean"
105147
+ }],
105148
+ "gas": [{
105149
+ "path": "detected",
105150
+ "valueType": "boolean"
105151
+ }],
105152
+ "humidifier": [
105153
+ {
105154
+ "path": "on",
105155
+ "valueType": "boolean"
105156
+ },
105157
+ {
105158
+ "path": "currentHumidity",
105159
+ "valueType": "number"
105160
+ },
105161
+ {
105162
+ "path": "targetHumidity",
105163
+ "valueType": "number"
105164
+ },
105165
+ {
105166
+ "path": "mode",
105167
+ "valueType": "string"
105168
+ },
105169
+ {
105170
+ "path": "action",
105171
+ "valueType": "string"
105172
+ },
105173
+ {
105174
+ "path": "minHumidity",
105175
+ "valueType": "number"
105176
+ },
105177
+ {
105178
+ "path": "maxHumidity",
105179
+ "valueType": "number"
105180
+ }
105181
+ ],
105182
+ "humidity-sensor": [
105183
+ {
105184
+ "path": "percent",
105185
+ "valueType": "number"
105186
+ },
105187
+ {
105188
+ "path": "unit",
105189
+ "valueType": "string"
105190
+ },
105191
+ {
105192
+ "path": "precision",
105193
+ "valueType": "number"
105194
+ }
105195
+ ],
105196
+ "image": [{
105197
+ "path": "url",
105198
+ "valueType": "string"
105199
+ }, {
105200
+ "path": "lastUpdated",
105201
+ "valueType": "number"
105202
+ }],
105203
+ "image-settings": [
105204
+ {
105205
+ "path": "brightness",
105206
+ "valueType": "number"
105207
+ },
105208
+ {
105209
+ "path": "contrast",
105210
+ "valueType": "number"
105211
+ },
105212
+ {
105213
+ "path": "saturation",
105214
+ "valueType": "number"
105215
+ },
105216
+ {
105217
+ "path": "sharpness",
105218
+ "valueType": "number"
105219
+ },
105220
+ {
105221
+ "path": "mirror",
105222
+ "valueType": "boolean"
105223
+ },
105224
+ {
105225
+ "path": "flip",
105226
+ "valueType": "boolean"
105227
+ },
105228
+ {
105229
+ "path": "rotate",
105230
+ "valueType": "enum",
105231
+ "enumValues": [
105232
+ "0",
105233
+ "90",
105234
+ "180",
105235
+ "270"
105236
+ ]
105237
+ },
105238
+ {
105239
+ "path": "whiteBalance",
105240
+ "valueType": "enum",
105241
+ "enumValues": ["auto", "manual"]
105242
+ },
105243
+ {
105244
+ "path": "warmth",
105245
+ "valueType": "number"
105246
+ },
105247
+ {
105248
+ "path": "exposureMode",
105249
+ "valueType": "enum",
105250
+ "enumValues": ["auto", "manual"]
105251
+ },
105252
+ {
105253
+ "path": "backlightMode",
105254
+ "valueType": "enum",
105255
+ "enumValues": [
105256
+ "off",
105257
+ "blc",
105258
+ "wdr",
105259
+ "hlc"
105260
+ ]
105261
+ }
105262
+ ],
105263
+ "intercom": [
105264
+ {
105265
+ "path": "talking",
105266
+ "valueType": "boolean"
105267
+ },
105268
+ {
105269
+ "path": "lastSessionAt",
105270
+ "valueType": "number"
105271
+ },
105272
+ {
105273
+ "path": "ability.sampleRate",
105274
+ "valueType": "number"
105275
+ },
105276
+ {
105277
+ "path": "ability.duplex",
105278
+ "valueType": "enum",
105279
+ "enumValues": ["half", "full"]
105280
+ },
105281
+ {
105282
+ "path": "ability.maxBacklogMs",
105283
+ "valueType": "number"
105284
+ }
105285
+ ],
105286
+ "lawn-mower-control": [
105287
+ {
105288
+ "path": "activity",
105289
+ "valueType": "enum",
105290
+ "enumValues": [
105291
+ "idle",
105292
+ "mowing",
105293
+ "paused",
105294
+ "docked",
105295
+ "error"
105296
+ ]
105297
+ },
105298
+ {
105299
+ "path": "batteryLevel",
105300
+ "valueType": "number"
105301
+ },
105302
+ {
105303
+ "path": "progressPercent",
105304
+ "valueType": "number"
105305
+ },
105306
+ {
105307
+ "path": "currentCode",
105308
+ "valueType": "number"
105309
+ },
105310
+ {
105311
+ "path": "currentCodeLabel",
105312
+ "valueType": "string"
105313
+ },
105314
+ {
105315
+ "path": "severity",
105316
+ "valueType": "enum",
105317
+ "enumValues": [
105318
+ "info",
105319
+ "warning",
105320
+ "error"
105321
+ ]
105322
+ }
105323
+ ],
105324
+ "lock-control": [{
105325
+ "path": "state",
105326
+ "valueType": "enum",
105327
+ "enumValues": [
105328
+ "locked",
105329
+ "unlocked",
105330
+ "locking",
105331
+ "unlocking",
105332
+ "jammed"
105333
+ ]
105334
+ }],
105335
+ "media-player": [
105336
+ {
105337
+ "path": "state",
105338
+ "valueType": "enum",
105339
+ "enumValues": [
105340
+ "off",
105341
+ "on",
105342
+ "idle",
105343
+ "playing",
105344
+ "paused",
105345
+ "buffering",
105346
+ "standby"
105347
+ ]
105348
+ },
105349
+ {
105350
+ "path": "volumeLevel",
105351
+ "valueType": "number"
105352
+ },
105353
+ {
105354
+ "path": "isMuted",
105355
+ "valueType": "boolean"
105356
+ },
105357
+ {
105358
+ "path": "source",
105359
+ "valueType": "string"
105360
+ },
105361
+ {
105362
+ "path": "currentMedia.type",
105363
+ "valueType": "string"
105364
+ },
105365
+ {
105366
+ "path": "currentMedia.title",
105367
+ "valueType": "string"
105368
+ },
105369
+ {
105370
+ "path": "currentMedia.artist",
105371
+ "valueType": "string"
105372
+ },
105373
+ {
105374
+ "path": "currentMedia.album",
105375
+ "valueType": "string"
105376
+ },
105377
+ {
105378
+ "path": "currentMedia.imageUrl",
105379
+ "valueType": "string"
105380
+ },
105381
+ {
105382
+ "path": "positionMs",
105383
+ "valueType": "number"
105384
+ },
105385
+ {
105386
+ "path": "durationMs",
105387
+ "valueType": "number"
105388
+ },
105389
+ {
105390
+ "path": "shuffle",
105391
+ "valueType": "boolean"
105392
+ },
105393
+ {
105394
+ "path": "repeat",
105395
+ "valueType": "enum",
105396
+ "enumValues": [
105397
+ "off",
105398
+ "all",
105399
+ "one"
105400
+ ]
105401
+ }
105402
+ ],
105403
+ "motion": [
105404
+ {
105405
+ "path": "detected",
105406
+ "valueType": "boolean"
105407
+ },
105408
+ {
105409
+ "path": "lastDetectedAt",
105410
+ "valueType": "number"
105411
+ },
105412
+ {
105413
+ "path": "autoClearAfterMs",
105414
+ "valueType": "number"
105415
+ }
105416
+ ],
105417
+ "motion-trigger": [{
105418
+ "path": "enabled",
105419
+ "valueType": "boolean"
105420
+ }],
105421
+ "motion-zones": [{
105422
+ "path": "enabled",
105423
+ "valueType": "boolean"
105424
+ }, {
105425
+ "path": "sensitivity",
105426
+ "valueType": "number"
105427
+ }],
105428
+ "mqtt-broker": [{
105429
+ "path": "brokerCount",
105430
+ "valueType": "number"
105431
+ }, {
105432
+ "path": "embeddedRunning",
105433
+ "valueType": "boolean"
105434
+ }],
105435
+ "native-object-detection": [{
105436
+ "path": "enabled",
105437
+ "valueType": "boolean"
105438
+ }],
105439
+ "navigation": [
105440
+ {
105441
+ "path": "mode",
105442
+ "valueType": "enum",
105443
+ "enumValues": [
105444
+ "idle",
105445
+ "cleaning",
105446
+ "spot",
105447
+ "following",
105448
+ "goto",
105449
+ "returning",
105450
+ "paused",
105451
+ "unknown"
105452
+ ]
105453
+ },
105454
+ {
105455
+ "path": "following",
105456
+ "valueType": "boolean"
105457
+ },
105458
+ {
105459
+ "path": "flash",
105460
+ "valueType": "boolean"
105461
+ },
105462
+ {
105463
+ "path": "lightMode",
105464
+ "valueType": "enum",
105465
+ "enumValues": ["auto", "manual"]
105466
+ },
105467
+ {
105468
+ "path": "lightLevel",
105469
+ "valueType": "number"
105470
+ }
105471
+ ],
105472
+ "network-link": [
105473
+ {
105474
+ "path": "type",
105475
+ "valueType": "enum",
105476
+ "enumValues": [
105477
+ "wifi",
105478
+ "ethernet",
105479
+ "cellular",
105480
+ "unknown"
105481
+ ]
105482
+ },
105483
+ {
105484
+ "path": "signalPercent",
105485
+ "valueType": "number"
105486
+ },
105487
+ {
105488
+ "path": "rssiDbm",
105489
+ "valueType": "number"
105490
+ },
105491
+ {
105492
+ "path": "ssid",
105493
+ "valueType": "string"
105494
+ },
105495
+ {
105496
+ "path": "lastUpdated",
105497
+ "valueType": "number"
105498
+ }
105499
+ ],
105500
+ "notifier": [
105501
+ {
105502
+ "path": "lastSentAt",
105503
+ "valueType": "number"
105504
+ },
105505
+ {
105506
+ "path": "lastError",
105507
+ "valueType": "string"
105508
+ },
105509
+ {
105510
+ "path": "queueDepth",
105511
+ "valueType": "number"
105512
+ },
105513
+ {
105514
+ "path": "supports.image",
105515
+ "valueType": "boolean"
105516
+ },
105517
+ {
105518
+ "path": "supports.priority",
105519
+ "valueType": "boolean"
105520
+ },
105521
+ {
105522
+ "path": "supports.data",
105523
+ "valueType": "boolean"
105524
+ },
105525
+ {
105526
+ "path": "supports.actions",
105527
+ "valueType": "boolean"
105528
+ },
105529
+ {
105530
+ "path": "supports.recipients",
105531
+ "valueType": "boolean"
105532
+ }
105533
+ ],
105534
+ "numeric-sensor": [
105535
+ {
105536
+ "path": "value",
105537
+ "valueType": "number"
105538
+ },
105539
+ {
105540
+ "path": "unit",
105541
+ "valueType": "string"
105542
+ },
105543
+ {
105544
+ "path": "precision",
105545
+ "valueType": "number"
105546
+ }
105547
+ ],
105548
+ "pet-feeder": [
105549
+ {
105550
+ "path": "foodLevel",
105551
+ "valueType": "number"
105552
+ },
105553
+ {
105554
+ "path": "food1",
105555
+ "valueType": "number"
105556
+ },
105557
+ {
105558
+ "path": "food2",
105559
+ "valueType": "number"
105560
+ },
105561
+ {
105562
+ "path": "lowFood",
105563
+ "valueType": "boolean"
105564
+ },
105565
+ {
105566
+ "path": "batteryPower",
105567
+ "valueType": "number"
105568
+ },
105569
+ {
105570
+ "path": "desiccantLeftDays",
105571
+ "valueType": "number"
105572
+ },
105573
+ {
105574
+ "path": "feeding",
105575
+ "valueType": "boolean"
105576
+ },
105577
+ {
105578
+ "path": "status",
105579
+ "valueType": "enum",
105580
+ "enumValues": [
105581
+ "normal",
105582
+ "offline",
105583
+ "on_batteries"
105584
+ ]
105585
+ },
105586
+ {
105587
+ "path": "error",
105588
+ "valueType": "string"
105589
+ },
105590
+ {
105591
+ "path": "errorCode",
105592
+ "valueType": "number"
105593
+ },
105594
+ {
105595
+ "path": "isDualHopper",
105596
+ "valueType": "boolean"
105597
+ },
105598
+ {
105599
+ "path": "childLock",
105600
+ "valueType": "boolean"
105601
+ },
105602
+ {
105603
+ "path": "indicatorLight",
105604
+ "valueType": "boolean"
105605
+ },
105606
+ {
105607
+ "path": "feedSound",
105608
+ "valueType": "boolean"
105609
+ },
105610
+ {
105611
+ "path": "volume",
105612
+ "valueType": "number"
105613
+ }
105614
+ ],
105615
+ "power-meter": [
105616
+ {
105617
+ "path": "watts",
105618
+ "valueType": "number"
105619
+ },
105620
+ {
105621
+ "path": "kwhTotal",
105622
+ "valueType": "number"
105623
+ },
105624
+ {
105625
+ "path": "volts",
105626
+ "valueType": "number"
105627
+ },
105628
+ {
105629
+ "path": "amps",
105630
+ "valueType": "number"
105631
+ },
105632
+ {
105633
+ "path": "va",
105634
+ "valueType": "number"
105635
+ },
105636
+ {
105637
+ "path": "powerFactor",
105638
+ "valueType": "number"
105639
+ },
105640
+ {
105641
+ "path": "unit",
105642
+ "valueType": "string"
105643
+ },
105644
+ {
105645
+ "path": "precision",
105646
+ "valueType": "number"
105647
+ }
105648
+ ],
105649
+ "presence": [
105650
+ {
105651
+ "path": "state",
105652
+ "valueType": "string"
105653
+ },
105654
+ {
105655
+ "path": "location",
105656
+ "valueType": "string"
105657
+ },
105658
+ {
105659
+ "path": "gps.latitude",
105660
+ "valueType": "number"
105661
+ },
105662
+ {
105663
+ "path": "gps.longitude",
105664
+ "valueType": "number"
105665
+ },
105666
+ {
105667
+ "path": "gps.accuracyMeters",
105668
+ "valueType": "number"
105669
+ },
105670
+ {
105671
+ "path": "batteryPercent",
105672
+ "valueType": "number"
105673
+ }
105674
+ ],
105675
+ "pressure-sensor": [
105676
+ {
105677
+ "path": "hpa",
105678
+ "valueType": "number"
105679
+ },
105680
+ {
105681
+ "path": "unit",
105682
+ "valueType": "string"
105683
+ },
105684
+ {
105685
+ "path": "precision",
105686
+ "valueType": "number"
105687
+ }
105688
+ ],
105689
+ "privacy-mask": [{
105690
+ "path": "enabled",
105691
+ "valueType": "boolean"
105692
+ }, {
105693
+ "path": "audioEnabled",
105694
+ "valueType": "boolean"
105695
+ }],
105696
+ "ptz": [
105697
+ {
105698
+ "path": "pan",
105699
+ "valueType": "number"
105700
+ },
105701
+ {
105702
+ "path": "tilt",
105703
+ "valueType": "number"
105704
+ },
105705
+ {
105706
+ "path": "zoom",
105707
+ "valueType": "number"
105708
+ },
105709
+ {
105710
+ "path": "autofocus",
105711
+ "valueType": "boolean"
105712
+ }
105713
+ ],
105714
+ "ptz-autotrack": [
105715
+ {
105716
+ "path": "enabled",
105717
+ "valueType": "boolean"
105718
+ },
105719
+ {
105720
+ "path": "currentSettings.targetType",
105721
+ "valueType": "string"
105722
+ },
105723
+ {
105724
+ "path": "currentSettings.stopDelaySeconds",
105725
+ "valueType": "number"
105726
+ },
105727
+ {
105728
+ "path": "currentSettings.disappearDelaySeconds",
105729
+ "valueType": "number"
105730
+ }
105731
+ ],
105732
+ "recording-archive": [
105733
+ {
105734
+ "path": "deviceId",
105735
+ "valueType": "number"
105736
+ },
105737
+ {
105738
+ "path": "enabled",
105739
+ "valueType": "boolean"
105740
+ },
105741
+ {
105742
+ "path": "activeMode",
105743
+ "valueType": "enum",
105744
+ "enumValues": [
105745
+ "off",
105746
+ "events",
105747
+ "continuous",
105748
+ "on-device-decision"
105749
+ ]
105750
+ },
105751
+ {
105752
+ "path": "nodeId",
105753
+ "valueType": "string"
105754
+ },
105755
+ {
105756
+ "path": "storageBytes",
105757
+ "valueType": "number"
105758
+ }
105759
+ ],
105760
+ "recording-onboard": [
105761
+ {
105762
+ "path": "primaryTrackId",
105763
+ "valueType": "string"
105764
+ },
105765
+ {
105766
+ "path": "enabled",
105767
+ "valueType": "boolean"
105768
+ },
105769
+ {
105770
+ "path": "overwriteWhenFull",
105771
+ "valueType": "boolean"
105772
+ },
105773
+ {
105774
+ "path": "preRecordSec",
105775
+ "valueType": "number"
105776
+ },
105777
+ {
105778
+ "path": "postRecordSec",
105779
+ "valueType": "number"
105780
+ },
105781
+ {
105782
+ "path": "segmentMinutes",
105783
+ "valueType": "number"
105784
+ },
105785
+ {
105786
+ "path": "unreadableWindows",
105787
+ "valueType": "number"
105788
+ },
105789
+ {
105790
+ "path": "recordingToNowhere",
105791
+ "valueType": "boolean"
105792
+ }
105793
+ ],
105794
+ "recording-signal": [{
105795
+ "path": "active",
105796
+ "valueType": "boolean"
105797
+ }, {
105798
+ "path": "reason",
105799
+ "valueType": "string"
105800
+ }],
105801
+ "script-runner": [
105802
+ {
105803
+ "path": "isRunning",
105804
+ "valueType": "boolean"
105805
+ },
105806
+ {
105807
+ "path": "lastRunAt",
105808
+ "valueType": "number"
105809
+ },
105810
+ {
105811
+ "path": "lastRunSuccess",
105812
+ "valueType": "boolean"
105813
+ },
105814
+ {
105815
+ "path": "lastError",
105816
+ "valueType": "string"
105817
+ }
105818
+ ],
105819
+ "smoke": [{
105820
+ "path": "detected",
105821
+ "valueType": "boolean"
105822
+ }],
105823
+ "snapshot": [
105824
+ {
105825
+ "path": "lastCapturedAt",
105826
+ "valueType": "number"
105827
+ },
105828
+ {
105829
+ "path": "cacheAgeMs",
105830
+ "valueType": "number"
105831
+ },
105832
+ {
105833
+ "path": "lastBytes",
105834
+ "valueType": "number"
105835
+ },
105836
+ {
105837
+ "path": "lastStreamId",
105838
+ "valueType": "string"
105839
+ }
105840
+ ],
105841
+ "stream-params": [
105842
+ {
105843
+ "path": "main.width",
105844
+ "valueType": "number"
105845
+ },
105846
+ {
105847
+ "path": "main.height",
105848
+ "valueType": "number"
105849
+ },
105850
+ {
105851
+ "path": "main.codec",
105852
+ "valueType": "enum",
105853
+ "enumValues": ["h264", "h265"]
105854
+ },
105855
+ {
105856
+ "path": "main.framerate",
105857
+ "valueType": "number"
105858
+ },
105859
+ {
105860
+ "path": "main.bitrate",
105861
+ "valueType": "number"
105862
+ },
105863
+ {
105864
+ "path": "main.bitrateMode",
105865
+ "valueType": "enum",
105866
+ "enumValues": ["vbr", "cbr"]
105867
+ },
105868
+ {
105869
+ "path": "main.encoderProfile",
105870
+ "valueType": "enum",
105871
+ "enumValues": [
105872
+ "high",
105873
+ "main",
105874
+ "baseline"
105875
+ ]
105876
+ },
105877
+ {
105878
+ "path": "main.gop",
105879
+ "valueType": "number"
105880
+ },
105881
+ {
105882
+ "path": "main.audio",
105883
+ "valueType": "boolean"
105884
+ },
105885
+ {
105886
+ "path": "sub.width",
105887
+ "valueType": "number"
105888
+ },
105889
+ {
105890
+ "path": "sub.height",
105891
+ "valueType": "number"
105892
+ },
105893
+ {
105894
+ "path": "sub.codec",
105895
+ "valueType": "enum",
105896
+ "enumValues": ["h264", "h265"]
105897
+ },
105898
+ {
105899
+ "path": "sub.framerate",
105900
+ "valueType": "number"
105901
+ },
105902
+ {
105903
+ "path": "sub.bitrate",
105904
+ "valueType": "number"
105905
+ },
105906
+ {
105907
+ "path": "sub.bitrateMode",
105908
+ "valueType": "enum",
105909
+ "enumValues": ["vbr", "cbr"]
105910
+ },
105911
+ {
105912
+ "path": "sub.encoderProfile",
105913
+ "valueType": "enum",
105914
+ "enumValues": [
105915
+ "high",
105916
+ "main",
105917
+ "baseline"
105918
+ ]
105919
+ },
105920
+ {
105921
+ "path": "sub.gop",
105922
+ "valueType": "number"
105923
+ },
105924
+ {
105925
+ "path": "sub.audio",
105926
+ "valueType": "boolean"
105927
+ },
105928
+ {
105929
+ "path": "ext.width",
105930
+ "valueType": "number"
105931
+ },
105932
+ {
105933
+ "path": "ext.height",
105934
+ "valueType": "number"
105935
+ },
105936
+ {
105937
+ "path": "ext.codec",
105938
+ "valueType": "enum",
105939
+ "enumValues": ["h264", "h265"]
105940
+ },
105941
+ {
105942
+ "path": "ext.framerate",
105943
+ "valueType": "number"
105944
+ },
105945
+ {
105946
+ "path": "ext.bitrate",
105947
+ "valueType": "number"
105948
+ },
105949
+ {
105950
+ "path": "ext.bitrateMode",
105951
+ "valueType": "enum",
105952
+ "enumValues": ["vbr", "cbr"]
105953
+ },
105954
+ {
105955
+ "path": "ext.encoderProfile",
105956
+ "valueType": "enum",
105957
+ "enumValues": [
105958
+ "high",
105959
+ "main",
105960
+ "baseline"
105961
+ ]
105962
+ },
105963
+ {
105964
+ "path": "ext.gop",
105965
+ "valueType": "number"
105966
+ },
105967
+ {
105968
+ "path": "ext.audio",
105969
+ "valueType": "boolean"
105970
+ }
105971
+ ],
105972
+ "switch": [{
105973
+ "path": "on",
105974
+ "valueType": "boolean"
105975
+ }],
105976
+ "tamper": [{
105977
+ "path": "tampered",
105978
+ "valueType": "boolean"
105979
+ }],
105980
+ "temperature-sensor": [
105981
+ {
105982
+ "path": "celsius",
105983
+ "valueType": "number"
105984
+ },
105985
+ {
105986
+ "path": "unit",
105987
+ "valueType": "string"
105988
+ },
105989
+ {
105990
+ "path": "precision",
105991
+ "valueType": "number"
105992
+ }
105993
+ ],
105994
+ "update": [
105995
+ {
105996
+ "path": "currentVersion",
105997
+ "valueType": "string"
105998
+ },
105999
+ {
106000
+ "path": "availableVersion",
106001
+ "valueType": "string"
106002
+ },
106003
+ {
106004
+ "path": "updatable",
106005
+ "valueType": "boolean"
106006
+ },
106007
+ {
106008
+ "path": "state",
106009
+ "valueType": "string"
106010
+ },
106011
+ {
106012
+ "path": "inProgress",
106013
+ "valueType": "boolean"
106014
+ }
106015
+ ],
106016
+ "vacuum-control": [
106017
+ {
106018
+ "path": "state",
106019
+ "valueType": "enum",
106020
+ "enumValues": [
106021
+ "idle",
106022
+ "cleaning",
106023
+ "paused",
106024
+ "returning",
106025
+ "docked",
106026
+ "drying",
106027
+ "error"
106028
+ ]
106029
+ },
106030
+ {
106031
+ "path": "batteryLevel",
106032
+ "valueType": "number"
106033
+ },
106034
+ {
106035
+ "path": "fanSpeed",
106036
+ "valueType": "string"
106037
+ },
106038
+ {
106039
+ "path": "cleanWater.level",
106040
+ "valueType": "number"
106041
+ },
106042
+ {
106043
+ "path": "cleanWater.status",
106044
+ "valueType": "enum",
106045
+ "enumValues": [
106046
+ "ok",
106047
+ "low",
106048
+ "full"
106049
+ ]
106050
+ },
106051
+ {
106052
+ "path": "dirtyWater.level",
106053
+ "valueType": "number"
106054
+ },
106055
+ {
106056
+ "path": "dirtyWater.status",
106057
+ "valueType": "enum",
106058
+ "enumValues": [
106059
+ "ok",
106060
+ "low",
106061
+ "full"
106062
+ ]
106063
+ },
106064
+ {
106065
+ "path": "detergent.level",
106066
+ "valueType": "number"
106067
+ },
106068
+ {
106069
+ "path": "detergent.status",
106070
+ "valueType": "enum",
106071
+ "enumValues": [
106072
+ "ok",
106073
+ "low",
106074
+ "full"
106075
+ ]
106076
+ },
106077
+ {
106078
+ "path": "dustBin.level",
106079
+ "valueType": "number"
106080
+ },
106081
+ {
106082
+ "path": "dustBin.status",
106083
+ "valueType": "enum",
106084
+ "enumValues": [
106085
+ "ok",
106086
+ "low",
106087
+ "full"
106088
+ ]
106089
+ },
106090
+ {
106091
+ "path": "progressPercent",
106092
+ "valueType": "number"
106093
+ },
106094
+ {
106095
+ "path": "errorCode",
106096
+ "valueType": "number"
106097
+ },
106098
+ {
106099
+ "path": "errorLabel",
106100
+ "valueType": "string"
106101
+ }
106102
+ ],
106103
+ "valve": [{
106104
+ "path": "state",
106105
+ "valueType": "enum",
106106
+ "enumValues": [
106107
+ "open",
106108
+ "opening",
106109
+ "closing",
106110
+ "closed",
106111
+ "stopped"
106112
+ ]
106113
+ }, {
106114
+ "path": "position",
106115
+ "valueType": "number"
106116
+ }],
106117
+ "vibration": [{
106118
+ "path": "detected",
106119
+ "valueType": "boolean"
106120
+ }],
106121
+ "water-heater": [
106122
+ {
106123
+ "path": "currentTemp",
106124
+ "valueType": "number"
106125
+ },
106126
+ {
106127
+ "path": "targetTemp",
106128
+ "valueType": "number"
106129
+ },
106130
+ {
106131
+ "path": "operationMode",
106132
+ "valueType": "string"
106133
+ },
106134
+ {
106135
+ "path": "away",
106136
+ "valueType": "boolean"
106137
+ },
106138
+ {
106139
+ "path": "minTemp",
106140
+ "valueType": "number"
106141
+ },
106142
+ {
106143
+ "path": "maxTemp",
106144
+ "valueType": "number"
106145
+ }
106146
+ ],
106147
+ "weather": [
106148
+ {
106149
+ "path": "condition",
106150
+ "valueType": "string"
106151
+ },
106152
+ {
106153
+ "path": "temperature",
106154
+ "valueType": "number"
106155
+ },
106156
+ {
106157
+ "path": "temperatureUnit",
106158
+ "valueType": "string"
106159
+ },
106160
+ {
106161
+ "path": "humidity",
106162
+ "valueType": "number"
106163
+ },
106164
+ {
106165
+ "path": "pressure",
106166
+ "valueType": "number"
106167
+ },
106168
+ {
106169
+ "path": "pressureUnit",
106170
+ "valueType": "string"
106171
+ },
106172
+ {
106173
+ "path": "windSpeed",
106174
+ "valueType": "number"
106175
+ },
106176
+ {
106177
+ "path": "windSpeedUnit",
106178
+ "valueType": "string"
106179
+ },
106180
+ {
106181
+ "path": "windBearing",
106182
+ "valueType": "number"
106183
+ }
106184
+ ],
106185
+ "zone-analytics": [
106186
+ {
106187
+ "path": "ts",
106188
+ "valueType": "number"
106189
+ },
106190
+ {
106191
+ "path": "frameWidth",
106192
+ "valueType": "number"
106193
+ },
106194
+ {
106195
+ "path": "frameHeight",
106196
+ "valueType": "number"
106197
+ },
106198
+ {
106199
+ "path": "frame.totalObjects",
106200
+ "valueType": "number"
106201
+ },
106202
+ {
106203
+ "path": "frame.standingObjects",
106204
+ "valueType": "number"
106205
+ },
106206
+ {
106207
+ "path": "frame.transientObjects",
106208
+ "valueType": "number"
106209
+ },
106210
+ {
106211
+ "path": "unzoned.totalObjects",
106212
+ "valueType": "number"
106213
+ },
106214
+ {
106215
+ "path": "unzoned.standingObjects",
106216
+ "valueType": "number"
106217
+ },
106218
+ {
106219
+ "path": "unzoned.transientObjects",
106220
+ "valueType": "number"
106221
+ }
106222
+ ]
106223
+ });
104233
106224
  //#endregion
104234
106225
  //#region src/pipeline-analytics/services/sensor-transition-gate.ts
104235
106226
  /**
@@ -104414,11 +106405,13 @@ var WORD_LEVEL_INACTIVE = {
104414
106405
  * `events[*].fromState: { field, on: 'advance' }` — the declaration the
104415
106406
  * composer already emits from — never listed by hand here. See "A press is a
104416
106407
  * stamp that ADVANCES" above.
106408
+ *
106409
+ * The table is codegen'd (`CAP_ADVANCE_FIELDS`, `npm run codegen`) and
106410
+ * schema-free: this file used to derive it from `ALL_CAPABILITY_DEFINITIONS`,
106411
+ * which inlined every cap's Zod schema into the addon (~+100 MB heap per
106412
+ * post-analysis runner, D28).
104417
106413
  */
104418
- var ADVANCE_FIELD = Object.fromEntries(require_clip_model_registry.ALL_CAPABILITY_DEFINITIONS.flatMap((def) => {
104419
- const fromState = Object.values(def.events ?? {}).find((event) => event.fromState?.on === "advance")?.fromState;
104420
- return fromState === void 0 ? [] : [[def.name, fromState.field]];
104421
- }));
106414
+ var ADVANCE_FIELD = CAP_ADVANCE_FIELDS;
104422
106415
  /** Default drop-summary window: one line per device per ten minutes, at most. */
104423
106416
  var DEFAULT_DROP_SUMMARY_WINDOW_MS = 6e5;
104424
106417
  var SensorTransitionGate = class {