@camstack/addon-provider-hikvision 1.2.172 → 1.2.174
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/addon.js +3250 -431
- package/dist/addon.mjs +3250 -431
- package/i18n/en.json +1 -0
- package/i18n/it.json +1 -0
- package/package.json +1 -1
package/dist/addon.mjs
CHANGED
|
@@ -13,7 +13,7 @@ import { Agent as Agent$1, request as request$1 } from "node:https";
|
|
|
13
13
|
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
|
|
14
14
|
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
15
15
|
//#endregion
|
|
16
|
-
//#region ../types/dist/event-category-
|
|
16
|
+
//#region ../types/dist/event-category-DHXxB8t9.mjs
|
|
17
17
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
18
18
|
EventCategory["SystemBoot"] = "system.boot";
|
|
19
19
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -309,7 +309,7 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
309
309
|
* TRANSITION into that state (never per dispatch), and the node is dropped
|
|
310
310
|
* from the placement candidate set for as long as it holds.
|
|
311
311
|
*
|
|
312
|
-
* This exists because the state was previously invisible:
|
|
312
|
+
* This exists because the state was previously invisible: agent-a
|
|
313
313
|
* absorbed 283k inference errors in a day while still being handed cameras,
|
|
314
314
|
* and nothing in the system said so.
|
|
315
315
|
*
|
|
@@ -340,9 +340,8 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
340
340
|
EventCategory["PipelineMotionCalm"] = "pipeline.motion-calm";
|
|
341
341
|
/**
|
|
342
342
|
* Per-camera pipeline config was mutated by the orchestrator
|
|
343
|
-
* (
|
|
344
|
-
* `setCameraStepToggle` / `
|
|
345
|
-
* pipeline-scoped `applyDeviceSettingsPatch`). Orchestrator
|
|
343
|
+
* (a settings change via `setAgentInferenceDevices` /
|
|
344
|
+
* `setCameraStepToggle` / `setCameraStepSettings`). Orchestrator
|
|
346
345
|
* subscribes to its own emission to hot-reload the assigned runner
|
|
347
346
|
* via `attachCamera` so the next frame executes against the new
|
|
348
347
|
* engine/steps without waiting for a rebalance or the next
|
|
@@ -486,6 +485,10 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
486
485
|
* on the device detail page.
|
|
487
486
|
*/
|
|
488
487
|
EventCategory["DoorbellOnPressed"] = "doorbell.onPressed";
|
|
488
|
+
/** Mirrors `runningStateCapability.events.onStarted`. */
|
|
489
|
+
EventCategory["RunningStarted"] = "running.started";
|
|
490
|
+
/** Mirrors `runningStateCapability.events.onFinished`. */
|
|
491
|
+
EventCategory["RunningFinished"] = "running.finished";
|
|
489
492
|
/**
|
|
490
493
|
* Cap event fired by every device that registers the `event-emitter`
|
|
491
494
|
* capability. Mirrors `eventEmitterCapability.events.onEvent`. Carries
|
|
@@ -5445,7 +5448,7 @@ var ZodIssueCode = {
|
|
|
5445
5448
|
var ZodFirstPartyTypeKind;
|
|
5446
5449
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5447
5450
|
//#endregion
|
|
5448
|
-
//#region ../types/dist/sleep-
|
|
5451
|
+
//#region ../types/dist/sleep-BErAxhul.mjs
|
|
5449
5452
|
/**
|
|
5450
5453
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5451
5454
|
* window to float samples (D455).
|
|
@@ -5784,7 +5787,7 @@ Object.fromEntries([
|
|
|
5784
5787
|
* `hydrateSchema` to skip the `value` injection for structural-only fields.
|
|
5785
5788
|
*/
|
|
5786
5789
|
function isValuelessField(field) {
|
|
5787
|
-
return field.type === "separator" || field.type === "info" || field.type === "qr-code" || field.type === "button" || field.type === "object-array" || field.type === "widget" || field.type === "addon-action-button" || field.type === "device-action-button";
|
|
5790
|
+
return field.type === "separator" || field.type === "info" || field.type === "qr-code" || field.type === "button" || field.type === "object-array" || field.type === "widget" || field.type === "addon-action-button" || field.type === "device-action-button" || field.type === "account-sign-in" || field.type === "secret-presence";
|
|
5788
5791
|
}
|
|
5789
5792
|
function hydrateSchema(schema, values, options = {}) {
|
|
5790
5793
|
return {
|
|
@@ -8480,6 +8483,1980 @@ method(object({ deviceId: number() }), array(StreamSourceEntrySchema)), method(o
|
|
|
8480
8483
|
kind: "mutation",
|
|
8481
8484
|
auth: "admin"
|
|
8482
8485
|
}), method(object({ deviceId: number() }), unknown().nullable()), method(object({ deviceId: number() }), RawStateResultSchema.nullable(), { auth: "protected" });
|
|
8486
|
+
Object.freeze({ "doorbell": "lastPressedAt" });
|
|
8487
|
+
/** Every capability name, so addon code can check a name without the schema graph. */
|
|
8488
|
+
var CAP_NAMES = Object.freeze([
|
|
8489
|
+
"accessories",
|
|
8490
|
+
"addon-pages",
|
|
8491
|
+
"addon-pages-source",
|
|
8492
|
+
"addon-routes",
|
|
8493
|
+
"addon-settings",
|
|
8494
|
+
"addon-widgets",
|
|
8495
|
+
"addon-widgets-source",
|
|
8496
|
+
"addons",
|
|
8497
|
+
"admin-ui",
|
|
8498
|
+
"air-quality-sensor",
|
|
8499
|
+
"alarm-panel",
|
|
8500
|
+
"alerts",
|
|
8501
|
+
"ambient-light-sensor",
|
|
8502
|
+
"audio-analysis",
|
|
8503
|
+
"audio-analyzer",
|
|
8504
|
+
"audio-codec",
|
|
8505
|
+
"audio-metrics",
|
|
8506
|
+
"auth-provider",
|
|
8507
|
+
"automation-control",
|
|
8508
|
+
"backup",
|
|
8509
|
+
"battery",
|
|
8510
|
+
"binary",
|
|
8511
|
+
"brightness",
|
|
8512
|
+
"broker",
|
|
8513
|
+
"button",
|
|
8514
|
+
"calendar-source",
|
|
8515
|
+
"calendars",
|
|
8516
|
+
"camera-credentials",
|
|
8517
|
+
"camera-grid-layout",
|
|
8518
|
+
"camera-pipeline-config",
|
|
8519
|
+
"camera-streams",
|
|
8520
|
+
"carbon-monoxide",
|
|
8521
|
+
"climate-control",
|
|
8522
|
+
"color",
|
|
8523
|
+
"composer",
|
|
8524
|
+
"connection-test",
|
|
8525
|
+
"connectivity",
|
|
8526
|
+
"consumables",
|
|
8527
|
+
"contact",
|
|
8528
|
+
"control",
|
|
8529
|
+
"core-blocks",
|
|
8530
|
+
"cover",
|
|
8531
|
+
"custom-model-registry",
|
|
8532
|
+
"data-store-provider",
|
|
8533
|
+
"database-snapshot",
|
|
8534
|
+
"day-night",
|
|
8535
|
+
"decoder",
|
|
8536
|
+
"detection-pipeline",
|
|
8537
|
+
"device-admin-link",
|
|
8538
|
+
"device-adoption",
|
|
8539
|
+
"device-credentials",
|
|
8540
|
+
"device-discovery",
|
|
8541
|
+
"device-export",
|
|
8542
|
+
"device-extension",
|
|
8543
|
+
"device-history",
|
|
8544
|
+
"device-manager",
|
|
8545
|
+
"device-ops",
|
|
8546
|
+
"device-provider",
|
|
8547
|
+
"device-removal-hook",
|
|
8548
|
+
"device-state",
|
|
8549
|
+
"device-status",
|
|
8550
|
+
"dishwasher",
|
|
8551
|
+
"display-palette",
|
|
8552
|
+
"doorbell",
|
|
8553
|
+
"embedding-encoder",
|
|
8554
|
+
"enum-sensor",
|
|
8555
|
+
"event-emitter",
|
|
8556
|
+
"face-gallery",
|
|
8557
|
+
"failure-contribution",
|
|
8558
|
+
"fan-control",
|
|
8559
|
+
"feature-probe",
|
|
8560
|
+
"filesystem-browse",
|
|
8561
|
+
"flood",
|
|
8562
|
+
"gas",
|
|
8563
|
+
"heating-valve",
|
|
8564
|
+
"humidifier",
|
|
8565
|
+
"humidity-sensor",
|
|
8566
|
+
"image",
|
|
8567
|
+
"image-settings",
|
|
8568
|
+
"integrations",
|
|
8569
|
+
"intercom",
|
|
8570
|
+
"keychain",
|
|
8571
|
+
"keychain-admin",
|
|
8572
|
+
"lawn-mower-control",
|
|
8573
|
+
"llm",
|
|
8574
|
+
"llm-runtime",
|
|
8575
|
+
"load-contribution",
|
|
8576
|
+
"local-network",
|
|
8577
|
+
"lock-control",
|
|
8578
|
+
"log-channels",
|
|
8579
|
+
"log-destination",
|
|
8580
|
+
"login-method",
|
|
8581
|
+
"media-player",
|
|
8582
|
+
"mesh-network",
|
|
8583
|
+
"metrics-provider",
|
|
8584
|
+
"model-convert",
|
|
8585
|
+
"model-distributor",
|
|
8586
|
+
"motion",
|
|
8587
|
+
"motion-detection",
|
|
8588
|
+
"motion-trigger",
|
|
8589
|
+
"motion-zones",
|
|
8590
|
+
"mqtt-broker",
|
|
8591
|
+
"native-object-detection",
|
|
8592
|
+
"navigation",
|
|
8593
|
+
"network-access",
|
|
8594
|
+
"network-link",
|
|
8595
|
+
"network-quality",
|
|
8596
|
+
"node-certificates",
|
|
8597
|
+
"nodes",
|
|
8598
|
+
"notification-output",
|
|
8599
|
+
"notification-rules",
|
|
8600
|
+
"notifier",
|
|
8601
|
+
"numeric-sensor",
|
|
8602
|
+
"oauth-integration",
|
|
8603
|
+
"oidc-connections",
|
|
8604
|
+
"osd",
|
|
8605
|
+
"osd-manager",
|
|
8606
|
+
"pet-feeder",
|
|
8607
|
+
"pipeline-analytics",
|
|
8608
|
+
"pipeline-executor",
|
|
8609
|
+
"pipeline-orchestrator",
|
|
8610
|
+
"pipeline-runner",
|
|
8611
|
+
"plate-gallery",
|
|
8612
|
+
"platform-probe",
|
|
8613
|
+
"power-meter",
|
|
8614
|
+
"presence",
|
|
8615
|
+
"pressure-sensor",
|
|
8616
|
+
"privacy-mask",
|
|
8617
|
+
"ptz",
|
|
8618
|
+
"ptz-autotrack",
|
|
8619
|
+
"reboot",
|
|
8620
|
+
"record-entries",
|
|
8621
|
+
"recording",
|
|
8622
|
+
"recording-archive",
|
|
8623
|
+
"recording-export",
|
|
8624
|
+
"recording-onboard",
|
|
8625
|
+
"recording-signal",
|
|
8626
|
+
"records",
|
|
8627
|
+
"running-state",
|
|
8628
|
+
"scene-monitor",
|
|
8629
|
+
"script-runner",
|
|
8630
|
+
"server-management",
|
|
8631
|
+
"settings-store",
|
|
8632
|
+
"smoke",
|
|
8633
|
+
"smtp-provider",
|
|
8634
|
+
"snapshot",
|
|
8635
|
+
"sso-bridge",
|
|
8636
|
+
"storage",
|
|
8637
|
+
"storage-admin",
|
|
8638
|
+
"storage-evictable",
|
|
8639
|
+
"storage-migration",
|
|
8640
|
+
"storage-occupancy",
|
|
8641
|
+
"storage-provider",
|
|
8642
|
+
"stream-broker",
|
|
8643
|
+
"stream-catalog",
|
|
8644
|
+
"stream-params",
|
|
8645
|
+
"stream-signals",
|
|
8646
|
+
"switch",
|
|
8647
|
+
"system",
|
|
8648
|
+
"tamper",
|
|
8649
|
+
"temperature-sensor",
|
|
8650
|
+
"terminal-session",
|
|
8651
|
+
"toast",
|
|
8652
|
+
"training",
|
|
8653
|
+
"training-provider",
|
|
8654
|
+
"turn-provider",
|
|
8655
|
+
"update",
|
|
8656
|
+
"user-management",
|
|
8657
|
+
"user-passkeys",
|
|
8658
|
+
"vacuum-control",
|
|
8659
|
+
"valve",
|
|
8660
|
+
"vector-store",
|
|
8661
|
+
"vibration",
|
|
8662
|
+
"videoclips",
|
|
8663
|
+
"viewer-ui",
|
|
8664
|
+
"water-heater",
|
|
8665
|
+
"weather",
|
|
8666
|
+
"webrtc-session",
|
|
8667
|
+
"zone-analytics",
|
|
8668
|
+
"zone-rules",
|
|
8669
|
+
"zones"
|
|
8670
|
+
]);
|
|
8671
|
+
Object.freeze({
|
|
8672
|
+
"air-quality-sensor": [
|
|
8673
|
+
{
|
|
8674
|
+
"path": "co2Ppm",
|
|
8675
|
+
"valueType": "number"
|
|
8676
|
+
},
|
|
8677
|
+
{
|
|
8678
|
+
"path": "vocPpb",
|
|
8679
|
+
"valueType": "number"
|
|
8680
|
+
},
|
|
8681
|
+
{
|
|
8682
|
+
"path": "pm25",
|
|
8683
|
+
"valueType": "number"
|
|
8684
|
+
},
|
|
8685
|
+
{
|
|
8686
|
+
"path": "pm10",
|
|
8687
|
+
"valueType": "number"
|
|
8688
|
+
},
|
|
8689
|
+
{
|
|
8690
|
+
"path": "aqi",
|
|
8691
|
+
"valueType": "number"
|
|
8692
|
+
},
|
|
8693
|
+
{
|
|
8694
|
+
"path": "unit",
|
|
8695
|
+
"valueType": "string"
|
|
8696
|
+
},
|
|
8697
|
+
{
|
|
8698
|
+
"path": "precision",
|
|
8699
|
+
"valueType": "number"
|
|
8700
|
+
}
|
|
8701
|
+
],
|
|
8702
|
+
"alarm-panel": [
|
|
8703
|
+
{
|
|
8704
|
+
"path": "state",
|
|
8705
|
+
"valueType": "enum",
|
|
8706
|
+
"enumValues": [
|
|
8707
|
+
"disarmed",
|
|
8708
|
+
"armed_home",
|
|
8709
|
+
"armed_away",
|
|
8710
|
+
"armed_night",
|
|
8711
|
+
"armed_vacation",
|
|
8712
|
+
"armed_custom_bypass",
|
|
8713
|
+
"arming",
|
|
8714
|
+
"disarming",
|
|
8715
|
+
"pending",
|
|
8716
|
+
"triggered"
|
|
8717
|
+
]
|
|
8718
|
+
},
|
|
8719
|
+
{
|
|
8720
|
+
"path": "targetMode",
|
|
8721
|
+
"valueType": "enum",
|
|
8722
|
+
"enumValues": [
|
|
8723
|
+
"home",
|
|
8724
|
+
"away",
|
|
8725
|
+
"night",
|
|
8726
|
+
"vacation",
|
|
8727
|
+
"custom_bypass"
|
|
8728
|
+
]
|
|
8729
|
+
},
|
|
8730
|
+
{
|
|
8731
|
+
"path": "requiresCode",
|
|
8732
|
+
"valueType": "boolean"
|
|
8733
|
+
}
|
|
8734
|
+
],
|
|
8735
|
+
"ambient-light-sensor": [
|
|
8736
|
+
{
|
|
8737
|
+
"path": "lux",
|
|
8738
|
+
"valueType": "number"
|
|
8739
|
+
},
|
|
8740
|
+
{
|
|
8741
|
+
"path": "unit",
|
|
8742
|
+
"valueType": "string"
|
|
8743
|
+
},
|
|
8744
|
+
{
|
|
8745
|
+
"path": "precision",
|
|
8746
|
+
"valueType": "number"
|
|
8747
|
+
}
|
|
8748
|
+
],
|
|
8749
|
+
"audio-metrics": [
|
|
8750
|
+
{
|
|
8751
|
+
"path": "ts",
|
|
8752
|
+
"valueType": "number"
|
|
8753
|
+
},
|
|
8754
|
+
{
|
|
8755
|
+
"path": "windowSec",
|
|
8756
|
+
"valueType": "number"
|
|
8757
|
+
},
|
|
8758
|
+
{
|
|
8759
|
+
"path": "level.rms",
|
|
8760
|
+
"valueType": "number"
|
|
8761
|
+
},
|
|
8762
|
+
{
|
|
8763
|
+
"path": "level.dbfs",
|
|
8764
|
+
"valueType": "number"
|
|
8765
|
+
},
|
|
8766
|
+
{
|
|
8767
|
+
"path": "peakDbfs",
|
|
8768
|
+
"valueType": "number"
|
|
8769
|
+
},
|
|
8770
|
+
{
|
|
8771
|
+
"path": "avgDbfs",
|
|
8772
|
+
"valueType": "number"
|
|
8773
|
+
},
|
|
8774
|
+
{
|
|
8775
|
+
"path": "current.className",
|
|
8776
|
+
"valueType": "string"
|
|
8777
|
+
},
|
|
8778
|
+
{
|
|
8779
|
+
"path": "current.score",
|
|
8780
|
+
"valueType": "number"
|
|
8781
|
+
},
|
|
8782
|
+
{
|
|
8783
|
+
"path": "current.timestamp",
|
|
8784
|
+
"valueType": "number"
|
|
8785
|
+
}
|
|
8786
|
+
],
|
|
8787
|
+
"automation-control": [
|
|
8788
|
+
{
|
|
8789
|
+
"path": "enabled",
|
|
8790
|
+
"valueType": "boolean"
|
|
8791
|
+
},
|
|
8792
|
+
{
|
|
8793
|
+
"path": "isRunning",
|
|
8794
|
+
"valueType": "boolean"
|
|
8795
|
+
},
|
|
8796
|
+
{
|
|
8797
|
+
"path": "lastTriggeredAt",
|
|
8798
|
+
"valueType": "number"
|
|
8799
|
+
},
|
|
8800
|
+
{
|
|
8801
|
+
"path": "lastError",
|
|
8802
|
+
"valueType": "string"
|
|
8803
|
+
}
|
|
8804
|
+
],
|
|
8805
|
+
"battery": [
|
|
8806
|
+
{
|
|
8807
|
+
"path": "percentage",
|
|
8808
|
+
"valueType": "number"
|
|
8809
|
+
},
|
|
8810
|
+
{
|
|
8811
|
+
"path": "charging",
|
|
8812
|
+
"valueType": "enum",
|
|
8813
|
+
"enumValues": [
|
|
8814
|
+
"dc",
|
|
8815
|
+
"solar",
|
|
8816
|
+
"none",
|
|
8817
|
+
"unknown"
|
|
8818
|
+
]
|
|
8819
|
+
},
|
|
8820
|
+
{
|
|
8821
|
+
"path": "sleeping",
|
|
8822
|
+
"valueType": "boolean"
|
|
8823
|
+
},
|
|
8824
|
+
{
|
|
8825
|
+
"path": "lastUpdated",
|
|
8826
|
+
"valueType": "number"
|
|
8827
|
+
},
|
|
8828
|
+
{
|
|
8829
|
+
"path": "lastContactAt",
|
|
8830
|
+
"valueType": "number"
|
|
8831
|
+
},
|
|
8832
|
+
{
|
|
8833
|
+
"path": "lastFullRefreshAt",
|
|
8834
|
+
"valueType": "number"
|
|
8835
|
+
},
|
|
8836
|
+
{
|
|
8837
|
+
"path": "binary",
|
|
8838
|
+
"valueType": "boolean"
|
|
8839
|
+
}
|
|
8840
|
+
],
|
|
8841
|
+
"binary": [{
|
|
8842
|
+
"path": "on",
|
|
8843
|
+
"valueType": "boolean"
|
|
8844
|
+
}],
|
|
8845
|
+
"brightness": [{
|
|
8846
|
+
"path": "percentage",
|
|
8847
|
+
"valueType": "number"
|
|
8848
|
+
}],
|
|
8849
|
+
"broker": [{
|
|
8850
|
+
"path": "brokerCount",
|
|
8851
|
+
"valueType": "number"
|
|
8852
|
+
}, {
|
|
8853
|
+
"path": "connectedCount",
|
|
8854
|
+
"valueType": "number"
|
|
8855
|
+
}],
|
|
8856
|
+
"camera-credentials": [
|
|
8857
|
+
{
|
|
8858
|
+
"path": "host",
|
|
8859
|
+
"valueType": "string"
|
|
8860
|
+
},
|
|
8861
|
+
{
|
|
8862
|
+
"path": "port",
|
|
8863
|
+
"valueType": "number"
|
|
8864
|
+
},
|
|
8865
|
+
{
|
|
8866
|
+
"path": "onvifPort",
|
|
8867
|
+
"valueType": "number"
|
|
8868
|
+
},
|
|
8869
|
+
{
|
|
8870
|
+
"path": "rtspPort",
|
|
8871
|
+
"valueType": "number"
|
|
8872
|
+
},
|
|
8873
|
+
{
|
|
8874
|
+
"path": "https",
|
|
8875
|
+
"valueType": "boolean"
|
|
8876
|
+
},
|
|
8877
|
+
{
|
|
8878
|
+
"path": "hasUsername",
|
|
8879
|
+
"valueType": "boolean"
|
|
8880
|
+
},
|
|
8881
|
+
{
|
|
8882
|
+
"path": "hasPassword",
|
|
8883
|
+
"valueType": "boolean"
|
|
8884
|
+
},
|
|
8885
|
+
{
|
|
8886
|
+
"path": "onvifProfile",
|
|
8887
|
+
"valueType": "string"
|
|
8888
|
+
}
|
|
8889
|
+
],
|
|
8890
|
+
"camera-streams": [
|
|
8891
|
+
{
|
|
8892
|
+
"path": "online",
|
|
8893
|
+
"valueType": "boolean"
|
|
8894
|
+
},
|
|
8895
|
+
{
|
|
8896
|
+
"path": "slotStatuses.high",
|
|
8897
|
+
"valueType": "enum",
|
|
8898
|
+
"enumValues": [
|
|
8899
|
+
"unassigned",
|
|
8900
|
+
"idle",
|
|
8901
|
+
"connecting",
|
|
8902
|
+
"streaming",
|
|
8903
|
+
"error"
|
|
8904
|
+
]
|
|
8905
|
+
},
|
|
8906
|
+
{
|
|
8907
|
+
"path": "slotStatuses.mid",
|
|
8908
|
+
"valueType": "enum",
|
|
8909
|
+
"enumValues": [
|
|
8910
|
+
"unassigned",
|
|
8911
|
+
"idle",
|
|
8912
|
+
"connecting",
|
|
8913
|
+
"streaming",
|
|
8914
|
+
"error"
|
|
8915
|
+
]
|
|
8916
|
+
},
|
|
8917
|
+
{
|
|
8918
|
+
"path": "slotStatuses.low",
|
|
8919
|
+
"valueType": "enum",
|
|
8920
|
+
"enumValues": [
|
|
8921
|
+
"unassigned",
|
|
8922
|
+
"idle",
|
|
8923
|
+
"connecting",
|
|
8924
|
+
"streaming",
|
|
8925
|
+
"error"
|
|
8926
|
+
]
|
|
8927
|
+
},
|
|
8928
|
+
{
|
|
8929
|
+
"path": "slotErrors.high",
|
|
8930
|
+
"valueType": "string"
|
|
8931
|
+
},
|
|
8932
|
+
{
|
|
8933
|
+
"path": "slotErrors.mid",
|
|
8934
|
+
"valueType": "string"
|
|
8935
|
+
},
|
|
8936
|
+
{
|
|
8937
|
+
"path": "slotErrors.low",
|
|
8938
|
+
"valueType": "string"
|
|
8939
|
+
}
|
|
8940
|
+
],
|
|
8941
|
+
"carbon-monoxide": [{
|
|
8942
|
+
"path": "detected",
|
|
8943
|
+
"valueType": "boolean"
|
|
8944
|
+
}],
|
|
8945
|
+
"climate-control": [
|
|
8946
|
+
{
|
|
8947
|
+
"path": "mode",
|
|
8948
|
+
"valueType": "enum",
|
|
8949
|
+
"enumValues": [
|
|
8950
|
+
"off",
|
|
8951
|
+
"heat",
|
|
8952
|
+
"cool",
|
|
8953
|
+
"auto",
|
|
8954
|
+
"heat_cool",
|
|
8955
|
+
"fan_only",
|
|
8956
|
+
"dry"
|
|
8957
|
+
]
|
|
8958
|
+
},
|
|
8959
|
+
{
|
|
8960
|
+
"path": "fanMode",
|
|
8961
|
+
"valueType": "string"
|
|
8962
|
+
},
|
|
8963
|
+
{
|
|
8964
|
+
"path": "preset",
|
|
8965
|
+
"valueType": "string"
|
|
8966
|
+
},
|
|
8967
|
+
{
|
|
8968
|
+
"path": "target",
|
|
8969
|
+
"valueType": "number"
|
|
8970
|
+
},
|
|
8971
|
+
{
|
|
8972
|
+
"path": "targetHigh",
|
|
8973
|
+
"valueType": "number"
|
|
8974
|
+
},
|
|
8975
|
+
{
|
|
8976
|
+
"path": "targetLow",
|
|
8977
|
+
"valueType": "number"
|
|
8978
|
+
},
|
|
8979
|
+
{
|
|
8980
|
+
"path": "targetHumidity",
|
|
8981
|
+
"valueType": "number"
|
|
8982
|
+
},
|
|
8983
|
+
{
|
|
8984
|
+
"path": "currentTemp",
|
|
8985
|
+
"valueType": "number"
|
|
8986
|
+
},
|
|
8987
|
+
{
|
|
8988
|
+
"path": "currentHumidity",
|
|
8989
|
+
"valueType": "number"
|
|
8990
|
+
},
|
|
8991
|
+
{
|
|
8992
|
+
"path": "swingVertical",
|
|
8993
|
+
"valueType": "boolean"
|
|
8994
|
+
},
|
|
8995
|
+
{
|
|
8996
|
+
"path": "swingHorizontal",
|
|
8997
|
+
"valueType": "boolean"
|
|
8998
|
+
},
|
|
8999
|
+
{
|
|
9000
|
+
"path": "minTemp",
|
|
9001
|
+
"valueType": "number"
|
|
9002
|
+
},
|
|
9003
|
+
{
|
|
9004
|
+
"path": "maxTemp",
|
|
9005
|
+
"valueType": "number"
|
|
9006
|
+
},
|
|
9007
|
+
{
|
|
9008
|
+
"path": "tempStep",
|
|
9009
|
+
"valueType": "number"
|
|
9010
|
+
}
|
|
9011
|
+
],
|
|
9012
|
+
"color": [
|
|
9013
|
+
{
|
|
9014
|
+
"path": "mode",
|
|
9015
|
+
"valueType": "enum",
|
|
9016
|
+
"enumValues": [
|
|
9017
|
+
"rgb",
|
|
9018
|
+
"hsv",
|
|
9019
|
+
"mired"
|
|
9020
|
+
]
|
|
9021
|
+
},
|
|
9022
|
+
{
|
|
9023
|
+
"path": "rgb.r",
|
|
9024
|
+
"valueType": "number"
|
|
9025
|
+
},
|
|
9026
|
+
{
|
|
9027
|
+
"path": "rgb.g",
|
|
9028
|
+
"valueType": "number"
|
|
9029
|
+
},
|
|
9030
|
+
{
|
|
9031
|
+
"path": "rgb.b",
|
|
9032
|
+
"valueType": "number"
|
|
9033
|
+
},
|
|
9034
|
+
{
|
|
9035
|
+
"path": "hsv.h",
|
|
9036
|
+
"valueType": "number"
|
|
9037
|
+
},
|
|
9038
|
+
{
|
|
9039
|
+
"path": "hsv.s",
|
|
9040
|
+
"valueType": "number"
|
|
9041
|
+
},
|
|
9042
|
+
{
|
|
9043
|
+
"path": "hsv.v",
|
|
9044
|
+
"valueType": "number"
|
|
9045
|
+
},
|
|
9046
|
+
{
|
|
9047
|
+
"path": "mireds",
|
|
9048
|
+
"valueType": "number"
|
|
9049
|
+
}
|
|
9050
|
+
],
|
|
9051
|
+
"connectivity": [{
|
|
9052
|
+
"path": "connected",
|
|
9053
|
+
"valueType": "boolean"
|
|
9054
|
+
}],
|
|
9055
|
+
"contact": [{
|
|
9056
|
+
"path": "entryOpen",
|
|
9057
|
+
"valueType": "boolean"
|
|
9058
|
+
}],
|
|
9059
|
+
"control": [
|
|
9060
|
+
{
|
|
9061
|
+
"path": "kind",
|
|
9062
|
+
"valueType": "enum",
|
|
9063
|
+
"enumValues": [
|
|
9064
|
+
"numeric",
|
|
9065
|
+
"select",
|
|
9066
|
+
"text",
|
|
9067
|
+
"datetime"
|
|
9068
|
+
]
|
|
9069
|
+
},
|
|
9070
|
+
{
|
|
9071
|
+
"path": "unit",
|
|
9072
|
+
"valueType": "string"
|
|
9073
|
+
},
|
|
9074
|
+
{
|
|
9075
|
+
"path": "min",
|
|
9076
|
+
"valueType": "number"
|
|
9077
|
+
},
|
|
9078
|
+
{
|
|
9079
|
+
"path": "max",
|
|
9080
|
+
"valueType": "number"
|
|
9081
|
+
},
|
|
9082
|
+
{
|
|
9083
|
+
"path": "step",
|
|
9084
|
+
"valueType": "number"
|
|
9085
|
+
},
|
|
9086
|
+
{
|
|
9087
|
+
"path": "precision",
|
|
9088
|
+
"valueType": "number"
|
|
9089
|
+
},
|
|
9090
|
+
{
|
|
9091
|
+
"path": "format",
|
|
9092
|
+
"valueType": "enum",
|
|
9093
|
+
"enumValues": [
|
|
9094
|
+
"date",
|
|
9095
|
+
"time",
|
|
9096
|
+
"datetime"
|
|
9097
|
+
]
|
|
9098
|
+
}
|
|
9099
|
+
],
|
|
9100
|
+
"cover": [
|
|
9101
|
+
{
|
|
9102
|
+
"path": "state",
|
|
9103
|
+
"valueType": "enum",
|
|
9104
|
+
"enumValues": [
|
|
9105
|
+
"open",
|
|
9106
|
+
"opening",
|
|
9107
|
+
"closing",
|
|
9108
|
+
"closed",
|
|
9109
|
+
"stopped"
|
|
9110
|
+
]
|
|
9111
|
+
},
|
|
9112
|
+
{
|
|
9113
|
+
"path": "position",
|
|
9114
|
+
"valueType": "number"
|
|
9115
|
+
},
|
|
9116
|
+
{
|
|
9117
|
+
"path": "tiltPosition",
|
|
9118
|
+
"valueType": "number"
|
|
9119
|
+
}
|
|
9120
|
+
],
|
|
9121
|
+
"day-night": [
|
|
9122
|
+
{
|
|
9123
|
+
"path": "mode",
|
|
9124
|
+
"valueType": "enum",
|
|
9125
|
+
"enumValues": [
|
|
9126
|
+
"auto",
|
|
9127
|
+
"day",
|
|
9128
|
+
"night",
|
|
9129
|
+
"schedule"
|
|
9130
|
+
]
|
|
9131
|
+
},
|
|
9132
|
+
{
|
|
9133
|
+
"path": "sensitivity",
|
|
9134
|
+
"valueType": "number"
|
|
9135
|
+
},
|
|
9136
|
+
{
|
|
9137
|
+
"path": "switchDelaySec",
|
|
9138
|
+
"valueType": "number"
|
|
9139
|
+
}
|
|
9140
|
+
],
|
|
9141
|
+
"device-adoption": [
|
|
9142
|
+
{
|
|
9143
|
+
"path": "lastDiscoveryAt",
|
|
9144
|
+
"valueType": "number"
|
|
9145
|
+
},
|
|
9146
|
+
{
|
|
9147
|
+
"path": "candidateCount",
|
|
9148
|
+
"valueType": "number"
|
|
9149
|
+
},
|
|
9150
|
+
{
|
|
9151
|
+
"path": "adoptedCount",
|
|
9152
|
+
"valueType": "number"
|
|
9153
|
+
},
|
|
9154
|
+
{
|
|
9155
|
+
"path": "lastError",
|
|
9156
|
+
"valueType": "string"
|
|
9157
|
+
}
|
|
9158
|
+
],
|
|
9159
|
+
"device-discovery": [{
|
|
9160
|
+
"path": "lastDiscoveryAt",
|
|
9161
|
+
"valueType": "number"
|
|
9162
|
+
}, {
|
|
9163
|
+
"path": "lastError",
|
|
9164
|
+
"valueType": "string"
|
|
9165
|
+
}],
|
|
9166
|
+
"device-export": [
|
|
9167
|
+
{
|
|
9168
|
+
"path": "linkState",
|
|
9169
|
+
"valueType": "enum",
|
|
9170
|
+
"enumValues": [
|
|
9171
|
+
"unlinked",
|
|
9172
|
+
"linked",
|
|
9173
|
+
"error"
|
|
9174
|
+
]
|
|
9175
|
+
},
|
|
9176
|
+
{
|
|
9177
|
+
"path": "exposedDeviceCount",
|
|
9178
|
+
"valueType": "number"
|
|
9179
|
+
},
|
|
9180
|
+
{
|
|
9181
|
+
"path": "error",
|
|
9182
|
+
"valueType": "string"
|
|
9183
|
+
},
|
|
9184
|
+
{
|
|
9185
|
+
"path": "setup.qr",
|
|
9186
|
+
"valueType": "string"
|
|
9187
|
+
},
|
|
9188
|
+
{
|
|
9189
|
+
"path": "setup.note",
|
|
9190
|
+
"valueType": "string"
|
|
9191
|
+
}
|
|
9192
|
+
],
|
|
9193
|
+
"device-status": [{
|
|
9194
|
+
"path": "online",
|
|
9195
|
+
"valueType": "boolean"
|
|
9196
|
+
}],
|
|
9197
|
+
"dishwasher": [
|
|
9198
|
+
{
|
|
9199
|
+
"path": "availability",
|
|
9200
|
+
"valueType": "enum",
|
|
9201
|
+
"enumValues": [
|
|
9202
|
+
"available",
|
|
9203
|
+
"offline",
|
|
9204
|
+
"description-missing"
|
|
9205
|
+
]
|
|
9206
|
+
},
|
|
9207
|
+
{
|
|
9208
|
+
"path": "state",
|
|
9209
|
+
"valueType": "enum",
|
|
9210
|
+
"enumValues": [
|
|
9211
|
+
"idle",
|
|
9212
|
+
"running",
|
|
9213
|
+
"paused",
|
|
9214
|
+
"finished",
|
|
9215
|
+
"error",
|
|
9216
|
+
"unavailable"
|
|
9217
|
+
]
|
|
9218
|
+
},
|
|
9219
|
+
{
|
|
9220
|
+
"path": "operationState",
|
|
9221
|
+
"valueType": "enum",
|
|
9222
|
+
"enumValues": [
|
|
9223
|
+
"Inactive",
|
|
9224
|
+
"Ready",
|
|
9225
|
+
"DelayedStart",
|
|
9226
|
+
"Run",
|
|
9227
|
+
"Pause",
|
|
9228
|
+
"ActionRequired",
|
|
9229
|
+
"Finished",
|
|
9230
|
+
"Error",
|
|
9231
|
+
"Aborting"
|
|
9232
|
+
]
|
|
9233
|
+
},
|
|
9234
|
+
{
|
|
9235
|
+
"path": "program",
|
|
9236
|
+
"valueType": "string"
|
|
9237
|
+
},
|
|
9238
|
+
{
|
|
9239
|
+
"path": "selectedProgram",
|
|
9240
|
+
"valueType": "string"
|
|
9241
|
+
},
|
|
9242
|
+
{
|
|
9243
|
+
"path": "remainingSeconds",
|
|
9244
|
+
"valueType": "number"
|
|
9245
|
+
},
|
|
9246
|
+
{
|
|
9247
|
+
"path": "delayedStartSeconds",
|
|
9248
|
+
"valueType": "number"
|
|
9249
|
+
},
|
|
9250
|
+
{
|
|
9251
|
+
"path": "progressPercent",
|
|
9252
|
+
"valueType": "number"
|
|
9253
|
+
},
|
|
9254
|
+
{
|
|
9255
|
+
"path": "doorOpen",
|
|
9256
|
+
"valueType": "boolean"
|
|
9257
|
+
},
|
|
9258
|
+
{
|
|
9259
|
+
"path": "doorLocked",
|
|
9260
|
+
"valueType": "boolean"
|
|
9261
|
+
},
|
|
9262
|
+
{
|
|
9263
|
+
"path": "remoteStartAllowed",
|
|
9264
|
+
"valueType": "boolean"
|
|
9265
|
+
},
|
|
9266
|
+
{
|
|
9267
|
+
"path": "remoteControlActive",
|
|
9268
|
+
"valueType": "boolean"
|
|
9269
|
+
},
|
|
9270
|
+
{
|
|
9271
|
+
"path": "localControlActive",
|
|
9272
|
+
"valueType": "boolean"
|
|
9273
|
+
},
|
|
9274
|
+
{
|
|
9275
|
+
"path": "powerOn",
|
|
9276
|
+
"valueType": "boolean"
|
|
9277
|
+
},
|
|
9278
|
+
{
|
|
9279
|
+
"path": "powerState",
|
|
9280
|
+
"valueType": "string"
|
|
9281
|
+
},
|
|
9282
|
+
{
|
|
9283
|
+
"path": "filterCleaningDue",
|
|
9284
|
+
"valueType": "boolean"
|
|
9285
|
+
},
|
|
9286
|
+
{
|
|
9287
|
+
"path": "machineCareDue",
|
|
9288
|
+
"valueType": "boolean"
|
|
9289
|
+
},
|
|
9290
|
+
{
|
|
9291
|
+
"path": "machineCareRemainingRuns",
|
|
9292
|
+
"valueType": "number"
|
|
9293
|
+
},
|
|
9294
|
+
{
|
|
9295
|
+
"path": "halfLoad",
|
|
9296
|
+
"valueType": "boolean"
|
|
9297
|
+
},
|
|
9298
|
+
{
|
|
9299
|
+
"path": "hygienePlus",
|
|
9300
|
+
"valueType": "boolean"
|
|
9301
|
+
},
|
|
9302
|
+
{
|
|
9303
|
+
"path": "extraDry",
|
|
9304
|
+
"valueType": "boolean"
|
|
9305
|
+
},
|
|
9306
|
+
{
|
|
9307
|
+
"path": "intensiveZone",
|
|
9308
|
+
"valueType": "boolean"
|
|
9309
|
+
},
|
|
9310
|
+
{
|
|
9311
|
+
"path": "varioSpeedPlus",
|
|
9312
|
+
"valueType": "boolean"
|
|
9313
|
+
},
|
|
9314
|
+
{
|
|
9315
|
+
"path": "childLock",
|
|
9316
|
+
"valueType": "boolean"
|
|
9317
|
+
},
|
|
9318
|
+
{
|
|
9319
|
+
"path": "errorCode",
|
|
9320
|
+
"valueType": "number"
|
|
9321
|
+
},
|
|
9322
|
+
{
|
|
9323
|
+
"path": "errorLabel",
|
|
9324
|
+
"valueType": "string"
|
|
9325
|
+
}
|
|
9326
|
+
],
|
|
9327
|
+
"doorbell": [{
|
|
9328
|
+
"path": "lastPressedAt",
|
|
9329
|
+
"valueType": "number"
|
|
9330
|
+
}, {
|
|
9331
|
+
"path": "pressCountSinceStart",
|
|
9332
|
+
"valueType": "number"
|
|
9333
|
+
}],
|
|
9334
|
+
"enum-sensor": [{
|
|
9335
|
+
"path": "value",
|
|
9336
|
+
"valueType": "string"
|
|
9337
|
+
}, {
|
|
9338
|
+
"path": "format",
|
|
9339
|
+
"valueType": "enum",
|
|
9340
|
+
"enumValues": [
|
|
9341
|
+
"date",
|
|
9342
|
+
"time",
|
|
9343
|
+
"datetime"
|
|
9344
|
+
]
|
|
9345
|
+
}],
|
|
9346
|
+
"event-emitter": [
|
|
9347
|
+
{
|
|
9348
|
+
"path": "lastEvent.deviceId",
|
|
9349
|
+
"valueType": "number"
|
|
9350
|
+
},
|
|
9351
|
+
{
|
|
9352
|
+
"path": "lastEvent.eventType",
|
|
9353
|
+
"valueType": "string"
|
|
9354
|
+
},
|
|
9355
|
+
{
|
|
9356
|
+
"path": "lastEvent.timestamp",
|
|
9357
|
+
"valueType": "number"
|
|
9358
|
+
},
|
|
9359
|
+
{
|
|
9360
|
+
"path": "lastEvent.seq",
|
|
9361
|
+
"valueType": "number"
|
|
9362
|
+
},
|
|
9363
|
+
{
|
|
9364
|
+
"path": "eventCountSinceStart",
|
|
9365
|
+
"valueType": "number"
|
|
9366
|
+
}
|
|
9367
|
+
],
|
|
9368
|
+
"fan-control": [
|
|
9369
|
+
{
|
|
9370
|
+
"path": "percentage",
|
|
9371
|
+
"valueType": "number"
|
|
9372
|
+
},
|
|
9373
|
+
{
|
|
9374
|
+
"path": "percentageStep",
|
|
9375
|
+
"valueType": "number"
|
|
9376
|
+
},
|
|
9377
|
+
{
|
|
9378
|
+
"path": "preset",
|
|
9379
|
+
"valueType": "string"
|
|
9380
|
+
},
|
|
9381
|
+
{
|
|
9382
|
+
"path": "direction",
|
|
9383
|
+
"valueType": "enum",
|
|
9384
|
+
"enumValues": ["forward", "reverse"]
|
|
9385
|
+
},
|
|
9386
|
+
{
|
|
9387
|
+
"path": "oscillating",
|
|
9388
|
+
"valueType": "boolean"
|
|
9389
|
+
}
|
|
9390
|
+
],
|
|
9391
|
+
"feature-probe": [
|
|
9392
|
+
{
|
|
9393
|
+
"path": "deviceType",
|
|
9394
|
+
"valueType": "string"
|
|
9395
|
+
},
|
|
9396
|
+
{
|
|
9397
|
+
"path": "model",
|
|
9398
|
+
"valueType": "string"
|
|
9399
|
+
},
|
|
9400
|
+
{
|
|
9401
|
+
"path": "channelCount",
|
|
9402
|
+
"valueType": "number"
|
|
9403
|
+
},
|
|
9404
|
+
{
|
|
9405
|
+
"path": "lastProbedAt",
|
|
9406
|
+
"valueType": "number"
|
|
9407
|
+
}
|
|
9408
|
+
],
|
|
9409
|
+
"flood": [{
|
|
9410
|
+
"path": "flooded",
|
|
9411
|
+
"valueType": "boolean"
|
|
9412
|
+
}],
|
|
9413
|
+
"gas": [{
|
|
9414
|
+
"path": "detected",
|
|
9415
|
+
"valueType": "boolean"
|
|
9416
|
+
}],
|
|
9417
|
+
"heating-valve": [{
|
|
9418
|
+
"path": "position",
|
|
9419
|
+
"valueType": "number"
|
|
9420
|
+
}],
|
|
9421
|
+
"humidifier": [
|
|
9422
|
+
{
|
|
9423
|
+
"path": "on",
|
|
9424
|
+
"valueType": "boolean"
|
|
9425
|
+
},
|
|
9426
|
+
{
|
|
9427
|
+
"path": "currentHumidity",
|
|
9428
|
+
"valueType": "number"
|
|
9429
|
+
},
|
|
9430
|
+
{
|
|
9431
|
+
"path": "targetHumidity",
|
|
9432
|
+
"valueType": "number"
|
|
9433
|
+
},
|
|
9434
|
+
{
|
|
9435
|
+
"path": "mode",
|
|
9436
|
+
"valueType": "string"
|
|
9437
|
+
},
|
|
9438
|
+
{
|
|
9439
|
+
"path": "action",
|
|
9440
|
+
"valueType": "string"
|
|
9441
|
+
},
|
|
9442
|
+
{
|
|
9443
|
+
"path": "minHumidity",
|
|
9444
|
+
"valueType": "number"
|
|
9445
|
+
},
|
|
9446
|
+
{
|
|
9447
|
+
"path": "maxHumidity",
|
|
9448
|
+
"valueType": "number"
|
|
9449
|
+
}
|
|
9450
|
+
],
|
|
9451
|
+
"humidity-sensor": [
|
|
9452
|
+
{
|
|
9453
|
+
"path": "percent",
|
|
9454
|
+
"valueType": "number"
|
|
9455
|
+
},
|
|
9456
|
+
{
|
|
9457
|
+
"path": "unit",
|
|
9458
|
+
"valueType": "string"
|
|
9459
|
+
},
|
|
9460
|
+
{
|
|
9461
|
+
"path": "precision",
|
|
9462
|
+
"valueType": "number"
|
|
9463
|
+
}
|
|
9464
|
+
],
|
|
9465
|
+
"image": [{
|
|
9466
|
+
"path": "url",
|
|
9467
|
+
"valueType": "string"
|
|
9468
|
+
}, {
|
|
9469
|
+
"path": "lastUpdated",
|
|
9470
|
+
"valueType": "number"
|
|
9471
|
+
}],
|
|
9472
|
+
"image-settings": [
|
|
9473
|
+
{
|
|
9474
|
+
"path": "brightness",
|
|
9475
|
+
"valueType": "number"
|
|
9476
|
+
},
|
|
9477
|
+
{
|
|
9478
|
+
"path": "contrast",
|
|
9479
|
+
"valueType": "number"
|
|
9480
|
+
},
|
|
9481
|
+
{
|
|
9482
|
+
"path": "saturation",
|
|
9483
|
+
"valueType": "number"
|
|
9484
|
+
},
|
|
9485
|
+
{
|
|
9486
|
+
"path": "sharpness",
|
|
9487
|
+
"valueType": "number"
|
|
9488
|
+
},
|
|
9489
|
+
{
|
|
9490
|
+
"path": "mirror",
|
|
9491
|
+
"valueType": "boolean"
|
|
9492
|
+
},
|
|
9493
|
+
{
|
|
9494
|
+
"path": "flip",
|
|
9495
|
+
"valueType": "boolean"
|
|
9496
|
+
},
|
|
9497
|
+
{
|
|
9498
|
+
"path": "rotate",
|
|
9499
|
+
"valueType": "enum",
|
|
9500
|
+
"enumValues": [
|
|
9501
|
+
"0",
|
|
9502
|
+
"90",
|
|
9503
|
+
"180",
|
|
9504
|
+
"270"
|
|
9505
|
+
]
|
|
9506
|
+
},
|
|
9507
|
+
{
|
|
9508
|
+
"path": "whiteBalance",
|
|
9509
|
+
"valueType": "enum",
|
|
9510
|
+
"enumValues": ["auto", "manual"]
|
|
9511
|
+
},
|
|
9512
|
+
{
|
|
9513
|
+
"path": "warmth",
|
|
9514
|
+
"valueType": "number"
|
|
9515
|
+
},
|
|
9516
|
+
{
|
|
9517
|
+
"path": "exposureMode",
|
|
9518
|
+
"valueType": "enum",
|
|
9519
|
+
"enumValues": ["auto", "manual"]
|
|
9520
|
+
},
|
|
9521
|
+
{
|
|
9522
|
+
"path": "backlightMode",
|
|
9523
|
+
"valueType": "enum",
|
|
9524
|
+
"enumValues": [
|
|
9525
|
+
"off",
|
|
9526
|
+
"blc",
|
|
9527
|
+
"wdr",
|
|
9528
|
+
"hlc"
|
|
9529
|
+
]
|
|
9530
|
+
}
|
|
9531
|
+
],
|
|
9532
|
+
"intercom": [
|
|
9533
|
+
{
|
|
9534
|
+
"path": "talking",
|
|
9535
|
+
"valueType": "boolean"
|
|
9536
|
+
},
|
|
9537
|
+
{
|
|
9538
|
+
"path": "lastSessionAt",
|
|
9539
|
+
"valueType": "number"
|
|
9540
|
+
},
|
|
9541
|
+
{
|
|
9542
|
+
"path": "ability.sampleRate",
|
|
9543
|
+
"valueType": "number"
|
|
9544
|
+
},
|
|
9545
|
+
{
|
|
9546
|
+
"path": "ability.duplex",
|
|
9547
|
+
"valueType": "enum",
|
|
9548
|
+
"enumValues": ["half", "full"]
|
|
9549
|
+
},
|
|
9550
|
+
{
|
|
9551
|
+
"path": "ability.maxBacklogMs",
|
|
9552
|
+
"valueType": "number"
|
|
9553
|
+
}
|
|
9554
|
+
],
|
|
9555
|
+
"lawn-mower-control": [
|
|
9556
|
+
{
|
|
9557
|
+
"path": "activity",
|
|
9558
|
+
"valueType": "enum",
|
|
9559
|
+
"enumValues": [
|
|
9560
|
+
"idle",
|
|
9561
|
+
"mowing",
|
|
9562
|
+
"paused",
|
|
9563
|
+
"docked",
|
|
9564
|
+
"error"
|
|
9565
|
+
]
|
|
9566
|
+
},
|
|
9567
|
+
{
|
|
9568
|
+
"path": "batteryLevel",
|
|
9569
|
+
"valueType": "number"
|
|
9570
|
+
},
|
|
9571
|
+
{
|
|
9572
|
+
"path": "progressPercent",
|
|
9573
|
+
"valueType": "number"
|
|
9574
|
+
},
|
|
9575
|
+
{
|
|
9576
|
+
"path": "currentCode",
|
|
9577
|
+
"valueType": "number"
|
|
9578
|
+
},
|
|
9579
|
+
{
|
|
9580
|
+
"path": "currentCodeLabel",
|
|
9581
|
+
"valueType": "string"
|
|
9582
|
+
},
|
|
9583
|
+
{
|
|
9584
|
+
"path": "severity",
|
|
9585
|
+
"valueType": "enum",
|
|
9586
|
+
"enumValues": [
|
|
9587
|
+
"info",
|
|
9588
|
+
"warning",
|
|
9589
|
+
"error"
|
|
9590
|
+
]
|
|
9591
|
+
}
|
|
9592
|
+
],
|
|
9593
|
+
"lock-control": [{
|
|
9594
|
+
"path": "state",
|
|
9595
|
+
"valueType": "enum",
|
|
9596
|
+
"enumValues": [
|
|
9597
|
+
"locked",
|
|
9598
|
+
"unlocked",
|
|
9599
|
+
"locking",
|
|
9600
|
+
"unlocking",
|
|
9601
|
+
"jammed"
|
|
9602
|
+
]
|
|
9603
|
+
}],
|
|
9604
|
+
"media-player": [
|
|
9605
|
+
{
|
|
9606
|
+
"path": "state",
|
|
9607
|
+
"valueType": "enum",
|
|
9608
|
+
"enumValues": [
|
|
9609
|
+
"off",
|
|
9610
|
+
"on",
|
|
9611
|
+
"idle",
|
|
9612
|
+
"playing",
|
|
9613
|
+
"paused",
|
|
9614
|
+
"buffering",
|
|
9615
|
+
"standby"
|
|
9616
|
+
]
|
|
9617
|
+
},
|
|
9618
|
+
{
|
|
9619
|
+
"path": "volumeLevel",
|
|
9620
|
+
"valueType": "number"
|
|
9621
|
+
},
|
|
9622
|
+
{
|
|
9623
|
+
"path": "isMuted",
|
|
9624
|
+
"valueType": "boolean"
|
|
9625
|
+
},
|
|
9626
|
+
{
|
|
9627
|
+
"path": "source",
|
|
9628
|
+
"valueType": "string"
|
|
9629
|
+
},
|
|
9630
|
+
{
|
|
9631
|
+
"path": "currentMedia.type",
|
|
9632
|
+
"valueType": "string"
|
|
9633
|
+
},
|
|
9634
|
+
{
|
|
9635
|
+
"path": "currentMedia.title",
|
|
9636
|
+
"valueType": "string"
|
|
9637
|
+
},
|
|
9638
|
+
{
|
|
9639
|
+
"path": "currentMedia.artist",
|
|
9640
|
+
"valueType": "string"
|
|
9641
|
+
},
|
|
9642
|
+
{
|
|
9643
|
+
"path": "currentMedia.album",
|
|
9644
|
+
"valueType": "string"
|
|
9645
|
+
},
|
|
9646
|
+
{
|
|
9647
|
+
"path": "currentMedia.imageUrl",
|
|
9648
|
+
"valueType": "string"
|
|
9649
|
+
},
|
|
9650
|
+
{
|
|
9651
|
+
"path": "positionMs",
|
|
9652
|
+
"valueType": "number"
|
|
9653
|
+
},
|
|
9654
|
+
{
|
|
9655
|
+
"path": "durationMs",
|
|
9656
|
+
"valueType": "number"
|
|
9657
|
+
},
|
|
9658
|
+
{
|
|
9659
|
+
"path": "shuffle",
|
|
9660
|
+
"valueType": "boolean"
|
|
9661
|
+
},
|
|
9662
|
+
{
|
|
9663
|
+
"path": "repeat",
|
|
9664
|
+
"valueType": "enum",
|
|
9665
|
+
"enumValues": [
|
|
9666
|
+
"off",
|
|
9667
|
+
"all",
|
|
9668
|
+
"one"
|
|
9669
|
+
]
|
|
9670
|
+
}
|
|
9671
|
+
],
|
|
9672
|
+
"motion": [
|
|
9673
|
+
{
|
|
9674
|
+
"path": "detected",
|
|
9675
|
+
"valueType": "boolean"
|
|
9676
|
+
},
|
|
9677
|
+
{
|
|
9678
|
+
"path": "lastDetectedAt",
|
|
9679
|
+
"valueType": "number"
|
|
9680
|
+
},
|
|
9681
|
+
{
|
|
9682
|
+
"path": "autoClearAfterMs",
|
|
9683
|
+
"valueType": "number"
|
|
9684
|
+
}
|
|
9685
|
+
],
|
|
9686
|
+
"motion-trigger": [{
|
|
9687
|
+
"path": "enabled",
|
|
9688
|
+
"valueType": "boolean"
|
|
9689
|
+
}],
|
|
9690
|
+
"motion-zones": [{
|
|
9691
|
+
"path": "enabled",
|
|
9692
|
+
"valueType": "boolean"
|
|
9693
|
+
}, {
|
|
9694
|
+
"path": "sensitivity",
|
|
9695
|
+
"valueType": "number"
|
|
9696
|
+
}],
|
|
9697
|
+
"mqtt-broker": [{
|
|
9698
|
+
"path": "brokerCount",
|
|
9699
|
+
"valueType": "number"
|
|
9700
|
+
}, {
|
|
9701
|
+
"path": "embeddedRunning",
|
|
9702
|
+
"valueType": "boolean"
|
|
9703
|
+
}],
|
|
9704
|
+
"native-object-detection": [{
|
|
9705
|
+
"path": "enabled",
|
|
9706
|
+
"valueType": "boolean"
|
|
9707
|
+
}],
|
|
9708
|
+
"navigation": [
|
|
9709
|
+
{
|
|
9710
|
+
"path": "mode",
|
|
9711
|
+
"valueType": "enum",
|
|
9712
|
+
"enumValues": [
|
|
9713
|
+
"idle",
|
|
9714
|
+
"cleaning",
|
|
9715
|
+
"spot",
|
|
9716
|
+
"following",
|
|
9717
|
+
"goto",
|
|
9718
|
+
"returning",
|
|
9719
|
+
"paused",
|
|
9720
|
+
"unknown"
|
|
9721
|
+
]
|
|
9722
|
+
},
|
|
9723
|
+
{
|
|
9724
|
+
"path": "following",
|
|
9725
|
+
"valueType": "boolean"
|
|
9726
|
+
},
|
|
9727
|
+
{
|
|
9728
|
+
"path": "flash",
|
|
9729
|
+
"valueType": "boolean"
|
|
9730
|
+
},
|
|
9731
|
+
{
|
|
9732
|
+
"path": "lightMode",
|
|
9733
|
+
"valueType": "enum",
|
|
9734
|
+
"enumValues": ["auto", "manual"]
|
|
9735
|
+
},
|
|
9736
|
+
{
|
|
9737
|
+
"path": "lightLevel",
|
|
9738
|
+
"valueType": "number"
|
|
9739
|
+
}
|
|
9740
|
+
],
|
|
9741
|
+
"network-link": [
|
|
9742
|
+
{
|
|
9743
|
+
"path": "type",
|
|
9744
|
+
"valueType": "enum",
|
|
9745
|
+
"enumValues": [
|
|
9746
|
+
"wifi",
|
|
9747
|
+
"ethernet",
|
|
9748
|
+
"cellular",
|
|
9749
|
+
"unknown"
|
|
9750
|
+
]
|
|
9751
|
+
},
|
|
9752
|
+
{
|
|
9753
|
+
"path": "signalPercent",
|
|
9754
|
+
"valueType": "number"
|
|
9755
|
+
},
|
|
9756
|
+
{
|
|
9757
|
+
"path": "rssiDbm",
|
|
9758
|
+
"valueType": "number"
|
|
9759
|
+
},
|
|
9760
|
+
{
|
|
9761
|
+
"path": "ssid",
|
|
9762
|
+
"valueType": "string"
|
|
9763
|
+
},
|
|
9764
|
+
{
|
|
9765
|
+
"path": "lastUpdated",
|
|
9766
|
+
"valueType": "number"
|
|
9767
|
+
}
|
|
9768
|
+
],
|
|
9769
|
+
"notifier": [
|
|
9770
|
+
{
|
|
9771
|
+
"path": "lastSentAt",
|
|
9772
|
+
"valueType": "number"
|
|
9773
|
+
},
|
|
9774
|
+
{
|
|
9775
|
+
"path": "lastError",
|
|
9776
|
+
"valueType": "string"
|
|
9777
|
+
},
|
|
9778
|
+
{
|
|
9779
|
+
"path": "queueDepth",
|
|
9780
|
+
"valueType": "number"
|
|
9781
|
+
},
|
|
9782
|
+
{
|
|
9783
|
+
"path": "supports.image",
|
|
9784
|
+
"valueType": "boolean"
|
|
9785
|
+
},
|
|
9786
|
+
{
|
|
9787
|
+
"path": "supports.priority",
|
|
9788
|
+
"valueType": "boolean"
|
|
9789
|
+
},
|
|
9790
|
+
{
|
|
9791
|
+
"path": "supports.data",
|
|
9792
|
+
"valueType": "boolean"
|
|
9793
|
+
},
|
|
9794
|
+
{
|
|
9795
|
+
"path": "supports.actions",
|
|
9796
|
+
"valueType": "boolean"
|
|
9797
|
+
},
|
|
9798
|
+
{
|
|
9799
|
+
"path": "supports.recipients",
|
|
9800
|
+
"valueType": "boolean"
|
|
9801
|
+
}
|
|
9802
|
+
],
|
|
9803
|
+
"numeric-sensor": [
|
|
9804
|
+
{
|
|
9805
|
+
"path": "value",
|
|
9806
|
+
"valueType": "number"
|
|
9807
|
+
},
|
|
9808
|
+
{
|
|
9809
|
+
"path": "unit",
|
|
9810
|
+
"valueType": "string"
|
|
9811
|
+
},
|
|
9812
|
+
{
|
|
9813
|
+
"path": "precision",
|
|
9814
|
+
"valueType": "number"
|
|
9815
|
+
}
|
|
9816
|
+
],
|
|
9817
|
+
"pet-feeder": [
|
|
9818
|
+
{
|
|
9819
|
+
"path": "foodLevel",
|
|
9820
|
+
"valueType": "number"
|
|
9821
|
+
},
|
|
9822
|
+
{
|
|
9823
|
+
"path": "food1",
|
|
9824
|
+
"valueType": "number"
|
|
9825
|
+
},
|
|
9826
|
+
{
|
|
9827
|
+
"path": "food2",
|
|
9828
|
+
"valueType": "number"
|
|
9829
|
+
},
|
|
9830
|
+
{
|
|
9831
|
+
"path": "lowFood",
|
|
9832
|
+
"valueType": "boolean"
|
|
9833
|
+
},
|
|
9834
|
+
{
|
|
9835
|
+
"path": "batteryPower",
|
|
9836
|
+
"valueType": "number"
|
|
9837
|
+
},
|
|
9838
|
+
{
|
|
9839
|
+
"path": "desiccantLeftDays",
|
|
9840
|
+
"valueType": "number"
|
|
9841
|
+
},
|
|
9842
|
+
{
|
|
9843
|
+
"path": "feeding",
|
|
9844
|
+
"valueType": "boolean"
|
|
9845
|
+
},
|
|
9846
|
+
{
|
|
9847
|
+
"path": "status",
|
|
9848
|
+
"valueType": "enum",
|
|
9849
|
+
"enumValues": [
|
|
9850
|
+
"normal",
|
|
9851
|
+
"offline",
|
|
9852
|
+
"on_batteries"
|
|
9853
|
+
]
|
|
9854
|
+
},
|
|
9855
|
+
{
|
|
9856
|
+
"path": "error",
|
|
9857
|
+
"valueType": "string"
|
|
9858
|
+
},
|
|
9859
|
+
{
|
|
9860
|
+
"path": "errorCode",
|
|
9861
|
+
"valueType": "number"
|
|
9862
|
+
},
|
|
9863
|
+
{
|
|
9864
|
+
"path": "isDualHopper",
|
|
9865
|
+
"valueType": "boolean"
|
|
9866
|
+
},
|
|
9867
|
+
{
|
|
9868
|
+
"path": "childLock",
|
|
9869
|
+
"valueType": "boolean"
|
|
9870
|
+
},
|
|
9871
|
+
{
|
|
9872
|
+
"path": "indicatorLight",
|
|
9873
|
+
"valueType": "boolean"
|
|
9874
|
+
},
|
|
9875
|
+
{
|
|
9876
|
+
"path": "feedSound",
|
|
9877
|
+
"valueType": "boolean"
|
|
9878
|
+
},
|
|
9879
|
+
{
|
|
9880
|
+
"path": "volume",
|
|
9881
|
+
"valueType": "number"
|
|
9882
|
+
}
|
|
9883
|
+
],
|
|
9884
|
+
"power-meter": [
|
|
9885
|
+
{
|
|
9886
|
+
"path": "watts",
|
|
9887
|
+
"valueType": "number"
|
|
9888
|
+
},
|
|
9889
|
+
{
|
|
9890
|
+
"path": "kwhTotal",
|
|
9891
|
+
"valueType": "number"
|
|
9892
|
+
},
|
|
9893
|
+
{
|
|
9894
|
+
"path": "volts",
|
|
9895
|
+
"valueType": "number"
|
|
9896
|
+
},
|
|
9897
|
+
{
|
|
9898
|
+
"path": "amps",
|
|
9899
|
+
"valueType": "number"
|
|
9900
|
+
},
|
|
9901
|
+
{
|
|
9902
|
+
"path": "va",
|
|
9903
|
+
"valueType": "number"
|
|
9904
|
+
},
|
|
9905
|
+
{
|
|
9906
|
+
"path": "powerFactor",
|
|
9907
|
+
"valueType": "number"
|
|
9908
|
+
},
|
|
9909
|
+
{
|
|
9910
|
+
"path": "unit",
|
|
9911
|
+
"valueType": "string"
|
|
9912
|
+
},
|
|
9913
|
+
{
|
|
9914
|
+
"path": "precision",
|
|
9915
|
+
"valueType": "number"
|
|
9916
|
+
}
|
|
9917
|
+
],
|
|
9918
|
+
"presence": [
|
|
9919
|
+
{
|
|
9920
|
+
"path": "state",
|
|
9921
|
+
"valueType": "string"
|
|
9922
|
+
},
|
|
9923
|
+
{
|
|
9924
|
+
"path": "location",
|
|
9925
|
+
"valueType": "string"
|
|
9926
|
+
},
|
|
9927
|
+
{
|
|
9928
|
+
"path": "gps.latitude",
|
|
9929
|
+
"valueType": "number"
|
|
9930
|
+
},
|
|
9931
|
+
{
|
|
9932
|
+
"path": "gps.longitude",
|
|
9933
|
+
"valueType": "number"
|
|
9934
|
+
},
|
|
9935
|
+
{
|
|
9936
|
+
"path": "gps.accuracyMeters",
|
|
9937
|
+
"valueType": "number"
|
|
9938
|
+
},
|
|
9939
|
+
{
|
|
9940
|
+
"path": "batteryPercent",
|
|
9941
|
+
"valueType": "number"
|
|
9942
|
+
}
|
|
9943
|
+
],
|
|
9944
|
+
"pressure-sensor": [
|
|
9945
|
+
{
|
|
9946
|
+
"path": "hpa",
|
|
9947
|
+
"valueType": "number"
|
|
9948
|
+
},
|
|
9949
|
+
{
|
|
9950
|
+
"path": "unit",
|
|
9951
|
+
"valueType": "string"
|
|
9952
|
+
},
|
|
9953
|
+
{
|
|
9954
|
+
"path": "precision",
|
|
9955
|
+
"valueType": "number"
|
|
9956
|
+
}
|
|
9957
|
+
],
|
|
9958
|
+
"privacy-mask": [{
|
|
9959
|
+
"path": "enabled",
|
|
9960
|
+
"valueType": "boolean"
|
|
9961
|
+
}, {
|
|
9962
|
+
"path": "audioEnabled",
|
|
9963
|
+
"valueType": "boolean"
|
|
9964
|
+
}],
|
|
9965
|
+
"ptz": [
|
|
9966
|
+
{
|
|
9967
|
+
"path": "pan",
|
|
9968
|
+
"valueType": "number"
|
|
9969
|
+
},
|
|
9970
|
+
{
|
|
9971
|
+
"path": "tilt",
|
|
9972
|
+
"valueType": "number"
|
|
9973
|
+
},
|
|
9974
|
+
{
|
|
9975
|
+
"path": "zoom",
|
|
9976
|
+
"valueType": "number"
|
|
9977
|
+
},
|
|
9978
|
+
{
|
|
9979
|
+
"path": "autofocus",
|
|
9980
|
+
"valueType": "boolean"
|
|
9981
|
+
}
|
|
9982
|
+
],
|
|
9983
|
+
"ptz-autotrack": [
|
|
9984
|
+
{
|
|
9985
|
+
"path": "enabled",
|
|
9986
|
+
"valueType": "boolean"
|
|
9987
|
+
},
|
|
9988
|
+
{
|
|
9989
|
+
"path": "currentSettings.targetType",
|
|
9990
|
+
"valueType": "string"
|
|
9991
|
+
},
|
|
9992
|
+
{
|
|
9993
|
+
"path": "currentSettings.stopDelaySeconds",
|
|
9994
|
+
"valueType": "number"
|
|
9995
|
+
},
|
|
9996
|
+
{
|
|
9997
|
+
"path": "currentSettings.disappearDelaySeconds",
|
|
9998
|
+
"valueType": "number"
|
|
9999
|
+
}
|
|
10000
|
+
],
|
|
10001
|
+
"recording-archive": [
|
|
10002
|
+
{
|
|
10003
|
+
"path": "deviceId",
|
|
10004
|
+
"valueType": "number"
|
|
10005
|
+
},
|
|
10006
|
+
{
|
|
10007
|
+
"path": "enabled",
|
|
10008
|
+
"valueType": "boolean"
|
|
10009
|
+
},
|
|
10010
|
+
{
|
|
10011
|
+
"path": "activeMode",
|
|
10012
|
+
"valueType": "enum",
|
|
10013
|
+
"enumValues": [
|
|
10014
|
+
"off",
|
|
10015
|
+
"events",
|
|
10016
|
+
"continuous",
|
|
10017
|
+
"on-device-decision"
|
|
10018
|
+
]
|
|
10019
|
+
},
|
|
10020
|
+
{
|
|
10021
|
+
"path": "nodeId",
|
|
10022
|
+
"valueType": "string"
|
|
10023
|
+
},
|
|
10024
|
+
{
|
|
10025
|
+
"path": "storageBytes",
|
|
10026
|
+
"valueType": "number"
|
|
10027
|
+
}
|
|
10028
|
+
],
|
|
10029
|
+
"recording-onboard": [
|
|
10030
|
+
{
|
|
10031
|
+
"path": "primaryTrackId",
|
|
10032
|
+
"valueType": "string"
|
|
10033
|
+
},
|
|
10034
|
+
{
|
|
10035
|
+
"path": "enabled",
|
|
10036
|
+
"valueType": "boolean"
|
|
10037
|
+
},
|
|
10038
|
+
{
|
|
10039
|
+
"path": "overwriteWhenFull",
|
|
10040
|
+
"valueType": "boolean"
|
|
10041
|
+
},
|
|
10042
|
+
{
|
|
10043
|
+
"path": "preRecordSec",
|
|
10044
|
+
"valueType": "number"
|
|
10045
|
+
},
|
|
10046
|
+
{
|
|
10047
|
+
"path": "postRecordSec",
|
|
10048
|
+
"valueType": "number"
|
|
10049
|
+
},
|
|
10050
|
+
{
|
|
10051
|
+
"path": "segmentMinutes",
|
|
10052
|
+
"valueType": "number"
|
|
10053
|
+
},
|
|
10054
|
+
{
|
|
10055
|
+
"path": "unreadableWindows",
|
|
10056
|
+
"valueType": "number"
|
|
10057
|
+
},
|
|
10058
|
+
{
|
|
10059
|
+
"path": "recordingToNowhere",
|
|
10060
|
+
"valueType": "boolean"
|
|
10061
|
+
}
|
|
10062
|
+
],
|
|
10063
|
+
"recording-signal": [{
|
|
10064
|
+
"path": "active",
|
|
10065
|
+
"valueType": "boolean"
|
|
10066
|
+
}, {
|
|
10067
|
+
"path": "reason",
|
|
10068
|
+
"valueType": "string"
|
|
10069
|
+
}],
|
|
10070
|
+
"running-state": [
|
|
10071
|
+
{
|
|
10072
|
+
"path": "running",
|
|
10073
|
+
"valueType": "boolean"
|
|
10074
|
+
},
|
|
10075
|
+
{
|
|
10076
|
+
"path": "since",
|
|
10077
|
+
"valueType": "number"
|
|
10078
|
+
},
|
|
10079
|
+
{
|
|
10080
|
+
"path": "source",
|
|
10081
|
+
"valueType": "enum",
|
|
10082
|
+
"enumValues": ["native", "assigned"]
|
|
10083
|
+
},
|
|
10084
|
+
{
|
|
10085
|
+
"path": "phase",
|
|
10086
|
+
"valueType": "string"
|
|
10087
|
+
}
|
|
10088
|
+
],
|
|
10089
|
+
"script-runner": [
|
|
10090
|
+
{
|
|
10091
|
+
"path": "isRunning",
|
|
10092
|
+
"valueType": "boolean"
|
|
10093
|
+
},
|
|
10094
|
+
{
|
|
10095
|
+
"path": "lastRunAt",
|
|
10096
|
+
"valueType": "number"
|
|
10097
|
+
},
|
|
10098
|
+
{
|
|
10099
|
+
"path": "lastRunSuccess",
|
|
10100
|
+
"valueType": "boolean"
|
|
10101
|
+
},
|
|
10102
|
+
{
|
|
10103
|
+
"path": "lastError",
|
|
10104
|
+
"valueType": "string"
|
|
10105
|
+
}
|
|
10106
|
+
],
|
|
10107
|
+
"smoke": [{
|
|
10108
|
+
"path": "detected",
|
|
10109
|
+
"valueType": "boolean"
|
|
10110
|
+
}],
|
|
10111
|
+
"snapshot": [
|
|
10112
|
+
{
|
|
10113
|
+
"path": "lastCapturedAt",
|
|
10114
|
+
"valueType": "number"
|
|
10115
|
+
},
|
|
10116
|
+
{
|
|
10117
|
+
"path": "cacheAgeMs",
|
|
10118
|
+
"valueType": "number"
|
|
10119
|
+
},
|
|
10120
|
+
{
|
|
10121
|
+
"path": "lastBytes",
|
|
10122
|
+
"valueType": "number"
|
|
10123
|
+
},
|
|
10124
|
+
{
|
|
10125
|
+
"path": "lastStreamId",
|
|
10126
|
+
"valueType": "string"
|
|
10127
|
+
}
|
|
10128
|
+
],
|
|
10129
|
+
"stream-params": [
|
|
10130
|
+
{
|
|
10131
|
+
"path": "main.width",
|
|
10132
|
+
"valueType": "number"
|
|
10133
|
+
},
|
|
10134
|
+
{
|
|
10135
|
+
"path": "main.height",
|
|
10136
|
+
"valueType": "number"
|
|
10137
|
+
},
|
|
10138
|
+
{
|
|
10139
|
+
"path": "main.codec",
|
|
10140
|
+
"valueType": "enum",
|
|
10141
|
+
"enumValues": ["h264", "h265"]
|
|
10142
|
+
},
|
|
10143
|
+
{
|
|
10144
|
+
"path": "main.framerate",
|
|
10145
|
+
"valueType": "number"
|
|
10146
|
+
},
|
|
10147
|
+
{
|
|
10148
|
+
"path": "main.bitrate",
|
|
10149
|
+
"valueType": "number"
|
|
10150
|
+
},
|
|
10151
|
+
{
|
|
10152
|
+
"path": "main.bitrateMode",
|
|
10153
|
+
"valueType": "enum",
|
|
10154
|
+
"enumValues": ["vbr", "cbr"]
|
|
10155
|
+
},
|
|
10156
|
+
{
|
|
10157
|
+
"path": "main.encoderProfile",
|
|
10158
|
+
"valueType": "enum",
|
|
10159
|
+
"enumValues": [
|
|
10160
|
+
"high",
|
|
10161
|
+
"main",
|
|
10162
|
+
"baseline"
|
|
10163
|
+
]
|
|
10164
|
+
},
|
|
10165
|
+
{
|
|
10166
|
+
"path": "main.gop",
|
|
10167
|
+
"valueType": "number"
|
|
10168
|
+
},
|
|
10169
|
+
{
|
|
10170
|
+
"path": "main.audio",
|
|
10171
|
+
"valueType": "boolean"
|
|
10172
|
+
},
|
|
10173
|
+
{
|
|
10174
|
+
"path": "sub.width",
|
|
10175
|
+
"valueType": "number"
|
|
10176
|
+
},
|
|
10177
|
+
{
|
|
10178
|
+
"path": "sub.height",
|
|
10179
|
+
"valueType": "number"
|
|
10180
|
+
},
|
|
10181
|
+
{
|
|
10182
|
+
"path": "sub.codec",
|
|
10183
|
+
"valueType": "enum",
|
|
10184
|
+
"enumValues": ["h264", "h265"]
|
|
10185
|
+
},
|
|
10186
|
+
{
|
|
10187
|
+
"path": "sub.framerate",
|
|
10188
|
+
"valueType": "number"
|
|
10189
|
+
},
|
|
10190
|
+
{
|
|
10191
|
+
"path": "sub.bitrate",
|
|
10192
|
+
"valueType": "number"
|
|
10193
|
+
},
|
|
10194
|
+
{
|
|
10195
|
+
"path": "sub.bitrateMode",
|
|
10196
|
+
"valueType": "enum",
|
|
10197
|
+
"enumValues": ["vbr", "cbr"]
|
|
10198
|
+
},
|
|
10199
|
+
{
|
|
10200
|
+
"path": "sub.encoderProfile",
|
|
10201
|
+
"valueType": "enum",
|
|
10202
|
+
"enumValues": [
|
|
10203
|
+
"high",
|
|
10204
|
+
"main",
|
|
10205
|
+
"baseline"
|
|
10206
|
+
]
|
|
10207
|
+
},
|
|
10208
|
+
{
|
|
10209
|
+
"path": "sub.gop",
|
|
10210
|
+
"valueType": "number"
|
|
10211
|
+
},
|
|
10212
|
+
{
|
|
10213
|
+
"path": "sub.audio",
|
|
10214
|
+
"valueType": "boolean"
|
|
10215
|
+
},
|
|
10216
|
+
{
|
|
10217
|
+
"path": "ext.width",
|
|
10218
|
+
"valueType": "number"
|
|
10219
|
+
},
|
|
10220
|
+
{
|
|
10221
|
+
"path": "ext.height",
|
|
10222
|
+
"valueType": "number"
|
|
10223
|
+
},
|
|
10224
|
+
{
|
|
10225
|
+
"path": "ext.codec",
|
|
10226
|
+
"valueType": "enum",
|
|
10227
|
+
"enumValues": ["h264", "h265"]
|
|
10228
|
+
},
|
|
10229
|
+
{
|
|
10230
|
+
"path": "ext.framerate",
|
|
10231
|
+
"valueType": "number"
|
|
10232
|
+
},
|
|
10233
|
+
{
|
|
10234
|
+
"path": "ext.bitrate",
|
|
10235
|
+
"valueType": "number"
|
|
10236
|
+
},
|
|
10237
|
+
{
|
|
10238
|
+
"path": "ext.bitrateMode",
|
|
10239
|
+
"valueType": "enum",
|
|
10240
|
+
"enumValues": ["vbr", "cbr"]
|
|
10241
|
+
},
|
|
10242
|
+
{
|
|
10243
|
+
"path": "ext.encoderProfile",
|
|
10244
|
+
"valueType": "enum",
|
|
10245
|
+
"enumValues": [
|
|
10246
|
+
"high",
|
|
10247
|
+
"main",
|
|
10248
|
+
"baseline"
|
|
10249
|
+
]
|
|
10250
|
+
},
|
|
10251
|
+
{
|
|
10252
|
+
"path": "ext.gop",
|
|
10253
|
+
"valueType": "number"
|
|
10254
|
+
},
|
|
10255
|
+
{
|
|
10256
|
+
"path": "ext.audio",
|
|
10257
|
+
"valueType": "boolean"
|
|
10258
|
+
}
|
|
10259
|
+
],
|
|
10260
|
+
"switch": [{
|
|
10261
|
+
"path": "on",
|
|
10262
|
+
"valueType": "boolean"
|
|
10263
|
+
}],
|
|
10264
|
+
"tamper": [{
|
|
10265
|
+
"path": "tampered",
|
|
10266
|
+
"valueType": "boolean"
|
|
10267
|
+
}],
|
|
10268
|
+
"temperature-sensor": [
|
|
10269
|
+
{
|
|
10270
|
+
"path": "celsius",
|
|
10271
|
+
"valueType": "number"
|
|
10272
|
+
},
|
|
10273
|
+
{
|
|
10274
|
+
"path": "unit",
|
|
10275
|
+
"valueType": "string"
|
|
10276
|
+
},
|
|
10277
|
+
{
|
|
10278
|
+
"path": "precision",
|
|
10279
|
+
"valueType": "number"
|
|
10280
|
+
}
|
|
10281
|
+
],
|
|
10282
|
+
"update": [
|
|
10283
|
+
{
|
|
10284
|
+
"path": "currentVersion",
|
|
10285
|
+
"valueType": "string"
|
|
10286
|
+
},
|
|
10287
|
+
{
|
|
10288
|
+
"path": "availableVersion",
|
|
10289
|
+
"valueType": "string"
|
|
10290
|
+
},
|
|
10291
|
+
{
|
|
10292
|
+
"path": "updatable",
|
|
10293
|
+
"valueType": "boolean"
|
|
10294
|
+
},
|
|
10295
|
+
{
|
|
10296
|
+
"path": "state",
|
|
10297
|
+
"valueType": "string"
|
|
10298
|
+
},
|
|
10299
|
+
{
|
|
10300
|
+
"path": "inProgress",
|
|
10301
|
+
"valueType": "boolean"
|
|
10302
|
+
}
|
|
10303
|
+
],
|
|
10304
|
+
"vacuum-control": [
|
|
10305
|
+
{
|
|
10306
|
+
"path": "state",
|
|
10307
|
+
"valueType": "enum",
|
|
10308
|
+
"enumValues": [
|
|
10309
|
+
"idle",
|
|
10310
|
+
"cleaning",
|
|
10311
|
+
"paused",
|
|
10312
|
+
"returning",
|
|
10313
|
+
"docked",
|
|
10314
|
+
"drying",
|
|
10315
|
+
"error"
|
|
10316
|
+
]
|
|
10317
|
+
},
|
|
10318
|
+
{
|
|
10319
|
+
"path": "batteryLevel",
|
|
10320
|
+
"valueType": "number"
|
|
10321
|
+
},
|
|
10322
|
+
{
|
|
10323
|
+
"path": "fanSpeed",
|
|
10324
|
+
"valueType": "string"
|
|
10325
|
+
},
|
|
10326
|
+
{
|
|
10327
|
+
"path": "progressPercent",
|
|
10328
|
+
"valueType": "number"
|
|
10329
|
+
},
|
|
10330
|
+
{
|
|
10331
|
+
"path": "errorCode",
|
|
10332
|
+
"valueType": "number"
|
|
10333
|
+
},
|
|
10334
|
+
{
|
|
10335
|
+
"path": "errorLabel",
|
|
10336
|
+
"valueType": "string"
|
|
10337
|
+
}
|
|
10338
|
+
],
|
|
10339
|
+
"valve": [{
|
|
10340
|
+
"path": "state",
|
|
10341
|
+
"valueType": "enum",
|
|
10342
|
+
"enumValues": [
|
|
10343
|
+
"open",
|
|
10344
|
+
"opening",
|
|
10345
|
+
"closing",
|
|
10346
|
+
"closed",
|
|
10347
|
+
"stopped"
|
|
10348
|
+
]
|
|
10349
|
+
}, {
|
|
10350
|
+
"path": "position",
|
|
10351
|
+
"valueType": "number"
|
|
10352
|
+
}],
|
|
10353
|
+
"vibration": [{
|
|
10354
|
+
"path": "detected",
|
|
10355
|
+
"valueType": "boolean"
|
|
10356
|
+
}],
|
|
10357
|
+
"water-heater": [
|
|
10358
|
+
{
|
|
10359
|
+
"path": "currentTemp",
|
|
10360
|
+
"valueType": "number"
|
|
10361
|
+
},
|
|
10362
|
+
{
|
|
10363
|
+
"path": "targetTemp",
|
|
10364
|
+
"valueType": "number"
|
|
10365
|
+
},
|
|
10366
|
+
{
|
|
10367
|
+
"path": "operationMode",
|
|
10368
|
+
"valueType": "string"
|
|
10369
|
+
},
|
|
10370
|
+
{
|
|
10371
|
+
"path": "away",
|
|
10372
|
+
"valueType": "boolean"
|
|
10373
|
+
},
|
|
10374
|
+
{
|
|
10375
|
+
"path": "minTemp",
|
|
10376
|
+
"valueType": "number"
|
|
10377
|
+
},
|
|
10378
|
+
{
|
|
10379
|
+
"path": "maxTemp",
|
|
10380
|
+
"valueType": "number"
|
|
10381
|
+
}
|
|
10382
|
+
],
|
|
10383
|
+
"weather": [
|
|
10384
|
+
{
|
|
10385
|
+
"path": "condition",
|
|
10386
|
+
"valueType": "string"
|
|
10387
|
+
},
|
|
10388
|
+
{
|
|
10389
|
+
"path": "temperature",
|
|
10390
|
+
"valueType": "number"
|
|
10391
|
+
},
|
|
10392
|
+
{
|
|
10393
|
+
"path": "temperatureUnit",
|
|
10394
|
+
"valueType": "string"
|
|
10395
|
+
},
|
|
10396
|
+
{
|
|
10397
|
+
"path": "humidity",
|
|
10398
|
+
"valueType": "number"
|
|
10399
|
+
},
|
|
10400
|
+
{
|
|
10401
|
+
"path": "pressure",
|
|
10402
|
+
"valueType": "number"
|
|
10403
|
+
},
|
|
10404
|
+
{
|
|
10405
|
+
"path": "pressureUnit",
|
|
10406
|
+
"valueType": "string"
|
|
10407
|
+
},
|
|
10408
|
+
{
|
|
10409
|
+
"path": "windSpeed",
|
|
10410
|
+
"valueType": "number"
|
|
10411
|
+
},
|
|
10412
|
+
{
|
|
10413
|
+
"path": "windSpeedUnit",
|
|
10414
|
+
"valueType": "string"
|
|
10415
|
+
},
|
|
10416
|
+
{
|
|
10417
|
+
"path": "windBearing",
|
|
10418
|
+
"valueType": "number"
|
|
10419
|
+
}
|
|
10420
|
+
],
|
|
10421
|
+
"zone-analytics": [
|
|
10422
|
+
{
|
|
10423
|
+
"path": "ts",
|
|
10424
|
+
"valueType": "number"
|
|
10425
|
+
},
|
|
10426
|
+
{
|
|
10427
|
+
"path": "frameWidth",
|
|
10428
|
+
"valueType": "number"
|
|
10429
|
+
},
|
|
10430
|
+
{
|
|
10431
|
+
"path": "frameHeight",
|
|
10432
|
+
"valueType": "number"
|
|
10433
|
+
},
|
|
10434
|
+
{
|
|
10435
|
+
"path": "frame.totalObjects",
|
|
10436
|
+
"valueType": "number"
|
|
10437
|
+
},
|
|
10438
|
+
{
|
|
10439
|
+
"path": "frame.standingObjects",
|
|
10440
|
+
"valueType": "number"
|
|
10441
|
+
},
|
|
10442
|
+
{
|
|
10443
|
+
"path": "frame.transientObjects",
|
|
10444
|
+
"valueType": "number"
|
|
10445
|
+
},
|
|
10446
|
+
{
|
|
10447
|
+
"path": "unzoned.totalObjects",
|
|
10448
|
+
"valueType": "number"
|
|
10449
|
+
},
|
|
10450
|
+
{
|
|
10451
|
+
"path": "unzoned.standingObjects",
|
|
10452
|
+
"valueType": "number"
|
|
10453
|
+
},
|
|
10454
|
+
{
|
|
10455
|
+
"path": "unzoned.transientObjects",
|
|
10456
|
+
"valueType": "number"
|
|
10457
|
+
}
|
|
10458
|
+
]
|
|
10459
|
+
});
|
|
8483
10460
|
object({
|
|
8484
10461
|
code: string().regex(/^[a-z][a-z0-9-]*(\.[a-z0-9-]+)+$/),
|
|
8485
10462
|
params: record(string(), union([string(), number()])).optional()
|
|
@@ -8842,7 +10819,7 @@ var DeviceRole = /* @__PURE__ */ function(DeviceRole) {
|
|
|
8842
10819
|
return DeviceRole;
|
|
8843
10820
|
}({});
|
|
8844
10821
|
//#endregion
|
|
8845
|
-
//#region ../types/dist/composition-
|
|
10822
|
+
//#region ../types/dist/composition-kEl9mevu.mjs
|
|
8846
10823
|
/**
|
|
8847
10824
|
* The ffmpeg build every CamStack node downloads, per platform and arch.
|
|
8848
10825
|
*
|
|
@@ -8902,7 +10879,7 @@ portable("linux64"), portable("linuxarm64"), portable("macarm64"), portable("mac
|
|
|
8902
10879
|
* ONE table for everyone who asks "is this device HIGH?": the
|
|
8903
10880
|
* recorder's `RecordingTriggers.sensorDeviceIds` trigger, the post-analysis
|
|
8904
10881
|
* sensor markers, the orchestrator's camera-sensors bridge and
|
|
8905
|
-
* the sources of a
|
|
10882
|
+
* the sources of a pulse (`compilePulseOverride`, D936).
|
|
8906
10883
|
* A second copy would diverge at the first cap added, and the symptom — "the
|
|
8907
10884
|
* sensor rings the doorbell but does not record" — is exactly D62.
|
|
8908
10885
|
*
|
|
@@ -9143,6 +11120,20 @@ var table = {
|
|
|
9143
11120
|
apply: () => {
|
|
9144
11121
|
throw new ExpressionEvalError("count: stateful evaluation context is required");
|
|
9145
11122
|
}
|
|
11123
|
+
},
|
|
11124
|
+
dwell: {
|
|
11125
|
+
minArgs: 3,
|
|
11126
|
+
maxArgs: 3,
|
|
11127
|
+
apply: () => {
|
|
11128
|
+
throw new ExpressionEvalError("dwell: stateful evaluation context is required");
|
|
11129
|
+
}
|
|
11130
|
+
},
|
|
11131
|
+
latchedAt: {
|
|
11132
|
+
minArgs: 1,
|
|
11133
|
+
maxArgs: 1,
|
|
11134
|
+
apply: () => {
|
|
11135
|
+
throw new ExpressionEvalError("latchedAt: stateful evaluation context is required");
|
|
11136
|
+
}
|
|
9146
11137
|
}
|
|
9147
11138
|
};
|
|
9148
11139
|
Object.freeze(Object.assign(Object.create(null), table));
|
|
@@ -10582,13 +12573,22 @@ var BirthDecisionRecordSchema = object({
|
|
|
10582
12573
|
decidedByBirthEvidence: boolean(),
|
|
10583
12574
|
/** Best class-compatible crop score, or `null` when nothing compatible was
|
|
10584
12575
|
* found — deliberately not 0, which would be a measurement that never was.
|
|
10585
|
-
* Includes a box the detector's own per-class floor refused (
|
|
10586
|
-
*
|
|
10587
|
-
* score the crop really held. */
|
|
12576
|
+
* Includes a box the detector's own per-class floor refused (D922): since
|
|
12577
|
+
* D925 the gate's bar, not that floor, decides whether it confirms. */
|
|
10588
12578
|
bestScore: number().nullable(),
|
|
10589
12579
|
/** The bar this candidate actually faced (the phantom-cell hook may raise it). */
|
|
10590
12580
|
appliedMinConfidence: number().nullable(),
|
|
10591
12581
|
/**
|
|
12582
|
+
* The detector the gate re-judged the birth WITH (D925): the session's own
|
|
12583
|
+
* root model, inference-device pool and node — never a node default. `null`
|
|
12584
|
+
* when the frame named no session detector or no gate ran, and on rows
|
|
12585
|
+
* written before D925. A `session-device-unavailable` row names the session
|
|
12586
|
+
* detector that could not be reached.
|
|
12587
|
+
*/
|
|
12588
|
+
detectorModelId: string().nullable().default(null),
|
|
12589
|
+
detectorDeviceKey: string().nullable().default(null),
|
|
12590
|
+
detectorNodeId: string().nullable().default(null),
|
|
12591
|
+
/**
|
|
10592
12592
|
* The track's own `firstSeen` — the candidate's first frame, which is where
|
|
10593
12593
|
* the timeline starts. `null` for a suppressed birth, which has no track.
|
|
10594
12594
|
*/
|
|
@@ -12247,7 +14247,7 @@ var LogChannelDescriptorSchema = object({
|
|
|
12247
14247
|
* `true` is a PROMISE with two halves, and both must hold: the gate is
|
|
12248
14248
|
* consulted with the numeric device id, AND every line the channel admits
|
|
12249
14249
|
* carries `tags: { deviceId }` with that same numeric id. The second half is
|
|
12250
|
-
* what makes `| json | deviceId="
|
|
14250
|
+
* what makes `| json | deviceId="102"` work in Loki — `loki-payload.ts`
|
|
12251
14251
|
* keeps `deviceId` out of the stream labels for cardinality, so the tag in
|
|
12252
14252
|
* the body is the only way to filter.
|
|
12253
14253
|
*
|
|
@@ -12541,7 +14541,7 @@ var ModelVariantGroupSchema = object({
|
|
|
12541
14541
|
precision: _enum(["fp32", "int8"]).optional(),
|
|
12542
14542
|
/**
|
|
12543
14543
|
* Training / latency-variant axis. Omit ⇒ the standard build. `test` marks
|
|
12544
|
-
* an alternate training of the same family (
|
|
14544
|
+
* an alternate training of the same family (plugin catalog `relu_test`); chip
|
|
12545
14545
|
* label is "Test".
|
|
12546
14546
|
*/
|
|
12547
14547
|
optimization: _enum(["standard", "test"]).optional(),
|
|
@@ -12793,8 +14793,8 @@ var ModelCatalogEntrySchema = object({
|
|
|
12793
14793
|
provider: ModelProviderIdSchema.optional(),
|
|
12794
14794
|
/**
|
|
12795
14795
|
* Per-MODEL class map override. Absent ⇒ the step's `StepDefinition.classMap`
|
|
12796
|
-
* applies (
|
|
12797
|
-
* labels already ARE the CamStack macros (
|
|
14796
|
+
* applies (plus catalog / COCO public catalog). Set on a custom model whose raw
|
|
14797
|
+
* labels already ARE the CamStack macros (plugin catalog identity map).
|
|
12798
14798
|
*/
|
|
12799
14799
|
classMap: DetectionCatalogClassMapSchema.optional(),
|
|
12800
14800
|
/**
|
|
@@ -15763,7 +17763,7 @@ method(object({
|
|
|
15763
17763
|
* `1` is real time and is the ONLY value that allows the copy branch —
|
|
15764
17764
|
* anything else forces `libx264` over the window. That was priced
|
|
15765
17765
|
* before it was chosen: a per-event burst measured at 0.23 s and 254 KB
|
|
15766
|
-
* on a real
|
|
17766
|
+
* on a real 101 720p cut, against 922 KB for the copy it replaces. A
|
|
15767
17767
|
* re-encode is capped at 720p (`EVENT_CLIP_ENCODE_MAX_WIDTH`), because
|
|
15768
17768
|
* once the decode is forced the width stops being free.
|
|
15769
17769
|
*/
|
|
@@ -16289,6 +18289,7 @@ var CompositionRunStatusSchema = _enum([
|
|
|
16289
18289
|
"starting",
|
|
16290
18290
|
"running",
|
|
16291
18291
|
"degraded",
|
|
18292
|
+
"incomplete",
|
|
16292
18293
|
"failed"
|
|
16293
18294
|
]);
|
|
16294
18295
|
var CompositionFieldStateKindSchema = _enum([
|
|
@@ -16338,6 +18339,13 @@ var ComposerUnreadableBlockSchema = object({
|
|
|
16338
18339
|
/** The parse error, in the operator's words. */
|
|
16339
18340
|
error: string()
|
|
16340
18341
|
});
|
|
18342
|
+
/** A confirmed release the hub did not accept. `deviceId` is the claim's device. */
|
|
18343
|
+
var UnreleasedClaimSchema = object({
|
|
18344
|
+
deviceId: number().int(),
|
|
18345
|
+
capName: string(),
|
|
18346
|
+
owner: string(),
|
|
18347
|
+
error: string()
|
|
18348
|
+
});
|
|
16341
18349
|
method(object({
|
|
16342
18350
|
/** The shared Blocks integration; null until `core-blocks` has reconciled it. */
|
|
16343
18351
|
integrationId: string().nullable(),
|
|
@@ -16347,7 +18355,13 @@ method(object({
|
|
|
16347
18355
|
/** Operator restarts: rebuild these runtimes and re-resolve their sources. Stores nothing (D62). */
|
|
16348
18356
|
restartBlockIds: array(string()),
|
|
16349
18357
|
/** Composition rows that exist but do not parse: held, never withdrawn, reported failed. */
|
|
16350
|
-
unreadableBlocks: array(ComposerUnreadableBlockSchema)
|
|
18358
|
+
unreadableBlocks: array(ComposerUnreadableBlockSchema),
|
|
18359
|
+
/**
|
|
18360
|
+
* Operator-confirmed deletions. Their claims are released on this apply,
|
|
18361
|
+
* before any replacement block claims. A block that merely vanished from the
|
|
18362
|
+
* snapshot is not listed here and still waits for two applies (D49).
|
|
18363
|
+
*/
|
|
18364
|
+
retiredBlockIds: array(string()).optional()
|
|
16351
18365
|
}), object({
|
|
16352
18366
|
blocks: array(object({
|
|
16353
18367
|
blockId: string(),
|
|
@@ -16359,7 +18373,13 @@ method(object({
|
|
|
16359
18373
|
* integration unknown, its own rows unread or read empty once). An empty
|
|
16360
18374
|
* apply the caller owes is paid off only by one the composer acted on (D49).
|
|
16361
18375
|
*/
|
|
16362
|
-
acted: boolean()
|
|
18376
|
+
acted: boolean(),
|
|
18377
|
+
/**
|
|
18378
|
+
* Confirmed releases this apply tried and the hub did not accept. Empty when
|
|
18379
|
+
* every one landed (or there was nothing to hand back). Absent on a result
|
|
18380
|
+
* that never got that far.
|
|
18381
|
+
*/
|
|
18382
|
+
unreleasedClaims: array(UnreleasedClaimSchema).optional()
|
|
16363
18383
|
}), {
|
|
16364
18384
|
kind: "mutation",
|
|
16365
18385
|
auth: "admin"
|
|
@@ -16402,7 +18422,15 @@ Object.freeze({
|
|
|
16402
18422
|
kind: "fixed",
|
|
16403
18423
|
result: ["number", "null"]
|
|
16404
18424
|
},
|
|
16405
|
-
count: NUMBER
|
|
18425
|
+
count: NUMBER,
|
|
18426
|
+
dwell: {
|
|
18427
|
+
kind: "fixed",
|
|
18428
|
+
result: ["boolean", "null"]
|
|
18429
|
+
},
|
|
18430
|
+
latchedAt: {
|
|
18431
|
+
kind: "fixed",
|
|
18432
|
+
result: ["number", "null"]
|
|
18433
|
+
}
|
|
16406
18434
|
});
|
|
16407
18435
|
`${COMPOSED_DEVICE_STABLE_ID_PREFIX}`;
|
|
16408
18436
|
/**
|
|
@@ -16475,6 +18503,7 @@ var CoreBlockStatusSchema = _enum([
|
|
|
16475
18503
|
"starting",
|
|
16476
18504
|
"running",
|
|
16477
18505
|
"degraded",
|
|
18506
|
+
"incomplete",
|
|
16478
18507
|
"failed"
|
|
16479
18508
|
]);
|
|
16480
18509
|
/** path → TypeScript source for a multi-file block. */
|
|
@@ -38622,7 +40651,7 @@ var PRIMARY_CATEGORIES = new Set(ENTRIES.map((e) => e.primaryCategory));
|
|
|
38622
40651
|
* `locationKey` is ALWAYS {@link locationIconKey} of the label — never the
|
|
38623
40652
|
* operator's casing. The registry matches labels trimmed + case-insensitively
|
|
38624
40653
|
* everywhere (`addLocation`, `removeLocation`, `renameLocation`), and a
|
|
38625
|
-
* case-only rename (`
|
|
40654
|
+
* case-only rename (`kitchen` → `Kitchen`) is a real edit this repo supports; a
|
|
38626
40655
|
* map keyed on the displayed casing would orphan its entry on exactly that
|
|
38627
40656
|
* edit. Consumers join by keying their own label through `locationIconKey`.
|
|
38628
40657
|
*/
|
|
@@ -38647,7 +40676,7 @@ var LocationDescriptionAssignmentSchema = object({
|
|
|
38647
40676
|
/**
|
|
38648
40677
|
* A SITE ZONE — a named part of the property that several locations belong to.
|
|
38649
40678
|
*
|
|
38650
|
-
* "
|
|
40679
|
+
* "Night zone" holds every bedroom; "Zona giorno" the living room and the
|
|
38651
40680
|
* kitchen. A camera belongs to exactly one location, and a location to at most
|
|
38652
40681
|
* one zone, so a camera's zone is derived and never stored on the device: the
|
|
38653
40682
|
* whole point of this entity is that grouping rooms touches no device row.
|
|
@@ -38676,7 +40705,7 @@ var LocationDescriptionAssignmentSchema = object({
|
|
|
38676
40705
|
* the locations inside it.
|
|
38677
40706
|
*
|
|
38678
40707
|
* The LABEL is carried alongside the key because the key is lossy on purpose —
|
|
38679
|
-
* a surface must show "
|
|
40708
|
+
* a surface must show "Night zone", not "night zone". Locations are carried
|
|
38680
40709
|
* here, rather than left to a second call, because every consumer wants both
|
|
38681
40710
|
* at once and a viewer that asked twice could render a zone whose membership
|
|
38682
40711
|
* it has not fetched yet.
|
|
@@ -40889,8 +42918,8 @@ var LoadContributionSchema = object({
|
|
|
40889
42918
|
"unattributable"
|
|
40890
42919
|
]),
|
|
40891
42920
|
/**
|
|
40892
|
-
* What ONE entry is, in the contributor's own words — `
|
|
40893
|
-
* `
|
|
42921
|
+
* What ONE entry is, in the contributor's own words — `101/high`,
|
|
42922
|
+
* `102/native`, `cuda:0 shared pool`. Free text because the unit differs per
|
|
40894
42923
|
* family and inventing a common one would lose the only information that
|
|
40895
42924
|
* makes two entries for the same camera distinguishable.
|
|
40896
42925
|
*/
|
|
@@ -42538,6 +44567,381 @@ var _macroLookup = /* @__PURE__ */ new Map();
|
|
|
42538
44567
|
for (const [k, v] of Object.entries(YAMNET_TO_MACRO.mapping)) _macroLookup.set(k.toLowerCase(), v);
|
|
42539
44568
|
for (const [k, v] of Object.entries(APPLE_SA_TO_MACRO.mapping)) _macroLookup.set(k.toLowerCase(), v);
|
|
42540
44569
|
/**
|
|
44570
|
+
* Palette entry ids (D939). Audio is the one gradient; `audio-*` leaves are
|
|
44571
|
+
* not entries. `heatmapScrub` is a mark, not an event kind.
|
|
44572
|
+
*/
|
|
44573
|
+
var PALETTE_ENTRY_IDS = [
|
|
44574
|
+
"motion",
|
|
44575
|
+
"audio",
|
|
44576
|
+
"recording",
|
|
44577
|
+
"live",
|
|
44578
|
+
"heatmapScrub",
|
|
44579
|
+
"person",
|
|
44580
|
+
"vehicle",
|
|
44581
|
+
"animal",
|
|
44582
|
+
"package",
|
|
44583
|
+
"sensor",
|
|
44584
|
+
"control",
|
|
44585
|
+
"face",
|
|
44586
|
+
"plate",
|
|
44587
|
+
"car",
|
|
44588
|
+
"truck",
|
|
44589
|
+
"bus",
|
|
44590
|
+
"motorcycle",
|
|
44591
|
+
"bicycle",
|
|
44592
|
+
"airplane",
|
|
44593
|
+
"boat",
|
|
44594
|
+
"train",
|
|
44595
|
+
"bird",
|
|
44596
|
+
"dog",
|
|
44597
|
+
"cat",
|
|
44598
|
+
"horse",
|
|
44599
|
+
"sheep",
|
|
44600
|
+
"cow",
|
|
44601
|
+
"elephant",
|
|
44602
|
+
"bear",
|
|
44603
|
+
"zebra",
|
|
44604
|
+
"giraffe",
|
|
44605
|
+
"package-delivered",
|
|
44606
|
+
"package-picked-up",
|
|
44607
|
+
"suitcase",
|
|
44608
|
+
"backpack",
|
|
44609
|
+
"handbag",
|
|
44610
|
+
"contact",
|
|
44611
|
+
"motion-sensor",
|
|
44612
|
+
"smoke",
|
|
44613
|
+
"flood",
|
|
44614
|
+
"gas",
|
|
44615
|
+
"carbon-monoxide",
|
|
44616
|
+
"vibration",
|
|
44617
|
+
"tamper",
|
|
44618
|
+
"presence",
|
|
44619
|
+
"enum-sensor",
|
|
44620
|
+
"device-event",
|
|
44621
|
+
"lock",
|
|
44622
|
+
"cover",
|
|
44623
|
+
"switch",
|
|
44624
|
+
"siren",
|
|
44625
|
+
"button",
|
|
44626
|
+
"doorbell"
|
|
44627
|
+
];
|
|
44628
|
+
var AUDIO_ENTRY_ID = "audio";
|
|
44629
|
+
/** Six rungs, quiet → loud. The opaque end is the entry's hex. */
|
|
44630
|
+
var AUDIO_GRADIENT_ALPHAS = [
|
|
44631
|
+
.3,
|
|
44632
|
+
.42,
|
|
44633
|
+
.55,
|
|
44634
|
+
.7,
|
|
44635
|
+
.85,
|
|
44636
|
+
1
|
|
44637
|
+
];
|
|
44638
|
+
var PALETTE_PRESET_IDS = [
|
|
44639
|
+
"camstack",
|
|
44640
|
+
"high-contrast",
|
|
44641
|
+
"okabe-ito"
|
|
44642
|
+
];
|
|
44643
|
+
/** Frozen palette tables (D939). The spec refuses a table that breaks the rule. */
|
|
44644
|
+
var CAMSTACK_HEX = {
|
|
44645
|
+
motion: "#d946ef",
|
|
44646
|
+
audio: "#059eb8",
|
|
44647
|
+
recording: "#ef4444",
|
|
44648
|
+
live: "#8d7a00",
|
|
44649
|
+
heatmapScrub: "#4b32ff",
|
|
44650
|
+
person: "#11a64c",
|
|
44651
|
+
vehicle: "#3b82f6",
|
|
44652
|
+
animal: "#ea6a09",
|
|
44653
|
+
package: "#924667",
|
|
44654
|
+
sensor: "#624bbc",
|
|
44655
|
+
control: "#944d24",
|
|
44656
|
+
face: "#ed4f8d",
|
|
44657
|
+
plate: "#4b7027",
|
|
44658
|
+
car: "#9684cf",
|
|
44659
|
+
truck: "#0f9b89",
|
|
44660
|
+
bus: "#a734a9",
|
|
44661
|
+
motorcycle: "#c1133a",
|
|
44662
|
+
bicycle: "#0e6a9b",
|
|
44663
|
+
airplane: "#7c9928",
|
|
44664
|
+
boat: "#b17933",
|
|
44665
|
+
train: "#ad6ca3",
|
|
44666
|
+
bird: "#0f7c55",
|
|
44667
|
+
dog: "#c82700",
|
|
44668
|
+
cat: "#7268f2",
|
|
44669
|
+
horse: "#cb795e",
|
|
44670
|
+
sheep: "#b8636b",
|
|
44671
|
+
cow: "#cb2969",
|
|
44672
|
+
elephant: "#1158d2",
|
|
44673
|
+
bear: "#8d5e00",
|
|
44674
|
+
zebra: "#0097d6",
|
|
44675
|
+
giraffe: "#8f61bb",
|
|
44676
|
+
"package-delivered": "#cd3f9b",
|
|
44677
|
+
"package-picked-up": "#388a08",
|
|
44678
|
+
suitcase: "#666800",
|
|
44679
|
+
backpack: "#ec5022",
|
|
44680
|
+
handbag: "#a76ef8",
|
|
44681
|
+
contact: "#ab5a49",
|
|
44682
|
+
"motion-sensor": "#b95d1a",
|
|
44683
|
+
smoke: "#dd3858",
|
|
44684
|
+
flood: "#b31e7d",
|
|
44685
|
+
gas: "#5b70b5",
|
|
44686
|
+
"carbon-monoxide": "#7b4e8e",
|
|
44687
|
+
vibration: "#e65bba",
|
|
44688
|
+
tamper: "#98464b",
|
|
44689
|
+
presence: "#3a9468",
|
|
44690
|
+
"enum-sensor": "#7885f8",
|
|
44691
|
+
"device-event": "#8c43c8",
|
|
44692
|
+
lock: "#649653",
|
|
44693
|
+
cover: "#c67597",
|
|
44694
|
+
switch: "#7a812a",
|
|
44695
|
+
siren: "#ac5d7f",
|
|
44696
|
+
button: "#b276cd",
|
|
44697
|
+
doorbell: "#0087ab"
|
|
44698
|
+
};
|
|
44699
|
+
var CAMSTACK_FALLBACK = [
|
|
44700
|
+
"#b34dc7",
|
|
44701
|
+
"#1d7d34",
|
|
44702
|
+
"#db6b6c",
|
|
44703
|
+
"#a43d29",
|
|
44704
|
+
"#0e6ee6",
|
|
44705
|
+
"#29a10b",
|
|
44706
|
+
"#a98731",
|
|
44707
|
+
"#0181c6"
|
|
44708
|
+
];
|
|
44709
|
+
var HIGH_CONTRAST_HEX = {
|
|
44710
|
+
motion: "#964360",
|
|
44711
|
+
audio: "#23a132",
|
|
44712
|
+
recording: "#2494ca",
|
|
44713
|
+
live: "#bd7e2b",
|
|
44714
|
+
heatmapScrub: "#ad6eea",
|
|
44715
|
+
person: "#62611e",
|
|
44716
|
+
vehicle: "#f4534c",
|
|
44717
|
+
animal: "#1556cd",
|
|
44718
|
+
package: "#9c4415",
|
|
44719
|
+
sensor: "#066c48",
|
|
44720
|
+
control: "#f2479f",
|
|
44721
|
+
face: "#139d8a",
|
|
44722
|
+
plate: "#909024",
|
|
44723
|
+
car: "#8e35ab",
|
|
44724
|
+
truck: "#bd0b2b",
|
|
44725
|
+
bus: "#7a88ca",
|
|
44726
|
+
motorcycle: "#e26725",
|
|
44727
|
+
bicycle: "#a6679b",
|
|
44728
|
+
airplane: "#7c5720",
|
|
44729
|
+
boat: "#467a1b",
|
|
44730
|
+
train: "#6f65a4",
|
|
44731
|
+
bird: "#cb717f",
|
|
44732
|
+
dog: "#c62490",
|
|
44733
|
+
cat: "#b36850",
|
|
44734
|
+
horse: "#1872ac",
|
|
44735
|
+
sheep: "#927939",
|
|
44736
|
+
cow: "#428a5c",
|
|
44737
|
+
elephant: "#d41160",
|
|
44738
|
+
bear: "#799453",
|
|
44739
|
+
zebra: "#a85455",
|
|
44740
|
+
giraffe: "#746be8",
|
|
44741
|
+
"package-delivered": "#824a80",
|
|
44742
|
+
"package-picked-up": "#614ac1",
|
|
44743
|
+
suitcase: "#2f77f3",
|
|
44744
|
+
backpack: "#fa476d",
|
|
44745
|
+
handbag: "#c14cbe",
|
|
44746
|
+
contact: "#c83921",
|
|
44747
|
+
"motion-sensor": "#a07ebd",
|
|
44748
|
+
smoke: "#a25b13",
|
|
44749
|
+
flood: "#526bab",
|
|
44750
|
+
gas: "#924938",
|
|
44751
|
+
"carbon-monoxide": "#bb7e53",
|
|
44752
|
+
vibration: "#b66182",
|
|
44753
|
+
tamper: "#3c6931",
|
|
44754
|
+
presence: "#6c851d",
|
|
44755
|
+
"enum-sensor": "#ad2d48",
|
|
44756
|
+
"device-event": "#5e9b04",
|
|
44757
|
+
lock: "#00a062",
|
|
44758
|
+
cover: "#ad8624",
|
|
44759
|
+
switch: "#d05259",
|
|
44760
|
+
siren: "#cd67b3",
|
|
44761
|
+
button: "#c9746a",
|
|
44762
|
+
doorbell: "#338eeb"
|
|
44763
|
+
};
|
|
44764
|
+
var HIGH_CONTRAST_FALLBACK = [
|
|
44765
|
+
"#817f3b",
|
|
44766
|
+
"#a0733e",
|
|
44767
|
+
"#8658b2",
|
|
44768
|
+
"#956301",
|
|
44769
|
+
"#bc652d",
|
|
44770
|
+
"#647331",
|
|
44771
|
+
"#a14c9e",
|
|
44772
|
+
"#d14e71"
|
|
44773
|
+
];
|
|
44774
|
+
var OKABE_ITO_HEX = {
|
|
44775
|
+
motion: "#b88128",
|
|
44776
|
+
audio: "#1096c8",
|
|
44777
|
+
recording: "#009e73",
|
|
44778
|
+
live: "#9c8c22",
|
|
44779
|
+
heatmapScrub: "#0072b2",
|
|
44780
|
+
person: "#d55e00",
|
|
44781
|
+
vehicle: "#c0739f",
|
|
44782
|
+
animal: "#226d18",
|
|
44783
|
+
package: "#91446c",
|
|
44784
|
+
sensor: "#217b56",
|
|
44785
|
+
control: "#648647",
|
|
44786
|
+
face: "#c22998",
|
|
44787
|
+
plate: "#fa4575",
|
|
44788
|
+
car: "#956301",
|
|
44789
|
+
truck: "#2f77f3",
|
|
44790
|
+
bus: "#7a4e86",
|
|
44791
|
+
motorcycle: "#f54597",
|
|
44792
|
+
bicycle: "#bb3e75",
|
|
44793
|
+
airplane: "#e054c0",
|
|
44794
|
+
boat: "#457942",
|
|
44795
|
+
train: "#867afa",
|
|
44796
|
+
bird: "#88914c",
|
|
44797
|
+
dog: "#1556cd",
|
|
44798
|
+
cat: "#71702c",
|
|
44799
|
+
horse: "#9b4fa4",
|
|
44800
|
+
sheep: "#c0559d",
|
|
44801
|
+
cow: "#d14f65",
|
|
44802
|
+
elephant: "#98470f",
|
|
44803
|
+
bear: "#595896",
|
|
44804
|
+
zebra: "#96790e",
|
|
44805
|
+
giraffe: "#cb717b",
|
|
44806
|
+
"package-delivered": "#139d8a",
|
|
44807
|
+
"package-picked-up": "#906ead",
|
|
44808
|
+
suitcase: "#d02939",
|
|
44809
|
+
backpack: "#d41160",
|
|
44810
|
+
handbag: "#f64f54",
|
|
44811
|
+
contact: "#7258d2",
|
|
44812
|
+
"motion-sensor": "#b66182",
|
|
44813
|
+
smoke: "#627abb",
|
|
44814
|
+
flood: "#b86ae4",
|
|
44815
|
+
gas: "#a95261",
|
|
44816
|
+
"carbon-monoxide": "#c65d3c",
|
|
44817
|
+
vibration: "#7a40b7",
|
|
44818
|
+
tamper: "#914b34",
|
|
44819
|
+
presence: "#9481c3",
|
|
44820
|
+
"enum-sensor": "#ac6d47",
|
|
44821
|
+
"device-event": "#7b6fce",
|
|
44822
|
+
lock: "#c67662",
|
|
44823
|
+
cover: "#a6564d",
|
|
44824
|
+
switch: "#ad2c4e",
|
|
44825
|
+
siren: "#348e08",
|
|
44826
|
+
button: "#d27303",
|
|
44827
|
+
doorbell: "#55770f"
|
|
44828
|
+
};
|
|
44829
|
+
var OKABE_ITO_FALLBACK = [
|
|
44830
|
+
"#9a3784",
|
|
44831
|
+
"#a7392c",
|
|
44832
|
+
"#409d50",
|
|
44833
|
+
"#6987e7",
|
|
44834
|
+
"#ee5b3d",
|
|
44835
|
+
"#c0430d",
|
|
44836
|
+
"#af79b3",
|
|
44837
|
+
"#4b6628"
|
|
44838
|
+
];
|
|
44839
|
+
/**
|
|
44840
|
+
* The display palette (D939). One table of colours, three presets, one
|
|
44841
|
+
* validator. Taxonomy colours and every consumer read this — there is no
|
|
44842
|
+
* second hex table.
|
|
44843
|
+
*/
|
|
44844
|
+
var paletteHexSchema = string().regex(/^#[0-9a-f]{6}$/);
|
|
44845
|
+
var paletteSwatchSchema = discriminatedUnion("form", [object({
|
|
44846
|
+
form: literal("solid"),
|
|
44847
|
+
hex: paletteHexSchema
|
|
44848
|
+
}), object({
|
|
44849
|
+
form: literal("gradient"),
|
|
44850
|
+
hex: paletteHexSchema,
|
|
44851
|
+
alphas: array(number().gt(0).lte(1)).length(AUDIO_GRADIENT_ALPHAS.length)
|
|
44852
|
+
})]);
|
|
44853
|
+
var paletteReadySchema = object({
|
|
44854
|
+
status: literal("ready"),
|
|
44855
|
+
presetId: _enum(PALETTE_PRESET_IDS),
|
|
44856
|
+
customized: boolean(),
|
|
44857
|
+
source: _enum(["stored", "unconfigured"]),
|
|
44858
|
+
swatches: record(string(), paletteSwatchSchema),
|
|
44859
|
+
fallbacks: array(paletteHexSchema).length(8)
|
|
44860
|
+
});
|
|
44861
|
+
var paletteResultSchema = discriminatedUnion("status", [paletteReadySchema, object({
|
|
44862
|
+
status: literal("unknown"),
|
|
44863
|
+
reason: string()
|
|
44864
|
+
})]);
|
|
44865
|
+
var setPaletteInputSchema = union([object({ presetId: string() }), object({
|
|
44866
|
+
presetId: string(),
|
|
44867
|
+
overrides: record(string(), paletteSwatchSchema)
|
|
44868
|
+
})]);
|
|
44869
|
+
object({
|
|
44870
|
+
presetId: string(),
|
|
44871
|
+
overrides: record(string(), paletteSwatchSchema)
|
|
44872
|
+
});
|
|
44873
|
+
function solid(hex) {
|
|
44874
|
+
return {
|
|
44875
|
+
form: "solid",
|
|
44876
|
+
hex
|
|
44877
|
+
};
|
|
44878
|
+
}
|
|
44879
|
+
function audioGradient(hex) {
|
|
44880
|
+
return {
|
|
44881
|
+
form: "gradient",
|
|
44882
|
+
hex,
|
|
44883
|
+
alphas: [...AUDIO_GRADIENT_ALPHAS]
|
|
44884
|
+
};
|
|
44885
|
+
}
|
|
44886
|
+
function swatchesFrom(hexes) {
|
|
44887
|
+
const out = {};
|
|
44888
|
+
for (const id of PALETTE_ENTRY_IDS) {
|
|
44889
|
+
const hex = hexes[id];
|
|
44890
|
+
if (hex === void 0) throw new Error(`palette table missing ${id}`);
|
|
44891
|
+
out[id] = id === "audio" ? audioGradient(hex) : solid(hex);
|
|
44892
|
+
}
|
|
44893
|
+
return out;
|
|
44894
|
+
}
|
|
44895
|
+
function preset(id, name, hexes, fallbacks) {
|
|
44896
|
+
return {
|
|
44897
|
+
id,
|
|
44898
|
+
name,
|
|
44899
|
+
swatches: swatchesFrom(hexes),
|
|
44900
|
+
fallbacks
|
|
44901
|
+
};
|
|
44902
|
+
}
|
|
44903
|
+
var DISPLAY_PRESETS = [
|
|
44904
|
+
preset("camstack", "CamStack", CAMSTACK_HEX, CAMSTACK_FALLBACK),
|
|
44905
|
+
preset("high-contrast", "High contrast", HIGH_CONTRAST_HEX, HIGH_CONTRAST_FALLBACK),
|
|
44906
|
+
preset("okabe-ito", "Colour-blind safe", OKABE_ITO_HEX, OKABE_ITO_FALLBACK)
|
|
44907
|
+
];
|
|
44908
|
+
function presetById(id) {
|
|
44909
|
+
return DISPLAY_PRESETS.find((item) => item.id === id);
|
|
44910
|
+
}
|
|
44911
|
+
function bundledCamstack() {
|
|
44912
|
+
const presetRow = presetById("camstack");
|
|
44913
|
+
if (presetRow === void 0) throw new Error("CamStack preset missing");
|
|
44914
|
+
return readyOf(presetRow, "unconfigured", false);
|
|
44915
|
+
}
|
|
44916
|
+
function readyOf(row, source, customized) {
|
|
44917
|
+
return {
|
|
44918
|
+
status: "ready",
|
|
44919
|
+
presetId: row.id,
|
|
44920
|
+
customized,
|
|
44921
|
+
source,
|
|
44922
|
+
swatches: row.swatches,
|
|
44923
|
+
fallbacks: [...row.fallbacks]
|
|
44924
|
+
};
|
|
44925
|
+
}
|
|
44926
|
+
function hashFallback(kind, fallbacks) {
|
|
44927
|
+
let hash = 0;
|
|
44928
|
+
for (let i = 0; i < kind.length; i++) hash = hash * 31 + (kind.codePointAt(i) ?? 0) >>> 0;
|
|
44929
|
+
const hex = fallbacks[hash % fallbacks.length];
|
|
44930
|
+
if (hex === void 0) throw new Error("display palette has no fallback colour");
|
|
44931
|
+
return hex;
|
|
44932
|
+
}
|
|
44933
|
+
/** Colour a kind paints with. Audio leaves share the audio gradient's hex. */
|
|
44934
|
+
function paintHex(swatches, fallbacks, kind) {
|
|
44935
|
+
const key = kind.trim().toLowerCase();
|
|
44936
|
+
if (key.startsWith("audio-")) {
|
|
44937
|
+
const audio = swatches[AUDIO_ENTRY_ID];
|
|
44938
|
+
return audio !== void 0 ? audio.hex : hashFallback(key, fallbacks);
|
|
44939
|
+
}
|
|
44940
|
+
const direct = swatches[key];
|
|
44941
|
+
if (direct !== void 0) return direct.hex;
|
|
44942
|
+
return hashFallback(key, fallbacks);
|
|
44943
|
+
}
|
|
44944
|
+
/**
|
|
42541
44945
|
* Unified event-kind taxonomy — THE single source of truth for
|
|
42542
44946
|
* `kind → { parentKind, category, level, color, iconId, labelKey, label,
|
|
42543
44947
|
* icon }`.
|
|
@@ -42551,109 +44955,88 @@ for (const [k, v] of Object.entries(APPLE_SA_TO_MACRO.mapping)) _macroLookup.set
|
|
|
42551
44955
|
* - `addon-post-analysis/shared/frame/box-drawer.ts` (DEFAULT_COLOR)
|
|
42552
44956
|
* - the COCO / audio class maps (macro ↔ sub relationships)
|
|
42553
44957
|
*
|
|
42554
|
-
* The DATA (serializable —
|
|
42555
|
-
* `@camstack/types`.
|
|
42556
|
-
*
|
|
42557
|
-
*
|
|
42558
|
-
*
|
|
44958
|
+
* The DATA (serializable — parentKind / iconId / labelKey) lives here in
|
|
44959
|
+
* `@camstack/types`. Colour is NOT a second table: each entry's `color` is
|
|
44960
|
+
* the bundled CamStack display palette (D939). The effective cluster palette
|
|
44961
|
+
* is the `display-palette` capability. The UI-side mapping `iconId → lucide
|
|
44962
|
+
* component` and `labelKey → t()` lives in `@camstack/ui-library`.
|
|
42559
44963
|
*
|
|
42560
44964
|
* Two levels only (v1 YAGNI): macro → sub. `person` is a leaf macro.
|
|
42561
44965
|
*/
|
|
42562
|
-
var
|
|
42563
|
-
|
|
42564
|
-
|
|
42565
|
-
|
|
42566
|
-
|
|
42567
|
-
|
|
42568
|
-
|
|
42569
|
-
|
|
42570
|
-
|
|
42571
|
-
|
|
42572
|
-
};
|
|
42573
|
-
var DETECTION_SUB_COLORS = {
|
|
42574
|
-
car: "#f59e0b",
|
|
42575
|
-
truck: "#d97706",
|
|
42576
|
-
bus: "#b45309",
|
|
42577
|
-
motorcycle: "#eab308",
|
|
42578
|
-
bicycle: "#ca8a04",
|
|
42579
|
-
airplane: "#60a5fa",
|
|
42580
|
-
boat: "#2563eb",
|
|
42581
|
-
train: "#1d4ed8",
|
|
42582
|
-
bird: "#14b8a6",
|
|
42583
|
-
dog: "#84cc16",
|
|
42584
|
-
cat: "#f97316",
|
|
42585
|
-
horse: "#a16207",
|
|
42586
|
-
sheep: "#a3a3a3",
|
|
42587
|
-
cow: "#78716c",
|
|
42588
|
-
elephant: "#6b7280",
|
|
42589
|
-
bear: "#7c2d12",
|
|
42590
|
-
zebra: "#404040",
|
|
42591
|
-
giraffe: "#d4a373"
|
|
42592
|
-
};
|
|
44966
|
+
var BUNDLED_PALETTE = bundledCamstack();
|
|
44967
|
+
function kindColor(kind) {
|
|
44968
|
+
return paintHex(BUNDLED_PALETTE.swatches, BUNDLED_PALETTE.fallbacks, kind);
|
|
44969
|
+
}
|
|
44970
|
+
function firstFallback(fallbacks) {
|
|
44971
|
+
const hex = fallbacks[0];
|
|
44972
|
+
if (hex === void 0) throw new Error("display palette has no fallback colour");
|
|
44973
|
+
return hex;
|
|
44974
|
+
}
|
|
44975
|
+
firstFallback(BUNDLED_PALETTE.fallbacks);
|
|
42593
44976
|
function titleCase(id) {
|
|
42594
44977
|
return id.split(/[-_ ]/).filter((p) => p.length > 0).map((p) => p.charAt(0).toUpperCase() + p.slice(1)).join(" ");
|
|
42595
44978
|
}
|
|
42596
44979
|
var entries = /* @__PURE__ */ new Map();
|
|
42597
|
-
function macro(kind, category,
|
|
44980
|
+
function macro(kind, category, iconId, label) {
|
|
42598
44981
|
entries.set(kind, {
|
|
42599
44982
|
kind,
|
|
42600
44983
|
parentKind: null,
|
|
42601
44984
|
level: "macro",
|
|
42602
44985
|
category,
|
|
42603
|
-
color,
|
|
44986
|
+
color: kindColor(kind),
|
|
42604
44987
|
iconId,
|
|
42605
44988
|
labelKey: `eventKind.${kind}`,
|
|
42606
44989
|
label
|
|
42607
44990
|
});
|
|
42608
44991
|
}
|
|
42609
|
-
function sub(kind, parentKind, category,
|
|
44992
|
+
function sub(kind, parentKind, category, iconId, label) {
|
|
42610
44993
|
entries.set(kind, {
|
|
42611
44994
|
kind,
|
|
42612
44995
|
parentKind,
|
|
42613
44996
|
level: "sub",
|
|
42614
44997
|
category,
|
|
42615
|
-
color,
|
|
44998
|
+
color: kindColor(kind),
|
|
42616
44999
|
iconId,
|
|
42617
45000
|
labelKey: `eventKind.${kind}`,
|
|
42618
45001
|
label
|
|
42619
45002
|
});
|
|
42620
45003
|
}
|
|
42621
|
-
macro("motion", "motion",
|
|
42622
|
-
macro("audio", "audio",
|
|
42623
|
-
macro("person", "detection",
|
|
42624
|
-
macro("vehicle", "detection",
|
|
42625
|
-
macro("animal", "detection",
|
|
42626
|
-
macro("package", "package",
|
|
42627
|
-
macro("sensor", "sensor",
|
|
42628
|
-
macro("control", "control",
|
|
45004
|
+
macro("motion", "motion", "motion", "Motion");
|
|
45005
|
+
macro("audio", "audio", "audio", "Audio");
|
|
45006
|
+
macro("person", "detection", "person", "Person");
|
|
45007
|
+
macro("vehicle", "detection", "vehicle", "Vehicle");
|
|
45008
|
+
macro("animal", "detection", "animal", "Animal");
|
|
45009
|
+
macro("package", "package", "package", "Package");
|
|
45010
|
+
macro("sensor", "sensor", "sensor", "Sensor");
|
|
45011
|
+
macro("control", "control", "control", "Control");
|
|
42629
45012
|
for (const [cocoClass, macroClass] of Object.entries(COCO_TO_MACRO.mapping)) {
|
|
42630
45013
|
if (macroClass !== "vehicle" && macroClass !== "animal") continue;
|
|
42631
45014
|
if (entries.has(cocoClass)) continue;
|
|
42632
|
-
sub(cocoClass, macroClass, "detection",
|
|
42633
|
-
}
|
|
42634
|
-
sub("package-delivered", "package", "package",
|
|
42635
|
-
sub("package-picked-up", "package", "package",
|
|
42636
|
-
sub("contact", "sensor", "sensor", "
|
|
42637
|
-
sub("motion-sensor", "sensor", "sensor",
|
|
42638
|
-
sub("smoke", "sensor", "sensor", "
|
|
42639
|
-
sub("flood", "sensor", "sensor", "
|
|
42640
|
-
sub("gas", "sensor", "sensor", "
|
|
42641
|
-
sub("carbon-monoxide", "sensor", "sensor", "
|
|
42642
|
-
sub("vibration", "sensor", "sensor", "
|
|
42643
|
-
sub("tamper", "sensor", "sensor", "
|
|
42644
|
-
sub("presence", "sensor", "sensor", "
|
|
42645
|
-
sub("enum-sensor", "sensor", "sensor",
|
|
42646
|
-
sub("device-event", "sensor", "sensor", "
|
|
42647
|
-
sub("lock", "control", "control", "
|
|
42648
|
-
sub("cover", "control", "control", "
|
|
42649
|
-
sub("switch", "control", "control",
|
|
42650
|
-
sub("siren", "control", "control", "
|
|
42651
|
-
sub("button", "control", "control", "
|
|
42652
|
-
sub("doorbell", "control", "control", "
|
|
45015
|
+
sub(cocoClass, macroClass, "detection", cocoClass, titleCase(cocoClass));
|
|
45016
|
+
}
|
|
45017
|
+
sub("package-delivered", "package", "package", "package", "Package delivered");
|
|
45018
|
+
sub("package-picked-up", "package", "package", "package", "Package picked up");
|
|
45019
|
+
sub("contact", "sensor", "sensor", "door", "Contact");
|
|
45020
|
+
sub("motion-sensor", "sensor", "sensor", "pir", "Motion sensor");
|
|
45021
|
+
sub("smoke", "sensor", "sensor", "smoke", "Smoke");
|
|
45022
|
+
sub("flood", "sensor", "sensor", "water", "Water leak");
|
|
45023
|
+
sub("gas", "sensor", "sensor", "gas", "Gas");
|
|
45024
|
+
sub("carbon-monoxide", "sensor", "sensor", "smoke", "Carbon monoxide");
|
|
45025
|
+
sub("vibration", "sensor", "sensor", "vibration", "Vibration");
|
|
45026
|
+
sub("tamper", "sensor", "sensor", "tamper", "Tamper");
|
|
45027
|
+
sub("presence", "sensor", "sensor", "presence", "Presence");
|
|
45028
|
+
sub("enum-sensor", "sensor", "sensor", "generic", "Sensor state");
|
|
45029
|
+
sub("device-event", "sensor", "sensor", "button", "Device event");
|
|
45030
|
+
sub("lock", "control", "control", "lock", "Lock");
|
|
45031
|
+
sub("cover", "control", "control", "door", "Cover");
|
|
45032
|
+
sub("switch", "control", "control", "switch", "Switch");
|
|
45033
|
+
sub("siren", "control", "control", "siren", "Siren");
|
|
45034
|
+
sub("button", "control", "control", "button", "Button");
|
|
45035
|
+
sub("doorbell", "control", "control", "doorbell", "Doorbell");
|
|
42653
45036
|
for (const l of AUDIO_MACRO_LABELS) {
|
|
42654
45037
|
const kind = `audio-${l.id}`;
|
|
42655
45038
|
if (entries.has(kind)) continue;
|
|
42656
|
-
sub(kind, "audio", "audio",
|
|
45039
|
+
sub(kind, "audio", "audio", kind, l.name);
|
|
42657
45040
|
}
|
|
42658
45041
|
/** The complete taxonomy dictionary, keyed by kind. */
|
|
42659
45042
|
var EVENT_TAXONOMY = Object.freeze(Object.fromEntries(entries));
|
|
@@ -42964,9 +45347,6 @@ var NcSystemEventKindSchema = _enum([
|
|
|
42964
45347
|
"device-battery-normal",
|
|
42965
45348
|
"device-consumable-low",
|
|
42966
45349
|
"device-consumable-normal",
|
|
42967
|
-
"device-tank-low",
|
|
42968
|
-
"device-tank-full",
|
|
42969
|
-
"device-tank-normal",
|
|
42970
45350
|
"stream-online",
|
|
42971
45351
|
"stream-offline",
|
|
42972
45352
|
"node-online",
|
|
@@ -43013,13 +45393,14 @@ var NcSystemEventKindSchema = _enum([
|
|
|
43013
45393
|
"camera-enabled"
|
|
43014
45394
|
]);
|
|
43015
45395
|
/** The legacy tail of {@link NcSystemEventKindSchema} — see its docblock. */
|
|
43016
|
-
var NC_LEGACY_SYSTEM_EVENT_KINDS =
|
|
45396
|
+
var NC_LEGACY_SYSTEM_EVENT_KINDS = [
|
|
43017
45397
|
"camera-online",
|
|
43018
45398
|
"camera-offline",
|
|
43019
45399
|
"camera-disabled",
|
|
43020
45400
|
"camera-enabled"
|
|
43021
|
-
]
|
|
43022
|
-
|
|
45401
|
+
];
|
|
45402
|
+
var NC_LEGACY_SYSTEM_EVENT_KIND_SET = new Set(NC_LEGACY_SYSTEM_EVENT_KINDS);
|
|
45403
|
+
NcSystemEventKindSchema.options.filter((kind) => !NC_LEGACY_SYSTEM_EVENT_KIND_SET.has(kind));
|
|
43023
45404
|
/**
|
|
43024
45405
|
* The panel's transitions, as ONE list.
|
|
43025
45406
|
*
|
|
@@ -43542,7 +45923,7 @@ var NcConditionsSchema = object({
|
|
|
43542
45923
|
* with the list under it is worse than no switch (D62).
|
|
43543
45924
|
*
|
|
43544
45925
|
* MEMBERS ARE FACE-GALLERY `Identity.id`s (uuid), not display names. A name is
|
|
43545
|
-
* renameable, and a rule authored on "
|
|
45926
|
+
* renameable, and a rule authored on "Alice" went silently dark the moment
|
|
43546
45927
|
* the operator fixed the spelling. The id reaches the record on
|
|
43547
45928
|
* `LabelAttribution.identityId`; the name is what the editor shows and what
|
|
43548
45929
|
* `{{label}}` renders.
|
|
@@ -44093,7 +46474,7 @@ var NcRulePatchSchema = NcRuleInputSchema.partial().extend({
|
|
|
44093
46474
|
* A rule scoped to one camera and one zone silently became a rule that
|
|
44094
46475
|
* matches EVERY event on EVERY camera, and lost its `media` policy
|
|
44095
46476
|
* (zoneCrop / gif / clip / frame) and its `priority` at the same time. Seen
|
|
44096
|
-
* live on 2026-08-12: a rule scoped to device
|
|
46477
|
+
* live on 2026-08-12: a rule scoped to device 102 fired on 104 and 101
|
|
44097
46478
|
* within a minute of a two-field patch.
|
|
44098
46479
|
*
|
|
44099
46480
|
* So every defaulted field is re-declared here WITHOUT its default. The
|
|
@@ -44138,18 +46519,11 @@ var NcRuleSchema = NcRuleInputSchema.extend({
|
|
|
44138
46519
|
*/
|
|
44139
46520
|
disabledTargetIds: array(string()).default([])
|
|
44140
46521
|
});
|
|
44141
|
-
/**
|
|
44142
|
-
* The state-summary SECTIONS (D647 / D698 / D708): the D637 kind groups that
|
|
44143
|
-
* report a still-true state. `addons` is the crash-looped addons only and
|
|
44144
|
-
* `addon-updates` the addons that are behind (D708 split them). `backups-exports` and `alarm` are not sections — a completed
|
|
44145
|
-
* job is not an open state, and the alarm stays instant.
|
|
44146
|
-
*/
|
|
44147
46522
|
var NcStateSummarySectionIdSchema = _enum([
|
|
44148
46523
|
"device-state",
|
|
44149
46524
|
"streams",
|
|
44150
46525
|
"battery",
|
|
44151
46526
|
"consumables",
|
|
44152
|
-
"tanks",
|
|
44153
46527
|
"detection-blind",
|
|
44154
46528
|
"nodes",
|
|
44155
46529
|
"addons",
|
|
@@ -45450,6 +47824,18 @@ Object.freeze({
|
|
|
45450
47824
|
reason: "camera sensor mappings not loaded"
|
|
45451
47825
|
});
|
|
45452
47826
|
/**
|
|
47827
|
+
* What the vision model must answer before a package event is emitted
|
|
47828
|
+
* when a packages rule has "Confirm with the LLM" on.
|
|
47829
|
+
*
|
|
47830
|
+
* `package` is the verdict. `confidence` is 0..1. `reason` is the model's
|
|
47831
|
+
* one-line explanation, stored on the event so a drop is not silent.
|
|
47832
|
+
*/
|
|
47833
|
+
var PackageLlmVerdictSchema = object({
|
|
47834
|
+
package: boolean(),
|
|
47835
|
+
confidence: number().min(0).max(1),
|
|
47836
|
+
reason: string().min(1)
|
|
47837
|
+
});
|
|
47838
|
+
/**
|
|
45453
47839
|
* A model choice has a SCOPE, and a scope change has a workflow.
|
|
45454
47840
|
*
|
|
45455
47841
|
* ## The two scopes
|
|
@@ -45901,7 +48287,7 @@ var LabelAttributionSchema = object({
|
|
|
45901
48287
|
* `Identity.id` or a plate-gallery `Vehicle.id` (both `randomUUID`).
|
|
45902
48288
|
*
|
|
45903
48289
|
* The text alone is a DISPLAY NAME, and a display name is renameable: a
|
|
45904
|
-
* notification rule authored on "
|
|
48290
|
+
* notification rule authored on "Alice" stopped matching the moment the
|
|
45905
48291
|
* operator fixed the spelling in the gallery, and nothing said so. The id is
|
|
45906
48292
|
* the thing that does not move, so it is what a rule matches on
|
|
45907
48293
|
* (`NcConditions.identities`) and the text is what a human is shown.
|
|
@@ -46386,6 +48772,21 @@ var ObjectEventSchema = object({
|
|
|
46386
48772
|
* pick-up written before D684 — UNKNOWN, never 0 and never `timestamp`.
|
|
46387
48773
|
*/
|
|
46388
48774
|
observedAt: number().optional(),
|
|
48775
|
+
/**
|
|
48776
|
+
* The delivery was emitted without a vision-model yes (D931).
|
|
48777
|
+
*
|
|
48778
|
+
* Set only when the packages rule asked for an LLM confirm and the model
|
|
48779
|
+
* was unreachable, timed out, or answered something that did not parse.
|
|
48780
|
+
* A notification reads it so it can say "possible" instead of a definite
|
|
48781
|
+
* delivery. Absent on every other row, and on a confirm that said yes.
|
|
48782
|
+
*/
|
|
48783
|
+
packagePossible: boolean().optional(),
|
|
48784
|
+
/**
|
|
48785
|
+
* The vision model's verdict, when a packages rule asked for one and the
|
|
48786
|
+
* model answered the schema (D931). A "no" never becomes a row — the
|
|
48787
|
+
* detector drops it and logs the reason. Present on a yes.
|
|
48788
|
+
*/
|
|
48789
|
+
packageLlmVerdict: PackageLlmVerdictSchema.optional(),
|
|
46389
48790
|
/** The parent track's key-event importance [0,1], propagated to every object
|
|
46390
48791
|
* event of the track (so an event row can be sorted by importance without a
|
|
46391
48792
|
* track join). Absent on legacy rows / before the track was scored. */
|
|
@@ -48183,7 +50584,6 @@ var PipelineAddonSchemaSchema = object({
|
|
|
48183
50584
|
defaultModelId: string(),
|
|
48184
50585
|
defaultModelIdByFormat: record(string(), string()).optional(),
|
|
48185
50586
|
enabledByDefault: boolean().optional(),
|
|
48186
|
-
backfillIntoExistingOverrides: boolean().optional(),
|
|
48187
50587
|
defaultConfidence: number(),
|
|
48188
50588
|
group: string().optional(),
|
|
48189
50589
|
configSchema: array(ConfigFieldBridge).readonly().optional()
|
|
@@ -48310,13 +50710,12 @@ var AudioTestResultSchema = object({
|
|
|
48310
50710
|
error: string().optional(),
|
|
48311
50711
|
frame: custom().optional()
|
|
48312
50712
|
});
|
|
48313
|
-
var PipelineConfigBridge = custom();
|
|
48314
50713
|
var ConfigUISchemaBridge = custom();
|
|
48315
50714
|
var ConfigUISchemaNullableBridge = custom();
|
|
48316
50715
|
var InferenceCapabilitiesBridge = custom();
|
|
48317
50716
|
var ModelAvailabilityListBridge = custom();
|
|
48318
50717
|
var PipelineRunResultBridge = custom();
|
|
48319
|
-
method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngineChoiceSchema), method(
|
|
50718
|
+
method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngineChoiceSchema), method(object({ nodeId: string() }), EngineProvisioningSchema), method(_void(), record(string(), object({
|
|
48320
50719
|
modelId: string(),
|
|
48321
50720
|
settings: record(string(), unknown()).readonly()
|
|
48322
50721
|
}))), method(object({ steps: record(string(), object({
|
|
@@ -48325,28 +50724,6 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
48325
50724
|
})) }), object({ success: literal(true) }), {
|
|
48326
50725
|
kind: "mutation",
|
|
48327
50726
|
auth: "admin"
|
|
48328
|
-
}), method(object({ nodeId: string() }), object({
|
|
48329
|
-
success: literal(true),
|
|
48330
|
-
clearedDevices: number()
|
|
48331
|
-
}), {
|
|
48332
|
-
kind: "mutation",
|
|
48333
|
-
auth: "admin"
|
|
48334
|
-
}), method(object({
|
|
48335
|
-
nodeId: string(),
|
|
48336
|
-
deviceIds: array(number()).readonly().optional(),
|
|
48337
|
-
dryRun: boolean()
|
|
48338
|
-
}), object({
|
|
48339
|
-
entries: array(object({
|
|
48340
|
-
deviceId: number(),
|
|
48341
|
-
keys: array(string()).readonly()
|
|
48342
|
-
})).readonly(),
|
|
48343
|
-
refused: array(object({
|
|
48344
|
-
deviceId: number(),
|
|
48345
|
-
reason: string()
|
|
48346
|
-
})).readonly()
|
|
48347
|
-
}), {
|
|
48348
|
-
kind: "mutation",
|
|
48349
|
-
auth: "admin"
|
|
48350
50727
|
}), method(object({ nodeId: string() }), object({ unhealthy: array(object({
|
|
48351
50728
|
/** `<backend>:<device>`, e.g. `openvino:gpu`. */
|
|
48352
50729
|
deviceKey: string(),
|
|
@@ -48369,7 +50746,7 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
48369
50746
|
}), object({ rearmed: boolean() }), {
|
|
48370
50747
|
kind: "mutation",
|
|
48371
50748
|
auth: "admin"
|
|
48372
|
-
}), method(_void(), PipelineSchemaSchema), method(_void(),
|
|
50749
|
+
}), method(_void(), PipelineSchemaSchema), method(_void(), ConfigUISchemaBridge), method(object({
|
|
48373
50750
|
steps: array(PipelineStepInputSchema),
|
|
48374
50751
|
deviceKey: string().optional()
|
|
48375
50752
|
}), PipelineValidationResultSchema), method(_void(), InferenceCapabilitiesBridge), method(object({ addonId: string() }), ModelAvailabilityListBridge), method(object({
|
|
@@ -48449,7 +50826,7 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
48449
50826
|
/**
|
|
48450
50827
|
* Root-supplied detections for the tree's ROOT step (D730). Set by
|
|
48451
50828
|
* `runDetailSubtree` when the camera's root model supplies a crop-kind
|
|
48452
|
-
* step (a
|
|
50829
|
+
* step (a plus catalog `license_plate` for `plate-detection`): the step is
|
|
48453
50830
|
* NOT inferred, these boxes are its output, and its children (the plate
|
|
48454
50831
|
* reader) run on them through their own crop policy. Boxes are in the
|
|
48455
50832
|
* PIXELS of the image this call carries. Absent ⇒ the root step runs.
|
|
@@ -48617,11 +50994,18 @@ var KeptReasonSchema = _enum(["custom-pin"]);
|
|
|
48617
50994
|
* Where a choice's latency came from (D791): this node's own benchmark
|
|
48618
50995
|
* result, or the hardware-class table. Measured on the node beats the table.
|
|
48619
50996
|
*/
|
|
48620
|
-
var LatencySourceSchema = discriminatedUnion("kind", [
|
|
48621
|
-
kind: literal("
|
|
48622
|
-
|
|
48623
|
-
|
|
48624
|
-
|
|
50997
|
+
var LatencySourceSchema = discriminatedUnion("kind", [
|
|
50998
|
+
object({ kind: literal("table") }),
|
|
50999
|
+
object({
|
|
51000
|
+
kind: literal("node-benchmark"),
|
|
51001
|
+
resultId: string(),
|
|
51002
|
+
measuredAtMs: number()
|
|
51003
|
+
}),
|
|
51004
|
+
object({
|
|
51005
|
+
kind: literal("estimated"),
|
|
51006
|
+
estimatedFrom: HardwareClassIdSchema
|
|
51007
|
+
})
|
|
51008
|
+
]);
|
|
48625
51009
|
var DeviceModelChoiceSchema = object({
|
|
48626
51010
|
modelId: string(),
|
|
48627
51011
|
p50Ms: number(),
|
|
@@ -48629,6 +51013,11 @@ var DeviceModelChoiceSchema = object({
|
|
|
48629
51013
|
measured: boolean(),
|
|
48630
51014
|
/** Absent on a plan from before D791 — read as the table. */
|
|
48631
51015
|
source: LatencySourceSchema.optional(),
|
|
51016
|
+
/**
|
|
51017
|
+
* The measured class this latency was scaled from (D930). Absent when the
|
|
51018
|
+
* cell is the table or a node benchmark.
|
|
51019
|
+
*/
|
|
51020
|
+
estimatedFrom: HardwareClassIdSchema.optional(),
|
|
48632
51021
|
/** Parallel sessions at the camera rate with the headroom kept free: ⌊fps × (1 − headroom) / camera fps⌋. */
|
|
48633
51022
|
capacitySessions: number(),
|
|
48634
51023
|
personRecall: number()
|
|
@@ -48668,40 +51057,20 @@ var NodeDeviceChangeSchema = object({
|
|
|
48668
51057
|
keys: array(string()).readonly()
|
|
48669
51058
|
})).readonly()
|
|
48670
51059
|
});
|
|
48671
|
-
|
|
48672
|
-
|
|
48673
|
-
|
|
51060
|
+
/**
|
|
51061
|
+
* Every model and model-bound threshold lives on the accelerator that runs it
|
|
51062
|
+
* (D927), so the plan writes node / device entries only — there is no camera
|
|
51063
|
+
* layer for it to clear.
|
|
51064
|
+
*/
|
|
51065
|
+
var AutoTuneWarningSchema = discriminatedUnion("kind", [object({
|
|
51066
|
+
kind: literal("custom-pin-kept"),
|
|
48674
51067
|
nodeId: string(),
|
|
48675
|
-
deviceKey: string()
|
|
48676
|
-
|
|
48677
|
-
|
|
48678
|
-
|
|
48679
|
-
|
|
48680
|
-
|
|
48681
|
-
deviceId: number(),
|
|
48682
|
-
keys: array(string()).readonly()
|
|
48683
|
-
});
|
|
48684
|
-
var AutoTuneWarningSchema = discriminatedUnion("kind", [
|
|
48685
|
-
object({
|
|
48686
|
-
kind: literal("detector-store-cluster-wide"),
|
|
48687
|
-
skippedNodes: array(string()).readonly()
|
|
48688
|
-
}),
|
|
48689
|
-
object({
|
|
48690
|
-
kind: literal("detector-store-unreadable"),
|
|
48691
|
-
error: string()
|
|
48692
|
-
}),
|
|
48693
|
-
object({
|
|
48694
|
-
kind: literal("custom-pin-kept"),
|
|
48695
|
-
nodeId: string(),
|
|
48696
|
-
deviceKey: string().nullable(),
|
|
48697
|
-
deviceId: number().nullable(),
|
|
48698
|
-
modelId: string()
|
|
48699
|
-
}),
|
|
48700
|
-
object({
|
|
48701
|
-
kind: literal("custom-registry-unreadable"),
|
|
48702
|
-
error: string()
|
|
48703
|
-
})
|
|
48704
|
-
]);
|
|
51068
|
+
deviceKey: string(),
|
|
51069
|
+
modelId: string()
|
|
51070
|
+
}), object({
|
|
51071
|
+
kind: literal("custom-registry-unreadable"),
|
|
51072
|
+
error: string()
|
|
51073
|
+
})]);
|
|
48705
51074
|
var AutoTuneOptionsSchema = object({
|
|
48706
51075
|
/** Share of each accelerator's throughput kept free (0.3–0.5). */
|
|
48707
51076
|
headroom: number().min(.3).max(.5).default(.4),
|
|
@@ -48723,8 +51092,6 @@ var AutoTunePlanSchema = object({
|
|
|
48723
51092
|
generatedAt: number(),
|
|
48724
51093
|
nodes: array(NodeRecommendationSchema).readonly(),
|
|
48725
51094
|
nodeChanges: array(NodeDeviceChangeSchema).readonly(),
|
|
48726
|
-
cameraClears: array(CameraOverrideClearSchema).readonly(),
|
|
48727
|
-
detectorStoreClears: array(DetectorStoreClearSchema).readonly(),
|
|
48728
51095
|
warnings: array(AutoTuneWarningSchema).readonly()
|
|
48729
51096
|
});
|
|
48730
51097
|
var AutoTuneApplyInputSchema = object({
|
|
@@ -48735,8 +51102,6 @@ var AutoTuneApplyInputSchema = object({
|
|
|
48735
51102
|
var AutoTunePhaseResultSchema = object({
|
|
48736
51103
|
phase: _enum([
|
|
48737
51104
|
"download",
|
|
48738
|
-
"camera-overrides",
|
|
48739
|
-
"detector-thresholds",
|
|
48740
51105
|
"node-models",
|
|
48741
51106
|
"redispatch"
|
|
48742
51107
|
]),
|
|
@@ -50138,7 +52503,7 @@ var RunnerCameraConfigSchema = object({
|
|
|
50138
52503
|
* detection session that asks for history. What shipped was a last-moment
|
|
50139
52504
|
* discard — `FrameSlot`'s throttle compares wall clocks, and ~4 s of media
|
|
50140
52505
|
* arriving inside a few hundred ms of wall clock looks to it like one frame's
|
|
50141
|
-
* worth. Device
|
|
52506
|
+
* worth. Device 102, 2026-09-08: a re-run of the SAME model over the stored
|
|
50142
52507
|
* recording scored the subject `vehicle 0.5669` — above the 0.50 floor —
|
|
50143
52508
|
* 1.68 s BEFORE the live track was born, on a frame that was in the pre-roll,
|
|
50144
52509
|
* was decoded, and was freed.
|
|
@@ -50491,6 +52856,12 @@ var AgentPipelineSettingsSchema = object({
|
|
|
50491
52856
|
/** Hub-persisted UI colour (`--color-node-*` theme tokens). */
|
|
50492
52857
|
color: NodeColorIdSchema.optional(),
|
|
50493
52858
|
/**
|
|
52859
|
+
* NODE-wide step settings (D927): `stepId → { key → value }`, applied on
|
|
52860
|
+
* every accelerator of the node under the device's own settings. Never a
|
|
52861
|
+
* model or a model-bound threshold. Written by `setNodeStepSettings`.
|
|
52862
|
+
*/
|
|
52863
|
+
stepSettings: record(string(), record(string(), unknown()).readonly()).optional(),
|
|
52864
|
+
/**
|
|
50494
52865
|
* Multi-device inference opt-in (Phase 4). Per-node map deviceKey → {enabled,
|
|
50495
52866
|
* weight, steps}. Absent / all-disabled ⇒ the node's single default
|
|
50496
52867
|
* accelerator (safe default); two+ enabled ⇒ the dispatcher balances
|
|
@@ -50506,17 +52877,6 @@ var AgentPipelineSettingsSchema = object({
|
|
|
50506
52877
|
steps: record(string(), DeviceStepConfigSchema).optional()
|
|
50507
52878
|
})).optional()
|
|
50508
52879
|
});
|
|
50509
|
-
var CameraPipelineForAgentSchema = object({
|
|
50510
|
-
steps: array(PipelineStepInputSchema).readonly(),
|
|
50511
|
-
audio: object({
|
|
50512
|
-
modelId: string(),
|
|
50513
|
-
enabled: boolean()
|
|
50514
|
-
}).nullable()
|
|
50515
|
-
});
|
|
50516
|
-
var CameraStepOverridePatchSchema = object({
|
|
50517
|
-
modelId: string().optional(),
|
|
50518
|
-
settings: record(string(), unknown()).readonly().optional()
|
|
50519
|
-
});
|
|
50520
52880
|
var CameraStepSettingsSchema = record(string(), record(string(), unknown()).readonly());
|
|
50521
52881
|
/** The three root-detector choices a camera has (D507: at most one root). */
|
|
50522
52882
|
var CameraDetectionSourceSchema = _enum([
|
|
@@ -50526,9 +52886,7 @@ var CameraDetectionSourceSchema = _enum([
|
|
|
50526
52886
|
]);
|
|
50527
52887
|
var CameraPipelineSettingsSchema = object({
|
|
50528
52888
|
stepToggles: record(string(), boolean()).optional(),
|
|
50529
|
-
stepSettings: CameraStepSettingsSchema.optional()
|
|
50530
|
-
stepOverridesByDevice: record(string(), record(string(), record(string(), CameraStepOverridePatchSchema))).optional(),
|
|
50531
|
-
pipelineByAgent: record(string(), CameraPipelineForAgentSchema).optional()
|
|
52889
|
+
stepSettings: CameraStepSettingsSchema.optional()
|
|
50532
52890
|
});
|
|
50533
52891
|
/**
|
|
50534
52892
|
* Pipeline placement record persisted by `addon-pipeline-orchestrator` via
|
|
@@ -51074,6 +53432,13 @@ method(object({
|
|
|
51074
53432
|
}), object({ success: literal(true) }), {
|
|
51075
53433
|
kind: "mutation",
|
|
51076
53434
|
auth: "admin"
|
|
53435
|
+
}), method(object({
|
|
53436
|
+
agentNodeId: string(),
|
|
53437
|
+
addonId: string(),
|
|
53438
|
+
settings: record(string(), unknown()).nullable()
|
|
53439
|
+
}), object({ success: literal(true) }), {
|
|
53440
|
+
kind: "mutation",
|
|
53441
|
+
auth: "admin"
|
|
51077
53442
|
}), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
|
|
51078
53443
|
agentNodeId: string(),
|
|
51079
53444
|
deviceKey: string()
|
|
@@ -51083,9 +53448,7 @@ method(object({
|
|
|
51083
53448
|
}), method(object({ agentNodeId: string() }), object({
|
|
51084
53449
|
success: literal(true),
|
|
51085
53450
|
/** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
|
|
51086
|
-
effectiveModelId: string().nullable()
|
|
51087
|
-
/** Number of cameras whose node-scoped overrides were cleared. */
|
|
51088
|
-
clearedCameraOverrides: number()
|
|
53451
|
+
effectiveModelId: string().nullable()
|
|
51089
53452
|
}), {
|
|
51090
53453
|
kind: "mutation",
|
|
51091
53454
|
auth: "admin"
|
|
@@ -51140,15 +53503,6 @@ method(object({
|
|
|
51140
53503
|
}), object({ success: literal(true) }), {
|
|
51141
53504
|
kind: "mutation",
|
|
51142
53505
|
auth: "admin"
|
|
51143
|
-
}), method(object({ deviceId: number() }), record(string(), record(string(), record(string(), CameraStepOverridePatchSchema))).nullable()), method(object({
|
|
51144
|
-
deviceId: number(),
|
|
51145
|
-
agentNodeId: string(),
|
|
51146
|
-
deviceKey: string(),
|
|
51147
|
-
addonId: string(),
|
|
51148
|
-
patch: CameraStepOverridePatchSchema.nullable()
|
|
51149
|
-
}), object({ success: literal(true) }), {
|
|
51150
|
-
kind: "mutation",
|
|
51151
|
-
auth: "admin"
|
|
51152
53506
|
}), method(object({
|
|
51153
53507
|
deviceId: number(),
|
|
51154
53508
|
addonId: string(),
|
|
@@ -51156,13 +53510,6 @@ method(object({
|
|
|
51156
53510
|
}), object({ success: literal(true) }), {
|
|
51157
53511
|
kind: "mutation",
|
|
51158
53512
|
auth: "admin"
|
|
51159
|
-
}), method(object({
|
|
51160
|
-
deviceId: number(),
|
|
51161
|
-
agentNodeId: string(),
|
|
51162
|
-
pipeline: CameraPipelineForAgentSchema.nullable()
|
|
51163
|
-
}), object({ success: literal(true) }), {
|
|
51164
|
-
kind: "mutation",
|
|
51165
|
-
auth: "admin"
|
|
51166
53513
|
}), method(object({
|
|
51167
53514
|
deviceId: number(),
|
|
51168
53515
|
agentNodeId: string().optional()
|
|
@@ -52290,7 +54637,7 @@ method(_void(), ProviderInfoSchema, { auth: "admin" }), method(object({ config:
|
|
|
52290
54637
|
* The signals a device can emit to WAKE its own stream.
|
|
52291
54638
|
*
|
|
52292
54639
|
* A camera whose stream is built on demand sleeps until something asks for it,
|
|
52293
|
-
* and "something" cannot be a consumer that is merely attached — a
|
|
54640
|
+
* and "something" cannot be a consumer that is merely attached — a external-catalog
|
|
52294
54641
|
* puller holds a session open for ever, and treating that as demand would keep
|
|
52295
54642
|
* a battery camera awake for ever, which is the whole thing the battery is for
|
|
52296
54643
|
* (D173). So the wake has to come from the CAMERA: an event it noticed by
|
|
@@ -53058,7 +55405,7 @@ var ClipSchema = object({
|
|
|
53058
55405
|
* {@link MAX_CLIP_EVENT_IDS}. Empty on footage-only clips.
|
|
53059
55406
|
*
|
|
53060
55407
|
* Bounded because it is not a payload the surface pages through: one visit on
|
|
53061
|
-
* device
|
|
55408
|
+
* device 101 carried 2 345 ids, and `eventIds` was 99% of a 153 KB
|
|
53062
55409
|
* camera-day. Read {@link eventCount} for the true total.
|
|
53063
55410
|
*/
|
|
53064
55411
|
eventIds: array(string()).optional(),
|
|
@@ -53203,7 +55550,7 @@ var ClipPlaybackSchema = object({
|
|
|
53203
55550
|
* camera has no recordings", which is the defect this whole line of work is
|
|
53204
55551
|
* about: a battery camera nobody woke (`sleeping`), a camera that could not be
|
|
53205
55552
|
* reached at all (`unreachable`, also what a provider that THREW reports), a
|
|
53206
|
-
* camera whose SD card is not mounted (`no-storage`, measured on
|
|
55553
|
+
* camera whose SD card is not mounted (`no-storage`, measured on 106 —
|
|
53207
55554
|
* `HddInfo mount 0`, honestly nothing to list rather than "no clips"), and a
|
|
53208
55555
|
* camera whose OWN index disagrees with its OWN calendar (`index-empty`,
|
|
53209
55556
|
* measured on 618: the calendar marks 3–20 September, days 6–20 list zero
|
|
@@ -53664,7 +56011,7 @@ var videoclipsCapability = {
|
|
|
53664
56011
|
*
|
|
53665
56012
|
* It was optional, documented as "absent means the device's BOUND
|
|
53666
56013
|
* provider, which is CamStack on every camera". No code implemented
|
|
53667
|
-
* that. Measured on the live hub 2026-09-20 — device
|
|
56014
|
+
* that. Measured on the live hub 2026-09-20 — device 107, bound to
|
|
53668
56015
|
* `recorder` AND `provider-reolink` — a bare call with `limit: 3`
|
|
53669
56016
|
* answered SIX rows, three from each source, merged newest-first:
|
|
53670
56017
|
* `device-collection-dispatch.ts` simply left the fan-out un-narrowed,
|
|
@@ -54981,7 +57328,10 @@ var airQualitySensorCapability = {
|
|
|
54981
57328
|
*/
|
|
54982
57329
|
var AmbientLightSensorStatusSchema = object({
|
|
54983
57330
|
/** Current illuminance in lux (lx). */
|
|
54984
|
-
lux: number().min(0)
|
|
57331
|
+
lux: number().min(0).meta({
|
|
57332
|
+
unit: "lx",
|
|
57333
|
+
label: "Illuminance"
|
|
57334
|
+
}),
|
|
54985
57335
|
/** Ms epoch when the slice was last updated. */
|
|
54986
57336
|
lastFetchedAt: number(),
|
|
54987
57337
|
/** Live display unit from the upstream source (e.g. HA
|
|
@@ -55024,7 +57374,12 @@ var ambientLightSensorCapability = {
|
|
|
55024
57374
|
} } },
|
|
55025
57375
|
/** Clock fields: written, but excluded from the compare that decides
|
|
55026
57376
|
* whether persisting is worth a SQLite commit. */
|
|
55027
|
-
volatileStateFields: ["lastFetchedAt"]
|
|
57377
|
+
volatileStateFields: ["lastFetchedAt"],
|
|
57378
|
+
customize: {
|
|
57379
|
+
version: 1,
|
|
57380
|
+
advanced: "derive",
|
|
57381
|
+
targets: []
|
|
57382
|
+
}
|
|
55028
57383
|
};
|
|
55029
57384
|
/**
|
|
55030
57385
|
* Per-class audio metrics aggregated over a sliding window.
|
|
@@ -55251,7 +57606,10 @@ var BatteryStatusSchema = object({
|
|
|
55251
57606
|
* Consumers must SKIP a null rather than coerce it — `battery-band` already
|
|
55252
57607
|
* declines to band a non-finite reading, which is the correct shape.
|
|
55253
57608
|
*/
|
|
55254
|
-
percentage: number().min(0).max(100).nullable()
|
|
57609
|
+
percentage: number().min(0).max(100).nullable().meta({
|
|
57610
|
+
unit: "%",
|
|
57611
|
+
label: "Charge"
|
|
57612
|
+
}),
|
|
55255
57613
|
/**
|
|
55256
57614
|
* Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
|
|
55257
57615
|
* Reolink-specific for the Solar Panel 2 accessory (will become
|
|
@@ -55270,13 +57628,13 @@ var BatteryStatusSchema = object({
|
|
|
55270
57628
|
"solar",
|
|
55271
57629
|
"none",
|
|
55272
57630
|
"unknown"
|
|
55273
|
-
]),
|
|
57631
|
+
]).meta({ label: "Charging source" }),
|
|
55274
57632
|
/**
|
|
55275
57633
|
* True when the camera firmware has gone into low-power mode. Battery
|
|
55276
57634
|
* providers MUST avoid polling during sleep — reading the battery
|
|
55277
57635
|
* wakes the camera up and drains charge.
|
|
55278
57636
|
*/
|
|
55279
|
-
sleeping: boolean(),
|
|
57637
|
+
sleeping: boolean().meta({ label: "Sleeping" }),
|
|
55280
57638
|
/** Ms epoch of the last observation. Lets consumers reason about freshness. */
|
|
55281
57639
|
lastUpdated: number(),
|
|
55282
57640
|
/**
|
|
@@ -55316,22 +57674,71 @@ var BatteryStatusSchema = object({
|
|
|
55316
57674
|
* sub-threshold = low). UI MUST render "Normal"/"Low" instead of a
|
|
55317
57675
|
* misleading exact percentage. Absent/false → genuine 0–100 % reading.
|
|
55318
57676
|
*/
|
|
55319
|
-
binary: boolean().optional()
|
|
57677
|
+
binary: boolean().optional().meta({ label: "Binary indicator" })
|
|
55320
57678
|
});
|
|
57679
|
+
var BATTERY_DEVICE_TYPES = [
|
|
57680
|
+
DeviceType.Camera,
|
|
57681
|
+
DeviceType.Sensor,
|
|
57682
|
+
DeviceType.Button,
|
|
57683
|
+
DeviceType.Switch,
|
|
57684
|
+
DeviceType.PetFeeder,
|
|
57685
|
+
DeviceType.Container,
|
|
57686
|
+
DeviceType.Thermostat
|
|
57687
|
+
];
|
|
57688
|
+
/** Generic Customize target for the percentage reading (D936). */
|
|
57689
|
+
var batteryCustomize = {
|
|
57690
|
+
version: 1,
|
|
57691
|
+
advanced: "derive",
|
|
57692
|
+
targets: [{
|
|
57693
|
+
id: "percentage",
|
|
57694
|
+
cardinality: "scalar",
|
|
57695
|
+
vocabulary: {
|
|
57696
|
+
cap: "battery",
|
|
57697
|
+
stateField: "percentage"
|
|
57698
|
+
},
|
|
57699
|
+
deviceTypes: BATTERY_DEVICE_TYPES,
|
|
57700
|
+
apply: "add-or-replace",
|
|
57701
|
+
path: "percentage",
|
|
57702
|
+
sources: [{
|
|
57703
|
+
kind: "field",
|
|
57704
|
+
valueKinds: ["number", "string"],
|
|
57705
|
+
transforms: [{ kind: "identity" }, {
|
|
57706
|
+
kind: "linear",
|
|
57707
|
+
defaultScale: 1,
|
|
57708
|
+
defaultOffset: 0,
|
|
57709
|
+
clampMin: 0,
|
|
57710
|
+
clampMax: 100
|
|
57711
|
+
}]
|
|
57712
|
+
}],
|
|
57713
|
+
companions: [
|
|
57714
|
+
{
|
|
57715
|
+
kind: "constant",
|
|
57716
|
+
path: "charging",
|
|
57717
|
+
value: "unknown",
|
|
57718
|
+
when: "add"
|
|
57719
|
+
},
|
|
57720
|
+
{
|
|
57721
|
+
kind: "constant",
|
|
57722
|
+
path: "sleeping",
|
|
57723
|
+
value: false,
|
|
57724
|
+
when: "add"
|
|
57725
|
+
},
|
|
57726
|
+
{
|
|
57727
|
+
kind: "clock",
|
|
57728
|
+
path: "lastUpdated",
|
|
57729
|
+
when: "add"
|
|
57730
|
+
}
|
|
57731
|
+
],
|
|
57732
|
+
sourceReport: { status: "assignment-status" },
|
|
57733
|
+
advancedExpression: true
|
|
57734
|
+
}]
|
|
57735
|
+
};
|
|
55321
57736
|
var batteryCapability = {
|
|
55322
57737
|
name: "battery",
|
|
55323
57738
|
scope: "device",
|
|
55324
57739
|
deviceNative: true,
|
|
55325
57740
|
mode: "singleton",
|
|
55326
|
-
deviceTypes:
|
|
55327
|
-
DeviceType.Camera,
|
|
55328
|
-
DeviceType.Sensor,
|
|
55329
|
-
DeviceType.Button,
|
|
55330
|
-
DeviceType.Switch,
|
|
55331
|
-
DeviceType.PetFeeder,
|
|
55332
|
-
DeviceType.Container,
|
|
55333
|
-
DeviceType.Thermostat
|
|
55334
|
-
],
|
|
57741
|
+
deviceTypes: BATTERY_DEVICE_TYPES,
|
|
55335
57742
|
methods: {
|
|
55336
57743
|
/**
|
|
55337
57744
|
* Explicitly wake the camera from low-power sleep ahead of a
|
|
@@ -55415,6 +57822,7 @@ onStatusChanged: { data: object({
|
|
|
55415
57822
|
kind: "gauge",
|
|
55416
57823
|
unit: "%"
|
|
55417
57824
|
} } },
|
|
57825
|
+
customize: batteryCustomize,
|
|
55418
57826
|
/** Clock fields: written, but excluded from the compare that decides
|
|
55419
57827
|
* whether persisting is worth a SQLite commit. */
|
|
55420
57828
|
volatileStateFields: ["lastUpdated"]
|
|
@@ -55431,7 +57839,7 @@ onStatusChanged: { data: object({
|
|
|
55431
57839
|
* with the right HomeKit / Alexa display category.
|
|
55432
57840
|
*/
|
|
55433
57841
|
var BinaryStatusSchema = object({
|
|
55434
|
-
on: boolean(),
|
|
57842
|
+
on: boolean().meta({ label: "On" }),
|
|
55435
57843
|
/** Ms epoch of the last transition. 0 if never observed. */
|
|
55436
57844
|
lastChangedAt: number()
|
|
55437
57845
|
});
|
|
@@ -55460,7 +57868,12 @@ var binaryCapability = {
|
|
|
55460
57868
|
history: { fields: { on: { kind: "boolean" } } },
|
|
55461
57869
|
/** Clock fields: written, but excluded from the compare that decides
|
|
55462
57870
|
* whether persisting is worth a SQLite commit. */
|
|
55463
|
-
volatileStateFields: ["lastChangedAt"]
|
|
57871
|
+
volatileStateFields: ["lastChangedAt"],
|
|
57872
|
+
customize: {
|
|
57873
|
+
version: 1,
|
|
57874
|
+
advanced: "derive",
|
|
57875
|
+
targets: []
|
|
57876
|
+
}
|
|
55464
57877
|
};
|
|
55465
57878
|
/**
|
|
55466
57879
|
* Dimmable-light brightness control. Co-exists with `switch` on the
|
|
@@ -55766,7 +58179,7 @@ var GridLayoutCellSchema = object({
|
|
|
55766
58179
|
*
|
|
55767
58180
|
* A grid's `high` composes its sources' `high` and its `low` their `low`, so a
|
|
55768
58181
|
* profile is on offer only when EVERY source can serve it. The refusal NAMES
|
|
55769
|
-
* the sources, because "this grid has no low" is not a finding — "
|
|
58182
|
+
* the sources, because "this grid has no low" is not a finding — "101 has no
|
|
55770
58183
|
* low" is, and it is the one an operator can act on.
|
|
55771
58184
|
*/
|
|
55772
58185
|
var GridProfileOfferSchema = object({
|
|
@@ -56375,6 +58788,106 @@ var ConsumablesStatusSchema = object({
|
|
|
56375
58788
|
items: array(ConsumableItemSchema),
|
|
56376
58789
|
lastChangedAt: number()
|
|
56377
58790
|
});
|
|
58791
|
+
/** Synthesize seed for a link-built status (no native provider).
|
|
58792
|
+
*
|
|
58793
|
+
* ⚠ NO LIVE CALLER since 2026-08-08 (device-links deleted; see
|
|
58794
|
+
* `CapabilityStatusSchema.empty`). The wiring guidance below was written for
|
|
58795
|
+
* exactly the case the operator is asking about again — a Dreame's HA
|
|
58796
|
+
* consumable-life sensors — so it is kept for that conversation, not because
|
|
58797
|
+
* anything reads it today. */
|
|
58798
|
+
var EMPTY_STATUS = {
|
|
58799
|
+
items: [],
|
|
58800
|
+
lastChangedAt: 0
|
|
58801
|
+
};
|
|
58802
|
+
/** Seed for a NEW link-built consumable item. `key`/`label` are overwritten
|
|
58803
|
+
* with the link's `itemKey` (see `status.itemArray`), so the placeholder
|
|
58804
|
+
* empty strings never survive into a validated item. Link-built items are
|
|
58805
|
+
* not resettable — there is no native provider to receive `reset()`.
|
|
58806
|
+
*
|
|
58807
|
+
* Wiring guidance (HA vacuum consumable-life sensors):
|
|
58808
|
+
* - a percent-remaining source (`numeric-sensor`, unit '%') → `level` via
|
|
58809
|
+
* `identity` (or `linear` scale 1 offset 0 clamp [0,100] to be safe);
|
|
58810
|
+
* - an hours-remaining source (e.g. Dreame 'Main Brush Time Left', unit 'h')
|
|
58811
|
+
* → `level` via `linear` with scale = 100 / max-hours for that item
|
|
58812
|
+
* (e.g. main brush 300 h → scale 0.3333) + clamp [0,100];
|
|
58813
|
+
* - a discrete source (`enum-sensor`, e.g. mop pad 'installed') → `status`
|
|
58814
|
+
* via `enum-map` (e.g. { installed: 'ok', missing: 'replace' }).
|
|
58815
|
+
* A numeric→'replace' THRESHOLD (level < 10 → 'replace') is NOT expressible
|
|
58816
|
+
* with the current transform kinds — leave `status` null (valid) until the
|
|
58817
|
+
* expression transform lands. */
|
|
58818
|
+
/** Generic Customize target for one consumable item (D936). Native rows stay read-only. */
|
|
58819
|
+
var consumablesCustomize = {
|
|
58820
|
+
version: 1,
|
|
58821
|
+
targets: [{
|
|
58822
|
+
id: "items",
|
|
58823
|
+
cardinality: "keyedArray",
|
|
58824
|
+
vocabulary: { cap: "consumables" },
|
|
58825
|
+
deviceTypes: Object.values(DeviceType),
|
|
58826
|
+
apply: "add",
|
|
58827
|
+
path: "items",
|
|
58828
|
+
keyField: "key",
|
|
58829
|
+
labelField: "label",
|
|
58830
|
+
itemSchema: ConsumableItemSchema,
|
|
58831
|
+
nativeItems: "read-only",
|
|
58832
|
+
sourceReport: { status: "assignment-status" },
|
|
58833
|
+
fields: [
|
|
58834
|
+
{
|
|
58835
|
+
path: "level",
|
|
58836
|
+
sources: [{
|
|
58837
|
+
kind: "numeric",
|
|
58838
|
+
transforms: [{ kind: "identity" }, {
|
|
58839
|
+
kind: "linear",
|
|
58840
|
+
defaultScale: 1,
|
|
58841
|
+
defaultOffset: 0,
|
|
58842
|
+
clampMin: 0,
|
|
58843
|
+
clampMax: 100
|
|
58844
|
+
}]
|
|
58845
|
+
}]
|
|
58846
|
+
},
|
|
58847
|
+
{
|
|
58848
|
+
path: "remaining.value",
|
|
58849
|
+
sources: [{
|
|
58850
|
+
kind: "numeric",
|
|
58851
|
+
transforms: [{ kind: "identity" }]
|
|
58852
|
+
}],
|
|
58853
|
+
literals: [{
|
|
58854
|
+
path: "remaining.unit",
|
|
58855
|
+
values: [...ConsumableRemainingUnitSchema.options]
|
|
58856
|
+
}]
|
|
58857
|
+
},
|
|
58858
|
+
{
|
|
58859
|
+
path: "status",
|
|
58860
|
+
sources: [{
|
|
58861
|
+
kind: "enum",
|
|
58862
|
+
transforms: [{
|
|
58863
|
+
kind: "enum-map",
|
|
58864
|
+
outputValues: [...ConsumableStatusSchema.options],
|
|
58865
|
+
unmapped: null
|
|
58866
|
+
}]
|
|
58867
|
+
}]
|
|
58868
|
+
}
|
|
58869
|
+
],
|
|
58870
|
+
traits: [{
|
|
58871
|
+
path: "kind",
|
|
58872
|
+
values: [...ConsumableKindSchema.options],
|
|
58873
|
+
defaultValue: "wear"
|
|
58874
|
+
}, {
|
|
58875
|
+
path: "form",
|
|
58876
|
+
values: [...ConsumableFormSchema.options],
|
|
58877
|
+
defaultValue: "part"
|
|
58878
|
+
}],
|
|
58879
|
+
companions: [{
|
|
58880
|
+
kind: "clock",
|
|
58881
|
+
path: "lastChangedAt",
|
|
58882
|
+
when: "add"
|
|
58883
|
+
}, {
|
|
58884
|
+
kind: "clock",
|
|
58885
|
+
path: "lastFetchedAt",
|
|
58886
|
+
when: "add"
|
|
58887
|
+
}],
|
|
58888
|
+
advancedExpression: true
|
|
58889
|
+
}]
|
|
58890
|
+
};
|
|
56378
58891
|
var consumablesCapability = {
|
|
56379
58892
|
name: "consumables",
|
|
56380
58893
|
scope: "device",
|
|
@@ -56412,10 +58925,7 @@ reset: method(object({
|
|
|
56412
58925
|
status: {
|
|
56413
58926
|
schema: ConsumablesStatusSchema,
|
|
56414
58927
|
kind: "push",
|
|
56415
|
-
empty:
|
|
56416
|
-
items: [],
|
|
56417
|
-
lastChangedAt: 0
|
|
56418
|
-
},
|
|
58928
|
+
empty: EMPTY_STATUS,
|
|
56419
58929
|
itemArray: {
|
|
56420
58930
|
path: "items",
|
|
56421
58931
|
keyField: "key",
|
|
@@ -56451,6 +58961,7 @@ reset: method(object({
|
|
|
56451
58961
|
* brush's remaining life and a dishwasher's salt are each recorded the moment
|
|
56452
58962
|
* their provider reports them; an item that appears later gets its series.
|
|
56453
58963
|
*/
|
|
58964
|
+
customize: consumablesCustomize,
|
|
56454
58965
|
history: {
|
|
56455
58966
|
fields: {},
|
|
56456
58967
|
items: {
|
|
@@ -56830,6 +59341,30 @@ var dayNightCapability = {
|
|
|
56830
59341
|
volatileStateFields: ["lastFetchedAt"]
|
|
56831
59342
|
};
|
|
56832
59343
|
/**
|
|
59344
|
+
* display-palette — the cluster's one colour table (D939).
|
|
59345
|
+
*
|
|
59346
|
+
* Hub singleton. `getPalette` reports `unknown` when the settings store
|
|
59347
|
+
* cannot be read; it does not pretend the bundled preset was stored.
|
|
59348
|
+
* `setPalette` refuses a palette that fails the ΔE / contrast rule and names
|
|
59349
|
+
* the pairs.
|
|
59350
|
+
*/
|
|
59351
|
+
var presetSummarySchema = object({
|
|
59352
|
+
id: string(),
|
|
59353
|
+
name: string(),
|
|
59354
|
+
swatches: record(string(), paletteSwatchSchema),
|
|
59355
|
+
fallbacks: array(string())
|
|
59356
|
+
});
|
|
59357
|
+
method(_void(), paletteResultSchema, {
|
|
59358
|
+
auth: "protected",
|
|
59359
|
+
role: "viewer"
|
|
59360
|
+
}), method(_void(), array(presetSummarySchema).readonly(), {
|
|
59361
|
+
auth: "protected",
|
|
59362
|
+
role: "viewer"
|
|
59363
|
+
}), method(setPaletteInputSchema, paletteReadySchema, {
|
|
59364
|
+
kind: "mutation",
|
|
59365
|
+
auth: "admin"
|
|
59366
|
+
});
|
|
59367
|
+
/**
|
|
56833
59368
|
* Generic device-level status snapshot. Auto-registered by `BaseDevice`
|
|
56834
59369
|
* for every device, regardless of provider — the kernel needs a uniform
|
|
56835
59370
|
* cap-keyed slice for the basic device flags every consumer expects to
|
|
@@ -57193,6 +59728,36 @@ var dishwasherCapability = {
|
|
|
57193
59728
|
powerOn: { kind: "boolean" }
|
|
57194
59729
|
} }
|
|
57195
59730
|
};
|
|
59731
|
+
/** Pulse override: a rising edge advances `lastPressedAt` and the press count. */
|
|
59732
|
+
var doorbellCustomize = {
|
|
59733
|
+
version: 1,
|
|
59734
|
+
targets: [{
|
|
59735
|
+
id: "pressed",
|
|
59736
|
+
cardinality: "event",
|
|
59737
|
+
shape: "pulse",
|
|
59738
|
+
vocabulary: {
|
|
59739
|
+
cap: "doorbell",
|
|
59740
|
+
eventName: "onPressed"
|
|
59741
|
+
},
|
|
59742
|
+
deviceTypes: [DeviceType.Camera],
|
|
59743
|
+
apply: "add",
|
|
59744
|
+
applyAuthority: { kind: "composition-claim" },
|
|
59745
|
+
eventName: "onPressed",
|
|
59746
|
+
edges: ["rising"],
|
|
59747
|
+
timestampPath: "lastPressedAt",
|
|
59748
|
+
counterPath: "pressCountSinceStart",
|
|
59749
|
+
highWater: "composer-advance",
|
|
59750
|
+
combine: "any",
|
|
59751
|
+
debounce: {
|
|
59752
|
+
kind: "rising-edge",
|
|
59753
|
+
defaultDebounceMs: 2e3,
|
|
59754
|
+
changedAtRequired: true
|
|
59755
|
+
},
|
|
59756
|
+
sources: [{ kind: "binary" }, { kind: "switch" }],
|
|
59757
|
+
sourceReport: { status: "assignment-status" },
|
|
59758
|
+
advancedExpression: true
|
|
59759
|
+
}]
|
|
59760
|
+
};
|
|
57196
59761
|
var DoorbellStatusSchema = object({
|
|
57197
59762
|
/** Ms epoch of the last press. null = never observed since this provider started. */
|
|
57198
59763
|
lastPressedAt: number().nullable(),
|
|
@@ -57259,7 +59824,8 @@ onPressed: {
|
|
|
57259
59824
|
/**
|
|
57260
59825
|
* History (D850): none — `pressCountSinceStart` resets with the addon, so it is not a monotonic meter; presses live in the events ledger.
|
|
57261
59826
|
*/
|
|
57262
|
-
history: "none"
|
|
59827
|
+
history: "none",
|
|
59828
|
+
customize: doorbellCustomize
|
|
57263
59829
|
};
|
|
57264
59830
|
/**
|
|
57265
59831
|
* Enum-state sensor — a string value picked from a finite option set.
|
|
@@ -58131,7 +60697,10 @@ var humidifierCapability = {
|
|
|
58131
60697
|
*/
|
|
58132
60698
|
var HumiditySensorStatusSchema = object({
|
|
58133
60699
|
/** Current relative humidity, 0..100. */
|
|
58134
|
-
percent: number().min(0).max(100)
|
|
60700
|
+
percent: number().min(0).max(100).meta({
|
|
60701
|
+
unit: "%",
|
|
60702
|
+
label: "Humidity"
|
|
60703
|
+
}),
|
|
58135
60704
|
/** Ms epoch when the slice was last updated. */
|
|
58136
60705
|
lastFetchedAt: number(),
|
|
58137
60706
|
/** Live display unit from the upstream source (e.g. HA
|
|
@@ -58173,7 +60742,12 @@ var humiditySensorCapability = {
|
|
|
58173
60742
|
} } },
|
|
58174
60743
|
/** Clock fields: written, but excluded from the compare that decides
|
|
58175
60744
|
* whether persisting is worth a SQLite commit. */
|
|
58176
|
-
volatileStateFields: ["lastFetchedAt"]
|
|
60745
|
+
volatileStateFields: ["lastFetchedAt"],
|
|
60746
|
+
customize: {
|
|
60747
|
+
version: 1,
|
|
60748
|
+
advanced: "derive",
|
|
60749
|
+
targets: []
|
|
60750
|
+
}
|
|
58177
60751
|
};
|
|
58178
60752
|
/**
|
|
58179
60753
|
* Image display cap. Models a single still image exposed by an integration —
|
|
@@ -59655,6 +62229,38 @@ authKey: string().optional() }), object({
|
|
|
59655
62229
|
/** Human-readable error when `ok: false`. */
|
|
59656
62230
|
error: string().optional()
|
|
59657
62231
|
}), { kind: "mutation" });
|
|
62232
|
+
/** Span override: start on a rising edge, end on a fall or this timeout. */
|
|
62233
|
+
var motionCustomize = {
|
|
62234
|
+
version: 1,
|
|
62235
|
+
targets: [{
|
|
62236
|
+
id: "detected",
|
|
62237
|
+
cardinality: "event",
|
|
62238
|
+
shape: "span",
|
|
62239
|
+
vocabulary: {
|
|
62240
|
+
cap: "motion",
|
|
62241
|
+
eventName: "onMotionChanged"
|
|
62242
|
+
},
|
|
62243
|
+
deviceTypes: [DeviceType.Camera],
|
|
62244
|
+
apply: "replace",
|
|
62245
|
+
applyAuthority: {
|
|
62246
|
+
kind: "camera-sensors",
|
|
62247
|
+
timeoutField: "motionCooldownMs"
|
|
62248
|
+
},
|
|
62249
|
+
eventName: "onMotionChanged",
|
|
62250
|
+
start: "rising-edge",
|
|
62251
|
+
end: "falling-edge-or-timeout",
|
|
62252
|
+
timeoutMs: 3e4,
|
|
62253
|
+
combine: "any",
|
|
62254
|
+
sourceModes: [
|
|
62255
|
+
"in-addition",
|
|
62256
|
+
"confirm",
|
|
62257
|
+
"replace"
|
|
62258
|
+
],
|
|
62259
|
+
sources: [{ kind: "binary" }, { kind: "switch" }],
|
|
62260
|
+
sourceReport: { status: "assignment-status" },
|
|
62261
|
+
advancedExpression: false
|
|
62262
|
+
}]
|
|
62263
|
+
};
|
|
59658
62264
|
var MotionStatusSchema = object({
|
|
59659
62265
|
detected: boolean(),
|
|
59660
62266
|
/** Ms epoch of the last detected-true observation. Null if never detected. */
|
|
@@ -59794,7 +62400,8 @@ onMotionChanged: { data: MotionOnMotionChangedDataSchema } },
|
|
|
59794
62400
|
history: { fields: { detected: {
|
|
59795
62401
|
kind: "boolean",
|
|
59796
62402
|
excludeDeviceTypes: [DeviceType.Camera]
|
|
59797
|
-
} } }
|
|
62403
|
+
} } },
|
|
62404
|
+
customize: motionCustomize
|
|
59798
62405
|
};
|
|
59799
62406
|
/**
|
|
59800
62407
|
* Motion-trigger toggle for accessory devices.
|
|
@@ -61593,6 +64200,30 @@ includeCrops: boolean().optional() }).optional(), array(VehicleSchema).readonly(
|
|
|
61593
64200
|
kind: "mutation",
|
|
61594
64201
|
auth: "admin"
|
|
61595
64202
|
});
|
|
64203
|
+
var CORE_ULTRA_265K_IGPU_CLOCK_MHZ = 2e3;
|
|
64204
|
+
var positiveOrNull = number().nullable().transform((value) => value !== null && Number.isFinite(value) && value > 0 ? value : null);
|
|
64205
|
+
var textOrNull = string().nullable().transform((value) => value !== null && value.trim() !== "" ? value : null);
|
|
64206
|
+
var PrecisionGopsSchema = object({
|
|
64207
|
+
int8: positiveOrNull,
|
|
64208
|
+
fp16: positiveOrNull
|
|
64209
|
+
});
|
|
64210
|
+
/** What one accelerator device reported. Every failed query is null. */
|
|
64211
|
+
var AcceleratorComputeSchema = object({
|
|
64212
|
+
deviceKey: string(),
|
|
64213
|
+
fullDeviceName: textOrNull,
|
|
64214
|
+
executionUnits: positiveOrNull,
|
|
64215
|
+
clockMHz: positiveOrNull,
|
|
64216
|
+
gops: PrecisionGopsSchema.nullable(),
|
|
64217
|
+
architecture: textOrNull,
|
|
64218
|
+
npuName: textOrNull,
|
|
64219
|
+
tops: positiveOrNull,
|
|
64220
|
+
vendor: textOrNull,
|
|
64221
|
+
webgpuArchitecture: textOrNull,
|
|
64222
|
+
webgpuDevice: textOrNull,
|
|
64223
|
+
computeUnits: positiveOrNull
|
|
64224
|
+
});
|
|
64225
|
+
object({ accelerators: array(AcceleratorComputeSchema).nullable() });
|
|
64226
|
+
64 * CORE_ULTRA_265K_IGPU_CLOCK_MHZ;
|
|
61596
64227
|
var ModelFormatSchema = _enum(MODEL_FORMATS);
|
|
61597
64228
|
var HwAccelBackendInputSchema = _enum([
|
|
61598
64229
|
"videotoolbox",
|
|
@@ -61706,7 +64337,12 @@ var HardwareInfoSchema = object({
|
|
|
61706
64337
|
availableRAM_MB: number(),
|
|
61707
64338
|
gpu: GpuInfoSchema.nullable(),
|
|
61708
64339
|
npu: NpuInfoSchema.nullable(),
|
|
61709
|
-
coral: CoralInfoSchema.nullable().optional()
|
|
64340
|
+
coral: CoralInfoSchema.nullable().optional(),
|
|
64341
|
+
/**
|
|
64342
|
+
* Per-accelerator compute (D930). Omitted by a node that has not probed it.
|
|
64343
|
+
* `null` fields inside an entry are a failed query, never a zero.
|
|
64344
|
+
*/
|
|
64345
|
+
accelerators: array(AcceleratorComputeSchema).readonly().optional()
|
|
61710
64346
|
});
|
|
61711
64347
|
var PlatformScoreSchema = object({
|
|
61712
64348
|
runtime: literal("python"),
|
|
@@ -61790,9 +64426,15 @@ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema)
|
|
|
61790
64426
|
*/
|
|
61791
64427
|
var PowerMeterStatusSchema = object({
|
|
61792
64428
|
/** Instantaneous power draw in watts. */
|
|
61793
|
-
watts: number().optional()
|
|
64429
|
+
watts: number().optional().meta({
|
|
64430
|
+
unit: "W",
|
|
64431
|
+
label: "Power"
|
|
64432
|
+
}),
|
|
61794
64433
|
/** Cumulative energy in kilowatt-hours since the meter was reset. */
|
|
61795
|
-
kwhTotal: number().optional()
|
|
64434
|
+
kwhTotal: number().optional().meta({
|
|
64435
|
+
unit: "kWh",
|
|
64436
|
+
label: "Energy"
|
|
64437
|
+
}),
|
|
61796
64438
|
/** Voltage in volts. */
|
|
61797
64439
|
volts: number().optional(),
|
|
61798
64440
|
/** Current in amperes. */
|
|
@@ -61877,7 +64519,12 @@ var powerMeterCapability = {
|
|
|
61877
64519
|
} },
|
|
61878
64520
|
/** Clock fields: written, but excluded from the compare that decides
|
|
61879
64521
|
* whether persisting is worth a SQLite commit. */
|
|
61880
|
-
volatileStateFields: ["lastFetchedAt"]
|
|
64522
|
+
volatileStateFields: ["lastFetchedAt"],
|
|
64523
|
+
customize: {
|
|
64524
|
+
version: 1,
|
|
64525
|
+
advanced: "derive",
|
|
64526
|
+
targets: []
|
|
64527
|
+
}
|
|
61881
64528
|
};
|
|
61882
64529
|
/**
|
|
61883
64530
|
* Presence cap. Models HA `person.*` and `device_tracker.*` entities
|
|
@@ -62322,9 +64969,9 @@ var PtzOptionsSchema = object({
|
|
|
62322
64969
|
* Reolink preset 0, Hikvision preset '1', Dahua preset 1 -- and on this fleet
|
|
62323
64970
|
* not one of the three cameras honours its own:
|
|
62324
64971
|
*
|
|
62325
|
-
*
|
|
62326
|
-
* 1438
|
|
62327
|
-
* 3836
|
|
64972
|
+
* 107 Camera camera Carol (reolink) preset 0 holds "stanza"
|
|
64973
|
+
* 1438 Camera dispensa (hikvision) preset 1 holds "Credenza"
|
|
64974
|
+
* 3836 Camera studio (amcrest) preset 1 holds "Preset1"
|
|
62328
64975
|
*
|
|
62329
64976
|
* So `goHome` meant "go wherever the operator happened to save in slot 0 or 1",
|
|
62330
64977
|
* and two of the three swallowed the failure in a bare `catch`. For autotrack
|
|
@@ -62649,6 +65296,126 @@ var ptzAutotrackCapability = {
|
|
|
62649
65296
|
*/
|
|
62650
65297
|
history: "none"
|
|
62651
65298
|
};
|
|
65299
|
+
var RUNNING_POWER_START_DELAY_MS = 3e4;
|
|
65300
|
+
var RUNNING_POWER_STOP_DELAY_MS = 18e4;
|
|
65301
|
+
var RunningStateSourceSchema = _enum(["native", "assigned"]);
|
|
65302
|
+
var RunningStateStatusSchema = object({
|
|
65303
|
+
/** null = unknown — never coerced to false (D393). */
|
|
65304
|
+
running: boolean().nullable(),
|
|
65305
|
+
/** Epoch ms the current boolean began; null while `running` is null. */
|
|
65306
|
+
since: number().nullable(),
|
|
65307
|
+
source: RunningStateSourceSchema.meta({ label: "Source" }),
|
|
65308
|
+
phase: string().nullable(),
|
|
65309
|
+
/** null until a reading has been published (D393). */
|
|
65310
|
+
lastFetchedAt: number().nullable()
|
|
65311
|
+
});
|
|
65312
|
+
var RunningFlipEventDataSchema = object({
|
|
65313
|
+
deviceId: number(),
|
|
65314
|
+
since: number().nullable(),
|
|
65315
|
+
phase: string().nullable()
|
|
65316
|
+
});
|
|
65317
|
+
var RUNNING_DEVICE_TYPES = Object.values(DeviceType);
|
|
65318
|
+
/** Generic Customize target for the running boolean (D936). */
|
|
65319
|
+
var runningCustomize = {
|
|
65320
|
+
version: 1,
|
|
65321
|
+
advanced: "derive",
|
|
65322
|
+
targets: [{
|
|
65323
|
+
id: "running",
|
|
65324
|
+
cardinality: "scalar",
|
|
65325
|
+
vocabulary: {
|
|
65326
|
+
cap: "running-state",
|
|
65327
|
+
stateField: "running"
|
|
65328
|
+
},
|
|
65329
|
+
deviceTypes: [
|
|
65330
|
+
DeviceType.Dishwasher,
|
|
65331
|
+
DeviceType.Vacuum,
|
|
65332
|
+
DeviceType.LawnMower,
|
|
65333
|
+
DeviceType.MediaPlayer,
|
|
65334
|
+
DeviceType.WaterHeater,
|
|
65335
|
+
DeviceType.Humidifier,
|
|
65336
|
+
DeviceType.Fan,
|
|
65337
|
+
DeviceType.Climate,
|
|
65338
|
+
DeviceType.Thermostat,
|
|
65339
|
+
DeviceType.PetFeeder
|
|
65340
|
+
],
|
|
65341
|
+
apply: "add-or-replace",
|
|
65342
|
+
path: "running",
|
|
65343
|
+
sources: [
|
|
65344
|
+
{
|
|
65345
|
+
kind: "switch",
|
|
65346
|
+
transforms: [{ kind: "identity" }]
|
|
65347
|
+
},
|
|
65348
|
+
{
|
|
65349
|
+
kind: "binary",
|
|
65350
|
+
transforms: [{ kind: "identity" }, { kind: "invert" }]
|
|
65351
|
+
},
|
|
65352
|
+
{
|
|
65353
|
+
kind: "numeric",
|
|
65354
|
+
requiredUnit: "W",
|
|
65355
|
+
transforms: [{
|
|
65356
|
+
kind: "threshold",
|
|
65357
|
+
comparison: "gte",
|
|
65358
|
+
defaultThreshold: 5,
|
|
65359
|
+
defaultStartDwellMs: RUNNING_POWER_START_DELAY_MS,
|
|
65360
|
+
defaultStopDwellMs: RUNNING_POWER_STOP_DELAY_MS,
|
|
65361
|
+
thresholdUnit: "W"
|
|
65362
|
+
}]
|
|
65363
|
+
}
|
|
65364
|
+
],
|
|
65365
|
+
companions: [
|
|
65366
|
+
{
|
|
65367
|
+
kind: "constant",
|
|
65368
|
+
path: "source",
|
|
65369
|
+
value: "assigned",
|
|
65370
|
+
when: "always"
|
|
65371
|
+
},
|
|
65372
|
+
{
|
|
65373
|
+
kind: "constant",
|
|
65374
|
+
path: "phase",
|
|
65375
|
+
value: null,
|
|
65376
|
+
when: "always"
|
|
65377
|
+
},
|
|
65378
|
+
{
|
|
65379
|
+
kind: "clock",
|
|
65380
|
+
path: "lastFetchedAt",
|
|
65381
|
+
when: "always"
|
|
65382
|
+
},
|
|
65383
|
+
{
|
|
65384
|
+
kind: "transition-time",
|
|
65385
|
+
path: "since",
|
|
65386
|
+
sourceChangedAt: "prefer"
|
|
65387
|
+
}
|
|
65388
|
+
],
|
|
65389
|
+
sourceReport: {
|
|
65390
|
+
status: "assignment-status",
|
|
65391
|
+
runtimeField: "source",
|
|
65392
|
+
nativeValue: "native",
|
|
65393
|
+
assignedValue: "assigned"
|
|
65394
|
+
},
|
|
65395
|
+
advancedExpression: true
|
|
65396
|
+
}]
|
|
65397
|
+
};
|
|
65398
|
+
var runningStateCapability = {
|
|
65399
|
+
name: "running-state",
|
|
65400
|
+
scope: "device",
|
|
65401
|
+
deviceNative: true,
|
|
65402
|
+
mode: "singleton",
|
|
65403
|
+
deviceTypes: RUNNING_DEVICE_TYPES,
|
|
65404
|
+
methods: {},
|
|
65405
|
+
events: {
|
|
65406
|
+
onStarted: { data: RunningFlipEventDataSchema },
|
|
65407
|
+
onFinished: { data: RunningFlipEventDataSchema }
|
|
65408
|
+
},
|
|
65409
|
+
status: {
|
|
65410
|
+
schema: RunningStateStatusSchema,
|
|
65411
|
+
kind: "push"
|
|
65412
|
+
},
|
|
65413
|
+
runtimeState: RunningStateStatusSchema,
|
|
65414
|
+
durability: "restored",
|
|
65415
|
+
history: { fields: { running: { kind: "boolean" } } },
|
|
65416
|
+
volatileStateFields: ["lastFetchedAt"],
|
|
65417
|
+
customize: runningCustomize
|
|
65418
|
+
};
|
|
62652
65419
|
/**
|
|
62653
65420
|
* reboot — device-scoped capability for "soft" device reboots (firmware
|
|
62654
65421
|
* reboot via vendor protocol; cameras, NVRs, doorbells). Surfaces a
|
|
@@ -62715,7 +65482,7 @@ var RecordingAvailabilitySchema = object({
|
|
|
62715
65482
|
* would look identical. But the answer used to say nothing about that, so a
|
|
62716
65483
|
* caller asking "what can I export?" read the single preferred profile as
|
|
62717
65484
|
* the only one that exists — on this deployment every camera records `high`
|
|
62718
|
-
* AND `low`, the low tree holding 14 GB for camera
|
|
65485
|
+
* AND `low`, the low tree holding 14 GB for camera 101 alone, and the export
|
|
62719
65486
|
* UI could not see it.
|
|
62720
65487
|
*
|
|
62721
65488
|
* Cheap: it is the same shallow directory read the profile CHOICE already
|
|
@@ -62814,7 +65581,7 @@ var RecordingSourceOptionsSchema = object({
|
|
|
62814
65581
|
* `sparse` = gaps are the absence of one, and must be drawn as such.
|
|
62815
65582
|
*
|
|
62816
65583
|
* Not an onboard-only concession: measured 2026-09-24, OUR bar covers 98.8 %
|
|
62817
|
-
* of
|
|
65584
|
+
* of 107's day and 1.2 % of 1436's. It is a fact about a (source, camera)
|
|
62818
65585
|
* pair, and ours answers it per camera from `deriveRecordingMode`. */
|
|
62819
65586
|
coverage: _enum(["continuous", "sparse"]),
|
|
62820
65587
|
/** Where the playhead may be put.
|
|
@@ -62890,7 +65657,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(RecordingSourceS
|
|
|
62890
65657
|
* merely discouraged (D554 amended).
|
|
62891
65658
|
*
|
|
62892
65659
|
* It was learned the expensive way on `videoclips.listClips`: measured
|
|
62893
|
-
* on the live hub 2026-09-20, device
|
|
65660
|
+
* on the live hub 2026-09-20, device 107 bound to `recorder` AND
|
|
62894
65661
|
* `provider-reolink`, a bare call with `limit: 3` answered SIX rows,
|
|
62895
65662
|
* three from each source, merged — `device-collection-dispatch.ts`
|
|
62896
65663
|
* leaves an unpinned fan-out un-narrowed, so absence buys the union the
|
|
@@ -63491,7 +66258,7 @@ var ExportSpeedSchema = number().min(.25).max(32);
|
|
|
63491
66258
|
* on a 10 h window holding 29,393 s of footage every range landed late by the
|
|
63492
66259
|
* gap accumulated before it — up to 6,607 s, well past EOF. Nothing matched,
|
|
63493
66260
|
* the video was a uniform timelapse, and the log line reported the five ranges
|
|
63494
|
-
* that had been ASKED for (2026-08-13, export `57d14363`, camera
|
|
66261
|
+
* that had been ASKED for (2026-08-13, export `57d14363`, camera 101).
|
|
63495
66262
|
*
|
|
63496
66263
|
* Relative and not absolute epoch, because an absolute epoch would make every
|
|
63497
66264
|
* call site responsible for the same subtraction.
|
|
@@ -64382,7 +67149,7 @@ getStatus: method(object({ deviceId: number() }), RecordingSignalStatusSchema) }
|
|
|
64382
67149
|
* which put a "Scenes" tab on one camera's detail page. That is the wrong shape
|
|
64383
67150
|
* for the thing: a scene is a standing question about the property ("is the bin
|
|
64384
67151
|
* still out"), and the operator's question is "which of my scenes have tripped",
|
|
64385
|
-
* across every camera at once — not "what does camera
|
|
67152
|
+
* across every camera at once — not "what does camera 102 think". Buried one
|
|
64386
67153
|
* camera deep it also could not be found. The surface is now a top-level admin
|
|
64387
67154
|
* page (`/scenes`, `pages/Scenes.tsx`) that lists every scene on every camera and
|
|
64388
67155
|
* picks the camera inside the create flow, the same shape Events and Faces have.
|
|
@@ -64831,7 +67598,20 @@ var ZoneRuleSchema = object({
|
|
|
64831
67598
|
* Defaults to `true` so operators creating a rule via the UI
|
|
64832
67599
|
* see it active immediately.
|
|
64833
67600
|
*/
|
|
64834
|
-
enabled: boolean().default(true)
|
|
67601
|
+
enabled: boolean().default(true),
|
|
67602
|
+
/**
|
|
67603
|
+
* Package stage only. When true, a package candidate may open from a
|
|
67604
|
+
* scene difference in this rule's zone after a person leaves. The
|
|
67605
|
+
* package model, when it boxes something overlapping, is extra evidence
|
|
67606
|
+
* and is not the gate. Absent or false keeps today's model path.
|
|
67607
|
+
*/
|
|
67608
|
+
detectBySceneDifference: boolean().optional(),
|
|
67609
|
+
/**
|
|
67610
|
+
* Package stage only. When true, a promoted package is shown to the
|
|
67611
|
+
* `llm` cap before the delivery event is emitted. Absent or false emits
|
|
67612
|
+
* as today. Usable with or without `detectBySceneDifference`.
|
|
67613
|
+
*/
|
|
67614
|
+
confirmWithLlm: boolean().optional()
|
|
64835
67615
|
});
|
|
64836
67616
|
array(ZoneRuleSchema).readonly();
|
|
64837
67617
|
/**
|
|
@@ -65426,7 +68206,7 @@ function buildStreamParamsConfigSchema(options, status) {
|
|
|
65426
68206
|
* `getSettingsUISchema()` surface.
|
|
65427
68207
|
*/
|
|
65428
68208
|
var SwitchStatusSchema = object({
|
|
65429
|
-
on: boolean(),
|
|
68209
|
+
on: boolean().meta({ label: "On" }),
|
|
65430
68210
|
/** Ms epoch of the last state change. Useful for UI "X minutes ago". */
|
|
65431
68211
|
lastChangedAt: number()
|
|
65432
68212
|
});
|
|
@@ -65485,7 +68265,12 @@ var switchCapability = {
|
|
|
65485
68265
|
label: "On",
|
|
65486
68266
|
kind: "boolean"
|
|
65487
68267
|
}
|
|
65488
|
-
}] }
|
|
68268
|
+
}] },
|
|
68269
|
+
customize: {
|
|
68270
|
+
version: 1,
|
|
68271
|
+
advanced: "derive",
|
|
68272
|
+
targets: []
|
|
68273
|
+
}
|
|
65489
68274
|
};
|
|
65490
68275
|
/** C0 controls, DEL and the C1 range: none of them belongs in a name. */
|
|
65491
68276
|
function hasControlCharacter(value) {
|
|
@@ -66081,7 +68866,10 @@ var tamperCapability = {
|
|
|
66081
68866
|
*/
|
|
66082
68867
|
var TemperatureSensorStatusSchema = object({
|
|
66083
68868
|
/** Current temperature in Celsius. */
|
|
66084
|
-
celsius: number()
|
|
68869
|
+
celsius: number().meta({
|
|
68870
|
+
unit: "°C",
|
|
68871
|
+
label: "Temperature"
|
|
68872
|
+
}),
|
|
66085
68873
|
/** Ms epoch when the slice was last updated (push or poll). */
|
|
66086
68874
|
lastFetchedAt: number(),
|
|
66087
68875
|
/** Live display unit from the upstream source (e.g. HA
|
|
@@ -66124,7 +68912,12 @@ var temperatureSensorCapability = {
|
|
|
66124
68912
|
} } },
|
|
66125
68913
|
/** Clock fields: written, but excluded from the compare that decides
|
|
66126
68914
|
* whether persisting is worth a SQLite commit. */
|
|
66127
|
-
volatileStateFields: ["lastFetchedAt"]
|
|
68915
|
+
volatileStateFields: ["lastFetchedAt"],
|
|
68916
|
+
customize: {
|
|
68917
|
+
version: 1,
|
|
68918
|
+
advanced: "derive",
|
|
68919
|
+
targets: []
|
|
68920
|
+
}
|
|
66128
68921
|
};
|
|
66129
68922
|
/**
|
|
66130
68923
|
* toast — system-scoped singleton capability that streams toast
|
|
@@ -67387,7 +70180,7 @@ method(object({}), array(TrainingProviderDescriptorSchema).readonly(), { auth: "
|
|
|
67387
70180
|
* - **Jobs.** A persisted state machine, a reconcile loop against the
|
|
67388
70181
|
* provider, a cost guard, a daily orphan sweep and the retention rules.
|
|
67389
70182
|
* - **The return flow.** Verified artefacts → Model Studio
|
|
67390
|
-
* (`custom-model-registry.importModelBundle`) → canary on
|
|
70183
|
+
* (`custom-model-registry.importModelBundle`) → canary on accelerators →
|
|
67391
70184
|
* rollback. Nothing is ever registered automatically.
|
|
67392
70185
|
*
|
|
67393
70186
|
* Plan/start takes a live {@link TrainingCorpusSelection} (collections +
|
|
@@ -67524,20 +70317,24 @@ var TrainingProgressPointSchema = object({
|
|
|
67524
70317
|
map50: number().nullable(),
|
|
67525
70318
|
map50_95: number().nullable()
|
|
67526
70319
|
});
|
|
70320
|
+
/** One accelerator: a `(node, inference device)` that runs the root detector. */
|
|
70321
|
+
var TrainingAcceleratorRefSchema = object({
|
|
70322
|
+
nodeId: string(),
|
|
70323
|
+
deviceKey: string()
|
|
70324
|
+
});
|
|
70325
|
+
/**
|
|
70326
|
+
* A canary pins the registered model on chosen ACCELERATORS — a model is
|
|
70327
|
+
* chosen by the accelerator that runs it (D927); every camera balanced onto
|
|
70328
|
+
* one runs it. `previous` is the root-detector pin each one had (`null` = it
|
|
70329
|
+
* ran its default), exactly, so rollback restores it.
|
|
70330
|
+
*/
|
|
67527
70331
|
var TrainingCanarySchema = object({
|
|
67528
|
-
|
|
70332
|
+
accelerators: array(TrainingAcceleratorRefSchema).readonly(),
|
|
67529
70333
|
since: number(),
|
|
67530
|
-
|
|
67531
|
-
previous: array(object({
|
|
67532
|
-
deviceId: number().int(),
|
|
67533
|
-
nodeId: string(),
|
|
67534
|
-
deviceKey: string(),
|
|
67535
|
-
patch: object({
|
|
67536
|
-
modelId: string().optional(),
|
|
67537
|
-
settings: record(string(), unknown()).readonly().optional()
|
|
67538
|
-
}).nullable()
|
|
67539
|
-
})).readonly()
|
|
70334
|
+
previous: array(TrainingAcceleratorRefSchema.extend({ modelId: string().nullable() })).readonly()
|
|
67540
70335
|
});
|
|
70336
|
+
/** An accelerator a canary may pin: it runs the root detector, on this model now. */
|
|
70337
|
+
var TrainingCanaryTargetSchema = TrainingAcceleratorRefSchema.extend({ pinnedModelId: string().nullable() });
|
|
67541
70338
|
var TrainingJobSchema = object({
|
|
67542
70339
|
id: string(),
|
|
67543
70340
|
idempotencyKey: string(),
|
|
@@ -67649,11 +70446,11 @@ method(object({}), array(TrainingBaseModelSchema).readonly(), { auth: "admin" })
|
|
|
67649
70446
|
kind: "mutation",
|
|
67650
70447
|
auth: "admin",
|
|
67651
70448
|
timeoutMs: 12e4
|
|
67652
|
-
}), method(IdInput, TrainingResultSchema.nullable(), { auth: "admin" }), method(IdInput.extend({
|
|
70449
|
+
}), method(IdInput, TrainingResultSchema.nullable(), { auth: "admin" }), method(_void(), array(TrainingCanaryTargetSchema).readonly(), { auth: "admin" }), method(IdInput.extend({ canaryAccelerators: array(TrainingAcceleratorRefSchema).readonly() }), TrainingJobSchema, {
|
|
67653
70450
|
kind: "mutation",
|
|
67654
70451
|
auth: "admin",
|
|
67655
70452
|
timeoutMs: 30 * 6e4
|
|
67656
|
-
}), method(IdInput.extend({
|
|
70453
|
+
}), method(IdInput.extend({ accelerators: array(TrainingAcceleratorRefSchema).min(1).readonly() }), TrainingJobSchema, {
|
|
67657
70454
|
kind: "mutation",
|
|
67658
70455
|
auth: "admin",
|
|
67659
70456
|
timeoutMs: 12e4
|
|
@@ -67799,6 +70596,10 @@ function withClipEventLabels(provider, deps) {
|
|
|
67799
70596
|
};
|
|
67800
70597
|
}
|
|
67801
70598
|
SOURCE_CAPS.filter((cap) => cap !== "switch" && cap !== "motion");
|
|
70599
|
+
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;
|
|
70600
|
+
String.raw`rose\(active(\d+), changed(\d+), (\d+(?:\.\d+)?)\)`;
|
|
70601
|
+
DeviceRole.BinarySensor, DeviceRole.MotionSensor;
|
|
70602
|
+
new Set(CAP_NAMES);
|
|
67802
70603
|
Object.freeze({
|
|
67803
70604
|
person: .5,
|
|
67804
70605
|
vehicle: .5,
|
|
@@ -68164,6 +70965,7 @@ var DEVICE_LOCAL_STATE_CAPS = {
|
|
|
68164
70965
|
ptzAutotrack: ptzAutotrackCapability,
|
|
68165
70966
|
recordingOnboard: recordingOnboardCapability,
|
|
68166
70967
|
recordingSignal: recordingSignalCapability,
|
|
70968
|
+
runningState: runningStateCapability,
|
|
68167
70969
|
sceneMonitor: sceneMonitorCapability,
|
|
68168
70970
|
scriptRunner: scriptRunnerCapability,
|
|
68169
70971
|
smoke: smokeCapability,
|
|
@@ -69046,7 +71848,7 @@ var BaseDeviceProvider = class extends BaseAddon {
|
|
|
69046
71848
|
* A top-level persisted row with NO configuration is a leftover, not a
|
|
69047
71849
|
* device — quarantine it instead of dialling it.
|
|
69048
71850
|
*
|
|
69049
|
-
* Device
|
|
71851
|
+
* Device 105 was deleted, resurrected as a config-less shell by a write
|
|
69050
71852
|
* already in flight (D376), and then dialled at every single boot: eight
|
|
69051
71853
|
* `Failed to restore device — bounded retry scheduled` lines in one day,
|
|
69052
71854
|
* each one the same Zod refusal on `host` and `password`. The bound was
|
|
@@ -72360,6 +75162,27 @@ Object.freeze({
|
|
|
72360
75162
|
access: "create",
|
|
72361
75163
|
role: "viewer"
|
|
72362
75164
|
},
|
|
75165
|
+
"displayPalette.getPalette": {
|
|
75166
|
+
capName: "display-palette",
|
|
75167
|
+
capScope: "system",
|
|
75168
|
+
addonId: null,
|
|
75169
|
+
access: "view",
|
|
75170
|
+
role: "viewer"
|
|
75171
|
+
},
|
|
75172
|
+
"displayPalette.listPresets": {
|
|
75173
|
+
capName: "display-palette",
|
|
75174
|
+
capScope: "system",
|
|
75175
|
+
addonId: null,
|
|
75176
|
+
access: "view",
|
|
75177
|
+
role: "viewer"
|
|
75178
|
+
},
|
|
75179
|
+
"displayPalette.setPalette": {
|
|
75180
|
+
capName: "display-palette",
|
|
75181
|
+
capScope: "system",
|
|
75182
|
+
addonId: null,
|
|
75183
|
+
access: "create",
|
|
75184
|
+
role: "admin"
|
|
75185
|
+
},
|
|
72363
75186
|
"doorbell.getStatus": {
|
|
72364
75187
|
capName: "doorbell",
|
|
72365
75188
|
capScope: "device",
|
|
@@ -75279,20 +78102,6 @@ Object.freeze({
|
|
|
75279
78102
|
access: "create",
|
|
75280
78103
|
role: "admin"
|
|
75281
78104
|
},
|
|
75282
|
-
"pipelineExecutor.clearDeviceOverrides": {
|
|
75283
|
-
capName: "pipeline-executor",
|
|
75284
|
-
capScope: "system",
|
|
75285
|
-
addonId: null,
|
|
75286
|
-
access: "delete",
|
|
75287
|
-
role: "admin"
|
|
75288
|
-
},
|
|
75289
|
-
"pipelineExecutor.clearModelBoundDeviceOverrides": {
|
|
75290
|
-
capName: "pipeline-executor",
|
|
75291
|
-
capScope: "system",
|
|
75292
|
-
addonId: null,
|
|
75293
|
-
access: "delete",
|
|
75294
|
-
role: "admin"
|
|
75295
|
-
},
|
|
75296
78105
|
"pipelineExecutor.deleteModel": {
|
|
75297
78106
|
capName: "pipeline-executor",
|
|
75298
78107
|
capScope: "system",
|
|
@@ -75335,13 +78144,6 @@ Object.freeze({
|
|
|
75335
78144
|
access: "view",
|
|
75336
78145
|
role: "admin"
|
|
75337
78146
|
},
|
|
75338
|
-
"pipelineExecutor.getDefaultSteps": {
|
|
75339
|
-
capName: "pipeline-executor",
|
|
75340
|
-
capScope: "system",
|
|
75341
|
-
addonId: null,
|
|
75342
|
-
access: "view",
|
|
75343
|
-
role: "admin"
|
|
75344
|
-
},
|
|
75345
78147
|
"pipelineExecutor.getDetectionConfigSchema": {
|
|
75346
78148
|
capName: "pipeline-executor",
|
|
75347
78149
|
capScope: "system",
|
|
@@ -75363,20 +78165,6 @@ Object.freeze({
|
|
|
75363
78165
|
access: "view",
|
|
75364
78166
|
role: "admin"
|
|
75365
78167
|
},
|
|
75366
|
-
"pipelineExecutor.getGlobalPipelineConfig": {
|
|
75367
|
-
capName: "pipeline-executor",
|
|
75368
|
-
capScope: "system",
|
|
75369
|
-
addonId: null,
|
|
75370
|
-
access: "view",
|
|
75371
|
-
role: "admin"
|
|
75372
|
-
},
|
|
75373
|
-
"pipelineExecutor.getGlobalSteps": {
|
|
75374
|
-
capName: "pipeline-executor",
|
|
75375
|
-
capScope: "system",
|
|
75376
|
-
addonId: null,
|
|
75377
|
-
access: "view",
|
|
75378
|
-
role: "admin"
|
|
75379
|
-
},
|
|
75380
78168
|
"pipelineExecutor.getInferenceDeviceHealth": {
|
|
75381
78169
|
capName: "pipeline-executor",
|
|
75382
78170
|
capScope: "system",
|
|
@@ -75636,13 +78424,6 @@ Object.freeze({
|
|
|
75636
78424
|
access: "view",
|
|
75637
78425
|
role: "admin"
|
|
75638
78426
|
},
|
|
75639
|
-
"pipelineOrchestrator.getCameraStepOverrides": {
|
|
75640
|
-
capName: "pipeline-orchestrator",
|
|
75641
|
-
capScope: "system",
|
|
75642
|
-
addonId: null,
|
|
75643
|
-
access: "view",
|
|
75644
|
-
role: "admin"
|
|
75645
|
-
},
|
|
75646
78427
|
"pipelineOrchestrator.getCameraSwitches": {
|
|
75647
78428
|
capName: "pipeline-orchestrator",
|
|
75648
78429
|
capScope: "system",
|
|
@@ -75881,13 +78662,6 @@ Object.freeze({
|
|
|
75881
78662
|
access: "create",
|
|
75882
78663
|
role: "admin"
|
|
75883
78664
|
},
|
|
75884
|
-
"pipelineOrchestrator.setCameraPipelineForAgent": {
|
|
75885
|
-
capName: "pipeline-orchestrator",
|
|
75886
|
-
capScope: "system",
|
|
75887
|
-
addonId: null,
|
|
75888
|
-
access: "create",
|
|
75889
|
-
role: "admin"
|
|
75890
|
-
},
|
|
75891
78665
|
"pipelineOrchestrator.setCameraSensors": {
|
|
75892
78666
|
capName: "pipeline-orchestrator",
|
|
75893
78667
|
capScope: "system",
|
|
@@ -75895,42 +78669,42 @@ Object.freeze({
|
|
|
75895
78669
|
access: "create",
|
|
75896
78670
|
role: "admin"
|
|
75897
78671
|
},
|
|
75898
|
-
"pipelineOrchestrator.
|
|
78672
|
+
"pipelineOrchestrator.setCameraStepSettings": {
|
|
75899
78673
|
capName: "pipeline-orchestrator",
|
|
75900
78674
|
capScope: "system",
|
|
75901
78675
|
addonId: null,
|
|
75902
78676
|
access: "create",
|
|
75903
78677
|
role: "admin"
|
|
75904
78678
|
},
|
|
75905
|
-
"pipelineOrchestrator.
|
|
78679
|
+
"pipelineOrchestrator.setCameraStepToggle": {
|
|
75906
78680
|
capName: "pipeline-orchestrator",
|
|
75907
78681
|
capScope: "system",
|
|
75908
78682
|
addonId: null,
|
|
75909
78683
|
access: "create",
|
|
75910
78684
|
role: "admin"
|
|
75911
78685
|
},
|
|
75912
|
-
"pipelineOrchestrator.
|
|
78686
|
+
"pipelineOrchestrator.setCameraSwitch": {
|
|
75913
78687
|
capName: "pipeline-orchestrator",
|
|
75914
78688
|
capScope: "system",
|
|
75915
78689
|
addonId: null,
|
|
75916
78690
|
access: "create",
|
|
75917
78691
|
role: "admin"
|
|
75918
78692
|
},
|
|
75919
|
-
"pipelineOrchestrator.
|
|
78693
|
+
"pipelineOrchestrator.setCapabilityBinding": {
|
|
75920
78694
|
capName: "pipeline-orchestrator",
|
|
75921
78695
|
capScope: "system",
|
|
75922
78696
|
addonId: null,
|
|
75923
78697
|
access: "create",
|
|
75924
78698
|
role: "admin"
|
|
75925
78699
|
},
|
|
75926
|
-
"pipelineOrchestrator.
|
|
78700
|
+
"pipelineOrchestrator.setLoadBalancingShares": {
|
|
75927
78701
|
capName: "pipeline-orchestrator",
|
|
75928
78702
|
capScope: "system",
|
|
75929
78703
|
addonId: null,
|
|
75930
78704
|
access: "create",
|
|
75931
78705
|
role: "admin"
|
|
75932
78706
|
},
|
|
75933
|
-
"pipelineOrchestrator.
|
|
78707
|
+
"pipelineOrchestrator.setNodeStepSettings": {
|
|
75934
78708
|
capName: "pipeline-orchestrator",
|
|
75935
78709
|
capScope: "system",
|
|
75936
78710
|
addonId: null,
|
|
@@ -76959,6 +79733,13 @@ Object.freeze({
|
|
|
76959
79733
|
access: "create",
|
|
76960
79734
|
role: "admin"
|
|
76961
79735
|
},
|
|
79736
|
+
"runningState.getStatus": {
|
|
79737
|
+
capName: "running-state",
|
|
79738
|
+
capScope: "device",
|
|
79739
|
+
addonId: null,
|
|
79740
|
+
access: "view",
|
|
79741
|
+
role: "viewer"
|
|
79742
|
+
},
|
|
76962
79743
|
"sceneMonitor.captureReference": {
|
|
76963
79744
|
capName: "scene-monitor",
|
|
76964
79745
|
capScope: "device",
|
|
@@ -78289,6 +81070,13 @@ Object.freeze({
|
|
|
78289
81070
|
access: "view",
|
|
78290
81071
|
role: "admin"
|
|
78291
81072
|
},
|
|
81073
|
+
"training.listCanaryTargets": {
|
|
81074
|
+
capName: "training",
|
|
81075
|
+
capScope: "system",
|
|
81076
|
+
addonId: null,
|
|
81077
|
+
access: "view",
|
|
81078
|
+
role: "admin"
|
|
81079
|
+
},
|
|
78292
81080
|
"training.listJobs": {
|
|
78293
81081
|
capName: "training",
|
|
78294
81082
|
capScope: "system",
|
|
@@ -81666,6 +84454,32 @@ var APPLIANCE_CAP_VOCABULARY = {
|
|
|
81666
84454
|
}],
|
|
81667
84455
|
events: { onSent: { notOperatorFacing: "a delivery receipt of a send this system made — not a fact about the world" } }
|
|
81668
84456
|
},
|
|
84457
|
+
"running-state": {
|
|
84458
|
+
scope: "device",
|
|
84459
|
+
noun: t("Running", "In funzione"),
|
|
84460
|
+
state: [{
|
|
84461
|
+
kind: "boolean",
|
|
84462
|
+
field: "running",
|
|
84463
|
+
label: t("Running", "In funzione"),
|
|
84464
|
+
whenTrue: t("When {device} starts", "Quando {device} inizia"),
|
|
84465
|
+
whenFalse: t("When {device} finishes", "Quando {device} finisce"),
|
|
84466
|
+
icon: "play"
|
|
84467
|
+
}],
|
|
84468
|
+
events: {
|
|
84469
|
+
onStarted: {
|
|
84470
|
+
category: EventCategory.RunningStarted,
|
|
84471
|
+
label: t("Started running", "Ha iniziato a funzionare"),
|
|
84472
|
+
phrase: t("When {device} starts running", "Quando {device} inizia a funzionare"),
|
|
84473
|
+
icon: "play"
|
|
84474
|
+
},
|
|
84475
|
+
onFinished: {
|
|
84476
|
+
category: EventCategory.RunningFinished,
|
|
84477
|
+
label: t("Finished", "Ha finito"),
|
|
84478
|
+
phrase: t("When {device} finishes", "Quando {device} finisce"),
|
|
84479
|
+
icon: "square"
|
|
84480
|
+
}
|
|
84481
|
+
}
|
|
84482
|
+
},
|
|
81669
84483
|
update: {
|
|
81670
84484
|
scope: "device",
|
|
81671
84485
|
noun: t("Firmware update", "Aggiornamento firmware"),
|
|
@@ -82286,7 +85100,7 @@ var SENSOR_CAP_VOCABULARY = {
|
|
|
82286
85100
|
state: [{
|
|
82287
85101
|
kind: "boolean",
|
|
82288
85102
|
field: "on",
|
|
82289
|
-
label: t("
|
|
85103
|
+
label: t("On", "Acceso"),
|
|
82290
85104
|
whenTrue: t("When {device} turns active", "Quando {device} si attiva"),
|
|
82291
85105
|
whenFalse: t("When {device} turns inactive", "Quando {device} si disattiva"),
|
|
82292
85106
|
icon: "toggle-right"
|
|
@@ -82825,6 +85639,7 @@ var SYSTEM_CAP_VOCABULARY = {
|
|
|
82825
85639
|
"device-provider": system(INTERNAL),
|
|
82826
85640
|
"device-removal-hook": system(INTERNAL),
|
|
82827
85641
|
"device-state": system("the runtime-state mirror every trigger already reads through"),
|
|
85642
|
+
"display-palette": system("the cluster display palette — one colour table for every client, not a device action"),
|
|
82828
85643
|
"embedding-encoder": system(ML),
|
|
82829
85644
|
"face-gallery": system("the face gallery — curated on its own page"),
|
|
82830
85645
|
"failure-contribution": system(INTERNAL),
|
|
@@ -84893,11 +87708,6 @@ Object.freeze({
|
|
|
84893
87708
|
form: "single",
|
|
84894
87709
|
optional: false
|
|
84895
87710
|
}],
|
|
84896
|
-
"pipelineExecutor.clearModelBoundDeviceOverrides": [{
|
|
84897
|
-
name: "deviceIds",
|
|
84898
|
-
form: "array",
|
|
84899
|
-
optional: true
|
|
84900
|
-
}],
|
|
84901
87711
|
"pipelineExecutor.runPipeline": [{
|
|
84902
87712
|
name: "deviceId",
|
|
84903
87713
|
form: "single",
|
|
@@ -84953,11 +87763,6 @@ Object.freeze({
|
|
|
84953
87763
|
form: "array",
|
|
84954
87764
|
optional: true
|
|
84955
87765
|
}],
|
|
84956
|
-
"pipelineOrchestrator.getCameraStepOverrides": [{
|
|
84957
|
-
name: "deviceId",
|
|
84958
|
-
form: "single",
|
|
84959
|
-
optional: false
|
|
84960
|
-
}],
|
|
84961
87766
|
"pipelineOrchestrator.getCameraSwitches": [{
|
|
84962
87767
|
name: "deviceId",
|
|
84963
87768
|
form: "single",
|
|
@@ -84998,21 +87803,11 @@ Object.freeze({
|
|
|
84998
87803
|
form: "single",
|
|
84999
87804
|
optional: false
|
|
85000
87805
|
}],
|
|
85001
|
-
"pipelineOrchestrator.setCameraPipelineForAgent": [{
|
|
85002
|
-
name: "deviceId",
|
|
85003
|
-
form: "single",
|
|
85004
|
-
optional: false
|
|
85005
|
-
}],
|
|
85006
87806
|
"pipelineOrchestrator.setCameraSensors": [{
|
|
85007
87807
|
name: "deviceId",
|
|
85008
87808
|
form: "single",
|
|
85009
87809
|
optional: false
|
|
85010
87810
|
}],
|
|
85011
|
-
"pipelineOrchestrator.setCameraStepOverride": [{
|
|
85012
|
-
name: "deviceId",
|
|
85013
|
-
form: "single",
|
|
85014
|
-
optional: false
|
|
85015
|
-
}],
|
|
85016
87811
|
"pipelineOrchestrator.setCameraStepSettings": [{
|
|
85017
87812
|
name: "deviceId",
|
|
85018
87813
|
form: "single",
|
|
@@ -85444,6 +88239,11 @@ Object.freeze({
|
|
|
85444
88239
|
form: "single",
|
|
85445
88240
|
optional: true
|
|
85446
88241
|
}],
|
|
88242
|
+
"runningState.getStatus": [{
|
|
88243
|
+
name: "deviceId",
|
|
88244
|
+
form: "single",
|
|
88245
|
+
optional: false
|
|
88246
|
+
}],
|
|
85447
88247
|
"sceneMonitor.captureReference": [{
|
|
85448
88248
|
name: "deviceId",
|
|
85449
88249
|
form: "single",
|
|
@@ -85690,11 +88490,6 @@ Object.freeze({
|
|
|
85690
88490
|
form: "single",
|
|
85691
88491
|
optional: false
|
|
85692
88492
|
}],
|
|
85693
|
-
"training.canaryResult": [{
|
|
85694
|
-
name: "deviceIds",
|
|
85695
|
-
form: "array",
|
|
85696
|
-
optional: false
|
|
85697
|
-
}],
|
|
85698
88493
|
"update.getStatus": [{
|
|
85699
88494
|
name: "deviceId",
|
|
85700
88495
|
form: "single",
|
|
@@ -85947,6 +88742,94 @@ Object.freeze({
|
|
|
85947
88742
|
"smtp-provider": "email"
|
|
85948
88743
|
});
|
|
85949
88744
|
DeviceType.Camera;
|
|
88745
|
+
/**
|
|
88746
|
+
* A saved Customize assignment (D936). The schema is the type: callers use
|
|
88747
|
+
* `z.infer`, they do not restate the shape.
|
|
88748
|
+
*/
|
|
88749
|
+
var OverrideSourceSchema = object({
|
|
88750
|
+
addonId: string().min(1),
|
|
88751
|
+
stableId: string().min(1),
|
|
88752
|
+
cap: string().min(1),
|
|
88753
|
+
fieldPath: string().min(1)
|
|
88754
|
+
});
|
|
88755
|
+
var CustomizeTransformDraftSchema = discriminatedUnion("kind", [
|
|
88756
|
+
object({ kind: literal("identity") }),
|
|
88757
|
+
object({ kind: literal("invert") }),
|
|
88758
|
+
object({
|
|
88759
|
+
kind: literal("threshold"),
|
|
88760
|
+
comparison: _enum(["gte", "lte"]),
|
|
88761
|
+
threshold: number(),
|
|
88762
|
+
startDwellMs: number().nonnegative(),
|
|
88763
|
+
stopDwellMs: number().nonnegative()
|
|
88764
|
+
}),
|
|
88765
|
+
object({
|
|
88766
|
+
kind: literal("linear"),
|
|
88767
|
+
scale: number(),
|
|
88768
|
+
offset: number(),
|
|
88769
|
+
clampMin: number().optional(),
|
|
88770
|
+
clampMax: number().optional()
|
|
88771
|
+
}),
|
|
88772
|
+
object({
|
|
88773
|
+
kind: literal("enum-map"),
|
|
88774
|
+
mapping: record(string(), string().nullable())
|
|
88775
|
+
}),
|
|
88776
|
+
object({ kind: literal("number") })
|
|
88777
|
+
]);
|
|
88778
|
+
var ScalarOverrideDraftSchema = object({
|
|
88779
|
+
kind: literal("scalar"),
|
|
88780
|
+
cap: string().min(1),
|
|
88781
|
+
targetId: string().min(1),
|
|
88782
|
+
source: OverrideSourceSchema,
|
|
88783
|
+
transform: CustomizeTransformDraftSchema
|
|
88784
|
+
});
|
|
88785
|
+
var KeyedArrayOverrideDraftSchema = object({
|
|
88786
|
+
kind: literal("keyedArray"),
|
|
88787
|
+
cap: string().min(1),
|
|
88788
|
+
targetId: string().min(1),
|
|
88789
|
+
key: string().min(1),
|
|
88790
|
+
label: string().min(1),
|
|
88791
|
+
fieldPath: string().min(1),
|
|
88792
|
+
source: OverrideSourceSchema,
|
|
88793
|
+
transform: CustomizeTransformDraftSchema
|
|
88794
|
+
});
|
|
88795
|
+
var PulseOverrideDraftSchema = object({
|
|
88796
|
+
kind: literal("pulse"),
|
|
88797
|
+
cap: string().min(1),
|
|
88798
|
+
targetId: string().min(1),
|
|
88799
|
+
enabled: boolean(),
|
|
88800
|
+
debounceMs: number().nonnegative(),
|
|
88801
|
+
sources: array(OverrideSourceSchema).min(1)
|
|
88802
|
+
});
|
|
88803
|
+
var SpanSourceDraftSchema = OverrideSourceSchema.extend({ mode: _enum([
|
|
88804
|
+
"in-addition",
|
|
88805
|
+
"confirm",
|
|
88806
|
+
"replace"
|
|
88807
|
+
]).optional() });
|
|
88808
|
+
discriminatedUnion("kind", [
|
|
88809
|
+
ScalarOverrideDraftSchema,
|
|
88810
|
+
KeyedArrayOverrideDraftSchema,
|
|
88811
|
+
PulseOverrideDraftSchema,
|
|
88812
|
+
object({
|
|
88813
|
+
kind: literal("span"),
|
|
88814
|
+
cap: string().min(1),
|
|
88815
|
+
targetId: string().min(1),
|
|
88816
|
+
timeoutMs: number().nonnegative(),
|
|
88817
|
+
cooldownMs: number().nonnegative().optional(),
|
|
88818
|
+
sources: array(SpanSourceDraftSchema)
|
|
88819
|
+
})
|
|
88820
|
+
]);
|
|
88821
|
+
object({
|
|
88822
|
+
targetId: string().min(1),
|
|
88823
|
+
configured: boolean(),
|
|
88824
|
+
source: _enum(["native", "assigned"]),
|
|
88825
|
+
state: _enum([
|
|
88826
|
+
"active",
|
|
88827
|
+
"stale",
|
|
88828
|
+
"released",
|
|
88829
|
+
"unavailable"
|
|
88830
|
+
]),
|
|
88831
|
+
reason: string().nullable()
|
|
88832
|
+
});
|
|
85950
88833
|
var G711_SCALE_CORRECTION_DB = {
|
|
85951
88834
|
PCMU: 20 * Math.log10(4),
|
|
85952
88835
|
PCMA: 20 * Math.log10(8)
|
|
@@ -85999,40 +88882,7 @@ var NC_AUDIO_DEFAULTS = {
|
|
|
85999
88882
|
samplingSeconds: 10
|
|
86000
88883
|
};
|
|
86001
88884
|
new Set(["devices", "classes"]);
|
|
86002
|
-
|
|
86003
|
-
* WHICH narrowing filter speaks about WHICH system-event kind — one predicate,
|
|
86004
|
-
* consumed by the rule ENGINE and by every rule EDITOR.
|
|
86005
|
-
*
|
|
86006
|
-
* ── The failure this file exists for ───────────────────────────────────────
|
|
86007
|
-
* `NcSystemEventConditionSchema` carries four optional narrowing lists
|
|
86008
|
-
* (`deviceIds`, `deviceTypes`, `nodeIds`, `packageNames`) beside a required
|
|
86009
|
-
* `kinds` gate. They are not four filters over one vocabulary: each belongs to
|
|
86010
|
-
* a FAMILY of kinds and is meaningless outside it. A node going away has no
|
|
86011
|
-
* device type; a completed export has no package; `stream-offline` deliberately
|
|
86012
|
-
* carries no device type at all (a stream belongs to a camera by construction).
|
|
86013
|
-
*
|
|
86014
|
-
* The engine applied all four to every kind, so a filter from one family failed
|
|
86015
|
-
* a kind from another family CLOSED. The operator's live rule "Eventi di
|
|
86016
|
-
* sistema" selected eleven kinds and set `deviceTypes: ['camera']` — the only
|
|
86017
|
-
* way to say "only my cameras" about the two liveness kinds — and NINE of the
|
|
86018
|
-
* eleven silently stopped being deliverable. Four days of history contained
|
|
86019
|
-
* `device-online` and `device-offline` and nothing else, across a window in
|
|
86020
|
-
* which agents were restarted and addons were updated.
|
|
86021
|
-
*
|
|
86022
|
-
* Both editors already computed this scoping, to decide which filter boxes to
|
|
86023
|
-
* render; the cap's own docblock already promised it ("Narrow a `device-*` kind
|
|
86024
|
-
* to these device TYPES"). Only the engine disagreed, and it disagreed in the
|
|
86025
|
-
* destructive direction. So the rule is stated ONCE, here, and the engine and
|
|
86026
|
-
* the editors are readers of it rather than three independent authors.
|
|
86027
|
-
*
|
|
86028
|
-
* ── The direction ─────────────────────────────────────────────────────────
|
|
86029
|
-
* Out of family ⇒ the filter is IGNORED, never fail-closed. An editor that
|
|
86030
|
-
* hides a box has already told the operator this filter does not speak about
|
|
86031
|
-
* these kinds, so honouring it as an exclusion contradicts the only
|
|
86032
|
-
* explanation the operator was ever given. Inside its family the filter still
|
|
86033
|
-
* narrows, and still fails CLOSED on a subject that cannot produce the identity
|
|
86034
|
-
* it tests (a device the mirror cannot name is not evidence of a camera).
|
|
86035
|
-
*/
|
|
88885
|
+
new Set(NC_LEGACY_SYSTEM_EVENT_KINDS);
|
|
86036
88886
|
/**
|
|
86037
88887
|
* Every filter, for the callers that must cover all of them (guards, tests).
|
|
86038
88888
|
*
|
|
@@ -86058,9 +88908,6 @@ new Map(Object.entries({
|
|
|
86058
88908
|
"device-battery-normal": "device-events",
|
|
86059
88909
|
"device-consumable-low": "device-events",
|
|
86060
88910
|
"device-consumable-normal": "device-events",
|
|
86061
|
-
"device-tank-low": "device-events",
|
|
86062
|
-
"device-tank-full": "device-events",
|
|
86063
|
-
"device-tank-normal": "device-events",
|
|
86064
88911
|
"stream-online": "device-events",
|
|
86065
88912
|
"stream-offline": "device-events",
|
|
86066
88913
|
"detection-blind": "device-events",
|
|
@@ -86137,16 +88984,6 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
86137
88984
|
label: "Consumables",
|
|
86138
88985
|
kinds: ["device-consumable-low", "device-consumable-normal"]
|
|
86139
88986
|
},
|
|
86140
|
-
{
|
|
86141
|
-
id: "tanks",
|
|
86142
|
-
family: "device-events",
|
|
86143
|
-
label: "Tanks",
|
|
86144
|
-
kinds: [
|
|
86145
|
-
"device-tank-low",
|
|
86146
|
-
"device-tank-full",
|
|
86147
|
-
"device-tank-normal"
|
|
86148
|
-
]
|
|
86149
|
-
},
|
|
86150
88987
|
{
|
|
86151
88988
|
id: "detection-blind",
|
|
86152
88989
|
family: "device-events",
|
|
@@ -86304,11 +89141,6 @@ var RULE_BODY_ONLY = ["body"];
|
|
|
86304
89141
|
var RULE_TEXT = ["title", "body"];
|
|
86305
89142
|
var BATTERY = ["device-battery-low", "device-battery-normal"];
|
|
86306
89143
|
var CONSUMABLE = ["device-consumable-low", "device-consumable-normal"];
|
|
86307
|
-
var TANK = [
|
|
86308
|
-
"device-tank-low",
|
|
86309
|
-
"device-tank-full",
|
|
86310
|
-
"device-tank-normal"
|
|
86311
|
-
];
|
|
86312
89144
|
var ALERT_EPISODE = [
|
|
86313
89145
|
"alert-critical",
|
|
86314
89146
|
"alert-error",
|
|
@@ -86340,7 +89172,6 @@ var DEVICE_EVENTS = [
|
|
|
86340
89172
|
"device-enabled",
|
|
86341
89173
|
...BATTERY,
|
|
86342
89174
|
...CONSUMABLE,
|
|
86343
|
-
...TANK,
|
|
86344
89175
|
"stream-online",
|
|
86345
89176
|
"stream-offline",
|
|
86346
89177
|
"detection-blind",
|
|
@@ -86371,7 +89202,7 @@ var STATE_SUMMARY_SECTION_VARS = [
|
|
|
86371
89202
|
{
|
|
86372
89203
|
name: "summaryStreams",
|
|
86373
89204
|
label: "Summary: streams offline",
|
|
86374
|
-
example: "
|
|
89205
|
+
example: "Front door (high) — since 06:40",
|
|
86375
89206
|
kinds: ["stream-offline", "stream-online"]
|
|
86376
89207
|
},
|
|
86377
89208
|
{
|
|
@@ -86386,22 +89217,16 @@ var STATE_SUMMARY_SECTION_VARS = [
|
|
|
86386
89217
|
example: "Robot — filter 10 %",
|
|
86387
89218
|
kinds: CONSUMABLE
|
|
86388
89219
|
},
|
|
86389
|
-
{
|
|
86390
|
-
name: "summaryTanks",
|
|
86391
|
-
label: "Summary: tanks",
|
|
86392
|
-
example: "Robot — clean water low",
|
|
86393
|
-
kinds: TANK
|
|
86394
|
-
},
|
|
86395
89220
|
{
|
|
86396
89221
|
name: "summaryDetection",
|
|
86397
89222
|
label: "Summary: cameras detecting nothing",
|
|
86398
|
-
example: "
|
|
89223
|
+
example: "Front door — since 05:10",
|
|
86399
89224
|
kinds: ["detection-blind"]
|
|
86400
89225
|
},
|
|
86401
89226
|
{
|
|
86402
89227
|
name: "summaryNodes",
|
|
86403
89228
|
label: "Summary: nodes",
|
|
86404
|
-
example: "
|
|
89229
|
+
example: "agent-a — offline since 03:00",
|
|
86405
89230
|
kinds: [
|
|
86406
89231
|
"node-offline",
|
|
86407
89232
|
"node-online",
|
|
@@ -86507,8 +89332,7 @@ var STATE_SUMMARY_VARS = [
|
|
|
86507
89332
|
([...RULE_TEXT], [...COMBINED_ALARM]),
|
|
86508
89333
|
([...RULE_TEXT], [...DEVICE_EVENTS]),
|
|
86509
89334
|
([...RULE_TEXT], [...BATTERY, ...CONSUMABLE]),
|
|
86510
|
-
([...RULE_TEXT], [...CONSUMABLE
|
|
86511
|
-
([...RULE_TEXT], [...TANK]),
|
|
89335
|
+
([...RULE_TEXT], [...CONSUMABLE]),
|
|
86512
89336
|
[...RULE_TEXT],
|
|
86513
89337
|
([...RULE_TEXT], [...UPDATES, ...ALERT_EPISODE]),
|
|
86514
89338
|
([...RULE_TEXT], [...UPDATES, ...ALERT_EPISODE]),
|
|
@@ -86612,15 +89436,6 @@ new Map([
|
|
|
86612
89436
|
snapshotLabel: "Consumables low now",
|
|
86613
89437
|
snapshotSection: "consumables"
|
|
86614
89438
|
},
|
|
86615
|
-
{
|
|
86616
|
-
id: "tanks",
|
|
86617
|
-
family: "device-events",
|
|
86618
|
-
label: "Tanks (low or full / back to normal)",
|
|
86619
|
-
bad: ["device-tank-low", "device-tank-full"],
|
|
86620
|
-
recovery: ["device-tank-normal"],
|
|
86621
|
-
snapshotLabel: "Tanks low or full now",
|
|
86622
|
-
snapshotSection: "tanks"
|
|
86623
|
-
},
|
|
86624
89439
|
{
|
|
86625
89440
|
id: "motion-noise",
|
|
86626
89441
|
family: "device-events",
|
|
@@ -87073,6 +89888,10 @@ MotionOnMotionChangedDataSchema.omit({ triggeredBy: true });
|
|
|
87073
89888
|
function providerMotionEvent(source, data) {
|
|
87074
89889
|
return createEvent(EventCategory.ProviderMotion, source, data);
|
|
87075
89890
|
}
|
|
89891
|
+
Object.freeze({
|
|
89892
|
+
person: .8,
|
|
89893
|
+
vehicle: .8
|
|
89894
|
+
});
|
|
87076
89895
|
object({
|
|
87077
89896
|
/**
|
|
87078
89897
|
* Fraction of the box's own size added on EACH side before cutting.
|
|
@@ -95463,7 +98282,7 @@ var HikvisionIntercomSession = class {
|
|
|
95463
98282
|
*
|
|
95464
98283
|
* `failure-contribution` keeps `variant` for a second dimension WITHIN a
|
|
95465
98284
|
* family, and here the useful one is the format the caller pushed: an operator
|
|
95466
|
-
* asking "why is
|
|
98285
|
+
* asking "why is 102 silent" needs to know whether HomeKit's Opus or Alexa's
|
|
95467
98286
|
* raw PCM is the half that is failing. The provider is handed that value on
|
|
95468
98287
|
* every call, so it is reported rather than guessed — absent, never invented.
|
|
95469
98288
|
*
|