@camstack/addon-export-hap 1.2.178 → 1.2.179
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/hap-export.addon.js +2064 -68
- package/dist/hap-export.addon.mjs +2064 -68
- package/package.json +1 -1
package/dist/hap-export.addon.js
CHANGED
|
@@ -49,7 +49,7 @@ let node_fs_promises = require("node:fs/promises");
|
|
|
49
49
|
node_fs_promises = __toESM(node_fs_promises, 1);
|
|
50
50
|
let node_events = require("node:events");
|
|
51
51
|
let node_dgram = require("node:dgram");
|
|
52
|
-
//#region ../types/dist/event-category-
|
|
52
|
+
//#region ../types/dist/event-category-DHXxB8t9.mjs
|
|
53
53
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
54
54
|
EventCategory["SystemBoot"] = "system.boot";
|
|
55
55
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -345,7 +345,7 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
345
345
|
* TRANSITION into that state (never per dispatch), and the node is dropped
|
|
346
346
|
* from the placement candidate set for as long as it holds.
|
|
347
347
|
*
|
|
348
|
-
* This exists because the state was previously invisible:
|
|
348
|
+
* This exists because the state was previously invisible: agent-a
|
|
349
349
|
* absorbed 283k inference errors in a day while still being handed cameras,
|
|
350
350
|
* and nothing in the system said so.
|
|
351
351
|
*
|
|
@@ -5484,7 +5484,7 @@ var ZodIssueCode = {
|
|
|
5484
5484
|
var ZodFirstPartyTypeKind;
|
|
5485
5485
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5486
5486
|
//#endregion
|
|
5487
|
-
//#region ../types/dist/sleep-
|
|
5487
|
+
//#region ../types/dist/sleep-BErAxhul.mjs
|
|
5488
5488
|
/**
|
|
5489
5489
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5490
5490
|
* window to float samples (D455).
|
|
@@ -8495,6 +8495,1980 @@ method(object({ deviceId: number() }), array(StreamSourceEntrySchema)), method(o
|
|
|
8495
8495
|
kind: "mutation",
|
|
8496
8496
|
auth: "admin"
|
|
8497
8497
|
}), method(object({ deviceId: number() }), unknown().nullable()), method(object({ deviceId: number() }), RawStateResultSchema.nullable(), { auth: "protected" });
|
|
8498
|
+
Object.freeze({ "doorbell": "lastPressedAt" });
|
|
8499
|
+
/** Every capability name, so addon code can check a name without the schema graph. */
|
|
8500
|
+
var CAP_NAMES = Object.freeze([
|
|
8501
|
+
"accessories",
|
|
8502
|
+
"addon-pages",
|
|
8503
|
+
"addon-pages-source",
|
|
8504
|
+
"addon-routes",
|
|
8505
|
+
"addon-settings",
|
|
8506
|
+
"addon-widgets",
|
|
8507
|
+
"addon-widgets-source",
|
|
8508
|
+
"addons",
|
|
8509
|
+
"admin-ui",
|
|
8510
|
+
"air-quality-sensor",
|
|
8511
|
+
"alarm-panel",
|
|
8512
|
+
"alerts",
|
|
8513
|
+
"ambient-light-sensor",
|
|
8514
|
+
"audio-analysis",
|
|
8515
|
+
"audio-analyzer",
|
|
8516
|
+
"audio-codec",
|
|
8517
|
+
"audio-metrics",
|
|
8518
|
+
"auth-provider",
|
|
8519
|
+
"automation-control",
|
|
8520
|
+
"backup",
|
|
8521
|
+
"battery",
|
|
8522
|
+
"binary",
|
|
8523
|
+
"brightness",
|
|
8524
|
+
"broker",
|
|
8525
|
+
"button",
|
|
8526
|
+
"calendar-source",
|
|
8527
|
+
"calendars",
|
|
8528
|
+
"camera-credentials",
|
|
8529
|
+
"camera-grid-layout",
|
|
8530
|
+
"camera-pipeline-config",
|
|
8531
|
+
"camera-streams",
|
|
8532
|
+
"carbon-monoxide",
|
|
8533
|
+
"climate-control",
|
|
8534
|
+
"color",
|
|
8535
|
+
"composer",
|
|
8536
|
+
"connection-test",
|
|
8537
|
+
"connectivity",
|
|
8538
|
+
"consumables",
|
|
8539
|
+
"contact",
|
|
8540
|
+
"control",
|
|
8541
|
+
"core-blocks",
|
|
8542
|
+
"cover",
|
|
8543
|
+
"custom-model-registry",
|
|
8544
|
+
"data-store-provider",
|
|
8545
|
+
"database-snapshot",
|
|
8546
|
+
"day-night",
|
|
8547
|
+
"decoder",
|
|
8548
|
+
"detection-pipeline",
|
|
8549
|
+
"device-admin-link",
|
|
8550
|
+
"device-adoption",
|
|
8551
|
+
"device-credentials",
|
|
8552
|
+
"device-discovery",
|
|
8553
|
+
"device-export",
|
|
8554
|
+
"device-extension",
|
|
8555
|
+
"device-history",
|
|
8556
|
+
"device-manager",
|
|
8557
|
+
"device-ops",
|
|
8558
|
+
"device-provider",
|
|
8559
|
+
"device-removal-hook",
|
|
8560
|
+
"device-state",
|
|
8561
|
+
"device-status",
|
|
8562
|
+
"dishwasher",
|
|
8563
|
+
"display-palette",
|
|
8564
|
+
"doorbell",
|
|
8565
|
+
"embedding-encoder",
|
|
8566
|
+
"enum-sensor",
|
|
8567
|
+
"event-emitter",
|
|
8568
|
+
"face-gallery",
|
|
8569
|
+
"failure-contribution",
|
|
8570
|
+
"fan-control",
|
|
8571
|
+
"feature-probe",
|
|
8572
|
+
"filesystem-browse",
|
|
8573
|
+
"flood",
|
|
8574
|
+
"gas",
|
|
8575
|
+
"heating-valve",
|
|
8576
|
+
"humidifier",
|
|
8577
|
+
"humidity-sensor",
|
|
8578
|
+
"image",
|
|
8579
|
+
"image-settings",
|
|
8580
|
+
"integrations",
|
|
8581
|
+
"intercom",
|
|
8582
|
+
"keychain",
|
|
8583
|
+
"keychain-admin",
|
|
8584
|
+
"lawn-mower-control",
|
|
8585
|
+
"llm",
|
|
8586
|
+
"llm-runtime",
|
|
8587
|
+
"load-contribution",
|
|
8588
|
+
"local-network",
|
|
8589
|
+
"lock-control",
|
|
8590
|
+
"log-channels",
|
|
8591
|
+
"log-destination",
|
|
8592
|
+
"login-method",
|
|
8593
|
+
"media-player",
|
|
8594
|
+
"mesh-network",
|
|
8595
|
+
"metrics-provider",
|
|
8596
|
+
"model-convert",
|
|
8597
|
+
"model-distributor",
|
|
8598
|
+
"motion",
|
|
8599
|
+
"motion-detection",
|
|
8600
|
+
"motion-trigger",
|
|
8601
|
+
"motion-zones",
|
|
8602
|
+
"mqtt-broker",
|
|
8603
|
+
"native-object-detection",
|
|
8604
|
+
"navigation",
|
|
8605
|
+
"network-access",
|
|
8606
|
+
"network-link",
|
|
8607
|
+
"network-quality",
|
|
8608
|
+
"node-certificates",
|
|
8609
|
+
"nodes",
|
|
8610
|
+
"notification-output",
|
|
8611
|
+
"notification-rules",
|
|
8612
|
+
"notifier",
|
|
8613
|
+
"numeric-sensor",
|
|
8614
|
+
"oauth-integration",
|
|
8615
|
+
"oidc-connections",
|
|
8616
|
+
"osd",
|
|
8617
|
+
"osd-manager",
|
|
8618
|
+
"pet-feeder",
|
|
8619
|
+
"pipeline-analytics",
|
|
8620
|
+
"pipeline-executor",
|
|
8621
|
+
"pipeline-orchestrator",
|
|
8622
|
+
"pipeline-runner",
|
|
8623
|
+
"plate-gallery",
|
|
8624
|
+
"platform-probe",
|
|
8625
|
+
"power-meter",
|
|
8626
|
+
"presence",
|
|
8627
|
+
"pressure-sensor",
|
|
8628
|
+
"privacy-mask",
|
|
8629
|
+
"ptz",
|
|
8630
|
+
"ptz-autotrack",
|
|
8631
|
+
"reboot",
|
|
8632
|
+
"record-entries",
|
|
8633
|
+
"recording",
|
|
8634
|
+
"recording-archive",
|
|
8635
|
+
"recording-export",
|
|
8636
|
+
"recording-onboard",
|
|
8637
|
+
"recording-signal",
|
|
8638
|
+
"records",
|
|
8639
|
+
"running-state",
|
|
8640
|
+
"scene-monitor",
|
|
8641
|
+
"script-runner",
|
|
8642
|
+
"server-management",
|
|
8643
|
+
"settings-store",
|
|
8644
|
+
"smoke",
|
|
8645
|
+
"smtp-provider",
|
|
8646
|
+
"snapshot",
|
|
8647
|
+
"sso-bridge",
|
|
8648
|
+
"storage",
|
|
8649
|
+
"storage-admin",
|
|
8650
|
+
"storage-evictable",
|
|
8651
|
+
"storage-migration",
|
|
8652
|
+
"storage-occupancy",
|
|
8653
|
+
"storage-provider",
|
|
8654
|
+
"stream-broker",
|
|
8655
|
+
"stream-catalog",
|
|
8656
|
+
"stream-params",
|
|
8657
|
+
"stream-signals",
|
|
8658
|
+
"switch",
|
|
8659
|
+
"system",
|
|
8660
|
+
"tamper",
|
|
8661
|
+
"temperature-sensor",
|
|
8662
|
+
"terminal-session",
|
|
8663
|
+
"toast",
|
|
8664
|
+
"training",
|
|
8665
|
+
"training-provider",
|
|
8666
|
+
"turn-provider",
|
|
8667
|
+
"update",
|
|
8668
|
+
"user-management",
|
|
8669
|
+
"user-passkeys",
|
|
8670
|
+
"vacuum-control",
|
|
8671
|
+
"valve",
|
|
8672
|
+
"vector-store",
|
|
8673
|
+
"vibration",
|
|
8674
|
+
"videoclips",
|
|
8675
|
+
"viewer-ui",
|
|
8676
|
+
"water-heater",
|
|
8677
|
+
"weather",
|
|
8678
|
+
"webrtc-session",
|
|
8679
|
+
"zone-analytics",
|
|
8680
|
+
"zone-rules",
|
|
8681
|
+
"zones"
|
|
8682
|
+
]);
|
|
8683
|
+
Object.freeze({
|
|
8684
|
+
"air-quality-sensor": [
|
|
8685
|
+
{
|
|
8686
|
+
"path": "co2Ppm",
|
|
8687
|
+
"valueType": "number"
|
|
8688
|
+
},
|
|
8689
|
+
{
|
|
8690
|
+
"path": "vocPpb",
|
|
8691
|
+
"valueType": "number"
|
|
8692
|
+
},
|
|
8693
|
+
{
|
|
8694
|
+
"path": "pm25",
|
|
8695
|
+
"valueType": "number"
|
|
8696
|
+
},
|
|
8697
|
+
{
|
|
8698
|
+
"path": "pm10",
|
|
8699
|
+
"valueType": "number"
|
|
8700
|
+
},
|
|
8701
|
+
{
|
|
8702
|
+
"path": "aqi",
|
|
8703
|
+
"valueType": "number"
|
|
8704
|
+
},
|
|
8705
|
+
{
|
|
8706
|
+
"path": "unit",
|
|
8707
|
+
"valueType": "string"
|
|
8708
|
+
},
|
|
8709
|
+
{
|
|
8710
|
+
"path": "precision",
|
|
8711
|
+
"valueType": "number"
|
|
8712
|
+
}
|
|
8713
|
+
],
|
|
8714
|
+
"alarm-panel": [
|
|
8715
|
+
{
|
|
8716
|
+
"path": "state",
|
|
8717
|
+
"valueType": "enum",
|
|
8718
|
+
"enumValues": [
|
|
8719
|
+
"disarmed",
|
|
8720
|
+
"armed_home",
|
|
8721
|
+
"armed_away",
|
|
8722
|
+
"armed_night",
|
|
8723
|
+
"armed_vacation",
|
|
8724
|
+
"armed_custom_bypass",
|
|
8725
|
+
"arming",
|
|
8726
|
+
"disarming",
|
|
8727
|
+
"pending",
|
|
8728
|
+
"triggered"
|
|
8729
|
+
]
|
|
8730
|
+
},
|
|
8731
|
+
{
|
|
8732
|
+
"path": "targetMode",
|
|
8733
|
+
"valueType": "enum",
|
|
8734
|
+
"enumValues": [
|
|
8735
|
+
"home",
|
|
8736
|
+
"away",
|
|
8737
|
+
"night",
|
|
8738
|
+
"vacation",
|
|
8739
|
+
"custom_bypass"
|
|
8740
|
+
]
|
|
8741
|
+
},
|
|
8742
|
+
{
|
|
8743
|
+
"path": "requiresCode",
|
|
8744
|
+
"valueType": "boolean"
|
|
8745
|
+
}
|
|
8746
|
+
],
|
|
8747
|
+
"ambient-light-sensor": [
|
|
8748
|
+
{
|
|
8749
|
+
"path": "lux",
|
|
8750
|
+
"valueType": "number"
|
|
8751
|
+
},
|
|
8752
|
+
{
|
|
8753
|
+
"path": "unit",
|
|
8754
|
+
"valueType": "string"
|
|
8755
|
+
},
|
|
8756
|
+
{
|
|
8757
|
+
"path": "precision",
|
|
8758
|
+
"valueType": "number"
|
|
8759
|
+
}
|
|
8760
|
+
],
|
|
8761
|
+
"audio-metrics": [
|
|
8762
|
+
{
|
|
8763
|
+
"path": "ts",
|
|
8764
|
+
"valueType": "number"
|
|
8765
|
+
},
|
|
8766
|
+
{
|
|
8767
|
+
"path": "windowSec",
|
|
8768
|
+
"valueType": "number"
|
|
8769
|
+
},
|
|
8770
|
+
{
|
|
8771
|
+
"path": "level.rms",
|
|
8772
|
+
"valueType": "number"
|
|
8773
|
+
},
|
|
8774
|
+
{
|
|
8775
|
+
"path": "level.dbfs",
|
|
8776
|
+
"valueType": "number"
|
|
8777
|
+
},
|
|
8778
|
+
{
|
|
8779
|
+
"path": "peakDbfs",
|
|
8780
|
+
"valueType": "number"
|
|
8781
|
+
},
|
|
8782
|
+
{
|
|
8783
|
+
"path": "avgDbfs",
|
|
8784
|
+
"valueType": "number"
|
|
8785
|
+
},
|
|
8786
|
+
{
|
|
8787
|
+
"path": "current.className",
|
|
8788
|
+
"valueType": "string"
|
|
8789
|
+
},
|
|
8790
|
+
{
|
|
8791
|
+
"path": "current.score",
|
|
8792
|
+
"valueType": "number"
|
|
8793
|
+
},
|
|
8794
|
+
{
|
|
8795
|
+
"path": "current.timestamp",
|
|
8796
|
+
"valueType": "number"
|
|
8797
|
+
}
|
|
8798
|
+
],
|
|
8799
|
+
"automation-control": [
|
|
8800
|
+
{
|
|
8801
|
+
"path": "enabled",
|
|
8802
|
+
"valueType": "boolean"
|
|
8803
|
+
},
|
|
8804
|
+
{
|
|
8805
|
+
"path": "isRunning",
|
|
8806
|
+
"valueType": "boolean"
|
|
8807
|
+
},
|
|
8808
|
+
{
|
|
8809
|
+
"path": "lastTriggeredAt",
|
|
8810
|
+
"valueType": "number"
|
|
8811
|
+
},
|
|
8812
|
+
{
|
|
8813
|
+
"path": "lastError",
|
|
8814
|
+
"valueType": "string"
|
|
8815
|
+
}
|
|
8816
|
+
],
|
|
8817
|
+
"battery": [
|
|
8818
|
+
{
|
|
8819
|
+
"path": "percentage",
|
|
8820
|
+
"valueType": "number"
|
|
8821
|
+
},
|
|
8822
|
+
{
|
|
8823
|
+
"path": "charging",
|
|
8824
|
+
"valueType": "enum",
|
|
8825
|
+
"enumValues": [
|
|
8826
|
+
"dc",
|
|
8827
|
+
"solar",
|
|
8828
|
+
"none",
|
|
8829
|
+
"unknown"
|
|
8830
|
+
]
|
|
8831
|
+
},
|
|
8832
|
+
{
|
|
8833
|
+
"path": "sleeping",
|
|
8834
|
+
"valueType": "boolean"
|
|
8835
|
+
},
|
|
8836
|
+
{
|
|
8837
|
+
"path": "lastUpdated",
|
|
8838
|
+
"valueType": "number"
|
|
8839
|
+
},
|
|
8840
|
+
{
|
|
8841
|
+
"path": "lastContactAt",
|
|
8842
|
+
"valueType": "number"
|
|
8843
|
+
},
|
|
8844
|
+
{
|
|
8845
|
+
"path": "lastFullRefreshAt",
|
|
8846
|
+
"valueType": "number"
|
|
8847
|
+
},
|
|
8848
|
+
{
|
|
8849
|
+
"path": "binary",
|
|
8850
|
+
"valueType": "boolean"
|
|
8851
|
+
}
|
|
8852
|
+
],
|
|
8853
|
+
"binary": [{
|
|
8854
|
+
"path": "on",
|
|
8855
|
+
"valueType": "boolean"
|
|
8856
|
+
}],
|
|
8857
|
+
"brightness": [{
|
|
8858
|
+
"path": "percentage",
|
|
8859
|
+
"valueType": "number"
|
|
8860
|
+
}],
|
|
8861
|
+
"broker": [{
|
|
8862
|
+
"path": "brokerCount",
|
|
8863
|
+
"valueType": "number"
|
|
8864
|
+
}, {
|
|
8865
|
+
"path": "connectedCount",
|
|
8866
|
+
"valueType": "number"
|
|
8867
|
+
}],
|
|
8868
|
+
"camera-credentials": [
|
|
8869
|
+
{
|
|
8870
|
+
"path": "host",
|
|
8871
|
+
"valueType": "string"
|
|
8872
|
+
},
|
|
8873
|
+
{
|
|
8874
|
+
"path": "port",
|
|
8875
|
+
"valueType": "number"
|
|
8876
|
+
},
|
|
8877
|
+
{
|
|
8878
|
+
"path": "onvifPort",
|
|
8879
|
+
"valueType": "number"
|
|
8880
|
+
},
|
|
8881
|
+
{
|
|
8882
|
+
"path": "rtspPort",
|
|
8883
|
+
"valueType": "number"
|
|
8884
|
+
},
|
|
8885
|
+
{
|
|
8886
|
+
"path": "https",
|
|
8887
|
+
"valueType": "boolean"
|
|
8888
|
+
},
|
|
8889
|
+
{
|
|
8890
|
+
"path": "hasUsername",
|
|
8891
|
+
"valueType": "boolean"
|
|
8892
|
+
},
|
|
8893
|
+
{
|
|
8894
|
+
"path": "hasPassword",
|
|
8895
|
+
"valueType": "boolean"
|
|
8896
|
+
},
|
|
8897
|
+
{
|
|
8898
|
+
"path": "onvifProfile",
|
|
8899
|
+
"valueType": "string"
|
|
8900
|
+
}
|
|
8901
|
+
],
|
|
8902
|
+
"camera-streams": [
|
|
8903
|
+
{
|
|
8904
|
+
"path": "online",
|
|
8905
|
+
"valueType": "boolean"
|
|
8906
|
+
},
|
|
8907
|
+
{
|
|
8908
|
+
"path": "slotStatuses.high",
|
|
8909
|
+
"valueType": "enum",
|
|
8910
|
+
"enumValues": [
|
|
8911
|
+
"unassigned",
|
|
8912
|
+
"idle",
|
|
8913
|
+
"connecting",
|
|
8914
|
+
"streaming",
|
|
8915
|
+
"error"
|
|
8916
|
+
]
|
|
8917
|
+
},
|
|
8918
|
+
{
|
|
8919
|
+
"path": "slotStatuses.mid",
|
|
8920
|
+
"valueType": "enum",
|
|
8921
|
+
"enumValues": [
|
|
8922
|
+
"unassigned",
|
|
8923
|
+
"idle",
|
|
8924
|
+
"connecting",
|
|
8925
|
+
"streaming",
|
|
8926
|
+
"error"
|
|
8927
|
+
]
|
|
8928
|
+
},
|
|
8929
|
+
{
|
|
8930
|
+
"path": "slotStatuses.low",
|
|
8931
|
+
"valueType": "enum",
|
|
8932
|
+
"enumValues": [
|
|
8933
|
+
"unassigned",
|
|
8934
|
+
"idle",
|
|
8935
|
+
"connecting",
|
|
8936
|
+
"streaming",
|
|
8937
|
+
"error"
|
|
8938
|
+
]
|
|
8939
|
+
},
|
|
8940
|
+
{
|
|
8941
|
+
"path": "slotErrors.high",
|
|
8942
|
+
"valueType": "string"
|
|
8943
|
+
},
|
|
8944
|
+
{
|
|
8945
|
+
"path": "slotErrors.mid",
|
|
8946
|
+
"valueType": "string"
|
|
8947
|
+
},
|
|
8948
|
+
{
|
|
8949
|
+
"path": "slotErrors.low",
|
|
8950
|
+
"valueType": "string"
|
|
8951
|
+
}
|
|
8952
|
+
],
|
|
8953
|
+
"carbon-monoxide": [{
|
|
8954
|
+
"path": "detected",
|
|
8955
|
+
"valueType": "boolean"
|
|
8956
|
+
}],
|
|
8957
|
+
"climate-control": [
|
|
8958
|
+
{
|
|
8959
|
+
"path": "mode",
|
|
8960
|
+
"valueType": "enum",
|
|
8961
|
+
"enumValues": [
|
|
8962
|
+
"off",
|
|
8963
|
+
"heat",
|
|
8964
|
+
"cool",
|
|
8965
|
+
"auto",
|
|
8966
|
+
"heat_cool",
|
|
8967
|
+
"fan_only",
|
|
8968
|
+
"dry"
|
|
8969
|
+
]
|
|
8970
|
+
},
|
|
8971
|
+
{
|
|
8972
|
+
"path": "fanMode",
|
|
8973
|
+
"valueType": "string"
|
|
8974
|
+
},
|
|
8975
|
+
{
|
|
8976
|
+
"path": "preset",
|
|
8977
|
+
"valueType": "string"
|
|
8978
|
+
},
|
|
8979
|
+
{
|
|
8980
|
+
"path": "target",
|
|
8981
|
+
"valueType": "number"
|
|
8982
|
+
},
|
|
8983
|
+
{
|
|
8984
|
+
"path": "targetHigh",
|
|
8985
|
+
"valueType": "number"
|
|
8986
|
+
},
|
|
8987
|
+
{
|
|
8988
|
+
"path": "targetLow",
|
|
8989
|
+
"valueType": "number"
|
|
8990
|
+
},
|
|
8991
|
+
{
|
|
8992
|
+
"path": "targetHumidity",
|
|
8993
|
+
"valueType": "number"
|
|
8994
|
+
},
|
|
8995
|
+
{
|
|
8996
|
+
"path": "currentTemp",
|
|
8997
|
+
"valueType": "number"
|
|
8998
|
+
},
|
|
8999
|
+
{
|
|
9000
|
+
"path": "currentHumidity",
|
|
9001
|
+
"valueType": "number"
|
|
9002
|
+
},
|
|
9003
|
+
{
|
|
9004
|
+
"path": "swingVertical",
|
|
9005
|
+
"valueType": "boolean"
|
|
9006
|
+
},
|
|
9007
|
+
{
|
|
9008
|
+
"path": "swingHorizontal",
|
|
9009
|
+
"valueType": "boolean"
|
|
9010
|
+
},
|
|
9011
|
+
{
|
|
9012
|
+
"path": "minTemp",
|
|
9013
|
+
"valueType": "number"
|
|
9014
|
+
},
|
|
9015
|
+
{
|
|
9016
|
+
"path": "maxTemp",
|
|
9017
|
+
"valueType": "number"
|
|
9018
|
+
},
|
|
9019
|
+
{
|
|
9020
|
+
"path": "tempStep",
|
|
9021
|
+
"valueType": "number"
|
|
9022
|
+
}
|
|
9023
|
+
],
|
|
9024
|
+
"color": [
|
|
9025
|
+
{
|
|
9026
|
+
"path": "mode",
|
|
9027
|
+
"valueType": "enum",
|
|
9028
|
+
"enumValues": [
|
|
9029
|
+
"rgb",
|
|
9030
|
+
"hsv",
|
|
9031
|
+
"mired"
|
|
9032
|
+
]
|
|
9033
|
+
},
|
|
9034
|
+
{
|
|
9035
|
+
"path": "rgb.r",
|
|
9036
|
+
"valueType": "number"
|
|
9037
|
+
},
|
|
9038
|
+
{
|
|
9039
|
+
"path": "rgb.g",
|
|
9040
|
+
"valueType": "number"
|
|
9041
|
+
},
|
|
9042
|
+
{
|
|
9043
|
+
"path": "rgb.b",
|
|
9044
|
+
"valueType": "number"
|
|
9045
|
+
},
|
|
9046
|
+
{
|
|
9047
|
+
"path": "hsv.h",
|
|
9048
|
+
"valueType": "number"
|
|
9049
|
+
},
|
|
9050
|
+
{
|
|
9051
|
+
"path": "hsv.s",
|
|
9052
|
+
"valueType": "number"
|
|
9053
|
+
},
|
|
9054
|
+
{
|
|
9055
|
+
"path": "hsv.v",
|
|
9056
|
+
"valueType": "number"
|
|
9057
|
+
},
|
|
9058
|
+
{
|
|
9059
|
+
"path": "mireds",
|
|
9060
|
+
"valueType": "number"
|
|
9061
|
+
}
|
|
9062
|
+
],
|
|
9063
|
+
"connectivity": [{
|
|
9064
|
+
"path": "connected",
|
|
9065
|
+
"valueType": "boolean"
|
|
9066
|
+
}],
|
|
9067
|
+
"contact": [{
|
|
9068
|
+
"path": "entryOpen",
|
|
9069
|
+
"valueType": "boolean"
|
|
9070
|
+
}],
|
|
9071
|
+
"control": [
|
|
9072
|
+
{
|
|
9073
|
+
"path": "kind",
|
|
9074
|
+
"valueType": "enum",
|
|
9075
|
+
"enumValues": [
|
|
9076
|
+
"numeric",
|
|
9077
|
+
"select",
|
|
9078
|
+
"text",
|
|
9079
|
+
"datetime"
|
|
9080
|
+
]
|
|
9081
|
+
},
|
|
9082
|
+
{
|
|
9083
|
+
"path": "unit",
|
|
9084
|
+
"valueType": "string"
|
|
9085
|
+
},
|
|
9086
|
+
{
|
|
9087
|
+
"path": "min",
|
|
9088
|
+
"valueType": "number"
|
|
9089
|
+
},
|
|
9090
|
+
{
|
|
9091
|
+
"path": "max",
|
|
9092
|
+
"valueType": "number"
|
|
9093
|
+
},
|
|
9094
|
+
{
|
|
9095
|
+
"path": "step",
|
|
9096
|
+
"valueType": "number"
|
|
9097
|
+
},
|
|
9098
|
+
{
|
|
9099
|
+
"path": "precision",
|
|
9100
|
+
"valueType": "number"
|
|
9101
|
+
},
|
|
9102
|
+
{
|
|
9103
|
+
"path": "format",
|
|
9104
|
+
"valueType": "enum",
|
|
9105
|
+
"enumValues": [
|
|
9106
|
+
"date",
|
|
9107
|
+
"time",
|
|
9108
|
+
"datetime"
|
|
9109
|
+
]
|
|
9110
|
+
}
|
|
9111
|
+
],
|
|
9112
|
+
"cover": [
|
|
9113
|
+
{
|
|
9114
|
+
"path": "state",
|
|
9115
|
+
"valueType": "enum",
|
|
9116
|
+
"enumValues": [
|
|
9117
|
+
"open",
|
|
9118
|
+
"opening",
|
|
9119
|
+
"closing",
|
|
9120
|
+
"closed",
|
|
9121
|
+
"stopped"
|
|
9122
|
+
]
|
|
9123
|
+
},
|
|
9124
|
+
{
|
|
9125
|
+
"path": "position",
|
|
9126
|
+
"valueType": "number"
|
|
9127
|
+
},
|
|
9128
|
+
{
|
|
9129
|
+
"path": "tiltPosition",
|
|
9130
|
+
"valueType": "number"
|
|
9131
|
+
}
|
|
9132
|
+
],
|
|
9133
|
+
"day-night": [
|
|
9134
|
+
{
|
|
9135
|
+
"path": "mode",
|
|
9136
|
+
"valueType": "enum",
|
|
9137
|
+
"enumValues": [
|
|
9138
|
+
"auto",
|
|
9139
|
+
"day",
|
|
9140
|
+
"night",
|
|
9141
|
+
"schedule"
|
|
9142
|
+
]
|
|
9143
|
+
},
|
|
9144
|
+
{
|
|
9145
|
+
"path": "sensitivity",
|
|
9146
|
+
"valueType": "number"
|
|
9147
|
+
},
|
|
9148
|
+
{
|
|
9149
|
+
"path": "switchDelaySec",
|
|
9150
|
+
"valueType": "number"
|
|
9151
|
+
}
|
|
9152
|
+
],
|
|
9153
|
+
"device-adoption": [
|
|
9154
|
+
{
|
|
9155
|
+
"path": "lastDiscoveryAt",
|
|
9156
|
+
"valueType": "number"
|
|
9157
|
+
},
|
|
9158
|
+
{
|
|
9159
|
+
"path": "candidateCount",
|
|
9160
|
+
"valueType": "number"
|
|
9161
|
+
},
|
|
9162
|
+
{
|
|
9163
|
+
"path": "adoptedCount",
|
|
9164
|
+
"valueType": "number"
|
|
9165
|
+
},
|
|
9166
|
+
{
|
|
9167
|
+
"path": "lastError",
|
|
9168
|
+
"valueType": "string"
|
|
9169
|
+
}
|
|
9170
|
+
],
|
|
9171
|
+
"device-discovery": [{
|
|
9172
|
+
"path": "lastDiscoveryAt",
|
|
9173
|
+
"valueType": "number"
|
|
9174
|
+
}, {
|
|
9175
|
+
"path": "lastError",
|
|
9176
|
+
"valueType": "string"
|
|
9177
|
+
}],
|
|
9178
|
+
"device-export": [
|
|
9179
|
+
{
|
|
9180
|
+
"path": "linkState",
|
|
9181
|
+
"valueType": "enum",
|
|
9182
|
+
"enumValues": [
|
|
9183
|
+
"unlinked",
|
|
9184
|
+
"linked",
|
|
9185
|
+
"error"
|
|
9186
|
+
]
|
|
9187
|
+
},
|
|
9188
|
+
{
|
|
9189
|
+
"path": "exposedDeviceCount",
|
|
9190
|
+
"valueType": "number"
|
|
9191
|
+
},
|
|
9192
|
+
{
|
|
9193
|
+
"path": "error",
|
|
9194
|
+
"valueType": "string"
|
|
9195
|
+
},
|
|
9196
|
+
{
|
|
9197
|
+
"path": "setup.qr",
|
|
9198
|
+
"valueType": "string"
|
|
9199
|
+
},
|
|
9200
|
+
{
|
|
9201
|
+
"path": "setup.note",
|
|
9202
|
+
"valueType": "string"
|
|
9203
|
+
}
|
|
9204
|
+
],
|
|
9205
|
+
"device-status": [{
|
|
9206
|
+
"path": "online",
|
|
9207
|
+
"valueType": "boolean"
|
|
9208
|
+
}],
|
|
9209
|
+
"dishwasher": [
|
|
9210
|
+
{
|
|
9211
|
+
"path": "availability",
|
|
9212
|
+
"valueType": "enum",
|
|
9213
|
+
"enumValues": [
|
|
9214
|
+
"available",
|
|
9215
|
+
"offline",
|
|
9216
|
+
"description-missing"
|
|
9217
|
+
]
|
|
9218
|
+
},
|
|
9219
|
+
{
|
|
9220
|
+
"path": "state",
|
|
9221
|
+
"valueType": "enum",
|
|
9222
|
+
"enumValues": [
|
|
9223
|
+
"idle",
|
|
9224
|
+
"running",
|
|
9225
|
+
"paused",
|
|
9226
|
+
"finished",
|
|
9227
|
+
"error",
|
|
9228
|
+
"unavailable"
|
|
9229
|
+
]
|
|
9230
|
+
},
|
|
9231
|
+
{
|
|
9232
|
+
"path": "operationState",
|
|
9233
|
+
"valueType": "enum",
|
|
9234
|
+
"enumValues": [
|
|
9235
|
+
"Inactive",
|
|
9236
|
+
"Ready",
|
|
9237
|
+
"DelayedStart",
|
|
9238
|
+
"Run",
|
|
9239
|
+
"Pause",
|
|
9240
|
+
"ActionRequired",
|
|
9241
|
+
"Finished",
|
|
9242
|
+
"Error",
|
|
9243
|
+
"Aborting"
|
|
9244
|
+
]
|
|
9245
|
+
},
|
|
9246
|
+
{
|
|
9247
|
+
"path": "program",
|
|
9248
|
+
"valueType": "string"
|
|
9249
|
+
},
|
|
9250
|
+
{
|
|
9251
|
+
"path": "selectedProgram",
|
|
9252
|
+
"valueType": "string"
|
|
9253
|
+
},
|
|
9254
|
+
{
|
|
9255
|
+
"path": "remainingSeconds",
|
|
9256
|
+
"valueType": "number"
|
|
9257
|
+
},
|
|
9258
|
+
{
|
|
9259
|
+
"path": "delayedStartSeconds",
|
|
9260
|
+
"valueType": "number"
|
|
9261
|
+
},
|
|
9262
|
+
{
|
|
9263
|
+
"path": "progressPercent",
|
|
9264
|
+
"valueType": "number"
|
|
9265
|
+
},
|
|
9266
|
+
{
|
|
9267
|
+
"path": "doorOpen",
|
|
9268
|
+
"valueType": "boolean"
|
|
9269
|
+
},
|
|
9270
|
+
{
|
|
9271
|
+
"path": "doorLocked",
|
|
9272
|
+
"valueType": "boolean"
|
|
9273
|
+
},
|
|
9274
|
+
{
|
|
9275
|
+
"path": "remoteStartAllowed",
|
|
9276
|
+
"valueType": "boolean"
|
|
9277
|
+
},
|
|
9278
|
+
{
|
|
9279
|
+
"path": "remoteControlActive",
|
|
9280
|
+
"valueType": "boolean"
|
|
9281
|
+
},
|
|
9282
|
+
{
|
|
9283
|
+
"path": "localControlActive",
|
|
9284
|
+
"valueType": "boolean"
|
|
9285
|
+
},
|
|
9286
|
+
{
|
|
9287
|
+
"path": "powerOn",
|
|
9288
|
+
"valueType": "boolean"
|
|
9289
|
+
},
|
|
9290
|
+
{
|
|
9291
|
+
"path": "powerState",
|
|
9292
|
+
"valueType": "string"
|
|
9293
|
+
},
|
|
9294
|
+
{
|
|
9295
|
+
"path": "filterCleaningDue",
|
|
9296
|
+
"valueType": "boolean"
|
|
9297
|
+
},
|
|
9298
|
+
{
|
|
9299
|
+
"path": "machineCareDue",
|
|
9300
|
+
"valueType": "boolean"
|
|
9301
|
+
},
|
|
9302
|
+
{
|
|
9303
|
+
"path": "machineCareRemainingRuns",
|
|
9304
|
+
"valueType": "number"
|
|
9305
|
+
},
|
|
9306
|
+
{
|
|
9307
|
+
"path": "halfLoad",
|
|
9308
|
+
"valueType": "boolean"
|
|
9309
|
+
},
|
|
9310
|
+
{
|
|
9311
|
+
"path": "hygienePlus",
|
|
9312
|
+
"valueType": "boolean"
|
|
9313
|
+
},
|
|
9314
|
+
{
|
|
9315
|
+
"path": "extraDry",
|
|
9316
|
+
"valueType": "boolean"
|
|
9317
|
+
},
|
|
9318
|
+
{
|
|
9319
|
+
"path": "intensiveZone",
|
|
9320
|
+
"valueType": "boolean"
|
|
9321
|
+
},
|
|
9322
|
+
{
|
|
9323
|
+
"path": "varioSpeedPlus",
|
|
9324
|
+
"valueType": "boolean"
|
|
9325
|
+
},
|
|
9326
|
+
{
|
|
9327
|
+
"path": "childLock",
|
|
9328
|
+
"valueType": "boolean"
|
|
9329
|
+
},
|
|
9330
|
+
{
|
|
9331
|
+
"path": "errorCode",
|
|
9332
|
+
"valueType": "number"
|
|
9333
|
+
},
|
|
9334
|
+
{
|
|
9335
|
+
"path": "errorLabel",
|
|
9336
|
+
"valueType": "string"
|
|
9337
|
+
}
|
|
9338
|
+
],
|
|
9339
|
+
"doorbell": [{
|
|
9340
|
+
"path": "lastPressedAt",
|
|
9341
|
+
"valueType": "number"
|
|
9342
|
+
}, {
|
|
9343
|
+
"path": "pressCountSinceStart",
|
|
9344
|
+
"valueType": "number"
|
|
9345
|
+
}],
|
|
9346
|
+
"enum-sensor": [{
|
|
9347
|
+
"path": "value",
|
|
9348
|
+
"valueType": "string"
|
|
9349
|
+
}, {
|
|
9350
|
+
"path": "format",
|
|
9351
|
+
"valueType": "enum",
|
|
9352
|
+
"enumValues": [
|
|
9353
|
+
"date",
|
|
9354
|
+
"time",
|
|
9355
|
+
"datetime"
|
|
9356
|
+
]
|
|
9357
|
+
}],
|
|
9358
|
+
"event-emitter": [
|
|
9359
|
+
{
|
|
9360
|
+
"path": "lastEvent.deviceId",
|
|
9361
|
+
"valueType": "number"
|
|
9362
|
+
},
|
|
9363
|
+
{
|
|
9364
|
+
"path": "lastEvent.eventType",
|
|
9365
|
+
"valueType": "string"
|
|
9366
|
+
},
|
|
9367
|
+
{
|
|
9368
|
+
"path": "lastEvent.timestamp",
|
|
9369
|
+
"valueType": "number"
|
|
9370
|
+
},
|
|
9371
|
+
{
|
|
9372
|
+
"path": "lastEvent.seq",
|
|
9373
|
+
"valueType": "number"
|
|
9374
|
+
},
|
|
9375
|
+
{
|
|
9376
|
+
"path": "eventCountSinceStart",
|
|
9377
|
+
"valueType": "number"
|
|
9378
|
+
}
|
|
9379
|
+
],
|
|
9380
|
+
"fan-control": [
|
|
9381
|
+
{
|
|
9382
|
+
"path": "percentage",
|
|
9383
|
+
"valueType": "number"
|
|
9384
|
+
},
|
|
9385
|
+
{
|
|
9386
|
+
"path": "percentageStep",
|
|
9387
|
+
"valueType": "number"
|
|
9388
|
+
},
|
|
9389
|
+
{
|
|
9390
|
+
"path": "preset",
|
|
9391
|
+
"valueType": "string"
|
|
9392
|
+
},
|
|
9393
|
+
{
|
|
9394
|
+
"path": "direction",
|
|
9395
|
+
"valueType": "enum",
|
|
9396
|
+
"enumValues": ["forward", "reverse"]
|
|
9397
|
+
},
|
|
9398
|
+
{
|
|
9399
|
+
"path": "oscillating",
|
|
9400
|
+
"valueType": "boolean"
|
|
9401
|
+
}
|
|
9402
|
+
],
|
|
9403
|
+
"feature-probe": [
|
|
9404
|
+
{
|
|
9405
|
+
"path": "deviceType",
|
|
9406
|
+
"valueType": "string"
|
|
9407
|
+
},
|
|
9408
|
+
{
|
|
9409
|
+
"path": "model",
|
|
9410
|
+
"valueType": "string"
|
|
9411
|
+
},
|
|
9412
|
+
{
|
|
9413
|
+
"path": "channelCount",
|
|
9414
|
+
"valueType": "number"
|
|
9415
|
+
},
|
|
9416
|
+
{
|
|
9417
|
+
"path": "lastProbedAt",
|
|
9418
|
+
"valueType": "number"
|
|
9419
|
+
}
|
|
9420
|
+
],
|
|
9421
|
+
"flood": [{
|
|
9422
|
+
"path": "flooded",
|
|
9423
|
+
"valueType": "boolean"
|
|
9424
|
+
}],
|
|
9425
|
+
"gas": [{
|
|
9426
|
+
"path": "detected",
|
|
9427
|
+
"valueType": "boolean"
|
|
9428
|
+
}],
|
|
9429
|
+
"heating-valve": [{
|
|
9430
|
+
"path": "position",
|
|
9431
|
+
"valueType": "number"
|
|
9432
|
+
}],
|
|
9433
|
+
"humidifier": [
|
|
9434
|
+
{
|
|
9435
|
+
"path": "on",
|
|
9436
|
+
"valueType": "boolean"
|
|
9437
|
+
},
|
|
9438
|
+
{
|
|
9439
|
+
"path": "currentHumidity",
|
|
9440
|
+
"valueType": "number"
|
|
9441
|
+
},
|
|
9442
|
+
{
|
|
9443
|
+
"path": "targetHumidity",
|
|
9444
|
+
"valueType": "number"
|
|
9445
|
+
},
|
|
9446
|
+
{
|
|
9447
|
+
"path": "mode",
|
|
9448
|
+
"valueType": "string"
|
|
9449
|
+
},
|
|
9450
|
+
{
|
|
9451
|
+
"path": "action",
|
|
9452
|
+
"valueType": "string"
|
|
9453
|
+
},
|
|
9454
|
+
{
|
|
9455
|
+
"path": "minHumidity",
|
|
9456
|
+
"valueType": "number"
|
|
9457
|
+
},
|
|
9458
|
+
{
|
|
9459
|
+
"path": "maxHumidity",
|
|
9460
|
+
"valueType": "number"
|
|
9461
|
+
}
|
|
9462
|
+
],
|
|
9463
|
+
"humidity-sensor": [
|
|
9464
|
+
{
|
|
9465
|
+
"path": "percent",
|
|
9466
|
+
"valueType": "number"
|
|
9467
|
+
},
|
|
9468
|
+
{
|
|
9469
|
+
"path": "unit",
|
|
9470
|
+
"valueType": "string"
|
|
9471
|
+
},
|
|
9472
|
+
{
|
|
9473
|
+
"path": "precision",
|
|
9474
|
+
"valueType": "number"
|
|
9475
|
+
}
|
|
9476
|
+
],
|
|
9477
|
+
"image": [{
|
|
9478
|
+
"path": "url",
|
|
9479
|
+
"valueType": "string"
|
|
9480
|
+
}, {
|
|
9481
|
+
"path": "lastUpdated",
|
|
9482
|
+
"valueType": "number"
|
|
9483
|
+
}],
|
|
9484
|
+
"image-settings": [
|
|
9485
|
+
{
|
|
9486
|
+
"path": "brightness",
|
|
9487
|
+
"valueType": "number"
|
|
9488
|
+
},
|
|
9489
|
+
{
|
|
9490
|
+
"path": "contrast",
|
|
9491
|
+
"valueType": "number"
|
|
9492
|
+
},
|
|
9493
|
+
{
|
|
9494
|
+
"path": "saturation",
|
|
9495
|
+
"valueType": "number"
|
|
9496
|
+
},
|
|
9497
|
+
{
|
|
9498
|
+
"path": "sharpness",
|
|
9499
|
+
"valueType": "number"
|
|
9500
|
+
},
|
|
9501
|
+
{
|
|
9502
|
+
"path": "mirror",
|
|
9503
|
+
"valueType": "boolean"
|
|
9504
|
+
},
|
|
9505
|
+
{
|
|
9506
|
+
"path": "flip",
|
|
9507
|
+
"valueType": "boolean"
|
|
9508
|
+
},
|
|
9509
|
+
{
|
|
9510
|
+
"path": "rotate",
|
|
9511
|
+
"valueType": "enum",
|
|
9512
|
+
"enumValues": [
|
|
9513
|
+
"0",
|
|
9514
|
+
"90",
|
|
9515
|
+
"180",
|
|
9516
|
+
"270"
|
|
9517
|
+
]
|
|
9518
|
+
},
|
|
9519
|
+
{
|
|
9520
|
+
"path": "whiteBalance",
|
|
9521
|
+
"valueType": "enum",
|
|
9522
|
+
"enumValues": ["auto", "manual"]
|
|
9523
|
+
},
|
|
9524
|
+
{
|
|
9525
|
+
"path": "warmth",
|
|
9526
|
+
"valueType": "number"
|
|
9527
|
+
},
|
|
9528
|
+
{
|
|
9529
|
+
"path": "exposureMode",
|
|
9530
|
+
"valueType": "enum",
|
|
9531
|
+
"enumValues": ["auto", "manual"]
|
|
9532
|
+
},
|
|
9533
|
+
{
|
|
9534
|
+
"path": "backlightMode",
|
|
9535
|
+
"valueType": "enum",
|
|
9536
|
+
"enumValues": [
|
|
9537
|
+
"off",
|
|
9538
|
+
"blc",
|
|
9539
|
+
"wdr",
|
|
9540
|
+
"hlc"
|
|
9541
|
+
]
|
|
9542
|
+
}
|
|
9543
|
+
],
|
|
9544
|
+
"intercom": [
|
|
9545
|
+
{
|
|
9546
|
+
"path": "talking",
|
|
9547
|
+
"valueType": "boolean"
|
|
9548
|
+
},
|
|
9549
|
+
{
|
|
9550
|
+
"path": "lastSessionAt",
|
|
9551
|
+
"valueType": "number"
|
|
9552
|
+
},
|
|
9553
|
+
{
|
|
9554
|
+
"path": "ability.sampleRate",
|
|
9555
|
+
"valueType": "number"
|
|
9556
|
+
},
|
|
9557
|
+
{
|
|
9558
|
+
"path": "ability.duplex",
|
|
9559
|
+
"valueType": "enum",
|
|
9560
|
+
"enumValues": ["half", "full"]
|
|
9561
|
+
},
|
|
9562
|
+
{
|
|
9563
|
+
"path": "ability.maxBacklogMs",
|
|
9564
|
+
"valueType": "number"
|
|
9565
|
+
}
|
|
9566
|
+
],
|
|
9567
|
+
"lawn-mower-control": [
|
|
9568
|
+
{
|
|
9569
|
+
"path": "activity",
|
|
9570
|
+
"valueType": "enum",
|
|
9571
|
+
"enumValues": [
|
|
9572
|
+
"idle",
|
|
9573
|
+
"mowing",
|
|
9574
|
+
"paused",
|
|
9575
|
+
"docked",
|
|
9576
|
+
"error"
|
|
9577
|
+
]
|
|
9578
|
+
},
|
|
9579
|
+
{
|
|
9580
|
+
"path": "batteryLevel",
|
|
9581
|
+
"valueType": "number"
|
|
9582
|
+
},
|
|
9583
|
+
{
|
|
9584
|
+
"path": "progressPercent",
|
|
9585
|
+
"valueType": "number"
|
|
9586
|
+
},
|
|
9587
|
+
{
|
|
9588
|
+
"path": "currentCode",
|
|
9589
|
+
"valueType": "number"
|
|
9590
|
+
},
|
|
9591
|
+
{
|
|
9592
|
+
"path": "currentCodeLabel",
|
|
9593
|
+
"valueType": "string"
|
|
9594
|
+
},
|
|
9595
|
+
{
|
|
9596
|
+
"path": "severity",
|
|
9597
|
+
"valueType": "enum",
|
|
9598
|
+
"enumValues": [
|
|
9599
|
+
"info",
|
|
9600
|
+
"warning",
|
|
9601
|
+
"error"
|
|
9602
|
+
]
|
|
9603
|
+
}
|
|
9604
|
+
],
|
|
9605
|
+
"lock-control": [{
|
|
9606
|
+
"path": "state",
|
|
9607
|
+
"valueType": "enum",
|
|
9608
|
+
"enumValues": [
|
|
9609
|
+
"locked",
|
|
9610
|
+
"unlocked",
|
|
9611
|
+
"locking",
|
|
9612
|
+
"unlocking",
|
|
9613
|
+
"jammed"
|
|
9614
|
+
]
|
|
9615
|
+
}],
|
|
9616
|
+
"media-player": [
|
|
9617
|
+
{
|
|
9618
|
+
"path": "state",
|
|
9619
|
+
"valueType": "enum",
|
|
9620
|
+
"enumValues": [
|
|
9621
|
+
"off",
|
|
9622
|
+
"on",
|
|
9623
|
+
"idle",
|
|
9624
|
+
"playing",
|
|
9625
|
+
"paused",
|
|
9626
|
+
"buffering",
|
|
9627
|
+
"standby"
|
|
9628
|
+
]
|
|
9629
|
+
},
|
|
9630
|
+
{
|
|
9631
|
+
"path": "volumeLevel",
|
|
9632
|
+
"valueType": "number"
|
|
9633
|
+
},
|
|
9634
|
+
{
|
|
9635
|
+
"path": "isMuted",
|
|
9636
|
+
"valueType": "boolean"
|
|
9637
|
+
},
|
|
9638
|
+
{
|
|
9639
|
+
"path": "source",
|
|
9640
|
+
"valueType": "string"
|
|
9641
|
+
},
|
|
9642
|
+
{
|
|
9643
|
+
"path": "currentMedia.type",
|
|
9644
|
+
"valueType": "string"
|
|
9645
|
+
},
|
|
9646
|
+
{
|
|
9647
|
+
"path": "currentMedia.title",
|
|
9648
|
+
"valueType": "string"
|
|
9649
|
+
},
|
|
9650
|
+
{
|
|
9651
|
+
"path": "currentMedia.artist",
|
|
9652
|
+
"valueType": "string"
|
|
9653
|
+
},
|
|
9654
|
+
{
|
|
9655
|
+
"path": "currentMedia.album",
|
|
9656
|
+
"valueType": "string"
|
|
9657
|
+
},
|
|
9658
|
+
{
|
|
9659
|
+
"path": "currentMedia.imageUrl",
|
|
9660
|
+
"valueType": "string"
|
|
9661
|
+
},
|
|
9662
|
+
{
|
|
9663
|
+
"path": "positionMs",
|
|
9664
|
+
"valueType": "number"
|
|
9665
|
+
},
|
|
9666
|
+
{
|
|
9667
|
+
"path": "durationMs",
|
|
9668
|
+
"valueType": "number"
|
|
9669
|
+
},
|
|
9670
|
+
{
|
|
9671
|
+
"path": "shuffle",
|
|
9672
|
+
"valueType": "boolean"
|
|
9673
|
+
},
|
|
9674
|
+
{
|
|
9675
|
+
"path": "repeat",
|
|
9676
|
+
"valueType": "enum",
|
|
9677
|
+
"enumValues": [
|
|
9678
|
+
"off",
|
|
9679
|
+
"all",
|
|
9680
|
+
"one"
|
|
9681
|
+
]
|
|
9682
|
+
}
|
|
9683
|
+
],
|
|
9684
|
+
"motion": [
|
|
9685
|
+
{
|
|
9686
|
+
"path": "detected",
|
|
9687
|
+
"valueType": "boolean"
|
|
9688
|
+
},
|
|
9689
|
+
{
|
|
9690
|
+
"path": "lastDetectedAt",
|
|
9691
|
+
"valueType": "number"
|
|
9692
|
+
},
|
|
9693
|
+
{
|
|
9694
|
+
"path": "autoClearAfterMs",
|
|
9695
|
+
"valueType": "number"
|
|
9696
|
+
}
|
|
9697
|
+
],
|
|
9698
|
+
"motion-trigger": [{
|
|
9699
|
+
"path": "enabled",
|
|
9700
|
+
"valueType": "boolean"
|
|
9701
|
+
}],
|
|
9702
|
+
"motion-zones": [{
|
|
9703
|
+
"path": "enabled",
|
|
9704
|
+
"valueType": "boolean"
|
|
9705
|
+
}, {
|
|
9706
|
+
"path": "sensitivity",
|
|
9707
|
+
"valueType": "number"
|
|
9708
|
+
}],
|
|
9709
|
+
"mqtt-broker": [{
|
|
9710
|
+
"path": "brokerCount",
|
|
9711
|
+
"valueType": "number"
|
|
9712
|
+
}, {
|
|
9713
|
+
"path": "embeddedRunning",
|
|
9714
|
+
"valueType": "boolean"
|
|
9715
|
+
}],
|
|
9716
|
+
"native-object-detection": [{
|
|
9717
|
+
"path": "enabled",
|
|
9718
|
+
"valueType": "boolean"
|
|
9719
|
+
}],
|
|
9720
|
+
"navigation": [
|
|
9721
|
+
{
|
|
9722
|
+
"path": "mode",
|
|
9723
|
+
"valueType": "enum",
|
|
9724
|
+
"enumValues": [
|
|
9725
|
+
"idle",
|
|
9726
|
+
"cleaning",
|
|
9727
|
+
"spot",
|
|
9728
|
+
"following",
|
|
9729
|
+
"goto",
|
|
9730
|
+
"returning",
|
|
9731
|
+
"paused",
|
|
9732
|
+
"unknown"
|
|
9733
|
+
]
|
|
9734
|
+
},
|
|
9735
|
+
{
|
|
9736
|
+
"path": "following",
|
|
9737
|
+
"valueType": "boolean"
|
|
9738
|
+
},
|
|
9739
|
+
{
|
|
9740
|
+
"path": "flash",
|
|
9741
|
+
"valueType": "boolean"
|
|
9742
|
+
},
|
|
9743
|
+
{
|
|
9744
|
+
"path": "lightMode",
|
|
9745
|
+
"valueType": "enum",
|
|
9746
|
+
"enumValues": ["auto", "manual"]
|
|
9747
|
+
},
|
|
9748
|
+
{
|
|
9749
|
+
"path": "lightLevel",
|
|
9750
|
+
"valueType": "number"
|
|
9751
|
+
}
|
|
9752
|
+
],
|
|
9753
|
+
"network-link": [
|
|
9754
|
+
{
|
|
9755
|
+
"path": "type",
|
|
9756
|
+
"valueType": "enum",
|
|
9757
|
+
"enumValues": [
|
|
9758
|
+
"wifi",
|
|
9759
|
+
"ethernet",
|
|
9760
|
+
"cellular",
|
|
9761
|
+
"unknown"
|
|
9762
|
+
]
|
|
9763
|
+
},
|
|
9764
|
+
{
|
|
9765
|
+
"path": "signalPercent",
|
|
9766
|
+
"valueType": "number"
|
|
9767
|
+
},
|
|
9768
|
+
{
|
|
9769
|
+
"path": "rssiDbm",
|
|
9770
|
+
"valueType": "number"
|
|
9771
|
+
},
|
|
9772
|
+
{
|
|
9773
|
+
"path": "ssid",
|
|
9774
|
+
"valueType": "string"
|
|
9775
|
+
},
|
|
9776
|
+
{
|
|
9777
|
+
"path": "lastUpdated",
|
|
9778
|
+
"valueType": "number"
|
|
9779
|
+
}
|
|
9780
|
+
],
|
|
9781
|
+
"notifier": [
|
|
9782
|
+
{
|
|
9783
|
+
"path": "lastSentAt",
|
|
9784
|
+
"valueType": "number"
|
|
9785
|
+
},
|
|
9786
|
+
{
|
|
9787
|
+
"path": "lastError",
|
|
9788
|
+
"valueType": "string"
|
|
9789
|
+
},
|
|
9790
|
+
{
|
|
9791
|
+
"path": "queueDepth",
|
|
9792
|
+
"valueType": "number"
|
|
9793
|
+
},
|
|
9794
|
+
{
|
|
9795
|
+
"path": "supports.image",
|
|
9796
|
+
"valueType": "boolean"
|
|
9797
|
+
},
|
|
9798
|
+
{
|
|
9799
|
+
"path": "supports.priority",
|
|
9800
|
+
"valueType": "boolean"
|
|
9801
|
+
},
|
|
9802
|
+
{
|
|
9803
|
+
"path": "supports.data",
|
|
9804
|
+
"valueType": "boolean"
|
|
9805
|
+
},
|
|
9806
|
+
{
|
|
9807
|
+
"path": "supports.actions",
|
|
9808
|
+
"valueType": "boolean"
|
|
9809
|
+
},
|
|
9810
|
+
{
|
|
9811
|
+
"path": "supports.recipients",
|
|
9812
|
+
"valueType": "boolean"
|
|
9813
|
+
}
|
|
9814
|
+
],
|
|
9815
|
+
"numeric-sensor": [
|
|
9816
|
+
{
|
|
9817
|
+
"path": "value",
|
|
9818
|
+
"valueType": "number"
|
|
9819
|
+
},
|
|
9820
|
+
{
|
|
9821
|
+
"path": "unit",
|
|
9822
|
+
"valueType": "string"
|
|
9823
|
+
},
|
|
9824
|
+
{
|
|
9825
|
+
"path": "precision",
|
|
9826
|
+
"valueType": "number"
|
|
9827
|
+
}
|
|
9828
|
+
],
|
|
9829
|
+
"pet-feeder": [
|
|
9830
|
+
{
|
|
9831
|
+
"path": "foodLevel",
|
|
9832
|
+
"valueType": "number"
|
|
9833
|
+
},
|
|
9834
|
+
{
|
|
9835
|
+
"path": "food1",
|
|
9836
|
+
"valueType": "number"
|
|
9837
|
+
},
|
|
9838
|
+
{
|
|
9839
|
+
"path": "food2",
|
|
9840
|
+
"valueType": "number"
|
|
9841
|
+
},
|
|
9842
|
+
{
|
|
9843
|
+
"path": "lowFood",
|
|
9844
|
+
"valueType": "boolean"
|
|
9845
|
+
},
|
|
9846
|
+
{
|
|
9847
|
+
"path": "batteryPower",
|
|
9848
|
+
"valueType": "number"
|
|
9849
|
+
},
|
|
9850
|
+
{
|
|
9851
|
+
"path": "desiccantLeftDays",
|
|
9852
|
+
"valueType": "number"
|
|
9853
|
+
},
|
|
9854
|
+
{
|
|
9855
|
+
"path": "feeding",
|
|
9856
|
+
"valueType": "boolean"
|
|
9857
|
+
},
|
|
9858
|
+
{
|
|
9859
|
+
"path": "status",
|
|
9860
|
+
"valueType": "enum",
|
|
9861
|
+
"enumValues": [
|
|
9862
|
+
"normal",
|
|
9863
|
+
"offline",
|
|
9864
|
+
"on_batteries"
|
|
9865
|
+
]
|
|
9866
|
+
},
|
|
9867
|
+
{
|
|
9868
|
+
"path": "error",
|
|
9869
|
+
"valueType": "string"
|
|
9870
|
+
},
|
|
9871
|
+
{
|
|
9872
|
+
"path": "errorCode",
|
|
9873
|
+
"valueType": "number"
|
|
9874
|
+
},
|
|
9875
|
+
{
|
|
9876
|
+
"path": "isDualHopper",
|
|
9877
|
+
"valueType": "boolean"
|
|
9878
|
+
},
|
|
9879
|
+
{
|
|
9880
|
+
"path": "childLock",
|
|
9881
|
+
"valueType": "boolean"
|
|
9882
|
+
},
|
|
9883
|
+
{
|
|
9884
|
+
"path": "indicatorLight",
|
|
9885
|
+
"valueType": "boolean"
|
|
9886
|
+
},
|
|
9887
|
+
{
|
|
9888
|
+
"path": "feedSound",
|
|
9889
|
+
"valueType": "boolean"
|
|
9890
|
+
},
|
|
9891
|
+
{
|
|
9892
|
+
"path": "volume",
|
|
9893
|
+
"valueType": "number"
|
|
9894
|
+
}
|
|
9895
|
+
],
|
|
9896
|
+
"power-meter": [
|
|
9897
|
+
{
|
|
9898
|
+
"path": "watts",
|
|
9899
|
+
"valueType": "number"
|
|
9900
|
+
},
|
|
9901
|
+
{
|
|
9902
|
+
"path": "kwhTotal",
|
|
9903
|
+
"valueType": "number"
|
|
9904
|
+
},
|
|
9905
|
+
{
|
|
9906
|
+
"path": "volts",
|
|
9907
|
+
"valueType": "number"
|
|
9908
|
+
},
|
|
9909
|
+
{
|
|
9910
|
+
"path": "amps",
|
|
9911
|
+
"valueType": "number"
|
|
9912
|
+
},
|
|
9913
|
+
{
|
|
9914
|
+
"path": "va",
|
|
9915
|
+
"valueType": "number"
|
|
9916
|
+
},
|
|
9917
|
+
{
|
|
9918
|
+
"path": "powerFactor",
|
|
9919
|
+
"valueType": "number"
|
|
9920
|
+
},
|
|
9921
|
+
{
|
|
9922
|
+
"path": "unit",
|
|
9923
|
+
"valueType": "string"
|
|
9924
|
+
},
|
|
9925
|
+
{
|
|
9926
|
+
"path": "precision",
|
|
9927
|
+
"valueType": "number"
|
|
9928
|
+
}
|
|
9929
|
+
],
|
|
9930
|
+
"presence": [
|
|
9931
|
+
{
|
|
9932
|
+
"path": "state",
|
|
9933
|
+
"valueType": "string"
|
|
9934
|
+
},
|
|
9935
|
+
{
|
|
9936
|
+
"path": "location",
|
|
9937
|
+
"valueType": "string"
|
|
9938
|
+
},
|
|
9939
|
+
{
|
|
9940
|
+
"path": "gps.latitude",
|
|
9941
|
+
"valueType": "number"
|
|
9942
|
+
},
|
|
9943
|
+
{
|
|
9944
|
+
"path": "gps.longitude",
|
|
9945
|
+
"valueType": "number"
|
|
9946
|
+
},
|
|
9947
|
+
{
|
|
9948
|
+
"path": "gps.accuracyMeters",
|
|
9949
|
+
"valueType": "number"
|
|
9950
|
+
},
|
|
9951
|
+
{
|
|
9952
|
+
"path": "batteryPercent",
|
|
9953
|
+
"valueType": "number"
|
|
9954
|
+
}
|
|
9955
|
+
],
|
|
9956
|
+
"pressure-sensor": [
|
|
9957
|
+
{
|
|
9958
|
+
"path": "hpa",
|
|
9959
|
+
"valueType": "number"
|
|
9960
|
+
},
|
|
9961
|
+
{
|
|
9962
|
+
"path": "unit",
|
|
9963
|
+
"valueType": "string"
|
|
9964
|
+
},
|
|
9965
|
+
{
|
|
9966
|
+
"path": "precision",
|
|
9967
|
+
"valueType": "number"
|
|
9968
|
+
}
|
|
9969
|
+
],
|
|
9970
|
+
"privacy-mask": [{
|
|
9971
|
+
"path": "enabled",
|
|
9972
|
+
"valueType": "boolean"
|
|
9973
|
+
}, {
|
|
9974
|
+
"path": "audioEnabled",
|
|
9975
|
+
"valueType": "boolean"
|
|
9976
|
+
}],
|
|
9977
|
+
"ptz": [
|
|
9978
|
+
{
|
|
9979
|
+
"path": "pan",
|
|
9980
|
+
"valueType": "number"
|
|
9981
|
+
},
|
|
9982
|
+
{
|
|
9983
|
+
"path": "tilt",
|
|
9984
|
+
"valueType": "number"
|
|
9985
|
+
},
|
|
9986
|
+
{
|
|
9987
|
+
"path": "zoom",
|
|
9988
|
+
"valueType": "number"
|
|
9989
|
+
},
|
|
9990
|
+
{
|
|
9991
|
+
"path": "autofocus",
|
|
9992
|
+
"valueType": "boolean"
|
|
9993
|
+
}
|
|
9994
|
+
],
|
|
9995
|
+
"ptz-autotrack": [
|
|
9996
|
+
{
|
|
9997
|
+
"path": "enabled",
|
|
9998
|
+
"valueType": "boolean"
|
|
9999
|
+
},
|
|
10000
|
+
{
|
|
10001
|
+
"path": "currentSettings.targetType",
|
|
10002
|
+
"valueType": "string"
|
|
10003
|
+
},
|
|
10004
|
+
{
|
|
10005
|
+
"path": "currentSettings.stopDelaySeconds",
|
|
10006
|
+
"valueType": "number"
|
|
10007
|
+
},
|
|
10008
|
+
{
|
|
10009
|
+
"path": "currentSettings.disappearDelaySeconds",
|
|
10010
|
+
"valueType": "number"
|
|
10011
|
+
}
|
|
10012
|
+
],
|
|
10013
|
+
"recording-archive": [
|
|
10014
|
+
{
|
|
10015
|
+
"path": "deviceId",
|
|
10016
|
+
"valueType": "number"
|
|
10017
|
+
},
|
|
10018
|
+
{
|
|
10019
|
+
"path": "enabled",
|
|
10020
|
+
"valueType": "boolean"
|
|
10021
|
+
},
|
|
10022
|
+
{
|
|
10023
|
+
"path": "activeMode",
|
|
10024
|
+
"valueType": "enum",
|
|
10025
|
+
"enumValues": [
|
|
10026
|
+
"off",
|
|
10027
|
+
"events",
|
|
10028
|
+
"continuous",
|
|
10029
|
+
"on-device-decision"
|
|
10030
|
+
]
|
|
10031
|
+
},
|
|
10032
|
+
{
|
|
10033
|
+
"path": "nodeId",
|
|
10034
|
+
"valueType": "string"
|
|
10035
|
+
},
|
|
10036
|
+
{
|
|
10037
|
+
"path": "storageBytes",
|
|
10038
|
+
"valueType": "number"
|
|
10039
|
+
}
|
|
10040
|
+
],
|
|
10041
|
+
"recording-onboard": [
|
|
10042
|
+
{
|
|
10043
|
+
"path": "primaryTrackId",
|
|
10044
|
+
"valueType": "string"
|
|
10045
|
+
},
|
|
10046
|
+
{
|
|
10047
|
+
"path": "enabled",
|
|
10048
|
+
"valueType": "boolean"
|
|
10049
|
+
},
|
|
10050
|
+
{
|
|
10051
|
+
"path": "overwriteWhenFull",
|
|
10052
|
+
"valueType": "boolean"
|
|
10053
|
+
},
|
|
10054
|
+
{
|
|
10055
|
+
"path": "preRecordSec",
|
|
10056
|
+
"valueType": "number"
|
|
10057
|
+
},
|
|
10058
|
+
{
|
|
10059
|
+
"path": "postRecordSec",
|
|
10060
|
+
"valueType": "number"
|
|
10061
|
+
},
|
|
10062
|
+
{
|
|
10063
|
+
"path": "segmentMinutes",
|
|
10064
|
+
"valueType": "number"
|
|
10065
|
+
},
|
|
10066
|
+
{
|
|
10067
|
+
"path": "unreadableWindows",
|
|
10068
|
+
"valueType": "number"
|
|
10069
|
+
},
|
|
10070
|
+
{
|
|
10071
|
+
"path": "recordingToNowhere",
|
|
10072
|
+
"valueType": "boolean"
|
|
10073
|
+
}
|
|
10074
|
+
],
|
|
10075
|
+
"recording-signal": [{
|
|
10076
|
+
"path": "active",
|
|
10077
|
+
"valueType": "boolean"
|
|
10078
|
+
}, {
|
|
10079
|
+
"path": "reason",
|
|
10080
|
+
"valueType": "string"
|
|
10081
|
+
}],
|
|
10082
|
+
"running-state": [
|
|
10083
|
+
{
|
|
10084
|
+
"path": "running",
|
|
10085
|
+
"valueType": "boolean"
|
|
10086
|
+
},
|
|
10087
|
+
{
|
|
10088
|
+
"path": "since",
|
|
10089
|
+
"valueType": "number"
|
|
10090
|
+
},
|
|
10091
|
+
{
|
|
10092
|
+
"path": "source",
|
|
10093
|
+
"valueType": "enum",
|
|
10094
|
+
"enumValues": ["native", "assigned"]
|
|
10095
|
+
},
|
|
10096
|
+
{
|
|
10097
|
+
"path": "phase",
|
|
10098
|
+
"valueType": "string"
|
|
10099
|
+
}
|
|
10100
|
+
],
|
|
10101
|
+
"script-runner": [
|
|
10102
|
+
{
|
|
10103
|
+
"path": "isRunning",
|
|
10104
|
+
"valueType": "boolean"
|
|
10105
|
+
},
|
|
10106
|
+
{
|
|
10107
|
+
"path": "lastRunAt",
|
|
10108
|
+
"valueType": "number"
|
|
10109
|
+
},
|
|
10110
|
+
{
|
|
10111
|
+
"path": "lastRunSuccess",
|
|
10112
|
+
"valueType": "boolean"
|
|
10113
|
+
},
|
|
10114
|
+
{
|
|
10115
|
+
"path": "lastError",
|
|
10116
|
+
"valueType": "string"
|
|
10117
|
+
}
|
|
10118
|
+
],
|
|
10119
|
+
"smoke": [{
|
|
10120
|
+
"path": "detected",
|
|
10121
|
+
"valueType": "boolean"
|
|
10122
|
+
}],
|
|
10123
|
+
"snapshot": [
|
|
10124
|
+
{
|
|
10125
|
+
"path": "lastCapturedAt",
|
|
10126
|
+
"valueType": "number"
|
|
10127
|
+
},
|
|
10128
|
+
{
|
|
10129
|
+
"path": "cacheAgeMs",
|
|
10130
|
+
"valueType": "number"
|
|
10131
|
+
},
|
|
10132
|
+
{
|
|
10133
|
+
"path": "lastBytes",
|
|
10134
|
+
"valueType": "number"
|
|
10135
|
+
},
|
|
10136
|
+
{
|
|
10137
|
+
"path": "lastStreamId",
|
|
10138
|
+
"valueType": "string"
|
|
10139
|
+
}
|
|
10140
|
+
],
|
|
10141
|
+
"stream-params": [
|
|
10142
|
+
{
|
|
10143
|
+
"path": "main.width",
|
|
10144
|
+
"valueType": "number"
|
|
10145
|
+
},
|
|
10146
|
+
{
|
|
10147
|
+
"path": "main.height",
|
|
10148
|
+
"valueType": "number"
|
|
10149
|
+
},
|
|
10150
|
+
{
|
|
10151
|
+
"path": "main.codec",
|
|
10152
|
+
"valueType": "enum",
|
|
10153
|
+
"enumValues": ["h264", "h265"]
|
|
10154
|
+
},
|
|
10155
|
+
{
|
|
10156
|
+
"path": "main.framerate",
|
|
10157
|
+
"valueType": "number"
|
|
10158
|
+
},
|
|
10159
|
+
{
|
|
10160
|
+
"path": "main.bitrate",
|
|
10161
|
+
"valueType": "number"
|
|
10162
|
+
},
|
|
10163
|
+
{
|
|
10164
|
+
"path": "main.bitrateMode",
|
|
10165
|
+
"valueType": "enum",
|
|
10166
|
+
"enumValues": ["vbr", "cbr"]
|
|
10167
|
+
},
|
|
10168
|
+
{
|
|
10169
|
+
"path": "main.encoderProfile",
|
|
10170
|
+
"valueType": "enum",
|
|
10171
|
+
"enumValues": [
|
|
10172
|
+
"high",
|
|
10173
|
+
"main",
|
|
10174
|
+
"baseline"
|
|
10175
|
+
]
|
|
10176
|
+
},
|
|
10177
|
+
{
|
|
10178
|
+
"path": "main.gop",
|
|
10179
|
+
"valueType": "number"
|
|
10180
|
+
},
|
|
10181
|
+
{
|
|
10182
|
+
"path": "main.audio",
|
|
10183
|
+
"valueType": "boolean"
|
|
10184
|
+
},
|
|
10185
|
+
{
|
|
10186
|
+
"path": "sub.width",
|
|
10187
|
+
"valueType": "number"
|
|
10188
|
+
},
|
|
10189
|
+
{
|
|
10190
|
+
"path": "sub.height",
|
|
10191
|
+
"valueType": "number"
|
|
10192
|
+
},
|
|
10193
|
+
{
|
|
10194
|
+
"path": "sub.codec",
|
|
10195
|
+
"valueType": "enum",
|
|
10196
|
+
"enumValues": ["h264", "h265"]
|
|
10197
|
+
},
|
|
10198
|
+
{
|
|
10199
|
+
"path": "sub.framerate",
|
|
10200
|
+
"valueType": "number"
|
|
10201
|
+
},
|
|
10202
|
+
{
|
|
10203
|
+
"path": "sub.bitrate",
|
|
10204
|
+
"valueType": "number"
|
|
10205
|
+
},
|
|
10206
|
+
{
|
|
10207
|
+
"path": "sub.bitrateMode",
|
|
10208
|
+
"valueType": "enum",
|
|
10209
|
+
"enumValues": ["vbr", "cbr"]
|
|
10210
|
+
},
|
|
10211
|
+
{
|
|
10212
|
+
"path": "sub.encoderProfile",
|
|
10213
|
+
"valueType": "enum",
|
|
10214
|
+
"enumValues": [
|
|
10215
|
+
"high",
|
|
10216
|
+
"main",
|
|
10217
|
+
"baseline"
|
|
10218
|
+
]
|
|
10219
|
+
},
|
|
10220
|
+
{
|
|
10221
|
+
"path": "sub.gop",
|
|
10222
|
+
"valueType": "number"
|
|
10223
|
+
},
|
|
10224
|
+
{
|
|
10225
|
+
"path": "sub.audio",
|
|
10226
|
+
"valueType": "boolean"
|
|
10227
|
+
},
|
|
10228
|
+
{
|
|
10229
|
+
"path": "ext.width",
|
|
10230
|
+
"valueType": "number"
|
|
10231
|
+
},
|
|
10232
|
+
{
|
|
10233
|
+
"path": "ext.height",
|
|
10234
|
+
"valueType": "number"
|
|
10235
|
+
},
|
|
10236
|
+
{
|
|
10237
|
+
"path": "ext.codec",
|
|
10238
|
+
"valueType": "enum",
|
|
10239
|
+
"enumValues": ["h264", "h265"]
|
|
10240
|
+
},
|
|
10241
|
+
{
|
|
10242
|
+
"path": "ext.framerate",
|
|
10243
|
+
"valueType": "number"
|
|
10244
|
+
},
|
|
10245
|
+
{
|
|
10246
|
+
"path": "ext.bitrate",
|
|
10247
|
+
"valueType": "number"
|
|
10248
|
+
},
|
|
10249
|
+
{
|
|
10250
|
+
"path": "ext.bitrateMode",
|
|
10251
|
+
"valueType": "enum",
|
|
10252
|
+
"enumValues": ["vbr", "cbr"]
|
|
10253
|
+
},
|
|
10254
|
+
{
|
|
10255
|
+
"path": "ext.encoderProfile",
|
|
10256
|
+
"valueType": "enum",
|
|
10257
|
+
"enumValues": [
|
|
10258
|
+
"high",
|
|
10259
|
+
"main",
|
|
10260
|
+
"baseline"
|
|
10261
|
+
]
|
|
10262
|
+
},
|
|
10263
|
+
{
|
|
10264
|
+
"path": "ext.gop",
|
|
10265
|
+
"valueType": "number"
|
|
10266
|
+
},
|
|
10267
|
+
{
|
|
10268
|
+
"path": "ext.audio",
|
|
10269
|
+
"valueType": "boolean"
|
|
10270
|
+
}
|
|
10271
|
+
],
|
|
10272
|
+
"switch": [{
|
|
10273
|
+
"path": "on",
|
|
10274
|
+
"valueType": "boolean"
|
|
10275
|
+
}],
|
|
10276
|
+
"tamper": [{
|
|
10277
|
+
"path": "tampered",
|
|
10278
|
+
"valueType": "boolean"
|
|
10279
|
+
}],
|
|
10280
|
+
"temperature-sensor": [
|
|
10281
|
+
{
|
|
10282
|
+
"path": "celsius",
|
|
10283
|
+
"valueType": "number"
|
|
10284
|
+
},
|
|
10285
|
+
{
|
|
10286
|
+
"path": "unit",
|
|
10287
|
+
"valueType": "string"
|
|
10288
|
+
},
|
|
10289
|
+
{
|
|
10290
|
+
"path": "precision",
|
|
10291
|
+
"valueType": "number"
|
|
10292
|
+
}
|
|
10293
|
+
],
|
|
10294
|
+
"update": [
|
|
10295
|
+
{
|
|
10296
|
+
"path": "currentVersion",
|
|
10297
|
+
"valueType": "string"
|
|
10298
|
+
},
|
|
10299
|
+
{
|
|
10300
|
+
"path": "availableVersion",
|
|
10301
|
+
"valueType": "string"
|
|
10302
|
+
},
|
|
10303
|
+
{
|
|
10304
|
+
"path": "updatable",
|
|
10305
|
+
"valueType": "boolean"
|
|
10306
|
+
},
|
|
10307
|
+
{
|
|
10308
|
+
"path": "state",
|
|
10309
|
+
"valueType": "string"
|
|
10310
|
+
},
|
|
10311
|
+
{
|
|
10312
|
+
"path": "inProgress",
|
|
10313
|
+
"valueType": "boolean"
|
|
10314
|
+
}
|
|
10315
|
+
],
|
|
10316
|
+
"vacuum-control": [
|
|
10317
|
+
{
|
|
10318
|
+
"path": "state",
|
|
10319
|
+
"valueType": "enum",
|
|
10320
|
+
"enumValues": [
|
|
10321
|
+
"idle",
|
|
10322
|
+
"cleaning",
|
|
10323
|
+
"paused",
|
|
10324
|
+
"returning",
|
|
10325
|
+
"docked",
|
|
10326
|
+
"drying",
|
|
10327
|
+
"error"
|
|
10328
|
+
]
|
|
10329
|
+
},
|
|
10330
|
+
{
|
|
10331
|
+
"path": "batteryLevel",
|
|
10332
|
+
"valueType": "number"
|
|
10333
|
+
},
|
|
10334
|
+
{
|
|
10335
|
+
"path": "fanSpeed",
|
|
10336
|
+
"valueType": "string"
|
|
10337
|
+
},
|
|
10338
|
+
{
|
|
10339
|
+
"path": "progressPercent",
|
|
10340
|
+
"valueType": "number"
|
|
10341
|
+
},
|
|
10342
|
+
{
|
|
10343
|
+
"path": "errorCode",
|
|
10344
|
+
"valueType": "number"
|
|
10345
|
+
},
|
|
10346
|
+
{
|
|
10347
|
+
"path": "errorLabel",
|
|
10348
|
+
"valueType": "string"
|
|
10349
|
+
}
|
|
10350
|
+
],
|
|
10351
|
+
"valve": [{
|
|
10352
|
+
"path": "state",
|
|
10353
|
+
"valueType": "enum",
|
|
10354
|
+
"enumValues": [
|
|
10355
|
+
"open",
|
|
10356
|
+
"opening",
|
|
10357
|
+
"closing",
|
|
10358
|
+
"closed",
|
|
10359
|
+
"stopped"
|
|
10360
|
+
]
|
|
10361
|
+
}, {
|
|
10362
|
+
"path": "position",
|
|
10363
|
+
"valueType": "number"
|
|
10364
|
+
}],
|
|
10365
|
+
"vibration": [{
|
|
10366
|
+
"path": "detected",
|
|
10367
|
+
"valueType": "boolean"
|
|
10368
|
+
}],
|
|
10369
|
+
"water-heater": [
|
|
10370
|
+
{
|
|
10371
|
+
"path": "currentTemp",
|
|
10372
|
+
"valueType": "number"
|
|
10373
|
+
},
|
|
10374
|
+
{
|
|
10375
|
+
"path": "targetTemp",
|
|
10376
|
+
"valueType": "number"
|
|
10377
|
+
},
|
|
10378
|
+
{
|
|
10379
|
+
"path": "operationMode",
|
|
10380
|
+
"valueType": "string"
|
|
10381
|
+
},
|
|
10382
|
+
{
|
|
10383
|
+
"path": "away",
|
|
10384
|
+
"valueType": "boolean"
|
|
10385
|
+
},
|
|
10386
|
+
{
|
|
10387
|
+
"path": "minTemp",
|
|
10388
|
+
"valueType": "number"
|
|
10389
|
+
},
|
|
10390
|
+
{
|
|
10391
|
+
"path": "maxTemp",
|
|
10392
|
+
"valueType": "number"
|
|
10393
|
+
}
|
|
10394
|
+
],
|
|
10395
|
+
"weather": [
|
|
10396
|
+
{
|
|
10397
|
+
"path": "condition",
|
|
10398
|
+
"valueType": "string"
|
|
10399
|
+
},
|
|
10400
|
+
{
|
|
10401
|
+
"path": "temperature",
|
|
10402
|
+
"valueType": "number"
|
|
10403
|
+
},
|
|
10404
|
+
{
|
|
10405
|
+
"path": "temperatureUnit",
|
|
10406
|
+
"valueType": "string"
|
|
10407
|
+
},
|
|
10408
|
+
{
|
|
10409
|
+
"path": "humidity",
|
|
10410
|
+
"valueType": "number"
|
|
10411
|
+
},
|
|
10412
|
+
{
|
|
10413
|
+
"path": "pressure",
|
|
10414
|
+
"valueType": "number"
|
|
10415
|
+
},
|
|
10416
|
+
{
|
|
10417
|
+
"path": "pressureUnit",
|
|
10418
|
+
"valueType": "string"
|
|
10419
|
+
},
|
|
10420
|
+
{
|
|
10421
|
+
"path": "windSpeed",
|
|
10422
|
+
"valueType": "number"
|
|
10423
|
+
},
|
|
10424
|
+
{
|
|
10425
|
+
"path": "windSpeedUnit",
|
|
10426
|
+
"valueType": "string"
|
|
10427
|
+
},
|
|
10428
|
+
{
|
|
10429
|
+
"path": "windBearing",
|
|
10430
|
+
"valueType": "number"
|
|
10431
|
+
}
|
|
10432
|
+
],
|
|
10433
|
+
"zone-analytics": [
|
|
10434
|
+
{
|
|
10435
|
+
"path": "ts",
|
|
10436
|
+
"valueType": "number"
|
|
10437
|
+
},
|
|
10438
|
+
{
|
|
10439
|
+
"path": "frameWidth",
|
|
10440
|
+
"valueType": "number"
|
|
10441
|
+
},
|
|
10442
|
+
{
|
|
10443
|
+
"path": "frameHeight",
|
|
10444
|
+
"valueType": "number"
|
|
10445
|
+
},
|
|
10446
|
+
{
|
|
10447
|
+
"path": "frame.totalObjects",
|
|
10448
|
+
"valueType": "number"
|
|
10449
|
+
},
|
|
10450
|
+
{
|
|
10451
|
+
"path": "frame.standingObjects",
|
|
10452
|
+
"valueType": "number"
|
|
10453
|
+
},
|
|
10454
|
+
{
|
|
10455
|
+
"path": "frame.transientObjects",
|
|
10456
|
+
"valueType": "number"
|
|
10457
|
+
},
|
|
10458
|
+
{
|
|
10459
|
+
"path": "unzoned.totalObjects",
|
|
10460
|
+
"valueType": "number"
|
|
10461
|
+
},
|
|
10462
|
+
{
|
|
10463
|
+
"path": "unzoned.standingObjects",
|
|
10464
|
+
"valueType": "number"
|
|
10465
|
+
},
|
|
10466
|
+
{
|
|
10467
|
+
"path": "unzoned.transientObjects",
|
|
10468
|
+
"valueType": "number"
|
|
10469
|
+
}
|
|
10470
|
+
]
|
|
10471
|
+
});
|
|
8498
10472
|
object({
|
|
8499
10473
|
code: string().regex(/^[a-z][a-z0-9-]*(\.[a-z0-9-]+)+$/),
|
|
8500
10474
|
params: record(string(), union([string(), number()])).optional()
|
|
@@ -8853,7 +10827,7 @@ function errMsg$16(err) {
|
|
|
8853
10827
|
return String(err);
|
|
8854
10828
|
}
|
|
8855
10829
|
//#endregion
|
|
8856
|
-
//#region ../types/dist/composition-
|
|
10830
|
+
//#region ../types/dist/composition-kEl9mevu.mjs
|
|
8857
10831
|
var AUDIO_ENCODER_BY_CODEC = {
|
|
8858
10832
|
opus: "libopus",
|
|
8859
10833
|
aac: "aac",
|
|
@@ -9114,7 +11088,7 @@ function buildStdoutOrRtspSinkArgs(sink) {
|
|
|
9114
11088
|
* frame, loses the race, and skips to the following one: **every fragment comes
|
|
9115
11089
|
* out at twice the requested length.**
|
|
9116
11090
|
*
|
|
9117
|
-
* Measured on the live fleet 2026-08-07, camera
|
|
11091
|
+
* Measured on the live fleet 2026-08-07, camera 101, `-c:v copy` (D84):
|
|
9118
11092
|
*
|
|
9119
11093
|
* | slot | GOP | `-min_frag_duration` | median gap |
|
|
9120
11094
|
* | --- | --- | --- | --- |
|
|
@@ -12799,7 +14773,7 @@ var LogChannelDescriptorSchema = object({
|
|
|
12799
14773
|
* `true` is a PROMISE with two halves, and both must hold: the gate is
|
|
12800
14774
|
* consulted with the numeric device id, AND every line the channel admits
|
|
12801
14775
|
* carries `tags: { deviceId }` with that same numeric id. The second half is
|
|
12802
|
-
* what makes `| json | deviceId="
|
|
14776
|
+
* what makes `| json | deviceId="102"` work in Loki — `loki-payload.ts`
|
|
12803
14777
|
* keeps `deviceId` out of the stream labels for cardinality, so the tag in
|
|
12804
14778
|
* the body is the only way to filter.
|
|
12805
14779
|
*
|
|
@@ -13075,7 +15049,7 @@ var ModelVariantGroupSchema = object({
|
|
|
13075
15049
|
precision: _enum(["fp32", "int8"]).optional(),
|
|
13076
15050
|
/**
|
|
13077
15051
|
* Training / latency-variant axis. Omit ⇒ the standard build. `test` marks
|
|
13078
|
-
* an alternate training of the same family (
|
|
15052
|
+
* an alternate training of the same family (plugin catalog `relu_test`); chip
|
|
13079
15053
|
* label is "Test".
|
|
13080
15054
|
*/
|
|
13081
15055
|
optimization: _enum(["standard", "test"]).optional(),
|
|
@@ -13327,8 +15301,8 @@ var ModelCatalogEntrySchema = object({
|
|
|
13327
15301
|
provider: ModelProviderIdSchema.optional(),
|
|
13328
15302
|
/**
|
|
13329
15303
|
* Per-MODEL class map override. Absent ⇒ the step's `StepDefinition.classMap`
|
|
13330
|
-
* applies (
|
|
13331
|
-
* labels already ARE the CamStack macros (
|
|
15304
|
+
* applies (plus catalog / COCO public catalog). Set on a custom model whose raw
|
|
15305
|
+
* labels already ARE the CamStack macros (plugin catalog identity map).
|
|
13332
15306
|
*/
|
|
13333
15307
|
classMap: DetectionCatalogClassMapSchema.optional(),
|
|
13334
15308
|
/**
|
|
@@ -16297,7 +18271,7 @@ method(object({
|
|
|
16297
18271
|
* `1` is real time and is the ONLY value that allows the copy branch —
|
|
16298
18272
|
* anything else forces `libx264` over the window. That was priced
|
|
16299
18273
|
* before it was chosen: a per-event burst measured at 0.23 s and 254 KB
|
|
16300
|
-
* on a real
|
|
18274
|
+
* on a real 101 720p cut, against 922 KB for the copy it replaces. A
|
|
16301
18275
|
* re-encode is capped at 720p (`EVENT_CLIP_ENCODE_MAX_WIDTH`), because
|
|
16302
18276
|
* once the decode is forced the width stops being free.
|
|
16303
18277
|
*/
|
|
@@ -16717,6 +18691,7 @@ var CompositionRunStatusSchema = _enum([
|
|
|
16717
18691
|
"starting",
|
|
16718
18692
|
"running",
|
|
16719
18693
|
"degraded",
|
|
18694
|
+
"incomplete",
|
|
16720
18695
|
"failed"
|
|
16721
18696
|
]);
|
|
16722
18697
|
var CompositionFieldStateKindSchema = _enum([
|
|
@@ -16930,6 +18905,7 @@ var CoreBlockStatusSchema = _enum([
|
|
|
16930
18905
|
"starting",
|
|
16931
18906
|
"running",
|
|
16932
18907
|
"degraded",
|
|
18908
|
+
"incomplete",
|
|
16933
18909
|
"failed"
|
|
16934
18910
|
]);
|
|
16935
18911
|
/** path → TypeScript source for a multi-file block. */
|
|
@@ -38934,7 +40910,7 @@ var PRIMARY_CATEGORIES = new Set(ENTRIES.map((e) => e.primaryCategory));
|
|
|
38934
40910
|
* `locationKey` is ALWAYS {@link locationIconKey} of the label — never the
|
|
38935
40911
|
* operator's casing. The registry matches labels trimmed + case-insensitively
|
|
38936
40912
|
* everywhere (`addLocation`, `removeLocation`, `renameLocation`), and a
|
|
38937
|
-
* case-only rename (`
|
|
40913
|
+
* case-only rename (`kitchen` → `Kitchen`) is a real edit this repo supports; a
|
|
38938
40914
|
* map keyed on the displayed casing would orphan its entry on exactly that
|
|
38939
40915
|
* edit. Consumers join by keying their own label through `locationIconKey`.
|
|
38940
40916
|
*/
|
|
@@ -38959,7 +40935,7 @@ var LocationDescriptionAssignmentSchema = object({
|
|
|
38959
40935
|
/**
|
|
38960
40936
|
* A SITE ZONE — a named part of the property that several locations belong to.
|
|
38961
40937
|
*
|
|
38962
|
-
* "
|
|
40938
|
+
* "Night zone" holds every bedroom; "Zona giorno" the living room and the
|
|
38963
40939
|
* kitchen. A camera belongs to exactly one location, and a location to at most
|
|
38964
40940
|
* one zone, so a camera's zone is derived and never stored on the device: the
|
|
38965
40941
|
* whole point of this entity is that grouping rooms touches no device row.
|
|
@@ -38988,7 +40964,7 @@ var LocationDescriptionAssignmentSchema = object({
|
|
|
38988
40964
|
* the locations inside it.
|
|
38989
40965
|
*
|
|
38990
40966
|
* The LABEL is carried alongside the key because the key is lossy on purpose —
|
|
38991
|
-
* a surface must show "
|
|
40967
|
+
* a surface must show "Night zone", not "night zone". Locations are carried
|
|
38992
40968
|
* here, rather than left to a second call, because every consumer wants both
|
|
38993
40969
|
* at once and a viewer that asked twice could render a zone whose membership
|
|
38994
40970
|
* it has not fetched yet.
|
|
@@ -41101,8 +43077,8 @@ var LoadContributionSchema = object({
|
|
|
41101
43077
|
"unattributable"
|
|
41102
43078
|
]),
|
|
41103
43079
|
/**
|
|
41104
|
-
* What ONE entry is, in the contributor's own words — `
|
|
41105
|
-
* `
|
|
43080
|
+
* What ONE entry is, in the contributor's own words — `101/high`,
|
|
43081
|
+
* `102/native`, `cuda:0 shared pool`. Free text because the unit differs per
|
|
41106
43082
|
* family and inventing a common one would lose the only information that
|
|
41107
43083
|
* makes two entries for the same camera distinguishable.
|
|
41108
43084
|
*/
|
|
@@ -44062,7 +46038,7 @@ var NcConditionsSchema = object({
|
|
|
44062
46038
|
* with the list under it is worse than no switch (D62).
|
|
44063
46039
|
*
|
|
44064
46040
|
* MEMBERS ARE FACE-GALLERY `Identity.id`s (uuid), not display names. A name is
|
|
44065
|
-
* renameable, and a rule authored on "
|
|
46041
|
+
* renameable, and a rule authored on "Alice" went silently dark the moment
|
|
44066
46042
|
* the operator fixed the spelling. The id reaches the record on
|
|
44067
46043
|
* `LabelAttribution.identityId`; the name is what the editor shows and what
|
|
44068
46044
|
* `{{label}}` renders.
|
|
@@ -44613,7 +46589,7 @@ var NcRulePatchSchema = NcRuleInputSchema.partial().extend({
|
|
|
44613
46589
|
* A rule scoped to one camera and one zone silently became a rule that
|
|
44614
46590
|
* matches EVERY event on EVERY camera, and lost its `media` policy
|
|
44615
46591
|
* (zoneCrop / gif / clip / frame) and its `priority` at the same time. Seen
|
|
44616
|
-
* live on 2026-08-12: a rule scoped to device
|
|
46592
|
+
* live on 2026-08-12: a rule scoped to device 102 fired on 104 and 101
|
|
44617
46593
|
* within a minute of a two-field patch.
|
|
44618
46594
|
*
|
|
44619
46595
|
* So every defaulted field is re-declared here WITHOUT its default. The
|
|
@@ -46426,7 +48402,7 @@ var LabelAttributionSchema = object({
|
|
|
46426
48402
|
* `Identity.id` or a plate-gallery `Vehicle.id` (both `randomUUID`).
|
|
46427
48403
|
*
|
|
46428
48404
|
* The text alone is a DISPLAY NAME, and a display name is renameable: a
|
|
46429
|
-
* notification rule authored on "
|
|
48405
|
+
* notification rule authored on "Alice" stopped matching the moment the
|
|
46430
48406
|
* operator fixed the spelling in the gallery, and nothing said so. The id is
|
|
46431
48407
|
* the thing that does not move, so it is what a rule matches on
|
|
46432
48408
|
* (`NcConditions.identities`) and the text is what a human is shown.
|
|
@@ -48965,7 +50941,7 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
48965
50941
|
/**
|
|
48966
50942
|
* Root-supplied detections for the tree's ROOT step (D730). Set by
|
|
48967
50943
|
* `runDetailSubtree` when the camera's root model supplies a crop-kind
|
|
48968
|
-
* step (a
|
|
50944
|
+
* step (a plus catalog `license_plate` for `plate-detection`): the step is
|
|
48969
50945
|
* NOT inferred, these boxes are its output, and its children (the plate
|
|
48970
50946
|
* reader) run on them through their own crop policy. Boxes are in the
|
|
48971
50947
|
* PIXELS of the image this call carries. Absent ⇒ the root step runs.
|
|
@@ -50598,7 +52574,7 @@ var RunnerCameraConfigSchema = object({
|
|
|
50598
52574
|
* detection session that asks for history. What shipped was a last-moment
|
|
50599
52575
|
* discard — `FrameSlot`'s throttle compares wall clocks, and ~4 s of media
|
|
50600
52576
|
* arriving inside a few hundred ms of wall clock looks to it like one frame's
|
|
50601
|
-
* worth. Device
|
|
52577
|
+
* worth. Device 102, 2026-09-08: a re-run of the SAME model over the stored
|
|
50602
52578
|
* recording scored the subject `vehicle 0.5669` — above the 0.50 floor —
|
|
50603
52579
|
* 1.68 s BEFORE the live track was born, on a frame that was in the pre-roll,
|
|
50604
52580
|
* was decoded, and was freed.
|
|
@@ -52628,7 +54604,7 @@ method(_void(), ProviderInfoSchema, { auth: "admin" }), method(object({ config:
|
|
|
52628
54604
|
* The signals a device can emit to WAKE its own stream.
|
|
52629
54605
|
*
|
|
52630
54606
|
* A camera whose stream is built on demand sleeps until something asks for it,
|
|
52631
|
-
* and "something" cannot be a consumer that is merely attached — a
|
|
54607
|
+
* and "something" cannot be a consumer that is merely attached — a external-catalog
|
|
52632
54608
|
* puller holds a session open for ever, and treating that as demand would keep
|
|
52633
54609
|
* a battery camera awake for ever, which is the whole thing the battery is for
|
|
52634
54610
|
* (D173). So the wake has to come from the CAMERA: an event it noticed by
|
|
@@ -53315,7 +55291,7 @@ var ClipSchema = object({
|
|
|
53315
55291
|
* {@link MAX_CLIP_EVENT_IDS}. Empty on footage-only clips.
|
|
53316
55292
|
*
|
|
53317
55293
|
* Bounded because it is not a payload the surface pages through: one visit on
|
|
53318
|
-
* device
|
|
55294
|
+
* device 101 carried 2 345 ids, and `eventIds` was 99% of a 153 KB
|
|
53319
55295
|
* camera-day. Read {@link eventCount} for the true total.
|
|
53320
55296
|
*/
|
|
53321
55297
|
eventIds: array(string()).optional(),
|
|
@@ -53460,7 +55436,7 @@ var ClipPlaybackSchema = object({
|
|
|
53460
55436
|
* camera has no recordings", which is the defect this whole line of work is
|
|
53461
55437
|
* about: a battery camera nobody woke (`sleeping`), a camera that could not be
|
|
53462
55438
|
* reached at all (`unreachable`, also what a provider that THREW reports), a
|
|
53463
|
-
* camera whose SD card is not mounted (`no-storage`, measured on
|
|
55439
|
+
* camera whose SD card is not mounted (`no-storage`, measured on 106 —
|
|
53464
55440
|
* `HddInfo mount 0`, honestly nothing to list rather than "no clips"), and a
|
|
53465
55441
|
* camera whose OWN index disagrees with its OWN calendar (`index-empty`,
|
|
53466
55442
|
* measured on 618: the calendar marks 3–20 September, days 6–20 list zero
|
|
@@ -53792,7 +55768,7 @@ var videoclipsCapability = {
|
|
|
53792
55768
|
*
|
|
53793
55769
|
* It was optional, documented as "absent means the device's BOUND
|
|
53794
55770
|
* provider, which is CamStack on every camera". No code implemented
|
|
53795
|
-
* that. Measured on the live hub 2026-09-20 — device
|
|
55771
|
+
* that. Measured on the live hub 2026-09-20 — device 107, bound to
|
|
53796
55772
|
* `recorder` AND `provider-reolink` — a bare call with `limit: 3`
|
|
53797
55773
|
* answered SIX rows, three from each source, merged newest-first:
|
|
53798
55774
|
* `device-collection-dispatch.ts` simply left the fan-out un-narrowed,
|
|
@@ -55000,7 +56976,10 @@ DeviceType.Sensor;
|
|
|
55000
56976
|
*/
|
|
55001
56977
|
var AmbientLightSensorStatusSchema = object({
|
|
55002
56978
|
/** Current illuminance in lux (lx). */
|
|
55003
|
-
lux: number().min(0)
|
|
56979
|
+
lux: number().min(0).meta({
|
|
56980
|
+
unit: "lx",
|
|
56981
|
+
label: "Illuminance"
|
|
56982
|
+
}),
|
|
55004
56983
|
/** Ms epoch when the slice was last updated. */
|
|
55005
56984
|
lastFetchedAt: number(),
|
|
55006
56985
|
/** Live display unit from the upstream source (e.g. HA
|
|
@@ -55156,7 +57135,10 @@ var BatteryStatusSchema = object({
|
|
|
55156
57135
|
* Consumers must SKIP a null rather than coerce it — `battery-band` already
|
|
55157
57136
|
* declines to band a non-finite reading, which is the correct shape.
|
|
55158
57137
|
*/
|
|
55159
|
-
percentage: number().min(0).max(100).nullable()
|
|
57138
|
+
percentage: number().min(0).max(100).nullable().meta({
|
|
57139
|
+
unit: "%",
|
|
57140
|
+
label: "Charge"
|
|
57141
|
+
}),
|
|
55160
57142
|
/**
|
|
55161
57143
|
* Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
|
|
55162
57144
|
* Reolink-specific for the Solar Panel 2 accessory (will become
|
|
@@ -55175,13 +57157,13 @@ var BatteryStatusSchema = object({
|
|
|
55175
57157
|
"solar",
|
|
55176
57158
|
"none",
|
|
55177
57159
|
"unknown"
|
|
55178
|
-
]),
|
|
57160
|
+
]).meta({ label: "Charging source" }),
|
|
55179
57161
|
/**
|
|
55180
57162
|
* True when the camera firmware has gone into low-power mode. Battery
|
|
55181
57163
|
* providers MUST avoid polling during sleep — reading the battery
|
|
55182
57164
|
* wakes the camera up and drains charge.
|
|
55183
57165
|
*/
|
|
55184
|
-
sleeping: boolean(),
|
|
57166
|
+
sleeping: boolean().meta({ label: "Sleeping" }),
|
|
55185
57167
|
/** Ms epoch of the last observation. Lets consumers reason about freshness. */
|
|
55186
57168
|
lastUpdated: number(),
|
|
55187
57169
|
/**
|
|
@@ -55221,7 +57203,7 @@ var BatteryStatusSchema = object({
|
|
|
55221
57203
|
* sub-threshold = low). UI MUST render "Normal"/"Low" instead of a
|
|
55222
57204
|
* misleading exact percentage. Absent/false → genuine 0–100 % reading.
|
|
55223
57205
|
*/
|
|
55224
|
-
binary: boolean().optional()
|
|
57206
|
+
binary: boolean().optional().meta({ label: "Binary indicator" })
|
|
55225
57207
|
});
|
|
55226
57208
|
DeviceType.Camera, DeviceType.Sensor, DeviceType.Button, DeviceType.Switch, DeviceType.PetFeeder, DeviceType.Container, DeviceType.Thermostat;
|
|
55227
57209
|
method(object({
|
|
@@ -55236,7 +57218,7 @@ method(object({
|
|
|
55236
57218
|
status: BatteryStatusSchema
|
|
55237
57219
|
});
|
|
55238
57220
|
object({
|
|
55239
|
-
on: boolean(),
|
|
57221
|
+
on: boolean().meta({ label: "On" }),
|
|
55240
57222
|
/** Ms epoch of the last transition. 0 if never observed. */
|
|
55241
57223
|
lastChangedAt: number()
|
|
55242
57224
|
});
|
|
@@ -55494,7 +57476,7 @@ var GridLayoutCellSchema = object({
|
|
|
55494
57476
|
*
|
|
55495
57477
|
* A grid's `high` composes its sources' `high` and its `low` their `low`, so a
|
|
55496
57478
|
* profile is on offer only when EVERY source can serve it. The refusal NAMES
|
|
55497
|
-
* the sources, because "this grid has no low" is not a finding — "
|
|
57479
|
+
* the sources, because "this grid has no low" is not a finding — "101 has no
|
|
55498
57480
|
* low" is, and it is the one an operator can act on.
|
|
55499
57481
|
*/
|
|
55500
57482
|
var GridProfileOfferSchema = object({
|
|
@@ -57077,7 +59059,10 @@ DeviceType.Humidifier, method(object({
|
|
|
57077
59059
|
*/
|
|
57078
59060
|
var HumiditySensorStatusSchema = object({
|
|
57079
59061
|
/** Current relative humidity, 0..100. */
|
|
57080
|
-
percent: number().min(0).max(100)
|
|
59062
|
+
percent: number().min(0).max(100).meta({
|
|
59063
|
+
unit: "%",
|
|
59064
|
+
label: "Humidity"
|
|
59065
|
+
}),
|
|
57081
59066
|
/** Ms epoch when the slice was last updated. */
|
|
57082
59067
|
lastFetchedAt: number(),
|
|
57083
59068
|
/** Live display unit from the upstream source (e.g. HA
|
|
@@ -59854,9 +61839,15 @@ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema)
|
|
|
59854
61839
|
});
|
|
59855
61840
|
object({
|
|
59856
61841
|
/** Instantaneous power draw in watts. */
|
|
59857
|
-
watts: number().optional()
|
|
61842
|
+
watts: number().optional().meta({
|
|
61843
|
+
unit: "W",
|
|
61844
|
+
label: "Power"
|
|
61845
|
+
}),
|
|
59858
61846
|
/** Cumulative energy in kilowatt-hours since the meter was reset. */
|
|
59859
|
-
kwhTotal: number().optional()
|
|
61847
|
+
kwhTotal: number().optional().meta({
|
|
61848
|
+
unit: "kWh",
|
|
61849
|
+
label: "Energy"
|
|
61850
|
+
}),
|
|
59860
61851
|
/** Voltage in volts. */
|
|
59861
61852
|
volts: number().optional(),
|
|
59862
61853
|
/** Current in amperes. */
|
|
@@ -60175,9 +62166,9 @@ var PtzOptionsSchema = object({
|
|
|
60175
62166
|
* Reolink preset 0, Hikvision preset '1', Dahua preset 1 -- and on this fleet
|
|
60176
62167
|
* not one of the three cameras honours its own:
|
|
60177
62168
|
*
|
|
60178
|
-
*
|
|
60179
|
-
* 1438
|
|
60180
|
-
* 3836
|
|
62169
|
+
* 107 Camera camera Carol (reolink) preset 0 holds "stanza"
|
|
62170
|
+
* 1438 Camera dispensa (hikvision) preset 1 holds "Credenza"
|
|
62171
|
+
* 3836 Camera studio (amcrest) preset 1 holds "Preset1"
|
|
60181
62172
|
*
|
|
60182
62173
|
* So `goHome` meant "go wherever the operator happened to save in slot 0 or 1",
|
|
60183
62174
|
* and two of the three swallowed the failure in a bare `catch`. For autotrack
|
|
@@ -60324,7 +62315,7 @@ object({
|
|
|
60324
62315
|
running: boolean().nullable(),
|
|
60325
62316
|
/** Epoch ms the current boolean began; null while `running` is null. */
|
|
60326
62317
|
since: number().nullable(),
|
|
60327
|
-
source: RunningStateSourceSchema,
|
|
62318
|
+
source: RunningStateSourceSchema.meta({ label: "Source" }),
|
|
60328
62319
|
phase: string().nullable(),
|
|
60329
62320
|
/** null until a reading has been published (D393). */
|
|
60330
62321
|
lastFetchedAt: number().nullable()
|
|
@@ -60377,7 +62368,7 @@ var RecordingAvailabilitySchema = object({
|
|
|
60377
62368
|
* would look identical. But the answer used to say nothing about that, so a
|
|
60378
62369
|
* caller asking "what can I export?" read the single preferred profile as
|
|
60379
62370
|
* the only one that exists — on this deployment every camera records `high`
|
|
60380
|
-
* AND `low`, the low tree holding 14 GB for camera
|
|
62371
|
+
* AND `low`, the low tree holding 14 GB for camera 101 alone, and the export
|
|
60381
62372
|
* UI could not see it.
|
|
60382
62373
|
*
|
|
60383
62374
|
* Cheap: it is the same shallow directory read the profile CHOICE already
|
|
@@ -60476,7 +62467,7 @@ var RecordingSourceOptionsSchema = object({
|
|
|
60476
62467
|
* `sparse` = gaps are the absence of one, and must be drawn as such.
|
|
60477
62468
|
*
|
|
60478
62469
|
* Not an onboard-only concession: measured 2026-09-24, OUR bar covers 98.8 %
|
|
60479
|
-
* of
|
|
62470
|
+
* of 107's day and 1.2 % of 1436's. It is a fact about a (source, camera)
|
|
60480
62471
|
* pair, and ours answers it per camera from `deriveRecordingMode`. */
|
|
60481
62472
|
coverage: _enum(["continuous", "sparse"]),
|
|
60482
62473
|
/** Where the playhead may be put.
|
|
@@ -60552,7 +62543,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(RecordingSourceS
|
|
|
60552
62543
|
* merely discouraged (D554 amended).
|
|
60553
62544
|
*
|
|
60554
62545
|
* It was learned the expensive way on `videoclips.listClips`: measured
|
|
60555
|
-
* on the live hub 2026-09-20, device
|
|
62546
|
+
* on the live hub 2026-09-20, device 107 bound to `recorder` AND
|
|
60556
62547
|
* `provider-reolink`, a bare call with `limit: 3` answered SIX rows,
|
|
60557
62548
|
* three from each source, merged — `device-collection-dispatch.ts`
|
|
60558
62549
|
* leaves an unpinned fan-out un-narrowed, so absence buys the union the
|
|
@@ -61153,7 +63144,7 @@ var ExportSpeedSchema = number().min(.25).max(32);
|
|
|
61153
63144
|
* on a 10 h window holding 29,393 s of footage every range landed late by the
|
|
61154
63145
|
* gap accumulated before it — up to 6,607 s, well past EOF. Nothing matched,
|
|
61155
63146
|
* the video was a uniform timelapse, and the log line reported the five ranges
|
|
61156
|
-
* that had been ASKED for (2026-08-13, export `57d14363`, camera
|
|
63147
|
+
* that had been ASKED for (2026-08-13, export `57d14363`, camera 101).
|
|
61157
63148
|
*
|
|
61158
63149
|
* Relative and not absolute epoch, because an absolute epoch would make every
|
|
61159
63150
|
* call site responsible for the same subtraction.
|
|
@@ -61787,7 +63778,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), RecordingSignalStatusS
|
|
|
61787
63778
|
* which put a "Scenes" tab on one camera's detail page. That is the wrong shape
|
|
61788
63779
|
* for the thing: a scene is a standing question about the property ("is the bin
|
|
61789
63780
|
* still out"), and the operator's question is "which of my scenes have tripped",
|
|
61790
|
-
* across every camera at once — not "what does camera
|
|
63781
|
+
* across every camera at once — not "what does camera 102 think". Buried one
|
|
61791
63782
|
* camera deep it also could not be found. The surface is now a top-level admin
|
|
61792
63783
|
* page (`/scenes`, `pages/Scenes.tsx`) that lists every scene on every camera and
|
|
61793
63784
|
* picks the camera inside the create flow, the same shape Events and Faces have.
|
|
@@ -62379,7 +64370,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), StreamParamsOptionsSch
|
|
|
62379
64370
|
auth: "admin"
|
|
62380
64371
|
}), method(object({ deviceId: number() }), unknown().nullable());
|
|
62381
64372
|
object({
|
|
62382
|
-
on: boolean(),
|
|
64373
|
+
on: boolean().meta({ label: "On" }),
|
|
62383
64374
|
/** Ms epoch of the last state change. Useful for UI "X minutes ago". */
|
|
62384
64375
|
lastChangedAt: number()
|
|
62385
64376
|
});
|
|
@@ -62958,7 +64949,10 @@ DeviceType.Sensor;
|
|
|
62958
64949
|
*/
|
|
62959
64950
|
var TemperatureSensorStatusSchema = object({
|
|
62960
64951
|
/** Current temperature in Celsius. */
|
|
62961
|
-
celsius: number()
|
|
64952
|
+
celsius: number().meta({
|
|
64953
|
+
unit: "°C",
|
|
64954
|
+
label: "Temperature"
|
|
64955
|
+
}),
|
|
62962
64956
|
/** Ms epoch when the slice was last updated (push or poll). */
|
|
62963
64957
|
lastFetchedAt: number(),
|
|
62964
64958
|
/** Live display unit from the upstream source (e.g. HA
|
|
@@ -64106,6 +66100,10 @@ method(object({}), array(TrainingBaseModelSchema).readonly(), { auth: "admin" })
|
|
|
64106
66100
|
auth: "admin"
|
|
64107
66101
|
});
|
|
64108
66102
|
SOURCE_CAPS.filter((cap) => cap !== "switch" && cap !== "motion");
|
|
66103
|
+
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;
|
|
66104
|
+
String.raw`rose\(active(\d+), changed(\d+), (\d+(?:\.\d+)?)\)`;
|
|
66105
|
+
DeviceRole.BinarySensor, DeviceRole.MotionSensor;
|
|
66106
|
+
new Set(CAP_NAMES);
|
|
64109
66107
|
Object.freeze({
|
|
64110
66108
|
person: .5,
|
|
64111
66109
|
vehicle: .5,
|
|
@@ -77043,7 +79041,7 @@ var SENSOR_CAP_VOCABULARY = {
|
|
|
77043
79041
|
state: [{
|
|
77044
79042
|
kind: "boolean",
|
|
77045
79043
|
field: "on",
|
|
77046
|
-
label: t("
|
|
79044
|
+
label: t("On", "Acceso"),
|
|
77047
79045
|
whenTrue: t("When {device} turns active", "Quando {device} si attiva"),
|
|
77048
79046
|
whenFalse: t("When {device} turns inactive", "Quando {device} si disattiva"),
|
|
77049
79047
|
icon: "toggle-right"
|
|
@@ -80467,7 +82465,6 @@ Object.freeze({
|
|
|
80467
82465
|
"smtp-provider": "email"
|
|
80468
82466
|
});
|
|
80469
82467
|
DeviceType.Camera;
|
|
80470
|
-
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;
|
|
80471
82468
|
/**
|
|
80472
82469
|
* A saved Customize assignment (D936). The schema is the type: callers use
|
|
80473
82470
|
* `z.infer`, they do not restate the shape.
|
|
@@ -80556,7 +82553,6 @@ object({
|
|
|
80556
82553
|
]),
|
|
80557
82554
|
reason: string().nullable()
|
|
80558
82555
|
});
|
|
80559
|
-
String.raw`rose\(active(\d+), changed(\d+), (\d+(?:\.\d+)?)\)`;
|
|
80560
82556
|
var G711_SCALE_CORRECTION_DB = {
|
|
80561
82557
|
PCMU: 20 * Math.log10(4),
|
|
80562
82558
|
PCMA: 20 * Math.log10(8)
|
|
@@ -80929,7 +82925,7 @@ var STATE_SUMMARY_SECTION_VARS = [
|
|
|
80929
82925
|
{
|
|
80930
82926
|
name: "summaryStreams",
|
|
80931
82927
|
label: "Summary: streams offline",
|
|
80932
|
-
example: "
|
|
82928
|
+
example: "Front door (high) — since 06:40",
|
|
80933
82929
|
kinds: ["stream-offline", "stream-online"]
|
|
80934
82930
|
},
|
|
80935
82931
|
{
|
|
@@ -80947,13 +82943,13 @@ var STATE_SUMMARY_SECTION_VARS = [
|
|
|
80947
82943
|
{
|
|
80948
82944
|
name: "summaryDetection",
|
|
80949
82945
|
label: "Summary: cameras detecting nothing",
|
|
80950
|
-
example: "
|
|
82946
|
+
example: "Front door — since 05:10",
|
|
80951
82947
|
kinds: ["detection-blind"]
|
|
80952
82948
|
},
|
|
80953
82949
|
{
|
|
80954
82950
|
name: "summaryNodes",
|
|
80955
82951
|
label: "Summary: nodes",
|
|
80956
|
-
example: "
|
|
82952
|
+
example: "agent-a — offline since 03:00",
|
|
80957
82953
|
kinds: [
|
|
80958
82954
|
"node-offline",
|
|
80959
82955
|
"node-online",
|
|
@@ -129203,7 +131199,7 @@ function moovPrecedesMdat(bytes) {
|
|
|
129203
131199
|
* Worth having because the alternative number is wrong in a specific,
|
|
129204
131200
|
* measurable way: `endedAtMs - startedAtMs` is how long the TEE ran, and the
|
|
129205
131201
|
* first fragments it wrote were the prebuffer — footage older than the tee
|
|
129206
|
-
* itself. On
|
|
131202
|
+
* itself. On 101 that is 12.0 s claimed against 19.99 s held.
|
|
129207
131203
|
*/
|
|
129208
131204
|
function readMovieDurationMs(bytes) {
|
|
129209
131205
|
const moov = findTopLevelBox(bytes, "moov");
|
|
@@ -129282,7 +131278,7 @@ function findTopLevelBox(bytes, type) {
|
|
|
129282
131278
|
* (`mvhd`, after the faststart pass), because the tee's own wall clock is
|
|
129283
131279
|
* wrong in a specific direction: the clock starts when the tee does, and the
|
|
129284
131280
|
* first fragments it writes are the PREBUFFER — footage older than the tee
|
|
129285
|
-
* itself. Measured on
|
|
131281
|
+
* itself. Measured on 101: 12.0 s claimed against 19.99 s held. The wall
|
|
129286
131282
|
* clock remains the fallback for a file that could not be measured.
|
|
129287
131283
|
*
|
|
129288
131284
|
* ## `thumbnailFile` is VOUCHED
|
|
@@ -130098,7 +132094,7 @@ var RECORDABLE_CODEC = "h264";
|
|
|
130098
132094
|
*
|
|
130099
132095
|
* Deliberately NOT `pickPreferredRtspEntry`: that picker resolves the operator's
|
|
130100
132096
|
* LIVE preference and, on `auto`, steers by the resolution iOS negotiated for a
|
|
130101
|
-
* live session — neither is a fact about recording, and on
|
|
132097
|
+
* live session — neither is a fact about recording, and on 101 it selects `mid`,
|
|
130102
132098
|
* a 10 fps slot. Recording has one criterion, applied here and nowhere else:
|
|
130103
132099
|
* the largest copyable frame that does not exceed {@link MAX_RECORDING_HEIGHT}.
|
|
130104
132100
|
*/
|
|
@@ -130295,7 +132291,7 @@ function createHksvClipPlanes(deps) {
|
|
|
130295
132291
|
*
|
|
130296
132292
|
* A 404 is work this route dropped, and silence reads as "never happened" —
|
|
130297
132293
|
* so every miss is one warn carrying `tags: { deviceId }`, which is the only
|
|
130298
|
-
* key a "why is
|
|
132294
|
+
* key a "why is 102 missing its clips and 101 not?" question can be answered
|
|
130299
132295
|
* by.
|
|
130300
132296
|
*/
|
|
130301
132297
|
async function locate(addressed, artifact) {
|
|
@@ -130841,8 +132837,8 @@ function hapServiceName(parts, fallback) {
|
|
|
130841
132837
|
*
|
|
130842
132838
|
* Just "Privacy". The camera name is NOT prefixed: this service lives inside
|
|
130843
132839
|
* the camera's own accessory, iOS already renders it under the camera, and a
|
|
130844
|
-
* round that prefixed it gave the operator "
|
|
130845
|
-
* sitting inside a tile titled "
|
|
132840
|
+
* round that prefixed it gave the operator "Camera front door Privacy"
|
|
132841
|
+
* sitting inside a tile titled "Camera front door".
|
|
130846
132842
|
*
|
|
130847
132843
|
* The prefix was added for a real reason — two cameras publishing a switch
|
|
130848
132844
|
* called "Privacy" — but that was a symptom of the label being the ONLY thing
|
|
@@ -130872,7 +132868,7 @@ var PRIVACY_SUFFIX = "Privacy";
|
|
|
130872
132868
|
* consulted first and title-cased, so every siren on the fleet published as
|
|
130873
132869
|
* the English word "Siren" no matter what the operator had called it.
|
|
130874
132870
|
*
|
|
130875
|
-
* Providers name children both ways — "Sirena" and "
|
|
132871
|
+
* Providers name children both ways — "Sirena" and "Camera kitchen
|
|
130876
132872
|
* Sirena". The parent half is now REMOVED rather than added, because the
|
|
130877
132873
|
* service is published inside the parent camera's own accessory and iOS
|
|
130878
132874
|
* already shows it there. The result must be one form, not two.
|
|
@@ -130893,7 +132889,7 @@ function childServiceName(parentName, child) {
|
|
|
130893
132889
|
*/
|
|
130894
132890
|
var CHILD_FALLBACK = "Accessory";
|
|
130895
132891
|
/**
|
|
130896
|
-
* A PTZ action switch: the bare action, "Preset
|
|
132892
|
+
* A PTZ action switch: the bare action, "Preset front door" / "Pan Left" /
|
|
130897
132893
|
* "Autotrack".
|
|
130898
132894
|
*
|
|
130899
132895
|
* The labels themselves stay in `ptz-labels.ts` — they name a HomeKit control,
|
|
@@ -130908,7 +132904,7 @@ function ptzServiceName(actionLabel) {
|
|
|
130908
132904
|
/**
|
|
130909
132905
|
* Drop `parentName` from the front of `name`.
|
|
130910
132906
|
*
|
|
130911
|
-
* A PREFIX only. "
|
|
132907
|
+
* A PREFIX only. "Camera kitchen Sirena" → "Sirena"; "Sirena" is already
|
|
130912
132908
|
* bare and untouched. A parent name appearing anywhere else in the child's
|
|
130913
132909
|
* name is left alone — cutting from the middle of a string the operator typed
|
|
130914
132910
|
* would mangle it, and this function must never make a label WORSE.
|
|
@@ -141701,7 +143697,7 @@ function classifyConnection(input) {
|
|
|
141701
143697
|
*
|
|
141702
143698
|
* ## `local` takes the camera's best stream — settled by measurement
|
|
141703
143699
|
*
|
|
141704
|
-
* This function was pinned to `low` for EVERY class by one number. On
|
|
143700
|
+
* This function was pinned to `low` for EVERY class by one number. On 101/high,
|
|
141705
143701
|
* 3840x2160 pass-through:
|
|
141706
143702
|
*
|
|
141707
143703
|
* durationMs=30820 videoPacketsForwarded=93 videoKeyframes=1
|
|
@@ -141994,7 +143990,7 @@ function tiersForSensor(width, height) {
|
|
|
141994
143990
|
* Send a stream that FITS the rate HomeKit negotiated. (R5)
|
|
141995
143991
|
*
|
|
141996
143992
|
* The controller's own Receiver Reports, read on the live hub on 2026-08-06,
|
|
141997
|
-
* closed a year of guessing: one 19.27 s session on `
|
|
143993
|
+
* closed a year of guessing: one 19.27 s session on `101/mid` forwarded 737
|
|
141998
143994
|
* video packets at `mtu=1378` — roughly **421 kbps** — against a negotiated
|
|
141999
143995
|
* `max_bit_rate` of **299**, and iOS reported losing **450 of those 737
|
|
142000
143996
|
* packets (61 %)**, worst fraction lost 51.2 %, peak jitter 3.03 s. Under
|
|
@@ -142020,7 +144016,7 @@ function tiersForSensor(width, height) {
|
|
|
142020
144016
|
*
|
|
142021
144017
|
* The authority is therefore the camera's **configured** encoder rate, from
|
|
142022
144018
|
* `streamParams.getStatus` — `main` / `sub` / `ext`, each carrying the
|
|
142023
|
-
* `bitrate` the operator (or the vendor default) set. On
|
|
144019
|
+
* `bitrate` the operator (or the vendor default) set. On 101 that is
|
|
142024
144020
|
* `main 8192`, `sub 2048`, `ext 2048` kbps. It is mapped onto a profile slot
|
|
142025
144021
|
* through the slot's assigned cam-stream, matched on resolution and frame
|
|
142026
144022
|
* rate; an ambiguous or absent match is reported as **unknown**, never as a
|
|
@@ -142398,7 +144394,7 @@ function canPassThrough(codec, allowHevc) {
|
|
|
142398
144394
|
* Measured on the hub, 2026-09-17, from iOS's own Receiver Reports: two
|
|
142399
144395
|
* cameras forwarding a 3840x2160 slot to a controller that had negotiated
|
|
142400
144396
|
* 1280x720, and the busier of the two reported losing **52.7 %** of packets in
|
|
142401
|
-
* its worst window,
|
|
144397
|
+
* its worst window, 102 packets cumulative, jitter 54 618. The third camera,
|
|
142402
144398
|
* transcoded to 720p because its source is HEVC, lost one packet. The operator
|
|
142403
144399
|
* saw this as "the H.264 cameras are slower to load than the H.265 one" — and
|
|
142404
144400
|
* they were, because a 4K key frame spans hundreds of packets and losing any
|
|
@@ -142522,7 +144518,7 @@ var NO_EVIDENCE = {
|
|
|
142522
144518
|
* The last evidence that actually arrived, per device.
|
|
142523
144519
|
*
|
|
142524
144520
|
* Falling back to NO evidence on a slow read was not a neutral degradation: it
|
|
142525
|
-
* changed WHICH SLOT the picker chose. Measured on
|
|
144521
|
+
* changed WHICH SLOT the picker chose. Measured on 101 within forty seconds,
|
|
142526
144522
|
* same camera, same negotiated 1280x720:
|
|
142527
144523
|
*
|
|
142528
144524
|
* 10:22:11 mid 10 fps
|
|
@@ -145859,7 +147855,7 @@ function deriveFragmentLengthMs(sourceGopMs) {
|
|
|
145859
147855
|
* The measured rate does not go into the advertisement raw, for two reasons,
|
|
145860
147856
|
* and the second one is the serious one.
|
|
145861
147857
|
*
|
|
145862
|
-
* **It is the list the controller chooses from.** `[1280, 720, 10]` —
|
|
147858
|
+
* **It is the list the controller chooses from.** `[1280, 720, 10]` — 101's
|
|
145863
147859
|
* measured 720p slot — is a frame rate no shipping HKSV camera offers, and the
|
|
145864
147860
|
* controller has to find an acceptable configuration in what we advertise
|
|
145865
147861
|
* before it will write one back.
|
|
@@ -145872,7 +147868,7 @@ function deriveFragmentLengthMs(sourceGopMs) {
|
|
|
145872
147868
|
* accessory answers every HDS `DATA_SEND OPEN` with `INVALID_CONFIGURATION`
|
|
145873
147869
|
* and records nothing until the controller happens to re-select. The
|
|
145874
147870
|
* advertised resolution is the one hashed input that came from a probe:
|
|
145875
|
-
* camera
|
|
147871
|
+
* camera 104 measured 9 fps on one restart and 10 on the next, on
|
|
145876
147872
|
* 2026-08-07/08, so this was a self-inflicted outage waiting on a reboot.
|
|
145877
147873
|
* Quantising gives the probe a wide band to move inside without the
|
|
145878
147874
|
* advertisement changing at all.
|
|
@@ -146805,7 +148801,7 @@ async function readProfileEntries(bctx) {
|
|
|
146805
148801
|
*
|
|
146806
148802
|
* By resolution and not by name on purpose: `stream-params` names its profiles
|
|
146807
148803
|
* `main`/`sub`/`ext` while the broker names its slots `high`/`mid`/`low`, and
|
|
146808
|
-
* on
|
|
148804
|
+
* on 101 `ext` is the 1280×720 slot the broker calls `mid` — a name-based match
|
|
146809
148805
|
* would silently read the 4K slot's GOP for a 720p recording.
|
|
146810
148806
|
*
|
|
146811
148807
|
* `undefined` when the cap is not bound, which is most non-Hikvision providers.
|