@camstack/addon-pipeline-orchestrator 1.2.627 → 1.2.628

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -2,7 +2,7 @@ import { createHash, randomUUID } from "node:crypto";
2
2
  import fs from "node:fs";
3
3
  import path from "node:path";
4
4
  import { fileURLToPath } from "node:url";
5
- //#region ../types/dist/event-category-Ceif8n-v.mjs
5
+ //#region ../types/dist/event-category-DHXxB8t9.mjs
6
6
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
7
7
  EventCategory["SystemBoot"] = "system.boot";
8
8
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -298,7 +298,7 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
298
298
  * TRANSITION into that state (never per dispatch), and the node is dropped
299
299
  * from the placement candidate set for as long as it holds.
300
300
  *
301
- * This exists because the state was previously invisible: little-unraid
301
+ * This exists because the state was previously invisible: agent-a
302
302
  * absorbed 283k inference errors in a day while still being handed cameras,
303
303
  * and nothing in the system said so.
304
304
  *
@@ -5570,7 +5570,7 @@ var ZodIssueCode = {
5570
5570
  var ZodFirstPartyTypeKind;
5571
5571
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5572
5572
  //#endregion
5573
- //#region ../types/dist/sleep-CYfIZzGv.mjs
5573
+ //#region ../types/dist/sleep-BErAxhul.mjs
5574
5574
  /**
5575
5575
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5576
5576
  * window to float samples (D455).
@@ -9232,7 +9232,7 @@ var viewerUiCapability = {
9232
9232
  * `getStaticDir` leaks a hub filesystem path.
9233
9233
  *
9234
9234
  * ⚠ Checked before gating: the VIEWER app IS used by a non-admin user
9235
- * (`roberta`), but it never calls `viewerUi.*` over tRPC. The static SPA
9235
+ * (`bob`), but it never calls `viewerUi.*` over tRPC. The static SPA
9236
9236
  * it loads is served by the plain `GET /viewer/*` Fastify route in
9237
9237
  * `main.ts`, which reads `staticDir`/`indexPath` from a module-level
9238
9238
  * cache populated ONCE at boot via `capRegistry.getSingletonForNode`
@@ -9307,6 +9307,1980 @@ method(object({ deviceId: number() }), array(StreamSourceEntrySchema)), method(o
9307
9307
  kind: "mutation",
9308
9308
  auth: "admin"
9309
9309
  }), method(object({ deviceId: number() }), unknown().nullable()), method(object({ deviceId: number() }), RawStateResultSchema.nullable(), { auth: "protected" });
9310
+ Object.freeze({ "doorbell": "lastPressedAt" });
9311
+ /** Every capability name, so addon code can check a name without the schema graph. */
9312
+ var CAP_NAMES = Object.freeze([
9313
+ "accessories",
9314
+ "addon-pages",
9315
+ "addon-pages-source",
9316
+ "addon-routes",
9317
+ "addon-settings",
9318
+ "addon-widgets",
9319
+ "addon-widgets-source",
9320
+ "addons",
9321
+ "admin-ui",
9322
+ "air-quality-sensor",
9323
+ "alarm-panel",
9324
+ "alerts",
9325
+ "ambient-light-sensor",
9326
+ "audio-analysis",
9327
+ "audio-analyzer",
9328
+ "audio-codec",
9329
+ "audio-metrics",
9330
+ "auth-provider",
9331
+ "automation-control",
9332
+ "backup",
9333
+ "battery",
9334
+ "binary",
9335
+ "brightness",
9336
+ "broker",
9337
+ "button",
9338
+ "calendar-source",
9339
+ "calendars",
9340
+ "camera-credentials",
9341
+ "camera-grid-layout",
9342
+ "camera-pipeline-config",
9343
+ "camera-streams",
9344
+ "carbon-monoxide",
9345
+ "climate-control",
9346
+ "color",
9347
+ "composer",
9348
+ "connection-test",
9349
+ "connectivity",
9350
+ "consumables",
9351
+ "contact",
9352
+ "control",
9353
+ "core-blocks",
9354
+ "cover",
9355
+ "custom-model-registry",
9356
+ "data-store-provider",
9357
+ "database-snapshot",
9358
+ "day-night",
9359
+ "decoder",
9360
+ "detection-pipeline",
9361
+ "device-admin-link",
9362
+ "device-adoption",
9363
+ "device-credentials",
9364
+ "device-discovery",
9365
+ "device-export",
9366
+ "device-extension",
9367
+ "device-history",
9368
+ "device-manager",
9369
+ "device-ops",
9370
+ "device-provider",
9371
+ "device-removal-hook",
9372
+ "device-state",
9373
+ "device-status",
9374
+ "dishwasher",
9375
+ "display-palette",
9376
+ "doorbell",
9377
+ "embedding-encoder",
9378
+ "enum-sensor",
9379
+ "event-emitter",
9380
+ "face-gallery",
9381
+ "failure-contribution",
9382
+ "fan-control",
9383
+ "feature-probe",
9384
+ "filesystem-browse",
9385
+ "flood",
9386
+ "gas",
9387
+ "heating-valve",
9388
+ "humidifier",
9389
+ "humidity-sensor",
9390
+ "image",
9391
+ "image-settings",
9392
+ "integrations",
9393
+ "intercom",
9394
+ "keychain",
9395
+ "keychain-admin",
9396
+ "lawn-mower-control",
9397
+ "llm",
9398
+ "llm-runtime",
9399
+ "load-contribution",
9400
+ "local-network",
9401
+ "lock-control",
9402
+ "log-channels",
9403
+ "log-destination",
9404
+ "login-method",
9405
+ "media-player",
9406
+ "mesh-network",
9407
+ "metrics-provider",
9408
+ "model-convert",
9409
+ "model-distributor",
9410
+ "motion",
9411
+ "motion-detection",
9412
+ "motion-trigger",
9413
+ "motion-zones",
9414
+ "mqtt-broker",
9415
+ "native-object-detection",
9416
+ "navigation",
9417
+ "network-access",
9418
+ "network-link",
9419
+ "network-quality",
9420
+ "node-certificates",
9421
+ "nodes",
9422
+ "notification-output",
9423
+ "notification-rules",
9424
+ "notifier",
9425
+ "numeric-sensor",
9426
+ "oauth-integration",
9427
+ "oidc-connections",
9428
+ "osd",
9429
+ "osd-manager",
9430
+ "pet-feeder",
9431
+ "pipeline-analytics",
9432
+ "pipeline-executor",
9433
+ "pipeline-orchestrator",
9434
+ "pipeline-runner",
9435
+ "plate-gallery",
9436
+ "platform-probe",
9437
+ "power-meter",
9438
+ "presence",
9439
+ "pressure-sensor",
9440
+ "privacy-mask",
9441
+ "ptz",
9442
+ "ptz-autotrack",
9443
+ "reboot",
9444
+ "record-entries",
9445
+ "recording",
9446
+ "recording-archive",
9447
+ "recording-export",
9448
+ "recording-onboard",
9449
+ "recording-signal",
9450
+ "records",
9451
+ "running-state",
9452
+ "scene-monitor",
9453
+ "script-runner",
9454
+ "server-management",
9455
+ "settings-store",
9456
+ "smoke",
9457
+ "smtp-provider",
9458
+ "snapshot",
9459
+ "sso-bridge",
9460
+ "storage",
9461
+ "storage-admin",
9462
+ "storage-evictable",
9463
+ "storage-migration",
9464
+ "storage-occupancy",
9465
+ "storage-provider",
9466
+ "stream-broker",
9467
+ "stream-catalog",
9468
+ "stream-params",
9469
+ "stream-signals",
9470
+ "switch",
9471
+ "system",
9472
+ "tamper",
9473
+ "temperature-sensor",
9474
+ "terminal-session",
9475
+ "toast",
9476
+ "training",
9477
+ "training-provider",
9478
+ "turn-provider",
9479
+ "update",
9480
+ "user-management",
9481
+ "user-passkeys",
9482
+ "vacuum-control",
9483
+ "valve",
9484
+ "vector-store",
9485
+ "vibration",
9486
+ "videoclips",
9487
+ "viewer-ui",
9488
+ "water-heater",
9489
+ "weather",
9490
+ "webrtc-session",
9491
+ "zone-analytics",
9492
+ "zone-rules",
9493
+ "zones"
9494
+ ]);
9495
+ Object.freeze({
9496
+ "air-quality-sensor": [
9497
+ {
9498
+ "path": "co2Ppm",
9499
+ "valueType": "number"
9500
+ },
9501
+ {
9502
+ "path": "vocPpb",
9503
+ "valueType": "number"
9504
+ },
9505
+ {
9506
+ "path": "pm25",
9507
+ "valueType": "number"
9508
+ },
9509
+ {
9510
+ "path": "pm10",
9511
+ "valueType": "number"
9512
+ },
9513
+ {
9514
+ "path": "aqi",
9515
+ "valueType": "number"
9516
+ },
9517
+ {
9518
+ "path": "unit",
9519
+ "valueType": "string"
9520
+ },
9521
+ {
9522
+ "path": "precision",
9523
+ "valueType": "number"
9524
+ }
9525
+ ],
9526
+ "alarm-panel": [
9527
+ {
9528
+ "path": "state",
9529
+ "valueType": "enum",
9530
+ "enumValues": [
9531
+ "disarmed",
9532
+ "armed_home",
9533
+ "armed_away",
9534
+ "armed_night",
9535
+ "armed_vacation",
9536
+ "armed_custom_bypass",
9537
+ "arming",
9538
+ "disarming",
9539
+ "pending",
9540
+ "triggered"
9541
+ ]
9542
+ },
9543
+ {
9544
+ "path": "targetMode",
9545
+ "valueType": "enum",
9546
+ "enumValues": [
9547
+ "home",
9548
+ "away",
9549
+ "night",
9550
+ "vacation",
9551
+ "custom_bypass"
9552
+ ]
9553
+ },
9554
+ {
9555
+ "path": "requiresCode",
9556
+ "valueType": "boolean"
9557
+ }
9558
+ ],
9559
+ "ambient-light-sensor": [
9560
+ {
9561
+ "path": "lux",
9562
+ "valueType": "number"
9563
+ },
9564
+ {
9565
+ "path": "unit",
9566
+ "valueType": "string"
9567
+ },
9568
+ {
9569
+ "path": "precision",
9570
+ "valueType": "number"
9571
+ }
9572
+ ],
9573
+ "audio-metrics": [
9574
+ {
9575
+ "path": "ts",
9576
+ "valueType": "number"
9577
+ },
9578
+ {
9579
+ "path": "windowSec",
9580
+ "valueType": "number"
9581
+ },
9582
+ {
9583
+ "path": "level.rms",
9584
+ "valueType": "number"
9585
+ },
9586
+ {
9587
+ "path": "level.dbfs",
9588
+ "valueType": "number"
9589
+ },
9590
+ {
9591
+ "path": "peakDbfs",
9592
+ "valueType": "number"
9593
+ },
9594
+ {
9595
+ "path": "avgDbfs",
9596
+ "valueType": "number"
9597
+ },
9598
+ {
9599
+ "path": "current.className",
9600
+ "valueType": "string"
9601
+ },
9602
+ {
9603
+ "path": "current.score",
9604
+ "valueType": "number"
9605
+ },
9606
+ {
9607
+ "path": "current.timestamp",
9608
+ "valueType": "number"
9609
+ }
9610
+ ],
9611
+ "automation-control": [
9612
+ {
9613
+ "path": "enabled",
9614
+ "valueType": "boolean"
9615
+ },
9616
+ {
9617
+ "path": "isRunning",
9618
+ "valueType": "boolean"
9619
+ },
9620
+ {
9621
+ "path": "lastTriggeredAt",
9622
+ "valueType": "number"
9623
+ },
9624
+ {
9625
+ "path": "lastError",
9626
+ "valueType": "string"
9627
+ }
9628
+ ],
9629
+ "battery": [
9630
+ {
9631
+ "path": "percentage",
9632
+ "valueType": "number"
9633
+ },
9634
+ {
9635
+ "path": "charging",
9636
+ "valueType": "enum",
9637
+ "enumValues": [
9638
+ "dc",
9639
+ "solar",
9640
+ "none",
9641
+ "unknown"
9642
+ ]
9643
+ },
9644
+ {
9645
+ "path": "sleeping",
9646
+ "valueType": "boolean"
9647
+ },
9648
+ {
9649
+ "path": "lastUpdated",
9650
+ "valueType": "number"
9651
+ },
9652
+ {
9653
+ "path": "lastContactAt",
9654
+ "valueType": "number"
9655
+ },
9656
+ {
9657
+ "path": "lastFullRefreshAt",
9658
+ "valueType": "number"
9659
+ },
9660
+ {
9661
+ "path": "binary",
9662
+ "valueType": "boolean"
9663
+ }
9664
+ ],
9665
+ "binary": [{
9666
+ "path": "on",
9667
+ "valueType": "boolean"
9668
+ }],
9669
+ "brightness": [{
9670
+ "path": "percentage",
9671
+ "valueType": "number"
9672
+ }],
9673
+ "broker": [{
9674
+ "path": "brokerCount",
9675
+ "valueType": "number"
9676
+ }, {
9677
+ "path": "connectedCount",
9678
+ "valueType": "number"
9679
+ }],
9680
+ "camera-credentials": [
9681
+ {
9682
+ "path": "host",
9683
+ "valueType": "string"
9684
+ },
9685
+ {
9686
+ "path": "port",
9687
+ "valueType": "number"
9688
+ },
9689
+ {
9690
+ "path": "onvifPort",
9691
+ "valueType": "number"
9692
+ },
9693
+ {
9694
+ "path": "rtspPort",
9695
+ "valueType": "number"
9696
+ },
9697
+ {
9698
+ "path": "https",
9699
+ "valueType": "boolean"
9700
+ },
9701
+ {
9702
+ "path": "hasUsername",
9703
+ "valueType": "boolean"
9704
+ },
9705
+ {
9706
+ "path": "hasPassword",
9707
+ "valueType": "boolean"
9708
+ },
9709
+ {
9710
+ "path": "onvifProfile",
9711
+ "valueType": "string"
9712
+ }
9713
+ ],
9714
+ "camera-streams": [
9715
+ {
9716
+ "path": "online",
9717
+ "valueType": "boolean"
9718
+ },
9719
+ {
9720
+ "path": "slotStatuses.high",
9721
+ "valueType": "enum",
9722
+ "enumValues": [
9723
+ "unassigned",
9724
+ "idle",
9725
+ "connecting",
9726
+ "streaming",
9727
+ "error"
9728
+ ]
9729
+ },
9730
+ {
9731
+ "path": "slotStatuses.mid",
9732
+ "valueType": "enum",
9733
+ "enumValues": [
9734
+ "unassigned",
9735
+ "idle",
9736
+ "connecting",
9737
+ "streaming",
9738
+ "error"
9739
+ ]
9740
+ },
9741
+ {
9742
+ "path": "slotStatuses.low",
9743
+ "valueType": "enum",
9744
+ "enumValues": [
9745
+ "unassigned",
9746
+ "idle",
9747
+ "connecting",
9748
+ "streaming",
9749
+ "error"
9750
+ ]
9751
+ },
9752
+ {
9753
+ "path": "slotErrors.high",
9754
+ "valueType": "string"
9755
+ },
9756
+ {
9757
+ "path": "slotErrors.mid",
9758
+ "valueType": "string"
9759
+ },
9760
+ {
9761
+ "path": "slotErrors.low",
9762
+ "valueType": "string"
9763
+ }
9764
+ ],
9765
+ "carbon-monoxide": [{
9766
+ "path": "detected",
9767
+ "valueType": "boolean"
9768
+ }],
9769
+ "climate-control": [
9770
+ {
9771
+ "path": "mode",
9772
+ "valueType": "enum",
9773
+ "enumValues": [
9774
+ "off",
9775
+ "heat",
9776
+ "cool",
9777
+ "auto",
9778
+ "heat_cool",
9779
+ "fan_only",
9780
+ "dry"
9781
+ ]
9782
+ },
9783
+ {
9784
+ "path": "fanMode",
9785
+ "valueType": "string"
9786
+ },
9787
+ {
9788
+ "path": "preset",
9789
+ "valueType": "string"
9790
+ },
9791
+ {
9792
+ "path": "target",
9793
+ "valueType": "number"
9794
+ },
9795
+ {
9796
+ "path": "targetHigh",
9797
+ "valueType": "number"
9798
+ },
9799
+ {
9800
+ "path": "targetLow",
9801
+ "valueType": "number"
9802
+ },
9803
+ {
9804
+ "path": "targetHumidity",
9805
+ "valueType": "number"
9806
+ },
9807
+ {
9808
+ "path": "currentTemp",
9809
+ "valueType": "number"
9810
+ },
9811
+ {
9812
+ "path": "currentHumidity",
9813
+ "valueType": "number"
9814
+ },
9815
+ {
9816
+ "path": "swingVertical",
9817
+ "valueType": "boolean"
9818
+ },
9819
+ {
9820
+ "path": "swingHorizontal",
9821
+ "valueType": "boolean"
9822
+ },
9823
+ {
9824
+ "path": "minTemp",
9825
+ "valueType": "number"
9826
+ },
9827
+ {
9828
+ "path": "maxTemp",
9829
+ "valueType": "number"
9830
+ },
9831
+ {
9832
+ "path": "tempStep",
9833
+ "valueType": "number"
9834
+ }
9835
+ ],
9836
+ "color": [
9837
+ {
9838
+ "path": "mode",
9839
+ "valueType": "enum",
9840
+ "enumValues": [
9841
+ "rgb",
9842
+ "hsv",
9843
+ "mired"
9844
+ ]
9845
+ },
9846
+ {
9847
+ "path": "rgb.r",
9848
+ "valueType": "number"
9849
+ },
9850
+ {
9851
+ "path": "rgb.g",
9852
+ "valueType": "number"
9853
+ },
9854
+ {
9855
+ "path": "rgb.b",
9856
+ "valueType": "number"
9857
+ },
9858
+ {
9859
+ "path": "hsv.h",
9860
+ "valueType": "number"
9861
+ },
9862
+ {
9863
+ "path": "hsv.s",
9864
+ "valueType": "number"
9865
+ },
9866
+ {
9867
+ "path": "hsv.v",
9868
+ "valueType": "number"
9869
+ },
9870
+ {
9871
+ "path": "mireds",
9872
+ "valueType": "number"
9873
+ }
9874
+ ],
9875
+ "connectivity": [{
9876
+ "path": "connected",
9877
+ "valueType": "boolean"
9878
+ }],
9879
+ "contact": [{
9880
+ "path": "entryOpen",
9881
+ "valueType": "boolean"
9882
+ }],
9883
+ "control": [
9884
+ {
9885
+ "path": "kind",
9886
+ "valueType": "enum",
9887
+ "enumValues": [
9888
+ "numeric",
9889
+ "select",
9890
+ "text",
9891
+ "datetime"
9892
+ ]
9893
+ },
9894
+ {
9895
+ "path": "unit",
9896
+ "valueType": "string"
9897
+ },
9898
+ {
9899
+ "path": "min",
9900
+ "valueType": "number"
9901
+ },
9902
+ {
9903
+ "path": "max",
9904
+ "valueType": "number"
9905
+ },
9906
+ {
9907
+ "path": "step",
9908
+ "valueType": "number"
9909
+ },
9910
+ {
9911
+ "path": "precision",
9912
+ "valueType": "number"
9913
+ },
9914
+ {
9915
+ "path": "format",
9916
+ "valueType": "enum",
9917
+ "enumValues": [
9918
+ "date",
9919
+ "time",
9920
+ "datetime"
9921
+ ]
9922
+ }
9923
+ ],
9924
+ "cover": [
9925
+ {
9926
+ "path": "state",
9927
+ "valueType": "enum",
9928
+ "enumValues": [
9929
+ "open",
9930
+ "opening",
9931
+ "closing",
9932
+ "closed",
9933
+ "stopped"
9934
+ ]
9935
+ },
9936
+ {
9937
+ "path": "position",
9938
+ "valueType": "number"
9939
+ },
9940
+ {
9941
+ "path": "tiltPosition",
9942
+ "valueType": "number"
9943
+ }
9944
+ ],
9945
+ "day-night": [
9946
+ {
9947
+ "path": "mode",
9948
+ "valueType": "enum",
9949
+ "enumValues": [
9950
+ "auto",
9951
+ "day",
9952
+ "night",
9953
+ "schedule"
9954
+ ]
9955
+ },
9956
+ {
9957
+ "path": "sensitivity",
9958
+ "valueType": "number"
9959
+ },
9960
+ {
9961
+ "path": "switchDelaySec",
9962
+ "valueType": "number"
9963
+ }
9964
+ ],
9965
+ "device-adoption": [
9966
+ {
9967
+ "path": "lastDiscoveryAt",
9968
+ "valueType": "number"
9969
+ },
9970
+ {
9971
+ "path": "candidateCount",
9972
+ "valueType": "number"
9973
+ },
9974
+ {
9975
+ "path": "adoptedCount",
9976
+ "valueType": "number"
9977
+ },
9978
+ {
9979
+ "path": "lastError",
9980
+ "valueType": "string"
9981
+ }
9982
+ ],
9983
+ "device-discovery": [{
9984
+ "path": "lastDiscoveryAt",
9985
+ "valueType": "number"
9986
+ }, {
9987
+ "path": "lastError",
9988
+ "valueType": "string"
9989
+ }],
9990
+ "device-export": [
9991
+ {
9992
+ "path": "linkState",
9993
+ "valueType": "enum",
9994
+ "enumValues": [
9995
+ "unlinked",
9996
+ "linked",
9997
+ "error"
9998
+ ]
9999
+ },
10000
+ {
10001
+ "path": "exposedDeviceCount",
10002
+ "valueType": "number"
10003
+ },
10004
+ {
10005
+ "path": "error",
10006
+ "valueType": "string"
10007
+ },
10008
+ {
10009
+ "path": "setup.qr",
10010
+ "valueType": "string"
10011
+ },
10012
+ {
10013
+ "path": "setup.note",
10014
+ "valueType": "string"
10015
+ }
10016
+ ],
10017
+ "device-status": [{
10018
+ "path": "online",
10019
+ "valueType": "boolean"
10020
+ }],
10021
+ "dishwasher": [
10022
+ {
10023
+ "path": "availability",
10024
+ "valueType": "enum",
10025
+ "enumValues": [
10026
+ "available",
10027
+ "offline",
10028
+ "description-missing"
10029
+ ]
10030
+ },
10031
+ {
10032
+ "path": "state",
10033
+ "valueType": "enum",
10034
+ "enumValues": [
10035
+ "idle",
10036
+ "running",
10037
+ "paused",
10038
+ "finished",
10039
+ "error",
10040
+ "unavailable"
10041
+ ]
10042
+ },
10043
+ {
10044
+ "path": "operationState",
10045
+ "valueType": "enum",
10046
+ "enumValues": [
10047
+ "Inactive",
10048
+ "Ready",
10049
+ "DelayedStart",
10050
+ "Run",
10051
+ "Pause",
10052
+ "ActionRequired",
10053
+ "Finished",
10054
+ "Error",
10055
+ "Aborting"
10056
+ ]
10057
+ },
10058
+ {
10059
+ "path": "program",
10060
+ "valueType": "string"
10061
+ },
10062
+ {
10063
+ "path": "selectedProgram",
10064
+ "valueType": "string"
10065
+ },
10066
+ {
10067
+ "path": "remainingSeconds",
10068
+ "valueType": "number"
10069
+ },
10070
+ {
10071
+ "path": "delayedStartSeconds",
10072
+ "valueType": "number"
10073
+ },
10074
+ {
10075
+ "path": "progressPercent",
10076
+ "valueType": "number"
10077
+ },
10078
+ {
10079
+ "path": "doorOpen",
10080
+ "valueType": "boolean"
10081
+ },
10082
+ {
10083
+ "path": "doorLocked",
10084
+ "valueType": "boolean"
10085
+ },
10086
+ {
10087
+ "path": "remoteStartAllowed",
10088
+ "valueType": "boolean"
10089
+ },
10090
+ {
10091
+ "path": "remoteControlActive",
10092
+ "valueType": "boolean"
10093
+ },
10094
+ {
10095
+ "path": "localControlActive",
10096
+ "valueType": "boolean"
10097
+ },
10098
+ {
10099
+ "path": "powerOn",
10100
+ "valueType": "boolean"
10101
+ },
10102
+ {
10103
+ "path": "powerState",
10104
+ "valueType": "string"
10105
+ },
10106
+ {
10107
+ "path": "filterCleaningDue",
10108
+ "valueType": "boolean"
10109
+ },
10110
+ {
10111
+ "path": "machineCareDue",
10112
+ "valueType": "boolean"
10113
+ },
10114
+ {
10115
+ "path": "machineCareRemainingRuns",
10116
+ "valueType": "number"
10117
+ },
10118
+ {
10119
+ "path": "halfLoad",
10120
+ "valueType": "boolean"
10121
+ },
10122
+ {
10123
+ "path": "hygienePlus",
10124
+ "valueType": "boolean"
10125
+ },
10126
+ {
10127
+ "path": "extraDry",
10128
+ "valueType": "boolean"
10129
+ },
10130
+ {
10131
+ "path": "intensiveZone",
10132
+ "valueType": "boolean"
10133
+ },
10134
+ {
10135
+ "path": "varioSpeedPlus",
10136
+ "valueType": "boolean"
10137
+ },
10138
+ {
10139
+ "path": "childLock",
10140
+ "valueType": "boolean"
10141
+ },
10142
+ {
10143
+ "path": "errorCode",
10144
+ "valueType": "number"
10145
+ },
10146
+ {
10147
+ "path": "errorLabel",
10148
+ "valueType": "string"
10149
+ }
10150
+ ],
10151
+ "doorbell": [{
10152
+ "path": "lastPressedAt",
10153
+ "valueType": "number"
10154
+ }, {
10155
+ "path": "pressCountSinceStart",
10156
+ "valueType": "number"
10157
+ }],
10158
+ "enum-sensor": [{
10159
+ "path": "value",
10160
+ "valueType": "string"
10161
+ }, {
10162
+ "path": "format",
10163
+ "valueType": "enum",
10164
+ "enumValues": [
10165
+ "date",
10166
+ "time",
10167
+ "datetime"
10168
+ ]
10169
+ }],
10170
+ "event-emitter": [
10171
+ {
10172
+ "path": "lastEvent.deviceId",
10173
+ "valueType": "number"
10174
+ },
10175
+ {
10176
+ "path": "lastEvent.eventType",
10177
+ "valueType": "string"
10178
+ },
10179
+ {
10180
+ "path": "lastEvent.timestamp",
10181
+ "valueType": "number"
10182
+ },
10183
+ {
10184
+ "path": "lastEvent.seq",
10185
+ "valueType": "number"
10186
+ },
10187
+ {
10188
+ "path": "eventCountSinceStart",
10189
+ "valueType": "number"
10190
+ }
10191
+ ],
10192
+ "fan-control": [
10193
+ {
10194
+ "path": "percentage",
10195
+ "valueType": "number"
10196
+ },
10197
+ {
10198
+ "path": "percentageStep",
10199
+ "valueType": "number"
10200
+ },
10201
+ {
10202
+ "path": "preset",
10203
+ "valueType": "string"
10204
+ },
10205
+ {
10206
+ "path": "direction",
10207
+ "valueType": "enum",
10208
+ "enumValues": ["forward", "reverse"]
10209
+ },
10210
+ {
10211
+ "path": "oscillating",
10212
+ "valueType": "boolean"
10213
+ }
10214
+ ],
10215
+ "feature-probe": [
10216
+ {
10217
+ "path": "deviceType",
10218
+ "valueType": "string"
10219
+ },
10220
+ {
10221
+ "path": "model",
10222
+ "valueType": "string"
10223
+ },
10224
+ {
10225
+ "path": "channelCount",
10226
+ "valueType": "number"
10227
+ },
10228
+ {
10229
+ "path": "lastProbedAt",
10230
+ "valueType": "number"
10231
+ }
10232
+ ],
10233
+ "flood": [{
10234
+ "path": "flooded",
10235
+ "valueType": "boolean"
10236
+ }],
10237
+ "gas": [{
10238
+ "path": "detected",
10239
+ "valueType": "boolean"
10240
+ }],
10241
+ "heating-valve": [{
10242
+ "path": "position",
10243
+ "valueType": "number"
10244
+ }],
10245
+ "humidifier": [
10246
+ {
10247
+ "path": "on",
10248
+ "valueType": "boolean"
10249
+ },
10250
+ {
10251
+ "path": "currentHumidity",
10252
+ "valueType": "number"
10253
+ },
10254
+ {
10255
+ "path": "targetHumidity",
10256
+ "valueType": "number"
10257
+ },
10258
+ {
10259
+ "path": "mode",
10260
+ "valueType": "string"
10261
+ },
10262
+ {
10263
+ "path": "action",
10264
+ "valueType": "string"
10265
+ },
10266
+ {
10267
+ "path": "minHumidity",
10268
+ "valueType": "number"
10269
+ },
10270
+ {
10271
+ "path": "maxHumidity",
10272
+ "valueType": "number"
10273
+ }
10274
+ ],
10275
+ "humidity-sensor": [
10276
+ {
10277
+ "path": "percent",
10278
+ "valueType": "number"
10279
+ },
10280
+ {
10281
+ "path": "unit",
10282
+ "valueType": "string"
10283
+ },
10284
+ {
10285
+ "path": "precision",
10286
+ "valueType": "number"
10287
+ }
10288
+ ],
10289
+ "image": [{
10290
+ "path": "url",
10291
+ "valueType": "string"
10292
+ }, {
10293
+ "path": "lastUpdated",
10294
+ "valueType": "number"
10295
+ }],
10296
+ "image-settings": [
10297
+ {
10298
+ "path": "brightness",
10299
+ "valueType": "number"
10300
+ },
10301
+ {
10302
+ "path": "contrast",
10303
+ "valueType": "number"
10304
+ },
10305
+ {
10306
+ "path": "saturation",
10307
+ "valueType": "number"
10308
+ },
10309
+ {
10310
+ "path": "sharpness",
10311
+ "valueType": "number"
10312
+ },
10313
+ {
10314
+ "path": "mirror",
10315
+ "valueType": "boolean"
10316
+ },
10317
+ {
10318
+ "path": "flip",
10319
+ "valueType": "boolean"
10320
+ },
10321
+ {
10322
+ "path": "rotate",
10323
+ "valueType": "enum",
10324
+ "enumValues": [
10325
+ "0",
10326
+ "90",
10327
+ "180",
10328
+ "270"
10329
+ ]
10330
+ },
10331
+ {
10332
+ "path": "whiteBalance",
10333
+ "valueType": "enum",
10334
+ "enumValues": ["auto", "manual"]
10335
+ },
10336
+ {
10337
+ "path": "warmth",
10338
+ "valueType": "number"
10339
+ },
10340
+ {
10341
+ "path": "exposureMode",
10342
+ "valueType": "enum",
10343
+ "enumValues": ["auto", "manual"]
10344
+ },
10345
+ {
10346
+ "path": "backlightMode",
10347
+ "valueType": "enum",
10348
+ "enumValues": [
10349
+ "off",
10350
+ "blc",
10351
+ "wdr",
10352
+ "hlc"
10353
+ ]
10354
+ }
10355
+ ],
10356
+ "intercom": [
10357
+ {
10358
+ "path": "talking",
10359
+ "valueType": "boolean"
10360
+ },
10361
+ {
10362
+ "path": "lastSessionAt",
10363
+ "valueType": "number"
10364
+ },
10365
+ {
10366
+ "path": "ability.sampleRate",
10367
+ "valueType": "number"
10368
+ },
10369
+ {
10370
+ "path": "ability.duplex",
10371
+ "valueType": "enum",
10372
+ "enumValues": ["half", "full"]
10373
+ },
10374
+ {
10375
+ "path": "ability.maxBacklogMs",
10376
+ "valueType": "number"
10377
+ }
10378
+ ],
10379
+ "lawn-mower-control": [
10380
+ {
10381
+ "path": "activity",
10382
+ "valueType": "enum",
10383
+ "enumValues": [
10384
+ "idle",
10385
+ "mowing",
10386
+ "paused",
10387
+ "docked",
10388
+ "error"
10389
+ ]
10390
+ },
10391
+ {
10392
+ "path": "batteryLevel",
10393
+ "valueType": "number"
10394
+ },
10395
+ {
10396
+ "path": "progressPercent",
10397
+ "valueType": "number"
10398
+ },
10399
+ {
10400
+ "path": "currentCode",
10401
+ "valueType": "number"
10402
+ },
10403
+ {
10404
+ "path": "currentCodeLabel",
10405
+ "valueType": "string"
10406
+ },
10407
+ {
10408
+ "path": "severity",
10409
+ "valueType": "enum",
10410
+ "enumValues": [
10411
+ "info",
10412
+ "warning",
10413
+ "error"
10414
+ ]
10415
+ }
10416
+ ],
10417
+ "lock-control": [{
10418
+ "path": "state",
10419
+ "valueType": "enum",
10420
+ "enumValues": [
10421
+ "locked",
10422
+ "unlocked",
10423
+ "locking",
10424
+ "unlocking",
10425
+ "jammed"
10426
+ ]
10427
+ }],
10428
+ "media-player": [
10429
+ {
10430
+ "path": "state",
10431
+ "valueType": "enum",
10432
+ "enumValues": [
10433
+ "off",
10434
+ "on",
10435
+ "idle",
10436
+ "playing",
10437
+ "paused",
10438
+ "buffering",
10439
+ "standby"
10440
+ ]
10441
+ },
10442
+ {
10443
+ "path": "volumeLevel",
10444
+ "valueType": "number"
10445
+ },
10446
+ {
10447
+ "path": "isMuted",
10448
+ "valueType": "boolean"
10449
+ },
10450
+ {
10451
+ "path": "source",
10452
+ "valueType": "string"
10453
+ },
10454
+ {
10455
+ "path": "currentMedia.type",
10456
+ "valueType": "string"
10457
+ },
10458
+ {
10459
+ "path": "currentMedia.title",
10460
+ "valueType": "string"
10461
+ },
10462
+ {
10463
+ "path": "currentMedia.artist",
10464
+ "valueType": "string"
10465
+ },
10466
+ {
10467
+ "path": "currentMedia.album",
10468
+ "valueType": "string"
10469
+ },
10470
+ {
10471
+ "path": "currentMedia.imageUrl",
10472
+ "valueType": "string"
10473
+ },
10474
+ {
10475
+ "path": "positionMs",
10476
+ "valueType": "number"
10477
+ },
10478
+ {
10479
+ "path": "durationMs",
10480
+ "valueType": "number"
10481
+ },
10482
+ {
10483
+ "path": "shuffle",
10484
+ "valueType": "boolean"
10485
+ },
10486
+ {
10487
+ "path": "repeat",
10488
+ "valueType": "enum",
10489
+ "enumValues": [
10490
+ "off",
10491
+ "all",
10492
+ "one"
10493
+ ]
10494
+ }
10495
+ ],
10496
+ "motion": [
10497
+ {
10498
+ "path": "detected",
10499
+ "valueType": "boolean"
10500
+ },
10501
+ {
10502
+ "path": "lastDetectedAt",
10503
+ "valueType": "number"
10504
+ },
10505
+ {
10506
+ "path": "autoClearAfterMs",
10507
+ "valueType": "number"
10508
+ }
10509
+ ],
10510
+ "motion-trigger": [{
10511
+ "path": "enabled",
10512
+ "valueType": "boolean"
10513
+ }],
10514
+ "motion-zones": [{
10515
+ "path": "enabled",
10516
+ "valueType": "boolean"
10517
+ }, {
10518
+ "path": "sensitivity",
10519
+ "valueType": "number"
10520
+ }],
10521
+ "mqtt-broker": [{
10522
+ "path": "brokerCount",
10523
+ "valueType": "number"
10524
+ }, {
10525
+ "path": "embeddedRunning",
10526
+ "valueType": "boolean"
10527
+ }],
10528
+ "native-object-detection": [{
10529
+ "path": "enabled",
10530
+ "valueType": "boolean"
10531
+ }],
10532
+ "navigation": [
10533
+ {
10534
+ "path": "mode",
10535
+ "valueType": "enum",
10536
+ "enumValues": [
10537
+ "idle",
10538
+ "cleaning",
10539
+ "spot",
10540
+ "following",
10541
+ "goto",
10542
+ "returning",
10543
+ "paused",
10544
+ "unknown"
10545
+ ]
10546
+ },
10547
+ {
10548
+ "path": "following",
10549
+ "valueType": "boolean"
10550
+ },
10551
+ {
10552
+ "path": "flash",
10553
+ "valueType": "boolean"
10554
+ },
10555
+ {
10556
+ "path": "lightMode",
10557
+ "valueType": "enum",
10558
+ "enumValues": ["auto", "manual"]
10559
+ },
10560
+ {
10561
+ "path": "lightLevel",
10562
+ "valueType": "number"
10563
+ }
10564
+ ],
10565
+ "network-link": [
10566
+ {
10567
+ "path": "type",
10568
+ "valueType": "enum",
10569
+ "enumValues": [
10570
+ "wifi",
10571
+ "ethernet",
10572
+ "cellular",
10573
+ "unknown"
10574
+ ]
10575
+ },
10576
+ {
10577
+ "path": "signalPercent",
10578
+ "valueType": "number"
10579
+ },
10580
+ {
10581
+ "path": "rssiDbm",
10582
+ "valueType": "number"
10583
+ },
10584
+ {
10585
+ "path": "ssid",
10586
+ "valueType": "string"
10587
+ },
10588
+ {
10589
+ "path": "lastUpdated",
10590
+ "valueType": "number"
10591
+ }
10592
+ ],
10593
+ "notifier": [
10594
+ {
10595
+ "path": "lastSentAt",
10596
+ "valueType": "number"
10597
+ },
10598
+ {
10599
+ "path": "lastError",
10600
+ "valueType": "string"
10601
+ },
10602
+ {
10603
+ "path": "queueDepth",
10604
+ "valueType": "number"
10605
+ },
10606
+ {
10607
+ "path": "supports.image",
10608
+ "valueType": "boolean"
10609
+ },
10610
+ {
10611
+ "path": "supports.priority",
10612
+ "valueType": "boolean"
10613
+ },
10614
+ {
10615
+ "path": "supports.data",
10616
+ "valueType": "boolean"
10617
+ },
10618
+ {
10619
+ "path": "supports.actions",
10620
+ "valueType": "boolean"
10621
+ },
10622
+ {
10623
+ "path": "supports.recipients",
10624
+ "valueType": "boolean"
10625
+ }
10626
+ ],
10627
+ "numeric-sensor": [
10628
+ {
10629
+ "path": "value",
10630
+ "valueType": "number"
10631
+ },
10632
+ {
10633
+ "path": "unit",
10634
+ "valueType": "string"
10635
+ },
10636
+ {
10637
+ "path": "precision",
10638
+ "valueType": "number"
10639
+ }
10640
+ ],
10641
+ "pet-feeder": [
10642
+ {
10643
+ "path": "foodLevel",
10644
+ "valueType": "number"
10645
+ },
10646
+ {
10647
+ "path": "food1",
10648
+ "valueType": "number"
10649
+ },
10650
+ {
10651
+ "path": "food2",
10652
+ "valueType": "number"
10653
+ },
10654
+ {
10655
+ "path": "lowFood",
10656
+ "valueType": "boolean"
10657
+ },
10658
+ {
10659
+ "path": "batteryPower",
10660
+ "valueType": "number"
10661
+ },
10662
+ {
10663
+ "path": "desiccantLeftDays",
10664
+ "valueType": "number"
10665
+ },
10666
+ {
10667
+ "path": "feeding",
10668
+ "valueType": "boolean"
10669
+ },
10670
+ {
10671
+ "path": "status",
10672
+ "valueType": "enum",
10673
+ "enumValues": [
10674
+ "normal",
10675
+ "offline",
10676
+ "on_batteries"
10677
+ ]
10678
+ },
10679
+ {
10680
+ "path": "error",
10681
+ "valueType": "string"
10682
+ },
10683
+ {
10684
+ "path": "errorCode",
10685
+ "valueType": "number"
10686
+ },
10687
+ {
10688
+ "path": "isDualHopper",
10689
+ "valueType": "boolean"
10690
+ },
10691
+ {
10692
+ "path": "childLock",
10693
+ "valueType": "boolean"
10694
+ },
10695
+ {
10696
+ "path": "indicatorLight",
10697
+ "valueType": "boolean"
10698
+ },
10699
+ {
10700
+ "path": "feedSound",
10701
+ "valueType": "boolean"
10702
+ },
10703
+ {
10704
+ "path": "volume",
10705
+ "valueType": "number"
10706
+ }
10707
+ ],
10708
+ "power-meter": [
10709
+ {
10710
+ "path": "watts",
10711
+ "valueType": "number"
10712
+ },
10713
+ {
10714
+ "path": "kwhTotal",
10715
+ "valueType": "number"
10716
+ },
10717
+ {
10718
+ "path": "volts",
10719
+ "valueType": "number"
10720
+ },
10721
+ {
10722
+ "path": "amps",
10723
+ "valueType": "number"
10724
+ },
10725
+ {
10726
+ "path": "va",
10727
+ "valueType": "number"
10728
+ },
10729
+ {
10730
+ "path": "powerFactor",
10731
+ "valueType": "number"
10732
+ },
10733
+ {
10734
+ "path": "unit",
10735
+ "valueType": "string"
10736
+ },
10737
+ {
10738
+ "path": "precision",
10739
+ "valueType": "number"
10740
+ }
10741
+ ],
10742
+ "presence": [
10743
+ {
10744
+ "path": "state",
10745
+ "valueType": "string"
10746
+ },
10747
+ {
10748
+ "path": "location",
10749
+ "valueType": "string"
10750
+ },
10751
+ {
10752
+ "path": "gps.latitude",
10753
+ "valueType": "number"
10754
+ },
10755
+ {
10756
+ "path": "gps.longitude",
10757
+ "valueType": "number"
10758
+ },
10759
+ {
10760
+ "path": "gps.accuracyMeters",
10761
+ "valueType": "number"
10762
+ },
10763
+ {
10764
+ "path": "batteryPercent",
10765
+ "valueType": "number"
10766
+ }
10767
+ ],
10768
+ "pressure-sensor": [
10769
+ {
10770
+ "path": "hpa",
10771
+ "valueType": "number"
10772
+ },
10773
+ {
10774
+ "path": "unit",
10775
+ "valueType": "string"
10776
+ },
10777
+ {
10778
+ "path": "precision",
10779
+ "valueType": "number"
10780
+ }
10781
+ ],
10782
+ "privacy-mask": [{
10783
+ "path": "enabled",
10784
+ "valueType": "boolean"
10785
+ }, {
10786
+ "path": "audioEnabled",
10787
+ "valueType": "boolean"
10788
+ }],
10789
+ "ptz": [
10790
+ {
10791
+ "path": "pan",
10792
+ "valueType": "number"
10793
+ },
10794
+ {
10795
+ "path": "tilt",
10796
+ "valueType": "number"
10797
+ },
10798
+ {
10799
+ "path": "zoom",
10800
+ "valueType": "number"
10801
+ },
10802
+ {
10803
+ "path": "autofocus",
10804
+ "valueType": "boolean"
10805
+ }
10806
+ ],
10807
+ "ptz-autotrack": [
10808
+ {
10809
+ "path": "enabled",
10810
+ "valueType": "boolean"
10811
+ },
10812
+ {
10813
+ "path": "currentSettings.targetType",
10814
+ "valueType": "string"
10815
+ },
10816
+ {
10817
+ "path": "currentSettings.stopDelaySeconds",
10818
+ "valueType": "number"
10819
+ },
10820
+ {
10821
+ "path": "currentSettings.disappearDelaySeconds",
10822
+ "valueType": "number"
10823
+ }
10824
+ ],
10825
+ "recording-archive": [
10826
+ {
10827
+ "path": "deviceId",
10828
+ "valueType": "number"
10829
+ },
10830
+ {
10831
+ "path": "enabled",
10832
+ "valueType": "boolean"
10833
+ },
10834
+ {
10835
+ "path": "activeMode",
10836
+ "valueType": "enum",
10837
+ "enumValues": [
10838
+ "off",
10839
+ "events",
10840
+ "continuous",
10841
+ "on-device-decision"
10842
+ ]
10843
+ },
10844
+ {
10845
+ "path": "nodeId",
10846
+ "valueType": "string"
10847
+ },
10848
+ {
10849
+ "path": "storageBytes",
10850
+ "valueType": "number"
10851
+ }
10852
+ ],
10853
+ "recording-onboard": [
10854
+ {
10855
+ "path": "primaryTrackId",
10856
+ "valueType": "string"
10857
+ },
10858
+ {
10859
+ "path": "enabled",
10860
+ "valueType": "boolean"
10861
+ },
10862
+ {
10863
+ "path": "overwriteWhenFull",
10864
+ "valueType": "boolean"
10865
+ },
10866
+ {
10867
+ "path": "preRecordSec",
10868
+ "valueType": "number"
10869
+ },
10870
+ {
10871
+ "path": "postRecordSec",
10872
+ "valueType": "number"
10873
+ },
10874
+ {
10875
+ "path": "segmentMinutes",
10876
+ "valueType": "number"
10877
+ },
10878
+ {
10879
+ "path": "unreadableWindows",
10880
+ "valueType": "number"
10881
+ },
10882
+ {
10883
+ "path": "recordingToNowhere",
10884
+ "valueType": "boolean"
10885
+ }
10886
+ ],
10887
+ "recording-signal": [{
10888
+ "path": "active",
10889
+ "valueType": "boolean"
10890
+ }, {
10891
+ "path": "reason",
10892
+ "valueType": "string"
10893
+ }],
10894
+ "running-state": [
10895
+ {
10896
+ "path": "running",
10897
+ "valueType": "boolean"
10898
+ },
10899
+ {
10900
+ "path": "since",
10901
+ "valueType": "number"
10902
+ },
10903
+ {
10904
+ "path": "source",
10905
+ "valueType": "enum",
10906
+ "enumValues": ["native", "assigned"]
10907
+ },
10908
+ {
10909
+ "path": "phase",
10910
+ "valueType": "string"
10911
+ }
10912
+ ],
10913
+ "script-runner": [
10914
+ {
10915
+ "path": "isRunning",
10916
+ "valueType": "boolean"
10917
+ },
10918
+ {
10919
+ "path": "lastRunAt",
10920
+ "valueType": "number"
10921
+ },
10922
+ {
10923
+ "path": "lastRunSuccess",
10924
+ "valueType": "boolean"
10925
+ },
10926
+ {
10927
+ "path": "lastError",
10928
+ "valueType": "string"
10929
+ }
10930
+ ],
10931
+ "smoke": [{
10932
+ "path": "detected",
10933
+ "valueType": "boolean"
10934
+ }],
10935
+ "snapshot": [
10936
+ {
10937
+ "path": "lastCapturedAt",
10938
+ "valueType": "number"
10939
+ },
10940
+ {
10941
+ "path": "cacheAgeMs",
10942
+ "valueType": "number"
10943
+ },
10944
+ {
10945
+ "path": "lastBytes",
10946
+ "valueType": "number"
10947
+ },
10948
+ {
10949
+ "path": "lastStreamId",
10950
+ "valueType": "string"
10951
+ }
10952
+ ],
10953
+ "stream-params": [
10954
+ {
10955
+ "path": "main.width",
10956
+ "valueType": "number"
10957
+ },
10958
+ {
10959
+ "path": "main.height",
10960
+ "valueType": "number"
10961
+ },
10962
+ {
10963
+ "path": "main.codec",
10964
+ "valueType": "enum",
10965
+ "enumValues": ["h264", "h265"]
10966
+ },
10967
+ {
10968
+ "path": "main.framerate",
10969
+ "valueType": "number"
10970
+ },
10971
+ {
10972
+ "path": "main.bitrate",
10973
+ "valueType": "number"
10974
+ },
10975
+ {
10976
+ "path": "main.bitrateMode",
10977
+ "valueType": "enum",
10978
+ "enumValues": ["vbr", "cbr"]
10979
+ },
10980
+ {
10981
+ "path": "main.encoderProfile",
10982
+ "valueType": "enum",
10983
+ "enumValues": [
10984
+ "high",
10985
+ "main",
10986
+ "baseline"
10987
+ ]
10988
+ },
10989
+ {
10990
+ "path": "main.gop",
10991
+ "valueType": "number"
10992
+ },
10993
+ {
10994
+ "path": "main.audio",
10995
+ "valueType": "boolean"
10996
+ },
10997
+ {
10998
+ "path": "sub.width",
10999
+ "valueType": "number"
11000
+ },
11001
+ {
11002
+ "path": "sub.height",
11003
+ "valueType": "number"
11004
+ },
11005
+ {
11006
+ "path": "sub.codec",
11007
+ "valueType": "enum",
11008
+ "enumValues": ["h264", "h265"]
11009
+ },
11010
+ {
11011
+ "path": "sub.framerate",
11012
+ "valueType": "number"
11013
+ },
11014
+ {
11015
+ "path": "sub.bitrate",
11016
+ "valueType": "number"
11017
+ },
11018
+ {
11019
+ "path": "sub.bitrateMode",
11020
+ "valueType": "enum",
11021
+ "enumValues": ["vbr", "cbr"]
11022
+ },
11023
+ {
11024
+ "path": "sub.encoderProfile",
11025
+ "valueType": "enum",
11026
+ "enumValues": [
11027
+ "high",
11028
+ "main",
11029
+ "baseline"
11030
+ ]
11031
+ },
11032
+ {
11033
+ "path": "sub.gop",
11034
+ "valueType": "number"
11035
+ },
11036
+ {
11037
+ "path": "sub.audio",
11038
+ "valueType": "boolean"
11039
+ },
11040
+ {
11041
+ "path": "ext.width",
11042
+ "valueType": "number"
11043
+ },
11044
+ {
11045
+ "path": "ext.height",
11046
+ "valueType": "number"
11047
+ },
11048
+ {
11049
+ "path": "ext.codec",
11050
+ "valueType": "enum",
11051
+ "enumValues": ["h264", "h265"]
11052
+ },
11053
+ {
11054
+ "path": "ext.framerate",
11055
+ "valueType": "number"
11056
+ },
11057
+ {
11058
+ "path": "ext.bitrate",
11059
+ "valueType": "number"
11060
+ },
11061
+ {
11062
+ "path": "ext.bitrateMode",
11063
+ "valueType": "enum",
11064
+ "enumValues": ["vbr", "cbr"]
11065
+ },
11066
+ {
11067
+ "path": "ext.encoderProfile",
11068
+ "valueType": "enum",
11069
+ "enumValues": [
11070
+ "high",
11071
+ "main",
11072
+ "baseline"
11073
+ ]
11074
+ },
11075
+ {
11076
+ "path": "ext.gop",
11077
+ "valueType": "number"
11078
+ },
11079
+ {
11080
+ "path": "ext.audio",
11081
+ "valueType": "boolean"
11082
+ }
11083
+ ],
11084
+ "switch": [{
11085
+ "path": "on",
11086
+ "valueType": "boolean"
11087
+ }],
11088
+ "tamper": [{
11089
+ "path": "tampered",
11090
+ "valueType": "boolean"
11091
+ }],
11092
+ "temperature-sensor": [
11093
+ {
11094
+ "path": "celsius",
11095
+ "valueType": "number"
11096
+ },
11097
+ {
11098
+ "path": "unit",
11099
+ "valueType": "string"
11100
+ },
11101
+ {
11102
+ "path": "precision",
11103
+ "valueType": "number"
11104
+ }
11105
+ ],
11106
+ "update": [
11107
+ {
11108
+ "path": "currentVersion",
11109
+ "valueType": "string"
11110
+ },
11111
+ {
11112
+ "path": "availableVersion",
11113
+ "valueType": "string"
11114
+ },
11115
+ {
11116
+ "path": "updatable",
11117
+ "valueType": "boolean"
11118
+ },
11119
+ {
11120
+ "path": "state",
11121
+ "valueType": "string"
11122
+ },
11123
+ {
11124
+ "path": "inProgress",
11125
+ "valueType": "boolean"
11126
+ }
11127
+ ],
11128
+ "vacuum-control": [
11129
+ {
11130
+ "path": "state",
11131
+ "valueType": "enum",
11132
+ "enumValues": [
11133
+ "idle",
11134
+ "cleaning",
11135
+ "paused",
11136
+ "returning",
11137
+ "docked",
11138
+ "drying",
11139
+ "error"
11140
+ ]
11141
+ },
11142
+ {
11143
+ "path": "batteryLevel",
11144
+ "valueType": "number"
11145
+ },
11146
+ {
11147
+ "path": "fanSpeed",
11148
+ "valueType": "string"
11149
+ },
11150
+ {
11151
+ "path": "progressPercent",
11152
+ "valueType": "number"
11153
+ },
11154
+ {
11155
+ "path": "errorCode",
11156
+ "valueType": "number"
11157
+ },
11158
+ {
11159
+ "path": "errorLabel",
11160
+ "valueType": "string"
11161
+ }
11162
+ ],
11163
+ "valve": [{
11164
+ "path": "state",
11165
+ "valueType": "enum",
11166
+ "enumValues": [
11167
+ "open",
11168
+ "opening",
11169
+ "closing",
11170
+ "closed",
11171
+ "stopped"
11172
+ ]
11173
+ }, {
11174
+ "path": "position",
11175
+ "valueType": "number"
11176
+ }],
11177
+ "vibration": [{
11178
+ "path": "detected",
11179
+ "valueType": "boolean"
11180
+ }],
11181
+ "water-heater": [
11182
+ {
11183
+ "path": "currentTemp",
11184
+ "valueType": "number"
11185
+ },
11186
+ {
11187
+ "path": "targetTemp",
11188
+ "valueType": "number"
11189
+ },
11190
+ {
11191
+ "path": "operationMode",
11192
+ "valueType": "string"
11193
+ },
11194
+ {
11195
+ "path": "away",
11196
+ "valueType": "boolean"
11197
+ },
11198
+ {
11199
+ "path": "minTemp",
11200
+ "valueType": "number"
11201
+ },
11202
+ {
11203
+ "path": "maxTemp",
11204
+ "valueType": "number"
11205
+ }
11206
+ ],
11207
+ "weather": [
11208
+ {
11209
+ "path": "condition",
11210
+ "valueType": "string"
11211
+ },
11212
+ {
11213
+ "path": "temperature",
11214
+ "valueType": "number"
11215
+ },
11216
+ {
11217
+ "path": "temperatureUnit",
11218
+ "valueType": "string"
11219
+ },
11220
+ {
11221
+ "path": "humidity",
11222
+ "valueType": "number"
11223
+ },
11224
+ {
11225
+ "path": "pressure",
11226
+ "valueType": "number"
11227
+ },
11228
+ {
11229
+ "path": "pressureUnit",
11230
+ "valueType": "string"
11231
+ },
11232
+ {
11233
+ "path": "windSpeed",
11234
+ "valueType": "number"
11235
+ },
11236
+ {
11237
+ "path": "windSpeedUnit",
11238
+ "valueType": "string"
11239
+ },
11240
+ {
11241
+ "path": "windBearing",
11242
+ "valueType": "number"
11243
+ }
11244
+ ],
11245
+ "zone-analytics": [
11246
+ {
11247
+ "path": "ts",
11248
+ "valueType": "number"
11249
+ },
11250
+ {
11251
+ "path": "frameWidth",
11252
+ "valueType": "number"
11253
+ },
11254
+ {
11255
+ "path": "frameHeight",
11256
+ "valueType": "number"
11257
+ },
11258
+ {
11259
+ "path": "frame.totalObjects",
11260
+ "valueType": "number"
11261
+ },
11262
+ {
11263
+ "path": "frame.standingObjects",
11264
+ "valueType": "number"
11265
+ },
11266
+ {
11267
+ "path": "frame.transientObjects",
11268
+ "valueType": "number"
11269
+ },
11270
+ {
11271
+ "path": "unzoned.totalObjects",
11272
+ "valueType": "number"
11273
+ },
11274
+ {
11275
+ "path": "unzoned.standingObjects",
11276
+ "valueType": "number"
11277
+ },
11278
+ {
11279
+ "path": "unzoned.transientObjects",
11280
+ "valueType": "number"
11281
+ }
11282
+ ]
11283
+ });
9310
11284
  object({
9311
11285
  code: string().regex(/^[a-z][a-z0-9-]*(\.[a-z0-9-]+)+$/),
9312
11286
  params: record(string(), union([string(), number()])).optional()
@@ -9689,7 +11663,7 @@ function errMsg$2(err) {
9689
11663
  return String(err);
9690
11664
  }
9691
11665
  //#endregion
9692
- //#region ../types/dist/composition-BJ8iAZb3.mjs
11666
+ //#region ../types/dist/composition-kEl9mevu.mjs
9693
11667
  /**
9694
11668
  * The ffmpeg build every CamStack node downloads, per platform and arch.
9695
11669
  *
@@ -13365,7 +15339,7 @@ var LogChannelDescriptorSchema = object({
13365
15339
  * `true` is a PROMISE with two halves, and both must hold: the gate is
13366
15340
  * consulted with the numeric device id, AND every line the channel admits
13367
15341
  * carries `tags: { deviceId }` with that same numeric id. The second half is
13368
- * what makes `| json | deviceId="617"` work in Loki — `loki-payload.ts`
15342
+ * what makes `| json | deviceId="102"` work in Loki — `loki-payload.ts`
13369
15343
  * keeps `deviceId` out of the stream labels for cardinality, so the tag in
13370
15344
  * the body is the only way to filter.
13371
15345
  *
@@ -13572,7 +15546,7 @@ var ModelVariantGroupSchema = object({
13572
15546
  precision: _enum(["fp32", "int8"]).optional(),
13573
15547
  /**
13574
15548
  * Training / latency-variant axis. Omit ⇒ the standard build. `test` marks
13575
- * an alternate training of the same family (Scrypted `relu_test`); chip
15549
+ * an alternate training of the same family (plugin catalog `relu_test`); chip
13576
15550
  * label is "Test".
13577
15551
  */
13578
15552
  optimization: _enum(["standard", "test"]).optional(),
@@ -13824,8 +15798,8 @@ var ModelCatalogEntrySchema = object({
13824
15798
  provider: ModelProviderIdSchema.optional(),
13825
15799
  /**
13826
15800
  * Per-MODEL class map override. Absent ⇒ the step's `StepDefinition.classMap`
13827
- * applies (Frigate / COCO public catalog). Set on a custom model whose raw
13828
- * labels already ARE the CamStack macros (Scrypted identity map).
15801
+ * applies (plus catalog / COCO public catalog). Set on a custom model whose raw
15802
+ * labels already ARE the CamStack macros (plugin catalog identity map).
13829
15803
  */
13830
15804
  classMap: DetectionCatalogClassMapSchema.optional(),
13831
15805
  /**
@@ -16851,7 +18825,7 @@ method(object({
16851
18825
  * `1` is real time and is the ONLY value that allows the copy branch —
16852
18826
  * anything else forces `libx264` over the window. That was priced
16853
18827
  * before it was chosen: a per-event burst measured at 0.23 s and 254 KB
16854
- * on a real 615 720p cut, against 922 KB for the copy it replaces. A
18828
+ * on a real 101 720p cut, against 922 KB for the copy it replaces. A
16855
18829
  * re-encode is capped at 720p (`EVENT_CLIP_ENCODE_MAX_WIDTH`), because
16856
18830
  * once the decode is forced the width stops being free.
16857
18831
  */
@@ -17271,6 +19245,7 @@ var CompositionRunStatusSchema = _enum([
17271
19245
  "starting",
17272
19246
  "running",
17273
19247
  "degraded",
19248
+ "incomplete",
17274
19249
  "failed"
17275
19250
  ]);
17276
19251
  var CompositionFieldStateKindSchema = _enum([
@@ -17484,6 +19459,7 @@ var CoreBlockStatusSchema = _enum([
17484
19459
  "starting",
17485
19460
  "running",
17486
19461
  "degraded",
19462
+ "incomplete",
17487
19463
  "failed"
17488
19464
  ]);
17489
19465
  /** path → TypeScript source for a multi-file block. */
@@ -39407,7 +41383,7 @@ var PRIMARY_CATEGORIES = new Set(ENTRIES.map((e) => e.primaryCategory));
39407
41383
  * `locationKey` is ALWAYS {@link locationIconKey} of the label — never the
39408
41384
  * operator's casing. The registry matches labels trimmed + case-insensitively
39409
41385
  * everywhere (`addLocation`, `removeLocation`, `renameLocation`), and a
39410
- * case-only rename (`cucina` → `Cucina`) is a real edit this repo supports; a
41386
+ * case-only rename (`kitchen` → `Kitchen`) is a real edit this repo supports; a
39411
41387
  * map keyed on the displayed casing would orphan its entry on exactly that
39412
41388
  * edit. Consumers join by keying their own label through `locationIconKey`.
39413
41389
  */
@@ -39432,7 +41408,7 @@ var LocationDescriptionAssignmentSchema = object({
39432
41408
  /**
39433
41409
  * A SITE ZONE — a named part of the property that several locations belong to.
39434
41410
  *
39435
- * "Zona notte" holds every bedroom; "Zona giorno" the living room and the
41411
+ * "Night zone" holds every bedroom; "Zona giorno" the living room and the
39436
41412
  * kitchen. A camera belongs to exactly one location, and a location to at most
39437
41413
  * one zone, so a camera's zone is derived and never stored on the device: the
39438
41414
  * whole point of this entity is that grouping rooms touches no device row.
@@ -39461,7 +41437,7 @@ var LocationDescriptionAssignmentSchema = object({
39461
41437
  * the locations inside it.
39462
41438
  *
39463
41439
  * The LABEL is carried alongside the key because the key is lossy on purpose —
39464
- * a surface must show "Zona notte", not "zona notte". Locations are carried
41440
+ * a surface must show "Night zone", not "night zone". Locations are carried
39465
41441
  * here, rather than left to a second call, because every consumer wants both
39466
41442
  * at once and a viewer that asked twice could render a zone whose membership
39467
41443
  * it has not fetched yet.
@@ -41574,8 +43550,8 @@ var LoadContributionSchema = object({
41574
43550
  "unattributable"
41575
43551
  ]),
41576
43552
  /**
41577
- * What ONE entry is, in the contributor's own words — `615/high`,
41578
- * `617/native`, `cuda:0 shared pool`. Free text because the unit differs per
43553
+ * What ONE entry is, in the contributor's own words — `101/high`,
43554
+ * `102/native`, `cuda:0 shared pool`. Free text because the unit differs per
41579
43555
  * family and inventing a common one would lose the only information that
41580
43556
  * makes two entries for the same camera distinguishable.
41581
43557
  */
@@ -44803,7 +46779,7 @@ var NcConditionsSchema = object({
44803
46779
  * with the list under it is worse than no switch (D62).
44804
46780
  *
44805
46781
  * MEMBERS ARE FACE-GALLERY `Identity.id`s (uuid), not display names. A name is
44806
- * renameable, and a rule authored on "Gianluca" went silently dark the moment
46782
+ * renameable, and a rule authored on "Alice" went silently dark the moment
44807
46783
  * the operator fixed the spelling. The id reaches the record on
44808
46784
  * `LabelAttribution.identityId`; the name is what the editor shows and what
44809
46785
  * `{{label}}` renders.
@@ -45354,7 +47330,7 @@ var NcRulePatchSchema = NcRuleInputSchema.partial().extend({
45354
47330
  * A rule scoped to one camera and one zone silently became a rule that
45355
47331
  * matches EVERY event on EVERY camera, and lost its `media` policy
45356
47332
  * (zoneCrop / gif / clip / frame) and its `priority` at the same time. Seen
45357
- * live on 2026-08-12: a rule scoped to device 617 fired on 590 and 615
47333
+ * live on 2026-08-12: a rule scoped to device 102 fired on 104 and 101
45358
47334
  * within a minute of a two-field patch.
45359
47335
  *
45360
47336
  * So every defaulted field is re-declared here WITHOUT its default. The
@@ -47217,7 +49193,7 @@ var LabelAttributionSchema = object({
47217
49193
  * `Identity.id` or a plate-gallery `Vehicle.id` (both `randomUUID`).
47218
49194
  *
47219
49195
  * The text alone is a DISPLAY NAME, and a display name is renameable: a
47220
- * notification rule authored on "Gianluca" stopped matching the moment the
49196
+ * notification rule authored on "Alice" stopped matching the moment the
47221
49197
  * operator fixed the spelling in the gallery, and nothing said so. The id is
47222
49198
  * the thing that does not move, so it is what a rule matches on
47223
49199
  * (`NcConditions.identities`) and the text is what a human is shown.
@@ -49869,7 +51845,7 @@ var pipelineExecutorCapability = {
49869
51845
  /**
49870
51846
  * Root-supplied detections for the tree's ROOT step (D730). Set by
49871
51847
  * `runDetailSubtree` when the camera's root model supplies a crop-kind
49872
- * step (a Frigate+ `license_plate` for `plate-detection`): the step is
51848
+ * step (a plus catalog `license_plate` for `plate-detection`): the step is
49873
51849
  * NOT inferred, these boxes are its output, and its children (the plate
49874
51850
  * reader) run on them through their own crop policy. Boxes are in the
49875
51851
  * PIXELS of the image this call carries. Absent ⇒ the root step runs.
@@ -51637,7 +53613,7 @@ var RunnerCameraConfigSchema = object({
51637
53613
  * detection session that asks for history. What shipped was a last-moment
51638
53614
  * discard — `FrameSlot`'s throttle compares wall clocks, and ~4 s of media
51639
53615
  * arriving inside a few hundred ms of wall clock looks to it like one frame's
51640
- * worth. Device 617, 2026-09-08: a re-run of the SAME model over the stored
53616
+ * worth. Device 102, 2026-09-08: a re-run of the SAME model over the stored
51641
53617
  * recording scored the subject `vehicle 0.5669` — above the 0.50 floor —
51642
53618
  * 1.68 s BEFORE the live track was born, on a frame that was in the pre-roll,
51643
53619
  * was decoded, and was freed.
@@ -54292,7 +56268,7 @@ method(_void(), ProviderInfoSchema, { auth: "admin" }), method(object({ config:
54292
56268
  * The signals a device can emit to WAKE its own stream.
54293
56269
  *
54294
56270
  * A camera whose stream is built on demand sleeps until something asks for it,
54295
- * and "something" cannot be a consumer that is merely attached — a Frigate-style
56271
+ * and "something" cannot be a consumer that is merely attached — a external-catalog
54296
56272
  * puller holds a session open for ever, and treating that as demand would keep
54297
56273
  * a battery camera awake for ever, which is the whole thing the battery is for
54298
56274
  * (D173). So the wake has to come from the CAMERA: an event it noticed by
@@ -54979,7 +56955,7 @@ var ClipSchema = object({
54979
56955
  * {@link MAX_CLIP_EVENT_IDS}. Empty on footage-only clips.
54980
56956
  *
54981
56957
  * Bounded because it is not a payload the surface pages through: one visit on
54982
- * device 615 carried 2 345 ids, and `eventIds` was 99% of a 153 KB
56958
+ * device 101 carried 2 345 ids, and `eventIds` was 99% of a 153 KB
54983
56959
  * camera-day. Read {@link eventCount} for the true total.
54984
56960
  */
54985
56961
  eventIds: array(string()).optional(),
@@ -55124,7 +57100,7 @@ var ClipPlaybackSchema = object({
55124
57100
  * camera has no recordings", which is the defect this whole line of work is
55125
57101
  * about: a battery camera nobody woke (`sleeping`), a camera that could not be
55126
57102
  * reached at all (`unreachable`, also what a provider that THREW reports), a
55127
- * camera whose SD card is not mounted (`no-storage`, measured on 640 —
57103
+ * camera whose SD card is not mounted (`no-storage`, measured on 106 —
55128
57104
  * `HddInfo mount 0`, honestly nothing to list rather than "no clips"), and a
55129
57105
  * camera whose OWN index disagrees with its OWN calendar (`index-empty`,
55130
57106
  * measured on 618: the calendar marks 3–20 September, days 6–20 list zero
@@ -55389,7 +57365,7 @@ DeviceType.Camera, method(object({
55389
57365
  *
55390
57366
  * It was optional, documented as "absent means the device's BOUND
55391
57367
  * provider, which is CamStack on every camera". No code implemented
55392
- * that. Measured on the live hub 2026-09-20 — device 592, bound to
57368
+ * that. Measured on the live hub 2026-09-20 — device 107, bound to
55393
57369
  * `recorder` AND `provider-reolink` — a bare call with `limit: 3`
55394
57370
  * answered SIX rows, three from each source, merged newest-first:
55395
57371
  * `device-collection-dispatch.ts` simply left the fan-out un-narrowed,
@@ -56467,7 +58443,10 @@ object({
56467
58443
  DeviceType.Sensor;
56468
58444
  object({
56469
58445
  /** Current illuminance in lux (lx). */
56470
- lux: number().min(0),
58446
+ lux: number().min(0).meta({
58447
+ unit: "lx",
58448
+ label: "Illuminance"
58449
+ }),
56471
58450
  /** Ms epoch when the slice was last updated. */
56472
58451
  lastFetchedAt: number(),
56473
58452
  /** Live display unit from the upstream source (e.g. HA
@@ -56623,7 +58602,10 @@ var BatteryStatusSchema = object({
56623
58602
  * Consumers must SKIP a null rather than coerce it — `battery-band` already
56624
58603
  * declines to band a non-finite reading, which is the correct shape.
56625
58604
  */
56626
- percentage: number().min(0).max(100).nullable(),
58605
+ percentage: number().min(0).max(100).nullable().meta({
58606
+ unit: "%",
58607
+ label: "Charge"
58608
+ }),
56627
58609
  /**
56628
58610
  * Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
56629
58611
  * Reolink-specific for the Solar Panel 2 accessory (will become
@@ -56642,13 +58624,13 @@ var BatteryStatusSchema = object({
56642
58624
  "solar",
56643
58625
  "none",
56644
58626
  "unknown"
56645
- ]),
58627
+ ]).meta({ label: "Charging source" }),
56646
58628
  /**
56647
58629
  * True when the camera firmware has gone into low-power mode. Battery
56648
58630
  * providers MUST avoid polling during sleep — reading the battery
56649
58631
  * wakes the camera up and drains charge.
56650
58632
  */
56651
- sleeping: boolean(),
58633
+ sleeping: boolean().meta({ label: "Sleeping" }),
56652
58634
  /** Ms epoch of the last observation. Lets consumers reason about freshness. */
56653
58635
  lastUpdated: number(),
56654
58636
  /**
@@ -56688,7 +58670,7 @@ var BatteryStatusSchema = object({
56688
58670
  * sub-threshold = low). UI MUST render "Normal"/"Low" instead of a
56689
58671
  * misleading exact percentage. Absent/false → genuine 0–100 % reading.
56690
58672
  */
56691
- binary: boolean().optional()
58673
+ binary: boolean().optional().meta({ label: "Binary indicator" })
56692
58674
  });
56693
58675
  DeviceType.Camera, DeviceType.Sensor, DeviceType.Button, DeviceType.Switch, DeviceType.PetFeeder, DeviceType.Container, DeviceType.Thermostat;
56694
58676
  method(object({
@@ -56703,7 +58685,7 @@ method(object({
56703
58685
  status: BatteryStatusSchema
56704
58686
  });
56705
58687
  object({
56706
- on: boolean(),
58688
+ on: boolean().meta({ label: "On" }),
56707
58689
  /** Ms epoch of the last transition. 0 if never observed. */
56708
58690
  lastChangedAt: number()
56709
58691
  });
@@ -56961,7 +58943,7 @@ var GridLayoutCellSchema = object({
56961
58943
  *
56962
58944
  * A grid's `high` composes its sources' `high` and its `low` their `low`, so a
56963
58945
  * profile is on offer only when EVERY source can serve it. The refusal NAMES
56964
- * the sources, because "this grid has no low" is not a finding — "615 has no
58946
+ * the sources, because "this grid has no low" is not a finding — "101 has no
56965
58947
  * low" is, and it is the one an operator can act on.
56966
58948
  */
56967
58949
  var GridProfileOfferSchema = object({
@@ -58521,7 +60503,10 @@ DeviceType.Humidifier, method(object({
58521
60503
  });
58522
60504
  object({
58523
60505
  /** Current relative humidity, 0..100. */
58524
- percent: number().min(0).max(100),
60506
+ percent: number().min(0).max(100).meta({
60507
+ unit: "%",
60508
+ label: "Humidity"
60509
+ }),
58525
60510
  /** Ms epoch when the slice was last updated. */
58526
60511
  lastFetchedAt: number(),
58527
60512
  /** Live display unit from the upstream source (e.g. HA
@@ -62039,9 +64024,15 @@ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema)
62039
64024
  });
62040
64025
  object({
62041
64026
  /** Instantaneous power draw in watts. */
62042
- watts: number().optional(),
64027
+ watts: number().optional().meta({
64028
+ unit: "W",
64029
+ label: "Power"
64030
+ }),
62043
64031
  /** Cumulative energy in kilowatt-hours since the meter was reset. */
62044
- kwhTotal: number().optional(),
64032
+ kwhTotal: number().optional().meta({
64033
+ unit: "kWh",
64034
+ label: "Energy"
64035
+ }),
62045
64036
  /** Voltage in volts. */
62046
64037
  volts: number().optional(),
62047
64038
  /** Current in amperes. */
@@ -62360,9 +64351,9 @@ var PtzOptionsSchema = object({
62360
64351
  * Reolink preset 0, Hikvision preset '1', Dahua preset 1 -- and on this fleet
62361
64352
  * not one of the three cameras honours its own:
62362
64353
  *
62363
- * 592 Videocamera camera Daniel (reolink) preset 0 holds "stanza"
62364
- * 1438 Videocamera dispensa (hikvision) preset 1 holds "Credenza"
62365
- * 3836 Videocamera studio (amcrest) preset 1 holds "Preset1"
64354
+ * 107 Camera camera Carol (reolink) preset 0 holds "stanza"
64355
+ * 1438 Camera dispensa (hikvision) preset 1 holds "Credenza"
64356
+ * 3836 Camera studio (amcrest) preset 1 holds "Preset1"
62366
64357
  *
62367
64358
  * So `goHome` meant "go wherever the operator happened to save in slot 0 or 1",
62368
64359
  * and two of the three swallowed the failure in a bare `catch`. For autotrack
@@ -62509,7 +64500,7 @@ object({
62509
64500
  running: boolean().nullable(),
62510
64501
  /** Epoch ms the current boolean began; null while `running` is null. */
62511
64502
  since: number().nullable(),
62512
- source: RunningStateSourceSchema,
64503
+ source: RunningStateSourceSchema.meta({ label: "Source" }),
62513
64504
  phase: string().nullable(),
62514
64505
  /** null until a reading has been published (D393). */
62515
64506
  lastFetchedAt: number().nullable()
@@ -62562,7 +64553,7 @@ var RecordingAvailabilitySchema = object({
62562
64553
  * would look identical. But the answer used to say nothing about that, so a
62563
64554
  * caller asking "what can I export?" read the single preferred profile as
62564
64555
  * the only one that exists — on this deployment every camera records `high`
62565
- * AND `low`, the low tree holding 14 GB for camera 615 alone, and the export
64556
+ * AND `low`, the low tree holding 14 GB for camera 101 alone, and the export
62566
64557
  * UI could not see it.
62567
64558
  *
62568
64559
  * Cheap: it is the same shallow directory read the profile CHOICE already
@@ -62661,7 +64652,7 @@ var RecordingSourceOptionsSchema = object({
62661
64652
  * `sparse` = gaps are the absence of one, and must be drawn as such.
62662
64653
  *
62663
64654
  * Not an onboard-only concession: measured 2026-09-24, OUR bar covers 98.8 %
62664
- * of 592's day and 1.2 % of 1436's. It is a fact about a (source, camera)
64655
+ * of 107's day and 1.2 % of 1436's. It is a fact about a (source, camera)
62665
64656
  * pair, and ours answers it per camera from `deriveRecordingMode`. */
62666
64657
  coverage: _enum(["continuous", "sparse"]),
62667
64658
  /** Where the playhead may be put.
@@ -62737,7 +64728,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(RecordingSourceS
62737
64728
  * merely discouraged (D554 amended).
62738
64729
  *
62739
64730
  * It was learned the expensive way on `videoclips.listClips`: measured
62740
- * on the live hub 2026-09-20, device 592 bound to `recorder` AND
64731
+ * on the live hub 2026-09-20, device 107 bound to `recorder` AND
62741
64732
  * `provider-reolink`, a bare call with `limit: 3` answered SIX rows,
62742
64733
  * three from each source, merged — `device-collection-dispatch.ts`
62743
64734
  * leaves an unpinned fan-out un-narrowed, so absence buys the union the
@@ -63338,7 +65329,7 @@ var ExportSpeedSchema = number().min(.25).max(32);
63338
65329
  * on a 10 h window holding 29,393 s of footage every range landed late by the
63339
65330
  * gap accumulated before it — up to 6,607 s, well past EOF. Nothing matched,
63340
65331
  * the video was a uniform timelapse, and the log line reported the five ranges
63341
- * that had been ASKED for (2026-08-13, export `57d14363`, camera 615).
65332
+ * that had been ASKED for (2026-08-13, export `57d14363`, camera 101).
63342
65333
  *
63343
65334
  * Relative and not absolute epoch, because an absolute epoch would make every
63344
65335
  * call site responsible for the same subtraction.
@@ -64006,7 +65997,7 @@ getStatus: method(object({ deviceId: number() }), RecordingSignalStatusSchema) }
64006
65997
  * which put a "Scenes" tab on one camera's detail page. That is the wrong shape
64007
65998
  * for the thing: a scene is a standing question about the property ("is the bin
64008
65999
  * still out"), and the operator's question is "which of my scenes have tripped",
64009
- * across every camera at once — not "what does camera 617 think". Buried one
66000
+ * across every camera at once — not "what does camera 102 think". Buried one
64010
66001
  * camera deep it also could not be found. The surface is now a top-level admin
64011
66002
  * page (`/scenes`, `pages/Scenes.tsx`) that lists every scene on every camera and
64012
66003
  * picks the camera inside the create flow, the same shape Events and Faces have.
@@ -64589,7 +66580,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), StreamParamsOptionsSch
64589
66580
  auth: "admin"
64590
66581
  }), method(object({ deviceId: number() }), unknown().nullable());
64591
66582
  object({
64592
- on: boolean(),
66583
+ on: boolean().meta({ label: "On" }),
64593
66584
  /** Ms epoch of the last state change. Useful for UI "X minutes ago". */
64594
66585
  lastChangedAt: number()
64595
66586
  });
@@ -65152,7 +67143,10 @@ object({
65152
67143
  DeviceType.Sensor;
65153
67144
  object({
65154
67145
  /** Current temperature in Celsius. */
65155
- celsius: number(),
67146
+ celsius: number().meta({
67147
+ unit: "°C",
67148
+ label: "Temperature"
67149
+ }),
65156
67150
  /** Ms epoch when the slice was last updated (push or poll). */
65157
67151
  lastFetchedAt: number(),
65158
67152
  /** Live display unit from the upstream source (e.g. HA
@@ -66360,6 +68354,10 @@ method(object({}), array(TrainingBaseModelSchema).readonly(), { auth: "admin" })
66360
68354
  auth: "admin"
66361
68355
  });
66362
68356
  SOURCE_CAPS.filter((cap) => cap !== "switch" && cap !== "motion");
68357
+ 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;
68358
+ String.raw`rose\(active(\d+), changed(\d+), (\d+(?:\.\d+)?)\)`;
68359
+ DeviceRole.BinarySensor, DeviceRole.MotionSensor;
68360
+ new Set(CAP_NAMES);
66363
68361
  Object.freeze({
66364
68362
  person: .5,
66365
68363
  vehicle: .5,
@@ -79297,7 +81295,7 @@ var SENSOR_CAP_VOCABULARY = {
79297
81295
  state: [{
79298
81296
  kind: "boolean",
79299
81297
  field: "on",
79300
- label: t("Active", "Attivo"),
81298
+ label: t("On", "Acceso"),
79301
81299
  whenTrue: t("When {device} turns active", "Quando {device} si attiva"),
79302
81300
  whenFalse: t("When {device} turns inactive", "Quando {device} si disattiva"),
79303
81301
  icon: "toggle-right"
@@ -82846,7 +84844,6 @@ var BucketAccumulator = class {
82846
84844
  }
82847
84845
  };
82848
84846
  DeviceType.Camera;
82849
- 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;
82850
84847
  /**
82851
84848
  * A saved Customize assignment (D936). The schema is the type: callers use
82852
84849
  * `z.infer`, they do not restate the shape.
@@ -82935,7 +84932,6 @@ object({
82935
84932
  ]),
82936
84933
  reason: string().nullable()
82937
84934
  });
82938
- String.raw`rose\(active(\d+), changed(\d+), (\d+(?:\.\d+)?)\)`;
82939
84935
  var G711_SCALE_CORRECTION_DB = {
82940
84936
  PCMU: 20 * Math.log10(4),
82941
84937
  PCMA: 20 * Math.log10(8)
@@ -83308,7 +85304,7 @@ var STATE_SUMMARY_SECTION_VARS = [
83308
85304
  {
83309
85305
  name: "summaryStreams",
83310
85306
  label: "Summary: streams offline",
83311
- example: "Ingresso (high) — since 06:40",
85307
+ example: "Front door (high) — since 06:40",
83312
85308
  kinds: ["stream-offline", "stream-online"]
83313
85309
  },
83314
85310
  {
@@ -83326,13 +85322,13 @@ var STATE_SUMMARY_SECTION_VARS = [
83326
85322
  {
83327
85323
  name: "summaryDetection",
83328
85324
  label: "Summary: cameras detecting nothing",
83329
- example: "Ingresso — since 05:10",
85325
+ example: "Front door — since 05:10",
83330
85326
  kinds: ["detection-blind"]
83331
85327
  },
83332
85328
  {
83333
85329
  name: "summaryNodes",
83334
85330
  label: "Summary: nodes",
83335
- example: "little-unraid — offline since 03:00",
85331
+ example: "agent-a — offline since 03:00",
83336
85332
  kinds: [
83337
85333
  "node-offline",
83338
85334
  "node-online",
@@ -87788,7 +89784,7 @@ function validateJumpTargets(inferenceDevices, enabledAvailableKeys) {
87788
89784
  * A **Coral Edge TPU (`edgetpu`)** is an accelerator like the rest and is
87789
89785
  * enabled by default (D912, superseding D39). The 2026-08-01 incident that made
87790
89786
  * it opt-in (a Coral nobody enabled took an equal share of the rotation, ran a
87791
- * weaker SSD and left camera 615 at 2.4 fps) is answered by speed-proportional
89787
+ * weaker SSD and left camera 101 at 2.4 fps) is answered by speed-proportional
87792
89788
  * automatic weights — Auto tune sizes the Coral at its default YOLOv9-s 320
87793
89789
  * Edge TPU build with the measured latency — and by that default model, which
87794
89790
  * is YOLOv9 like the rest. An explicit stored `enabled:false` still wins.
@@ -91438,7 +93434,7 @@ var CameraStatusService = class {
91438
93434
  * means "we could not look" from a `null` that means "there is nothing
91439
93435
  * there"; the `warn` is what makes the next hang findable at all. The line
91440
93436
  * carries `tags.deviceId` with the numeric id because the question is always
91441
- * per-camera ("why is 614 worse than 615?") and a line without the tag
93437
+ * per-camera ("why is 105 worse than 101?") and a line without the tag
91442
93438
  * cannot be grouped to answer it.
91443
93439
  */
91444
93440
  recordDegraded(sink, deviceId, stage, reason, elapsedMs, extraMeta = {}) {
@@ -91738,7 +93734,7 @@ var CameraStatusService = class {
91738
93734
  *
91739
93735
  * In the last two the returned list is `[]`, and `[]` was once handed to the
91740
93736
  * payload as the positive claim "the operator has switched nothing off".
91741
- * Measured on the live hub 2026-08-08: `getCameraStatus(614)` said
93737
+ * Measured on the live hub 2026-08-08: `getCameraStatus(105)` said
91742
93738
  * `switchedOff: []` at the very moment `stream-broker` AND `recording` were
91743
93739
  * switched off by the operator — the camera read as BROKEN because it was
91744
93740
  * switched OFF. The list stays empty (a guess would put a permanent "off"
@@ -91925,7 +93921,7 @@ function readPrivacyMaskFacts(v) {
91925
93921
  *
91926
93922
  * Measured on the live hub, 2026-08-08: seven of the eight sources answered in
91927
93923
  * 5–15ms on every camera. The eighth, `privacyMask.getStatus`, probes the
91928
- * camera itself and took 3.1–3.6s on device 614 on every single call (18s under
93924
+ * camera itself and took 3.1–3.6s on device 105 on every single call (18s under
91929
93925
  * load) — so a bound generous enough to make the fast sources safe still has to
91930
93926
  * be willing to drop the slow one, because waiting for it costs the other six.
91931
93927
  */
@@ -93231,7 +95227,7 @@ async function reconcileOnboardForwarding(input, deps) {
93231
95227
  * never cause a video transcode, and on this fleet the motion rung IS a
93232
95228
  * `derived:*` transcode. The caller therefore hands the resolved audio stream
93233
95229
  * in {@link WatchdogAudioSource} — reading `motionStreamId` here would label
93234
- * and RECOVER the wrong stream, which is how camera 618's audio stage watched
95230
+ * and RECOVER the wrong stream, which is how camera 108's audio stage watched
93235
95231
  * a plane the analyser was not listening to.
93236
95232
  *
93237
95233
  * `pipelineEnabled === false` (the `object-detection` switch, D62/ADR-0109)
@@ -93360,7 +95356,7 @@ var DetectionWiringController = class {
93360
95356
  * silently loses `BATTERY_DEVICE_PROFILE` and `audioMode` falls back to
93361
95357
  * `'always-on'` — which subscribes the audio-analyzer, which is demand on
93362
95358
  * the substream, which dials the camera and WAKES it. Measured on the live
93363
- * hub: 3 of 12 detection passes on device 640 did exactly that, each right
95359
+ * hub: 3 of 12 detection passes on device 106 did exactly that, each right
93364
95360
  * after a `provider-reolink` restart.
93365
95361
  *
93366
95362
  * So this reports UNKNOWN (`null`) distinctly from "no features" (`[]`), and
@@ -94819,7 +96815,7 @@ function decideSessionClose(input) {
94819
96815
  * straight to the floor check; the hold, the cap and the track-freshness read
94820
96816
  * all lived inside the COOLDOWN TIMER's body. On a camera that emits an
94821
96817
  * explicit low edge — which is every camera — the timer body never ran.
94822
- * Measured on device 617 over 24 h, 503 paired sessions: **502 closed on
96818
+ * Measured on device 102 over 24 h, 503 paired sessions: **502 closed on
94823
96819
  * `motion_cleared`**, 1 on the cooldown, 0 on `maxSessionHoldMs`, and the
94824
96820
  * "held open" branch fired **0 times**. Median session life 10 221 ms against a
94825
96821
  * 10 000 ms floor — not a duration, a floor. 71.5% of the tracks that died in
@@ -99679,7 +101675,7 @@ var RECHECK_REASON = "orchestrator-recheck";
99679
101675
  /**
99680
101676
  * D691 — the EARLY LOOK. An occupancy edge commits only on a sample that lands
99681
101677
  * after its sustain window, and a departure's session usually closes before
99682
- * that (the car drives off, motion clears): 617 on 2026-10-01 closed 1.3 s
101678
+ * that (the car drives off, motion clears): 102 on 2026-10-01 closed 1.3 s
99683
101679
  * before its 29 s sustain ended and the edge waited 4 min 52 s for the cadence
99684
101680
  * above. The notification centre, which alone knows a flip is pending, asks
99685
101681
  * for ONE look at the sustain's end ({@link OccupancyRecheckController.requestEarlyLook});
@@ -100451,7 +102447,7 @@ function countRunningByNode(placements) {
100451
102447
  * 57.6% under 5 s, and **820 of 822 closes were the hub's explicit
100452
102448
  * `motion_cleared` falling edge** — which closed the session instantly, so
100453
102449
  * `motionCooldownMs` / the track hold / `maxSessionHoldMs` decided 2 closes in
100454
- * total. Camera 590 opened and closed 249 sessions in 25 minutes; every close
102450
+ * total. Camera 104 opened and closed 249 sessions in 25 minutes; every close
100455
102451
  * dropped its assignment and every reopen re-elected a node, which is the
100456
102452
  * 2-3 second flicker the operator reported on the placement column — and a full
100457
102453
  * detach+attach round trip per flicker.
@@ -100822,7 +102818,7 @@ var SessionDispatchController = class {
100822
102818
  * Close an ACTIVE detection session so the next motion event re-dispatches
100823
102819
  * it fresh — used by `assignPipeline` when the operator pins a session-mode
100824
102820
  * camera to a node OTHER than the one its session currently runs on (the
100825
- * cam-590 case: a busy camera's session never cools down, so without this
102821
+ * cam-104 case: a busy camera's session never cools down, so without this
100826
102822
  * the stale pre-pin placement survived indefinitely).
100827
102823
  *
100828
102824
  * Deliberately NOT `stopForDevice`: the camera must stay ARMED —
@@ -100928,7 +102924,7 @@ var SessionDispatchController = class {
100928
102924
  * SAME rule the fallback timer uses ({@link resolveSessionLifecycleLocked}).
100929
102925
  * It no longer bypasses the hold and the cap: it used to, and that made
100930
102926
  * both unreachable on every camera that emits a falling edge — 502 of
100931
- * 503 closes on device 617 in 24 h. An explicit clear still wins over
102927
+ * 503 closes on device 102 in 24 h. An explicit clear still wins over
100932
102928
  * the cooldown; it does not win over a subject that is still there.
100933
102929
  *
100934
102930
  * LIVE as of Task 2: `startDetection` no longer standing-attaches on-motion
@@ -101377,7 +103373,7 @@ var SessionDispatchController = class {
101377
103373
  * falling edge, the `cooldown_expired` fallback timer, and the re-ask of a
101378
103374
  * close this method itself deferred. That is the fix — the hold, the
101379
103375
  * freshness read and `maxSessionHoldMs` used to live inside the COOLDOWN
101380
- * TIMER's body, so a falling edge reached none of them. On device 617, 24 h,
103376
+ * TIMER's body, so a falling edge reached none of them. On device 102, 24 h,
101381
103377
  * 503 sessions: 502 closes were falling edges, the hold branch fired 0
101382
103378
  * times, `maxSessionHoldMs` fired 0 times, and the session-duration
101383
103379
  * distribution collapsed onto {@link MIN_SESSION_OPEN_MS} — median 10 221 ms
@@ -101452,7 +103448,7 @@ var SessionDispatchController = class {
101452
103448
  * **This branch drops work, so it says so.** Closing a session detaches the
101453
103449
  * runner: every track still live on that camera dies here, mid-life, with no
101454
103450
  * `end` key-event and no chance of ever reaching the stationary registry's
101455
- * promotion window. It used to log one bare sentence. Measured on device 617
103451
+ * promotion window. It used to log one bare sentence. Measured on device 102
101456
103452
  * over 24 h it killed **223 live tracks across 503 closes (0.44 per close)**,
101457
103453
  * 95% of which had been motionless for at least a second, and not one line
101458
103454
  * named a single one of them — the gap had to be reconstructed by
@@ -102065,9 +104061,9 @@ var ZoneRulesProvider = class {
102065
104061
  * so a camera whose runtime-state row had never been written (or had
102066
104062
  * been reset) had no `zones` slice at all, and every mirror-only
102067
104063
  * consumer concluded "this camera has no zones" — forever, because no
102068
- * mutation was coming. Live cost (camera 617 'Parcheggio',
102069
- * 2026-08-12): `zones.listZones {617}` returned 'Parcheggio papà'
102070
- * while `deviceState.getCapSlice {617,'zones'}` returned `null`;
104064
+ * mutation was coming. Live cost (camera 102 'Parking',
104065
+ * 2026-08-12): `zones.listZones {102}` returned 'Parking pat'
104066
+ * while `deviceState.getCapSlice {102,'zones'}` returned `null`;
102071
104067
  * occupancy dropped all three parked cars into `unzoned`, its zone
102072
104068
  * rule could never fire, and the admin Zones tab — which reads the
102073
104069
  * same mirror — showed "No zones yet".
@@ -102531,7 +104527,7 @@ async function buildOrchestratorControllers(deps) {
102531
104527
  * false negative on every COLD broker: `getStats()` answers `audio: null`
102532
104528
  * until a track is observed, and dispatch normally runs while the stream is
102533
104529
  * idle. So the audio stage armed only for cameras that happened to be hot at
102534
- * dispatch — which is why camera 618's derived stream delivered zero audio
104530
+ * dispatch — which is why camera 108's derived stream delivered zero audio
102535
104531
  * chunks for four days without a single watchdog line. A stage armed on a
102536
104532
  * camera that turns out to have no audio is BOUNDED: the watchdog disarms a
102537
104533
  * stage that never produced one signal, with one line.
@@ -106173,7 +108169,7 @@ var PipelineOrchestratorAddon = class PipelineOrchestratorAddon extends BaseAddo
106173
108169
  * Which nodes can still infer. Refreshed by
106174
108170
  * {@link resolveEligibleInferenceDevices}; read synchronously by both
106175
108171
  * dispatch paths so a node whose every enabled accelerator vanished stops
106176
- * receiving cameras. little-unraid was handed cameras for a whole day in
108172
+ * receiving cameras. agent-a was handed cameras for a whole day in
106177
108173
  * exactly that state.
106178
108174
  */
106179
108175
  nodeInferenceUsability = new NodeInferenceUsabilityMirror();