@camstack/addon-export-alexa 1.2.165 → 1.2.167
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/export-alexa.addon.js +2895 -417
- package/dist/export-alexa.addon.mjs +2895 -417
- package/package.json +1 -1
|
@@ -34,7 +34,7 @@ let node_path = require("node:path");
|
|
|
34
34
|
node_path = __toESM(node_path, 1);
|
|
35
35
|
require("node:child_process");
|
|
36
36
|
require("node:zlib");
|
|
37
|
-
//#region ../types/dist/event-category-
|
|
37
|
+
//#region ../types/dist/event-category-DHXxB8t9.mjs
|
|
38
38
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
39
39
|
EventCategory["SystemBoot"] = "system.boot";
|
|
40
40
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -330,7 +330,7 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
330
330
|
* TRANSITION into that state (never per dispatch), and the node is dropped
|
|
331
331
|
* from the placement candidate set for as long as it holds.
|
|
332
332
|
*
|
|
333
|
-
* This exists because the state was previously invisible:
|
|
333
|
+
* This exists because the state was previously invisible: agent-a
|
|
334
334
|
* absorbed 283k inference errors in a day while still being handed cameras,
|
|
335
335
|
* and nothing in the system said so.
|
|
336
336
|
*
|
|
@@ -361,9 +361,8 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
361
361
|
EventCategory["PipelineMotionCalm"] = "pipeline.motion-calm";
|
|
362
362
|
/**
|
|
363
363
|
* Per-camera pipeline config was mutated by the orchestrator
|
|
364
|
-
* (
|
|
365
|
-
* `setCameraStepToggle` / `
|
|
366
|
-
* pipeline-scoped `applyDeviceSettingsPatch`). Orchestrator
|
|
364
|
+
* (a settings change via `setAgentInferenceDevices` /
|
|
365
|
+
* `setCameraStepToggle` / `setCameraStepSettings`). Orchestrator
|
|
367
366
|
* subscribes to its own emission to hot-reload the assigned runner
|
|
368
367
|
* via `attachCamera` so the next frame executes against the new
|
|
369
368
|
* engine/steps without waiting for a rebalance or the next
|
|
@@ -507,6 +506,10 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
507
506
|
* on the device detail page.
|
|
508
507
|
*/
|
|
509
508
|
EventCategory["DoorbellOnPressed"] = "doorbell.onPressed";
|
|
509
|
+
/** Mirrors `runningStateCapability.events.onStarted`. */
|
|
510
|
+
EventCategory["RunningStarted"] = "running.started";
|
|
511
|
+
/** Mirrors `runningStateCapability.events.onFinished`. */
|
|
512
|
+
EventCategory["RunningFinished"] = "running.finished";
|
|
510
513
|
/**
|
|
511
514
|
* Cap event fired by every device that registers the `event-emitter`
|
|
512
515
|
* capability. Mirrors `eventEmitterCapability.events.onEvent`. Carries
|
|
@@ -5466,7 +5469,7 @@ var ZodIssueCode = {
|
|
|
5466
5469
|
var ZodFirstPartyTypeKind;
|
|
5467
5470
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5468
5471
|
//#endregion
|
|
5469
|
-
//#region ../types/dist/sleep-
|
|
5472
|
+
//#region ../types/dist/sleep-BErAxhul.mjs
|
|
5470
5473
|
/**
|
|
5471
5474
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5472
5475
|
* window to float samples (D455).
|
|
@@ -5805,7 +5808,7 @@ Object.fromEntries([
|
|
|
5805
5808
|
* `hydrateSchema` to skip the `value` injection for structural-only fields.
|
|
5806
5809
|
*/
|
|
5807
5810
|
function isValuelessField(field) {
|
|
5808
|
-
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";
|
|
5811
|
+
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";
|
|
5809
5812
|
}
|
|
5810
5813
|
function hydrateSchema(schema, values, options = {}) {
|
|
5811
5814
|
return {
|
|
@@ -8440,6 +8443,1980 @@ method(object({ deviceId: number() }), array(StreamSourceEntrySchema)), method(o
|
|
|
8440
8443
|
kind: "mutation",
|
|
8441
8444
|
auth: "admin"
|
|
8442
8445
|
}), method(object({ deviceId: number() }), unknown().nullable()), method(object({ deviceId: number() }), RawStateResultSchema.nullable(), { auth: "protected" });
|
|
8446
|
+
Object.freeze({ "doorbell": "lastPressedAt" });
|
|
8447
|
+
/** Every capability name, so addon code can check a name without the schema graph. */
|
|
8448
|
+
var CAP_NAMES = Object.freeze([
|
|
8449
|
+
"accessories",
|
|
8450
|
+
"addon-pages",
|
|
8451
|
+
"addon-pages-source",
|
|
8452
|
+
"addon-routes",
|
|
8453
|
+
"addon-settings",
|
|
8454
|
+
"addon-widgets",
|
|
8455
|
+
"addon-widgets-source",
|
|
8456
|
+
"addons",
|
|
8457
|
+
"admin-ui",
|
|
8458
|
+
"air-quality-sensor",
|
|
8459
|
+
"alarm-panel",
|
|
8460
|
+
"alerts",
|
|
8461
|
+
"ambient-light-sensor",
|
|
8462
|
+
"audio-analysis",
|
|
8463
|
+
"audio-analyzer",
|
|
8464
|
+
"audio-codec",
|
|
8465
|
+
"audio-metrics",
|
|
8466
|
+
"auth-provider",
|
|
8467
|
+
"automation-control",
|
|
8468
|
+
"backup",
|
|
8469
|
+
"battery",
|
|
8470
|
+
"binary",
|
|
8471
|
+
"brightness",
|
|
8472
|
+
"broker",
|
|
8473
|
+
"button",
|
|
8474
|
+
"calendar-source",
|
|
8475
|
+
"calendars",
|
|
8476
|
+
"camera-credentials",
|
|
8477
|
+
"camera-grid-layout",
|
|
8478
|
+
"camera-pipeline-config",
|
|
8479
|
+
"camera-streams",
|
|
8480
|
+
"carbon-monoxide",
|
|
8481
|
+
"climate-control",
|
|
8482
|
+
"color",
|
|
8483
|
+
"composer",
|
|
8484
|
+
"connection-test",
|
|
8485
|
+
"connectivity",
|
|
8486
|
+
"consumables",
|
|
8487
|
+
"contact",
|
|
8488
|
+
"control",
|
|
8489
|
+
"core-blocks",
|
|
8490
|
+
"cover",
|
|
8491
|
+
"custom-model-registry",
|
|
8492
|
+
"data-store-provider",
|
|
8493
|
+
"database-snapshot",
|
|
8494
|
+
"day-night",
|
|
8495
|
+
"decoder",
|
|
8496
|
+
"detection-pipeline",
|
|
8497
|
+
"device-admin-link",
|
|
8498
|
+
"device-adoption",
|
|
8499
|
+
"device-credentials",
|
|
8500
|
+
"device-discovery",
|
|
8501
|
+
"device-export",
|
|
8502
|
+
"device-extension",
|
|
8503
|
+
"device-history",
|
|
8504
|
+
"device-manager",
|
|
8505
|
+
"device-ops",
|
|
8506
|
+
"device-provider",
|
|
8507
|
+
"device-removal-hook",
|
|
8508
|
+
"device-state",
|
|
8509
|
+
"device-status",
|
|
8510
|
+
"dishwasher",
|
|
8511
|
+
"display-palette",
|
|
8512
|
+
"doorbell",
|
|
8513
|
+
"embedding-encoder",
|
|
8514
|
+
"enum-sensor",
|
|
8515
|
+
"event-emitter",
|
|
8516
|
+
"face-gallery",
|
|
8517
|
+
"failure-contribution",
|
|
8518
|
+
"fan-control",
|
|
8519
|
+
"feature-probe",
|
|
8520
|
+
"filesystem-browse",
|
|
8521
|
+
"flood",
|
|
8522
|
+
"gas",
|
|
8523
|
+
"heating-valve",
|
|
8524
|
+
"humidifier",
|
|
8525
|
+
"humidity-sensor",
|
|
8526
|
+
"image",
|
|
8527
|
+
"image-settings",
|
|
8528
|
+
"integrations",
|
|
8529
|
+
"intercom",
|
|
8530
|
+
"keychain",
|
|
8531
|
+
"keychain-admin",
|
|
8532
|
+
"lawn-mower-control",
|
|
8533
|
+
"llm",
|
|
8534
|
+
"llm-runtime",
|
|
8535
|
+
"load-contribution",
|
|
8536
|
+
"local-network",
|
|
8537
|
+
"lock-control",
|
|
8538
|
+
"log-channels",
|
|
8539
|
+
"log-destination",
|
|
8540
|
+
"login-method",
|
|
8541
|
+
"media-player",
|
|
8542
|
+
"mesh-network",
|
|
8543
|
+
"metrics-provider",
|
|
8544
|
+
"model-convert",
|
|
8545
|
+
"model-distributor",
|
|
8546
|
+
"motion",
|
|
8547
|
+
"motion-detection",
|
|
8548
|
+
"motion-trigger",
|
|
8549
|
+
"motion-zones",
|
|
8550
|
+
"mqtt-broker",
|
|
8551
|
+
"native-object-detection",
|
|
8552
|
+
"navigation",
|
|
8553
|
+
"network-access",
|
|
8554
|
+
"network-link",
|
|
8555
|
+
"network-quality",
|
|
8556
|
+
"node-certificates",
|
|
8557
|
+
"nodes",
|
|
8558
|
+
"notification-output",
|
|
8559
|
+
"notification-rules",
|
|
8560
|
+
"notifier",
|
|
8561
|
+
"numeric-sensor",
|
|
8562
|
+
"oauth-integration",
|
|
8563
|
+
"oidc-connections",
|
|
8564
|
+
"osd",
|
|
8565
|
+
"osd-manager",
|
|
8566
|
+
"pet-feeder",
|
|
8567
|
+
"pipeline-analytics",
|
|
8568
|
+
"pipeline-executor",
|
|
8569
|
+
"pipeline-orchestrator",
|
|
8570
|
+
"pipeline-runner",
|
|
8571
|
+
"plate-gallery",
|
|
8572
|
+
"platform-probe",
|
|
8573
|
+
"power-meter",
|
|
8574
|
+
"presence",
|
|
8575
|
+
"pressure-sensor",
|
|
8576
|
+
"privacy-mask",
|
|
8577
|
+
"ptz",
|
|
8578
|
+
"ptz-autotrack",
|
|
8579
|
+
"reboot",
|
|
8580
|
+
"record-entries",
|
|
8581
|
+
"recording",
|
|
8582
|
+
"recording-archive",
|
|
8583
|
+
"recording-export",
|
|
8584
|
+
"recording-onboard",
|
|
8585
|
+
"recording-signal",
|
|
8586
|
+
"records",
|
|
8587
|
+
"running-state",
|
|
8588
|
+
"scene-monitor",
|
|
8589
|
+
"script-runner",
|
|
8590
|
+
"server-management",
|
|
8591
|
+
"settings-store",
|
|
8592
|
+
"smoke",
|
|
8593
|
+
"smtp-provider",
|
|
8594
|
+
"snapshot",
|
|
8595
|
+
"sso-bridge",
|
|
8596
|
+
"storage",
|
|
8597
|
+
"storage-admin",
|
|
8598
|
+
"storage-evictable",
|
|
8599
|
+
"storage-migration",
|
|
8600
|
+
"storage-occupancy",
|
|
8601
|
+
"storage-provider",
|
|
8602
|
+
"stream-broker",
|
|
8603
|
+
"stream-catalog",
|
|
8604
|
+
"stream-params",
|
|
8605
|
+
"stream-signals",
|
|
8606
|
+
"switch",
|
|
8607
|
+
"system",
|
|
8608
|
+
"tamper",
|
|
8609
|
+
"temperature-sensor",
|
|
8610
|
+
"terminal-session",
|
|
8611
|
+
"toast",
|
|
8612
|
+
"training",
|
|
8613
|
+
"training-provider",
|
|
8614
|
+
"turn-provider",
|
|
8615
|
+
"update",
|
|
8616
|
+
"user-management",
|
|
8617
|
+
"user-passkeys",
|
|
8618
|
+
"vacuum-control",
|
|
8619
|
+
"valve",
|
|
8620
|
+
"vector-store",
|
|
8621
|
+
"vibration",
|
|
8622
|
+
"videoclips",
|
|
8623
|
+
"viewer-ui",
|
|
8624
|
+
"water-heater",
|
|
8625
|
+
"weather",
|
|
8626
|
+
"webrtc-session",
|
|
8627
|
+
"zone-analytics",
|
|
8628
|
+
"zone-rules",
|
|
8629
|
+
"zones"
|
|
8630
|
+
]);
|
|
8631
|
+
Object.freeze({
|
|
8632
|
+
"air-quality-sensor": [
|
|
8633
|
+
{
|
|
8634
|
+
"path": "co2Ppm",
|
|
8635
|
+
"valueType": "number"
|
|
8636
|
+
},
|
|
8637
|
+
{
|
|
8638
|
+
"path": "vocPpb",
|
|
8639
|
+
"valueType": "number"
|
|
8640
|
+
},
|
|
8641
|
+
{
|
|
8642
|
+
"path": "pm25",
|
|
8643
|
+
"valueType": "number"
|
|
8644
|
+
},
|
|
8645
|
+
{
|
|
8646
|
+
"path": "pm10",
|
|
8647
|
+
"valueType": "number"
|
|
8648
|
+
},
|
|
8649
|
+
{
|
|
8650
|
+
"path": "aqi",
|
|
8651
|
+
"valueType": "number"
|
|
8652
|
+
},
|
|
8653
|
+
{
|
|
8654
|
+
"path": "unit",
|
|
8655
|
+
"valueType": "string"
|
|
8656
|
+
},
|
|
8657
|
+
{
|
|
8658
|
+
"path": "precision",
|
|
8659
|
+
"valueType": "number"
|
|
8660
|
+
}
|
|
8661
|
+
],
|
|
8662
|
+
"alarm-panel": [
|
|
8663
|
+
{
|
|
8664
|
+
"path": "state",
|
|
8665
|
+
"valueType": "enum",
|
|
8666
|
+
"enumValues": [
|
|
8667
|
+
"disarmed",
|
|
8668
|
+
"armed_home",
|
|
8669
|
+
"armed_away",
|
|
8670
|
+
"armed_night",
|
|
8671
|
+
"armed_vacation",
|
|
8672
|
+
"armed_custom_bypass",
|
|
8673
|
+
"arming",
|
|
8674
|
+
"disarming",
|
|
8675
|
+
"pending",
|
|
8676
|
+
"triggered"
|
|
8677
|
+
]
|
|
8678
|
+
},
|
|
8679
|
+
{
|
|
8680
|
+
"path": "targetMode",
|
|
8681
|
+
"valueType": "enum",
|
|
8682
|
+
"enumValues": [
|
|
8683
|
+
"home",
|
|
8684
|
+
"away",
|
|
8685
|
+
"night",
|
|
8686
|
+
"vacation",
|
|
8687
|
+
"custom_bypass"
|
|
8688
|
+
]
|
|
8689
|
+
},
|
|
8690
|
+
{
|
|
8691
|
+
"path": "requiresCode",
|
|
8692
|
+
"valueType": "boolean"
|
|
8693
|
+
}
|
|
8694
|
+
],
|
|
8695
|
+
"ambient-light-sensor": [
|
|
8696
|
+
{
|
|
8697
|
+
"path": "lux",
|
|
8698
|
+
"valueType": "number"
|
|
8699
|
+
},
|
|
8700
|
+
{
|
|
8701
|
+
"path": "unit",
|
|
8702
|
+
"valueType": "string"
|
|
8703
|
+
},
|
|
8704
|
+
{
|
|
8705
|
+
"path": "precision",
|
|
8706
|
+
"valueType": "number"
|
|
8707
|
+
}
|
|
8708
|
+
],
|
|
8709
|
+
"audio-metrics": [
|
|
8710
|
+
{
|
|
8711
|
+
"path": "ts",
|
|
8712
|
+
"valueType": "number"
|
|
8713
|
+
},
|
|
8714
|
+
{
|
|
8715
|
+
"path": "windowSec",
|
|
8716
|
+
"valueType": "number"
|
|
8717
|
+
},
|
|
8718
|
+
{
|
|
8719
|
+
"path": "level.rms",
|
|
8720
|
+
"valueType": "number"
|
|
8721
|
+
},
|
|
8722
|
+
{
|
|
8723
|
+
"path": "level.dbfs",
|
|
8724
|
+
"valueType": "number"
|
|
8725
|
+
},
|
|
8726
|
+
{
|
|
8727
|
+
"path": "peakDbfs",
|
|
8728
|
+
"valueType": "number"
|
|
8729
|
+
},
|
|
8730
|
+
{
|
|
8731
|
+
"path": "avgDbfs",
|
|
8732
|
+
"valueType": "number"
|
|
8733
|
+
},
|
|
8734
|
+
{
|
|
8735
|
+
"path": "current.className",
|
|
8736
|
+
"valueType": "string"
|
|
8737
|
+
},
|
|
8738
|
+
{
|
|
8739
|
+
"path": "current.score",
|
|
8740
|
+
"valueType": "number"
|
|
8741
|
+
},
|
|
8742
|
+
{
|
|
8743
|
+
"path": "current.timestamp",
|
|
8744
|
+
"valueType": "number"
|
|
8745
|
+
}
|
|
8746
|
+
],
|
|
8747
|
+
"automation-control": [
|
|
8748
|
+
{
|
|
8749
|
+
"path": "enabled",
|
|
8750
|
+
"valueType": "boolean"
|
|
8751
|
+
},
|
|
8752
|
+
{
|
|
8753
|
+
"path": "isRunning",
|
|
8754
|
+
"valueType": "boolean"
|
|
8755
|
+
},
|
|
8756
|
+
{
|
|
8757
|
+
"path": "lastTriggeredAt",
|
|
8758
|
+
"valueType": "number"
|
|
8759
|
+
},
|
|
8760
|
+
{
|
|
8761
|
+
"path": "lastError",
|
|
8762
|
+
"valueType": "string"
|
|
8763
|
+
}
|
|
8764
|
+
],
|
|
8765
|
+
"battery": [
|
|
8766
|
+
{
|
|
8767
|
+
"path": "percentage",
|
|
8768
|
+
"valueType": "number"
|
|
8769
|
+
},
|
|
8770
|
+
{
|
|
8771
|
+
"path": "charging",
|
|
8772
|
+
"valueType": "enum",
|
|
8773
|
+
"enumValues": [
|
|
8774
|
+
"dc",
|
|
8775
|
+
"solar",
|
|
8776
|
+
"none",
|
|
8777
|
+
"unknown"
|
|
8778
|
+
]
|
|
8779
|
+
},
|
|
8780
|
+
{
|
|
8781
|
+
"path": "sleeping",
|
|
8782
|
+
"valueType": "boolean"
|
|
8783
|
+
},
|
|
8784
|
+
{
|
|
8785
|
+
"path": "lastUpdated",
|
|
8786
|
+
"valueType": "number"
|
|
8787
|
+
},
|
|
8788
|
+
{
|
|
8789
|
+
"path": "lastContactAt",
|
|
8790
|
+
"valueType": "number"
|
|
8791
|
+
},
|
|
8792
|
+
{
|
|
8793
|
+
"path": "lastFullRefreshAt",
|
|
8794
|
+
"valueType": "number"
|
|
8795
|
+
},
|
|
8796
|
+
{
|
|
8797
|
+
"path": "binary",
|
|
8798
|
+
"valueType": "boolean"
|
|
8799
|
+
}
|
|
8800
|
+
],
|
|
8801
|
+
"binary": [{
|
|
8802
|
+
"path": "on",
|
|
8803
|
+
"valueType": "boolean"
|
|
8804
|
+
}],
|
|
8805
|
+
"brightness": [{
|
|
8806
|
+
"path": "percentage",
|
|
8807
|
+
"valueType": "number"
|
|
8808
|
+
}],
|
|
8809
|
+
"broker": [{
|
|
8810
|
+
"path": "brokerCount",
|
|
8811
|
+
"valueType": "number"
|
|
8812
|
+
}, {
|
|
8813
|
+
"path": "connectedCount",
|
|
8814
|
+
"valueType": "number"
|
|
8815
|
+
}],
|
|
8816
|
+
"camera-credentials": [
|
|
8817
|
+
{
|
|
8818
|
+
"path": "host",
|
|
8819
|
+
"valueType": "string"
|
|
8820
|
+
},
|
|
8821
|
+
{
|
|
8822
|
+
"path": "port",
|
|
8823
|
+
"valueType": "number"
|
|
8824
|
+
},
|
|
8825
|
+
{
|
|
8826
|
+
"path": "onvifPort",
|
|
8827
|
+
"valueType": "number"
|
|
8828
|
+
},
|
|
8829
|
+
{
|
|
8830
|
+
"path": "rtspPort",
|
|
8831
|
+
"valueType": "number"
|
|
8832
|
+
},
|
|
8833
|
+
{
|
|
8834
|
+
"path": "https",
|
|
8835
|
+
"valueType": "boolean"
|
|
8836
|
+
},
|
|
8837
|
+
{
|
|
8838
|
+
"path": "hasUsername",
|
|
8839
|
+
"valueType": "boolean"
|
|
8840
|
+
},
|
|
8841
|
+
{
|
|
8842
|
+
"path": "hasPassword",
|
|
8843
|
+
"valueType": "boolean"
|
|
8844
|
+
},
|
|
8845
|
+
{
|
|
8846
|
+
"path": "onvifProfile",
|
|
8847
|
+
"valueType": "string"
|
|
8848
|
+
}
|
|
8849
|
+
],
|
|
8850
|
+
"camera-streams": [
|
|
8851
|
+
{
|
|
8852
|
+
"path": "online",
|
|
8853
|
+
"valueType": "boolean"
|
|
8854
|
+
},
|
|
8855
|
+
{
|
|
8856
|
+
"path": "slotStatuses.high",
|
|
8857
|
+
"valueType": "enum",
|
|
8858
|
+
"enumValues": [
|
|
8859
|
+
"unassigned",
|
|
8860
|
+
"idle",
|
|
8861
|
+
"connecting",
|
|
8862
|
+
"streaming",
|
|
8863
|
+
"error"
|
|
8864
|
+
]
|
|
8865
|
+
},
|
|
8866
|
+
{
|
|
8867
|
+
"path": "slotStatuses.mid",
|
|
8868
|
+
"valueType": "enum",
|
|
8869
|
+
"enumValues": [
|
|
8870
|
+
"unassigned",
|
|
8871
|
+
"idle",
|
|
8872
|
+
"connecting",
|
|
8873
|
+
"streaming",
|
|
8874
|
+
"error"
|
|
8875
|
+
]
|
|
8876
|
+
},
|
|
8877
|
+
{
|
|
8878
|
+
"path": "slotStatuses.low",
|
|
8879
|
+
"valueType": "enum",
|
|
8880
|
+
"enumValues": [
|
|
8881
|
+
"unassigned",
|
|
8882
|
+
"idle",
|
|
8883
|
+
"connecting",
|
|
8884
|
+
"streaming",
|
|
8885
|
+
"error"
|
|
8886
|
+
]
|
|
8887
|
+
},
|
|
8888
|
+
{
|
|
8889
|
+
"path": "slotErrors.high",
|
|
8890
|
+
"valueType": "string"
|
|
8891
|
+
},
|
|
8892
|
+
{
|
|
8893
|
+
"path": "slotErrors.mid",
|
|
8894
|
+
"valueType": "string"
|
|
8895
|
+
},
|
|
8896
|
+
{
|
|
8897
|
+
"path": "slotErrors.low",
|
|
8898
|
+
"valueType": "string"
|
|
8899
|
+
}
|
|
8900
|
+
],
|
|
8901
|
+
"carbon-monoxide": [{
|
|
8902
|
+
"path": "detected",
|
|
8903
|
+
"valueType": "boolean"
|
|
8904
|
+
}],
|
|
8905
|
+
"climate-control": [
|
|
8906
|
+
{
|
|
8907
|
+
"path": "mode",
|
|
8908
|
+
"valueType": "enum",
|
|
8909
|
+
"enumValues": [
|
|
8910
|
+
"off",
|
|
8911
|
+
"heat",
|
|
8912
|
+
"cool",
|
|
8913
|
+
"auto",
|
|
8914
|
+
"heat_cool",
|
|
8915
|
+
"fan_only",
|
|
8916
|
+
"dry"
|
|
8917
|
+
]
|
|
8918
|
+
},
|
|
8919
|
+
{
|
|
8920
|
+
"path": "fanMode",
|
|
8921
|
+
"valueType": "string"
|
|
8922
|
+
},
|
|
8923
|
+
{
|
|
8924
|
+
"path": "preset",
|
|
8925
|
+
"valueType": "string"
|
|
8926
|
+
},
|
|
8927
|
+
{
|
|
8928
|
+
"path": "target",
|
|
8929
|
+
"valueType": "number"
|
|
8930
|
+
},
|
|
8931
|
+
{
|
|
8932
|
+
"path": "targetHigh",
|
|
8933
|
+
"valueType": "number"
|
|
8934
|
+
},
|
|
8935
|
+
{
|
|
8936
|
+
"path": "targetLow",
|
|
8937
|
+
"valueType": "number"
|
|
8938
|
+
},
|
|
8939
|
+
{
|
|
8940
|
+
"path": "targetHumidity",
|
|
8941
|
+
"valueType": "number"
|
|
8942
|
+
},
|
|
8943
|
+
{
|
|
8944
|
+
"path": "currentTemp",
|
|
8945
|
+
"valueType": "number"
|
|
8946
|
+
},
|
|
8947
|
+
{
|
|
8948
|
+
"path": "currentHumidity",
|
|
8949
|
+
"valueType": "number"
|
|
8950
|
+
},
|
|
8951
|
+
{
|
|
8952
|
+
"path": "swingVertical",
|
|
8953
|
+
"valueType": "boolean"
|
|
8954
|
+
},
|
|
8955
|
+
{
|
|
8956
|
+
"path": "swingHorizontal",
|
|
8957
|
+
"valueType": "boolean"
|
|
8958
|
+
},
|
|
8959
|
+
{
|
|
8960
|
+
"path": "minTemp",
|
|
8961
|
+
"valueType": "number"
|
|
8962
|
+
},
|
|
8963
|
+
{
|
|
8964
|
+
"path": "maxTemp",
|
|
8965
|
+
"valueType": "number"
|
|
8966
|
+
},
|
|
8967
|
+
{
|
|
8968
|
+
"path": "tempStep",
|
|
8969
|
+
"valueType": "number"
|
|
8970
|
+
}
|
|
8971
|
+
],
|
|
8972
|
+
"color": [
|
|
8973
|
+
{
|
|
8974
|
+
"path": "mode",
|
|
8975
|
+
"valueType": "enum",
|
|
8976
|
+
"enumValues": [
|
|
8977
|
+
"rgb",
|
|
8978
|
+
"hsv",
|
|
8979
|
+
"mired"
|
|
8980
|
+
]
|
|
8981
|
+
},
|
|
8982
|
+
{
|
|
8983
|
+
"path": "rgb.r",
|
|
8984
|
+
"valueType": "number"
|
|
8985
|
+
},
|
|
8986
|
+
{
|
|
8987
|
+
"path": "rgb.g",
|
|
8988
|
+
"valueType": "number"
|
|
8989
|
+
},
|
|
8990
|
+
{
|
|
8991
|
+
"path": "rgb.b",
|
|
8992
|
+
"valueType": "number"
|
|
8993
|
+
},
|
|
8994
|
+
{
|
|
8995
|
+
"path": "hsv.h",
|
|
8996
|
+
"valueType": "number"
|
|
8997
|
+
},
|
|
8998
|
+
{
|
|
8999
|
+
"path": "hsv.s",
|
|
9000
|
+
"valueType": "number"
|
|
9001
|
+
},
|
|
9002
|
+
{
|
|
9003
|
+
"path": "hsv.v",
|
|
9004
|
+
"valueType": "number"
|
|
9005
|
+
},
|
|
9006
|
+
{
|
|
9007
|
+
"path": "mireds",
|
|
9008
|
+
"valueType": "number"
|
|
9009
|
+
}
|
|
9010
|
+
],
|
|
9011
|
+
"connectivity": [{
|
|
9012
|
+
"path": "connected",
|
|
9013
|
+
"valueType": "boolean"
|
|
9014
|
+
}],
|
|
9015
|
+
"contact": [{
|
|
9016
|
+
"path": "entryOpen",
|
|
9017
|
+
"valueType": "boolean"
|
|
9018
|
+
}],
|
|
9019
|
+
"control": [
|
|
9020
|
+
{
|
|
9021
|
+
"path": "kind",
|
|
9022
|
+
"valueType": "enum",
|
|
9023
|
+
"enumValues": [
|
|
9024
|
+
"numeric",
|
|
9025
|
+
"select",
|
|
9026
|
+
"text",
|
|
9027
|
+
"datetime"
|
|
9028
|
+
]
|
|
9029
|
+
},
|
|
9030
|
+
{
|
|
9031
|
+
"path": "unit",
|
|
9032
|
+
"valueType": "string"
|
|
9033
|
+
},
|
|
9034
|
+
{
|
|
9035
|
+
"path": "min",
|
|
9036
|
+
"valueType": "number"
|
|
9037
|
+
},
|
|
9038
|
+
{
|
|
9039
|
+
"path": "max",
|
|
9040
|
+
"valueType": "number"
|
|
9041
|
+
},
|
|
9042
|
+
{
|
|
9043
|
+
"path": "step",
|
|
9044
|
+
"valueType": "number"
|
|
9045
|
+
},
|
|
9046
|
+
{
|
|
9047
|
+
"path": "precision",
|
|
9048
|
+
"valueType": "number"
|
|
9049
|
+
},
|
|
9050
|
+
{
|
|
9051
|
+
"path": "format",
|
|
9052
|
+
"valueType": "enum",
|
|
9053
|
+
"enumValues": [
|
|
9054
|
+
"date",
|
|
9055
|
+
"time",
|
|
9056
|
+
"datetime"
|
|
9057
|
+
]
|
|
9058
|
+
}
|
|
9059
|
+
],
|
|
9060
|
+
"cover": [
|
|
9061
|
+
{
|
|
9062
|
+
"path": "state",
|
|
9063
|
+
"valueType": "enum",
|
|
9064
|
+
"enumValues": [
|
|
9065
|
+
"open",
|
|
9066
|
+
"opening",
|
|
9067
|
+
"closing",
|
|
9068
|
+
"closed",
|
|
9069
|
+
"stopped"
|
|
9070
|
+
]
|
|
9071
|
+
},
|
|
9072
|
+
{
|
|
9073
|
+
"path": "position",
|
|
9074
|
+
"valueType": "number"
|
|
9075
|
+
},
|
|
9076
|
+
{
|
|
9077
|
+
"path": "tiltPosition",
|
|
9078
|
+
"valueType": "number"
|
|
9079
|
+
}
|
|
9080
|
+
],
|
|
9081
|
+
"day-night": [
|
|
9082
|
+
{
|
|
9083
|
+
"path": "mode",
|
|
9084
|
+
"valueType": "enum",
|
|
9085
|
+
"enumValues": [
|
|
9086
|
+
"auto",
|
|
9087
|
+
"day",
|
|
9088
|
+
"night",
|
|
9089
|
+
"schedule"
|
|
9090
|
+
]
|
|
9091
|
+
},
|
|
9092
|
+
{
|
|
9093
|
+
"path": "sensitivity",
|
|
9094
|
+
"valueType": "number"
|
|
9095
|
+
},
|
|
9096
|
+
{
|
|
9097
|
+
"path": "switchDelaySec",
|
|
9098
|
+
"valueType": "number"
|
|
9099
|
+
}
|
|
9100
|
+
],
|
|
9101
|
+
"device-adoption": [
|
|
9102
|
+
{
|
|
9103
|
+
"path": "lastDiscoveryAt",
|
|
9104
|
+
"valueType": "number"
|
|
9105
|
+
},
|
|
9106
|
+
{
|
|
9107
|
+
"path": "candidateCount",
|
|
9108
|
+
"valueType": "number"
|
|
9109
|
+
},
|
|
9110
|
+
{
|
|
9111
|
+
"path": "adoptedCount",
|
|
9112
|
+
"valueType": "number"
|
|
9113
|
+
},
|
|
9114
|
+
{
|
|
9115
|
+
"path": "lastError",
|
|
9116
|
+
"valueType": "string"
|
|
9117
|
+
}
|
|
9118
|
+
],
|
|
9119
|
+
"device-discovery": [{
|
|
9120
|
+
"path": "lastDiscoveryAt",
|
|
9121
|
+
"valueType": "number"
|
|
9122
|
+
}, {
|
|
9123
|
+
"path": "lastError",
|
|
9124
|
+
"valueType": "string"
|
|
9125
|
+
}],
|
|
9126
|
+
"device-export": [
|
|
9127
|
+
{
|
|
9128
|
+
"path": "linkState",
|
|
9129
|
+
"valueType": "enum",
|
|
9130
|
+
"enumValues": [
|
|
9131
|
+
"unlinked",
|
|
9132
|
+
"linked",
|
|
9133
|
+
"error"
|
|
9134
|
+
]
|
|
9135
|
+
},
|
|
9136
|
+
{
|
|
9137
|
+
"path": "exposedDeviceCount",
|
|
9138
|
+
"valueType": "number"
|
|
9139
|
+
},
|
|
9140
|
+
{
|
|
9141
|
+
"path": "error",
|
|
9142
|
+
"valueType": "string"
|
|
9143
|
+
},
|
|
9144
|
+
{
|
|
9145
|
+
"path": "setup.qr",
|
|
9146
|
+
"valueType": "string"
|
|
9147
|
+
},
|
|
9148
|
+
{
|
|
9149
|
+
"path": "setup.note",
|
|
9150
|
+
"valueType": "string"
|
|
9151
|
+
}
|
|
9152
|
+
],
|
|
9153
|
+
"device-status": [{
|
|
9154
|
+
"path": "online",
|
|
9155
|
+
"valueType": "boolean"
|
|
9156
|
+
}],
|
|
9157
|
+
"dishwasher": [
|
|
9158
|
+
{
|
|
9159
|
+
"path": "availability",
|
|
9160
|
+
"valueType": "enum",
|
|
9161
|
+
"enumValues": [
|
|
9162
|
+
"available",
|
|
9163
|
+
"offline",
|
|
9164
|
+
"description-missing"
|
|
9165
|
+
]
|
|
9166
|
+
},
|
|
9167
|
+
{
|
|
9168
|
+
"path": "state",
|
|
9169
|
+
"valueType": "enum",
|
|
9170
|
+
"enumValues": [
|
|
9171
|
+
"idle",
|
|
9172
|
+
"running",
|
|
9173
|
+
"paused",
|
|
9174
|
+
"finished",
|
|
9175
|
+
"error",
|
|
9176
|
+
"unavailable"
|
|
9177
|
+
]
|
|
9178
|
+
},
|
|
9179
|
+
{
|
|
9180
|
+
"path": "operationState",
|
|
9181
|
+
"valueType": "enum",
|
|
9182
|
+
"enumValues": [
|
|
9183
|
+
"Inactive",
|
|
9184
|
+
"Ready",
|
|
9185
|
+
"DelayedStart",
|
|
9186
|
+
"Run",
|
|
9187
|
+
"Pause",
|
|
9188
|
+
"ActionRequired",
|
|
9189
|
+
"Finished",
|
|
9190
|
+
"Error",
|
|
9191
|
+
"Aborting"
|
|
9192
|
+
]
|
|
9193
|
+
},
|
|
9194
|
+
{
|
|
9195
|
+
"path": "program",
|
|
9196
|
+
"valueType": "string"
|
|
9197
|
+
},
|
|
9198
|
+
{
|
|
9199
|
+
"path": "selectedProgram",
|
|
9200
|
+
"valueType": "string"
|
|
9201
|
+
},
|
|
9202
|
+
{
|
|
9203
|
+
"path": "remainingSeconds",
|
|
9204
|
+
"valueType": "number"
|
|
9205
|
+
},
|
|
9206
|
+
{
|
|
9207
|
+
"path": "delayedStartSeconds",
|
|
9208
|
+
"valueType": "number"
|
|
9209
|
+
},
|
|
9210
|
+
{
|
|
9211
|
+
"path": "progressPercent",
|
|
9212
|
+
"valueType": "number"
|
|
9213
|
+
},
|
|
9214
|
+
{
|
|
9215
|
+
"path": "doorOpen",
|
|
9216
|
+
"valueType": "boolean"
|
|
9217
|
+
},
|
|
9218
|
+
{
|
|
9219
|
+
"path": "doorLocked",
|
|
9220
|
+
"valueType": "boolean"
|
|
9221
|
+
},
|
|
9222
|
+
{
|
|
9223
|
+
"path": "remoteStartAllowed",
|
|
9224
|
+
"valueType": "boolean"
|
|
9225
|
+
},
|
|
9226
|
+
{
|
|
9227
|
+
"path": "remoteControlActive",
|
|
9228
|
+
"valueType": "boolean"
|
|
9229
|
+
},
|
|
9230
|
+
{
|
|
9231
|
+
"path": "localControlActive",
|
|
9232
|
+
"valueType": "boolean"
|
|
9233
|
+
},
|
|
9234
|
+
{
|
|
9235
|
+
"path": "powerOn",
|
|
9236
|
+
"valueType": "boolean"
|
|
9237
|
+
},
|
|
9238
|
+
{
|
|
9239
|
+
"path": "powerState",
|
|
9240
|
+
"valueType": "string"
|
|
9241
|
+
},
|
|
9242
|
+
{
|
|
9243
|
+
"path": "filterCleaningDue",
|
|
9244
|
+
"valueType": "boolean"
|
|
9245
|
+
},
|
|
9246
|
+
{
|
|
9247
|
+
"path": "machineCareDue",
|
|
9248
|
+
"valueType": "boolean"
|
|
9249
|
+
},
|
|
9250
|
+
{
|
|
9251
|
+
"path": "machineCareRemainingRuns",
|
|
9252
|
+
"valueType": "number"
|
|
9253
|
+
},
|
|
9254
|
+
{
|
|
9255
|
+
"path": "halfLoad",
|
|
9256
|
+
"valueType": "boolean"
|
|
9257
|
+
},
|
|
9258
|
+
{
|
|
9259
|
+
"path": "hygienePlus",
|
|
9260
|
+
"valueType": "boolean"
|
|
9261
|
+
},
|
|
9262
|
+
{
|
|
9263
|
+
"path": "extraDry",
|
|
9264
|
+
"valueType": "boolean"
|
|
9265
|
+
},
|
|
9266
|
+
{
|
|
9267
|
+
"path": "intensiveZone",
|
|
9268
|
+
"valueType": "boolean"
|
|
9269
|
+
},
|
|
9270
|
+
{
|
|
9271
|
+
"path": "varioSpeedPlus",
|
|
9272
|
+
"valueType": "boolean"
|
|
9273
|
+
},
|
|
9274
|
+
{
|
|
9275
|
+
"path": "childLock",
|
|
9276
|
+
"valueType": "boolean"
|
|
9277
|
+
},
|
|
9278
|
+
{
|
|
9279
|
+
"path": "errorCode",
|
|
9280
|
+
"valueType": "number"
|
|
9281
|
+
},
|
|
9282
|
+
{
|
|
9283
|
+
"path": "errorLabel",
|
|
9284
|
+
"valueType": "string"
|
|
9285
|
+
}
|
|
9286
|
+
],
|
|
9287
|
+
"doorbell": [{
|
|
9288
|
+
"path": "lastPressedAt",
|
|
9289
|
+
"valueType": "number"
|
|
9290
|
+
}, {
|
|
9291
|
+
"path": "pressCountSinceStart",
|
|
9292
|
+
"valueType": "number"
|
|
9293
|
+
}],
|
|
9294
|
+
"enum-sensor": [{
|
|
9295
|
+
"path": "value",
|
|
9296
|
+
"valueType": "string"
|
|
9297
|
+
}, {
|
|
9298
|
+
"path": "format",
|
|
9299
|
+
"valueType": "enum",
|
|
9300
|
+
"enumValues": [
|
|
9301
|
+
"date",
|
|
9302
|
+
"time",
|
|
9303
|
+
"datetime"
|
|
9304
|
+
]
|
|
9305
|
+
}],
|
|
9306
|
+
"event-emitter": [
|
|
9307
|
+
{
|
|
9308
|
+
"path": "lastEvent.deviceId",
|
|
9309
|
+
"valueType": "number"
|
|
9310
|
+
},
|
|
9311
|
+
{
|
|
9312
|
+
"path": "lastEvent.eventType",
|
|
9313
|
+
"valueType": "string"
|
|
9314
|
+
},
|
|
9315
|
+
{
|
|
9316
|
+
"path": "lastEvent.timestamp",
|
|
9317
|
+
"valueType": "number"
|
|
9318
|
+
},
|
|
9319
|
+
{
|
|
9320
|
+
"path": "lastEvent.seq",
|
|
9321
|
+
"valueType": "number"
|
|
9322
|
+
},
|
|
9323
|
+
{
|
|
9324
|
+
"path": "eventCountSinceStart",
|
|
9325
|
+
"valueType": "number"
|
|
9326
|
+
}
|
|
9327
|
+
],
|
|
9328
|
+
"fan-control": [
|
|
9329
|
+
{
|
|
9330
|
+
"path": "percentage",
|
|
9331
|
+
"valueType": "number"
|
|
9332
|
+
},
|
|
9333
|
+
{
|
|
9334
|
+
"path": "percentageStep",
|
|
9335
|
+
"valueType": "number"
|
|
9336
|
+
},
|
|
9337
|
+
{
|
|
9338
|
+
"path": "preset",
|
|
9339
|
+
"valueType": "string"
|
|
9340
|
+
},
|
|
9341
|
+
{
|
|
9342
|
+
"path": "direction",
|
|
9343
|
+
"valueType": "enum",
|
|
9344
|
+
"enumValues": ["forward", "reverse"]
|
|
9345
|
+
},
|
|
9346
|
+
{
|
|
9347
|
+
"path": "oscillating",
|
|
9348
|
+
"valueType": "boolean"
|
|
9349
|
+
}
|
|
9350
|
+
],
|
|
9351
|
+
"feature-probe": [
|
|
9352
|
+
{
|
|
9353
|
+
"path": "deviceType",
|
|
9354
|
+
"valueType": "string"
|
|
9355
|
+
},
|
|
9356
|
+
{
|
|
9357
|
+
"path": "model",
|
|
9358
|
+
"valueType": "string"
|
|
9359
|
+
},
|
|
9360
|
+
{
|
|
9361
|
+
"path": "channelCount",
|
|
9362
|
+
"valueType": "number"
|
|
9363
|
+
},
|
|
9364
|
+
{
|
|
9365
|
+
"path": "lastProbedAt",
|
|
9366
|
+
"valueType": "number"
|
|
9367
|
+
}
|
|
9368
|
+
],
|
|
9369
|
+
"flood": [{
|
|
9370
|
+
"path": "flooded",
|
|
9371
|
+
"valueType": "boolean"
|
|
9372
|
+
}],
|
|
9373
|
+
"gas": [{
|
|
9374
|
+
"path": "detected",
|
|
9375
|
+
"valueType": "boolean"
|
|
9376
|
+
}],
|
|
9377
|
+
"heating-valve": [{
|
|
9378
|
+
"path": "position",
|
|
9379
|
+
"valueType": "number"
|
|
9380
|
+
}],
|
|
9381
|
+
"humidifier": [
|
|
9382
|
+
{
|
|
9383
|
+
"path": "on",
|
|
9384
|
+
"valueType": "boolean"
|
|
9385
|
+
},
|
|
9386
|
+
{
|
|
9387
|
+
"path": "currentHumidity",
|
|
9388
|
+
"valueType": "number"
|
|
9389
|
+
},
|
|
9390
|
+
{
|
|
9391
|
+
"path": "targetHumidity",
|
|
9392
|
+
"valueType": "number"
|
|
9393
|
+
},
|
|
9394
|
+
{
|
|
9395
|
+
"path": "mode",
|
|
9396
|
+
"valueType": "string"
|
|
9397
|
+
},
|
|
9398
|
+
{
|
|
9399
|
+
"path": "action",
|
|
9400
|
+
"valueType": "string"
|
|
9401
|
+
},
|
|
9402
|
+
{
|
|
9403
|
+
"path": "minHumidity",
|
|
9404
|
+
"valueType": "number"
|
|
9405
|
+
},
|
|
9406
|
+
{
|
|
9407
|
+
"path": "maxHumidity",
|
|
9408
|
+
"valueType": "number"
|
|
9409
|
+
}
|
|
9410
|
+
],
|
|
9411
|
+
"humidity-sensor": [
|
|
9412
|
+
{
|
|
9413
|
+
"path": "percent",
|
|
9414
|
+
"valueType": "number"
|
|
9415
|
+
},
|
|
9416
|
+
{
|
|
9417
|
+
"path": "unit",
|
|
9418
|
+
"valueType": "string"
|
|
9419
|
+
},
|
|
9420
|
+
{
|
|
9421
|
+
"path": "precision",
|
|
9422
|
+
"valueType": "number"
|
|
9423
|
+
}
|
|
9424
|
+
],
|
|
9425
|
+
"image": [{
|
|
9426
|
+
"path": "url",
|
|
9427
|
+
"valueType": "string"
|
|
9428
|
+
}, {
|
|
9429
|
+
"path": "lastUpdated",
|
|
9430
|
+
"valueType": "number"
|
|
9431
|
+
}],
|
|
9432
|
+
"image-settings": [
|
|
9433
|
+
{
|
|
9434
|
+
"path": "brightness",
|
|
9435
|
+
"valueType": "number"
|
|
9436
|
+
},
|
|
9437
|
+
{
|
|
9438
|
+
"path": "contrast",
|
|
9439
|
+
"valueType": "number"
|
|
9440
|
+
},
|
|
9441
|
+
{
|
|
9442
|
+
"path": "saturation",
|
|
9443
|
+
"valueType": "number"
|
|
9444
|
+
},
|
|
9445
|
+
{
|
|
9446
|
+
"path": "sharpness",
|
|
9447
|
+
"valueType": "number"
|
|
9448
|
+
},
|
|
9449
|
+
{
|
|
9450
|
+
"path": "mirror",
|
|
9451
|
+
"valueType": "boolean"
|
|
9452
|
+
},
|
|
9453
|
+
{
|
|
9454
|
+
"path": "flip",
|
|
9455
|
+
"valueType": "boolean"
|
|
9456
|
+
},
|
|
9457
|
+
{
|
|
9458
|
+
"path": "rotate",
|
|
9459
|
+
"valueType": "enum",
|
|
9460
|
+
"enumValues": [
|
|
9461
|
+
"0",
|
|
9462
|
+
"90",
|
|
9463
|
+
"180",
|
|
9464
|
+
"270"
|
|
9465
|
+
]
|
|
9466
|
+
},
|
|
9467
|
+
{
|
|
9468
|
+
"path": "whiteBalance",
|
|
9469
|
+
"valueType": "enum",
|
|
9470
|
+
"enumValues": ["auto", "manual"]
|
|
9471
|
+
},
|
|
9472
|
+
{
|
|
9473
|
+
"path": "warmth",
|
|
9474
|
+
"valueType": "number"
|
|
9475
|
+
},
|
|
9476
|
+
{
|
|
9477
|
+
"path": "exposureMode",
|
|
9478
|
+
"valueType": "enum",
|
|
9479
|
+
"enumValues": ["auto", "manual"]
|
|
9480
|
+
},
|
|
9481
|
+
{
|
|
9482
|
+
"path": "backlightMode",
|
|
9483
|
+
"valueType": "enum",
|
|
9484
|
+
"enumValues": [
|
|
9485
|
+
"off",
|
|
9486
|
+
"blc",
|
|
9487
|
+
"wdr",
|
|
9488
|
+
"hlc"
|
|
9489
|
+
]
|
|
9490
|
+
}
|
|
9491
|
+
],
|
|
9492
|
+
"intercom": [
|
|
9493
|
+
{
|
|
9494
|
+
"path": "talking",
|
|
9495
|
+
"valueType": "boolean"
|
|
9496
|
+
},
|
|
9497
|
+
{
|
|
9498
|
+
"path": "lastSessionAt",
|
|
9499
|
+
"valueType": "number"
|
|
9500
|
+
},
|
|
9501
|
+
{
|
|
9502
|
+
"path": "ability.sampleRate",
|
|
9503
|
+
"valueType": "number"
|
|
9504
|
+
},
|
|
9505
|
+
{
|
|
9506
|
+
"path": "ability.duplex",
|
|
9507
|
+
"valueType": "enum",
|
|
9508
|
+
"enumValues": ["half", "full"]
|
|
9509
|
+
},
|
|
9510
|
+
{
|
|
9511
|
+
"path": "ability.maxBacklogMs",
|
|
9512
|
+
"valueType": "number"
|
|
9513
|
+
}
|
|
9514
|
+
],
|
|
9515
|
+
"lawn-mower-control": [
|
|
9516
|
+
{
|
|
9517
|
+
"path": "activity",
|
|
9518
|
+
"valueType": "enum",
|
|
9519
|
+
"enumValues": [
|
|
9520
|
+
"idle",
|
|
9521
|
+
"mowing",
|
|
9522
|
+
"paused",
|
|
9523
|
+
"docked",
|
|
9524
|
+
"error"
|
|
9525
|
+
]
|
|
9526
|
+
},
|
|
9527
|
+
{
|
|
9528
|
+
"path": "batteryLevel",
|
|
9529
|
+
"valueType": "number"
|
|
9530
|
+
},
|
|
9531
|
+
{
|
|
9532
|
+
"path": "progressPercent",
|
|
9533
|
+
"valueType": "number"
|
|
9534
|
+
},
|
|
9535
|
+
{
|
|
9536
|
+
"path": "currentCode",
|
|
9537
|
+
"valueType": "number"
|
|
9538
|
+
},
|
|
9539
|
+
{
|
|
9540
|
+
"path": "currentCodeLabel",
|
|
9541
|
+
"valueType": "string"
|
|
9542
|
+
},
|
|
9543
|
+
{
|
|
9544
|
+
"path": "severity",
|
|
9545
|
+
"valueType": "enum",
|
|
9546
|
+
"enumValues": [
|
|
9547
|
+
"info",
|
|
9548
|
+
"warning",
|
|
9549
|
+
"error"
|
|
9550
|
+
]
|
|
9551
|
+
}
|
|
9552
|
+
],
|
|
9553
|
+
"lock-control": [{
|
|
9554
|
+
"path": "state",
|
|
9555
|
+
"valueType": "enum",
|
|
9556
|
+
"enumValues": [
|
|
9557
|
+
"locked",
|
|
9558
|
+
"unlocked",
|
|
9559
|
+
"locking",
|
|
9560
|
+
"unlocking",
|
|
9561
|
+
"jammed"
|
|
9562
|
+
]
|
|
9563
|
+
}],
|
|
9564
|
+
"media-player": [
|
|
9565
|
+
{
|
|
9566
|
+
"path": "state",
|
|
9567
|
+
"valueType": "enum",
|
|
9568
|
+
"enumValues": [
|
|
9569
|
+
"off",
|
|
9570
|
+
"on",
|
|
9571
|
+
"idle",
|
|
9572
|
+
"playing",
|
|
9573
|
+
"paused",
|
|
9574
|
+
"buffering",
|
|
9575
|
+
"standby"
|
|
9576
|
+
]
|
|
9577
|
+
},
|
|
9578
|
+
{
|
|
9579
|
+
"path": "volumeLevel",
|
|
9580
|
+
"valueType": "number"
|
|
9581
|
+
},
|
|
9582
|
+
{
|
|
9583
|
+
"path": "isMuted",
|
|
9584
|
+
"valueType": "boolean"
|
|
9585
|
+
},
|
|
9586
|
+
{
|
|
9587
|
+
"path": "source",
|
|
9588
|
+
"valueType": "string"
|
|
9589
|
+
},
|
|
9590
|
+
{
|
|
9591
|
+
"path": "currentMedia.type",
|
|
9592
|
+
"valueType": "string"
|
|
9593
|
+
},
|
|
9594
|
+
{
|
|
9595
|
+
"path": "currentMedia.title",
|
|
9596
|
+
"valueType": "string"
|
|
9597
|
+
},
|
|
9598
|
+
{
|
|
9599
|
+
"path": "currentMedia.artist",
|
|
9600
|
+
"valueType": "string"
|
|
9601
|
+
},
|
|
9602
|
+
{
|
|
9603
|
+
"path": "currentMedia.album",
|
|
9604
|
+
"valueType": "string"
|
|
9605
|
+
},
|
|
9606
|
+
{
|
|
9607
|
+
"path": "currentMedia.imageUrl",
|
|
9608
|
+
"valueType": "string"
|
|
9609
|
+
},
|
|
9610
|
+
{
|
|
9611
|
+
"path": "positionMs",
|
|
9612
|
+
"valueType": "number"
|
|
9613
|
+
},
|
|
9614
|
+
{
|
|
9615
|
+
"path": "durationMs",
|
|
9616
|
+
"valueType": "number"
|
|
9617
|
+
},
|
|
9618
|
+
{
|
|
9619
|
+
"path": "shuffle",
|
|
9620
|
+
"valueType": "boolean"
|
|
9621
|
+
},
|
|
9622
|
+
{
|
|
9623
|
+
"path": "repeat",
|
|
9624
|
+
"valueType": "enum",
|
|
9625
|
+
"enumValues": [
|
|
9626
|
+
"off",
|
|
9627
|
+
"all",
|
|
9628
|
+
"one"
|
|
9629
|
+
]
|
|
9630
|
+
}
|
|
9631
|
+
],
|
|
9632
|
+
"motion": [
|
|
9633
|
+
{
|
|
9634
|
+
"path": "detected",
|
|
9635
|
+
"valueType": "boolean"
|
|
9636
|
+
},
|
|
9637
|
+
{
|
|
9638
|
+
"path": "lastDetectedAt",
|
|
9639
|
+
"valueType": "number"
|
|
9640
|
+
},
|
|
9641
|
+
{
|
|
9642
|
+
"path": "autoClearAfterMs",
|
|
9643
|
+
"valueType": "number"
|
|
9644
|
+
}
|
|
9645
|
+
],
|
|
9646
|
+
"motion-trigger": [{
|
|
9647
|
+
"path": "enabled",
|
|
9648
|
+
"valueType": "boolean"
|
|
9649
|
+
}],
|
|
9650
|
+
"motion-zones": [{
|
|
9651
|
+
"path": "enabled",
|
|
9652
|
+
"valueType": "boolean"
|
|
9653
|
+
}, {
|
|
9654
|
+
"path": "sensitivity",
|
|
9655
|
+
"valueType": "number"
|
|
9656
|
+
}],
|
|
9657
|
+
"mqtt-broker": [{
|
|
9658
|
+
"path": "brokerCount",
|
|
9659
|
+
"valueType": "number"
|
|
9660
|
+
}, {
|
|
9661
|
+
"path": "embeddedRunning",
|
|
9662
|
+
"valueType": "boolean"
|
|
9663
|
+
}],
|
|
9664
|
+
"native-object-detection": [{
|
|
9665
|
+
"path": "enabled",
|
|
9666
|
+
"valueType": "boolean"
|
|
9667
|
+
}],
|
|
9668
|
+
"navigation": [
|
|
9669
|
+
{
|
|
9670
|
+
"path": "mode",
|
|
9671
|
+
"valueType": "enum",
|
|
9672
|
+
"enumValues": [
|
|
9673
|
+
"idle",
|
|
9674
|
+
"cleaning",
|
|
9675
|
+
"spot",
|
|
9676
|
+
"following",
|
|
9677
|
+
"goto",
|
|
9678
|
+
"returning",
|
|
9679
|
+
"paused",
|
|
9680
|
+
"unknown"
|
|
9681
|
+
]
|
|
9682
|
+
},
|
|
9683
|
+
{
|
|
9684
|
+
"path": "following",
|
|
9685
|
+
"valueType": "boolean"
|
|
9686
|
+
},
|
|
9687
|
+
{
|
|
9688
|
+
"path": "flash",
|
|
9689
|
+
"valueType": "boolean"
|
|
9690
|
+
},
|
|
9691
|
+
{
|
|
9692
|
+
"path": "lightMode",
|
|
9693
|
+
"valueType": "enum",
|
|
9694
|
+
"enumValues": ["auto", "manual"]
|
|
9695
|
+
},
|
|
9696
|
+
{
|
|
9697
|
+
"path": "lightLevel",
|
|
9698
|
+
"valueType": "number"
|
|
9699
|
+
}
|
|
9700
|
+
],
|
|
9701
|
+
"network-link": [
|
|
9702
|
+
{
|
|
9703
|
+
"path": "type",
|
|
9704
|
+
"valueType": "enum",
|
|
9705
|
+
"enumValues": [
|
|
9706
|
+
"wifi",
|
|
9707
|
+
"ethernet",
|
|
9708
|
+
"cellular",
|
|
9709
|
+
"unknown"
|
|
9710
|
+
]
|
|
9711
|
+
},
|
|
9712
|
+
{
|
|
9713
|
+
"path": "signalPercent",
|
|
9714
|
+
"valueType": "number"
|
|
9715
|
+
},
|
|
9716
|
+
{
|
|
9717
|
+
"path": "rssiDbm",
|
|
9718
|
+
"valueType": "number"
|
|
9719
|
+
},
|
|
9720
|
+
{
|
|
9721
|
+
"path": "ssid",
|
|
9722
|
+
"valueType": "string"
|
|
9723
|
+
},
|
|
9724
|
+
{
|
|
9725
|
+
"path": "lastUpdated",
|
|
9726
|
+
"valueType": "number"
|
|
9727
|
+
}
|
|
9728
|
+
],
|
|
9729
|
+
"notifier": [
|
|
9730
|
+
{
|
|
9731
|
+
"path": "lastSentAt",
|
|
9732
|
+
"valueType": "number"
|
|
9733
|
+
},
|
|
9734
|
+
{
|
|
9735
|
+
"path": "lastError",
|
|
9736
|
+
"valueType": "string"
|
|
9737
|
+
},
|
|
9738
|
+
{
|
|
9739
|
+
"path": "queueDepth",
|
|
9740
|
+
"valueType": "number"
|
|
9741
|
+
},
|
|
9742
|
+
{
|
|
9743
|
+
"path": "supports.image",
|
|
9744
|
+
"valueType": "boolean"
|
|
9745
|
+
},
|
|
9746
|
+
{
|
|
9747
|
+
"path": "supports.priority",
|
|
9748
|
+
"valueType": "boolean"
|
|
9749
|
+
},
|
|
9750
|
+
{
|
|
9751
|
+
"path": "supports.data",
|
|
9752
|
+
"valueType": "boolean"
|
|
9753
|
+
},
|
|
9754
|
+
{
|
|
9755
|
+
"path": "supports.actions",
|
|
9756
|
+
"valueType": "boolean"
|
|
9757
|
+
},
|
|
9758
|
+
{
|
|
9759
|
+
"path": "supports.recipients",
|
|
9760
|
+
"valueType": "boolean"
|
|
9761
|
+
}
|
|
9762
|
+
],
|
|
9763
|
+
"numeric-sensor": [
|
|
9764
|
+
{
|
|
9765
|
+
"path": "value",
|
|
9766
|
+
"valueType": "number"
|
|
9767
|
+
},
|
|
9768
|
+
{
|
|
9769
|
+
"path": "unit",
|
|
9770
|
+
"valueType": "string"
|
|
9771
|
+
},
|
|
9772
|
+
{
|
|
9773
|
+
"path": "precision",
|
|
9774
|
+
"valueType": "number"
|
|
9775
|
+
}
|
|
9776
|
+
],
|
|
9777
|
+
"pet-feeder": [
|
|
9778
|
+
{
|
|
9779
|
+
"path": "foodLevel",
|
|
9780
|
+
"valueType": "number"
|
|
9781
|
+
},
|
|
9782
|
+
{
|
|
9783
|
+
"path": "food1",
|
|
9784
|
+
"valueType": "number"
|
|
9785
|
+
},
|
|
9786
|
+
{
|
|
9787
|
+
"path": "food2",
|
|
9788
|
+
"valueType": "number"
|
|
9789
|
+
},
|
|
9790
|
+
{
|
|
9791
|
+
"path": "lowFood",
|
|
9792
|
+
"valueType": "boolean"
|
|
9793
|
+
},
|
|
9794
|
+
{
|
|
9795
|
+
"path": "batteryPower",
|
|
9796
|
+
"valueType": "number"
|
|
9797
|
+
},
|
|
9798
|
+
{
|
|
9799
|
+
"path": "desiccantLeftDays",
|
|
9800
|
+
"valueType": "number"
|
|
9801
|
+
},
|
|
9802
|
+
{
|
|
9803
|
+
"path": "feeding",
|
|
9804
|
+
"valueType": "boolean"
|
|
9805
|
+
},
|
|
9806
|
+
{
|
|
9807
|
+
"path": "status",
|
|
9808
|
+
"valueType": "enum",
|
|
9809
|
+
"enumValues": [
|
|
9810
|
+
"normal",
|
|
9811
|
+
"offline",
|
|
9812
|
+
"on_batteries"
|
|
9813
|
+
]
|
|
9814
|
+
},
|
|
9815
|
+
{
|
|
9816
|
+
"path": "error",
|
|
9817
|
+
"valueType": "string"
|
|
9818
|
+
},
|
|
9819
|
+
{
|
|
9820
|
+
"path": "errorCode",
|
|
9821
|
+
"valueType": "number"
|
|
9822
|
+
},
|
|
9823
|
+
{
|
|
9824
|
+
"path": "isDualHopper",
|
|
9825
|
+
"valueType": "boolean"
|
|
9826
|
+
},
|
|
9827
|
+
{
|
|
9828
|
+
"path": "childLock",
|
|
9829
|
+
"valueType": "boolean"
|
|
9830
|
+
},
|
|
9831
|
+
{
|
|
9832
|
+
"path": "indicatorLight",
|
|
9833
|
+
"valueType": "boolean"
|
|
9834
|
+
},
|
|
9835
|
+
{
|
|
9836
|
+
"path": "feedSound",
|
|
9837
|
+
"valueType": "boolean"
|
|
9838
|
+
},
|
|
9839
|
+
{
|
|
9840
|
+
"path": "volume",
|
|
9841
|
+
"valueType": "number"
|
|
9842
|
+
}
|
|
9843
|
+
],
|
|
9844
|
+
"power-meter": [
|
|
9845
|
+
{
|
|
9846
|
+
"path": "watts",
|
|
9847
|
+
"valueType": "number"
|
|
9848
|
+
},
|
|
9849
|
+
{
|
|
9850
|
+
"path": "kwhTotal",
|
|
9851
|
+
"valueType": "number"
|
|
9852
|
+
},
|
|
9853
|
+
{
|
|
9854
|
+
"path": "volts",
|
|
9855
|
+
"valueType": "number"
|
|
9856
|
+
},
|
|
9857
|
+
{
|
|
9858
|
+
"path": "amps",
|
|
9859
|
+
"valueType": "number"
|
|
9860
|
+
},
|
|
9861
|
+
{
|
|
9862
|
+
"path": "va",
|
|
9863
|
+
"valueType": "number"
|
|
9864
|
+
},
|
|
9865
|
+
{
|
|
9866
|
+
"path": "powerFactor",
|
|
9867
|
+
"valueType": "number"
|
|
9868
|
+
},
|
|
9869
|
+
{
|
|
9870
|
+
"path": "unit",
|
|
9871
|
+
"valueType": "string"
|
|
9872
|
+
},
|
|
9873
|
+
{
|
|
9874
|
+
"path": "precision",
|
|
9875
|
+
"valueType": "number"
|
|
9876
|
+
}
|
|
9877
|
+
],
|
|
9878
|
+
"presence": [
|
|
9879
|
+
{
|
|
9880
|
+
"path": "state",
|
|
9881
|
+
"valueType": "string"
|
|
9882
|
+
},
|
|
9883
|
+
{
|
|
9884
|
+
"path": "location",
|
|
9885
|
+
"valueType": "string"
|
|
9886
|
+
},
|
|
9887
|
+
{
|
|
9888
|
+
"path": "gps.latitude",
|
|
9889
|
+
"valueType": "number"
|
|
9890
|
+
},
|
|
9891
|
+
{
|
|
9892
|
+
"path": "gps.longitude",
|
|
9893
|
+
"valueType": "number"
|
|
9894
|
+
},
|
|
9895
|
+
{
|
|
9896
|
+
"path": "gps.accuracyMeters",
|
|
9897
|
+
"valueType": "number"
|
|
9898
|
+
},
|
|
9899
|
+
{
|
|
9900
|
+
"path": "batteryPercent",
|
|
9901
|
+
"valueType": "number"
|
|
9902
|
+
}
|
|
9903
|
+
],
|
|
9904
|
+
"pressure-sensor": [
|
|
9905
|
+
{
|
|
9906
|
+
"path": "hpa",
|
|
9907
|
+
"valueType": "number"
|
|
9908
|
+
},
|
|
9909
|
+
{
|
|
9910
|
+
"path": "unit",
|
|
9911
|
+
"valueType": "string"
|
|
9912
|
+
},
|
|
9913
|
+
{
|
|
9914
|
+
"path": "precision",
|
|
9915
|
+
"valueType": "number"
|
|
9916
|
+
}
|
|
9917
|
+
],
|
|
9918
|
+
"privacy-mask": [{
|
|
9919
|
+
"path": "enabled",
|
|
9920
|
+
"valueType": "boolean"
|
|
9921
|
+
}, {
|
|
9922
|
+
"path": "audioEnabled",
|
|
9923
|
+
"valueType": "boolean"
|
|
9924
|
+
}],
|
|
9925
|
+
"ptz": [
|
|
9926
|
+
{
|
|
9927
|
+
"path": "pan",
|
|
9928
|
+
"valueType": "number"
|
|
9929
|
+
},
|
|
9930
|
+
{
|
|
9931
|
+
"path": "tilt",
|
|
9932
|
+
"valueType": "number"
|
|
9933
|
+
},
|
|
9934
|
+
{
|
|
9935
|
+
"path": "zoom",
|
|
9936
|
+
"valueType": "number"
|
|
9937
|
+
},
|
|
9938
|
+
{
|
|
9939
|
+
"path": "autofocus",
|
|
9940
|
+
"valueType": "boolean"
|
|
9941
|
+
}
|
|
9942
|
+
],
|
|
9943
|
+
"ptz-autotrack": [
|
|
9944
|
+
{
|
|
9945
|
+
"path": "enabled",
|
|
9946
|
+
"valueType": "boolean"
|
|
9947
|
+
},
|
|
9948
|
+
{
|
|
9949
|
+
"path": "currentSettings.targetType",
|
|
9950
|
+
"valueType": "string"
|
|
9951
|
+
},
|
|
9952
|
+
{
|
|
9953
|
+
"path": "currentSettings.stopDelaySeconds",
|
|
9954
|
+
"valueType": "number"
|
|
9955
|
+
},
|
|
9956
|
+
{
|
|
9957
|
+
"path": "currentSettings.disappearDelaySeconds",
|
|
9958
|
+
"valueType": "number"
|
|
9959
|
+
}
|
|
9960
|
+
],
|
|
9961
|
+
"recording-archive": [
|
|
9962
|
+
{
|
|
9963
|
+
"path": "deviceId",
|
|
9964
|
+
"valueType": "number"
|
|
9965
|
+
},
|
|
9966
|
+
{
|
|
9967
|
+
"path": "enabled",
|
|
9968
|
+
"valueType": "boolean"
|
|
9969
|
+
},
|
|
9970
|
+
{
|
|
9971
|
+
"path": "activeMode",
|
|
9972
|
+
"valueType": "enum",
|
|
9973
|
+
"enumValues": [
|
|
9974
|
+
"off",
|
|
9975
|
+
"events",
|
|
9976
|
+
"continuous",
|
|
9977
|
+
"on-device-decision"
|
|
9978
|
+
]
|
|
9979
|
+
},
|
|
9980
|
+
{
|
|
9981
|
+
"path": "nodeId",
|
|
9982
|
+
"valueType": "string"
|
|
9983
|
+
},
|
|
9984
|
+
{
|
|
9985
|
+
"path": "storageBytes",
|
|
9986
|
+
"valueType": "number"
|
|
9987
|
+
}
|
|
9988
|
+
],
|
|
9989
|
+
"recording-onboard": [
|
|
9990
|
+
{
|
|
9991
|
+
"path": "primaryTrackId",
|
|
9992
|
+
"valueType": "string"
|
|
9993
|
+
},
|
|
9994
|
+
{
|
|
9995
|
+
"path": "enabled",
|
|
9996
|
+
"valueType": "boolean"
|
|
9997
|
+
},
|
|
9998
|
+
{
|
|
9999
|
+
"path": "overwriteWhenFull",
|
|
10000
|
+
"valueType": "boolean"
|
|
10001
|
+
},
|
|
10002
|
+
{
|
|
10003
|
+
"path": "preRecordSec",
|
|
10004
|
+
"valueType": "number"
|
|
10005
|
+
},
|
|
10006
|
+
{
|
|
10007
|
+
"path": "postRecordSec",
|
|
10008
|
+
"valueType": "number"
|
|
10009
|
+
},
|
|
10010
|
+
{
|
|
10011
|
+
"path": "segmentMinutes",
|
|
10012
|
+
"valueType": "number"
|
|
10013
|
+
},
|
|
10014
|
+
{
|
|
10015
|
+
"path": "unreadableWindows",
|
|
10016
|
+
"valueType": "number"
|
|
10017
|
+
},
|
|
10018
|
+
{
|
|
10019
|
+
"path": "recordingToNowhere",
|
|
10020
|
+
"valueType": "boolean"
|
|
10021
|
+
}
|
|
10022
|
+
],
|
|
10023
|
+
"recording-signal": [{
|
|
10024
|
+
"path": "active",
|
|
10025
|
+
"valueType": "boolean"
|
|
10026
|
+
}, {
|
|
10027
|
+
"path": "reason",
|
|
10028
|
+
"valueType": "string"
|
|
10029
|
+
}],
|
|
10030
|
+
"running-state": [
|
|
10031
|
+
{
|
|
10032
|
+
"path": "running",
|
|
10033
|
+
"valueType": "boolean"
|
|
10034
|
+
},
|
|
10035
|
+
{
|
|
10036
|
+
"path": "since",
|
|
10037
|
+
"valueType": "number"
|
|
10038
|
+
},
|
|
10039
|
+
{
|
|
10040
|
+
"path": "source",
|
|
10041
|
+
"valueType": "enum",
|
|
10042
|
+
"enumValues": ["native", "assigned"]
|
|
10043
|
+
},
|
|
10044
|
+
{
|
|
10045
|
+
"path": "phase",
|
|
10046
|
+
"valueType": "string"
|
|
10047
|
+
}
|
|
10048
|
+
],
|
|
10049
|
+
"script-runner": [
|
|
10050
|
+
{
|
|
10051
|
+
"path": "isRunning",
|
|
10052
|
+
"valueType": "boolean"
|
|
10053
|
+
},
|
|
10054
|
+
{
|
|
10055
|
+
"path": "lastRunAt",
|
|
10056
|
+
"valueType": "number"
|
|
10057
|
+
},
|
|
10058
|
+
{
|
|
10059
|
+
"path": "lastRunSuccess",
|
|
10060
|
+
"valueType": "boolean"
|
|
10061
|
+
},
|
|
10062
|
+
{
|
|
10063
|
+
"path": "lastError",
|
|
10064
|
+
"valueType": "string"
|
|
10065
|
+
}
|
|
10066
|
+
],
|
|
10067
|
+
"smoke": [{
|
|
10068
|
+
"path": "detected",
|
|
10069
|
+
"valueType": "boolean"
|
|
10070
|
+
}],
|
|
10071
|
+
"snapshot": [
|
|
10072
|
+
{
|
|
10073
|
+
"path": "lastCapturedAt",
|
|
10074
|
+
"valueType": "number"
|
|
10075
|
+
},
|
|
10076
|
+
{
|
|
10077
|
+
"path": "cacheAgeMs",
|
|
10078
|
+
"valueType": "number"
|
|
10079
|
+
},
|
|
10080
|
+
{
|
|
10081
|
+
"path": "lastBytes",
|
|
10082
|
+
"valueType": "number"
|
|
10083
|
+
},
|
|
10084
|
+
{
|
|
10085
|
+
"path": "lastStreamId",
|
|
10086
|
+
"valueType": "string"
|
|
10087
|
+
}
|
|
10088
|
+
],
|
|
10089
|
+
"stream-params": [
|
|
10090
|
+
{
|
|
10091
|
+
"path": "main.width",
|
|
10092
|
+
"valueType": "number"
|
|
10093
|
+
},
|
|
10094
|
+
{
|
|
10095
|
+
"path": "main.height",
|
|
10096
|
+
"valueType": "number"
|
|
10097
|
+
},
|
|
10098
|
+
{
|
|
10099
|
+
"path": "main.codec",
|
|
10100
|
+
"valueType": "enum",
|
|
10101
|
+
"enumValues": ["h264", "h265"]
|
|
10102
|
+
},
|
|
10103
|
+
{
|
|
10104
|
+
"path": "main.framerate",
|
|
10105
|
+
"valueType": "number"
|
|
10106
|
+
},
|
|
10107
|
+
{
|
|
10108
|
+
"path": "main.bitrate",
|
|
10109
|
+
"valueType": "number"
|
|
10110
|
+
},
|
|
10111
|
+
{
|
|
10112
|
+
"path": "main.bitrateMode",
|
|
10113
|
+
"valueType": "enum",
|
|
10114
|
+
"enumValues": ["vbr", "cbr"]
|
|
10115
|
+
},
|
|
10116
|
+
{
|
|
10117
|
+
"path": "main.encoderProfile",
|
|
10118
|
+
"valueType": "enum",
|
|
10119
|
+
"enumValues": [
|
|
10120
|
+
"high",
|
|
10121
|
+
"main",
|
|
10122
|
+
"baseline"
|
|
10123
|
+
]
|
|
10124
|
+
},
|
|
10125
|
+
{
|
|
10126
|
+
"path": "main.gop",
|
|
10127
|
+
"valueType": "number"
|
|
10128
|
+
},
|
|
10129
|
+
{
|
|
10130
|
+
"path": "main.audio",
|
|
10131
|
+
"valueType": "boolean"
|
|
10132
|
+
},
|
|
10133
|
+
{
|
|
10134
|
+
"path": "sub.width",
|
|
10135
|
+
"valueType": "number"
|
|
10136
|
+
},
|
|
10137
|
+
{
|
|
10138
|
+
"path": "sub.height",
|
|
10139
|
+
"valueType": "number"
|
|
10140
|
+
},
|
|
10141
|
+
{
|
|
10142
|
+
"path": "sub.codec",
|
|
10143
|
+
"valueType": "enum",
|
|
10144
|
+
"enumValues": ["h264", "h265"]
|
|
10145
|
+
},
|
|
10146
|
+
{
|
|
10147
|
+
"path": "sub.framerate",
|
|
10148
|
+
"valueType": "number"
|
|
10149
|
+
},
|
|
10150
|
+
{
|
|
10151
|
+
"path": "sub.bitrate",
|
|
10152
|
+
"valueType": "number"
|
|
10153
|
+
},
|
|
10154
|
+
{
|
|
10155
|
+
"path": "sub.bitrateMode",
|
|
10156
|
+
"valueType": "enum",
|
|
10157
|
+
"enumValues": ["vbr", "cbr"]
|
|
10158
|
+
},
|
|
10159
|
+
{
|
|
10160
|
+
"path": "sub.encoderProfile",
|
|
10161
|
+
"valueType": "enum",
|
|
10162
|
+
"enumValues": [
|
|
10163
|
+
"high",
|
|
10164
|
+
"main",
|
|
10165
|
+
"baseline"
|
|
10166
|
+
]
|
|
10167
|
+
},
|
|
10168
|
+
{
|
|
10169
|
+
"path": "sub.gop",
|
|
10170
|
+
"valueType": "number"
|
|
10171
|
+
},
|
|
10172
|
+
{
|
|
10173
|
+
"path": "sub.audio",
|
|
10174
|
+
"valueType": "boolean"
|
|
10175
|
+
},
|
|
10176
|
+
{
|
|
10177
|
+
"path": "ext.width",
|
|
10178
|
+
"valueType": "number"
|
|
10179
|
+
},
|
|
10180
|
+
{
|
|
10181
|
+
"path": "ext.height",
|
|
10182
|
+
"valueType": "number"
|
|
10183
|
+
},
|
|
10184
|
+
{
|
|
10185
|
+
"path": "ext.codec",
|
|
10186
|
+
"valueType": "enum",
|
|
10187
|
+
"enumValues": ["h264", "h265"]
|
|
10188
|
+
},
|
|
10189
|
+
{
|
|
10190
|
+
"path": "ext.framerate",
|
|
10191
|
+
"valueType": "number"
|
|
10192
|
+
},
|
|
10193
|
+
{
|
|
10194
|
+
"path": "ext.bitrate",
|
|
10195
|
+
"valueType": "number"
|
|
10196
|
+
},
|
|
10197
|
+
{
|
|
10198
|
+
"path": "ext.bitrateMode",
|
|
10199
|
+
"valueType": "enum",
|
|
10200
|
+
"enumValues": ["vbr", "cbr"]
|
|
10201
|
+
},
|
|
10202
|
+
{
|
|
10203
|
+
"path": "ext.encoderProfile",
|
|
10204
|
+
"valueType": "enum",
|
|
10205
|
+
"enumValues": [
|
|
10206
|
+
"high",
|
|
10207
|
+
"main",
|
|
10208
|
+
"baseline"
|
|
10209
|
+
]
|
|
10210
|
+
},
|
|
10211
|
+
{
|
|
10212
|
+
"path": "ext.gop",
|
|
10213
|
+
"valueType": "number"
|
|
10214
|
+
},
|
|
10215
|
+
{
|
|
10216
|
+
"path": "ext.audio",
|
|
10217
|
+
"valueType": "boolean"
|
|
10218
|
+
}
|
|
10219
|
+
],
|
|
10220
|
+
"switch": [{
|
|
10221
|
+
"path": "on",
|
|
10222
|
+
"valueType": "boolean"
|
|
10223
|
+
}],
|
|
10224
|
+
"tamper": [{
|
|
10225
|
+
"path": "tampered",
|
|
10226
|
+
"valueType": "boolean"
|
|
10227
|
+
}],
|
|
10228
|
+
"temperature-sensor": [
|
|
10229
|
+
{
|
|
10230
|
+
"path": "celsius",
|
|
10231
|
+
"valueType": "number"
|
|
10232
|
+
},
|
|
10233
|
+
{
|
|
10234
|
+
"path": "unit",
|
|
10235
|
+
"valueType": "string"
|
|
10236
|
+
},
|
|
10237
|
+
{
|
|
10238
|
+
"path": "precision",
|
|
10239
|
+
"valueType": "number"
|
|
10240
|
+
}
|
|
10241
|
+
],
|
|
10242
|
+
"update": [
|
|
10243
|
+
{
|
|
10244
|
+
"path": "currentVersion",
|
|
10245
|
+
"valueType": "string"
|
|
10246
|
+
},
|
|
10247
|
+
{
|
|
10248
|
+
"path": "availableVersion",
|
|
10249
|
+
"valueType": "string"
|
|
10250
|
+
},
|
|
10251
|
+
{
|
|
10252
|
+
"path": "updatable",
|
|
10253
|
+
"valueType": "boolean"
|
|
10254
|
+
},
|
|
10255
|
+
{
|
|
10256
|
+
"path": "state",
|
|
10257
|
+
"valueType": "string"
|
|
10258
|
+
},
|
|
10259
|
+
{
|
|
10260
|
+
"path": "inProgress",
|
|
10261
|
+
"valueType": "boolean"
|
|
10262
|
+
}
|
|
10263
|
+
],
|
|
10264
|
+
"vacuum-control": [
|
|
10265
|
+
{
|
|
10266
|
+
"path": "state",
|
|
10267
|
+
"valueType": "enum",
|
|
10268
|
+
"enumValues": [
|
|
10269
|
+
"idle",
|
|
10270
|
+
"cleaning",
|
|
10271
|
+
"paused",
|
|
10272
|
+
"returning",
|
|
10273
|
+
"docked",
|
|
10274
|
+
"drying",
|
|
10275
|
+
"error"
|
|
10276
|
+
]
|
|
10277
|
+
},
|
|
10278
|
+
{
|
|
10279
|
+
"path": "batteryLevel",
|
|
10280
|
+
"valueType": "number"
|
|
10281
|
+
},
|
|
10282
|
+
{
|
|
10283
|
+
"path": "fanSpeed",
|
|
10284
|
+
"valueType": "string"
|
|
10285
|
+
},
|
|
10286
|
+
{
|
|
10287
|
+
"path": "progressPercent",
|
|
10288
|
+
"valueType": "number"
|
|
10289
|
+
},
|
|
10290
|
+
{
|
|
10291
|
+
"path": "errorCode",
|
|
10292
|
+
"valueType": "number"
|
|
10293
|
+
},
|
|
10294
|
+
{
|
|
10295
|
+
"path": "errorLabel",
|
|
10296
|
+
"valueType": "string"
|
|
10297
|
+
}
|
|
10298
|
+
],
|
|
10299
|
+
"valve": [{
|
|
10300
|
+
"path": "state",
|
|
10301
|
+
"valueType": "enum",
|
|
10302
|
+
"enumValues": [
|
|
10303
|
+
"open",
|
|
10304
|
+
"opening",
|
|
10305
|
+
"closing",
|
|
10306
|
+
"closed",
|
|
10307
|
+
"stopped"
|
|
10308
|
+
]
|
|
10309
|
+
}, {
|
|
10310
|
+
"path": "position",
|
|
10311
|
+
"valueType": "number"
|
|
10312
|
+
}],
|
|
10313
|
+
"vibration": [{
|
|
10314
|
+
"path": "detected",
|
|
10315
|
+
"valueType": "boolean"
|
|
10316
|
+
}],
|
|
10317
|
+
"water-heater": [
|
|
10318
|
+
{
|
|
10319
|
+
"path": "currentTemp",
|
|
10320
|
+
"valueType": "number"
|
|
10321
|
+
},
|
|
10322
|
+
{
|
|
10323
|
+
"path": "targetTemp",
|
|
10324
|
+
"valueType": "number"
|
|
10325
|
+
},
|
|
10326
|
+
{
|
|
10327
|
+
"path": "operationMode",
|
|
10328
|
+
"valueType": "string"
|
|
10329
|
+
},
|
|
10330
|
+
{
|
|
10331
|
+
"path": "away",
|
|
10332
|
+
"valueType": "boolean"
|
|
10333
|
+
},
|
|
10334
|
+
{
|
|
10335
|
+
"path": "minTemp",
|
|
10336
|
+
"valueType": "number"
|
|
10337
|
+
},
|
|
10338
|
+
{
|
|
10339
|
+
"path": "maxTemp",
|
|
10340
|
+
"valueType": "number"
|
|
10341
|
+
}
|
|
10342
|
+
],
|
|
10343
|
+
"weather": [
|
|
10344
|
+
{
|
|
10345
|
+
"path": "condition",
|
|
10346
|
+
"valueType": "string"
|
|
10347
|
+
},
|
|
10348
|
+
{
|
|
10349
|
+
"path": "temperature",
|
|
10350
|
+
"valueType": "number"
|
|
10351
|
+
},
|
|
10352
|
+
{
|
|
10353
|
+
"path": "temperatureUnit",
|
|
10354
|
+
"valueType": "string"
|
|
10355
|
+
},
|
|
10356
|
+
{
|
|
10357
|
+
"path": "humidity",
|
|
10358
|
+
"valueType": "number"
|
|
10359
|
+
},
|
|
10360
|
+
{
|
|
10361
|
+
"path": "pressure",
|
|
10362
|
+
"valueType": "number"
|
|
10363
|
+
},
|
|
10364
|
+
{
|
|
10365
|
+
"path": "pressureUnit",
|
|
10366
|
+
"valueType": "string"
|
|
10367
|
+
},
|
|
10368
|
+
{
|
|
10369
|
+
"path": "windSpeed",
|
|
10370
|
+
"valueType": "number"
|
|
10371
|
+
},
|
|
10372
|
+
{
|
|
10373
|
+
"path": "windSpeedUnit",
|
|
10374
|
+
"valueType": "string"
|
|
10375
|
+
},
|
|
10376
|
+
{
|
|
10377
|
+
"path": "windBearing",
|
|
10378
|
+
"valueType": "number"
|
|
10379
|
+
}
|
|
10380
|
+
],
|
|
10381
|
+
"zone-analytics": [
|
|
10382
|
+
{
|
|
10383
|
+
"path": "ts",
|
|
10384
|
+
"valueType": "number"
|
|
10385
|
+
},
|
|
10386
|
+
{
|
|
10387
|
+
"path": "frameWidth",
|
|
10388
|
+
"valueType": "number"
|
|
10389
|
+
},
|
|
10390
|
+
{
|
|
10391
|
+
"path": "frameHeight",
|
|
10392
|
+
"valueType": "number"
|
|
10393
|
+
},
|
|
10394
|
+
{
|
|
10395
|
+
"path": "frame.totalObjects",
|
|
10396
|
+
"valueType": "number"
|
|
10397
|
+
},
|
|
10398
|
+
{
|
|
10399
|
+
"path": "frame.standingObjects",
|
|
10400
|
+
"valueType": "number"
|
|
10401
|
+
},
|
|
10402
|
+
{
|
|
10403
|
+
"path": "frame.transientObjects",
|
|
10404
|
+
"valueType": "number"
|
|
10405
|
+
},
|
|
10406
|
+
{
|
|
10407
|
+
"path": "unzoned.totalObjects",
|
|
10408
|
+
"valueType": "number"
|
|
10409
|
+
},
|
|
10410
|
+
{
|
|
10411
|
+
"path": "unzoned.standingObjects",
|
|
10412
|
+
"valueType": "number"
|
|
10413
|
+
},
|
|
10414
|
+
{
|
|
10415
|
+
"path": "unzoned.transientObjects",
|
|
10416
|
+
"valueType": "number"
|
|
10417
|
+
}
|
|
10418
|
+
]
|
|
10419
|
+
});
|
|
8443
10420
|
object({
|
|
8444
10421
|
code: string().regex(/^[a-z][a-z0-9-]*(\.[a-z0-9-]+)+$/),
|
|
8445
10422
|
params: record(string(), union([string(), number()])).optional()
|
|
@@ -8798,7 +10775,7 @@ function errMsg(err) {
|
|
|
8798
10775
|
return String(err);
|
|
8799
10776
|
}
|
|
8800
10777
|
//#endregion
|
|
8801
|
-
//#region ../types/dist/composition-
|
|
10778
|
+
//#region ../types/dist/composition-kEl9mevu.mjs
|
|
8802
10779
|
/**
|
|
8803
10780
|
* The ffmpeg build every CamStack node downloads, per platform and arch.
|
|
8804
10781
|
*
|
|
@@ -8858,7 +10835,7 @@ portable("linux64"), portable("linuxarm64"), portable("macarm64"), portable("mac
|
|
|
8858
10835
|
* ONE table for everyone who asks "is this device HIGH?": the
|
|
8859
10836
|
* recorder's `RecordingTriggers.sensorDeviceIds` trigger, the post-analysis
|
|
8860
10837
|
* sensor markers, the orchestrator's camera-sensors bridge and
|
|
8861
|
-
* the sources of a
|
|
10838
|
+
* the sources of a pulse (`compilePulseOverride`, D936).
|
|
8862
10839
|
* A second copy would diverge at the first cap added, and the symptom — "the
|
|
8863
10840
|
* sensor rings the doorbell but does not record" — is exactly D62.
|
|
8864
10841
|
*
|
|
@@ -9099,6 +11076,20 @@ var table = {
|
|
|
9099
11076
|
apply: () => {
|
|
9100
11077
|
throw new ExpressionEvalError("count: stateful evaluation context is required");
|
|
9101
11078
|
}
|
|
11079
|
+
},
|
|
11080
|
+
dwell: {
|
|
11081
|
+
minArgs: 3,
|
|
11082
|
+
maxArgs: 3,
|
|
11083
|
+
apply: () => {
|
|
11084
|
+
throw new ExpressionEvalError("dwell: stateful evaluation context is required");
|
|
11085
|
+
}
|
|
11086
|
+
},
|
|
11087
|
+
latchedAt: {
|
|
11088
|
+
minArgs: 1,
|
|
11089
|
+
maxArgs: 1,
|
|
11090
|
+
apply: () => {
|
|
11091
|
+
throw new ExpressionEvalError("latchedAt: stateful evaluation context is required");
|
|
11092
|
+
}
|
|
9102
11093
|
}
|
|
9103
11094
|
};
|
|
9104
11095
|
Object.freeze(Object.assign(Object.create(null), table));
|
|
@@ -10687,13 +12678,22 @@ var BirthDecisionRecordSchema = object({
|
|
|
10687
12678
|
decidedByBirthEvidence: boolean(),
|
|
10688
12679
|
/** Best class-compatible crop score, or `null` when nothing compatible was
|
|
10689
12680
|
* found — deliberately not 0, which would be a measurement that never was.
|
|
10690
|
-
* Includes a box the detector's own per-class floor refused (
|
|
10691
|
-
*
|
|
10692
|
-
* score the crop really held. */
|
|
12681
|
+
* Includes a box the detector's own per-class floor refused (D922): since
|
|
12682
|
+
* D925 the gate's bar, not that floor, decides whether it confirms. */
|
|
10693
12683
|
bestScore: number().nullable(),
|
|
10694
12684
|
/** The bar this candidate actually faced (the phantom-cell hook may raise it). */
|
|
10695
12685
|
appliedMinConfidence: number().nullable(),
|
|
10696
12686
|
/**
|
|
12687
|
+
* The detector the gate re-judged the birth WITH (D925): the session's own
|
|
12688
|
+
* root model, inference-device pool and node — never a node default. `null`
|
|
12689
|
+
* when the frame named no session detector or no gate ran, and on rows
|
|
12690
|
+
* written before D925. A `session-device-unavailable` row names the session
|
|
12691
|
+
* detector that could not be reached.
|
|
12692
|
+
*/
|
|
12693
|
+
detectorModelId: string().nullable().default(null),
|
|
12694
|
+
detectorDeviceKey: string().nullable().default(null),
|
|
12695
|
+
detectorNodeId: string().nullable().default(null),
|
|
12696
|
+
/**
|
|
10697
12697
|
* The track's own `firstSeen` — the candidate's first frame, which is where
|
|
10698
12698
|
* the timeline starts. `null` for a suppressed birth, which has no track.
|
|
10699
12699
|
*/
|
|
@@ -12159,7 +14159,7 @@ var LogChannelDescriptorSchema = object({
|
|
|
12159
14159
|
* `true` is a PROMISE with two halves, and both must hold: the gate is
|
|
12160
14160
|
* consulted with the numeric device id, AND every line the channel admits
|
|
12161
14161
|
* carries `tags: { deviceId }` with that same numeric id. The second half is
|
|
12162
|
-
* what makes `| json | deviceId="
|
|
14162
|
+
* what makes `| json | deviceId="102"` work in Loki — `loki-payload.ts`
|
|
12163
14163
|
* keeps `deviceId` out of the stream labels for cardinality, so the tag in
|
|
12164
14164
|
* the body is the only way to filter.
|
|
12165
14165
|
*
|
|
@@ -12435,7 +14435,7 @@ var ModelVariantGroupSchema = object({
|
|
|
12435
14435
|
precision: _enum(["fp32", "int8"]).optional(),
|
|
12436
14436
|
/**
|
|
12437
14437
|
* Training / latency-variant axis. Omit ⇒ the standard build. `test` marks
|
|
12438
|
-
* an alternate training of the same family (
|
|
14438
|
+
* an alternate training of the same family (plugin catalog `relu_test`); chip
|
|
12439
14439
|
* label is "Test".
|
|
12440
14440
|
*/
|
|
12441
14441
|
optimization: _enum(["standard", "test"]).optional(),
|
|
@@ -12687,8 +14687,8 @@ var ModelCatalogEntrySchema = object({
|
|
|
12687
14687
|
provider: ModelProviderIdSchema.optional(),
|
|
12688
14688
|
/**
|
|
12689
14689
|
* Per-MODEL class map override. Absent ⇒ the step's `StepDefinition.classMap`
|
|
12690
|
-
* applies (
|
|
12691
|
-
* labels already ARE the CamStack macros (
|
|
14690
|
+
* applies (plus catalog / COCO public catalog). Set on a custom model whose raw
|
|
14691
|
+
* labels already ARE the CamStack macros (plugin catalog identity map).
|
|
12692
14692
|
*/
|
|
12693
14693
|
classMap: DetectionCatalogClassMapSchema.optional(),
|
|
12694
14694
|
/**
|
|
@@ -15706,7 +17706,7 @@ method(object({
|
|
|
15706
17706
|
* `1` is real time and is the ONLY value that allows the copy branch —
|
|
15707
17707
|
* anything else forces `libx264` over the window. That was priced
|
|
15708
17708
|
* before it was chosen: a per-event burst measured at 0.23 s and 254 KB
|
|
15709
|
-
* on a real
|
|
17709
|
+
* on a real 101 720p cut, against 922 KB for the copy it replaces. A
|
|
15710
17710
|
* re-encode is capped at 720p (`EVENT_CLIP_ENCODE_MAX_WIDTH`), because
|
|
15711
17711
|
* once the decode is forced the width stops being free.
|
|
15712
17712
|
*/
|
|
@@ -16126,6 +18126,7 @@ var CompositionRunStatusSchema = _enum([
|
|
|
16126
18126
|
"starting",
|
|
16127
18127
|
"running",
|
|
16128
18128
|
"degraded",
|
|
18129
|
+
"incomplete",
|
|
16129
18130
|
"failed"
|
|
16130
18131
|
]);
|
|
16131
18132
|
var CompositionFieldStateKindSchema = _enum([
|
|
@@ -16175,6 +18176,13 @@ var ComposerUnreadableBlockSchema = object({
|
|
|
16175
18176
|
/** The parse error, in the operator's words. */
|
|
16176
18177
|
error: string()
|
|
16177
18178
|
});
|
|
18179
|
+
/** A confirmed release the hub did not accept. `deviceId` is the claim's device. */
|
|
18180
|
+
var UnreleasedClaimSchema = object({
|
|
18181
|
+
deviceId: number().int(),
|
|
18182
|
+
capName: string(),
|
|
18183
|
+
owner: string(),
|
|
18184
|
+
error: string()
|
|
18185
|
+
});
|
|
16178
18186
|
method(object({
|
|
16179
18187
|
/** The shared Blocks integration; null until `core-blocks` has reconciled it. */
|
|
16180
18188
|
integrationId: string().nullable(),
|
|
@@ -16184,7 +18192,13 @@ method(object({
|
|
|
16184
18192
|
/** Operator restarts: rebuild these runtimes and re-resolve their sources. Stores nothing (D62). */
|
|
16185
18193
|
restartBlockIds: array(string()),
|
|
16186
18194
|
/** Composition rows that exist but do not parse: held, never withdrawn, reported failed. */
|
|
16187
|
-
unreadableBlocks: array(ComposerUnreadableBlockSchema)
|
|
18195
|
+
unreadableBlocks: array(ComposerUnreadableBlockSchema),
|
|
18196
|
+
/**
|
|
18197
|
+
* Operator-confirmed deletions. Their claims are released on this apply,
|
|
18198
|
+
* before any replacement block claims. A block that merely vanished from the
|
|
18199
|
+
* snapshot is not listed here and still waits for two applies (D49).
|
|
18200
|
+
*/
|
|
18201
|
+
retiredBlockIds: array(string()).optional()
|
|
16188
18202
|
}), object({
|
|
16189
18203
|
blocks: array(object({
|
|
16190
18204
|
blockId: string(),
|
|
@@ -16196,7 +18210,13 @@ method(object({
|
|
|
16196
18210
|
* integration unknown, its own rows unread or read empty once). An empty
|
|
16197
18211
|
* apply the caller owes is paid off only by one the composer acted on (D49).
|
|
16198
18212
|
*/
|
|
16199
|
-
acted: boolean()
|
|
18213
|
+
acted: boolean(),
|
|
18214
|
+
/**
|
|
18215
|
+
* Confirmed releases this apply tried and the hub did not accept. Empty when
|
|
18216
|
+
* every one landed (or there was nothing to hand back). Absent on a result
|
|
18217
|
+
* that never got that far.
|
|
18218
|
+
*/
|
|
18219
|
+
unreleasedClaims: array(UnreleasedClaimSchema).optional()
|
|
16200
18220
|
}), {
|
|
16201
18221
|
kind: "mutation",
|
|
16202
18222
|
auth: "admin"
|
|
@@ -16239,7 +18259,15 @@ Object.freeze({
|
|
|
16239
18259
|
kind: "fixed",
|
|
16240
18260
|
result: ["number", "null"]
|
|
16241
18261
|
},
|
|
16242
|
-
count: NUMBER
|
|
18262
|
+
count: NUMBER,
|
|
18263
|
+
dwell: {
|
|
18264
|
+
kind: "fixed",
|
|
18265
|
+
result: ["boolean", "null"]
|
|
18266
|
+
},
|
|
18267
|
+
latchedAt: {
|
|
18268
|
+
kind: "fixed",
|
|
18269
|
+
result: ["number", "null"]
|
|
18270
|
+
}
|
|
16243
18271
|
});
|
|
16244
18272
|
`${COMPOSED_DEVICE_STABLE_ID_PREFIX}`;
|
|
16245
18273
|
/**
|
|
@@ -16312,6 +18340,7 @@ var CoreBlockStatusSchema = _enum([
|
|
|
16312
18340
|
"starting",
|
|
16313
18341
|
"running",
|
|
16314
18342
|
"degraded",
|
|
18343
|
+
"incomplete",
|
|
16315
18344
|
"failed"
|
|
16316
18345
|
]);
|
|
16317
18346
|
/** path → TypeScript source for a multi-file block. */
|
|
@@ -38260,7 +40289,7 @@ var PRIMARY_CATEGORIES = new Set(ENTRIES.map((e) => e.primaryCategory));
|
|
|
38260
40289
|
* `locationKey` is ALWAYS {@link locationIconKey} of the label — never the
|
|
38261
40290
|
* operator's casing. The registry matches labels trimmed + case-insensitively
|
|
38262
40291
|
* everywhere (`addLocation`, `removeLocation`, `renameLocation`), and a
|
|
38263
|
-
* case-only rename (`
|
|
40292
|
+
* case-only rename (`kitchen` → `Kitchen`) is a real edit this repo supports; a
|
|
38264
40293
|
* map keyed on the displayed casing would orphan its entry on exactly that
|
|
38265
40294
|
* edit. Consumers join by keying their own label through `locationIconKey`.
|
|
38266
40295
|
*/
|
|
@@ -38285,7 +40314,7 @@ var LocationDescriptionAssignmentSchema = object({
|
|
|
38285
40314
|
/**
|
|
38286
40315
|
* A SITE ZONE — a named part of the property that several locations belong to.
|
|
38287
40316
|
*
|
|
38288
|
-
* "
|
|
40317
|
+
* "Night zone" holds every bedroom; "Zona giorno" the living room and the
|
|
38289
40318
|
* kitchen. A camera belongs to exactly one location, and a location to at most
|
|
38290
40319
|
* one zone, so a camera's zone is derived and never stored on the device: the
|
|
38291
40320
|
* whole point of this entity is that grouping rooms touches no device row.
|
|
@@ -38314,7 +40343,7 @@ var LocationDescriptionAssignmentSchema = object({
|
|
|
38314
40343
|
* the locations inside it.
|
|
38315
40344
|
*
|
|
38316
40345
|
* The LABEL is carried alongside the key because the key is lossy on purpose —
|
|
38317
|
-
* a surface must show "
|
|
40346
|
+
* a surface must show "Night zone", not "night zone". Locations are carried
|
|
38318
40347
|
* here, rather than left to a second call, because every consumer wants both
|
|
38319
40348
|
* at once and a viewer that asked twice could render a zone whose membership
|
|
38320
40349
|
* it has not fetched yet.
|
|
@@ -40427,8 +42456,8 @@ var LoadContributionSchema = object({
|
|
|
40427
42456
|
"unattributable"
|
|
40428
42457
|
]),
|
|
40429
42458
|
/**
|
|
40430
|
-
* What ONE entry is, in the contributor's own words — `
|
|
40431
|
-
* `
|
|
42459
|
+
* What ONE entry is, in the contributor's own words — `101/high`,
|
|
42460
|
+
* `102/native`, `cuda:0 shared pool`. Free text because the unit differs per
|
|
40432
42461
|
* family and inventing a common one would lose the only information that
|
|
40433
42462
|
* makes two entries for the same camera distinguishable.
|
|
40434
42463
|
*/
|
|
@@ -42076,6 +44105,381 @@ var _macroLookup = /* @__PURE__ */ new Map();
|
|
|
42076
44105
|
for (const [k, v] of Object.entries(YAMNET_TO_MACRO.mapping)) _macroLookup.set(k.toLowerCase(), v);
|
|
42077
44106
|
for (const [k, v] of Object.entries(APPLE_SA_TO_MACRO.mapping)) _macroLookup.set(k.toLowerCase(), v);
|
|
42078
44107
|
/**
|
|
44108
|
+
* Palette entry ids (D939). Audio is the one gradient; `audio-*` leaves are
|
|
44109
|
+
* not entries. `heatmapScrub` is a mark, not an event kind.
|
|
44110
|
+
*/
|
|
44111
|
+
var PALETTE_ENTRY_IDS = [
|
|
44112
|
+
"motion",
|
|
44113
|
+
"audio",
|
|
44114
|
+
"recording",
|
|
44115
|
+
"live",
|
|
44116
|
+
"heatmapScrub",
|
|
44117
|
+
"person",
|
|
44118
|
+
"vehicle",
|
|
44119
|
+
"animal",
|
|
44120
|
+
"package",
|
|
44121
|
+
"sensor",
|
|
44122
|
+
"control",
|
|
44123
|
+
"face",
|
|
44124
|
+
"plate",
|
|
44125
|
+
"car",
|
|
44126
|
+
"truck",
|
|
44127
|
+
"bus",
|
|
44128
|
+
"motorcycle",
|
|
44129
|
+
"bicycle",
|
|
44130
|
+
"airplane",
|
|
44131
|
+
"boat",
|
|
44132
|
+
"train",
|
|
44133
|
+
"bird",
|
|
44134
|
+
"dog",
|
|
44135
|
+
"cat",
|
|
44136
|
+
"horse",
|
|
44137
|
+
"sheep",
|
|
44138
|
+
"cow",
|
|
44139
|
+
"elephant",
|
|
44140
|
+
"bear",
|
|
44141
|
+
"zebra",
|
|
44142
|
+
"giraffe",
|
|
44143
|
+
"package-delivered",
|
|
44144
|
+
"package-picked-up",
|
|
44145
|
+
"suitcase",
|
|
44146
|
+
"backpack",
|
|
44147
|
+
"handbag",
|
|
44148
|
+
"contact",
|
|
44149
|
+
"motion-sensor",
|
|
44150
|
+
"smoke",
|
|
44151
|
+
"flood",
|
|
44152
|
+
"gas",
|
|
44153
|
+
"carbon-monoxide",
|
|
44154
|
+
"vibration",
|
|
44155
|
+
"tamper",
|
|
44156
|
+
"presence",
|
|
44157
|
+
"enum-sensor",
|
|
44158
|
+
"device-event",
|
|
44159
|
+
"lock",
|
|
44160
|
+
"cover",
|
|
44161
|
+
"switch",
|
|
44162
|
+
"siren",
|
|
44163
|
+
"button",
|
|
44164
|
+
"doorbell"
|
|
44165
|
+
];
|
|
44166
|
+
var AUDIO_ENTRY_ID = "audio";
|
|
44167
|
+
/** Six rungs, quiet → loud. The opaque end is the entry's hex. */
|
|
44168
|
+
var AUDIO_GRADIENT_ALPHAS = [
|
|
44169
|
+
.3,
|
|
44170
|
+
.42,
|
|
44171
|
+
.55,
|
|
44172
|
+
.7,
|
|
44173
|
+
.85,
|
|
44174
|
+
1
|
|
44175
|
+
];
|
|
44176
|
+
var PALETTE_PRESET_IDS = [
|
|
44177
|
+
"camstack",
|
|
44178
|
+
"high-contrast",
|
|
44179
|
+
"okabe-ito"
|
|
44180
|
+
];
|
|
44181
|
+
/** Frozen palette tables (D939). The spec refuses a table that breaks the rule. */
|
|
44182
|
+
var CAMSTACK_HEX = {
|
|
44183
|
+
motion: "#d946ef",
|
|
44184
|
+
audio: "#059eb8",
|
|
44185
|
+
recording: "#ef4444",
|
|
44186
|
+
live: "#8d7a00",
|
|
44187
|
+
heatmapScrub: "#4b32ff",
|
|
44188
|
+
person: "#11a64c",
|
|
44189
|
+
vehicle: "#3b82f6",
|
|
44190
|
+
animal: "#ea6a09",
|
|
44191
|
+
package: "#924667",
|
|
44192
|
+
sensor: "#624bbc",
|
|
44193
|
+
control: "#944d24",
|
|
44194
|
+
face: "#ed4f8d",
|
|
44195
|
+
plate: "#4b7027",
|
|
44196
|
+
car: "#9684cf",
|
|
44197
|
+
truck: "#0f9b89",
|
|
44198
|
+
bus: "#a734a9",
|
|
44199
|
+
motorcycle: "#c1133a",
|
|
44200
|
+
bicycle: "#0e6a9b",
|
|
44201
|
+
airplane: "#7c9928",
|
|
44202
|
+
boat: "#b17933",
|
|
44203
|
+
train: "#ad6ca3",
|
|
44204
|
+
bird: "#0f7c55",
|
|
44205
|
+
dog: "#c82700",
|
|
44206
|
+
cat: "#7268f2",
|
|
44207
|
+
horse: "#cb795e",
|
|
44208
|
+
sheep: "#b8636b",
|
|
44209
|
+
cow: "#cb2969",
|
|
44210
|
+
elephant: "#1158d2",
|
|
44211
|
+
bear: "#8d5e00",
|
|
44212
|
+
zebra: "#0097d6",
|
|
44213
|
+
giraffe: "#8f61bb",
|
|
44214
|
+
"package-delivered": "#cd3f9b",
|
|
44215
|
+
"package-picked-up": "#388a08",
|
|
44216
|
+
suitcase: "#666800",
|
|
44217
|
+
backpack: "#ec5022",
|
|
44218
|
+
handbag: "#a76ef8",
|
|
44219
|
+
contact: "#ab5a49",
|
|
44220
|
+
"motion-sensor": "#b95d1a",
|
|
44221
|
+
smoke: "#dd3858",
|
|
44222
|
+
flood: "#b31e7d",
|
|
44223
|
+
gas: "#5b70b5",
|
|
44224
|
+
"carbon-monoxide": "#7b4e8e",
|
|
44225
|
+
vibration: "#e65bba",
|
|
44226
|
+
tamper: "#98464b",
|
|
44227
|
+
presence: "#3a9468",
|
|
44228
|
+
"enum-sensor": "#7885f8",
|
|
44229
|
+
"device-event": "#8c43c8",
|
|
44230
|
+
lock: "#649653",
|
|
44231
|
+
cover: "#c67597",
|
|
44232
|
+
switch: "#7a812a",
|
|
44233
|
+
siren: "#ac5d7f",
|
|
44234
|
+
button: "#b276cd",
|
|
44235
|
+
doorbell: "#0087ab"
|
|
44236
|
+
};
|
|
44237
|
+
var CAMSTACK_FALLBACK = [
|
|
44238
|
+
"#b34dc7",
|
|
44239
|
+
"#1d7d34",
|
|
44240
|
+
"#db6b6c",
|
|
44241
|
+
"#a43d29",
|
|
44242
|
+
"#0e6ee6",
|
|
44243
|
+
"#29a10b",
|
|
44244
|
+
"#a98731",
|
|
44245
|
+
"#0181c6"
|
|
44246
|
+
];
|
|
44247
|
+
var HIGH_CONTRAST_HEX = {
|
|
44248
|
+
motion: "#964360",
|
|
44249
|
+
audio: "#23a132",
|
|
44250
|
+
recording: "#2494ca",
|
|
44251
|
+
live: "#bd7e2b",
|
|
44252
|
+
heatmapScrub: "#ad6eea",
|
|
44253
|
+
person: "#62611e",
|
|
44254
|
+
vehicle: "#f4534c",
|
|
44255
|
+
animal: "#1556cd",
|
|
44256
|
+
package: "#9c4415",
|
|
44257
|
+
sensor: "#066c48",
|
|
44258
|
+
control: "#f2479f",
|
|
44259
|
+
face: "#139d8a",
|
|
44260
|
+
plate: "#909024",
|
|
44261
|
+
car: "#8e35ab",
|
|
44262
|
+
truck: "#bd0b2b",
|
|
44263
|
+
bus: "#7a88ca",
|
|
44264
|
+
motorcycle: "#e26725",
|
|
44265
|
+
bicycle: "#a6679b",
|
|
44266
|
+
airplane: "#7c5720",
|
|
44267
|
+
boat: "#467a1b",
|
|
44268
|
+
train: "#6f65a4",
|
|
44269
|
+
bird: "#cb717f",
|
|
44270
|
+
dog: "#c62490",
|
|
44271
|
+
cat: "#b36850",
|
|
44272
|
+
horse: "#1872ac",
|
|
44273
|
+
sheep: "#927939",
|
|
44274
|
+
cow: "#428a5c",
|
|
44275
|
+
elephant: "#d41160",
|
|
44276
|
+
bear: "#799453",
|
|
44277
|
+
zebra: "#a85455",
|
|
44278
|
+
giraffe: "#746be8",
|
|
44279
|
+
"package-delivered": "#824a80",
|
|
44280
|
+
"package-picked-up": "#614ac1",
|
|
44281
|
+
suitcase: "#2f77f3",
|
|
44282
|
+
backpack: "#fa476d",
|
|
44283
|
+
handbag: "#c14cbe",
|
|
44284
|
+
contact: "#c83921",
|
|
44285
|
+
"motion-sensor": "#a07ebd",
|
|
44286
|
+
smoke: "#a25b13",
|
|
44287
|
+
flood: "#526bab",
|
|
44288
|
+
gas: "#924938",
|
|
44289
|
+
"carbon-monoxide": "#bb7e53",
|
|
44290
|
+
vibration: "#b66182",
|
|
44291
|
+
tamper: "#3c6931",
|
|
44292
|
+
presence: "#6c851d",
|
|
44293
|
+
"enum-sensor": "#ad2d48",
|
|
44294
|
+
"device-event": "#5e9b04",
|
|
44295
|
+
lock: "#00a062",
|
|
44296
|
+
cover: "#ad8624",
|
|
44297
|
+
switch: "#d05259",
|
|
44298
|
+
siren: "#cd67b3",
|
|
44299
|
+
button: "#c9746a",
|
|
44300
|
+
doorbell: "#338eeb"
|
|
44301
|
+
};
|
|
44302
|
+
var HIGH_CONTRAST_FALLBACK = [
|
|
44303
|
+
"#817f3b",
|
|
44304
|
+
"#a0733e",
|
|
44305
|
+
"#8658b2",
|
|
44306
|
+
"#956301",
|
|
44307
|
+
"#bc652d",
|
|
44308
|
+
"#647331",
|
|
44309
|
+
"#a14c9e",
|
|
44310
|
+
"#d14e71"
|
|
44311
|
+
];
|
|
44312
|
+
var OKABE_ITO_HEX = {
|
|
44313
|
+
motion: "#b88128",
|
|
44314
|
+
audio: "#1096c8",
|
|
44315
|
+
recording: "#009e73",
|
|
44316
|
+
live: "#9c8c22",
|
|
44317
|
+
heatmapScrub: "#0072b2",
|
|
44318
|
+
person: "#d55e00",
|
|
44319
|
+
vehicle: "#c0739f",
|
|
44320
|
+
animal: "#226d18",
|
|
44321
|
+
package: "#91446c",
|
|
44322
|
+
sensor: "#217b56",
|
|
44323
|
+
control: "#648647",
|
|
44324
|
+
face: "#c22998",
|
|
44325
|
+
plate: "#fa4575",
|
|
44326
|
+
car: "#956301",
|
|
44327
|
+
truck: "#2f77f3",
|
|
44328
|
+
bus: "#7a4e86",
|
|
44329
|
+
motorcycle: "#f54597",
|
|
44330
|
+
bicycle: "#bb3e75",
|
|
44331
|
+
airplane: "#e054c0",
|
|
44332
|
+
boat: "#457942",
|
|
44333
|
+
train: "#867afa",
|
|
44334
|
+
bird: "#88914c",
|
|
44335
|
+
dog: "#1556cd",
|
|
44336
|
+
cat: "#71702c",
|
|
44337
|
+
horse: "#9b4fa4",
|
|
44338
|
+
sheep: "#c0559d",
|
|
44339
|
+
cow: "#d14f65",
|
|
44340
|
+
elephant: "#98470f",
|
|
44341
|
+
bear: "#595896",
|
|
44342
|
+
zebra: "#96790e",
|
|
44343
|
+
giraffe: "#cb717b",
|
|
44344
|
+
"package-delivered": "#139d8a",
|
|
44345
|
+
"package-picked-up": "#906ead",
|
|
44346
|
+
suitcase: "#d02939",
|
|
44347
|
+
backpack: "#d41160",
|
|
44348
|
+
handbag: "#f64f54",
|
|
44349
|
+
contact: "#7258d2",
|
|
44350
|
+
"motion-sensor": "#b66182",
|
|
44351
|
+
smoke: "#627abb",
|
|
44352
|
+
flood: "#b86ae4",
|
|
44353
|
+
gas: "#a95261",
|
|
44354
|
+
"carbon-monoxide": "#c65d3c",
|
|
44355
|
+
vibration: "#7a40b7",
|
|
44356
|
+
tamper: "#914b34",
|
|
44357
|
+
presence: "#9481c3",
|
|
44358
|
+
"enum-sensor": "#ac6d47",
|
|
44359
|
+
"device-event": "#7b6fce",
|
|
44360
|
+
lock: "#c67662",
|
|
44361
|
+
cover: "#a6564d",
|
|
44362
|
+
switch: "#ad2c4e",
|
|
44363
|
+
siren: "#348e08",
|
|
44364
|
+
button: "#d27303",
|
|
44365
|
+
doorbell: "#55770f"
|
|
44366
|
+
};
|
|
44367
|
+
var OKABE_ITO_FALLBACK = [
|
|
44368
|
+
"#9a3784",
|
|
44369
|
+
"#a7392c",
|
|
44370
|
+
"#409d50",
|
|
44371
|
+
"#6987e7",
|
|
44372
|
+
"#ee5b3d",
|
|
44373
|
+
"#c0430d",
|
|
44374
|
+
"#af79b3",
|
|
44375
|
+
"#4b6628"
|
|
44376
|
+
];
|
|
44377
|
+
/**
|
|
44378
|
+
* The display palette (D939). One table of colours, three presets, one
|
|
44379
|
+
* validator. Taxonomy colours and every consumer read this — there is no
|
|
44380
|
+
* second hex table.
|
|
44381
|
+
*/
|
|
44382
|
+
var paletteHexSchema = string().regex(/^#[0-9a-f]{6}$/);
|
|
44383
|
+
var paletteSwatchSchema = discriminatedUnion("form", [object({
|
|
44384
|
+
form: literal("solid"),
|
|
44385
|
+
hex: paletteHexSchema
|
|
44386
|
+
}), object({
|
|
44387
|
+
form: literal("gradient"),
|
|
44388
|
+
hex: paletteHexSchema,
|
|
44389
|
+
alphas: array(number().gt(0).lte(1)).length(AUDIO_GRADIENT_ALPHAS.length)
|
|
44390
|
+
})]);
|
|
44391
|
+
var paletteReadySchema = object({
|
|
44392
|
+
status: literal("ready"),
|
|
44393
|
+
presetId: _enum(PALETTE_PRESET_IDS),
|
|
44394
|
+
customized: boolean(),
|
|
44395
|
+
source: _enum(["stored", "unconfigured"]),
|
|
44396
|
+
swatches: record(string(), paletteSwatchSchema),
|
|
44397
|
+
fallbacks: array(paletteHexSchema).length(8)
|
|
44398
|
+
});
|
|
44399
|
+
var paletteResultSchema = discriminatedUnion("status", [paletteReadySchema, object({
|
|
44400
|
+
status: literal("unknown"),
|
|
44401
|
+
reason: string()
|
|
44402
|
+
})]);
|
|
44403
|
+
var setPaletteInputSchema = union([object({ presetId: string() }), object({
|
|
44404
|
+
presetId: string(),
|
|
44405
|
+
overrides: record(string(), paletteSwatchSchema)
|
|
44406
|
+
})]);
|
|
44407
|
+
object({
|
|
44408
|
+
presetId: string(),
|
|
44409
|
+
overrides: record(string(), paletteSwatchSchema)
|
|
44410
|
+
});
|
|
44411
|
+
function solid(hex) {
|
|
44412
|
+
return {
|
|
44413
|
+
form: "solid",
|
|
44414
|
+
hex
|
|
44415
|
+
};
|
|
44416
|
+
}
|
|
44417
|
+
function audioGradient(hex) {
|
|
44418
|
+
return {
|
|
44419
|
+
form: "gradient",
|
|
44420
|
+
hex,
|
|
44421
|
+
alphas: [...AUDIO_GRADIENT_ALPHAS]
|
|
44422
|
+
};
|
|
44423
|
+
}
|
|
44424
|
+
function swatchesFrom(hexes) {
|
|
44425
|
+
const out = {};
|
|
44426
|
+
for (const id of PALETTE_ENTRY_IDS) {
|
|
44427
|
+
const hex = hexes[id];
|
|
44428
|
+
if (hex === void 0) throw new Error(`palette table missing ${id}`);
|
|
44429
|
+
out[id] = id === "audio" ? audioGradient(hex) : solid(hex);
|
|
44430
|
+
}
|
|
44431
|
+
return out;
|
|
44432
|
+
}
|
|
44433
|
+
function preset(id, name, hexes, fallbacks) {
|
|
44434
|
+
return {
|
|
44435
|
+
id,
|
|
44436
|
+
name,
|
|
44437
|
+
swatches: swatchesFrom(hexes),
|
|
44438
|
+
fallbacks
|
|
44439
|
+
};
|
|
44440
|
+
}
|
|
44441
|
+
var DISPLAY_PRESETS = [
|
|
44442
|
+
preset("camstack", "CamStack", CAMSTACK_HEX, CAMSTACK_FALLBACK),
|
|
44443
|
+
preset("high-contrast", "High contrast", HIGH_CONTRAST_HEX, HIGH_CONTRAST_FALLBACK),
|
|
44444
|
+
preset("okabe-ito", "Colour-blind safe", OKABE_ITO_HEX, OKABE_ITO_FALLBACK)
|
|
44445
|
+
];
|
|
44446
|
+
function presetById(id) {
|
|
44447
|
+
return DISPLAY_PRESETS.find((item) => item.id === id);
|
|
44448
|
+
}
|
|
44449
|
+
function bundledCamstack() {
|
|
44450
|
+
const presetRow = presetById("camstack");
|
|
44451
|
+
if (presetRow === void 0) throw new Error("CamStack preset missing");
|
|
44452
|
+
return readyOf(presetRow, "unconfigured", false);
|
|
44453
|
+
}
|
|
44454
|
+
function readyOf(row, source, customized) {
|
|
44455
|
+
return {
|
|
44456
|
+
status: "ready",
|
|
44457
|
+
presetId: row.id,
|
|
44458
|
+
customized,
|
|
44459
|
+
source,
|
|
44460
|
+
swatches: row.swatches,
|
|
44461
|
+
fallbacks: [...row.fallbacks]
|
|
44462
|
+
};
|
|
44463
|
+
}
|
|
44464
|
+
function hashFallback(kind, fallbacks) {
|
|
44465
|
+
let hash = 0;
|
|
44466
|
+
for (let i = 0; i < kind.length; i++) hash = hash * 31 + (kind.codePointAt(i) ?? 0) >>> 0;
|
|
44467
|
+
const hex = fallbacks[hash % fallbacks.length];
|
|
44468
|
+
if (hex === void 0) throw new Error("display palette has no fallback colour");
|
|
44469
|
+
return hex;
|
|
44470
|
+
}
|
|
44471
|
+
/** Colour a kind paints with. Audio leaves share the audio gradient's hex. */
|
|
44472
|
+
function paintHex(swatches, fallbacks, kind) {
|
|
44473
|
+
const key = kind.trim().toLowerCase();
|
|
44474
|
+
if (key.startsWith("audio-")) {
|
|
44475
|
+
const audio = swatches[AUDIO_ENTRY_ID];
|
|
44476
|
+
return audio !== void 0 ? audio.hex : hashFallback(key, fallbacks);
|
|
44477
|
+
}
|
|
44478
|
+
const direct = swatches[key];
|
|
44479
|
+
if (direct !== void 0) return direct.hex;
|
|
44480
|
+
return hashFallback(key, fallbacks);
|
|
44481
|
+
}
|
|
44482
|
+
/**
|
|
42079
44483
|
* Unified event-kind taxonomy — THE single source of truth for
|
|
42080
44484
|
* `kind → { parentKind, category, level, color, iconId, labelKey, label,
|
|
42081
44485
|
* icon }`.
|
|
@@ -42089,109 +44493,88 @@ for (const [k, v] of Object.entries(APPLE_SA_TO_MACRO.mapping)) _macroLookup.set
|
|
|
42089
44493
|
* - `addon-post-analysis/shared/frame/box-drawer.ts` (DEFAULT_COLOR)
|
|
42090
44494
|
* - the COCO / audio class maps (macro ↔ sub relationships)
|
|
42091
44495
|
*
|
|
42092
|
-
* The DATA (serializable —
|
|
42093
|
-
* `@camstack/types`.
|
|
42094
|
-
*
|
|
42095
|
-
*
|
|
42096
|
-
*
|
|
44496
|
+
* The DATA (serializable — parentKind / iconId / labelKey) lives here in
|
|
44497
|
+
* `@camstack/types`. Colour is NOT a second table: each entry's `color` is
|
|
44498
|
+
* the bundled CamStack display palette (D939). The effective cluster palette
|
|
44499
|
+
* is the `display-palette` capability. The UI-side mapping `iconId → lucide
|
|
44500
|
+
* component` and `labelKey → t()` lives in `@camstack/ui-library`.
|
|
42097
44501
|
*
|
|
42098
44502
|
* Two levels only (v1 YAGNI): macro → sub. `person` is a leaf macro.
|
|
42099
44503
|
*/
|
|
42100
|
-
var
|
|
42101
|
-
|
|
42102
|
-
|
|
42103
|
-
|
|
42104
|
-
|
|
42105
|
-
|
|
42106
|
-
|
|
42107
|
-
|
|
42108
|
-
|
|
42109
|
-
|
|
42110
|
-
};
|
|
42111
|
-
var DETECTION_SUB_COLORS = {
|
|
42112
|
-
car: "#f59e0b",
|
|
42113
|
-
truck: "#d97706",
|
|
42114
|
-
bus: "#b45309",
|
|
42115
|
-
motorcycle: "#eab308",
|
|
42116
|
-
bicycle: "#ca8a04",
|
|
42117
|
-
airplane: "#60a5fa",
|
|
42118
|
-
boat: "#2563eb",
|
|
42119
|
-
train: "#1d4ed8",
|
|
42120
|
-
bird: "#14b8a6",
|
|
42121
|
-
dog: "#84cc16",
|
|
42122
|
-
cat: "#f97316",
|
|
42123
|
-
horse: "#a16207",
|
|
42124
|
-
sheep: "#a3a3a3",
|
|
42125
|
-
cow: "#78716c",
|
|
42126
|
-
elephant: "#6b7280",
|
|
42127
|
-
bear: "#7c2d12",
|
|
42128
|
-
zebra: "#404040",
|
|
42129
|
-
giraffe: "#d4a373"
|
|
42130
|
-
};
|
|
44504
|
+
var BUNDLED_PALETTE = bundledCamstack();
|
|
44505
|
+
function kindColor(kind) {
|
|
44506
|
+
return paintHex(BUNDLED_PALETTE.swatches, BUNDLED_PALETTE.fallbacks, kind);
|
|
44507
|
+
}
|
|
44508
|
+
function firstFallback(fallbacks) {
|
|
44509
|
+
const hex = fallbacks[0];
|
|
44510
|
+
if (hex === void 0) throw new Error("display palette has no fallback colour");
|
|
44511
|
+
return hex;
|
|
44512
|
+
}
|
|
44513
|
+
firstFallback(BUNDLED_PALETTE.fallbacks);
|
|
42131
44514
|
function titleCase(id) {
|
|
42132
44515
|
return id.split(/[-_ ]/).filter((p) => p.length > 0).map((p) => p.charAt(0).toUpperCase() + p.slice(1)).join(" ");
|
|
42133
44516
|
}
|
|
42134
44517
|
var entries = /* @__PURE__ */ new Map();
|
|
42135
|
-
function macro(kind, category,
|
|
44518
|
+
function macro(kind, category, iconId, label) {
|
|
42136
44519
|
entries.set(kind, {
|
|
42137
44520
|
kind,
|
|
42138
44521
|
parentKind: null,
|
|
42139
44522
|
level: "macro",
|
|
42140
44523
|
category,
|
|
42141
|
-
color,
|
|
44524
|
+
color: kindColor(kind),
|
|
42142
44525
|
iconId,
|
|
42143
44526
|
labelKey: `eventKind.${kind}`,
|
|
42144
44527
|
label
|
|
42145
44528
|
});
|
|
42146
44529
|
}
|
|
42147
|
-
function sub(kind, parentKind, category,
|
|
44530
|
+
function sub(kind, parentKind, category, iconId, label) {
|
|
42148
44531
|
entries.set(kind, {
|
|
42149
44532
|
kind,
|
|
42150
44533
|
parentKind,
|
|
42151
44534
|
level: "sub",
|
|
42152
44535
|
category,
|
|
42153
|
-
color,
|
|
44536
|
+
color: kindColor(kind),
|
|
42154
44537
|
iconId,
|
|
42155
44538
|
labelKey: `eventKind.${kind}`,
|
|
42156
44539
|
label
|
|
42157
44540
|
});
|
|
42158
44541
|
}
|
|
42159
|
-
macro("motion", "motion",
|
|
42160
|
-
macro("audio", "audio",
|
|
42161
|
-
macro("person", "detection",
|
|
42162
|
-
macro("vehicle", "detection",
|
|
42163
|
-
macro("animal", "detection",
|
|
42164
|
-
macro("package", "package",
|
|
42165
|
-
macro("sensor", "sensor",
|
|
42166
|
-
macro("control", "control",
|
|
44542
|
+
macro("motion", "motion", "motion", "Motion");
|
|
44543
|
+
macro("audio", "audio", "audio", "Audio");
|
|
44544
|
+
macro("person", "detection", "person", "Person");
|
|
44545
|
+
macro("vehicle", "detection", "vehicle", "Vehicle");
|
|
44546
|
+
macro("animal", "detection", "animal", "Animal");
|
|
44547
|
+
macro("package", "package", "package", "Package");
|
|
44548
|
+
macro("sensor", "sensor", "sensor", "Sensor");
|
|
44549
|
+
macro("control", "control", "control", "Control");
|
|
42167
44550
|
for (const [cocoClass, macroClass] of Object.entries(COCO_TO_MACRO.mapping)) {
|
|
42168
44551
|
if (macroClass !== "vehicle" && macroClass !== "animal") continue;
|
|
42169
44552
|
if (entries.has(cocoClass)) continue;
|
|
42170
|
-
sub(cocoClass, macroClass, "detection",
|
|
42171
|
-
}
|
|
42172
|
-
sub("package-delivered", "package", "package",
|
|
42173
|
-
sub("package-picked-up", "package", "package",
|
|
42174
|
-
sub("contact", "sensor", "sensor", "
|
|
42175
|
-
sub("motion-sensor", "sensor", "sensor",
|
|
42176
|
-
sub("smoke", "sensor", "sensor", "
|
|
42177
|
-
sub("flood", "sensor", "sensor", "
|
|
42178
|
-
sub("gas", "sensor", "sensor", "
|
|
42179
|
-
sub("carbon-monoxide", "sensor", "sensor", "
|
|
42180
|
-
sub("vibration", "sensor", "sensor", "
|
|
42181
|
-
sub("tamper", "sensor", "sensor", "
|
|
42182
|
-
sub("presence", "sensor", "sensor", "
|
|
42183
|
-
sub("enum-sensor", "sensor", "sensor",
|
|
42184
|
-
sub("device-event", "sensor", "sensor", "
|
|
42185
|
-
sub("lock", "control", "control", "
|
|
42186
|
-
sub("cover", "control", "control", "
|
|
42187
|
-
sub("switch", "control", "control",
|
|
42188
|
-
sub("siren", "control", "control", "
|
|
42189
|
-
sub("button", "control", "control", "
|
|
42190
|
-
sub("doorbell", "control", "control", "
|
|
44553
|
+
sub(cocoClass, macroClass, "detection", cocoClass, titleCase(cocoClass));
|
|
44554
|
+
}
|
|
44555
|
+
sub("package-delivered", "package", "package", "package", "Package delivered");
|
|
44556
|
+
sub("package-picked-up", "package", "package", "package", "Package picked up");
|
|
44557
|
+
sub("contact", "sensor", "sensor", "door", "Contact");
|
|
44558
|
+
sub("motion-sensor", "sensor", "sensor", "pir", "Motion sensor");
|
|
44559
|
+
sub("smoke", "sensor", "sensor", "smoke", "Smoke");
|
|
44560
|
+
sub("flood", "sensor", "sensor", "water", "Water leak");
|
|
44561
|
+
sub("gas", "sensor", "sensor", "gas", "Gas");
|
|
44562
|
+
sub("carbon-monoxide", "sensor", "sensor", "smoke", "Carbon monoxide");
|
|
44563
|
+
sub("vibration", "sensor", "sensor", "vibration", "Vibration");
|
|
44564
|
+
sub("tamper", "sensor", "sensor", "tamper", "Tamper");
|
|
44565
|
+
sub("presence", "sensor", "sensor", "presence", "Presence");
|
|
44566
|
+
sub("enum-sensor", "sensor", "sensor", "generic", "Sensor state");
|
|
44567
|
+
sub("device-event", "sensor", "sensor", "button", "Device event");
|
|
44568
|
+
sub("lock", "control", "control", "lock", "Lock");
|
|
44569
|
+
sub("cover", "control", "control", "door", "Cover");
|
|
44570
|
+
sub("switch", "control", "control", "switch", "Switch");
|
|
44571
|
+
sub("siren", "control", "control", "siren", "Siren");
|
|
44572
|
+
sub("button", "control", "control", "button", "Button");
|
|
44573
|
+
sub("doorbell", "control", "control", "doorbell", "Doorbell");
|
|
42191
44574
|
for (const l of AUDIO_MACRO_LABELS) {
|
|
42192
44575
|
const kind = `audio-${l.id}`;
|
|
42193
44576
|
if (entries.has(kind)) continue;
|
|
42194
|
-
sub(kind, "audio", "audio",
|
|
44577
|
+
sub(kind, "audio", "audio", kind, l.name);
|
|
42195
44578
|
}
|
|
42196
44579
|
/** The complete taxonomy dictionary, keyed by kind. */
|
|
42197
44580
|
var EVENT_TAXONOMY = Object.freeze(Object.fromEntries(entries));
|
|
@@ -42458,9 +44841,6 @@ var NcSystemEventKindSchema = _enum([
|
|
|
42458
44841
|
"device-battery-normal",
|
|
42459
44842
|
"device-consumable-low",
|
|
42460
44843
|
"device-consumable-normal",
|
|
42461
|
-
"device-tank-low",
|
|
42462
|
-
"device-tank-full",
|
|
42463
|
-
"device-tank-normal",
|
|
42464
44844
|
"stream-online",
|
|
42465
44845
|
"stream-offline",
|
|
42466
44846
|
"node-online",
|
|
@@ -42507,13 +44887,14 @@ var NcSystemEventKindSchema = _enum([
|
|
|
42507
44887
|
"camera-enabled"
|
|
42508
44888
|
]);
|
|
42509
44889
|
/** The legacy tail of {@link NcSystemEventKindSchema} — see its docblock. */
|
|
42510
|
-
var NC_LEGACY_SYSTEM_EVENT_KINDS =
|
|
44890
|
+
var NC_LEGACY_SYSTEM_EVENT_KINDS = [
|
|
42511
44891
|
"camera-online",
|
|
42512
44892
|
"camera-offline",
|
|
42513
44893
|
"camera-disabled",
|
|
42514
44894
|
"camera-enabled"
|
|
42515
|
-
]
|
|
42516
|
-
|
|
44895
|
+
];
|
|
44896
|
+
var NC_LEGACY_SYSTEM_EVENT_KIND_SET = new Set(NC_LEGACY_SYSTEM_EVENT_KINDS);
|
|
44897
|
+
NcSystemEventKindSchema.options.filter((kind) => !NC_LEGACY_SYSTEM_EVENT_KIND_SET.has(kind));
|
|
42517
44898
|
/**
|
|
42518
44899
|
* The panel's transitions, as ONE list.
|
|
42519
44900
|
*
|
|
@@ -43036,7 +45417,7 @@ var NcConditionsSchema = object({
|
|
|
43036
45417
|
* with the list under it is worse than no switch (D62).
|
|
43037
45418
|
*
|
|
43038
45419
|
* MEMBERS ARE FACE-GALLERY `Identity.id`s (uuid), not display names. A name is
|
|
43039
|
-
* renameable, and a rule authored on "
|
|
45420
|
+
* renameable, and a rule authored on "Alice" went silently dark the moment
|
|
43040
45421
|
* the operator fixed the spelling. The id reaches the record on
|
|
43041
45422
|
* `LabelAttribution.identityId`; the name is what the editor shows and what
|
|
43042
45423
|
* `{{label}}` renders.
|
|
@@ -43587,7 +45968,7 @@ var NcRulePatchSchema = NcRuleInputSchema.partial().extend({
|
|
|
43587
45968
|
* A rule scoped to one camera and one zone silently became a rule that
|
|
43588
45969
|
* matches EVERY event on EVERY camera, and lost its `media` policy
|
|
43589
45970
|
* (zoneCrop / gif / clip / frame) and its `priority` at the same time. Seen
|
|
43590
|
-
* live on 2026-08-12: a rule scoped to device
|
|
45971
|
+
* live on 2026-08-12: a rule scoped to device 102 fired on 104 and 101
|
|
43591
45972
|
* within a minute of a two-field patch.
|
|
43592
45973
|
*
|
|
43593
45974
|
* So every defaulted field is re-declared here WITHOUT its default. The
|
|
@@ -43632,18 +46013,11 @@ var NcRuleSchema = NcRuleInputSchema.extend({
|
|
|
43632
46013
|
*/
|
|
43633
46014
|
disabledTargetIds: array(string()).default([])
|
|
43634
46015
|
});
|
|
43635
|
-
/**
|
|
43636
|
-
* The state-summary SECTIONS (D647 / D698 / D708): the D637 kind groups that
|
|
43637
|
-
* report a still-true state. `addons` is the crash-looped addons only and
|
|
43638
|
-
* `addon-updates` the addons that are behind (D708 split them). `backups-exports` and `alarm` are not sections — a completed
|
|
43639
|
-
* job is not an open state, and the alarm stays instant.
|
|
43640
|
-
*/
|
|
43641
46016
|
var NcStateSummarySectionIdSchema = _enum([
|
|
43642
46017
|
"device-state",
|
|
43643
46018
|
"streams",
|
|
43644
46019
|
"battery",
|
|
43645
46020
|
"consumables",
|
|
43646
|
-
"tanks",
|
|
43647
46021
|
"detection-blind",
|
|
43648
46022
|
"nodes",
|
|
43649
46023
|
"addons",
|
|
@@ -44960,6 +47334,18 @@ Object.freeze({
|
|
|
44960
47334
|
reason: "camera sensor mappings not loaded"
|
|
44961
47335
|
});
|
|
44962
47336
|
/**
|
|
47337
|
+
* What the vision model must answer before a package event is emitted
|
|
47338
|
+
* when a packages rule has "Confirm with the LLM" on.
|
|
47339
|
+
*
|
|
47340
|
+
* `package` is the verdict. `confidence` is 0..1. `reason` is the model's
|
|
47341
|
+
* one-line explanation, stored on the event so a drop is not silent.
|
|
47342
|
+
*/
|
|
47343
|
+
var PackageLlmVerdictSchema = object({
|
|
47344
|
+
package: boolean(),
|
|
47345
|
+
confidence: number().min(0).max(1),
|
|
47346
|
+
reason: string().min(1)
|
|
47347
|
+
});
|
|
47348
|
+
/**
|
|
44963
47349
|
* A model choice has a SCOPE, and a scope change has a workflow.
|
|
44964
47350
|
*
|
|
44965
47351
|
* ## The two scopes
|
|
@@ -45411,7 +47797,7 @@ var LabelAttributionSchema = object({
|
|
|
45411
47797
|
* `Identity.id` or a plate-gallery `Vehicle.id` (both `randomUUID`).
|
|
45412
47798
|
*
|
|
45413
47799
|
* The text alone is a DISPLAY NAME, and a display name is renameable: a
|
|
45414
|
-
* notification rule authored on "
|
|
47800
|
+
* notification rule authored on "Alice" stopped matching the moment the
|
|
45415
47801
|
* operator fixed the spelling in the gallery, and nothing said so. The id is
|
|
45416
47802
|
* the thing that does not move, so it is what a rule matches on
|
|
45417
47803
|
* (`NcConditions.identities`) and the text is what a human is shown.
|
|
@@ -45896,6 +48282,21 @@ var ObjectEventSchema = object({
|
|
|
45896
48282
|
* pick-up written before D684 — UNKNOWN, never 0 and never `timestamp`.
|
|
45897
48283
|
*/
|
|
45898
48284
|
observedAt: number().optional(),
|
|
48285
|
+
/**
|
|
48286
|
+
* The delivery was emitted without a vision-model yes (D931).
|
|
48287
|
+
*
|
|
48288
|
+
* Set only when the packages rule asked for an LLM confirm and the model
|
|
48289
|
+
* was unreachable, timed out, or answered something that did not parse.
|
|
48290
|
+
* A notification reads it so it can say "possible" instead of a definite
|
|
48291
|
+
* delivery. Absent on every other row, and on a confirm that said yes.
|
|
48292
|
+
*/
|
|
48293
|
+
packagePossible: boolean().optional(),
|
|
48294
|
+
/**
|
|
48295
|
+
* The vision model's verdict, when a packages rule asked for one and the
|
|
48296
|
+
* model answered the schema (D931). A "no" never becomes a row — the
|
|
48297
|
+
* detector drops it and logs the reason. Present on a yes.
|
|
48298
|
+
*/
|
|
48299
|
+
packageLlmVerdict: PackageLlmVerdictSchema.optional(),
|
|
45899
48300
|
/** The parent track's key-event importance [0,1], propagated to every object
|
|
45900
48301
|
* event of the track (so an event row can be sorted by importance without a
|
|
45901
48302
|
* track join). Absent on legacy rows / before the track was scored. */
|
|
@@ -47693,7 +50094,6 @@ var PipelineAddonSchemaSchema = object({
|
|
|
47693
50094
|
defaultModelId: string(),
|
|
47694
50095
|
defaultModelIdByFormat: record(string(), string()).optional(),
|
|
47695
50096
|
enabledByDefault: boolean().optional(),
|
|
47696
|
-
backfillIntoExistingOverrides: boolean().optional(),
|
|
47697
50097
|
defaultConfidence: number(),
|
|
47698
50098
|
group: string().optional(),
|
|
47699
50099
|
configSchema: array(ConfigFieldBridge).readonly().optional()
|
|
@@ -47820,13 +50220,12 @@ var AudioTestResultSchema = object({
|
|
|
47820
50220
|
error: string().optional(),
|
|
47821
50221
|
frame: custom().optional()
|
|
47822
50222
|
});
|
|
47823
|
-
var PipelineConfigBridge = custom();
|
|
47824
50223
|
var ConfigUISchemaBridge = custom();
|
|
47825
50224
|
var ConfigUISchemaNullableBridge = custom();
|
|
47826
50225
|
var InferenceCapabilitiesBridge = custom();
|
|
47827
50226
|
var ModelAvailabilityListBridge = custom();
|
|
47828
50227
|
var PipelineRunResultBridge = custom();
|
|
47829
|
-
method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngineChoiceSchema), method(
|
|
50228
|
+
method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngineChoiceSchema), method(object({ nodeId: string() }), EngineProvisioningSchema), method(_void(), record(string(), object({
|
|
47830
50229
|
modelId: string(),
|
|
47831
50230
|
settings: record(string(), unknown()).readonly()
|
|
47832
50231
|
}))), method(object({ steps: record(string(), object({
|
|
@@ -47835,28 +50234,6 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
47835
50234
|
})) }), object({ success: literal(true) }), {
|
|
47836
50235
|
kind: "mutation",
|
|
47837
50236
|
auth: "admin"
|
|
47838
|
-
}), method(object({ nodeId: string() }), object({
|
|
47839
|
-
success: literal(true),
|
|
47840
|
-
clearedDevices: number()
|
|
47841
|
-
}), {
|
|
47842
|
-
kind: "mutation",
|
|
47843
|
-
auth: "admin"
|
|
47844
|
-
}), method(object({
|
|
47845
|
-
nodeId: string(),
|
|
47846
|
-
deviceIds: array(number()).readonly().optional(),
|
|
47847
|
-
dryRun: boolean()
|
|
47848
|
-
}), object({
|
|
47849
|
-
entries: array(object({
|
|
47850
|
-
deviceId: number(),
|
|
47851
|
-
keys: array(string()).readonly()
|
|
47852
|
-
})).readonly(),
|
|
47853
|
-
refused: array(object({
|
|
47854
|
-
deviceId: number(),
|
|
47855
|
-
reason: string()
|
|
47856
|
-
})).readonly()
|
|
47857
|
-
}), {
|
|
47858
|
-
kind: "mutation",
|
|
47859
|
-
auth: "admin"
|
|
47860
50237
|
}), method(object({ nodeId: string() }), object({ unhealthy: array(object({
|
|
47861
50238
|
/** `<backend>:<device>`, e.g. `openvino:gpu`. */
|
|
47862
50239
|
deviceKey: string(),
|
|
@@ -47879,7 +50256,7 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
47879
50256
|
}), object({ rearmed: boolean() }), {
|
|
47880
50257
|
kind: "mutation",
|
|
47881
50258
|
auth: "admin"
|
|
47882
|
-
}), method(_void(), PipelineSchemaSchema), method(_void(),
|
|
50259
|
+
}), method(_void(), PipelineSchemaSchema), method(_void(), ConfigUISchemaBridge), method(object({
|
|
47883
50260
|
steps: array(PipelineStepInputSchema),
|
|
47884
50261
|
deviceKey: string().optional()
|
|
47885
50262
|
}), PipelineValidationResultSchema), method(_void(), InferenceCapabilitiesBridge), method(object({ addonId: string() }), ModelAvailabilityListBridge), method(object({
|
|
@@ -47959,7 +50336,7 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
47959
50336
|
/**
|
|
47960
50337
|
* Root-supplied detections for the tree's ROOT step (D730). Set by
|
|
47961
50338
|
* `runDetailSubtree` when the camera's root model supplies a crop-kind
|
|
47962
|
-
* step (a
|
|
50339
|
+
* step (a plus catalog `license_plate` for `plate-detection`): the step is
|
|
47963
50340
|
* NOT inferred, these boxes are its output, and its children (the plate
|
|
47964
50341
|
* reader) run on them through their own crop policy. Boxes are in the
|
|
47965
50342
|
* PIXELS of the image this call carries. Absent ⇒ the root step runs.
|
|
@@ -48127,11 +50504,18 @@ var KeptReasonSchema = _enum(["custom-pin"]);
|
|
|
48127
50504
|
* Where a choice's latency came from (D791): this node's own benchmark
|
|
48128
50505
|
* result, or the hardware-class table. Measured on the node beats the table.
|
|
48129
50506
|
*/
|
|
48130
|
-
var LatencySourceSchema = discriminatedUnion("kind", [
|
|
48131
|
-
kind: literal("
|
|
48132
|
-
|
|
48133
|
-
|
|
48134
|
-
|
|
50507
|
+
var LatencySourceSchema = discriminatedUnion("kind", [
|
|
50508
|
+
object({ kind: literal("table") }),
|
|
50509
|
+
object({
|
|
50510
|
+
kind: literal("node-benchmark"),
|
|
50511
|
+
resultId: string(),
|
|
50512
|
+
measuredAtMs: number()
|
|
50513
|
+
}),
|
|
50514
|
+
object({
|
|
50515
|
+
kind: literal("estimated"),
|
|
50516
|
+
estimatedFrom: HardwareClassIdSchema
|
|
50517
|
+
})
|
|
50518
|
+
]);
|
|
48135
50519
|
var DeviceModelChoiceSchema = object({
|
|
48136
50520
|
modelId: string(),
|
|
48137
50521
|
p50Ms: number(),
|
|
@@ -48139,6 +50523,11 @@ var DeviceModelChoiceSchema = object({
|
|
|
48139
50523
|
measured: boolean(),
|
|
48140
50524
|
/** Absent on a plan from before D791 — read as the table. */
|
|
48141
50525
|
source: LatencySourceSchema.optional(),
|
|
50526
|
+
/**
|
|
50527
|
+
* The measured class this latency was scaled from (D930). Absent when the
|
|
50528
|
+
* cell is the table or a node benchmark.
|
|
50529
|
+
*/
|
|
50530
|
+
estimatedFrom: HardwareClassIdSchema.optional(),
|
|
48142
50531
|
/** Parallel sessions at the camera rate with the headroom kept free: ⌊fps × (1 − headroom) / camera fps⌋. */
|
|
48143
50532
|
capacitySessions: number(),
|
|
48144
50533
|
personRecall: number()
|
|
@@ -48178,40 +50567,20 @@ var NodeDeviceChangeSchema = object({
|
|
|
48178
50567
|
keys: array(string()).readonly()
|
|
48179
50568
|
})).readonly()
|
|
48180
50569
|
});
|
|
48181
|
-
|
|
48182
|
-
|
|
48183
|
-
|
|
50570
|
+
/**
|
|
50571
|
+
* Every model and model-bound threshold lives on the accelerator that runs it
|
|
50572
|
+
* (D927), so the plan writes node / device entries only — there is no camera
|
|
50573
|
+
* layer for it to clear.
|
|
50574
|
+
*/
|
|
50575
|
+
var AutoTuneWarningSchema = discriminatedUnion("kind", [object({
|
|
50576
|
+
kind: literal("custom-pin-kept"),
|
|
48184
50577
|
nodeId: string(),
|
|
48185
|
-
deviceKey: string()
|
|
48186
|
-
|
|
48187
|
-
|
|
48188
|
-
|
|
48189
|
-
|
|
48190
|
-
|
|
48191
|
-
deviceId: number(),
|
|
48192
|
-
keys: array(string()).readonly()
|
|
48193
|
-
});
|
|
48194
|
-
var AutoTuneWarningSchema = discriminatedUnion("kind", [
|
|
48195
|
-
object({
|
|
48196
|
-
kind: literal("detector-store-cluster-wide"),
|
|
48197
|
-
skippedNodes: array(string()).readonly()
|
|
48198
|
-
}),
|
|
48199
|
-
object({
|
|
48200
|
-
kind: literal("detector-store-unreadable"),
|
|
48201
|
-
error: string()
|
|
48202
|
-
}),
|
|
48203
|
-
object({
|
|
48204
|
-
kind: literal("custom-pin-kept"),
|
|
48205
|
-
nodeId: string(),
|
|
48206
|
-
deviceKey: string().nullable(),
|
|
48207
|
-
deviceId: number().nullable(),
|
|
48208
|
-
modelId: string()
|
|
48209
|
-
}),
|
|
48210
|
-
object({
|
|
48211
|
-
kind: literal("custom-registry-unreadable"),
|
|
48212
|
-
error: string()
|
|
48213
|
-
})
|
|
48214
|
-
]);
|
|
50578
|
+
deviceKey: string(),
|
|
50579
|
+
modelId: string()
|
|
50580
|
+
}), object({
|
|
50581
|
+
kind: literal("custom-registry-unreadable"),
|
|
50582
|
+
error: string()
|
|
50583
|
+
})]);
|
|
48215
50584
|
var AutoTuneOptionsSchema = object({
|
|
48216
50585
|
/** Share of each accelerator's throughput kept free (0.3–0.5). */
|
|
48217
50586
|
headroom: number().min(.3).max(.5).default(.4),
|
|
@@ -48233,8 +50602,6 @@ var AutoTunePlanSchema = object({
|
|
|
48233
50602
|
generatedAt: number(),
|
|
48234
50603
|
nodes: array(NodeRecommendationSchema).readonly(),
|
|
48235
50604
|
nodeChanges: array(NodeDeviceChangeSchema).readonly(),
|
|
48236
|
-
cameraClears: array(CameraOverrideClearSchema).readonly(),
|
|
48237
|
-
detectorStoreClears: array(DetectorStoreClearSchema).readonly(),
|
|
48238
50605
|
warnings: array(AutoTuneWarningSchema).readonly()
|
|
48239
50606
|
});
|
|
48240
50607
|
var AutoTuneApplyInputSchema = object({
|
|
@@ -48245,8 +50612,6 @@ var AutoTuneApplyInputSchema = object({
|
|
|
48245
50612
|
var AutoTunePhaseResultSchema = object({
|
|
48246
50613
|
phase: _enum([
|
|
48247
50614
|
"download",
|
|
48248
|
-
"camera-overrides",
|
|
48249
|
-
"detector-thresholds",
|
|
48250
50615
|
"node-models",
|
|
48251
50616
|
"redispatch"
|
|
48252
50617
|
]),
|
|
@@ -49604,7 +51969,7 @@ var RunnerCameraConfigSchema = object({
|
|
|
49604
51969
|
* detection session that asks for history. What shipped was a last-moment
|
|
49605
51970
|
* discard — `FrameSlot`'s throttle compares wall clocks, and ~4 s of media
|
|
49606
51971
|
* arriving inside a few hundred ms of wall clock looks to it like one frame's
|
|
49607
|
-
* worth. Device
|
|
51972
|
+
* worth. Device 102, 2026-09-08: a re-run of the SAME model over the stored
|
|
49608
51973
|
* recording scored the subject `vehicle 0.5669` — above the 0.50 floor —
|
|
49609
51974
|
* 1.68 s BEFORE the live track was born, on a frame that was in the pre-roll,
|
|
49610
51975
|
* was decoded, and was freed.
|
|
@@ -49957,6 +52322,12 @@ var AgentPipelineSettingsSchema = object({
|
|
|
49957
52322
|
/** Hub-persisted UI colour (`--color-node-*` theme tokens). */
|
|
49958
52323
|
color: NodeColorIdSchema.optional(),
|
|
49959
52324
|
/**
|
|
52325
|
+
* NODE-wide step settings (D927): `stepId → { key → value }`, applied on
|
|
52326
|
+
* every accelerator of the node under the device's own settings. Never a
|
|
52327
|
+
* model or a model-bound threshold. Written by `setNodeStepSettings`.
|
|
52328
|
+
*/
|
|
52329
|
+
stepSettings: record(string(), record(string(), unknown()).readonly()).optional(),
|
|
52330
|
+
/**
|
|
49960
52331
|
* Multi-device inference opt-in (Phase 4). Per-node map deviceKey → {enabled,
|
|
49961
52332
|
* weight, steps}. Absent / all-disabled ⇒ the node's single default
|
|
49962
52333
|
* accelerator (safe default); two+ enabled ⇒ the dispatcher balances
|
|
@@ -49972,17 +52343,6 @@ var AgentPipelineSettingsSchema = object({
|
|
|
49972
52343
|
steps: record(string(), DeviceStepConfigSchema).optional()
|
|
49973
52344
|
})).optional()
|
|
49974
52345
|
});
|
|
49975
|
-
var CameraPipelineForAgentSchema = object({
|
|
49976
|
-
steps: array(PipelineStepInputSchema).readonly(),
|
|
49977
|
-
audio: object({
|
|
49978
|
-
modelId: string(),
|
|
49979
|
-
enabled: boolean()
|
|
49980
|
-
}).nullable()
|
|
49981
|
-
});
|
|
49982
|
-
var CameraStepOverridePatchSchema = object({
|
|
49983
|
-
modelId: string().optional(),
|
|
49984
|
-
settings: record(string(), unknown()).readonly().optional()
|
|
49985
|
-
});
|
|
49986
52346
|
var CameraStepSettingsSchema = record(string(), record(string(), unknown()).readonly());
|
|
49987
52347
|
/** The three root-detector choices a camera has (D507: at most one root). */
|
|
49988
52348
|
var CameraDetectionSourceSchema = _enum([
|
|
@@ -49992,9 +52352,7 @@ var CameraDetectionSourceSchema = _enum([
|
|
|
49992
52352
|
]);
|
|
49993
52353
|
var CameraPipelineSettingsSchema = object({
|
|
49994
52354
|
stepToggles: record(string(), boolean()).optional(),
|
|
49995
|
-
stepSettings: CameraStepSettingsSchema.optional()
|
|
49996
|
-
stepOverridesByDevice: record(string(), record(string(), record(string(), CameraStepOverridePatchSchema))).optional(),
|
|
49997
|
-
pipelineByAgent: record(string(), CameraPipelineForAgentSchema).optional()
|
|
52355
|
+
stepSettings: CameraStepSettingsSchema.optional()
|
|
49998
52356
|
});
|
|
49999
52357
|
/**
|
|
50000
52358
|
* Pipeline placement record persisted by `addon-pipeline-orchestrator` via
|
|
@@ -50540,6 +52898,13 @@ method(object({
|
|
|
50540
52898
|
}), object({ success: literal(true) }), {
|
|
50541
52899
|
kind: "mutation",
|
|
50542
52900
|
auth: "admin"
|
|
52901
|
+
}), method(object({
|
|
52902
|
+
agentNodeId: string(),
|
|
52903
|
+
addonId: string(),
|
|
52904
|
+
settings: record(string(), unknown()).nullable()
|
|
52905
|
+
}), object({ success: literal(true) }), {
|
|
52906
|
+
kind: "mutation",
|
|
52907
|
+
auth: "admin"
|
|
50543
52908
|
}), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
|
|
50544
52909
|
agentNodeId: string(),
|
|
50545
52910
|
deviceKey: string()
|
|
@@ -50549,9 +52914,7 @@ method(object({
|
|
|
50549
52914
|
}), method(object({ agentNodeId: string() }), object({
|
|
50550
52915
|
success: literal(true),
|
|
50551
52916
|
/** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
|
|
50552
|
-
effectiveModelId: string().nullable()
|
|
50553
|
-
/** Number of cameras whose node-scoped overrides were cleared. */
|
|
50554
|
-
clearedCameraOverrides: number()
|
|
52917
|
+
effectiveModelId: string().nullable()
|
|
50555
52918
|
}), {
|
|
50556
52919
|
kind: "mutation",
|
|
50557
52920
|
auth: "admin"
|
|
@@ -50606,15 +52969,6 @@ method(object({
|
|
|
50606
52969
|
}), object({ success: literal(true) }), {
|
|
50607
52970
|
kind: "mutation",
|
|
50608
52971
|
auth: "admin"
|
|
50609
|
-
}), method(object({ deviceId: number() }), record(string(), record(string(), record(string(), CameraStepOverridePatchSchema))).nullable()), method(object({
|
|
50610
|
-
deviceId: number(),
|
|
50611
|
-
agentNodeId: string(),
|
|
50612
|
-
deviceKey: string(),
|
|
50613
|
-
addonId: string(),
|
|
50614
|
-
patch: CameraStepOverridePatchSchema.nullable()
|
|
50615
|
-
}), object({ success: literal(true) }), {
|
|
50616
|
-
kind: "mutation",
|
|
50617
|
-
auth: "admin"
|
|
50618
52972
|
}), method(object({
|
|
50619
52973
|
deviceId: number(),
|
|
50620
52974
|
addonId: string(),
|
|
@@ -50622,13 +52976,6 @@ method(object({
|
|
|
50622
52976
|
}), object({ success: literal(true) }), {
|
|
50623
52977
|
kind: "mutation",
|
|
50624
52978
|
auth: "admin"
|
|
50625
|
-
}), method(object({
|
|
50626
|
-
deviceId: number(),
|
|
50627
|
-
agentNodeId: string(),
|
|
50628
|
-
pipeline: CameraPipelineForAgentSchema.nullable()
|
|
50629
|
-
}), object({ success: literal(true) }), {
|
|
50630
|
-
kind: "mutation",
|
|
50631
|
-
auth: "admin"
|
|
50632
52979
|
}), method(object({
|
|
50633
52980
|
deviceId: number(),
|
|
50634
52981
|
agentNodeId: string().optional()
|
|
@@ -51652,7 +53999,7 @@ method(_void(), ProviderInfoSchema, { auth: "admin" }), method(object({ config:
|
|
|
51652
53999
|
* The signals a device can emit to WAKE its own stream.
|
|
51653
54000
|
*
|
|
51654
54001
|
* A camera whose stream is built on demand sleeps until something asks for it,
|
|
51655
|
-
* and "something" cannot be a consumer that is merely attached — a
|
|
54002
|
+
* and "something" cannot be a consumer that is merely attached — a external-catalog
|
|
51656
54003
|
* puller holds a session open for ever, and treating that as demand would keep
|
|
51657
54004
|
* a battery camera awake for ever, which is the whole thing the battery is for
|
|
51658
54005
|
* (D173). So the wake has to come from the CAMERA: an event it noticed by
|
|
@@ -52339,7 +54686,7 @@ var ClipSchema = object({
|
|
|
52339
54686
|
* {@link MAX_CLIP_EVENT_IDS}. Empty on footage-only clips.
|
|
52340
54687
|
*
|
|
52341
54688
|
* Bounded because it is not a payload the surface pages through: one visit on
|
|
52342
|
-
* device
|
|
54689
|
+
* device 101 carried 2 345 ids, and `eventIds` was 99% of a 153 KB
|
|
52343
54690
|
* camera-day. Read {@link eventCount} for the true total.
|
|
52344
54691
|
*/
|
|
52345
54692
|
eventIds: array(string()).optional(),
|
|
@@ -52484,7 +54831,7 @@ var ClipPlaybackSchema = object({
|
|
|
52484
54831
|
* camera has no recordings", which is the defect this whole line of work is
|
|
52485
54832
|
* about: a battery camera nobody woke (`sleeping`), a camera that could not be
|
|
52486
54833
|
* reached at all (`unreachable`, also what a provider that THREW reports), a
|
|
52487
|
-
* camera whose SD card is not mounted (`no-storage`, measured on
|
|
54834
|
+
* camera whose SD card is not mounted (`no-storage`, measured on 106 —
|
|
52488
54835
|
* `HddInfo mount 0`, honestly nothing to list rather than "no clips"), and a
|
|
52489
54836
|
* camera whose OWN index disagrees with its OWN calendar (`index-empty`,
|
|
52490
54837
|
* measured on 618: the calendar marks 3–20 September, days 6–20 list zero
|
|
@@ -52749,7 +55096,7 @@ DeviceType.Camera, method(object({
|
|
|
52749
55096
|
*
|
|
52750
55097
|
* It was optional, documented as "absent means the device's BOUND
|
|
52751
55098
|
* provider, which is CamStack on every camera". No code implemented
|
|
52752
|
-
* that. Measured on the live hub 2026-09-20 — device
|
|
55099
|
+
* that. Measured on the live hub 2026-09-20 — device 107, bound to
|
|
52753
55100
|
* `recorder` AND `provider-reolink` — a bare call with `limit: 3`
|
|
52754
55101
|
* answered SIX rows, three from each source, merged newest-first:
|
|
52755
55102
|
* `device-collection-dispatch.ts` simply left the fan-out un-narrowed,
|
|
@@ -53827,7 +56174,10 @@ object({
|
|
|
53827
56174
|
DeviceType.Sensor;
|
|
53828
56175
|
object({
|
|
53829
56176
|
/** Current illuminance in lux (lx). */
|
|
53830
|
-
lux: number().min(0)
|
|
56177
|
+
lux: number().min(0).meta({
|
|
56178
|
+
unit: "lx",
|
|
56179
|
+
label: "Illuminance"
|
|
56180
|
+
}),
|
|
53831
56181
|
/** Ms epoch when the slice was last updated. */
|
|
53832
56182
|
lastFetchedAt: number(),
|
|
53833
56183
|
/** Live display unit from the upstream source (e.g. HA
|
|
@@ -53983,7 +56333,10 @@ var BatteryStatusSchema = object({
|
|
|
53983
56333
|
* Consumers must SKIP a null rather than coerce it — `battery-band` already
|
|
53984
56334
|
* declines to band a non-finite reading, which is the correct shape.
|
|
53985
56335
|
*/
|
|
53986
|
-
percentage: number().min(0).max(100).nullable()
|
|
56336
|
+
percentage: number().min(0).max(100).nullable().meta({
|
|
56337
|
+
unit: "%",
|
|
56338
|
+
label: "Charge"
|
|
56339
|
+
}),
|
|
53987
56340
|
/**
|
|
53988
56341
|
* Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
|
|
53989
56342
|
* Reolink-specific for the Solar Panel 2 accessory (will become
|
|
@@ -54002,13 +56355,13 @@ var BatteryStatusSchema = object({
|
|
|
54002
56355
|
"solar",
|
|
54003
56356
|
"none",
|
|
54004
56357
|
"unknown"
|
|
54005
|
-
]),
|
|
56358
|
+
]).meta({ label: "Charging source" }),
|
|
54006
56359
|
/**
|
|
54007
56360
|
* True when the camera firmware has gone into low-power mode. Battery
|
|
54008
56361
|
* providers MUST avoid polling during sleep — reading the battery
|
|
54009
56362
|
* wakes the camera up and drains charge.
|
|
54010
56363
|
*/
|
|
54011
|
-
sleeping: boolean(),
|
|
56364
|
+
sleeping: boolean().meta({ label: "Sleeping" }),
|
|
54012
56365
|
/** Ms epoch of the last observation. Lets consumers reason about freshness. */
|
|
54013
56366
|
lastUpdated: number(),
|
|
54014
56367
|
/**
|
|
@@ -54048,9 +56401,10 @@ var BatteryStatusSchema = object({
|
|
|
54048
56401
|
* sub-threshold = low). UI MUST render "Normal"/"Low" instead of a
|
|
54049
56402
|
* misleading exact percentage. Absent/false → genuine 0–100 % reading.
|
|
54050
56403
|
*/
|
|
54051
|
-
binary: boolean().optional()
|
|
56404
|
+
binary: boolean().optional().meta({ label: "Binary indicator" })
|
|
54052
56405
|
});
|
|
54053
|
-
DeviceType.Camera, DeviceType.Sensor, DeviceType.Button, DeviceType.Switch, DeviceType.PetFeeder, DeviceType.Container, DeviceType.Thermostat
|
|
56406
|
+
DeviceType.Camera, DeviceType.Sensor, DeviceType.Button, DeviceType.Switch, DeviceType.PetFeeder, DeviceType.Container, DeviceType.Thermostat;
|
|
56407
|
+
method(object({
|
|
54054
56408
|
deviceId: number(),
|
|
54055
56409
|
/** Bound on the wait. Sensible range 3000–10000ms. */
|
|
54056
56410
|
timeoutMs: number().int().min(500).max(3e4).default(8e3)
|
|
@@ -54062,7 +56416,7 @@ DeviceType.Camera, DeviceType.Sensor, DeviceType.Button, DeviceType.Switch, Devi
|
|
|
54062
56416
|
status: BatteryStatusSchema
|
|
54063
56417
|
});
|
|
54064
56418
|
object({
|
|
54065
|
-
on: boolean(),
|
|
56419
|
+
on: boolean().meta({ label: "On" }),
|
|
54066
56420
|
/** Ms epoch of the last transition. 0 if never observed. */
|
|
54067
56421
|
lastChangedAt: number()
|
|
54068
56422
|
});
|
|
@@ -54332,7 +56686,7 @@ var GridLayoutCellSchema = object({
|
|
|
54332
56686
|
*
|
|
54333
56687
|
* A grid's `high` composes its sources' `high` and its `low` their `low`, so a
|
|
54334
56688
|
* profile is on offer only when EVERY source can serve it. The refusal NAMES
|
|
54335
|
-
* the sources, because "this grid has no low" is not a finding — "
|
|
56689
|
+
* the sources, because "this grid has no low" is not a finding — "101 has no
|
|
54336
56690
|
* low" is, and it is the one an operator can act on.
|
|
54337
56691
|
*/
|
|
54338
56692
|
var GridProfileOfferSchema = object({
|
|
@@ -54771,6 +57125,7 @@ var ConsumablesStatusSchema = object({
|
|
|
54771
57125
|
})),
|
|
54772
57126
|
lastChangedAt: number()
|
|
54773
57127
|
});
|
|
57128
|
+
Object.values(DeviceType), [...ConsumableRemainingUnitSchema.options], [...ConsumableStatusSchema.options], [...ConsumableKindSchema.options], [...ConsumableFormSchema.options];
|
|
54774
57129
|
Object.values(DeviceType), method(object({
|
|
54775
57130
|
deviceId: number().int().nonnegative(),
|
|
54776
57131
|
key: string().min(1)
|
|
@@ -54975,6 +57330,30 @@ DeviceType.Camera, method(object({ deviceId: number() }), DayNightOptionsSchema)
|
|
|
54975
57330
|
auth: "admin"
|
|
54976
57331
|
});
|
|
54977
57332
|
/**
|
|
57333
|
+
* display-palette — the cluster's one colour table (D939).
|
|
57334
|
+
*
|
|
57335
|
+
* Hub singleton. `getPalette` reports `unknown` when the settings store
|
|
57336
|
+
* cannot be read; it does not pretend the bundled preset was stored.
|
|
57337
|
+
* `setPalette` refuses a palette that fails the ΔE / contrast rule and names
|
|
57338
|
+
* the pairs.
|
|
57339
|
+
*/
|
|
57340
|
+
var presetSummarySchema = object({
|
|
57341
|
+
id: string(),
|
|
57342
|
+
name: string(),
|
|
57343
|
+
swatches: record(string(), paletteSwatchSchema),
|
|
57344
|
+
fallbacks: array(string())
|
|
57345
|
+
});
|
|
57346
|
+
method(_void(), paletteResultSchema, {
|
|
57347
|
+
auth: "protected",
|
|
57348
|
+
role: "viewer"
|
|
57349
|
+
}), method(_void(), array(presetSummarySchema).readonly(), {
|
|
57350
|
+
auth: "protected",
|
|
57351
|
+
role: "viewer"
|
|
57352
|
+
}), method(setPaletteInputSchema, paletteReadySchema, {
|
|
57353
|
+
kind: "mutation",
|
|
57354
|
+
auth: "admin"
|
|
57355
|
+
});
|
|
57356
|
+
/**
|
|
54978
57357
|
* Generic device-level status snapshot. Auto-registered by `BaseDevice`
|
|
54979
57358
|
* for every device, regardless of provider — the kernel needs a uniform
|
|
54980
57359
|
* cap-keyed slice for the basic device flags every consumer expects to
|
|
@@ -55254,6 +57633,7 @@ DeviceType.Dishwasher, method(object({
|
|
|
55254
57633
|
kind: "mutation",
|
|
55255
57634
|
auth: "protected"
|
|
55256
57635
|
}), method(object({ deviceId: DeviceIdSchema }), DishwasherOptionsSchema, { auth: "protected" });
|
|
57636
|
+
DeviceType.Camera;
|
|
55257
57637
|
object({
|
|
55258
57638
|
/** Ms epoch of the last press. null = never observed since this provider started. */
|
|
55259
57639
|
lastPressedAt: number().nullable(),
|
|
@@ -55877,7 +58257,10 @@ DeviceType.Humidifier, method(object({
|
|
|
55877
58257
|
*/
|
|
55878
58258
|
var HumiditySensorStatusSchema = object({
|
|
55879
58259
|
/** Current relative humidity, 0..100. */
|
|
55880
|
-
percent: number().min(0).max(100)
|
|
58260
|
+
percent: number().min(0).max(100).meta({
|
|
58261
|
+
unit: "%",
|
|
58262
|
+
label: "Humidity"
|
|
58263
|
+
}),
|
|
55881
58264
|
/** Ms epoch when the slice was last updated. */
|
|
55882
58265
|
lastFetchedAt: number(),
|
|
55883
58266
|
/** Live display unit from the upstream source (e.g. HA
|
|
@@ -57054,6 +59437,7 @@ authKey: string().optional() }), object({
|
|
|
57054
59437
|
/** Human-readable error when `ok: false`. */
|
|
57055
59438
|
error: string().optional()
|
|
57056
59439
|
}), { kind: "mutation" });
|
|
59440
|
+
DeviceType.Camera;
|
|
57057
59441
|
var MotionStatusSchema = object({
|
|
57058
59442
|
detected: boolean(),
|
|
57059
59443
|
/** Ms epoch of the last detected-true observation. Null if never detected. */
|
|
@@ -58442,6 +60826,30 @@ includeCrops: boolean().optional() }).optional(), array(VehicleSchema).readonly(
|
|
|
58442
60826
|
kind: "mutation",
|
|
58443
60827
|
auth: "admin"
|
|
58444
60828
|
});
|
|
60829
|
+
var CORE_ULTRA_265K_IGPU_CLOCK_MHZ = 2e3;
|
|
60830
|
+
var positiveOrNull = number().nullable().transform((value) => value !== null && Number.isFinite(value) && value > 0 ? value : null);
|
|
60831
|
+
var textOrNull = string().nullable().transform((value) => value !== null && value.trim() !== "" ? value : null);
|
|
60832
|
+
var PrecisionGopsSchema = object({
|
|
60833
|
+
int8: positiveOrNull,
|
|
60834
|
+
fp16: positiveOrNull
|
|
60835
|
+
});
|
|
60836
|
+
/** What one accelerator device reported. Every failed query is null. */
|
|
60837
|
+
var AcceleratorComputeSchema = object({
|
|
60838
|
+
deviceKey: string(),
|
|
60839
|
+
fullDeviceName: textOrNull,
|
|
60840
|
+
executionUnits: positiveOrNull,
|
|
60841
|
+
clockMHz: positiveOrNull,
|
|
60842
|
+
gops: PrecisionGopsSchema.nullable(),
|
|
60843
|
+
architecture: textOrNull,
|
|
60844
|
+
npuName: textOrNull,
|
|
60845
|
+
tops: positiveOrNull,
|
|
60846
|
+
vendor: textOrNull,
|
|
60847
|
+
webgpuArchitecture: textOrNull,
|
|
60848
|
+
webgpuDevice: textOrNull,
|
|
60849
|
+
computeUnits: positiveOrNull
|
|
60850
|
+
});
|
|
60851
|
+
object({ accelerators: array(AcceleratorComputeSchema).nullable() });
|
|
60852
|
+
64 * CORE_ULTRA_265K_IGPU_CLOCK_MHZ;
|
|
58445
60853
|
var ModelFormatSchema = _enum(MODEL_FORMATS);
|
|
58446
60854
|
var HwAccelBackendInputSchema = _enum([
|
|
58447
60855
|
"videotoolbox",
|
|
@@ -58555,7 +60963,12 @@ var HardwareInfoSchema = object({
|
|
|
58555
60963
|
availableRAM_MB: number(),
|
|
58556
60964
|
gpu: GpuInfoSchema.nullable(),
|
|
58557
60965
|
npu: NpuInfoSchema.nullable(),
|
|
58558
|
-
coral: CoralInfoSchema.nullable().optional()
|
|
60966
|
+
coral: CoralInfoSchema.nullable().optional(),
|
|
60967
|
+
/**
|
|
60968
|
+
* Per-accelerator compute (D930). Omitted by a node that has not probed it.
|
|
60969
|
+
* `null` fields inside an entry are a failed query, never a zero.
|
|
60970
|
+
*/
|
|
60971
|
+
accelerators: array(AcceleratorComputeSchema).readonly().optional()
|
|
58559
60972
|
});
|
|
58560
60973
|
var PlatformScoreSchema = object({
|
|
58561
60974
|
runtime: literal("python"),
|
|
@@ -58624,9 +61037,15 @@ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema)
|
|
|
58624
61037
|
});
|
|
58625
61038
|
object({
|
|
58626
61039
|
/** Instantaneous power draw in watts. */
|
|
58627
|
-
watts: number().optional()
|
|
61040
|
+
watts: number().optional().meta({
|
|
61041
|
+
unit: "W",
|
|
61042
|
+
label: "Power"
|
|
61043
|
+
}),
|
|
58628
61044
|
/** Cumulative energy in kilowatt-hours since the meter was reset. */
|
|
58629
|
-
kwhTotal: number().optional()
|
|
61045
|
+
kwhTotal: number().optional().meta({
|
|
61046
|
+
unit: "kWh",
|
|
61047
|
+
label: "Energy"
|
|
61048
|
+
}),
|
|
58630
61049
|
/** Voltage in volts. */
|
|
58631
61050
|
volts: number().optional(),
|
|
58632
61051
|
/** Current in amperes. */
|
|
@@ -58945,9 +61364,9 @@ var PtzOptionsSchema = object({
|
|
|
58945
61364
|
* Reolink preset 0, Hikvision preset '1', Dahua preset 1 -- and on this fleet
|
|
58946
61365
|
* not one of the three cameras honours its own:
|
|
58947
61366
|
*
|
|
58948
|
-
*
|
|
58949
|
-
* 1438
|
|
58950
|
-
* 3836
|
|
61367
|
+
* 107 Camera camera Carol (reolink) preset 0 holds "stanza"
|
|
61368
|
+
* 1438 Camera dispensa (hikvision) preset 1 holds "Credenza"
|
|
61369
|
+
* 3836 Camera studio (amcrest) preset 1 holds "Preset1"
|
|
58951
61370
|
*
|
|
58952
61371
|
* So `goHome` meant "go wherever the operator happened to save in slot 0 or 1",
|
|
58953
61372
|
* and two of the three swallowed the failure in a bare `catch`. For autotrack
|
|
@@ -59088,6 +61507,24 @@ DeviceType.Camera, method(object({ deviceId: number() }), PtzAutotrackStatusSche
|
|
|
59088
61507
|
deviceId: number(),
|
|
59089
61508
|
status: PtzAutotrackStatusSchema
|
|
59090
61509
|
});
|
|
61510
|
+
var RunningStateSourceSchema = _enum(["native", "assigned"]);
|
|
61511
|
+
object({
|
|
61512
|
+
/** null = unknown — never coerced to false (D393). */
|
|
61513
|
+
running: boolean().nullable(),
|
|
61514
|
+
/** Epoch ms the current boolean began; null while `running` is null. */
|
|
61515
|
+
since: number().nullable(),
|
|
61516
|
+
source: RunningStateSourceSchema.meta({ label: "Source" }),
|
|
61517
|
+
phase: string().nullable(),
|
|
61518
|
+
/** null until a reading has been published (D393). */
|
|
61519
|
+
lastFetchedAt: number().nullable()
|
|
61520
|
+
});
|
|
61521
|
+
object({
|
|
61522
|
+
deviceId: number(),
|
|
61523
|
+
since: number().nullable(),
|
|
61524
|
+
phase: string().nullable()
|
|
61525
|
+
});
|
|
61526
|
+
Object.values(DeviceType);
|
|
61527
|
+
DeviceType.Dishwasher, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.MediaPlayer, DeviceType.WaterHeater, DeviceType.Humidifier, DeviceType.Fan, DeviceType.Climate, DeviceType.Thermostat, DeviceType.PetFeeder;
|
|
59091
61528
|
DeviceType.Camera, DeviceType.Sensor, DeviceType.Switch, method(object({ deviceId: number().int().nonnegative() }), object({ success: literal(true) }), {
|
|
59092
61529
|
kind: "mutation",
|
|
59093
61530
|
auth: "admin"
|
|
@@ -59129,7 +61566,7 @@ var RecordingAvailabilitySchema = object({
|
|
|
59129
61566
|
* would look identical. But the answer used to say nothing about that, so a
|
|
59130
61567
|
* caller asking "what can I export?" read the single preferred profile as
|
|
59131
61568
|
* the only one that exists — on this deployment every camera records `high`
|
|
59132
|
-
* AND `low`, the low tree holding 14 GB for camera
|
|
61569
|
+
* AND `low`, the low tree holding 14 GB for camera 101 alone, and the export
|
|
59133
61570
|
* UI could not see it.
|
|
59134
61571
|
*
|
|
59135
61572
|
* Cheap: it is the same shallow directory read the profile CHOICE already
|
|
@@ -59228,7 +61665,7 @@ var RecordingSourceOptionsSchema = object({
|
|
|
59228
61665
|
* `sparse` = gaps are the absence of one, and must be drawn as such.
|
|
59229
61666
|
*
|
|
59230
61667
|
* Not an onboard-only concession: measured 2026-09-24, OUR bar covers 98.8 %
|
|
59231
|
-
* of
|
|
61668
|
+
* of 107's day and 1.2 % of 1436's. It is a fact about a (source, camera)
|
|
59232
61669
|
* pair, and ours answers it per camera from `deriveRecordingMode`. */
|
|
59233
61670
|
coverage: _enum(["continuous", "sparse"]),
|
|
59234
61671
|
/** Where the playhead may be put.
|
|
@@ -59304,7 +61741,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(RecordingSourceS
|
|
|
59304
61741
|
* merely discouraged (D554 amended).
|
|
59305
61742
|
*
|
|
59306
61743
|
* It was learned the expensive way on `videoclips.listClips`: measured
|
|
59307
|
-
* on the live hub 2026-09-20, device
|
|
61744
|
+
* on the live hub 2026-09-20, device 107 bound to `recorder` AND
|
|
59308
61745
|
* `provider-reolink`, a bare call with `limit: 3` answered SIX rows,
|
|
59309
61746
|
* three from each source, merged — `device-collection-dispatch.ts`
|
|
59310
61747
|
* leaves an unpinned fan-out un-narrowed, so absence buys the union the
|
|
@@ -59905,7 +62342,7 @@ var ExportSpeedSchema = number().min(.25).max(32);
|
|
|
59905
62342
|
* on a 10 h window holding 29,393 s of footage every range landed late by the
|
|
59906
62343
|
* gap accumulated before it — up to 6,607 s, well past EOF. Nothing matched,
|
|
59907
62344
|
* the video was a uniform timelapse, and the log line reported the five ranges
|
|
59908
|
-
* that had been ASKED for (2026-08-13, export `57d14363`, camera
|
|
62345
|
+
* that had been ASKED for (2026-08-13, export `57d14363`, camera 101).
|
|
59909
62346
|
*
|
|
59910
62347
|
* Relative and not absolute epoch, because an absolute epoch would make every
|
|
59911
62348
|
* call site responsible for the same subtraction.
|
|
@@ -60539,7 +62976,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), RecordingSignalStatusS
|
|
|
60539
62976
|
* which put a "Scenes" tab on one camera's detail page. That is the wrong shape
|
|
60540
62977
|
* for the thing: a scene is a standing question about the property ("is the bin
|
|
60541
62978
|
* still out"), and the operator's question is "which of my scenes have tripped",
|
|
60542
|
-
* across every camera at once — not "what does camera
|
|
62979
|
+
* across every camera at once — not "what does camera 102 think". Buried one
|
|
60543
62980
|
* camera deep it also could not be found. The surface is now a top-level admin
|
|
60544
62981
|
* page (`/scenes`, `pages/Scenes.tsx`) that lists every scene on every camera and
|
|
60545
62982
|
* picks the camera inside the create flow, the same shape Events and Faces have.
|
|
@@ -60927,7 +63364,20 @@ var ZoneRuleSchema = object({
|
|
|
60927
63364
|
* Defaults to `true` so operators creating a rule via the UI
|
|
60928
63365
|
* see it active immediately.
|
|
60929
63366
|
*/
|
|
60930
|
-
enabled: boolean().default(true)
|
|
63367
|
+
enabled: boolean().default(true),
|
|
63368
|
+
/**
|
|
63369
|
+
* Package stage only. When true, a package candidate may open from a
|
|
63370
|
+
* scene difference in this rule's zone after a person leaves. The
|
|
63371
|
+
* package model, when it boxes something overlapping, is extra evidence
|
|
63372
|
+
* and is not the gate. Absent or false keeps today's model path.
|
|
63373
|
+
*/
|
|
63374
|
+
detectBySceneDifference: boolean().optional(),
|
|
63375
|
+
/**
|
|
63376
|
+
* Package stage only. When true, a promoted package is shown to the
|
|
63377
|
+
* `llm` cap before the delivery event is emitted. Absent or false emits
|
|
63378
|
+
* as today. Usable with or without `detectBySceneDifference`.
|
|
63379
|
+
*/
|
|
63380
|
+
confirmWithLlm: boolean().optional()
|
|
60931
63381
|
});
|
|
60932
63382
|
array(ZoneRuleSchema).readonly();
|
|
60933
63383
|
object({
|
|
@@ -61116,7 +63566,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), StreamParamsOptionsSch
|
|
|
61116
63566
|
* `getSettingsUISchema()` surface.
|
|
61117
63567
|
*/
|
|
61118
63568
|
var SwitchStatusSchema = object({
|
|
61119
|
-
on: boolean(),
|
|
63569
|
+
on: boolean().meta({ label: "On" }),
|
|
61120
63570
|
/** Ms epoch of the last state change. Useful for UI "X minutes ago". */
|
|
61121
63571
|
lastChangedAt: number()
|
|
61122
63572
|
});
|
|
@@ -61695,7 +64145,10 @@ DeviceType.Sensor;
|
|
|
61695
64145
|
*/
|
|
61696
64146
|
var TemperatureSensorStatusSchema = object({
|
|
61697
64147
|
/** Current temperature in Celsius. */
|
|
61698
|
-
celsius: number()
|
|
64148
|
+
celsius: number().meta({
|
|
64149
|
+
unit: "°C",
|
|
64150
|
+
label: "Temperature"
|
|
64151
|
+
}),
|
|
61699
64152
|
/** Ms epoch when the slice was last updated (push or poll). */
|
|
61700
64153
|
lastFetchedAt: number(),
|
|
61701
64154
|
/** Live display unit from the upstream source (e.g. HA
|
|
@@ -62560,7 +65013,7 @@ method(object({}), array(TrainingProviderDescriptorSchema).readonly(), { auth: "
|
|
|
62560
65013
|
* - **Jobs.** A persisted state machine, a reconcile loop against the
|
|
62561
65014
|
* provider, a cost guard, a daily orphan sweep and the retention rules.
|
|
62562
65015
|
* - **The return flow.** Verified artefacts → Model Studio
|
|
62563
|
-
* (`custom-model-registry.importModelBundle`) → canary on
|
|
65016
|
+
* (`custom-model-registry.importModelBundle`) → canary on accelerators →
|
|
62564
65017
|
* rollback. Nothing is ever registered automatically.
|
|
62565
65018
|
*
|
|
62566
65019
|
* Plan/start takes a live {@link TrainingCorpusSelection} (collections +
|
|
@@ -62697,20 +65150,24 @@ var TrainingProgressPointSchema = object({
|
|
|
62697
65150
|
map50: number().nullable(),
|
|
62698
65151
|
map50_95: number().nullable()
|
|
62699
65152
|
});
|
|
65153
|
+
/** One accelerator: a `(node, inference device)` that runs the root detector. */
|
|
65154
|
+
var TrainingAcceleratorRefSchema = object({
|
|
65155
|
+
nodeId: string(),
|
|
65156
|
+
deviceKey: string()
|
|
65157
|
+
});
|
|
65158
|
+
/**
|
|
65159
|
+
* A canary pins the registered model on chosen ACCELERATORS — a model is
|
|
65160
|
+
* chosen by the accelerator that runs it (D927); every camera balanced onto
|
|
65161
|
+
* one runs it. `previous` is the root-detector pin each one had (`null` = it
|
|
65162
|
+
* ran its default), exactly, so rollback restores it.
|
|
65163
|
+
*/
|
|
62700
65164
|
var TrainingCanarySchema = object({
|
|
62701
|
-
|
|
65165
|
+
accelerators: array(TrainingAcceleratorRefSchema).readonly(),
|
|
62702
65166
|
since: number(),
|
|
62703
|
-
|
|
62704
|
-
previous: array(object({
|
|
62705
|
-
deviceId: number().int(),
|
|
62706
|
-
nodeId: string(),
|
|
62707
|
-
deviceKey: string(),
|
|
62708
|
-
patch: object({
|
|
62709
|
-
modelId: string().optional(),
|
|
62710
|
-
settings: record(string(), unknown()).readonly().optional()
|
|
62711
|
-
}).nullable()
|
|
62712
|
-
})).readonly()
|
|
65167
|
+
previous: array(TrainingAcceleratorRefSchema.extend({ modelId: string().nullable() })).readonly()
|
|
62713
65168
|
});
|
|
65169
|
+
/** An accelerator a canary may pin: it runs the root detector, on this model now. */
|
|
65170
|
+
var TrainingCanaryTargetSchema = TrainingAcceleratorRefSchema.extend({ pinnedModelId: string().nullable() });
|
|
62714
65171
|
var TrainingJobSchema = object({
|
|
62715
65172
|
id: string(),
|
|
62716
65173
|
idempotencyKey: string(),
|
|
@@ -62822,11 +65279,11 @@ method(object({}), array(TrainingBaseModelSchema).readonly(), { auth: "admin" })
|
|
|
62822
65279
|
kind: "mutation",
|
|
62823
65280
|
auth: "admin",
|
|
62824
65281
|
timeoutMs: 12e4
|
|
62825
|
-
}), method(IdInput, TrainingResultSchema.nullable(), { auth: "admin" }), method(IdInput.extend({
|
|
65282
|
+
}), method(IdInput, TrainingResultSchema.nullable(), { auth: "admin" }), method(_void(), array(TrainingCanaryTargetSchema).readonly(), { auth: "admin" }), method(IdInput.extend({ canaryAccelerators: array(TrainingAcceleratorRefSchema).readonly() }), TrainingJobSchema, {
|
|
62826
65283
|
kind: "mutation",
|
|
62827
65284
|
auth: "admin",
|
|
62828
65285
|
timeoutMs: 30 * 6e4
|
|
62829
|
-
}), method(IdInput.extend({
|
|
65286
|
+
}), method(IdInput.extend({ accelerators: array(TrainingAcceleratorRefSchema).min(1).readonly() }), TrainingJobSchema, {
|
|
62830
65287
|
kind: "mutation",
|
|
62831
65288
|
auth: "admin",
|
|
62832
65289
|
timeoutMs: 12e4
|
|
@@ -62839,6 +65296,10 @@ method(object({}), array(TrainingBaseModelSchema).readonly(), { auth: "admin" })
|
|
|
62839
65296
|
auth: "admin"
|
|
62840
65297
|
});
|
|
62841
65298
|
SOURCE_CAPS.filter((cap) => cap !== "switch" && cap !== "motion");
|
|
65299
|
+
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;
|
|
65300
|
+
String.raw`rose\(active(\d+), changed(\d+), (\d+(?:\.\d+)?)\)`;
|
|
65301
|
+
DeviceRole.BinarySensor, DeviceRole.MotionSensor;
|
|
65302
|
+
new Set(CAP_NAMES);
|
|
62842
65303
|
Object.freeze({
|
|
62843
65304
|
person: .5,
|
|
62844
65305
|
vehicle: .5,
|
|
@@ -65838,6 +68299,27 @@ Object.freeze({
|
|
|
65838
68299
|
access: "create",
|
|
65839
68300
|
role: "viewer"
|
|
65840
68301
|
},
|
|
68302
|
+
"displayPalette.getPalette": {
|
|
68303
|
+
capName: "display-palette",
|
|
68304
|
+
capScope: "system",
|
|
68305
|
+
addonId: null,
|
|
68306
|
+
access: "view",
|
|
68307
|
+
role: "viewer"
|
|
68308
|
+
},
|
|
68309
|
+
"displayPalette.listPresets": {
|
|
68310
|
+
capName: "display-palette",
|
|
68311
|
+
capScope: "system",
|
|
68312
|
+
addonId: null,
|
|
68313
|
+
access: "view",
|
|
68314
|
+
role: "viewer"
|
|
68315
|
+
},
|
|
68316
|
+
"displayPalette.setPalette": {
|
|
68317
|
+
capName: "display-palette",
|
|
68318
|
+
capScope: "system",
|
|
68319
|
+
addonId: null,
|
|
68320
|
+
access: "create",
|
|
68321
|
+
role: "admin"
|
|
68322
|
+
},
|
|
65841
68323
|
"doorbell.getStatus": {
|
|
65842
68324
|
capName: "doorbell",
|
|
65843
68325
|
capScope: "device",
|
|
@@ -68757,20 +71239,6 @@ Object.freeze({
|
|
|
68757
71239
|
access: "create",
|
|
68758
71240
|
role: "admin"
|
|
68759
71241
|
},
|
|
68760
|
-
"pipelineExecutor.clearDeviceOverrides": {
|
|
68761
|
-
capName: "pipeline-executor",
|
|
68762
|
-
capScope: "system",
|
|
68763
|
-
addonId: null,
|
|
68764
|
-
access: "delete",
|
|
68765
|
-
role: "admin"
|
|
68766
|
-
},
|
|
68767
|
-
"pipelineExecutor.clearModelBoundDeviceOverrides": {
|
|
68768
|
-
capName: "pipeline-executor",
|
|
68769
|
-
capScope: "system",
|
|
68770
|
-
addonId: null,
|
|
68771
|
-
access: "delete",
|
|
68772
|
-
role: "admin"
|
|
68773
|
-
},
|
|
68774
71242
|
"pipelineExecutor.deleteModel": {
|
|
68775
71243
|
capName: "pipeline-executor",
|
|
68776
71244
|
capScope: "system",
|
|
@@ -68813,13 +71281,6 @@ Object.freeze({
|
|
|
68813
71281
|
access: "view",
|
|
68814
71282
|
role: "admin"
|
|
68815
71283
|
},
|
|
68816
|
-
"pipelineExecutor.getDefaultSteps": {
|
|
68817
|
-
capName: "pipeline-executor",
|
|
68818
|
-
capScope: "system",
|
|
68819
|
-
addonId: null,
|
|
68820
|
-
access: "view",
|
|
68821
|
-
role: "admin"
|
|
68822
|
-
},
|
|
68823
71284
|
"pipelineExecutor.getDetectionConfigSchema": {
|
|
68824
71285
|
capName: "pipeline-executor",
|
|
68825
71286
|
capScope: "system",
|
|
@@ -68841,20 +71302,6 @@ Object.freeze({
|
|
|
68841
71302
|
access: "view",
|
|
68842
71303
|
role: "admin"
|
|
68843
71304
|
},
|
|
68844
|
-
"pipelineExecutor.getGlobalPipelineConfig": {
|
|
68845
|
-
capName: "pipeline-executor",
|
|
68846
|
-
capScope: "system",
|
|
68847
|
-
addonId: null,
|
|
68848
|
-
access: "view",
|
|
68849
|
-
role: "admin"
|
|
68850
|
-
},
|
|
68851
|
-
"pipelineExecutor.getGlobalSteps": {
|
|
68852
|
-
capName: "pipeline-executor",
|
|
68853
|
-
capScope: "system",
|
|
68854
|
-
addonId: null,
|
|
68855
|
-
access: "view",
|
|
68856
|
-
role: "admin"
|
|
68857
|
-
},
|
|
68858
71305
|
"pipelineExecutor.getInferenceDeviceHealth": {
|
|
68859
71306
|
capName: "pipeline-executor",
|
|
68860
71307
|
capScope: "system",
|
|
@@ -69114,13 +71561,6 @@ Object.freeze({
|
|
|
69114
71561
|
access: "view",
|
|
69115
71562
|
role: "admin"
|
|
69116
71563
|
},
|
|
69117
|
-
"pipelineOrchestrator.getCameraStepOverrides": {
|
|
69118
|
-
capName: "pipeline-orchestrator",
|
|
69119
|
-
capScope: "system",
|
|
69120
|
-
addonId: null,
|
|
69121
|
-
access: "view",
|
|
69122
|
-
role: "admin"
|
|
69123
|
-
},
|
|
69124
71564
|
"pipelineOrchestrator.getCameraSwitches": {
|
|
69125
71565
|
capName: "pipeline-orchestrator",
|
|
69126
71566
|
capScope: "system",
|
|
@@ -69359,13 +71799,6 @@ Object.freeze({
|
|
|
69359
71799
|
access: "create",
|
|
69360
71800
|
role: "admin"
|
|
69361
71801
|
},
|
|
69362
|
-
"pipelineOrchestrator.setCameraPipelineForAgent": {
|
|
69363
|
-
capName: "pipeline-orchestrator",
|
|
69364
|
-
capScope: "system",
|
|
69365
|
-
addonId: null,
|
|
69366
|
-
access: "create",
|
|
69367
|
-
role: "admin"
|
|
69368
|
-
},
|
|
69369
71802
|
"pipelineOrchestrator.setCameraSensors": {
|
|
69370
71803
|
capName: "pipeline-orchestrator",
|
|
69371
71804
|
capScope: "system",
|
|
@@ -69373,42 +71806,42 @@ Object.freeze({
|
|
|
69373
71806
|
access: "create",
|
|
69374
71807
|
role: "admin"
|
|
69375
71808
|
},
|
|
69376
|
-
"pipelineOrchestrator.
|
|
71809
|
+
"pipelineOrchestrator.setCameraStepSettings": {
|
|
69377
71810
|
capName: "pipeline-orchestrator",
|
|
69378
71811
|
capScope: "system",
|
|
69379
71812
|
addonId: null,
|
|
69380
71813
|
access: "create",
|
|
69381
71814
|
role: "admin"
|
|
69382
71815
|
},
|
|
69383
|
-
"pipelineOrchestrator.
|
|
71816
|
+
"pipelineOrchestrator.setCameraStepToggle": {
|
|
69384
71817
|
capName: "pipeline-orchestrator",
|
|
69385
71818
|
capScope: "system",
|
|
69386
71819
|
addonId: null,
|
|
69387
71820
|
access: "create",
|
|
69388
71821
|
role: "admin"
|
|
69389
71822
|
},
|
|
69390
|
-
"pipelineOrchestrator.
|
|
71823
|
+
"pipelineOrchestrator.setCameraSwitch": {
|
|
69391
71824
|
capName: "pipeline-orchestrator",
|
|
69392
71825
|
capScope: "system",
|
|
69393
71826
|
addonId: null,
|
|
69394
71827
|
access: "create",
|
|
69395
71828
|
role: "admin"
|
|
69396
71829
|
},
|
|
69397
|
-
"pipelineOrchestrator.
|
|
71830
|
+
"pipelineOrchestrator.setCapabilityBinding": {
|
|
69398
71831
|
capName: "pipeline-orchestrator",
|
|
69399
71832
|
capScope: "system",
|
|
69400
71833
|
addonId: null,
|
|
69401
71834
|
access: "create",
|
|
69402
71835
|
role: "admin"
|
|
69403
71836
|
},
|
|
69404
|
-
"pipelineOrchestrator.
|
|
71837
|
+
"pipelineOrchestrator.setLoadBalancingShares": {
|
|
69405
71838
|
capName: "pipeline-orchestrator",
|
|
69406
71839
|
capScope: "system",
|
|
69407
71840
|
addonId: null,
|
|
69408
71841
|
access: "create",
|
|
69409
71842
|
role: "admin"
|
|
69410
71843
|
},
|
|
69411
|
-
"pipelineOrchestrator.
|
|
71844
|
+
"pipelineOrchestrator.setNodeStepSettings": {
|
|
69412
71845
|
capName: "pipeline-orchestrator",
|
|
69413
71846
|
capScope: "system",
|
|
69414
71847
|
addonId: null,
|
|
@@ -70437,6 +72870,13 @@ Object.freeze({
|
|
|
70437
72870
|
access: "create",
|
|
70438
72871
|
role: "admin"
|
|
70439
72872
|
},
|
|
72873
|
+
"runningState.getStatus": {
|
|
72874
|
+
capName: "running-state",
|
|
72875
|
+
capScope: "device",
|
|
72876
|
+
addonId: null,
|
|
72877
|
+
access: "view",
|
|
72878
|
+
role: "viewer"
|
|
72879
|
+
},
|
|
70440
72880
|
"sceneMonitor.captureReference": {
|
|
70441
72881
|
capName: "scene-monitor",
|
|
70442
72882
|
capScope: "device",
|
|
@@ -71767,6 +74207,13 @@ Object.freeze({
|
|
|
71767
74207
|
access: "view",
|
|
71768
74208
|
role: "admin"
|
|
71769
74209
|
},
|
|
74210
|
+
"training.listCanaryTargets": {
|
|
74211
|
+
capName: "training",
|
|
74212
|
+
capScope: "system",
|
|
74213
|
+
addonId: null,
|
|
74214
|
+
access: "view",
|
|
74215
|
+
role: "admin"
|
|
74216
|
+
},
|
|
71770
74217
|
"training.listJobs": {
|
|
71771
74218
|
capName: "training",
|
|
71772
74219
|
capScope: "system",
|
|
@@ -75144,6 +77591,32 @@ var APPLIANCE_CAP_VOCABULARY = {
|
|
|
75144
77591
|
}],
|
|
75145
77592
|
events: { onSent: { notOperatorFacing: "a delivery receipt of a send this system made — not a fact about the world" } }
|
|
75146
77593
|
},
|
|
77594
|
+
"running-state": {
|
|
77595
|
+
scope: "device",
|
|
77596
|
+
noun: t("Running", "In funzione"),
|
|
77597
|
+
state: [{
|
|
77598
|
+
kind: "boolean",
|
|
77599
|
+
field: "running",
|
|
77600
|
+
label: t("Running", "In funzione"),
|
|
77601
|
+
whenTrue: t("When {device} starts", "Quando {device} inizia"),
|
|
77602
|
+
whenFalse: t("When {device} finishes", "Quando {device} finisce"),
|
|
77603
|
+
icon: "play"
|
|
77604
|
+
}],
|
|
77605
|
+
events: {
|
|
77606
|
+
onStarted: {
|
|
77607
|
+
category: EventCategory.RunningStarted,
|
|
77608
|
+
label: t("Started running", "Ha iniziato a funzionare"),
|
|
77609
|
+
phrase: t("When {device} starts running", "Quando {device} inizia a funzionare"),
|
|
77610
|
+
icon: "play"
|
|
77611
|
+
},
|
|
77612
|
+
onFinished: {
|
|
77613
|
+
category: EventCategory.RunningFinished,
|
|
77614
|
+
label: t("Finished", "Ha finito"),
|
|
77615
|
+
phrase: t("When {device} finishes", "Quando {device} finisce"),
|
|
77616
|
+
icon: "square"
|
|
77617
|
+
}
|
|
77618
|
+
}
|
|
77619
|
+
},
|
|
75147
77620
|
update: {
|
|
75148
77621
|
scope: "device",
|
|
75149
77622
|
noun: t("Firmware update", "Aggiornamento firmware"),
|
|
@@ -75764,7 +78237,7 @@ var SENSOR_CAP_VOCABULARY = {
|
|
|
75764
78237
|
state: [{
|
|
75765
78238
|
kind: "boolean",
|
|
75766
78239
|
field: "on",
|
|
75767
|
-
label: t("
|
|
78240
|
+
label: t("On", "Acceso"),
|
|
75768
78241
|
whenTrue: t("When {device} turns active", "Quando {device} si attiva"),
|
|
75769
78242
|
whenFalse: t("When {device} turns inactive", "Quando {device} si disattiva"),
|
|
75770
78243
|
icon: "toggle-right"
|
|
@@ -76303,6 +78776,7 @@ var SYSTEM_CAP_VOCABULARY = {
|
|
|
76303
78776
|
"device-provider": system(INTERNAL),
|
|
76304
78777
|
"device-removal-hook": system(INTERNAL),
|
|
76305
78778
|
"device-state": system("the runtime-state mirror every trigger already reads through"),
|
|
78779
|
+
"display-palette": system("the cluster display palette — one colour table for every client, not a device action"),
|
|
76306
78780
|
"embedding-encoder": system(ML),
|
|
76307
78781
|
"face-gallery": system("the face gallery — curated on its own page"),
|
|
76308
78782
|
"failure-contribution": system(INTERNAL),
|
|
@@ -78153,11 +80627,6 @@ Object.freeze({
|
|
|
78153
80627
|
form: "single",
|
|
78154
80628
|
optional: false
|
|
78155
80629
|
}],
|
|
78156
|
-
"pipelineExecutor.clearModelBoundDeviceOverrides": [{
|
|
78157
|
-
name: "deviceIds",
|
|
78158
|
-
form: "array",
|
|
78159
|
-
optional: true
|
|
78160
|
-
}],
|
|
78161
80630
|
"pipelineExecutor.runPipeline": [{
|
|
78162
80631
|
name: "deviceId",
|
|
78163
80632
|
form: "single",
|
|
@@ -78213,11 +80682,6 @@ Object.freeze({
|
|
|
78213
80682
|
form: "array",
|
|
78214
80683
|
optional: true
|
|
78215
80684
|
}],
|
|
78216
|
-
"pipelineOrchestrator.getCameraStepOverrides": [{
|
|
78217
|
-
name: "deviceId",
|
|
78218
|
-
form: "single",
|
|
78219
|
-
optional: false
|
|
78220
|
-
}],
|
|
78221
80685
|
"pipelineOrchestrator.getCameraSwitches": [{
|
|
78222
80686
|
name: "deviceId",
|
|
78223
80687
|
form: "single",
|
|
@@ -78258,21 +80722,11 @@ Object.freeze({
|
|
|
78258
80722
|
form: "single",
|
|
78259
80723
|
optional: false
|
|
78260
80724
|
}],
|
|
78261
|
-
"pipelineOrchestrator.setCameraPipelineForAgent": [{
|
|
78262
|
-
name: "deviceId",
|
|
78263
|
-
form: "single",
|
|
78264
|
-
optional: false
|
|
78265
|
-
}],
|
|
78266
80725
|
"pipelineOrchestrator.setCameraSensors": [{
|
|
78267
80726
|
name: "deviceId",
|
|
78268
80727
|
form: "single",
|
|
78269
80728
|
optional: false
|
|
78270
80729
|
}],
|
|
78271
|
-
"pipelineOrchestrator.setCameraStepOverride": [{
|
|
78272
|
-
name: "deviceId",
|
|
78273
|
-
form: "single",
|
|
78274
|
-
optional: false
|
|
78275
|
-
}],
|
|
78276
80730
|
"pipelineOrchestrator.setCameraStepSettings": [{
|
|
78277
80731
|
name: "deviceId",
|
|
78278
80732
|
form: "single",
|
|
@@ -78704,6 +81158,11 @@ Object.freeze({
|
|
|
78704
81158
|
form: "single",
|
|
78705
81159
|
optional: true
|
|
78706
81160
|
}],
|
|
81161
|
+
"runningState.getStatus": [{
|
|
81162
|
+
name: "deviceId",
|
|
81163
|
+
form: "single",
|
|
81164
|
+
optional: false
|
|
81165
|
+
}],
|
|
78707
81166
|
"sceneMonitor.captureReference": [{
|
|
78708
81167
|
name: "deviceId",
|
|
78709
81168
|
form: "single",
|
|
@@ -78950,11 +81409,6 @@ Object.freeze({
|
|
|
78950
81409
|
form: "single",
|
|
78951
81410
|
optional: false
|
|
78952
81411
|
}],
|
|
78953
|
-
"training.canaryResult": [{
|
|
78954
|
-
name: "deviceIds",
|
|
78955
|
-
form: "array",
|
|
78956
|
-
optional: false
|
|
78957
|
-
}],
|
|
78958
81412
|
"update.getStatus": [{
|
|
78959
81413
|
name: "deviceId",
|
|
78960
81414
|
form: "single",
|
|
@@ -79207,6 +81661,94 @@ Object.freeze({
|
|
|
79207
81661
|
"smtp-provider": "email"
|
|
79208
81662
|
});
|
|
79209
81663
|
DeviceType.Camera;
|
|
81664
|
+
/**
|
|
81665
|
+
* A saved Customize assignment (D936). The schema is the type: callers use
|
|
81666
|
+
* `z.infer`, they do not restate the shape.
|
|
81667
|
+
*/
|
|
81668
|
+
var OverrideSourceSchema = object({
|
|
81669
|
+
addonId: string().min(1),
|
|
81670
|
+
stableId: string().min(1),
|
|
81671
|
+
cap: string().min(1),
|
|
81672
|
+
fieldPath: string().min(1)
|
|
81673
|
+
});
|
|
81674
|
+
var CustomizeTransformDraftSchema = discriminatedUnion("kind", [
|
|
81675
|
+
object({ kind: literal("identity") }),
|
|
81676
|
+
object({ kind: literal("invert") }),
|
|
81677
|
+
object({
|
|
81678
|
+
kind: literal("threshold"),
|
|
81679
|
+
comparison: _enum(["gte", "lte"]),
|
|
81680
|
+
threshold: number(),
|
|
81681
|
+
startDwellMs: number().nonnegative(),
|
|
81682
|
+
stopDwellMs: number().nonnegative()
|
|
81683
|
+
}),
|
|
81684
|
+
object({
|
|
81685
|
+
kind: literal("linear"),
|
|
81686
|
+
scale: number(),
|
|
81687
|
+
offset: number(),
|
|
81688
|
+
clampMin: number().optional(),
|
|
81689
|
+
clampMax: number().optional()
|
|
81690
|
+
}),
|
|
81691
|
+
object({
|
|
81692
|
+
kind: literal("enum-map"),
|
|
81693
|
+
mapping: record(string(), string().nullable())
|
|
81694
|
+
}),
|
|
81695
|
+
object({ kind: literal("number") })
|
|
81696
|
+
]);
|
|
81697
|
+
var ScalarOverrideDraftSchema = object({
|
|
81698
|
+
kind: literal("scalar"),
|
|
81699
|
+
cap: string().min(1),
|
|
81700
|
+
targetId: string().min(1),
|
|
81701
|
+
source: OverrideSourceSchema,
|
|
81702
|
+
transform: CustomizeTransformDraftSchema
|
|
81703
|
+
});
|
|
81704
|
+
var KeyedArrayOverrideDraftSchema = object({
|
|
81705
|
+
kind: literal("keyedArray"),
|
|
81706
|
+
cap: string().min(1),
|
|
81707
|
+
targetId: string().min(1),
|
|
81708
|
+
key: string().min(1),
|
|
81709
|
+
label: string().min(1),
|
|
81710
|
+
fieldPath: string().min(1),
|
|
81711
|
+
source: OverrideSourceSchema,
|
|
81712
|
+
transform: CustomizeTransformDraftSchema
|
|
81713
|
+
});
|
|
81714
|
+
var PulseOverrideDraftSchema = object({
|
|
81715
|
+
kind: literal("pulse"),
|
|
81716
|
+
cap: string().min(1),
|
|
81717
|
+
targetId: string().min(1),
|
|
81718
|
+
enabled: boolean(),
|
|
81719
|
+
debounceMs: number().nonnegative(),
|
|
81720
|
+
sources: array(OverrideSourceSchema).min(1)
|
|
81721
|
+
});
|
|
81722
|
+
var SpanSourceDraftSchema = OverrideSourceSchema.extend({ mode: _enum([
|
|
81723
|
+
"in-addition",
|
|
81724
|
+
"confirm",
|
|
81725
|
+
"replace"
|
|
81726
|
+
]).optional() });
|
|
81727
|
+
discriminatedUnion("kind", [
|
|
81728
|
+
ScalarOverrideDraftSchema,
|
|
81729
|
+
KeyedArrayOverrideDraftSchema,
|
|
81730
|
+
PulseOverrideDraftSchema,
|
|
81731
|
+
object({
|
|
81732
|
+
kind: literal("span"),
|
|
81733
|
+
cap: string().min(1),
|
|
81734
|
+
targetId: string().min(1),
|
|
81735
|
+
timeoutMs: number().nonnegative(),
|
|
81736
|
+
cooldownMs: number().nonnegative().optional(),
|
|
81737
|
+
sources: array(SpanSourceDraftSchema)
|
|
81738
|
+
})
|
|
81739
|
+
]);
|
|
81740
|
+
object({
|
|
81741
|
+
targetId: string().min(1),
|
|
81742
|
+
configured: boolean(),
|
|
81743
|
+
source: _enum(["native", "assigned"]),
|
|
81744
|
+
state: _enum([
|
|
81745
|
+
"active",
|
|
81746
|
+
"stale",
|
|
81747
|
+
"released",
|
|
81748
|
+
"unavailable"
|
|
81749
|
+
]),
|
|
81750
|
+
reason: string().nullable()
|
|
81751
|
+
});
|
|
79210
81752
|
var G711_SCALE_CORRECTION_DB = {
|
|
79211
81753
|
PCMU: 20 * Math.log10(4),
|
|
79212
81754
|
PCMA: 20 * Math.log10(8)
|
|
@@ -79259,40 +81801,7 @@ var NC_AUDIO_DEFAULTS = {
|
|
|
79259
81801
|
samplingSeconds: 10
|
|
79260
81802
|
};
|
|
79261
81803
|
new Set(["devices", "classes"]);
|
|
79262
|
-
|
|
79263
|
-
* WHICH narrowing filter speaks about WHICH system-event kind — one predicate,
|
|
79264
|
-
* consumed by the rule ENGINE and by every rule EDITOR.
|
|
79265
|
-
*
|
|
79266
|
-
* ── The failure this file exists for ───────────────────────────────────────
|
|
79267
|
-
* `NcSystemEventConditionSchema` carries four optional narrowing lists
|
|
79268
|
-
* (`deviceIds`, `deviceTypes`, `nodeIds`, `packageNames`) beside a required
|
|
79269
|
-
* `kinds` gate. They are not four filters over one vocabulary: each belongs to
|
|
79270
|
-
* a FAMILY of kinds and is meaningless outside it. A node going away has no
|
|
79271
|
-
* device type; a completed export has no package; `stream-offline` deliberately
|
|
79272
|
-
* carries no device type at all (a stream belongs to a camera by construction).
|
|
79273
|
-
*
|
|
79274
|
-
* The engine applied all four to every kind, so a filter from one family failed
|
|
79275
|
-
* a kind from another family CLOSED. The operator's live rule "Eventi di
|
|
79276
|
-
* sistema" selected eleven kinds and set `deviceTypes: ['camera']` — the only
|
|
79277
|
-
* way to say "only my cameras" about the two liveness kinds — and NINE of the
|
|
79278
|
-
* eleven silently stopped being deliverable. Four days of history contained
|
|
79279
|
-
* `device-online` and `device-offline` and nothing else, across a window in
|
|
79280
|
-
* which agents were restarted and addons were updated.
|
|
79281
|
-
*
|
|
79282
|
-
* Both editors already computed this scoping, to decide which filter boxes to
|
|
79283
|
-
* render; the cap's own docblock already promised it ("Narrow a `device-*` kind
|
|
79284
|
-
* to these device TYPES"). Only the engine disagreed, and it disagreed in the
|
|
79285
|
-
* destructive direction. So the rule is stated ONCE, here, and the engine and
|
|
79286
|
-
* the editors are readers of it rather than three independent authors.
|
|
79287
|
-
*
|
|
79288
|
-
* ── The direction ─────────────────────────────────────────────────────────
|
|
79289
|
-
* Out of family ⇒ the filter is IGNORED, never fail-closed. An editor that
|
|
79290
|
-
* hides a box has already told the operator this filter does not speak about
|
|
79291
|
-
* these kinds, so honouring it as an exclusion contradicts the only
|
|
79292
|
-
* explanation the operator was ever given. Inside its family the filter still
|
|
79293
|
-
* narrows, and still fails CLOSED on a subject that cannot produce the identity
|
|
79294
|
-
* it tests (a device the mirror cannot name is not evidence of a camera).
|
|
79295
|
-
*/
|
|
81804
|
+
new Set(NC_LEGACY_SYSTEM_EVENT_KINDS);
|
|
79296
81805
|
/**
|
|
79297
81806
|
* Every filter, for the callers that must cover all of them (guards, tests).
|
|
79298
81807
|
*
|
|
@@ -79318,9 +81827,6 @@ new Map(Object.entries({
|
|
|
79318
81827
|
"device-battery-normal": "device-events",
|
|
79319
81828
|
"device-consumable-low": "device-events",
|
|
79320
81829
|
"device-consumable-normal": "device-events",
|
|
79321
|
-
"device-tank-low": "device-events",
|
|
79322
|
-
"device-tank-full": "device-events",
|
|
79323
|
-
"device-tank-normal": "device-events",
|
|
79324
81830
|
"stream-online": "device-events",
|
|
79325
81831
|
"stream-offline": "device-events",
|
|
79326
81832
|
"detection-blind": "device-events",
|
|
@@ -79397,16 +81903,6 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
79397
81903
|
label: "Consumables",
|
|
79398
81904
|
kinds: ["device-consumable-low", "device-consumable-normal"]
|
|
79399
81905
|
},
|
|
79400
|
-
{
|
|
79401
|
-
id: "tanks",
|
|
79402
|
-
family: "device-events",
|
|
79403
|
-
label: "Tanks",
|
|
79404
|
-
kinds: [
|
|
79405
|
-
"device-tank-low",
|
|
79406
|
-
"device-tank-full",
|
|
79407
|
-
"device-tank-normal"
|
|
79408
|
-
]
|
|
79409
|
-
},
|
|
79410
81906
|
{
|
|
79411
81907
|
id: "detection-blind",
|
|
79412
81908
|
family: "device-events",
|
|
@@ -79564,11 +82060,6 @@ var RULE_BODY_ONLY = ["body"];
|
|
|
79564
82060
|
var RULE_TEXT = ["title", "body"];
|
|
79565
82061
|
var BATTERY = ["device-battery-low", "device-battery-normal"];
|
|
79566
82062
|
var CONSUMABLE = ["device-consumable-low", "device-consumable-normal"];
|
|
79567
|
-
var TANK = [
|
|
79568
|
-
"device-tank-low",
|
|
79569
|
-
"device-tank-full",
|
|
79570
|
-
"device-tank-normal"
|
|
79571
|
-
];
|
|
79572
82063
|
var ALERT_EPISODE = [
|
|
79573
82064
|
"alert-critical",
|
|
79574
82065
|
"alert-error",
|
|
@@ -79600,7 +82091,6 @@ var DEVICE_EVENTS = [
|
|
|
79600
82091
|
"device-enabled",
|
|
79601
82092
|
...BATTERY,
|
|
79602
82093
|
...CONSUMABLE,
|
|
79603
|
-
...TANK,
|
|
79604
82094
|
"stream-online",
|
|
79605
82095
|
"stream-offline",
|
|
79606
82096
|
"detection-blind",
|
|
@@ -79631,7 +82121,7 @@ var STATE_SUMMARY_SECTION_VARS = [
|
|
|
79631
82121
|
{
|
|
79632
82122
|
name: "summaryStreams",
|
|
79633
82123
|
label: "Summary: streams offline",
|
|
79634
|
-
example: "
|
|
82124
|
+
example: "Front door (high) — since 06:40",
|
|
79635
82125
|
kinds: ["stream-offline", "stream-online"]
|
|
79636
82126
|
},
|
|
79637
82127
|
{
|
|
@@ -79646,22 +82136,16 @@ var STATE_SUMMARY_SECTION_VARS = [
|
|
|
79646
82136
|
example: "Robot — filter 10 %",
|
|
79647
82137
|
kinds: CONSUMABLE
|
|
79648
82138
|
},
|
|
79649
|
-
{
|
|
79650
|
-
name: "summaryTanks",
|
|
79651
|
-
label: "Summary: tanks",
|
|
79652
|
-
example: "Robot — clean water low",
|
|
79653
|
-
kinds: TANK
|
|
79654
|
-
},
|
|
79655
82139
|
{
|
|
79656
82140
|
name: "summaryDetection",
|
|
79657
82141
|
label: "Summary: cameras detecting nothing",
|
|
79658
|
-
example: "
|
|
82142
|
+
example: "Front door — since 05:10",
|
|
79659
82143
|
kinds: ["detection-blind"]
|
|
79660
82144
|
},
|
|
79661
82145
|
{
|
|
79662
82146
|
name: "summaryNodes",
|
|
79663
82147
|
label: "Summary: nodes",
|
|
79664
|
-
example: "
|
|
82148
|
+
example: "agent-a — offline since 03:00",
|
|
79665
82149
|
kinds: [
|
|
79666
82150
|
"node-offline",
|
|
79667
82151
|
"node-online",
|
|
@@ -79767,8 +82251,7 @@ var STATE_SUMMARY_VARS = [
|
|
|
79767
82251
|
([...RULE_TEXT], [...COMBINED_ALARM]),
|
|
79768
82252
|
([...RULE_TEXT], [...DEVICE_EVENTS]),
|
|
79769
82253
|
([...RULE_TEXT], [...BATTERY, ...CONSUMABLE]),
|
|
79770
|
-
([...RULE_TEXT], [...CONSUMABLE
|
|
79771
|
-
([...RULE_TEXT], [...TANK]),
|
|
82254
|
+
([...RULE_TEXT], [...CONSUMABLE]),
|
|
79772
82255
|
[...RULE_TEXT],
|
|
79773
82256
|
([...RULE_TEXT], [...UPDATES, ...ALERT_EPISODE]),
|
|
79774
82257
|
([...RULE_TEXT], [...UPDATES, ...ALERT_EPISODE]),
|
|
@@ -79872,15 +82355,6 @@ new Map([
|
|
|
79872
82355
|
snapshotLabel: "Consumables low now",
|
|
79873
82356
|
snapshotSection: "consumables"
|
|
79874
82357
|
},
|
|
79875
|
-
{
|
|
79876
|
-
id: "tanks",
|
|
79877
|
-
family: "device-events",
|
|
79878
|
-
label: "Tanks (low or full / back to normal)",
|
|
79879
|
-
bad: ["device-tank-low", "device-tank-full"],
|
|
79880
|
-
recovery: ["device-tank-normal"],
|
|
79881
|
-
snapshotLabel: "Tanks low or full now",
|
|
79882
|
-
snapshotSection: "tanks"
|
|
79883
|
-
},
|
|
79884
82358
|
{
|
|
79885
82359
|
id: "motion-noise",
|
|
79886
82360
|
family: "device-events",
|
|
@@ -80282,6 +82756,10 @@ TimelapseRuleInputSchema.extend({
|
|
|
80282
82756
|
updatedAt: number()
|
|
80283
82757
|
});
|
|
80284
82758
|
MotionOnMotionChangedDataSchema.omit({ triggeredBy: true });
|
|
82759
|
+
Object.freeze({
|
|
82760
|
+
person: .8,
|
|
82761
|
+
vehicle: .8
|
|
82762
|
+
});
|
|
80285
82763
|
object({
|
|
80286
82764
|
/**
|
|
80287
82765
|
* Fraction of the box's own size added on EACH side before cutting.
|
|
@@ -83813,7 +86291,7 @@ var BRIGHTNESS_CONTROLLER = {
|
|
|
83813
86291
|
* when the impulse is unknown — see `handlers/ptz-travel.ts`; never
|
|
83814
86292
|
* `continuousMove` / `stop`), and the toggle auto-resets to OFF (handler
|
|
83815
86293
|
* returns the OFF state in `context.properties`). Alexa renders one row per instance in the
|
|
83816
|
-
* device detail; users can also say "Alexa, turn on
|
|
86294
|
+
* device detail; users can also say "Alexa, turn on Hall Pan Left".
|
|
83817
86295
|
*
|
|
83818
86296
|
* Instance ids match the directive routing in `ptz-direction.ts`.
|
|
83819
86297
|
*/
|
|
@@ -84006,8 +86484,8 @@ function buildParentCameraEndpoint(input) {
|
|
|
84006
86484
|
/**
|
|
84007
86485
|
* Compose a child accessory's Alexa friendly name. camstack child devices
|
|
84008
86486
|
* are usually already named with their parent prefix (e.g. parent
|
|
84009
|
-
* "
|
|
84010
|
-
* prefixing the parent again yields "
|
|
86487
|
+
* "Camera hall" → child "Camera hall Siren"), so blindly
|
|
86488
|
+
* prefixing the parent again yields "Camera hall — Camera hall
|
|
84011
86489
|
* Siren". Skip the prefix when the child name already contains the parent name
|
|
84012
86490
|
* (case-insensitive).
|
|
84013
86491
|
*/
|
|
@@ -87371,7 +89849,7 @@ function buildRoutes(deps) {
|
|
|
87371
89849
|
method: "POST",
|
|
87372
89850
|
path: "/oauth/broker-link",
|
|
87373
89851
|
access: "public",
|
|
87374
|
-
description: "Lambda → hub broker link
|
|
89852
|
+
description: "Lambda → hub broker link: broker URL + per-link credential + first access token; bearer-authenticated via oauth-access token",
|
|
87375
89853
|
handler: async (req, reply) => {
|
|
87376
89854
|
if (ingressRejected(req, reply, deps, "alexa broker-link")) return;
|
|
87377
89855
|
await handleBrokerLinkCallback(req, reply, deps.lwaTokensCallbackDeps);
|
|
@@ -87803,7 +90281,7 @@ var DOORBELL_INTERFACE = "Alexa.DoorbellEventSource";
|
|
|
87803
90281
|
* on for it (R4, D779).
|
|
87804
90282
|
*
|
|
87805
90283
|
* Measured 2026-08-07, before the declaration existed: 223 `smartvision person
|
|
87806
|
-
* posted status=202` in 692 s on endpoint
|
|
90284
|
+
* posted status=202` in 692 s on endpoint 104 alone, every one of them against
|
|
87807
90285
|
* an endpoint whose discovered capability list did not contain this string. The
|
|
87808
90286
|
* Event Gateway answers 202 because the ENVELOPE parsed; the cloud then drops
|
|
87809
90287
|
* the event. D76: an accepted POST is not evidence of delivery.
|
|
@@ -87982,7 +90460,7 @@ var LwaEventGateway = class {
|
|
|
87982
90460
|
/**
|
|
87983
90461
|
* Camera-native motion flipped. Report it as an `Alexa.MotionSensor`
|
|
87984
90462
|
* ChangeReport: the rising edge immediately, the falling edge only once the
|
|
87985
|
-
* source has stayed quiet (see `MotionClearHold` for the
|
|
90463
|
+
* source has stayed quiet (see `MotionClearHold` for the 104 measurement
|
|
87986
90464
|
* that made a plain transition dedupe insufficient).
|
|
87987
90465
|
*/
|
|
87988
90466
|
async onMotionChanged(data) {
|
|
@@ -90630,7 +93108,7 @@ var SyncEngine = class {
|
|
|
90630
93108
|
/**
|
|
90631
93109
|
* One in-flight reconcile per device. At boot the 60 s full pass and the
|
|
90632
93110
|
* debounced bindings-change reconciles overlap, and each one rebuilt the
|
|
90633
|
-
* same device serially — the live hub built camera
|
|
93111
|
+
* same device serially — the live hub built camera 101's endpoint shape
|
|
90634
93112
|
* four times inside one boot (2026-08-15). Joining the running pass costs
|
|
90635
93113
|
* the duplicate nothing.
|
|
90636
93114
|
*/
|
|
@@ -91613,7 +94091,7 @@ var ExportAlexaAddon = class extends BaseAddon {
|
|
|
91613
94091
|
* One reconcile pass over every exposed device shortly after boot. This is
|
|
91614
94092
|
* what heals a shape that drifted while the addon was DOWN (or under an
|
|
91615
94093
|
* older build that had no signature at all) with no operator click — the
|
|
91616
|
-
* doorbell bound on
|
|
94094
|
+
* doorbell bound on 101 after it was exposed is exactly that case. Deliberately late
|
|
91617
94095
|
* enough that device providers have registered their caps: a device whose
|
|
91618
94096
|
* bindings have not landed yet builds a shape we must not push.
|
|
91619
94097
|
*/
|