@camstack/addon-export-hap 1.2.178 → 1.2.180

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.
@@ -39,7 +39,7 @@ var __copyProps = (to, from, except, desc) => {
39
39
  var __toCommonJS = (mod) => __hasOwnProp.call(mod, "module.exports") ? mod["module.exports"] : __copyProps(__defProp({}, "__esModule", { value: true }), mod);
40
40
  var __require = /* @__PURE__ */ createRequire(import.meta.url);
41
41
  //#endregion
42
- //#region ../types/dist/event-category-Ceif8n-v.mjs
42
+ //#region ../types/dist/event-category-DHXxB8t9.mjs
43
43
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
44
44
  EventCategory["SystemBoot"] = "system.boot";
45
45
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -335,7 +335,7 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
335
335
  * TRANSITION into that state (never per dispatch), and the node is dropped
336
336
  * from the placement candidate set for as long as it holds.
337
337
  *
338
- * This exists because the state was previously invisible: little-unraid
338
+ * This exists because the state was previously invisible: agent-a
339
339
  * absorbed 283k inference errors in a day while still being handed cameras,
340
340
  * and nothing in the system said so.
341
341
  *
@@ -5474,7 +5474,7 @@ var ZodIssueCode = {
5474
5474
  var ZodFirstPartyTypeKind;
5475
5475
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5476
5476
  //#endregion
5477
- //#region ../types/dist/sleep-CYfIZzGv.mjs
5477
+ //#region ../types/dist/sleep-BErAxhul.mjs
5478
5478
  /**
5479
5479
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5480
5480
  * window to float samples (D455).
@@ -8485,6 +8485,1980 @@ method(object({ deviceId: number() }), array(StreamSourceEntrySchema)), method(o
8485
8485
  kind: "mutation",
8486
8486
  auth: "admin"
8487
8487
  }), method(object({ deviceId: number() }), unknown().nullable()), method(object({ deviceId: number() }), RawStateResultSchema.nullable(), { auth: "protected" });
8488
+ Object.freeze({ "doorbell": "lastPressedAt" });
8489
+ /** Every capability name, so addon code can check a name without the schema graph. */
8490
+ var CAP_NAMES = Object.freeze([
8491
+ "accessories",
8492
+ "addon-pages",
8493
+ "addon-pages-source",
8494
+ "addon-routes",
8495
+ "addon-settings",
8496
+ "addon-widgets",
8497
+ "addon-widgets-source",
8498
+ "addons",
8499
+ "admin-ui",
8500
+ "air-quality-sensor",
8501
+ "alarm-panel",
8502
+ "alerts",
8503
+ "ambient-light-sensor",
8504
+ "audio-analysis",
8505
+ "audio-analyzer",
8506
+ "audio-codec",
8507
+ "audio-metrics",
8508
+ "auth-provider",
8509
+ "automation-control",
8510
+ "backup",
8511
+ "battery",
8512
+ "binary",
8513
+ "brightness",
8514
+ "broker",
8515
+ "button",
8516
+ "calendar-source",
8517
+ "calendars",
8518
+ "camera-credentials",
8519
+ "camera-grid-layout",
8520
+ "camera-pipeline-config",
8521
+ "camera-streams",
8522
+ "carbon-monoxide",
8523
+ "climate-control",
8524
+ "color",
8525
+ "composer",
8526
+ "connection-test",
8527
+ "connectivity",
8528
+ "consumables",
8529
+ "contact",
8530
+ "control",
8531
+ "core-blocks",
8532
+ "cover",
8533
+ "custom-model-registry",
8534
+ "data-store-provider",
8535
+ "database-snapshot",
8536
+ "day-night",
8537
+ "decoder",
8538
+ "detection-pipeline",
8539
+ "device-admin-link",
8540
+ "device-adoption",
8541
+ "device-credentials",
8542
+ "device-discovery",
8543
+ "device-export",
8544
+ "device-extension",
8545
+ "device-history",
8546
+ "device-manager",
8547
+ "device-ops",
8548
+ "device-provider",
8549
+ "device-removal-hook",
8550
+ "device-state",
8551
+ "device-status",
8552
+ "dishwasher",
8553
+ "display-palette",
8554
+ "doorbell",
8555
+ "embedding-encoder",
8556
+ "enum-sensor",
8557
+ "event-emitter",
8558
+ "face-gallery",
8559
+ "failure-contribution",
8560
+ "fan-control",
8561
+ "feature-probe",
8562
+ "filesystem-browse",
8563
+ "flood",
8564
+ "gas",
8565
+ "heating-valve",
8566
+ "humidifier",
8567
+ "humidity-sensor",
8568
+ "image",
8569
+ "image-settings",
8570
+ "integrations",
8571
+ "intercom",
8572
+ "keychain",
8573
+ "keychain-admin",
8574
+ "lawn-mower-control",
8575
+ "llm",
8576
+ "llm-runtime",
8577
+ "load-contribution",
8578
+ "local-network",
8579
+ "lock-control",
8580
+ "log-channels",
8581
+ "log-destination",
8582
+ "login-method",
8583
+ "media-player",
8584
+ "mesh-network",
8585
+ "metrics-provider",
8586
+ "model-convert",
8587
+ "model-distributor",
8588
+ "motion",
8589
+ "motion-detection",
8590
+ "motion-trigger",
8591
+ "motion-zones",
8592
+ "mqtt-broker",
8593
+ "native-object-detection",
8594
+ "navigation",
8595
+ "network-access",
8596
+ "network-link",
8597
+ "network-quality",
8598
+ "node-certificates",
8599
+ "nodes",
8600
+ "notification-output",
8601
+ "notification-rules",
8602
+ "notifier",
8603
+ "numeric-sensor",
8604
+ "oauth-integration",
8605
+ "oidc-connections",
8606
+ "osd",
8607
+ "osd-manager",
8608
+ "pet-feeder",
8609
+ "pipeline-analytics",
8610
+ "pipeline-executor",
8611
+ "pipeline-orchestrator",
8612
+ "pipeline-runner",
8613
+ "plate-gallery",
8614
+ "platform-probe",
8615
+ "power-meter",
8616
+ "presence",
8617
+ "pressure-sensor",
8618
+ "privacy-mask",
8619
+ "ptz",
8620
+ "ptz-autotrack",
8621
+ "reboot",
8622
+ "record-entries",
8623
+ "recording",
8624
+ "recording-archive",
8625
+ "recording-export",
8626
+ "recording-onboard",
8627
+ "recording-signal",
8628
+ "records",
8629
+ "running-state",
8630
+ "scene-monitor",
8631
+ "script-runner",
8632
+ "server-management",
8633
+ "settings-store",
8634
+ "smoke",
8635
+ "smtp-provider",
8636
+ "snapshot",
8637
+ "sso-bridge",
8638
+ "storage",
8639
+ "storage-admin",
8640
+ "storage-evictable",
8641
+ "storage-migration",
8642
+ "storage-occupancy",
8643
+ "storage-provider",
8644
+ "stream-broker",
8645
+ "stream-catalog",
8646
+ "stream-params",
8647
+ "stream-signals",
8648
+ "switch",
8649
+ "system",
8650
+ "tamper",
8651
+ "temperature-sensor",
8652
+ "terminal-session",
8653
+ "toast",
8654
+ "training",
8655
+ "training-provider",
8656
+ "turn-provider",
8657
+ "update",
8658
+ "user-management",
8659
+ "user-passkeys",
8660
+ "vacuum-control",
8661
+ "valve",
8662
+ "vector-store",
8663
+ "vibration",
8664
+ "videoclips",
8665
+ "viewer-ui",
8666
+ "water-heater",
8667
+ "weather",
8668
+ "webrtc-session",
8669
+ "zone-analytics",
8670
+ "zone-rules",
8671
+ "zones"
8672
+ ]);
8673
+ Object.freeze({
8674
+ "air-quality-sensor": [
8675
+ {
8676
+ "path": "co2Ppm",
8677
+ "valueType": "number"
8678
+ },
8679
+ {
8680
+ "path": "vocPpb",
8681
+ "valueType": "number"
8682
+ },
8683
+ {
8684
+ "path": "pm25",
8685
+ "valueType": "number"
8686
+ },
8687
+ {
8688
+ "path": "pm10",
8689
+ "valueType": "number"
8690
+ },
8691
+ {
8692
+ "path": "aqi",
8693
+ "valueType": "number"
8694
+ },
8695
+ {
8696
+ "path": "unit",
8697
+ "valueType": "string"
8698
+ },
8699
+ {
8700
+ "path": "precision",
8701
+ "valueType": "number"
8702
+ }
8703
+ ],
8704
+ "alarm-panel": [
8705
+ {
8706
+ "path": "state",
8707
+ "valueType": "enum",
8708
+ "enumValues": [
8709
+ "disarmed",
8710
+ "armed_home",
8711
+ "armed_away",
8712
+ "armed_night",
8713
+ "armed_vacation",
8714
+ "armed_custom_bypass",
8715
+ "arming",
8716
+ "disarming",
8717
+ "pending",
8718
+ "triggered"
8719
+ ]
8720
+ },
8721
+ {
8722
+ "path": "targetMode",
8723
+ "valueType": "enum",
8724
+ "enumValues": [
8725
+ "home",
8726
+ "away",
8727
+ "night",
8728
+ "vacation",
8729
+ "custom_bypass"
8730
+ ]
8731
+ },
8732
+ {
8733
+ "path": "requiresCode",
8734
+ "valueType": "boolean"
8735
+ }
8736
+ ],
8737
+ "ambient-light-sensor": [
8738
+ {
8739
+ "path": "lux",
8740
+ "valueType": "number"
8741
+ },
8742
+ {
8743
+ "path": "unit",
8744
+ "valueType": "string"
8745
+ },
8746
+ {
8747
+ "path": "precision",
8748
+ "valueType": "number"
8749
+ }
8750
+ ],
8751
+ "audio-metrics": [
8752
+ {
8753
+ "path": "ts",
8754
+ "valueType": "number"
8755
+ },
8756
+ {
8757
+ "path": "windowSec",
8758
+ "valueType": "number"
8759
+ },
8760
+ {
8761
+ "path": "level.rms",
8762
+ "valueType": "number"
8763
+ },
8764
+ {
8765
+ "path": "level.dbfs",
8766
+ "valueType": "number"
8767
+ },
8768
+ {
8769
+ "path": "peakDbfs",
8770
+ "valueType": "number"
8771
+ },
8772
+ {
8773
+ "path": "avgDbfs",
8774
+ "valueType": "number"
8775
+ },
8776
+ {
8777
+ "path": "current.className",
8778
+ "valueType": "string"
8779
+ },
8780
+ {
8781
+ "path": "current.score",
8782
+ "valueType": "number"
8783
+ },
8784
+ {
8785
+ "path": "current.timestamp",
8786
+ "valueType": "number"
8787
+ }
8788
+ ],
8789
+ "automation-control": [
8790
+ {
8791
+ "path": "enabled",
8792
+ "valueType": "boolean"
8793
+ },
8794
+ {
8795
+ "path": "isRunning",
8796
+ "valueType": "boolean"
8797
+ },
8798
+ {
8799
+ "path": "lastTriggeredAt",
8800
+ "valueType": "number"
8801
+ },
8802
+ {
8803
+ "path": "lastError",
8804
+ "valueType": "string"
8805
+ }
8806
+ ],
8807
+ "battery": [
8808
+ {
8809
+ "path": "percentage",
8810
+ "valueType": "number"
8811
+ },
8812
+ {
8813
+ "path": "charging",
8814
+ "valueType": "enum",
8815
+ "enumValues": [
8816
+ "dc",
8817
+ "solar",
8818
+ "none",
8819
+ "unknown"
8820
+ ]
8821
+ },
8822
+ {
8823
+ "path": "sleeping",
8824
+ "valueType": "boolean"
8825
+ },
8826
+ {
8827
+ "path": "lastUpdated",
8828
+ "valueType": "number"
8829
+ },
8830
+ {
8831
+ "path": "lastContactAt",
8832
+ "valueType": "number"
8833
+ },
8834
+ {
8835
+ "path": "lastFullRefreshAt",
8836
+ "valueType": "number"
8837
+ },
8838
+ {
8839
+ "path": "binary",
8840
+ "valueType": "boolean"
8841
+ }
8842
+ ],
8843
+ "binary": [{
8844
+ "path": "on",
8845
+ "valueType": "boolean"
8846
+ }],
8847
+ "brightness": [{
8848
+ "path": "percentage",
8849
+ "valueType": "number"
8850
+ }],
8851
+ "broker": [{
8852
+ "path": "brokerCount",
8853
+ "valueType": "number"
8854
+ }, {
8855
+ "path": "connectedCount",
8856
+ "valueType": "number"
8857
+ }],
8858
+ "camera-credentials": [
8859
+ {
8860
+ "path": "host",
8861
+ "valueType": "string"
8862
+ },
8863
+ {
8864
+ "path": "port",
8865
+ "valueType": "number"
8866
+ },
8867
+ {
8868
+ "path": "onvifPort",
8869
+ "valueType": "number"
8870
+ },
8871
+ {
8872
+ "path": "rtspPort",
8873
+ "valueType": "number"
8874
+ },
8875
+ {
8876
+ "path": "https",
8877
+ "valueType": "boolean"
8878
+ },
8879
+ {
8880
+ "path": "hasUsername",
8881
+ "valueType": "boolean"
8882
+ },
8883
+ {
8884
+ "path": "hasPassword",
8885
+ "valueType": "boolean"
8886
+ },
8887
+ {
8888
+ "path": "onvifProfile",
8889
+ "valueType": "string"
8890
+ }
8891
+ ],
8892
+ "camera-streams": [
8893
+ {
8894
+ "path": "online",
8895
+ "valueType": "boolean"
8896
+ },
8897
+ {
8898
+ "path": "slotStatuses.high",
8899
+ "valueType": "enum",
8900
+ "enumValues": [
8901
+ "unassigned",
8902
+ "idle",
8903
+ "connecting",
8904
+ "streaming",
8905
+ "error"
8906
+ ]
8907
+ },
8908
+ {
8909
+ "path": "slotStatuses.mid",
8910
+ "valueType": "enum",
8911
+ "enumValues": [
8912
+ "unassigned",
8913
+ "idle",
8914
+ "connecting",
8915
+ "streaming",
8916
+ "error"
8917
+ ]
8918
+ },
8919
+ {
8920
+ "path": "slotStatuses.low",
8921
+ "valueType": "enum",
8922
+ "enumValues": [
8923
+ "unassigned",
8924
+ "idle",
8925
+ "connecting",
8926
+ "streaming",
8927
+ "error"
8928
+ ]
8929
+ },
8930
+ {
8931
+ "path": "slotErrors.high",
8932
+ "valueType": "string"
8933
+ },
8934
+ {
8935
+ "path": "slotErrors.mid",
8936
+ "valueType": "string"
8937
+ },
8938
+ {
8939
+ "path": "slotErrors.low",
8940
+ "valueType": "string"
8941
+ }
8942
+ ],
8943
+ "carbon-monoxide": [{
8944
+ "path": "detected",
8945
+ "valueType": "boolean"
8946
+ }],
8947
+ "climate-control": [
8948
+ {
8949
+ "path": "mode",
8950
+ "valueType": "enum",
8951
+ "enumValues": [
8952
+ "off",
8953
+ "heat",
8954
+ "cool",
8955
+ "auto",
8956
+ "heat_cool",
8957
+ "fan_only",
8958
+ "dry"
8959
+ ]
8960
+ },
8961
+ {
8962
+ "path": "fanMode",
8963
+ "valueType": "string"
8964
+ },
8965
+ {
8966
+ "path": "preset",
8967
+ "valueType": "string"
8968
+ },
8969
+ {
8970
+ "path": "target",
8971
+ "valueType": "number"
8972
+ },
8973
+ {
8974
+ "path": "targetHigh",
8975
+ "valueType": "number"
8976
+ },
8977
+ {
8978
+ "path": "targetLow",
8979
+ "valueType": "number"
8980
+ },
8981
+ {
8982
+ "path": "targetHumidity",
8983
+ "valueType": "number"
8984
+ },
8985
+ {
8986
+ "path": "currentTemp",
8987
+ "valueType": "number"
8988
+ },
8989
+ {
8990
+ "path": "currentHumidity",
8991
+ "valueType": "number"
8992
+ },
8993
+ {
8994
+ "path": "swingVertical",
8995
+ "valueType": "boolean"
8996
+ },
8997
+ {
8998
+ "path": "swingHorizontal",
8999
+ "valueType": "boolean"
9000
+ },
9001
+ {
9002
+ "path": "minTemp",
9003
+ "valueType": "number"
9004
+ },
9005
+ {
9006
+ "path": "maxTemp",
9007
+ "valueType": "number"
9008
+ },
9009
+ {
9010
+ "path": "tempStep",
9011
+ "valueType": "number"
9012
+ }
9013
+ ],
9014
+ "color": [
9015
+ {
9016
+ "path": "mode",
9017
+ "valueType": "enum",
9018
+ "enumValues": [
9019
+ "rgb",
9020
+ "hsv",
9021
+ "mired"
9022
+ ]
9023
+ },
9024
+ {
9025
+ "path": "rgb.r",
9026
+ "valueType": "number"
9027
+ },
9028
+ {
9029
+ "path": "rgb.g",
9030
+ "valueType": "number"
9031
+ },
9032
+ {
9033
+ "path": "rgb.b",
9034
+ "valueType": "number"
9035
+ },
9036
+ {
9037
+ "path": "hsv.h",
9038
+ "valueType": "number"
9039
+ },
9040
+ {
9041
+ "path": "hsv.s",
9042
+ "valueType": "number"
9043
+ },
9044
+ {
9045
+ "path": "hsv.v",
9046
+ "valueType": "number"
9047
+ },
9048
+ {
9049
+ "path": "mireds",
9050
+ "valueType": "number"
9051
+ }
9052
+ ],
9053
+ "connectivity": [{
9054
+ "path": "connected",
9055
+ "valueType": "boolean"
9056
+ }],
9057
+ "contact": [{
9058
+ "path": "entryOpen",
9059
+ "valueType": "boolean"
9060
+ }],
9061
+ "control": [
9062
+ {
9063
+ "path": "kind",
9064
+ "valueType": "enum",
9065
+ "enumValues": [
9066
+ "numeric",
9067
+ "select",
9068
+ "text",
9069
+ "datetime"
9070
+ ]
9071
+ },
9072
+ {
9073
+ "path": "unit",
9074
+ "valueType": "string"
9075
+ },
9076
+ {
9077
+ "path": "min",
9078
+ "valueType": "number"
9079
+ },
9080
+ {
9081
+ "path": "max",
9082
+ "valueType": "number"
9083
+ },
9084
+ {
9085
+ "path": "step",
9086
+ "valueType": "number"
9087
+ },
9088
+ {
9089
+ "path": "precision",
9090
+ "valueType": "number"
9091
+ },
9092
+ {
9093
+ "path": "format",
9094
+ "valueType": "enum",
9095
+ "enumValues": [
9096
+ "date",
9097
+ "time",
9098
+ "datetime"
9099
+ ]
9100
+ }
9101
+ ],
9102
+ "cover": [
9103
+ {
9104
+ "path": "state",
9105
+ "valueType": "enum",
9106
+ "enumValues": [
9107
+ "open",
9108
+ "opening",
9109
+ "closing",
9110
+ "closed",
9111
+ "stopped"
9112
+ ]
9113
+ },
9114
+ {
9115
+ "path": "position",
9116
+ "valueType": "number"
9117
+ },
9118
+ {
9119
+ "path": "tiltPosition",
9120
+ "valueType": "number"
9121
+ }
9122
+ ],
9123
+ "day-night": [
9124
+ {
9125
+ "path": "mode",
9126
+ "valueType": "enum",
9127
+ "enumValues": [
9128
+ "auto",
9129
+ "day",
9130
+ "night",
9131
+ "schedule"
9132
+ ]
9133
+ },
9134
+ {
9135
+ "path": "sensitivity",
9136
+ "valueType": "number"
9137
+ },
9138
+ {
9139
+ "path": "switchDelaySec",
9140
+ "valueType": "number"
9141
+ }
9142
+ ],
9143
+ "device-adoption": [
9144
+ {
9145
+ "path": "lastDiscoveryAt",
9146
+ "valueType": "number"
9147
+ },
9148
+ {
9149
+ "path": "candidateCount",
9150
+ "valueType": "number"
9151
+ },
9152
+ {
9153
+ "path": "adoptedCount",
9154
+ "valueType": "number"
9155
+ },
9156
+ {
9157
+ "path": "lastError",
9158
+ "valueType": "string"
9159
+ }
9160
+ ],
9161
+ "device-discovery": [{
9162
+ "path": "lastDiscoveryAt",
9163
+ "valueType": "number"
9164
+ }, {
9165
+ "path": "lastError",
9166
+ "valueType": "string"
9167
+ }],
9168
+ "device-export": [
9169
+ {
9170
+ "path": "linkState",
9171
+ "valueType": "enum",
9172
+ "enumValues": [
9173
+ "unlinked",
9174
+ "linked",
9175
+ "error"
9176
+ ]
9177
+ },
9178
+ {
9179
+ "path": "exposedDeviceCount",
9180
+ "valueType": "number"
9181
+ },
9182
+ {
9183
+ "path": "error",
9184
+ "valueType": "string"
9185
+ },
9186
+ {
9187
+ "path": "setup.qr",
9188
+ "valueType": "string"
9189
+ },
9190
+ {
9191
+ "path": "setup.note",
9192
+ "valueType": "string"
9193
+ }
9194
+ ],
9195
+ "device-status": [{
9196
+ "path": "online",
9197
+ "valueType": "boolean"
9198
+ }],
9199
+ "dishwasher": [
9200
+ {
9201
+ "path": "availability",
9202
+ "valueType": "enum",
9203
+ "enumValues": [
9204
+ "available",
9205
+ "offline",
9206
+ "description-missing"
9207
+ ]
9208
+ },
9209
+ {
9210
+ "path": "state",
9211
+ "valueType": "enum",
9212
+ "enumValues": [
9213
+ "idle",
9214
+ "running",
9215
+ "paused",
9216
+ "finished",
9217
+ "error",
9218
+ "unavailable"
9219
+ ]
9220
+ },
9221
+ {
9222
+ "path": "operationState",
9223
+ "valueType": "enum",
9224
+ "enumValues": [
9225
+ "Inactive",
9226
+ "Ready",
9227
+ "DelayedStart",
9228
+ "Run",
9229
+ "Pause",
9230
+ "ActionRequired",
9231
+ "Finished",
9232
+ "Error",
9233
+ "Aborting"
9234
+ ]
9235
+ },
9236
+ {
9237
+ "path": "program",
9238
+ "valueType": "string"
9239
+ },
9240
+ {
9241
+ "path": "selectedProgram",
9242
+ "valueType": "string"
9243
+ },
9244
+ {
9245
+ "path": "remainingSeconds",
9246
+ "valueType": "number"
9247
+ },
9248
+ {
9249
+ "path": "delayedStartSeconds",
9250
+ "valueType": "number"
9251
+ },
9252
+ {
9253
+ "path": "progressPercent",
9254
+ "valueType": "number"
9255
+ },
9256
+ {
9257
+ "path": "doorOpen",
9258
+ "valueType": "boolean"
9259
+ },
9260
+ {
9261
+ "path": "doorLocked",
9262
+ "valueType": "boolean"
9263
+ },
9264
+ {
9265
+ "path": "remoteStartAllowed",
9266
+ "valueType": "boolean"
9267
+ },
9268
+ {
9269
+ "path": "remoteControlActive",
9270
+ "valueType": "boolean"
9271
+ },
9272
+ {
9273
+ "path": "localControlActive",
9274
+ "valueType": "boolean"
9275
+ },
9276
+ {
9277
+ "path": "powerOn",
9278
+ "valueType": "boolean"
9279
+ },
9280
+ {
9281
+ "path": "powerState",
9282
+ "valueType": "string"
9283
+ },
9284
+ {
9285
+ "path": "filterCleaningDue",
9286
+ "valueType": "boolean"
9287
+ },
9288
+ {
9289
+ "path": "machineCareDue",
9290
+ "valueType": "boolean"
9291
+ },
9292
+ {
9293
+ "path": "machineCareRemainingRuns",
9294
+ "valueType": "number"
9295
+ },
9296
+ {
9297
+ "path": "halfLoad",
9298
+ "valueType": "boolean"
9299
+ },
9300
+ {
9301
+ "path": "hygienePlus",
9302
+ "valueType": "boolean"
9303
+ },
9304
+ {
9305
+ "path": "extraDry",
9306
+ "valueType": "boolean"
9307
+ },
9308
+ {
9309
+ "path": "intensiveZone",
9310
+ "valueType": "boolean"
9311
+ },
9312
+ {
9313
+ "path": "varioSpeedPlus",
9314
+ "valueType": "boolean"
9315
+ },
9316
+ {
9317
+ "path": "childLock",
9318
+ "valueType": "boolean"
9319
+ },
9320
+ {
9321
+ "path": "errorCode",
9322
+ "valueType": "number"
9323
+ },
9324
+ {
9325
+ "path": "errorLabel",
9326
+ "valueType": "string"
9327
+ }
9328
+ ],
9329
+ "doorbell": [{
9330
+ "path": "lastPressedAt",
9331
+ "valueType": "number"
9332
+ }, {
9333
+ "path": "pressCountSinceStart",
9334
+ "valueType": "number"
9335
+ }],
9336
+ "enum-sensor": [{
9337
+ "path": "value",
9338
+ "valueType": "string"
9339
+ }, {
9340
+ "path": "format",
9341
+ "valueType": "enum",
9342
+ "enumValues": [
9343
+ "date",
9344
+ "time",
9345
+ "datetime"
9346
+ ]
9347
+ }],
9348
+ "event-emitter": [
9349
+ {
9350
+ "path": "lastEvent.deviceId",
9351
+ "valueType": "number"
9352
+ },
9353
+ {
9354
+ "path": "lastEvent.eventType",
9355
+ "valueType": "string"
9356
+ },
9357
+ {
9358
+ "path": "lastEvent.timestamp",
9359
+ "valueType": "number"
9360
+ },
9361
+ {
9362
+ "path": "lastEvent.seq",
9363
+ "valueType": "number"
9364
+ },
9365
+ {
9366
+ "path": "eventCountSinceStart",
9367
+ "valueType": "number"
9368
+ }
9369
+ ],
9370
+ "fan-control": [
9371
+ {
9372
+ "path": "percentage",
9373
+ "valueType": "number"
9374
+ },
9375
+ {
9376
+ "path": "percentageStep",
9377
+ "valueType": "number"
9378
+ },
9379
+ {
9380
+ "path": "preset",
9381
+ "valueType": "string"
9382
+ },
9383
+ {
9384
+ "path": "direction",
9385
+ "valueType": "enum",
9386
+ "enumValues": ["forward", "reverse"]
9387
+ },
9388
+ {
9389
+ "path": "oscillating",
9390
+ "valueType": "boolean"
9391
+ }
9392
+ ],
9393
+ "feature-probe": [
9394
+ {
9395
+ "path": "deviceType",
9396
+ "valueType": "string"
9397
+ },
9398
+ {
9399
+ "path": "model",
9400
+ "valueType": "string"
9401
+ },
9402
+ {
9403
+ "path": "channelCount",
9404
+ "valueType": "number"
9405
+ },
9406
+ {
9407
+ "path": "lastProbedAt",
9408
+ "valueType": "number"
9409
+ }
9410
+ ],
9411
+ "flood": [{
9412
+ "path": "flooded",
9413
+ "valueType": "boolean"
9414
+ }],
9415
+ "gas": [{
9416
+ "path": "detected",
9417
+ "valueType": "boolean"
9418
+ }],
9419
+ "heating-valve": [{
9420
+ "path": "position",
9421
+ "valueType": "number"
9422
+ }],
9423
+ "humidifier": [
9424
+ {
9425
+ "path": "on",
9426
+ "valueType": "boolean"
9427
+ },
9428
+ {
9429
+ "path": "currentHumidity",
9430
+ "valueType": "number"
9431
+ },
9432
+ {
9433
+ "path": "targetHumidity",
9434
+ "valueType": "number"
9435
+ },
9436
+ {
9437
+ "path": "mode",
9438
+ "valueType": "string"
9439
+ },
9440
+ {
9441
+ "path": "action",
9442
+ "valueType": "string"
9443
+ },
9444
+ {
9445
+ "path": "minHumidity",
9446
+ "valueType": "number"
9447
+ },
9448
+ {
9449
+ "path": "maxHumidity",
9450
+ "valueType": "number"
9451
+ }
9452
+ ],
9453
+ "humidity-sensor": [
9454
+ {
9455
+ "path": "percent",
9456
+ "valueType": "number"
9457
+ },
9458
+ {
9459
+ "path": "unit",
9460
+ "valueType": "string"
9461
+ },
9462
+ {
9463
+ "path": "precision",
9464
+ "valueType": "number"
9465
+ }
9466
+ ],
9467
+ "image": [{
9468
+ "path": "url",
9469
+ "valueType": "string"
9470
+ }, {
9471
+ "path": "lastUpdated",
9472
+ "valueType": "number"
9473
+ }],
9474
+ "image-settings": [
9475
+ {
9476
+ "path": "brightness",
9477
+ "valueType": "number"
9478
+ },
9479
+ {
9480
+ "path": "contrast",
9481
+ "valueType": "number"
9482
+ },
9483
+ {
9484
+ "path": "saturation",
9485
+ "valueType": "number"
9486
+ },
9487
+ {
9488
+ "path": "sharpness",
9489
+ "valueType": "number"
9490
+ },
9491
+ {
9492
+ "path": "mirror",
9493
+ "valueType": "boolean"
9494
+ },
9495
+ {
9496
+ "path": "flip",
9497
+ "valueType": "boolean"
9498
+ },
9499
+ {
9500
+ "path": "rotate",
9501
+ "valueType": "enum",
9502
+ "enumValues": [
9503
+ "0",
9504
+ "90",
9505
+ "180",
9506
+ "270"
9507
+ ]
9508
+ },
9509
+ {
9510
+ "path": "whiteBalance",
9511
+ "valueType": "enum",
9512
+ "enumValues": ["auto", "manual"]
9513
+ },
9514
+ {
9515
+ "path": "warmth",
9516
+ "valueType": "number"
9517
+ },
9518
+ {
9519
+ "path": "exposureMode",
9520
+ "valueType": "enum",
9521
+ "enumValues": ["auto", "manual"]
9522
+ },
9523
+ {
9524
+ "path": "backlightMode",
9525
+ "valueType": "enum",
9526
+ "enumValues": [
9527
+ "off",
9528
+ "blc",
9529
+ "wdr",
9530
+ "hlc"
9531
+ ]
9532
+ }
9533
+ ],
9534
+ "intercom": [
9535
+ {
9536
+ "path": "talking",
9537
+ "valueType": "boolean"
9538
+ },
9539
+ {
9540
+ "path": "lastSessionAt",
9541
+ "valueType": "number"
9542
+ },
9543
+ {
9544
+ "path": "ability.sampleRate",
9545
+ "valueType": "number"
9546
+ },
9547
+ {
9548
+ "path": "ability.duplex",
9549
+ "valueType": "enum",
9550
+ "enumValues": ["half", "full"]
9551
+ },
9552
+ {
9553
+ "path": "ability.maxBacklogMs",
9554
+ "valueType": "number"
9555
+ }
9556
+ ],
9557
+ "lawn-mower-control": [
9558
+ {
9559
+ "path": "activity",
9560
+ "valueType": "enum",
9561
+ "enumValues": [
9562
+ "idle",
9563
+ "mowing",
9564
+ "paused",
9565
+ "docked",
9566
+ "error"
9567
+ ]
9568
+ },
9569
+ {
9570
+ "path": "batteryLevel",
9571
+ "valueType": "number"
9572
+ },
9573
+ {
9574
+ "path": "progressPercent",
9575
+ "valueType": "number"
9576
+ },
9577
+ {
9578
+ "path": "currentCode",
9579
+ "valueType": "number"
9580
+ },
9581
+ {
9582
+ "path": "currentCodeLabel",
9583
+ "valueType": "string"
9584
+ },
9585
+ {
9586
+ "path": "severity",
9587
+ "valueType": "enum",
9588
+ "enumValues": [
9589
+ "info",
9590
+ "warning",
9591
+ "error"
9592
+ ]
9593
+ }
9594
+ ],
9595
+ "lock-control": [{
9596
+ "path": "state",
9597
+ "valueType": "enum",
9598
+ "enumValues": [
9599
+ "locked",
9600
+ "unlocked",
9601
+ "locking",
9602
+ "unlocking",
9603
+ "jammed"
9604
+ ]
9605
+ }],
9606
+ "media-player": [
9607
+ {
9608
+ "path": "state",
9609
+ "valueType": "enum",
9610
+ "enumValues": [
9611
+ "off",
9612
+ "on",
9613
+ "idle",
9614
+ "playing",
9615
+ "paused",
9616
+ "buffering",
9617
+ "standby"
9618
+ ]
9619
+ },
9620
+ {
9621
+ "path": "volumeLevel",
9622
+ "valueType": "number"
9623
+ },
9624
+ {
9625
+ "path": "isMuted",
9626
+ "valueType": "boolean"
9627
+ },
9628
+ {
9629
+ "path": "source",
9630
+ "valueType": "string"
9631
+ },
9632
+ {
9633
+ "path": "currentMedia.type",
9634
+ "valueType": "string"
9635
+ },
9636
+ {
9637
+ "path": "currentMedia.title",
9638
+ "valueType": "string"
9639
+ },
9640
+ {
9641
+ "path": "currentMedia.artist",
9642
+ "valueType": "string"
9643
+ },
9644
+ {
9645
+ "path": "currentMedia.album",
9646
+ "valueType": "string"
9647
+ },
9648
+ {
9649
+ "path": "currentMedia.imageUrl",
9650
+ "valueType": "string"
9651
+ },
9652
+ {
9653
+ "path": "positionMs",
9654
+ "valueType": "number"
9655
+ },
9656
+ {
9657
+ "path": "durationMs",
9658
+ "valueType": "number"
9659
+ },
9660
+ {
9661
+ "path": "shuffle",
9662
+ "valueType": "boolean"
9663
+ },
9664
+ {
9665
+ "path": "repeat",
9666
+ "valueType": "enum",
9667
+ "enumValues": [
9668
+ "off",
9669
+ "all",
9670
+ "one"
9671
+ ]
9672
+ }
9673
+ ],
9674
+ "motion": [
9675
+ {
9676
+ "path": "detected",
9677
+ "valueType": "boolean"
9678
+ },
9679
+ {
9680
+ "path": "lastDetectedAt",
9681
+ "valueType": "number"
9682
+ },
9683
+ {
9684
+ "path": "autoClearAfterMs",
9685
+ "valueType": "number"
9686
+ }
9687
+ ],
9688
+ "motion-trigger": [{
9689
+ "path": "enabled",
9690
+ "valueType": "boolean"
9691
+ }],
9692
+ "motion-zones": [{
9693
+ "path": "enabled",
9694
+ "valueType": "boolean"
9695
+ }, {
9696
+ "path": "sensitivity",
9697
+ "valueType": "number"
9698
+ }],
9699
+ "mqtt-broker": [{
9700
+ "path": "brokerCount",
9701
+ "valueType": "number"
9702
+ }, {
9703
+ "path": "embeddedRunning",
9704
+ "valueType": "boolean"
9705
+ }],
9706
+ "native-object-detection": [{
9707
+ "path": "enabled",
9708
+ "valueType": "boolean"
9709
+ }],
9710
+ "navigation": [
9711
+ {
9712
+ "path": "mode",
9713
+ "valueType": "enum",
9714
+ "enumValues": [
9715
+ "idle",
9716
+ "cleaning",
9717
+ "spot",
9718
+ "following",
9719
+ "goto",
9720
+ "returning",
9721
+ "paused",
9722
+ "unknown"
9723
+ ]
9724
+ },
9725
+ {
9726
+ "path": "following",
9727
+ "valueType": "boolean"
9728
+ },
9729
+ {
9730
+ "path": "flash",
9731
+ "valueType": "boolean"
9732
+ },
9733
+ {
9734
+ "path": "lightMode",
9735
+ "valueType": "enum",
9736
+ "enumValues": ["auto", "manual"]
9737
+ },
9738
+ {
9739
+ "path": "lightLevel",
9740
+ "valueType": "number"
9741
+ }
9742
+ ],
9743
+ "network-link": [
9744
+ {
9745
+ "path": "type",
9746
+ "valueType": "enum",
9747
+ "enumValues": [
9748
+ "wifi",
9749
+ "ethernet",
9750
+ "cellular",
9751
+ "unknown"
9752
+ ]
9753
+ },
9754
+ {
9755
+ "path": "signalPercent",
9756
+ "valueType": "number"
9757
+ },
9758
+ {
9759
+ "path": "rssiDbm",
9760
+ "valueType": "number"
9761
+ },
9762
+ {
9763
+ "path": "ssid",
9764
+ "valueType": "string"
9765
+ },
9766
+ {
9767
+ "path": "lastUpdated",
9768
+ "valueType": "number"
9769
+ }
9770
+ ],
9771
+ "notifier": [
9772
+ {
9773
+ "path": "lastSentAt",
9774
+ "valueType": "number"
9775
+ },
9776
+ {
9777
+ "path": "lastError",
9778
+ "valueType": "string"
9779
+ },
9780
+ {
9781
+ "path": "queueDepth",
9782
+ "valueType": "number"
9783
+ },
9784
+ {
9785
+ "path": "supports.image",
9786
+ "valueType": "boolean"
9787
+ },
9788
+ {
9789
+ "path": "supports.priority",
9790
+ "valueType": "boolean"
9791
+ },
9792
+ {
9793
+ "path": "supports.data",
9794
+ "valueType": "boolean"
9795
+ },
9796
+ {
9797
+ "path": "supports.actions",
9798
+ "valueType": "boolean"
9799
+ },
9800
+ {
9801
+ "path": "supports.recipients",
9802
+ "valueType": "boolean"
9803
+ }
9804
+ ],
9805
+ "numeric-sensor": [
9806
+ {
9807
+ "path": "value",
9808
+ "valueType": "number"
9809
+ },
9810
+ {
9811
+ "path": "unit",
9812
+ "valueType": "string"
9813
+ },
9814
+ {
9815
+ "path": "precision",
9816
+ "valueType": "number"
9817
+ }
9818
+ ],
9819
+ "pet-feeder": [
9820
+ {
9821
+ "path": "foodLevel",
9822
+ "valueType": "number"
9823
+ },
9824
+ {
9825
+ "path": "food1",
9826
+ "valueType": "number"
9827
+ },
9828
+ {
9829
+ "path": "food2",
9830
+ "valueType": "number"
9831
+ },
9832
+ {
9833
+ "path": "lowFood",
9834
+ "valueType": "boolean"
9835
+ },
9836
+ {
9837
+ "path": "batteryPower",
9838
+ "valueType": "number"
9839
+ },
9840
+ {
9841
+ "path": "desiccantLeftDays",
9842
+ "valueType": "number"
9843
+ },
9844
+ {
9845
+ "path": "feeding",
9846
+ "valueType": "boolean"
9847
+ },
9848
+ {
9849
+ "path": "status",
9850
+ "valueType": "enum",
9851
+ "enumValues": [
9852
+ "normal",
9853
+ "offline",
9854
+ "on_batteries"
9855
+ ]
9856
+ },
9857
+ {
9858
+ "path": "error",
9859
+ "valueType": "string"
9860
+ },
9861
+ {
9862
+ "path": "errorCode",
9863
+ "valueType": "number"
9864
+ },
9865
+ {
9866
+ "path": "isDualHopper",
9867
+ "valueType": "boolean"
9868
+ },
9869
+ {
9870
+ "path": "childLock",
9871
+ "valueType": "boolean"
9872
+ },
9873
+ {
9874
+ "path": "indicatorLight",
9875
+ "valueType": "boolean"
9876
+ },
9877
+ {
9878
+ "path": "feedSound",
9879
+ "valueType": "boolean"
9880
+ },
9881
+ {
9882
+ "path": "volume",
9883
+ "valueType": "number"
9884
+ }
9885
+ ],
9886
+ "power-meter": [
9887
+ {
9888
+ "path": "watts",
9889
+ "valueType": "number"
9890
+ },
9891
+ {
9892
+ "path": "kwhTotal",
9893
+ "valueType": "number"
9894
+ },
9895
+ {
9896
+ "path": "volts",
9897
+ "valueType": "number"
9898
+ },
9899
+ {
9900
+ "path": "amps",
9901
+ "valueType": "number"
9902
+ },
9903
+ {
9904
+ "path": "va",
9905
+ "valueType": "number"
9906
+ },
9907
+ {
9908
+ "path": "powerFactor",
9909
+ "valueType": "number"
9910
+ },
9911
+ {
9912
+ "path": "unit",
9913
+ "valueType": "string"
9914
+ },
9915
+ {
9916
+ "path": "precision",
9917
+ "valueType": "number"
9918
+ }
9919
+ ],
9920
+ "presence": [
9921
+ {
9922
+ "path": "state",
9923
+ "valueType": "string"
9924
+ },
9925
+ {
9926
+ "path": "location",
9927
+ "valueType": "string"
9928
+ },
9929
+ {
9930
+ "path": "gps.latitude",
9931
+ "valueType": "number"
9932
+ },
9933
+ {
9934
+ "path": "gps.longitude",
9935
+ "valueType": "number"
9936
+ },
9937
+ {
9938
+ "path": "gps.accuracyMeters",
9939
+ "valueType": "number"
9940
+ },
9941
+ {
9942
+ "path": "batteryPercent",
9943
+ "valueType": "number"
9944
+ }
9945
+ ],
9946
+ "pressure-sensor": [
9947
+ {
9948
+ "path": "hpa",
9949
+ "valueType": "number"
9950
+ },
9951
+ {
9952
+ "path": "unit",
9953
+ "valueType": "string"
9954
+ },
9955
+ {
9956
+ "path": "precision",
9957
+ "valueType": "number"
9958
+ }
9959
+ ],
9960
+ "privacy-mask": [{
9961
+ "path": "enabled",
9962
+ "valueType": "boolean"
9963
+ }, {
9964
+ "path": "audioEnabled",
9965
+ "valueType": "boolean"
9966
+ }],
9967
+ "ptz": [
9968
+ {
9969
+ "path": "pan",
9970
+ "valueType": "number"
9971
+ },
9972
+ {
9973
+ "path": "tilt",
9974
+ "valueType": "number"
9975
+ },
9976
+ {
9977
+ "path": "zoom",
9978
+ "valueType": "number"
9979
+ },
9980
+ {
9981
+ "path": "autofocus",
9982
+ "valueType": "boolean"
9983
+ }
9984
+ ],
9985
+ "ptz-autotrack": [
9986
+ {
9987
+ "path": "enabled",
9988
+ "valueType": "boolean"
9989
+ },
9990
+ {
9991
+ "path": "currentSettings.targetType",
9992
+ "valueType": "string"
9993
+ },
9994
+ {
9995
+ "path": "currentSettings.stopDelaySeconds",
9996
+ "valueType": "number"
9997
+ },
9998
+ {
9999
+ "path": "currentSettings.disappearDelaySeconds",
10000
+ "valueType": "number"
10001
+ }
10002
+ ],
10003
+ "recording-archive": [
10004
+ {
10005
+ "path": "deviceId",
10006
+ "valueType": "number"
10007
+ },
10008
+ {
10009
+ "path": "enabled",
10010
+ "valueType": "boolean"
10011
+ },
10012
+ {
10013
+ "path": "activeMode",
10014
+ "valueType": "enum",
10015
+ "enumValues": [
10016
+ "off",
10017
+ "events",
10018
+ "continuous",
10019
+ "on-device-decision"
10020
+ ]
10021
+ },
10022
+ {
10023
+ "path": "nodeId",
10024
+ "valueType": "string"
10025
+ },
10026
+ {
10027
+ "path": "storageBytes",
10028
+ "valueType": "number"
10029
+ }
10030
+ ],
10031
+ "recording-onboard": [
10032
+ {
10033
+ "path": "primaryTrackId",
10034
+ "valueType": "string"
10035
+ },
10036
+ {
10037
+ "path": "enabled",
10038
+ "valueType": "boolean"
10039
+ },
10040
+ {
10041
+ "path": "overwriteWhenFull",
10042
+ "valueType": "boolean"
10043
+ },
10044
+ {
10045
+ "path": "preRecordSec",
10046
+ "valueType": "number"
10047
+ },
10048
+ {
10049
+ "path": "postRecordSec",
10050
+ "valueType": "number"
10051
+ },
10052
+ {
10053
+ "path": "segmentMinutes",
10054
+ "valueType": "number"
10055
+ },
10056
+ {
10057
+ "path": "unreadableWindows",
10058
+ "valueType": "number"
10059
+ },
10060
+ {
10061
+ "path": "recordingToNowhere",
10062
+ "valueType": "boolean"
10063
+ }
10064
+ ],
10065
+ "recording-signal": [{
10066
+ "path": "active",
10067
+ "valueType": "boolean"
10068
+ }, {
10069
+ "path": "reason",
10070
+ "valueType": "string"
10071
+ }],
10072
+ "running-state": [
10073
+ {
10074
+ "path": "running",
10075
+ "valueType": "boolean"
10076
+ },
10077
+ {
10078
+ "path": "since",
10079
+ "valueType": "number"
10080
+ },
10081
+ {
10082
+ "path": "source",
10083
+ "valueType": "enum",
10084
+ "enumValues": ["native", "assigned"]
10085
+ },
10086
+ {
10087
+ "path": "phase",
10088
+ "valueType": "string"
10089
+ }
10090
+ ],
10091
+ "script-runner": [
10092
+ {
10093
+ "path": "isRunning",
10094
+ "valueType": "boolean"
10095
+ },
10096
+ {
10097
+ "path": "lastRunAt",
10098
+ "valueType": "number"
10099
+ },
10100
+ {
10101
+ "path": "lastRunSuccess",
10102
+ "valueType": "boolean"
10103
+ },
10104
+ {
10105
+ "path": "lastError",
10106
+ "valueType": "string"
10107
+ }
10108
+ ],
10109
+ "smoke": [{
10110
+ "path": "detected",
10111
+ "valueType": "boolean"
10112
+ }],
10113
+ "snapshot": [
10114
+ {
10115
+ "path": "lastCapturedAt",
10116
+ "valueType": "number"
10117
+ },
10118
+ {
10119
+ "path": "cacheAgeMs",
10120
+ "valueType": "number"
10121
+ },
10122
+ {
10123
+ "path": "lastBytes",
10124
+ "valueType": "number"
10125
+ },
10126
+ {
10127
+ "path": "lastStreamId",
10128
+ "valueType": "string"
10129
+ }
10130
+ ],
10131
+ "stream-params": [
10132
+ {
10133
+ "path": "main.width",
10134
+ "valueType": "number"
10135
+ },
10136
+ {
10137
+ "path": "main.height",
10138
+ "valueType": "number"
10139
+ },
10140
+ {
10141
+ "path": "main.codec",
10142
+ "valueType": "enum",
10143
+ "enumValues": ["h264", "h265"]
10144
+ },
10145
+ {
10146
+ "path": "main.framerate",
10147
+ "valueType": "number"
10148
+ },
10149
+ {
10150
+ "path": "main.bitrate",
10151
+ "valueType": "number"
10152
+ },
10153
+ {
10154
+ "path": "main.bitrateMode",
10155
+ "valueType": "enum",
10156
+ "enumValues": ["vbr", "cbr"]
10157
+ },
10158
+ {
10159
+ "path": "main.encoderProfile",
10160
+ "valueType": "enum",
10161
+ "enumValues": [
10162
+ "high",
10163
+ "main",
10164
+ "baseline"
10165
+ ]
10166
+ },
10167
+ {
10168
+ "path": "main.gop",
10169
+ "valueType": "number"
10170
+ },
10171
+ {
10172
+ "path": "main.audio",
10173
+ "valueType": "boolean"
10174
+ },
10175
+ {
10176
+ "path": "sub.width",
10177
+ "valueType": "number"
10178
+ },
10179
+ {
10180
+ "path": "sub.height",
10181
+ "valueType": "number"
10182
+ },
10183
+ {
10184
+ "path": "sub.codec",
10185
+ "valueType": "enum",
10186
+ "enumValues": ["h264", "h265"]
10187
+ },
10188
+ {
10189
+ "path": "sub.framerate",
10190
+ "valueType": "number"
10191
+ },
10192
+ {
10193
+ "path": "sub.bitrate",
10194
+ "valueType": "number"
10195
+ },
10196
+ {
10197
+ "path": "sub.bitrateMode",
10198
+ "valueType": "enum",
10199
+ "enumValues": ["vbr", "cbr"]
10200
+ },
10201
+ {
10202
+ "path": "sub.encoderProfile",
10203
+ "valueType": "enum",
10204
+ "enumValues": [
10205
+ "high",
10206
+ "main",
10207
+ "baseline"
10208
+ ]
10209
+ },
10210
+ {
10211
+ "path": "sub.gop",
10212
+ "valueType": "number"
10213
+ },
10214
+ {
10215
+ "path": "sub.audio",
10216
+ "valueType": "boolean"
10217
+ },
10218
+ {
10219
+ "path": "ext.width",
10220
+ "valueType": "number"
10221
+ },
10222
+ {
10223
+ "path": "ext.height",
10224
+ "valueType": "number"
10225
+ },
10226
+ {
10227
+ "path": "ext.codec",
10228
+ "valueType": "enum",
10229
+ "enumValues": ["h264", "h265"]
10230
+ },
10231
+ {
10232
+ "path": "ext.framerate",
10233
+ "valueType": "number"
10234
+ },
10235
+ {
10236
+ "path": "ext.bitrate",
10237
+ "valueType": "number"
10238
+ },
10239
+ {
10240
+ "path": "ext.bitrateMode",
10241
+ "valueType": "enum",
10242
+ "enumValues": ["vbr", "cbr"]
10243
+ },
10244
+ {
10245
+ "path": "ext.encoderProfile",
10246
+ "valueType": "enum",
10247
+ "enumValues": [
10248
+ "high",
10249
+ "main",
10250
+ "baseline"
10251
+ ]
10252
+ },
10253
+ {
10254
+ "path": "ext.gop",
10255
+ "valueType": "number"
10256
+ },
10257
+ {
10258
+ "path": "ext.audio",
10259
+ "valueType": "boolean"
10260
+ }
10261
+ ],
10262
+ "switch": [{
10263
+ "path": "on",
10264
+ "valueType": "boolean"
10265
+ }],
10266
+ "tamper": [{
10267
+ "path": "tampered",
10268
+ "valueType": "boolean"
10269
+ }],
10270
+ "temperature-sensor": [
10271
+ {
10272
+ "path": "celsius",
10273
+ "valueType": "number"
10274
+ },
10275
+ {
10276
+ "path": "unit",
10277
+ "valueType": "string"
10278
+ },
10279
+ {
10280
+ "path": "precision",
10281
+ "valueType": "number"
10282
+ }
10283
+ ],
10284
+ "update": [
10285
+ {
10286
+ "path": "currentVersion",
10287
+ "valueType": "string"
10288
+ },
10289
+ {
10290
+ "path": "availableVersion",
10291
+ "valueType": "string"
10292
+ },
10293
+ {
10294
+ "path": "updatable",
10295
+ "valueType": "boolean"
10296
+ },
10297
+ {
10298
+ "path": "state",
10299
+ "valueType": "string"
10300
+ },
10301
+ {
10302
+ "path": "inProgress",
10303
+ "valueType": "boolean"
10304
+ }
10305
+ ],
10306
+ "vacuum-control": [
10307
+ {
10308
+ "path": "state",
10309
+ "valueType": "enum",
10310
+ "enumValues": [
10311
+ "idle",
10312
+ "cleaning",
10313
+ "paused",
10314
+ "returning",
10315
+ "docked",
10316
+ "drying",
10317
+ "error"
10318
+ ]
10319
+ },
10320
+ {
10321
+ "path": "batteryLevel",
10322
+ "valueType": "number"
10323
+ },
10324
+ {
10325
+ "path": "fanSpeed",
10326
+ "valueType": "string"
10327
+ },
10328
+ {
10329
+ "path": "progressPercent",
10330
+ "valueType": "number"
10331
+ },
10332
+ {
10333
+ "path": "errorCode",
10334
+ "valueType": "number"
10335
+ },
10336
+ {
10337
+ "path": "errorLabel",
10338
+ "valueType": "string"
10339
+ }
10340
+ ],
10341
+ "valve": [{
10342
+ "path": "state",
10343
+ "valueType": "enum",
10344
+ "enumValues": [
10345
+ "open",
10346
+ "opening",
10347
+ "closing",
10348
+ "closed",
10349
+ "stopped"
10350
+ ]
10351
+ }, {
10352
+ "path": "position",
10353
+ "valueType": "number"
10354
+ }],
10355
+ "vibration": [{
10356
+ "path": "detected",
10357
+ "valueType": "boolean"
10358
+ }],
10359
+ "water-heater": [
10360
+ {
10361
+ "path": "currentTemp",
10362
+ "valueType": "number"
10363
+ },
10364
+ {
10365
+ "path": "targetTemp",
10366
+ "valueType": "number"
10367
+ },
10368
+ {
10369
+ "path": "operationMode",
10370
+ "valueType": "string"
10371
+ },
10372
+ {
10373
+ "path": "away",
10374
+ "valueType": "boolean"
10375
+ },
10376
+ {
10377
+ "path": "minTemp",
10378
+ "valueType": "number"
10379
+ },
10380
+ {
10381
+ "path": "maxTemp",
10382
+ "valueType": "number"
10383
+ }
10384
+ ],
10385
+ "weather": [
10386
+ {
10387
+ "path": "condition",
10388
+ "valueType": "string"
10389
+ },
10390
+ {
10391
+ "path": "temperature",
10392
+ "valueType": "number"
10393
+ },
10394
+ {
10395
+ "path": "temperatureUnit",
10396
+ "valueType": "string"
10397
+ },
10398
+ {
10399
+ "path": "humidity",
10400
+ "valueType": "number"
10401
+ },
10402
+ {
10403
+ "path": "pressure",
10404
+ "valueType": "number"
10405
+ },
10406
+ {
10407
+ "path": "pressureUnit",
10408
+ "valueType": "string"
10409
+ },
10410
+ {
10411
+ "path": "windSpeed",
10412
+ "valueType": "number"
10413
+ },
10414
+ {
10415
+ "path": "windSpeedUnit",
10416
+ "valueType": "string"
10417
+ },
10418
+ {
10419
+ "path": "windBearing",
10420
+ "valueType": "number"
10421
+ }
10422
+ ],
10423
+ "zone-analytics": [
10424
+ {
10425
+ "path": "ts",
10426
+ "valueType": "number"
10427
+ },
10428
+ {
10429
+ "path": "frameWidth",
10430
+ "valueType": "number"
10431
+ },
10432
+ {
10433
+ "path": "frameHeight",
10434
+ "valueType": "number"
10435
+ },
10436
+ {
10437
+ "path": "frame.totalObjects",
10438
+ "valueType": "number"
10439
+ },
10440
+ {
10441
+ "path": "frame.standingObjects",
10442
+ "valueType": "number"
10443
+ },
10444
+ {
10445
+ "path": "frame.transientObjects",
10446
+ "valueType": "number"
10447
+ },
10448
+ {
10449
+ "path": "unzoned.totalObjects",
10450
+ "valueType": "number"
10451
+ },
10452
+ {
10453
+ "path": "unzoned.standingObjects",
10454
+ "valueType": "number"
10455
+ },
10456
+ {
10457
+ "path": "unzoned.transientObjects",
10458
+ "valueType": "number"
10459
+ }
10460
+ ]
10461
+ });
8488
10462
  object({
8489
10463
  code: string().regex(/^[a-z][a-z0-9-]*(\.[a-z0-9-]+)+$/),
8490
10464
  params: record(string(), union([string(), number()])).optional()
@@ -8843,7 +10817,7 @@ function errMsg$16(err) {
8843
10817
  return String(err);
8844
10818
  }
8845
10819
  //#endregion
8846
- //#region ../types/dist/composition-BJ8iAZb3.mjs
10820
+ //#region ../types/dist/composition-kEl9mevu.mjs
8847
10821
  var AUDIO_ENCODER_BY_CODEC = {
8848
10822
  opus: "libopus",
8849
10823
  aac: "aac",
@@ -9104,7 +11078,7 @@ function buildStdoutOrRtspSinkArgs(sink) {
9104
11078
  * frame, loses the race, and skips to the following one: **every fragment comes
9105
11079
  * out at twice the requested length.**
9106
11080
  *
9107
- * Measured on the live fleet 2026-08-07, camera 615, `-c:v copy` (D84):
11081
+ * Measured on the live fleet 2026-08-07, camera 101, `-c:v copy` (D84):
9108
11082
  *
9109
11083
  * | slot | GOP | `-min_frag_duration` | median gap |
9110
11084
  * | --- | --- | --- | --- |
@@ -12789,7 +14763,7 @@ var LogChannelDescriptorSchema = object({
12789
14763
  * `true` is a PROMISE with two halves, and both must hold: the gate is
12790
14764
  * consulted with the numeric device id, AND every line the channel admits
12791
14765
  * carries `tags: { deviceId }` with that same numeric id. The second half is
12792
- * what makes `| json | deviceId="617"` work in Loki — `loki-payload.ts`
14766
+ * what makes `| json | deviceId="102"` work in Loki — `loki-payload.ts`
12793
14767
  * keeps `deviceId` out of the stream labels for cardinality, so the tag in
12794
14768
  * the body is the only way to filter.
12795
14769
  *
@@ -13065,7 +15039,7 @@ var ModelVariantGroupSchema = object({
13065
15039
  precision: _enum(["fp32", "int8"]).optional(),
13066
15040
  /**
13067
15041
  * Training / latency-variant axis. Omit ⇒ the standard build. `test` marks
13068
- * an alternate training of the same family (Scrypted `relu_test`); chip
15042
+ * an alternate training of the same family (plugin catalog `relu_test`); chip
13069
15043
  * label is "Test".
13070
15044
  */
13071
15045
  optimization: _enum(["standard", "test"]).optional(),
@@ -13317,8 +15291,8 @@ var ModelCatalogEntrySchema = object({
13317
15291
  provider: ModelProviderIdSchema.optional(),
13318
15292
  /**
13319
15293
  * Per-MODEL class map override. Absent ⇒ the step's `StepDefinition.classMap`
13320
- * applies (Frigate / COCO public catalog). Set on a custom model whose raw
13321
- * labels already ARE the CamStack macros (Scrypted identity map).
15294
+ * applies (plus catalog / COCO public catalog). Set on a custom model whose raw
15295
+ * labels already ARE the CamStack macros (plugin catalog identity map).
13322
15296
  */
13323
15297
  classMap: DetectionCatalogClassMapSchema.optional(),
13324
15298
  /**
@@ -16287,7 +18261,7 @@ method(object({
16287
18261
  * `1` is real time and is the ONLY value that allows the copy branch —
16288
18262
  * anything else forces `libx264` over the window. That was priced
16289
18263
  * before it was chosen: a per-event burst measured at 0.23 s and 254 KB
16290
- * on a real 615 720p cut, against 922 KB for the copy it replaces. A
18264
+ * on a real 101 720p cut, against 922 KB for the copy it replaces. A
16291
18265
  * re-encode is capped at 720p (`EVENT_CLIP_ENCODE_MAX_WIDTH`), because
16292
18266
  * once the decode is forced the width stops being free.
16293
18267
  */
@@ -16707,6 +18681,7 @@ var CompositionRunStatusSchema = _enum([
16707
18681
  "starting",
16708
18682
  "running",
16709
18683
  "degraded",
18684
+ "incomplete",
16710
18685
  "failed"
16711
18686
  ]);
16712
18687
  var CompositionFieldStateKindSchema = _enum([
@@ -16920,6 +18895,7 @@ var CoreBlockStatusSchema = _enum([
16920
18895
  "starting",
16921
18896
  "running",
16922
18897
  "degraded",
18898
+ "incomplete",
16923
18899
  "failed"
16924
18900
  ]);
16925
18901
  /** path → TypeScript source for a multi-file block. */
@@ -38924,7 +40900,7 @@ var PRIMARY_CATEGORIES = new Set(ENTRIES.map((e) => e.primaryCategory));
38924
40900
  * `locationKey` is ALWAYS {@link locationIconKey} of the label — never the
38925
40901
  * operator's casing. The registry matches labels trimmed + case-insensitively
38926
40902
  * everywhere (`addLocation`, `removeLocation`, `renameLocation`), and a
38927
- * case-only rename (`cucina` → `Cucina`) is a real edit this repo supports; a
40903
+ * case-only rename (`kitchen` → `Kitchen`) is a real edit this repo supports; a
38928
40904
  * map keyed on the displayed casing would orphan its entry on exactly that
38929
40905
  * edit. Consumers join by keying their own label through `locationIconKey`.
38930
40906
  */
@@ -38949,7 +40925,7 @@ var LocationDescriptionAssignmentSchema = object({
38949
40925
  /**
38950
40926
  * A SITE ZONE — a named part of the property that several locations belong to.
38951
40927
  *
38952
- * "Zona notte" holds every bedroom; "Zona giorno" the living room and the
40928
+ * "Night zone" holds every bedroom; "Zona giorno" the living room and the
38953
40929
  * kitchen. A camera belongs to exactly one location, and a location to at most
38954
40930
  * one zone, so a camera's zone is derived and never stored on the device: the
38955
40931
  * whole point of this entity is that grouping rooms touches no device row.
@@ -38978,7 +40954,7 @@ var LocationDescriptionAssignmentSchema = object({
38978
40954
  * the locations inside it.
38979
40955
  *
38980
40956
  * The LABEL is carried alongside the key because the key is lossy on purpose —
38981
- * a surface must show "Zona notte", not "zona notte". Locations are carried
40957
+ * a surface must show "Night zone", not "night zone". Locations are carried
38982
40958
  * here, rather than left to a second call, because every consumer wants both
38983
40959
  * at once and a viewer that asked twice could render a zone whose membership
38984
40960
  * it has not fetched yet.
@@ -41091,8 +43067,8 @@ var LoadContributionSchema = object({
41091
43067
  "unattributable"
41092
43068
  ]),
41093
43069
  /**
41094
- * What ONE entry is, in the contributor's own words — `615/high`,
41095
- * `617/native`, `cuda:0 shared pool`. Free text because the unit differs per
43070
+ * What ONE entry is, in the contributor's own words — `101/high`,
43071
+ * `102/native`, `cuda:0 shared pool`. Free text because the unit differs per
41096
43072
  * family and inventing a common one would lose the only information that
41097
43073
  * makes two entries for the same camera distinguishable.
41098
43074
  */
@@ -44052,7 +46028,7 @@ var NcConditionsSchema = object({
44052
46028
  * with the list under it is worse than no switch (D62).
44053
46029
  *
44054
46030
  * MEMBERS ARE FACE-GALLERY `Identity.id`s (uuid), not display names. A name is
44055
- * renameable, and a rule authored on "Gianluca" went silently dark the moment
46031
+ * renameable, and a rule authored on "Alice" went silently dark the moment
44056
46032
  * the operator fixed the spelling. The id reaches the record on
44057
46033
  * `LabelAttribution.identityId`; the name is what the editor shows and what
44058
46034
  * `{{label}}` renders.
@@ -44603,7 +46579,7 @@ var NcRulePatchSchema = NcRuleInputSchema.partial().extend({
44603
46579
  * A rule scoped to one camera and one zone silently became a rule that
44604
46580
  * matches EVERY event on EVERY camera, and lost its `media` policy
44605
46581
  * (zoneCrop / gif / clip / frame) and its `priority` at the same time. Seen
44606
- * live on 2026-08-12: a rule scoped to device 617 fired on 590 and 615
46582
+ * live on 2026-08-12: a rule scoped to device 102 fired on 104 and 101
44607
46583
  * within a minute of a two-field patch.
44608
46584
  *
44609
46585
  * So every defaulted field is re-declared here WITHOUT its default. The
@@ -46416,7 +48392,7 @@ var LabelAttributionSchema = object({
46416
48392
  * `Identity.id` or a plate-gallery `Vehicle.id` (both `randomUUID`).
46417
48393
  *
46418
48394
  * The text alone is a DISPLAY NAME, and a display name is renameable: a
46419
- * notification rule authored on "Gianluca" stopped matching the moment the
48395
+ * notification rule authored on "Alice" stopped matching the moment the
46420
48396
  * operator fixed the spelling in the gallery, and nothing said so. The id is
46421
48397
  * the thing that does not move, so it is what a rule matches on
46422
48398
  * (`NcConditions.identities`) and the text is what a human is shown.
@@ -48955,7 +50931,7 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
48955
50931
  /**
48956
50932
  * Root-supplied detections for the tree's ROOT step (D730). Set by
48957
50933
  * `runDetailSubtree` when the camera's root model supplies a crop-kind
48958
- * step (a Frigate+ `license_plate` for `plate-detection`): the step is
50934
+ * step (a plus catalog `license_plate` for `plate-detection`): the step is
48959
50935
  * NOT inferred, these boxes are its output, and its children (the plate
48960
50936
  * reader) run on them through their own crop policy. Boxes are in the
48961
50937
  * PIXELS of the image this call carries. Absent ⇒ the root step runs.
@@ -50588,7 +52564,7 @@ var RunnerCameraConfigSchema = object({
50588
52564
  * detection session that asks for history. What shipped was a last-moment
50589
52565
  * discard — `FrameSlot`'s throttle compares wall clocks, and ~4 s of media
50590
52566
  * arriving inside a few hundred ms of wall clock looks to it like one frame's
50591
- * worth. Device 617, 2026-09-08: a re-run of the SAME model over the stored
52567
+ * worth. Device 102, 2026-09-08: a re-run of the SAME model over the stored
50592
52568
  * recording scored the subject `vehicle 0.5669` — above the 0.50 floor —
50593
52569
  * 1.68 s BEFORE the live track was born, on a frame that was in the pre-roll,
50594
52570
  * was decoded, and was freed.
@@ -52618,7 +54594,7 @@ method(_void(), ProviderInfoSchema, { auth: "admin" }), method(object({ config:
52618
54594
  * The signals a device can emit to WAKE its own stream.
52619
54595
  *
52620
54596
  * A camera whose stream is built on demand sleeps until something asks for it,
52621
- * and "something" cannot be a consumer that is merely attached — a Frigate-style
54597
+ * and "something" cannot be a consumer that is merely attached — a external-catalog
52622
54598
  * puller holds a session open for ever, and treating that as demand would keep
52623
54599
  * a battery camera awake for ever, which is the whole thing the battery is for
52624
54600
  * (D173). So the wake has to come from the CAMERA: an event it noticed by
@@ -53305,7 +55281,7 @@ var ClipSchema = object({
53305
55281
  * {@link MAX_CLIP_EVENT_IDS}. Empty on footage-only clips.
53306
55282
  *
53307
55283
  * Bounded because it is not a payload the surface pages through: one visit on
53308
- * device 615 carried 2 345 ids, and `eventIds` was 99% of a 153 KB
55284
+ * device 101 carried 2 345 ids, and `eventIds` was 99% of a 153 KB
53309
55285
  * camera-day. Read {@link eventCount} for the true total.
53310
55286
  */
53311
55287
  eventIds: array(string()).optional(),
@@ -53450,7 +55426,7 @@ var ClipPlaybackSchema = object({
53450
55426
  * camera has no recordings", which is the defect this whole line of work is
53451
55427
  * about: a battery camera nobody woke (`sleeping`), a camera that could not be
53452
55428
  * reached at all (`unreachable`, also what a provider that THREW reports), a
53453
- * camera whose SD card is not mounted (`no-storage`, measured on 640 —
55429
+ * camera whose SD card is not mounted (`no-storage`, measured on 106 —
53454
55430
  * `HddInfo mount 0`, honestly nothing to list rather than "no clips"), and a
53455
55431
  * camera whose OWN index disagrees with its OWN calendar (`index-empty`,
53456
55432
  * measured on 618: the calendar marks 3–20 September, days 6–20 list zero
@@ -53782,7 +55758,7 @@ var videoclipsCapability = {
53782
55758
  *
53783
55759
  * It was optional, documented as "absent means the device's BOUND
53784
55760
  * provider, which is CamStack on every camera". No code implemented
53785
- * that. Measured on the live hub 2026-09-20 — device 592, bound to
55761
+ * that. Measured on the live hub 2026-09-20 — device 107, bound to
53786
55762
  * `recorder` AND `provider-reolink` — a bare call with `limit: 3`
53787
55763
  * answered SIX rows, three from each source, merged newest-first:
53788
55764
  * `device-collection-dispatch.ts` simply left the fan-out un-narrowed,
@@ -54990,7 +56966,10 @@ DeviceType.Sensor;
54990
56966
  */
54991
56967
  var AmbientLightSensorStatusSchema = object({
54992
56968
  /** Current illuminance in lux (lx). */
54993
- lux: number().min(0),
56969
+ lux: number().min(0).meta({
56970
+ unit: "lx",
56971
+ label: "Illuminance"
56972
+ }),
54994
56973
  /** Ms epoch when the slice was last updated. */
54995
56974
  lastFetchedAt: number(),
54996
56975
  /** Live display unit from the upstream source (e.g. HA
@@ -55146,7 +57125,10 @@ var BatteryStatusSchema = object({
55146
57125
  * Consumers must SKIP a null rather than coerce it — `battery-band` already
55147
57126
  * declines to band a non-finite reading, which is the correct shape.
55148
57127
  */
55149
- percentage: number().min(0).max(100).nullable(),
57128
+ percentage: number().min(0).max(100).nullable().meta({
57129
+ unit: "%",
57130
+ label: "Charge"
57131
+ }),
55150
57132
  /**
55151
57133
  * Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
55152
57134
  * Reolink-specific for the Solar Panel 2 accessory (will become
@@ -55165,13 +57147,13 @@ var BatteryStatusSchema = object({
55165
57147
  "solar",
55166
57148
  "none",
55167
57149
  "unknown"
55168
- ]),
57150
+ ]).meta({ label: "Charging source" }),
55169
57151
  /**
55170
57152
  * True when the camera firmware has gone into low-power mode. Battery
55171
57153
  * providers MUST avoid polling during sleep — reading the battery
55172
57154
  * wakes the camera up and drains charge.
55173
57155
  */
55174
- sleeping: boolean(),
57156
+ sleeping: boolean().meta({ label: "Sleeping" }),
55175
57157
  /** Ms epoch of the last observation. Lets consumers reason about freshness. */
55176
57158
  lastUpdated: number(),
55177
57159
  /**
@@ -55211,7 +57193,7 @@ var BatteryStatusSchema = object({
55211
57193
  * sub-threshold = low). UI MUST render "Normal"/"Low" instead of a
55212
57194
  * misleading exact percentage. Absent/false → genuine 0–100 % reading.
55213
57195
  */
55214
- binary: boolean().optional()
57196
+ binary: boolean().optional().meta({ label: "Binary indicator" })
55215
57197
  });
55216
57198
  DeviceType.Camera, DeviceType.Sensor, DeviceType.Button, DeviceType.Switch, DeviceType.PetFeeder, DeviceType.Container, DeviceType.Thermostat;
55217
57199
  method(object({
@@ -55226,7 +57208,7 @@ method(object({
55226
57208
  status: BatteryStatusSchema
55227
57209
  });
55228
57210
  object({
55229
- on: boolean(),
57211
+ on: boolean().meta({ label: "On" }),
55230
57212
  /** Ms epoch of the last transition. 0 if never observed. */
55231
57213
  lastChangedAt: number()
55232
57214
  });
@@ -55484,7 +57466,7 @@ var GridLayoutCellSchema = object({
55484
57466
  *
55485
57467
  * A grid's `high` composes its sources' `high` and its `low` their `low`, so a
55486
57468
  * profile is on offer only when EVERY source can serve it. The refusal NAMES
55487
- * the sources, because "this grid has no low" is not a finding — "615 has no
57469
+ * the sources, because "this grid has no low" is not a finding — "101 has no
55488
57470
  * low" is, and it is the one an operator can act on.
55489
57471
  */
55490
57472
  var GridProfileOfferSchema = object({
@@ -57067,7 +59049,10 @@ DeviceType.Humidifier, method(object({
57067
59049
  */
57068
59050
  var HumiditySensorStatusSchema = object({
57069
59051
  /** Current relative humidity, 0..100. */
57070
- percent: number().min(0).max(100),
59052
+ percent: number().min(0).max(100).meta({
59053
+ unit: "%",
59054
+ label: "Humidity"
59055
+ }),
57071
59056
  /** Ms epoch when the slice was last updated. */
57072
59057
  lastFetchedAt: number(),
57073
59058
  /** Live display unit from the upstream source (e.g. HA
@@ -59844,9 +61829,15 @@ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema)
59844
61829
  });
59845
61830
  object({
59846
61831
  /** Instantaneous power draw in watts. */
59847
- watts: number().optional(),
61832
+ watts: number().optional().meta({
61833
+ unit: "W",
61834
+ label: "Power"
61835
+ }),
59848
61836
  /** Cumulative energy in kilowatt-hours since the meter was reset. */
59849
- kwhTotal: number().optional(),
61837
+ kwhTotal: number().optional().meta({
61838
+ unit: "kWh",
61839
+ label: "Energy"
61840
+ }),
59850
61841
  /** Voltage in volts. */
59851
61842
  volts: number().optional(),
59852
61843
  /** Current in amperes. */
@@ -60165,9 +62156,9 @@ var PtzOptionsSchema = object({
60165
62156
  * Reolink preset 0, Hikvision preset '1', Dahua preset 1 -- and on this fleet
60166
62157
  * not one of the three cameras honours its own:
60167
62158
  *
60168
- * 592 Videocamera camera Daniel (reolink) preset 0 holds "stanza"
60169
- * 1438 Videocamera dispensa (hikvision) preset 1 holds "Credenza"
60170
- * 3836 Videocamera studio (amcrest) preset 1 holds "Preset1"
62159
+ * 107 Camera camera Carol (reolink) preset 0 holds "stanza"
62160
+ * 1438 Camera dispensa (hikvision) preset 1 holds "Credenza"
62161
+ * 3836 Camera studio (amcrest) preset 1 holds "Preset1"
60171
62162
  *
60172
62163
  * So `goHome` meant "go wherever the operator happened to save in slot 0 or 1",
60173
62164
  * and two of the three swallowed the failure in a bare `catch`. For autotrack
@@ -60314,7 +62305,7 @@ object({
60314
62305
  running: boolean().nullable(),
60315
62306
  /** Epoch ms the current boolean began; null while `running` is null. */
60316
62307
  since: number().nullable(),
60317
- source: RunningStateSourceSchema,
62308
+ source: RunningStateSourceSchema.meta({ label: "Source" }),
60318
62309
  phase: string().nullable(),
60319
62310
  /** null until a reading has been published (D393). */
60320
62311
  lastFetchedAt: number().nullable()
@@ -60367,7 +62358,7 @@ var RecordingAvailabilitySchema = object({
60367
62358
  * would look identical. But the answer used to say nothing about that, so a
60368
62359
  * caller asking "what can I export?" read the single preferred profile as
60369
62360
  * the only one that exists — on this deployment every camera records `high`
60370
- * AND `low`, the low tree holding 14 GB for camera 615 alone, and the export
62361
+ * AND `low`, the low tree holding 14 GB for camera 101 alone, and the export
60371
62362
  * UI could not see it.
60372
62363
  *
60373
62364
  * Cheap: it is the same shallow directory read the profile CHOICE already
@@ -60466,7 +62457,7 @@ var RecordingSourceOptionsSchema = object({
60466
62457
  * `sparse` = gaps are the absence of one, and must be drawn as such.
60467
62458
  *
60468
62459
  * Not an onboard-only concession: measured 2026-09-24, OUR bar covers 98.8 %
60469
- * of 592's day and 1.2 % of 1436's. It is a fact about a (source, camera)
62460
+ * of 107's day and 1.2 % of 1436's. It is a fact about a (source, camera)
60470
62461
  * pair, and ours answers it per camera from `deriveRecordingMode`. */
60471
62462
  coverage: _enum(["continuous", "sparse"]),
60472
62463
  /** Where the playhead may be put.
@@ -60542,7 +62533,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(RecordingSourceS
60542
62533
  * merely discouraged (D554 amended).
60543
62534
  *
60544
62535
  * It was learned the expensive way on `videoclips.listClips`: measured
60545
- * on the live hub 2026-09-20, device 592 bound to `recorder` AND
62536
+ * on the live hub 2026-09-20, device 107 bound to `recorder` AND
60546
62537
  * `provider-reolink`, a bare call with `limit: 3` answered SIX rows,
60547
62538
  * three from each source, merged — `device-collection-dispatch.ts`
60548
62539
  * leaves an unpinned fan-out un-narrowed, so absence buys the union the
@@ -61143,7 +63134,7 @@ var ExportSpeedSchema = number().min(.25).max(32);
61143
63134
  * on a 10 h window holding 29,393 s of footage every range landed late by the
61144
63135
  * gap accumulated before it — up to 6,607 s, well past EOF. Nothing matched,
61145
63136
  * the video was a uniform timelapse, and the log line reported the five ranges
61146
- * that had been ASKED for (2026-08-13, export `57d14363`, camera 615).
63137
+ * that had been ASKED for (2026-08-13, export `57d14363`, camera 101).
61147
63138
  *
61148
63139
  * Relative and not absolute epoch, because an absolute epoch would make every
61149
63140
  * call site responsible for the same subtraction.
@@ -61777,7 +63768,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), RecordingSignalStatusS
61777
63768
  * which put a "Scenes" tab on one camera's detail page. That is the wrong shape
61778
63769
  * for the thing: a scene is a standing question about the property ("is the bin
61779
63770
  * still out"), and the operator's question is "which of my scenes have tripped",
61780
- * across every camera at once — not "what does camera 617 think". Buried one
63771
+ * across every camera at once — not "what does camera 102 think". Buried one
61781
63772
  * camera deep it also could not be found. The surface is now a top-level admin
61782
63773
  * page (`/scenes`, `pages/Scenes.tsx`) that lists every scene on every camera and
61783
63774
  * picks the camera inside the create flow, the same shape Events and Faces have.
@@ -62369,7 +64360,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), StreamParamsOptionsSch
62369
64360
  auth: "admin"
62370
64361
  }), method(object({ deviceId: number() }), unknown().nullable());
62371
64362
  object({
62372
- on: boolean(),
64363
+ on: boolean().meta({ label: "On" }),
62373
64364
  /** Ms epoch of the last state change. Useful for UI "X minutes ago". */
62374
64365
  lastChangedAt: number()
62375
64366
  });
@@ -62948,7 +64939,10 @@ DeviceType.Sensor;
62948
64939
  */
62949
64940
  var TemperatureSensorStatusSchema = object({
62950
64941
  /** Current temperature in Celsius. */
62951
- celsius: number(),
64942
+ celsius: number().meta({
64943
+ unit: "°C",
64944
+ label: "Temperature"
64945
+ }),
62952
64946
  /** Ms epoch when the slice was last updated (push or poll). */
62953
64947
  lastFetchedAt: number(),
62954
64948
  /** Live display unit from the upstream source (e.g. HA
@@ -64096,6 +66090,10 @@ method(object({}), array(TrainingBaseModelSchema).readonly(), { auth: "admin" })
64096
66090
  auth: "admin"
64097
66091
  });
64098
66092
  SOURCE_CAPS.filter((cap) => cap !== "switch" && cap !== "motion");
66093
+ DeviceType.Camera, DeviceType.Sensor, DeviceType.Button, DeviceType.Switch, DeviceType.PetFeeder, DeviceType.Container, DeviceType.Thermostat, DeviceType.Camera, DeviceType.Hub, DeviceType.Light, DeviceType.Siren, DeviceType.Switch, DeviceType.Sensor, DeviceType.Thermostat, DeviceType.Climate, DeviceType.Button, DeviceType.EventEmitter, DeviceType.Update, DeviceType.Generic, DeviceType.Notifier, DeviceType.Script, DeviceType.Automation, DeviceType.Lock, DeviceType.Cover, DeviceType.Valve, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.Fan, DeviceType.MediaPlayer, DeviceType.AlarmPanel, DeviceType.Control, DeviceType.Presence, DeviceType.Weather, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.Container, DeviceType.Image, DeviceType.PetFeeder, DeviceType.Dishwasher, DeviceType.Camera, DeviceType.Camera, DeviceType.Dishwasher, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.MediaPlayer, DeviceType.WaterHeater, DeviceType.Humidifier, DeviceType.Fan, DeviceType.Climate, DeviceType.Thermostat, DeviceType.PetFeeder;
66094
+ String.raw`rose\(active(\d+), changed(\d+), (\d+(?:\.\d+)?)\)`;
66095
+ DeviceRole.BinarySensor, DeviceRole.MotionSensor;
66096
+ new Set(CAP_NAMES);
64099
66097
  Object.freeze({
64100
66098
  person: .5,
64101
66099
  vehicle: .5,
@@ -77033,7 +79031,7 @@ var SENSOR_CAP_VOCABULARY = {
77033
79031
  state: [{
77034
79032
  kind: "boolean",
77035
79033
  field: "on",
77036
- label: t("Active", "Attivo"),
79034
+ label: t("On", "Acceso"),
77037
79035
  whenTrue: t("When {device} turns active", "Quando {device} si attiva"),
77038
79036
  whenFalse: t("When {device} turns inactive", "Quando {device} si disattiva"),
77039
79037
  icon: "toggle-right"
@@ -80457,7 +82455,6 @@ Object.freeze({
80457
82455
  "smtp-provider": "email"
80458
82456
  });
80459
82457
  DeviceType.Camera;
80460
- DeviceType.Camera, DeviceType.Sensor, DeviceType.Button, DeviceType.Switch, DeviceType.PetFeeder, DeviceType.Container, DeviceType.Thermostat, DeviceType.Camera, DeviceType.Hub, DeviceType.Light, DeviceType.Siren, DeviceType.Switch, DeviceType.Sensor, DeviceType.Thermostat, DeviceType.Climate, DeviceType.Button, DeviceType.EventEmitter, DeviceType.Update, DeviceType.Generic, DeviceType.Notifier, DeviceType.Script, DeviceType.Automation, DeviceType.Lock, DeviceType.Cover, DeviceType.Valve, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.Fan, DeviceType.MediaPlayer, DeviceType.AlarmPanel, DeviceType.Control, DeviceType.Presence, DeviceType.Weather, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.Container, DeviceType.Image, DeviceType.PetFeeder, DeviceType.Dishwasher, DeviceType.Camera, DeviceType.Camera, DeviceType.Dishwasher, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.MediaPlayer, DeviceType.WaterHeater, DeviceType.Humidifier, DeviceType.Fan, DeviceType.Climate, DeviceType.Thermostat, DeviceType.PetFeeder;
80461
82458
  /**
80462
82459
  * A saved Customize assignment (D936). The schema is the type: callers use
80463
82460
  * `z.infer`, they do not restate the shape.
@@ -80514,6 +82511,11 @@ var PulseOverrideDraftSchema = object({
80514
82511
  targetId: string().min(1),
80515
82512
  enabled: boolean(),
80516
82513
  debounceMs: number().nonnegative(),
82514
+ edges: array(_enum([
82515
+ "rising",
82516
+ "button",
82517
+ "native-event"
82518
+ ])).min(1).optional(),
80517
82519
  sources: array(OverrideSourceSchema).min(1)
80518
82520
  });
80519
82521
  var SpanSourceDraftSchema = OverrideSourceSchema.extend({ mode: _enum([
@@ -80546,7 +82548,6 @@ object({
80546
82548
  ]),
80547
82549
  reason: string().nullable()
80548
82550
  });
80549
- String.raw`rose\(active(\d+), changed(\d+), (\d+(?:\.\d+)?)\)`;
80550
82551
  var G711_SCALE_CORRECTION_DB = {
80551
82552
  PCMU: 20 * Math.log10(4),
80552
82553
  PCMA: 20 * Math.log10(8)
@@ -80919,7 +82920,7 @@ var STATE_SUMMARY_SECTION_VARS = [
80919
82920
  {
80920
82921
  name: "summaryStreams",
80921
82922
  label: "Summary: streams offline",
80922
- example: "Ingresso (high) — since 06:40",
82923
+ example: "Front door (high) — since 06:40",
80923
82924
  kinds: ["stream-offline", "stream-online"]
80924
82925
  },
80925
82926
  {
@@ -80937,13 +82938,13 @@ var STATE_SUMMARY_SECTION_VARS = [
80937
82938
  {
80938
82939
  name: "summaryDetection",
80939
82940
  label: "Summary: cameras detecting nothing",
80940
- example: "Ingresso — since 05:10",
82941
+ example: "Front door — since 05:10",
80941
82942
  kinds: ["detection-blind"]
80942
82943
  },
80943
82944
  {
80944
82945
  name: "summaryNodes",
80945
82946
  label: "Summary: nodes",
80946
- example: "little-unraid — offline since 03:00",
82947
+ example: "agent-a — offline since 03:00",
80947
82948
  kinds: [
80948
82949
  "node-offline",
80949
82950
  "node-online",
@@ -129193,7 +131194,7 @@ function moovPrecedesMdat(bytes) {
129193
131194
  * Worth having because the alternative number is wrong in a specific,
129194
131195
  * measurable way: `endedAtMs - startedAtMs` is how long the TEE ran, and the
129195
131196
  * first fragments it wrote were the prebuffer — footage older than the tee
129196
- * itself. On 615 that is 12.0 s claimed against 19.99 s held.
131197
+ * itself. On 101 that is 12.0 s claimed against 19.99 s held.
129197
131198
  */
129198
131199
  function readMovieDurationMs(bytes) {
129199
131200
  const moov = findTopLevelBox(bytes, "moov");
@@ -129272,7 +131273,7 @@ function findTopLevelBox(bytes, type) {
129272
131273
  * (`mvhd`, after the faststart pass), because the tee's own wall clock is
129273
131274
  * wrong in a specific direction: the clock starts when the tee does, and the
129274
131275
  * first fragments it writes are the PREBUFFER — footage older than the tee
129275
- * itself. Measured on 615: 12.0 s claimed against 19.99 s held. The wall
131276
+ * itself. Measured on 101: 12.0 s claimed against 19.99 s held. The wall
129276
131277
  * clock remains the fallback for a file that could not be measured.
129277
131278
  *
129278
131279
  * ## `thumbnailFile` is VOUCHED
@@ -130088,7 +132089,7 @@ var RECORDABLE_CODEC = "h264";
130088
132089
  *
130089
132090
  * Deliberately NOT `pickPreferredRtspEntry`: that picker resolves the operator's
130090
132091
  * LIVE preference and, on `auto`, steers by the resolution iOS negotiated for a
130091
- * live session — neither is a fact about recording, and on 615 it selects `mid`,
132092
+ * live session — neither is a fact about recording, and on 101 it selects `mid`,
130092
132093
  * a 10 fps slot. Recording has one criterion, applied here and nowhere else:
130093
132094
  * the largest copyable frame that does not exceed {@link MAX_RECORDING_HEIGHT}.
130094
132095
  */
@@ -130285,7 +132286,7 @@ function createHksvClipPlanes(deps) {
130285
132286
  *
130286
132287
  * A 404 is work this route dropped, and silence reads as "never happened" —
130287
132288
  * so every miss is one warn carrying `tags: { deviceId }`, which is the only
130288
- * key a "why is 617 missing its clips and 615 not?" question can be answered
132289
+ * key a "why is 102 missing its clips and 101 not?" question can be answered
130289
132290
  * by.
130290
132291
  */
130291
132292
  async function locate(addressed, artifact) {
@@ -130831,8 +132832,8 @@ function hapServiceName(parts, fallback) {
130831
132832
  *
130832
132833
  * Just "Privacy". The camera name is NOT prefixed: this service lives inside
130833
132834
  * the camera's own accessory, iOS already renders it under the camera, and a
130834
- * round that prefixed it gave the operator "Videocamera ingresso Privacy"
130835
- * sitting inside a tile titled "Videocamera ingresso".
132835
+ * round that prefixed it gave the operator "Camera front door Privacy"
132836
+ * sitting inside a tile titled "Camera front door".
130836
132837
  *
130837
132838
  * The prefix was added for a real reason — two cameras publishing a switch
130838
132839
  * called "Privacy" — but that was a symptom of the label being the ONLY thing
@@ -130862,7 +132863,7 @@ var PRIVACY_SUFFIX = "Privacy";
130862
132863
  * consulted first and title-cased, so every siren on the fleet published as
130863
132864
  * the English word "Siren" no matter what the operator had called it.
130864
132865
  *
130865
- * Providers name children both ways — "Sirena" and "Videocamera cucina
132866
+ * Providers name children both ways — "Sirena" and "Camera kitchen
130866
132867
  * Sirena". The parent half is now REMOVED rather than added, because the
130867
132868
  * service is published inside the parent camera's own accessory and iOS
130868
132869
  * already shows it there. The result must be one form, not two.
@@ -130883,7 +132884,7 @@ function childServiceName(parentName, child) {
130883
132884
  */
130884
132885
  var CHILD_FALLBACK = "Accessory";
130885
132886
  /**
130886
- * A PTZ action switch: the bare action, "Preset ingresso" / "Pan Left" /
132887
+ * A PTZ action switch: the bare action, "Preset front door" / "Pan Left" /
130887
132888
  * "Autotrack".
130888
132889
  *
130889
132890
  * The labels themselves stay in `ptz-labels.ts` — they name a HomeKit control,
@@ -130898,7 +132899,7 @@ function ptzServiceName(actionLabel) {
130898
132899
  /**
130899
132900
  * Drop `parentName` from the front of `name`.
130900
132901
  *
130901
- * A PREFIX only. "Videocamera cucina Sirena" → "Sirena"; "Sirena" is already
132902
+ * A PREFIX only. "Camera kitchen Sirena" → "Sirena"; "Sirena" is already
130902
132903
  * bare and untouched. A parent name appearing anywhere else in the child's
130903
132904
  * name is left alone — cutting from the middle of a string the operator typed
130904
132905
  * would mangle it, and this function must never make a label WORSE.
@@ -141691,7 +143692,7 @@ function classifyConnection(input) {
141691
143692
  *
141692
143693
  * ## `local` takes the camera's best stream — settled by measurement
141693
143694
  *
141694
- * This function was pinned to `low` for EVERY class by one number. On 615/high,
143695
+ * This function was pinned to `low` for EVERY class by one number. On 101/high,
141695
143696
  * 3840x2160 pass-through:
141696
143697
  *
141697
143698
  * durationMs=30820 videoPacketsForwarded=93 videoKeyframes=1
@@ -141984,7 +143985,7 @@ function tiersForSensor(width, height) {
141984
143985
  * Send a stream that FITS the rate HomeKit negotiated. (R5)
141985
143986
  *
141986
143987
  * The controller's own Receiver Reports, read on the live hub on 2026-08-06,
141987
- * closed a year of guessing: one 19.27 s session on `615/mid` forwarded 737
143988
+ * closed a year of guessing: one 19.27 s session on `101/mid` forwarded 737
141988
143989
  * video packets at `mtu=1378` — roughly **421 kbps** — against a negotiated
141989
143990
  * `max_bit_rate` of **299**, and iOS reported losing **450 of those 737
141990
143991
  * packets (61 %)**, worst fraction lost 51.2 %, peak jitter 3.03 s. Under
@@ -142010,7 +144011,7 @@ function tiersForSensor(width, height) {
142010
144011
  *
142011
144012
  * The authority is therefore the camera's **configured** encoder rate, from
142012
144013
  * `streamParams.getStatus` — `main` / `sub` / `ext`, each carrying the
142013
- * `bitrate` the operator (or the vendor default) set. On 615 that is
144014
+ * `bitrate` the operator (or the vendor default) set. On 101 that is
142014
144015
  * `main 8192`, `sub 2048`, `ext 2048` kbps. It is mapped onto a profile slot
142015
144016
  * through the slot's assigned cam-stream, matched on resolution and frame
142016
144017
  * rate; an ambiguous or absent match is reported as **unknown**, never as a
@@ -142388,7 +144389,7 @@ function canPassThrough(codec, allowHevc) {
142388
144389
  * Measured on the hub, 2026-09-17, from iOS's own Receiver Reports: two
142389
144390
  * cameras forwarding a 3840x2160 slot to a controller that had negotiated
142390
144391
  * 1280x720, and the busier of the two reported losing **52.7 %** of packets in
142391
- * its worst window, 617 packets cumulative, jitter 54 618. The third camera,
144392
+ * its worst window, 102 packets cumulative, jitter 54 618. The third camera,
142392
144393
  * transcoded to 720p because its source is HEVC, lost one packet. The operator
142393
144394
  * saw this as "the H.264 cameras are slower to load than the H.265 one" — and
142394
144395
  * they were, because a 4K key frame spans hundreds of packets and losing any
@@ -142512,7 +144513,7 @@ var NO_EVIDENCE = {
142512
144513
  * The last evidence that actually arrived, per device.
142513
144514
  *
142514
144515
  * Falling back to NO evidence on a slow read was not a neutral degradation: it
142515
- * changed WHICH SLOT the picker chose. Measured on 615 within forty seconds,
144516
+ * changed WHICH SLOT the picker chose. Measured on 101 within forty seconds,
142516
144517
  * same camera, same negotiated 1280x720:
142517
144518
  *
142518
144519
  * 10:22:11 mid 10 fps
@@ -145849,7 +147850,7 @@ function deriveFragmentLengthMs(sourceGopMs) {
145849
147850
  * The measured rate does not go into the advertisement raw, for two reasons,
145850
147851
  * and the second one is the serious one.
145851
147852
  *
145852
- * **It is the list the controller chooses from.** `[1280, 720, 10]` — 615's
147853
+ * **It is the list the controller chooses from.** `[1280, 720, 10]` — 101's
145853
147854
  * measured 720p slot — is a frame rate no shipping HKSV camera offers, and the
145854
147855
  * controller has to find an acceptable configuration in what we advertise
145855
147856
  * before it will write one back.
@@ -145862,7 +147863,7 @@ function deriveFragmentLengthMs(sourceGopMs) {
145862
147863
  * accessory answers every HDS `DATA_SEND OPEN` with `INVALID_CONFIGURATION`
145863
147864
  * and records nothing until the controller happens to re-select. The
145864
147865
  * advertised resolution is the one hashed input that came from a probe:
145865
- * camera 590 measured 9 fps on one restart and 10 on the next, on
147866
+ * camera 104 measured 9 fps on one restart and 10 on the next, on
145866
147867
  * 2026-08-07/08, so this was a self-inflicted outage waiting on a reboot.
145867
147868
  * Quantising gives the probe a wide band to move inside without the
145868
147869
  * advertisement changing at all.
@@ -146795,7 +148796,7 @@ async function readProfileEntries(bctx) {
146795
148796
  *
146796
148797
  * By resolution and not by name on purpose: `stream-params` names its profiles
146797
148798
  * `main`/`sub`/`ext` while the broker names its slots `high`/`mid`/`low`, and
146798
- * on 615 `ext` is the 1280×720 slot the broker calls `mid` — a name-based match
148799
+ * on 101 `ext` is the 1280×720 slot the broker calls `mid` — a name-based match
146799
148800
  * would silently read the 4K slot's GOP for a 720p recording.
146800
148801
  *
146801
148802
  * `undefined` when the cap is not bound, which is most non-Hikvision providers.