@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
|
@@ -5,7 +5,7 @@ import "node:fs";
|
|
|
5
5
|
import "node:path";
|
|
6
6
|
import "node:child_process";
|
|
7
7
|
import "node:zlib";
|
|
8
|
-
//#region ../types/dist/event-category-
|
|
8
|
+
//#region ../types/dist/event-category-DHXxB8t9.mjs
|
|
9
9
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
10
10
|
EventCategory["SystemBoot"] = "system.boot";
|
|
11
11
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -301,7 +301,7 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
301
301
|
* TRANSITION into that state (never per dispatch), and the node is dropped
|
|
302
302
|
* from the placement candidate set for as long as it holds.
|
|
303
303
|
*
|
|
304
|
-
* This exists because the state was previously invisible:
|
|
304
|
+
* This exists because the state was previously invisible: agent-a
|
|
305
305
|
* absorbed 283k inference errors in a day while still being handed cameras,
|
|
306
306
|
* and nothing in the system said so.
|
|
307
307
|
*
|
|
@@ -332,9 +332,8 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
332
332
|
EventCategory["PipelineMotionCalm"] = "pipeline.motion-calm";
|
|
333
333
|
/**
|
|
334
334
|
* Per-camera pipeline config was mutated by the orchestrator
|
|
335
|
-
* (
|
|
336
|
-
* `setCameraStepToggle` / `
|
|
337
|
-
* pipeline-scoped `applyDeviceSettingsPatch`). Orchestrator
|
|
335
|
+
* (a settings change via `setAgentInferenceDevices` /
|
|
336
|
+
* `setCameraStepToggle` / `setCameraStepSettings`). Orchestrator
|
|
338
337
|
* subscribes to its own emission to hot-reload the assigned runner
|
|
339
338
|
* via `attachCamera` so the next frame executes against the new
|
|
340
339
|
* engine/steps without waiting for a rebalance or the next
|
|
@@ -478,6 +477,10 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
478
477
|
* on the device detail page.
|
|
479
478
|
*/
|
|
480
479
|
EventCategory["DoorbellOnPressed"] = "doorbell.onPressed";
|
|
480
|
+
/** Mirrors `runningStateCapability.events.onStarted`. */
|
|
481
|
+
EventCategory["RunningStarted"] = "running.started";
|
|
482
|
+
/** Mirrors `runningStateCapability.events.onFinished`. */
|
|
483
|
+
EventCategory["RunningFinished"] = "running.finished";
|
|
481
484
|
/**
|
|
482
485
|
* Cap event fired by every device that registers the `event-emitter`
|
|
483
486
|
* capability. Mirrors `eventEmitterCapability.events.onEvent`. Carries
|
|
@@ -5437,7 +5440,7 @@ var ZodIssueCode = {
|
|
|
5437
5440
|
var ZodFirstPartyTypeKind;
|
|
5438
5441
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5439
5442
|
//#endregion
|
|
5440
|
-
//#region ../types/dist/sleep-
|
|
5443
|
+
//#region ../types/dist/sleep-BErAxhul.mjs
|
|
5441
5444
|
/**
|
|
5442
5445
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5443
5446
|
* window to float samples (D455).
|
|
@@ -5776,7 +5779,7 @@ Object.fromEntries([
|
|
|
5776
5779
|
* `hydrateSchema` to skip the `value` injection for structural-only fields.
|
|
5777
5780
|
*/
|
|
5778
5781
|
function isValuelessField(field) {
|
|
5779
|
-
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";
|
|
5782
|
+
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";
|
|
5780
5783
|
}
|
|
5781
5784
|
function hydrateSchema(schema, values, options = {}) {
|
|
5782
5785
|
return {
|
|
@@ -8411,6 +8414,1980 @@ method(object({ deviceId: number() }), array(StreamSourceEntrySchema)), method(o
|
|
|
8411
8414
|
kind: "mutation",
|
|
8412
8415
|
auth: "admin"
|
|
8413
8416
|
}), method(object({ deviceId: number() }), unknown().nullable()), method(object({ deviceId: number() }), RawStateResultSchema.nullable(), { auth: "protected" });
|
|
8417
|
+
Object.freeze({ "doorbell": "lastPressedAt" });
|
|
8418
|
+
/** Every capability name, so addon code can check a name without the schema graph. */
|
|
8419
|
+
var CAP_NAMES = Object.freeze([
|
|
8420
|
+
"accessories",
|
|
8421
|
+
"addon-pages",
|
|
8422
|
+
"addon-pages-source",
|
|
8423
|
+
"addon-routes",
|
|
8424
|
+
"addon-settings",
|
|
8425
|
+
"addon-widgets",
|
|
8426
|
+
"addon-widgets-source",
|
|
8427
|
+
"addons",
|
|
8428
|
+
"admin-ui",
|
|
8429
|
+
"air-quality-sensor",
|
|
8430
|
+
"alarm-panel",
|
|
8431
|
+
"alerts",
|
|
8432
|
+
"ambient-light-sensor",
|
|
8433
|
+
"audio-analysis",
|
|
8434
|
+
"audio-analyzer",
|
|
8435
|
+
"audio-codec",
|
|
8436
|
+
"audio-metrics",
|
|
8437
|
+
"auth-provider",
|
|
8438
|
+
"automation-control",
|
|
8439
|
+
"backup",
|
|
8440
|
+
"battery",
|
|
8441
|
+
"binary",
|
|
8442
|
+
"brightness",
|
|
8443
|
+
"broker",
|
|
8444
|
+
"button",
|
|
8445
|
+
"calendar-source",
|
|
8446
|
+
"calendars",
|
|
8447
|
+
"camera-credentials",
|
|
8448
|
+
"camera-grid-layout",
|
|
8449
|
+
"camera-pipeline-config",
|
|
8450
|
+
"camera-streams",
|
|
8451
|
+
"carbon-monoxide",
|
|
8452
|
+
"climate-control",
|
|
8453
|
+
"color",
|
|
8454
|
+
"composer",
|
|
8455
|
+
"connection-test",
|
|
8456
|
+
"connectivity",
|
|
8457
|
+
"consumables",
|
|
8458
|
+
"contact",
|
|
8459
|
+
"control",
|
|
8460
|
+
"core-blocks",
|
|
8461
|
+
"cover",
|
|
8462
|
+
"custom-model-registry",
|
|
8463
|
+
"data-store-provider",
|
|
8464
|
+
"database-snapshot",
|
|
8465
|
+
"day-night",
|
|
8466
|
+
"decoder",
|
|
8467
|
+
"detection-pipeline",
|
|
8468
|
+
"device-admin-link",
|
|
8469
|
+
"device-adoption",
|
|
8470
|
+
"device-credentials",
|
|
8471
|
+
"device-discovery",
|
|
8472
|
+
"device-export",
|
|
8473
|
+
"device-extension",
|
|
8474
|
+
"device-history",
|
|
8475
|
+
"device-manager",
|
|
8476
|
+
"device-ops",
|
|
8477
|
+
"device-provider",
|
|
8478
|
+
"device-removal-hook",
|
|
8479
|
+
"device-state",
|
|
8480
|
+
"device-status",
|
|
8481
|
+
"dishwasher",
|
|
8482
|
+
"display-palette",
|
|
8483
|
+
"doorbell",
|
|
8484
|
+
"embedding-encoder",
|
|
8485
|
+
"enum-sensor",
|
|
8486
|
+
"event-emitter",
|
|
8487
|
+
"face-gallery",
|
|
8488
|
+
"failure-contribution",
|
|
8489
|
+
"fan-control",
|
|
8490
|
+
"feature-probe",
|
|
8491
|
+
"filesystem-browse",
|
|
8492
|
+
"flood",
|
|
8493
|
+
"gas",
|
|
8494
|
+
"heating-valve",
|
|
8495
|
+
"humidifier",
|
|
8496
|
+
"humidity-sensor",
|
|
8497
|
+
"image",
|
|
8498
|
+
"image-settings",
|
|
8499
|
+
"integrations",
|
|
8500
|
+
"intercom",
|
|
8501
|
+
"keychain",
|
|
8502
|
+
"keychain-admin",
|
|
8503
|
+
"lawn-mower-control",
|
|
8504
|
+
"llm",
|
|
8505
|
+
"llm-runtime",
|
|
8506
|
+
"load-contribution",
|
|
8507
|
+
"local-network",
|
|
8508
|
+
"lock-control",
|
|
8509
|
+
"log-channels",
|
|
8510
|
+
"log-destination",
|
|
8511
|
+
"login-method",
|
|
8512
|
+
"media-player",
|
|
8513
|
+
"mesh-network",
|
|
8514
|
+
"metrics-provider",
|
|
8515
|
+
"model-convert",
|
|
8516
|
+
"model-distributor",
|
|
8517
|
+
"motion",
|
|
8518
|
+
"motion-detection",
|
|
8519
|
+
"motion-trigger",
|
|
8520
|
+
"motion-zones",
|
|
8521
|
+
"mqtt-broker",
|
|
8522
|
+
"native-object-detection",
|
|
8523
|
+
"navigation",
|
|
8524
|
+
"network-access",
|
|
8525
|
+
"network-link",
|
|
8526
|
+
"network-quality",
|
|
8527
|
+
"node-certificates",
|
|
8528
|
+
"nodes",
|
|
8529
|
+
"notification-output",
|
|
8530
|
+
"notification-rules",
|
|
8531
|
+
"notifier",
|
|
8532
|
+
"numeric-sensor",
|
|
8533
|
+
"oauth-integration",
|
|
8534
|
+
"oidc-connections",
|
|
8535
|
+
"osd",
|
|
8536
|
+
"osd-manager",
|
|
8537
|
+
"pet-feeder",
|
|
8538
|
+
"pipeline-analytics",
|
|
8539
|
+
"pipeline-executor",
|
|
8540
|
+
"pipeline-orchestrator",
|
|
8541
|
+
"pipeline-runner",
|
|
8542
|
+
"plate-gallery",
|
|
8543
|
+
"platform-probe",
|
|
8544
|
+
"power-meter",
|
|
8545
|
+
"presence",
|
|
8546
|
+
"pressure-sensor",
|
|
8547
|
+
"privacy-mask",
|
|
8548
|
+
"ptz",
|
|
8549
|
+
"ptz-autotrack",
|
|
8550
|
+
"reboot",
|
|
8551
|
+
"record-entries",
|
|
8552
|
+
"recording",
|
|
8553
|
+
"recording-archive",
|
|
8554
|
+
"recording-export",
|
|
8555
|
+
"recording-onboard",
|
|
8556
|
+
"recording-signal",
|
|
8557
|
+
"records",
|
|
8558
|
+
"running-state",
|
|
8559
|
+
"scene-monitor",
|
|
8560
|
+
"script-runner",
|
|
8561
|
+
"server-management",
|
|
8562
|
+
"settings-store",
|
|
8563
|
+
"smoke",
|
|
8564
|
+
"smtp-provider",
|
|
8565
|
+
"snapshot",
|
|
8566
|
+
"sso-bridge",
|
|
8567
|
+
"storage",
|
|
8568
|
+
"storage-admin",
|
|
8569
|
+
"storage-evictable",
|
|
8570
|
+
"storage-migration",
|
|
8571
|
+
"storage-occupancy",
|
|
8572
|
+
"storage-provider",
|
|
8573
|
+
"stream-broker",
|
|
8574
|
+
"stream-catalog",
|
|
8575
|
+
"stream-params",
|
|
8576
|
+
"stream-signals",
|
|
8577
|
+
"switch",
|
|
8578
|
+
"system",
|
|
8579
|
+
"tamper",
|
|
8580
|
+
"temperature-sensor",
|
|
8581
|
+
"terminal-session",
|
|
8582
|
+
"toast",
|
|
8583
|
+
"training",
|
|
8584
|
+
"training-provider",
|
|
8585
|
+
"turn-provider",
|
|
8586
|
+
"update",
|
|
8587
|
+
"user-management",
|
|
8588
|
+
"user-passkeys",
|
|
8589
|
+
"vacuum-control",
|
|
8590
|
+
"valve",
|
|
8591
|
+
"vector-store",
|
|
8592
|
+
"vibration",
|
|
8593
|
+
"videoclips",
|
|
8594
|
+
"viewer-ui",
|
|
8595
|
+
"water-heater",
|
|
8596
|
+
"weather",
|
|
8597
|
+
"webrtc-session",
|
|
8598
|
+
"zone-analytics",
|
|
8599
|
+
"zone-rules",
|
|
8600
|
+
"zones"
|
|
8601
|
+
]);
|
|
8602
|
+
Object.freeze({
|
|
8603
|
+
"air-quality-sensor": [
|
|
8604
|
+
{
|
|
8605
|
+
"path": "co2Ppm",
|
|
8606
|
+
"valueType": "number"
|
|
8607
|
+
},
|
|
8608
|
+
{
|
|
8609
|
+
"path": "vocPpb",
|
|
8610
|
+
"valueType": "number"
|
|
8611
|
+
},
|
|
8612
|
+
{
|
|
8613
|
+
"path": "pm25",
|
|
8614
|
+
"valueType": "number"
|
|
8615
|
+
},
|
|
8616
|
+
{
|
|
8617
|
+
"path": "pm10",
|
|
8618
|
+
"valueType": "number"
|
|
8619
|
+
},
|
|
8620
|
+
{
|
|
8621
|
+
"path": "aqi",
|
|
8622
|
+
"valueType": "number"
|
|
8623
|
+
},
|
|
8624
|
+
{
|
|
8625
|
+
"path": "unit",
|
|
8626
|
+
"valueType": "string"
|
|
8627
|
+
},
|
|
8628
|
+
{
|
|
8629
|
+
"path": "precision",
|
|
8630
|
+
"valueType": "number"
|
|
8631
|
+
}
|
|
8632
|
+
],
|
|
8633
|
+
"alarm-panel": [
|
|
8634
|
+
{
|
|
8635
|
+
"path": "state",
|
|
8636
|
+
"valueType": "enum",
|
|
8637
|
+
"enumValues": [
|
|
8638
|
+
"disarmed",
|
|
8639
|
+
"armed_home",
|
|
8640
|
+
"armed_away",
|
|
8641
|
+
"armed_night",
|
|
8642
|
+
"armed_vacation",
|
|
8643
|
+
"armed_custom_bypass",
|
|
8644
|
+
"arming",
|
|
8645
|
+
"disarming",
|
|
8646
|
+
"pending",
|
|
8647
|
+
"triggered"
|
|
8648
|
+
]
|
|
8649
|
+
},
|
|
8650
|
+
{
|
|
8651
|
+
"path": "targetMode",
|
|
8652
|
+
"valueType": "enum",
|
|
8653
|
+
"enumValues": [
|
|
8654
|
+
"home",
|
|
8655
|
+
"away",
|
|
8656
|
+
"night",
|
|
8657
|
+
"vacation",
|
|
8658
|
+
"custom_bypass"
|
|
8659
|
+
]
|
|
8660
|
+
},
|
|
8661
|
+
{
|
|
8662
|
+
"path": "requiresCode",
|
|
8663
|
+
"valueType": "boolean"
|
|
8664
|
+
}
|
|
8665
|
+
],
|
|
8666
|
+
"ambient-light-sensor": [
|
|
8667
|
+
{
|
|
8668
|
+
"path": "lux",
|
|
8669
|
+
"valueType": "number"
|
|
8670
|
+
},
|
|
8671
|
+
{
|
|
8672
|
+
"path": "unit",
|
|
8673
|
+
"valueType": "string"
|
|
8674
|
+
},
|
|
8675
|
+
{
|
|
8676
|
+
"path": "precision",
|
|
8677
|
+
"valueType": "number"
|
|
8678
|
+
}
|
|
8679
|
+
],
|
|
8680
|
+
"audio-metrics": [
|
|
8681
|
+
{
|
|
8682
|
+
"path": "ts",
|
|
8683
|
+
"valueType": "number"
|
|
8684
|
+
},
|
|
8685
|
+
{
|
|
8686
|
+
"path": "windowSec",
|
|
8687
|
+
"valueType": "number"
|
|
8688
|
+
},
|
|
8689
|
+
{
|
|
8690
|
+
"path": "level.rms",
|
|
8691
|
+
"valueType": "number"
|
|
8692
|
+
},
|
|
8693
|
+
{
|
|
8694
|
+
"path": "level.dbfs",
|
|
8695
|
+
"valueType": "number"
|
|
8696
|
+
},
|
|
8697
|
+
{
|
|
8698
|
+
"path": "peakDbfs",
|
|
8699
|
+
"valueType": "number"
|
|
8700
|
+
},
|
|
8701
|
+
{
|
|
8702
|
+
"path": "avgDbfs",
|
|
8703
|
+
"valueType": "number"
|
|
8704
|
+
},
|
|
8705
|
+
{
|
|
8706
|
+
"path": "current.className",
|
|
8707
|
+
"valueType": "string"
|
|
8708
|
+
},
|
|
8709
|
+
{
|
|
8710
|
+
"path": "current.score",
|
|
8711
|
+
"valueType": "number"
|
|
8712
|
+
},
|
|
8713
|
+
{
|
|
8714
|
+
"path": "current.timestamp",
|
|
8715
|
+
"valueType": "number"
|
|
8716
|
+
}
|
|
8717
|
+
],
|
|
8718
|
+
"automation-control": [
|
|
8719
|
+
{
|
|
8720
|
+
"path": "enabled",
|
|
8721
|
+
"valueType": "boolean"
|
|
8722
|
+
},
|
|
8723
|
+
{
|
|
8724
|
+
"path": "isRunning",
|
|
8725
|
+
"valueType": "boolean"
|
|
8726
|
+
},
|
|
8727
|
+
{
|
|
8728
|
+
"path": "lastTriggeredAt",
|
|
8729
|
+
"valueType": "number"
|
|
8730
|
+
},
|
|
8731
|
+
{
|
|
8732
|
+
"path": "lastError",
|
|
8733
|
+
"valueType": "string"
|
|
8734
|
+
}
|
|
8735
|
+
],
|
|
8736
|
+
"battery": [
|
|
8737
|
+
{
|
|
8738
|
+
"path": "percentage",
|
|
8739
|
+
"valueType": "number"
|
|
8740
|
+
},
|
|
8741
|
+
{
|
|
8742
|
+
"path": "charging",
|
|
8743
|
+
"valueType": "enum",
|
|
8744
|
+
"enumValues": [
|
|
8745
|
+
"dc",
|
|
8746
|
+
"solar",
|
|
8747
|
+
"none",
|
|
8748
|
+
"unknown"
|
|
8749
|
+
]
|
|
8750
|
+
},
|
|
8751
|
+
{
|
|
8752
|
+
"path": "sleeping",
|
|
8753
|
+
"valueType": "boolean"
|
|
8754
|
+
},
|
|
8755
|
+
{
|
|
8756
|
+
"path": "lastUpdated",
|
|
8757
|
+
"valueType": "number"
|
|
8758
|
+
},
|
|
8759
|
+
{
|
|
8760
|
+
"path": "lastContactAt",
|
|
8761
|
+
"valueType": "number"
|
|
8762
|
+
},
|
|
8763
|
+
{
|
|
8764
|
+
"path": "lastFullRefreshAt",
|
|
8765
|
+
"valueType": "number"
|
|
8766
|
+
},
|
|
8767
|
+
{
|
|
8768
|
+
"path": "binary",
|
|
8769
|
+
"valueType": "boolean"
|
|
8770
|
+
}
|
|
8771
|
+
],
|
|
8772
|
+
"binary": [{
|
|
8773
|
+
"path": "on",
|
|
8774
|
+
"valueType": "boolean"
|
|
8775
|
+
}],
|
|
8776
|
+
"brightness": [{
|
|
8777
|
+
"path": "percentage",
|
|
8778
|
+
"valueType": "number"
|
|
8779
|
+
}],
|
|
8780
|
+
"broker": [{
|
|
8781
|
+
"path": "brokerCount",
|
|
8782
|
+
"valueType": "number"
|
|
8783
|
+
}, {
|
|
8784
|
+
"path": "connectedCount",
|
|
8785
|
+
"valueType": "number"
|
|
8786
|
+
}],
|
|
8787
|
+
"camera-credentials": [
|
|
8788
|
+
{
|
|
8789
|
+
"path": "host",
|
|
8790
|
+
"valueType": "string"
|
|
8791
|
+
},
|
|
8792
|
+
{
|
|
8793
|
+
"path": "port",
|
|
8794
|
+
"valueType": "number"
|
|
8795
|
+
},
|
|
8796
|
+
{
|
|
8797
|
+
"path": "onvifPort",
|
|
8798
|
+
"valueType": "number"
|
|
8799
|
+
},
|
|
8800
|
+
{
|
|
8801
|
+
"path": "rtspPort",
|
|
8802
|
+
"valueType": "number"
|
|
8803
|
+
},
|
|
8804
|
+
{
|
|
8805
|
+
"path": "https",
|
|
8806
|
+
"valueType": "boolean"
|
|
8807
|
+
},
|
|
8808
|
+
{
|
|
8809
|
+
"path": "hasUsername",
|
|
8810
|
+
"valueType": "boolean"
|
|
8811
|
+
},
|
|
8812
|
+
{
|
|
8813
|
+
"path": "hasPassword",
|
|
8814
|
+
"valueType": "boolean"
|
|
8815
|
+
},
|
|
8816
|
+
{
|
|
8817
|
+
"path": "onvifProfile",
|
|
8818
|
+
"valueType": "string"
|
|
8819
|
+
}
|
|
8820
|
+
],
|
|
8821
|
+
"camera-streams": [
|
|
8822
|
+
{
|
|
8823
|
+
"path": "online",
|
|
8824
|
+
"valueType": "boolean"
|
|
8825
|
+
},
|
|
8826
|
+
{
|
|
8827
|
+
"path": "slotStatuses.high",
|
|
8828
|
+
"valueType": "enum",
|
|
8829
|
+
"enumValues": [
|
|
8830
|
+
"unassigned",
|
|
8831
|
+
"idle",
|
|
8832
|
+
"connecting",
|
|
8833
|
+
"streaming",
|
|
8834
|
+
"error"
|
|
8835
|
+
]
|
|
8836
|
+
},
|
|
8837
|
+
{
|
|
8838
|
+
"path": "slotStatuses.mid",
|
|
8839
|
+
"valueType": "enum",
|
|
8840
|
+
"enumValues": [
|
|
8841
|
+
"unassigned",
|
|
8842
|
+
"idle",
|
|
8843
|
+
"connecting",
|
|
8844
|
+
"streaming",
|
|
8845
|
+
"error"
|
|
8846
|
+
]
|
|
8847
|
+
},
|
|
8848
|
+
{
|
|
8849
|
+
"path": "slotStatuses.low",
|
|
8850
|
+
"valueType": "enum",
|
|
8851
|
+
"enumValues": [
|
|
8852
|
+
"unassigned",
|
|
8853
|
+
"idle",
|
|
8854
|
+
"connecting",
|
|
8855
|
+
"streaming",
|
|
8856
|
+
"error"
|
|
8857
|
+
]
|
|
8858
|
+
},
|
|
8859
|
+
{
|
|
8860
|
+
"path": "slotErrors.high",
|
|
8861
|
+
"valueType": "string"
|
|
8862
|
+
},
|
|
8863
|
+
{
|
|
8864
|
+
"path": "slotErrors.mid",
|
|
8865
|
+
"valueType": "string"
|
|
8866
|
+
},
|
|
8867
|
+
{
|
|
8868
|
+
"path": "slotErrors.low",
|
|
8869
|
+
"valueType": "string"
|
|
8870
|
+
}
|
|
8871
|
+
],
|
|
8872
|
+
"carbon-monoxide": [{
|
|
8873
|
+
"path": "detected",
|
|
8874
|
+
"valueType": "boolean"
|
|
8875
|
+
}],
|
|
8876
|
+
"climate-control": [
|
|
8877
|
+
{
|
|
8878
|
+
"path": "mode",
|
|
8879
|
+
"valueType": "enum",
|
|
8880
|
+
"enumValues": [
|
|
8881
|
+
"off",
|
|
8882
|
+
"heat",
|
|
8883
|
+
"cool",
|
|
8884
|
+
"auto",
|
|
8885
|
+
"heat_cool",
|
|
8886
|
+
"fan_only",
|
|
8887
|
+
"dry"
|
|
8888
|
+
]
|
|
8889
|
+
},
|
|
8890
|
+
{
|
|
8891
|
+
"path": "fanMode",
|
|
8892
|
+
"valueType": "string"
|
|
8893
|
+
},
|
|
8894
|
+
{
|
|
8895
|
+
"path": "preset",
|
|
8896
|
+
"valueType": "string"
|
|
8897
|
+
},
|
|
8898
|
+
{
|
|
8899
|
+
"path": "target",
|
|
8900
|
+
"valueType": "number"
|
|
8901
|
+
},
|
|
8902
|
+
{
|
|
8903
|
+
"path": "targetHigh",
|
|
8904
|
+
"valueType": "number"
|
|
8905
|
+
},
|
|
8906
|
+
{
|
|
8907
|
+
"path": "targetLow",
|
|
8908
|
+
"valueType": "number"
|
|
8909
|
+
},
|
|
8910
|
+
{
|
|
8911
|
+
"path": "targetHumidity",
|
|
8912
|
+
"valueType": "number"
|
|
8913
|
+
},
|
|
8914
|
+
{
|
|
8915
|
+
"path": "currentTemp",
|
|
8916
|
+
"valueType": "number"
|
|
8917
|
+
},
|
|
8918
|
+
{
|
|
8919
|
+
"path": "currentHumidity",
|
|
8920
|
+
"valueType": "number"
|
|
8921
|
+
},
|
|
8922
|
+
{
|
|
8923
|
+
"path": "swingVertical",
|
|
8924
|
+
"valueType": "boolean"
|
|
8925
|
+
},
|
|
8926
|
+
{
|
|
8927
|
+
"path": "swingHorizontal",
|
|
8928
|
+
"valueType": "boolean"
|
|
8929
|
+
},
|
|
8930
|
+
{
|
|
8931
|
+
"path": "minTemp",
|
|
8932
|
+
"valueType": "number"
|
|
8933
|
+
},
|
|
8934
|
+
{
|
|
8935
|
+
"path": "maxTemp",
|
|
8936
|
+
"valueType": "number"
|
|
8937
|
+
},
|
|
8938
|
+
{
|
|
8939
|
+
"path": "tempStep",
|
|
8940
|
+
"valueType": "number"
|
|
8941
|
+
}
|
|
8942
|
+
],
|
|
8943
|
+
"color": [
|
|
8944
|
+
{
|
|
8945
|
+
"path": "mode",
|
|
8946
|
+
"valueType": "enum",
|
|
8947
|
+
"enumValues": [
|
|
8948
|
+
"rgb",
|
|
8949
|
+
"hsv",
|
|
8950
|
+
"mired"
|
|
8951
|
+
]
|
|
8952
|
+
},
|
|
8953
|
+
{
|
|
8954
|
+
"path": "rgb.r",
|
|
8955
|
+
"valueType": "number"
|
|
8956
|
+
},
|
|
8957
|
+
{
|
|
8958
|
+
"path": "rgb.g",
|
|
8959
|
+
"valueType": "number"
|
|
8960
|
+
},
|
|
8961
|
+
{
|
|
8962
|
+
"path": "rgb.b",
|
|
8963
|
+
"valueType": "number"
|
|
8964
|
+
},
|
|
8965
|
+
{
|
|
8966
|
+
"path": "hsv.h",
|
|
8967
|
+
"valueType": "number"
|
|
8968
|
+
},
|
|
8969
|
+
{
|
|
8970
|
+
"path": "hsv.s",
|
|
8971
|
+
"valueType": "number"
|
|
8972
|
+
},
|
|
8973
|
+
{
|
|
8974
|
+
"path": "hsv.v",
|
|
8975
|
+
"valueType": "number"
|
|
8976
|
+
},
|
|
8977
|
+
{
|
|
8978
|
+
"path": "mireds",
|
|
8979
|
+
"valueType": "number"
|
|
8980
|
+
}
|
|
8981
|
+
],
|
|
8982
|
+
"connectivity": [{
|
|
8983
|
+
"path": "connected",
|
|
8984
|
+
"valueType": "boolean"
|
|
8985
|
+
}],
|
|
8986
|
+
"contact": [{
|
|
8987
|
+
"path": "entryOpen",
|
|
8988
|
+
"valueType": "boolean"
|
|
8989
|
+
}],
|
|
8990
|
+
"control": [
|
|
8991
|
+
{
|
|
8992
|
+
"path": "kind",
|
|
8993
|
+
"valueType": "enum",
|
|
8994
|
+
"enumValues": [
|
|
8995
|
+
"numeric",
|
|
8996
|
+
"select",
|
|
8997
|
+
"text",
|
|
8998
|
+
"datetime"
|
|
8999
|
+
]
|
|
9000
|
+
},
|
|
9001
|
+
{
|
|
9002
|
+
"path": "unit",
|
|
9003
|
+
"valueType": "string"
|
|
9004
|
+
},
|
|
9005
|
+
{
|
|
9006
|
+
"path": "min",
|
|
9007
|
+
"valueType": "number"
|
|
9008
|
+
},
|
|
9009
|
+
{
|
|
9010
|
+
"path": "max",
|
|
9011
|
+
"valueType": "number"
|
|
9012
|
+
},
|
|
9013
|
+
{
|
|
9014
|
+
"path": "step",
|
|
9015
|
+
"valueType": "number"
|
|
9016
|
+
},
|
|
9017
|
+
{
|
|
9018
|
+
"path": "precision",
|
|
9019
|
+
"valueType": "number"
|
|
9020
|
+
},
|
|
9021
|
+
{
|
|
9022
|
+
"path": "format",
|
|
9023
|
+
"valueType": "enum",
|
|
9024
|
+
"enumValues": [
|
|
9025
|
+
"date",
|
|
9026
|
+
"time",
|
|
9027
|
+
"datetime"
|
|
9028
|
+
]
|
|
9029
|
+
}
|
|
9030
|
+
],
|
|
9031
|
+
"cover": [
|
|
9032
|
+
{
|
|
9033
|
+
"path": "state",
|
|
9034
|
+
"valueType": "enum",
|
|
9035
|
+
"enumValues": [
|
|
9036
|
+
"open",
|
|
9037
|
+
"opening",
|
|
9038
|
+
"closing",
|
|
9039
|
+
"closed",
|
|
9040
|
+
"stopped"
|
|
9041
|
+
]
|
|
9042
|
+
},
|
|
9043
|
+
{
|
|
9044
|
+
"path": "position",
|
|
9045
|
+
"valueType": "number"
|
|
9046
|
+
},
|
|
9047
|
+
{
|
|
9048
|
+
"path": "tiltPosition",
|
|
9049
|
+
"valueType": "number"
|
|
9050
|
+
}
|
|
9051
|
+
],
|
|
9052
|
+
"day-night": [
|
|
9053
|
+
{
|
|
9054
|
+
"path": "mode",
|
|
9055
|
+
"valueType": "enum",
|
|
9056
|
+
"enumValues": [
|
|
9057
|
+
"auto",
|
|
9058
|
+
"day",
|
|
9059
|
+
"night",
|
|
9060
|
+
"schedule"
|
|
9061
|
+
]
|
|
9062
|
+
},
|
|
9063
|
+
{
|
|
9064
|
+
"path": "sensitivity",
|
|
9065
|
+
"valueType": "number"
|
|
9066
|
+
},
|
|
9067
|
+
{
|
|
9068
|
+
"path": "switchDelaySec",
|
|
9069
|
+
"valueType": "number"
|
|
9070
|
+
}
|
|
9071
|
+
],
|
|
9072
|
+
"device-adoption": [
|
|
9073
|
+
{
|
|
9074
|
+
"path": "lastDiscoveryAt",
|
|
9075
|
+
"valueType": "number"
|
|
9076
|
+
},
|
|
9077
|
+
{
|
|
9078
|
+
"path": "candidateCount",
|
|
9079
|
+
"valueType": "number"
|
|
9080
|
+
},
|
|
9081
|
+
{
|
|
9082
|
+
"path": "adoptedCount",
|
|
9083
|
+
"valueType": "number"
|
|
9084
|
+
},
|
|
9085
|
+
{
|
|
9086
|
+
"path": "lastError",
|
|
9087
|
+
"valueType": "string"
|
|
9088
|
+
}
|
|
9089
|
+
],
|
|
9090
|
+
"device-discovery": [{
|
|
9091
|
+
"path": "lastDiscoveryAt",
|
|
9092
|
+
"valueType": "number"
|
|
9093
|
+
}, {
|
|
9094
|
+
"path": "lastError",
|
|
9095
|
+
"valueType": "string"
|
|
9096
|
+
}],
|
|
9097
|
+
"device-export": [
|
|
9098
|
+
{
|
|
9099
|
+
"path": "linkState",
|
|
9100
|
+
"valueType": "enum",
|
|
9101
|
+
"enumValues": [
|
|
9102
|
+
"unlinked",
|
|
9103
|
+
"linked",
|
|
9104
|
+
"error"
|
|
9105
|
+
]
|
|
9106
|
+
},
|
|
9107
|
+
{
|
|
9108
|
+
"path": "exposedDeviceCount",
|
|
9109
|
+
"valueType": "number"
|
|
9110
|
+
},
|
|
9111
|
+
{
|
|
9112
|
+
"path": "error",
|
|
9113
|
+
"valueType": "string"
|
|
9114
|
+
},
|
|
9115
|
+
{
|
|
9116
|
+
"path": "setup.qr",
|
|
9117
|
+
"valueType": "string"
|
|
9118
|
+
},
|
|
9119
|
+
{
|
|
9120
|
+
"path": "setup.note",
|
|
9121
|
+
"valueType": "string"
|
|
9122
|
+
}
|
|
9123
|
+
],
|
|
9124
|
+
"device-status": [{
|
|
9125
|
+
"path": "online",
|
|
9126
|
+
"valueType": "boolean"
|
|
9127
|
+
}],
|
|
9128
|
+
"dishwasher": [
|
|
9129
|
+
{
|
|
9130
|
+
"path": "availability",
|
|
9131
|
+
"valueType": "enum",
|
|
9132
|
+
"enumValues": [
|
|
9133
|
+
"available",
|
|
9134
|
+
"offline",
|
|
9135
|
+
"description-missing"
|
|
9136
|
+
]
|
|
9137
|
+
},
|
|
9138
|
+
{
|
|
9139
|
+
"path": "state",
|
|
9140
|
+
"valueType": "enum",
|
|
9141
|
+
"enumValues": [
|
|
9142
|
+
"idle",
|
|
9143
|
+
"running",
|
|
9144
|
+
"paused",
|
|
9145
|
+
"finished",
|
|
9146
|
+
"error",
|
|
9147
|
+
"unavailable"
|
|
9148
|
+
]
|
|
9149
|
+
},
|
|
9150
|
+
{
|
|
9151
|
+
"path": "operationState",
|
|
9152
|
+
"valueType": "enum",
|
|
9153
|
+
"enumValues": [
|
|
9154
|
+
"Inactive",
|
|
9155
|
+
"Ready",
|
|
9156
|
+
"DelayedStart",
|
|
9157
|
+
"Run",
|
|
9158
|
+
"Pause",
|
|
9159
|
+
"ActionRequired",
|
|
9160
|
+
"Finished",
|
|
9161
|
+
"Error",
|
|
9162
|
+
"Aborting"
|
|
9163
|
+
]
|
|
9164
|
+
},
|
|
9165
|
+
{
|
|
9166
|
+
"path": "program",
|
|
9167
|
+
"valueType": "string"
|
|
9168
|
+
},
|
|
9169
|
+
{
|
|
9170
|
+
"path": "selectedProgram",
|
|
9171
|
+
"valueType": "string"
|
|
9172
|
+
},
|
|
9173
|
+
{
|
|
9174
|
+
"path": "remainingSeconds",
|
|
9175
|
+
"valueType": "number"
|
|
9176
|
+
},
|
|
9177
|
+
{
|
|
9178
|
+
"path": "delayedStartSeconds",
|
|
9179
|
+
"valueType": "number"
|
|
9180
|
+
},
|
|
9181
|
+
{
|
|
9182
|
+
"path": "progressPercent",
|
|
9183
|
+
"valueType": "number"
|
|
9184
|
+
},
|
|
9185
|
+
{
|
|
9186
|
+
"path": "doorOpen",
|
|
9187
|
+
"valueType": "boolean"
|
|
9188
|
+
},
|
|
9189
|
+
{
|
|
9190
|
+
"path": "doorLocked",
|
|
9191
|
+
"valueType": "boolean"
|
|
9192
|
+
},
|
|
9193
|
+
{
|
|
9194
|
+
"path": "remoteStartAllowed",
|
|
9195
|
+
"valueType": "boolean"
|
|
9196
|
+
},
|
|
9197
|
+
{
|
|
9198
|
+
"path": "remoteControlActive",
|
|
9199
|
+
"valueType": "boolean"
|
|
9200
|
+
},
|
|
9201
|
+
{
|
|
9202
|
+
"path": "localControlActive",
|
|
9203
|
+
"valueType": "boolean"
|
|
9204
|
+
},
|
|
9205
|
+
{
|
|
9206
|
+
"path": "powerOn",
|
|
9207
|
+
"valueType": "boolean"
|
|
9208
|
+
},
|
|
9209
|
+
{
|
|
9210
|
+
"path": "powerState",
|
|
9211
|
+
"valueType": "string"
|
|
9212
|
+
},
|
|
9213
|
+
{
|
|
9214
|
+
"path": "filterCleaningDue",
|
|
9215
|
+
"valueType": "boolean"
|
|
9216
|
+
},
|
|
9217
|
+
{
|
|
9218
|
+
"path": "machineCareDue",
|
|
9219
|
+
"valueType": "boolean"
|
|
9220
|
+
},
|
|
9221
|
+
{
|
|
9222
|
+
"path": "machineCareRemainingRuns",
|
|
9223
|
+
"valueType": "number"
|
|
9224
|
+
},
|
|
9225
|
+
{
|
|
9226
|
+
"path": "halfLoad",
|
|
9227
|
+
"valueType": "boolean"
|
|
9228
|
+
},
|
|
9229
|
+
{
|
|
9230
|
+
"path": "hygienePlus",
|
|
9231
|
+
"valueType": "boolean"
|
|
9232
|
+
},
|
|
9233
|
+
{
|
|
9234
|
+
"path": "extraDry",
|
|
9235
|
+
"valueType": "boolean"
|
|
9236
|
+
},
|
|
9237
|
+
{
|
|
9238
|
+
"path": "intensiveZone",
|
|
9239
|
+
"valueType": "boolean"
|
|
9240
|
+
},
|
|
9241
|
+
{
|
|
9242
|
+
"path": "varioSpeedPlus",
|
|
9243
|
+
"valueType": "boolean"
|
|
9244
|
+
},
|
|
9245
|
+
{
|
|
9246
|
+
"path": "childLock",
|
|
9247
|
+
"valueType": "boolean"
|
|
9248
|
+
},
|
|
9249
|
+
{
|
|
9250
|
+
"path": "errorCode",
|
|
9251
|
+
"valueType": "number"
|
|
9252
|
+
},
|
|
9253
|
+
{
|
|
9254
|
+
"path": "errorLabel",
|
|
9255
|
+
"valueType": "string"
|
|
9256
|
+
}
|
|
9257
|
+
],
|
|
9258
|
+
"doorbell": [{
|
|
9259
|
+
"path": "lastPressedAt",
|
|
9260
|
+
"valueType": "number"
|
|
9261
|
+
}, {
|
|
9262
|
+
"path": "pressCountSinceStart",
|
|
9263
|
+
"valueType": "number"
|
|
9264
|
+
}],
|
|
9265
|
+
"enum-sensor": [{
|
|
9266
|
+
"path": "value",
|
|
9267
|
+
"valueType": "string"
|
|
9268
|
+
}, {
|
|
9269
|
+
"path": "format",
|
|
9270
|
+
"valueType": "enum",
|
|
9271
|
+
"enumValues": [
|
|
9272
|
+
"date",
|
|
9273
|
+
"time",
|
|
9274
|
+
"datetime"
|
|
9275
|
+
]
|
|
9276
|
+
}],
|
|
9277
|
+
"event-emitter": [
|
|
9278
|
+
{
|
|
9279
|
+
"path": "lastEvent.deviceId",
|
|
9280
|
+
"valueType": "number"
|
|
9281
|
+
},
|
|
9282
|
+
{
|
|
9283
|
+
"path": "lastEvent.eventType",
|
|
9284
|
+
"valueType": "string"
|
|
9285
|
+
},
|
|
9286
|
+
{
|
|
9287
|
+
"path": "lastEvent.timestamp",
|
|
9288
|
+
"valueType": "number"
|
|
9289
|
+
},
|
|
9290
|
+
{
|
|
9291
|
+
"path": "lastEvent.seq",
|
|
9292
|
+
"valueType": "number"
|
|
9293
|
+
},
|
|
9294
|
+
{
|
|
9295
|
+
"path": "eventCountSinceStart",
|
|
9296
|
+
"valueType": "number"
|
|
9297
|
+
}
|
|
9298
|
+
],
|
|
9299
|
+
"fan-control": [
|
|
9300
|
+
{
|
|
9301
|
+
"path": "percentage",
|
|
9302
|
+
"valueType": "number"
|
|
9303
|
+
},
|
|
9304
|
+
{
|
|
9305
|
+
"path": "percentageStep",
|
|
9306
|
+
"valueType": "number"
|
|
9307
|
+
},
|
|
9308
|
+
{
|
|
9309
|
+
"path": "preset",
|
|
9310
|
+
"valueType": "string"
|
|
9311
|
+
},
|
|
9312
|
+
{
|
|
9313
|
+
"path": "direction",
|
|
9314
|
+
"valueType": "enum",
|
|
9315
|
+
"enumValues": ["forward", "reverse"]
|
|
9316
|
+
},
|
|
9317
|
+
{
|
|
9318
|
+
"path": "oscillating",
|
|
9319
|
+
"valueType": "boolean"
|
|
9320
|
+
}
|
|
9321
|
+
],
|
|
9322
|
+
"feature-probe": [
|
|
9323
|
+
{
|
|
9324
|
+
"path": "deviceType",
|
|
9325
|
+
"valueType": "string"
|
|
9326
|
+
},
|
|
9327
|
+
{
|
|
9328
|
+
"path": "model",
|
|
9329
|
+
"valueType": "string"
|
|
9330
|
+
},
|
|
9331
|
+
{
|
|
9332
|
+
"path": "channelCount",
|
|
9333
|
+
"valueType": "number"
|
|
9334
|
+
},
|
|
9335
|
+
{
|
|
9336
|
+
"path": "lastProbedAt",
|
|
9337
|
+
"valueType": "number"
|
|
9338
|
+
}
|
|
9339
|
+
],
|
|
9340
|
+
"flood": [{
|
|
9341
|
+
"path": "flooded",
|
|
9342
|
+
"valueType": "boolean"
|
|
9343
|
+
}],
|
|
9344
|
+
"gas": [{
|
|
9345
|
+
"path": "detected",
|
|
9346
|
+
"valueType": "boolean"
|
|
9347
|
+
}],
|
|
9348
|
+
"heating-valve": [{
|
|
9349
|
+
"path": "position",
|
|
9350
|
+
"valueType": "number"
|
|
9351
|
+
}],
|
|
9352
|
+
"humidifier": [
|
|
9353
|
+
{
|
|
9354
|
+
"path": "on",
|
|
9355
|
+
"valueType": "boolean"
|
|
9356
|
+
},
|
|
9357
|
+
{
|
|
9358
|
+
"path": "currentHumidity",
|
|
9359
|
+
"valueType": "number"
|
|
9360
|
+
},
|
|
9361
|
+
{
|
|
9362
|
+
"path": "targetHumidity",
|
|
9363
|
+
"valueType": "number"
|
|
9364
|
+
},
|
|
9365
|
+
{
|
|
9366
|
+
"path": "mode",
|
|
9367
|
+
"valueType": "string"
|
|
9368
|
+
},
|
|
9369
|
+
{
|
|
9370
|
+
"path": "action",
|
|
9371
|
+
"valueType": "string"
|
|
9372
|
+
},
|
|
9373
|
+
{
|
|
9374
|
+
"path": "minHumidity",
|
|
9375
|
+
"valueType": "number"
|
|
9376
|
+
},
|
|
9377
|
+
{
|
|
9378
|
+
"path": "maxHumidity",
|
|
9379
|
+
"valueType": "number"
|
|
9380
|
+
}
|
|
9381
|
+
],
|
|
9382
|
+
"humidity-sensor": [
|
|
9383
|
+
{
|
|
9384
|
+
"path": "percent",
|
|
9385
|
+
"valueType": "number"
|
|
9386
|
+
},
|
|
9387
|
+
{
|
|
9388
|
+
"path": "unit",
|
|
9389
|
+
"valueType": "string"
|
|
9390
|
+
},
|
|
9391
|
+
{
|
|
9392
|
+
"path": "precision",
|
|
9393
|
+
"valueType": "number"
|
|
9394
|
+
}
|
|
9395
|
+
],
|
|
9396
|
+
"image": [{
|
|
9397
|
+
"path": "url",
|
|
9398
|
+
"valueType": "string"
|
|
9399
|
+
}, {
|
|
9400
|
+
"path": "lastUpdated",
|
|
9401
|
+
"valueType": "number"
|
|
9402
|
+
}],
|
|
9403
|
+
"image-settings": [
|
|
9404
|
+
{
|
|
9405
|
+
"path": "brightness",
|
|
9406
|
+
"valueType": "number"
|
|
9407
|
+
},
|
|
9408
|
+
{
|
|
9409
|
+
"path": "contrast",
|
|
9410
|
+
"valueType": "number"
|
|
9411
|
+
},
|
|
9412
|
+
{
|
|
9413
|
+
"path": "saturation",
|
|
9414
|
+
"valueType": "number"
|
|
9415
|
+
},
|
|
9416
|
+
{
|
|
9417
|
+
"path": "sharpness",
|
|
9418
|
+
"valueType": "number"
|
|
9419
|
+
},
|
|
9420
|
+
{
|
|
9421
|
+
"path": "mirror",
|
|
9422
|
+
"valueType": "boolean"
|
|
9423
|
+
},
|
|
9424
|
+
{
|
|
9425
|
+
"path": "flip",
|
|
9426
|
+
"valueType": "boolean"
|
|
9427
|
+
},
|
|
9428
|
+
{
|
|
9429
|
+
"path": "rotate",
|
|
9430
|
+
"valueType": "enum",
|
|
9431
|
+
"enumValues": [
|
|
9432
|
+
"0",
|
|
9433
|
+
"90",
|
|
9434
|
+
"180",
|
|
9435
|
+
"270"
|
|
9436
|
+
]
|
|
9437
|
+
},
|
|
9438
|
+
{
|
|
9439
|
+
"path": "whiteBalance",
|
|
9440
|
+
"valueType": "enum",
|
|
9441
|
+
"enumValues": ["auto", "manual"]
|
|
9442
|
+
},
|
|
9443
|
+
{
|
|
9444
|
+
"path": "warmth",
|
|
9445
|
+
"valueType": "number"
|
|
9446
|
+
},
|
|
9447
|
+
{
|
|
9448
|
+
"path": "exposureMode",
|
|
9449
|
+
"valueType": "enum",
|
|
9450
|
+
"enumValues": ["auto", "manual"]
|
|
9451
|
+
},
|
|
9452
|
+
{
|
|
9453
|
+
"path": "backlightMode",
|
|
9454
|
+
"valueType": "enum",
|
|
9455
|
+
"enumValues": [
|
|
9456
|
+
"off",
|
|
9457
|
+
"blc",
|
|
9458
|
+
"wdr",
|
|
9459
|
+
"hlc"
|
|
9460
|
+
]
|
|
9461
|
+
}
|
|
9462
|
+
],
|
|
9463
|
+
"intercom": [
|
|
9464
|
+
{
|
|
9465
|
+
"path": "talking",
|
|
9466
|
+
"valueType": "boolean"
|
|
9467
|
+
},
|
|
9468
|
+
{
|
|
9469
|
+
"path": "lastSessionAt",
|
|
9470
|
+
"valueType": "number"
|
|
9471
|
+
},
|
|
9472
|
+
{
|
|
9473
|
+
"path": "ability.sampleRate",
|
|
9474
|
+
"valueType": "number"
|
|
9475
|
+
},
|
|
9476
|
+
{
|
|
9477
|
+
"path": "ability.duplex",
|
|
9478
|
+
"valueType": "enum",
|
|
9479
|
+
"enumValues": ["half", "full"]
|
|
9480
|
+
},
|
|
9481
|
+
{
|
|
9482
|
+
"path": "ability.maxBacklogMs",
|
|
9483
|
+
"valueType": "number"
|
|
9484
|
+
}
|
|
9485
|
+
],
|
|
9486
|
+
"lawn-mower-control": [
|
|
9487
|
+
{
|
|
9488
|
+
"path": "activity",
|
|
9489
|
+
"valueType": "enum",
|
|
9490
|
+
"enumValues": [
|
|
9491
|
+
"idle",
|
|
9492
|
+
"mowing",
|
|
9493
|
+
"paused",
|
|
9494
|
+
"docked",
|
|
9495
|
+
"error"
|
|
9496
|
+
]
|
|
9497
|
+
},
|
|
9498
|
+
{
|
|
9499
|
+
"path": "batteryLevel",
|
|
9500
|
+
"valueType": "number"
|
|
9501
|
+
},
|
|
9502
|
+
{
|
|
9503
|
+
"path": "progressPercent",
|
|
9504
|
+
"valueType": "number"
|
|
9505
|
+
},
|
|
9506
|
+
{
|
|
9507
|
+
"path": "currentCode",
|
|
9508
|
+
"valueType": "number"
|
|
9509
|
+
},
|
|
9510
|
+
{
|
|
9511
|
+
"path": "currentCodeLabel",
|
|
9512
|
+
"valueType": "string"
|
|
9513
|
+
},
|
|
9514
|
+
{
|
|
9515
|
+
"path": "severity",
|
|
9516
|
+
"valueType": "enum",
|
|
9517
|
+
"enumValues": [
|
|
9518
|
+
"info",
|
|
9519
|
+
"warning",
|
|
9520
|
+
"error"
|
|
9521
|
+
]
|
|
9522
|
+
}
|
|
9523
|
+
],
|
|
9524
|
+
"lock-control": [{
|
|
9525
|
+
"path": "state",
|
|
9526
|
+
"valueType": "enum",
|
|
9527
|
+
"enumValues": [
|
|
9528
|
+
"locked",
|
|
9529
|
+
"unlocked",
|
|
9530
|
+
"locking",
|
|
9531
|
+
"unlocking",
|
|
9532
|
+
"jammed"
|
|
9533
|
+
]
|
|
9534
|
+
}],
|
|
9535
|
+
"media-player": [
|
|
9536
|
+
{
|
|
9537
|
+
"path": "state",
|
|
9538
|
+
"valueType": "enum",
|
|
9539
|
+
"enumValues": [
|
|
9540
|
+
"off",
|
|
9541
|
+
"on",
|
|
9542
|
+
"idle",
|
|
9543
|
+
"playing",
|
|
9544
|
+
"paused",
|
|
9545
|
+
"buffering",
|
|
9546
|
+
"standby"
|
|
9547
|
+
]
|
|
9548
|
+
},
|
|
9549
|
+
{
|
|
9550
|
+
"path": "volumeLevel",
|
|
9551
|
+
"valueType": "number"
|
|
9552
|
+
},
|
|
9553
|
+
{
|
|
9554
|
+
"path": "isMuted",
|
|
9555
|
+
"valueType": "boolean"
|
|
9556
|
+
},
|
|
9557
|
+
{
|
|
9558
|
+
"path": "source",
|
|
9559
|
+
"valueType": "string"
|
|
9560
|
+
},
|
|
9561
|
+
{
|
|
9562
|
+
"path": "currentMedia.type",
|
|
9563
|
+
"valueType": "string"
|
|
9564
|
+
},
|
|
9565
|
+
{
|
|
9566
|
+
"path": "currentMedia.title",
|
|
9567
|
+
"valueType": "string"
|
|
9568
|
+
},
|
|
9569
|
+
{
|
|
9570
|
+
"path": "currentMedia.artist",
|
|
9571
|
+
"valueType": "string"
|
|
9572
|
+
},
|
|
9573
|
+
{
|
|
9574
|
+
"path": "currentMedia.album",
|
|
9575
|
+
"valueType": "string"
|
|
9576
|
+
},
|
|
9577
|
+
{
|
|
9578
|
+
"path": "currentMedia.imageUrl",
|
|
9579
|
+
"valueType": "string"
|
|
9580
|
+
},
|
|
9581
|
+
{
|
|
9582
|
+
"path": "positionMs",
|
|
9583
|
+
"valueType": "number"
|
|
9584
|
+
},
|
|
9585
|
+
{
|
|
9586
|
+
"path": "durationMs",
|
|
9587
|
+
"valueType": "number"
|
|
9588
|
+
},
|
|
9589
|
+
{
|
|
9590
|
+
"path": "shuffle",
|
|
9591
|
+
"valueType": "boolean"
|
|
9592
|
+
},
|
|
9593
|
+
{
|
|
9594
|
+
"path": "repeat",
|
|
9595
|
+
"valueType": "enum",
|
|
9596
|
+
"enumValues": [
|
|
9597
|
+
"off",
|
|
9598
|
+
"all",
|
|
9599
|
+
"one"
|
|
9600
|
+
]
|
|
9601
|
+
}
|
|
9602
|
+
],
|
|
9603
|
+
"motion": [
|
|
9604
|
+
{
|
|
9605
|
+
"path": "detected",
|
|
9606
|
+
"valueType": "boolean"
|
|
9607
|
+
},
|
|
9608
|
+
{
|
|
9609
|
+
"path": "lastDetectedAt",
|
|
9610
|
+
"valueType": "number"
|
|
9611
|
+
},
|
|
9612
|
+
{
|
|
9613
|
+
"path": "autoClearAfterMs",
|
|
9614
|
+
"valueType": "number"
|
|
9615
|
+
}
|
|
9616
|
+
],
|
|
9617
|
+
"motion-trigger": [{
|
|
9618
|
+
"path": "enabled",
|
|
9619
|
+
"valueType": "boolean"
|
|
9620
|
+
}],
|
|
9621
|
+
"motion-zones": [{
|
|
9622
|
+
"path": "enabled",
|
|
9623
|
+
"valueType": "boolean"
|
|
9624
|
+
}, {
|
|
9625
|
+
"path": "sensitivity",
|
|
9626
|
+
"valueType": "number"
|
|
9627
|
+
}],
|
|
9628
|
+
"mqtt-broker": [{
|
|
9629
|
+
"path": "brokerCount",
|
|
9630
|
+
"valueType": "number"
|
|
9631
|
+
}, {
|
|
9632
|
+
"path": "embeddedRunning",
|
|
9633
|
+
"valueType": "boolean"
|
|
9634
|
+
}],
|
|
9635
|
+
"native-object-detection": [{
|
|
9636
|
+
"path": "enabled",
|
|
9637
|
+
"valueType": "boolean"
|
|
9638
|
+
}],
|
|
9639
|
+
"navigation": [
|
|
9640
|
+
{
|
|
9641
|
+
"path": "mode",
|
|
9642
|
+
"valueType": "enum",
|
|
9643
|
+
"enumValues": [
|
|
9644
|
+
"idle",
|
|
9645
|
+
"cleaning",
|
|
9646
|
+
"spot",
|
|
9647
|
+
"following",
|
|
9648
|
+
"goto",
|
|
9649
|
+
"returning",
|
|
9650
|
+
"paused",
|
|
9651
|
+
"unknown"
|
|
9652
|
+
]
|
|
9653
|
+
},
|
|
9654
|
+
{
|
|
9655
|
+
"path": "following",
|
|
9656
|
+
"valueType": "boolean"
|
|
9657
|
+
},
|
|
9658
|
+
{
|
|
9659
|
+
"path": "flash",
|
|
9660
|
+
"valueType": "boolean"
|
|
9661
|
+
},
|
|
9662
|
+
{
|
|
9663
|
+
"path": "lightMode",
|
|
9664
|
+
"valueType": "enum",
|
|
9665
|
+
"enumValues": ["auto", "manual"]
|
|
9666
|
+
},
|
|
9667
|
+
{
|
|
9668
|
+
"path": "lightLevel",
|
|
9669
|
+
"valueType": "number"
|
|
9670
|
+
}
|
|
9671
|
+
],
|
|
9672
|
+
"network-link": [
|
|
9673
|
+
{
|
|
9674
|
+
"path": "type",
|
|
9675
|
+
"valueType": "enum",
|
|
9676
|
+
"enumValues": [
|
|
9677
|
+
"wifi",
|
|
9678
|
+
"ethernet",
|
|
9679
|
+
"cellular",
|
|
9680
|
+
"unknown"
|
|
9681
|
+
]
|
|
9682
|
+
},
|
|
9683
|
+
{
|
|
9684
|
+
"path": "signalPercent",
|
|
9685
|
+
"valueType": "number"
|
|
9686
|
+
},
|
|
9687
|
+
{
|
|
9688
|
+
"path": "rssiDbm",
|
|
9689
|
+
"valueType": "number"
|
|
9690
|
+
},
|
|
9691
|
+
{
|
|
9692
|
+
"path": "ssid",
|
|
9693
|
+
"valueType": "string"
|
|
9694
|
+
},
|
|
9695
|
+
{
|
|
9696
|
+
"path": "lastUpdated",
|
|
9697
|
+
"valueType": "number"
|
|
9698
|
+
}
|
|
9699
|
+
],
|
|
9700
|
+
"notifier": [
|
|
9701
|
+
{
|
|
9702
|
+
"path": "lastSentAt",
|
|
9703
|
+
"valueType": "number"
|
|
9704
|
+
},
|
|
9705
|
+
{
|
|
9706
|
+
"path": "lastError",
|
|
9707
|
+
"valueType": "string"
|
|
9708
|
+
},
|
|
9709
|
+
{
|
|
9710
|
+
"path": "queueDepth",
|
|
9711
|
+
"valueType": "number"
|
|
9712
|
+
},
|
|
9713
|
+
{
|
|
9714
|
+
"path": "supports.image",
|
|
9715
|
+
"valueType": "boolean"
|
|
9716
|
+
},
|
|
9717
|
+
{
|
|
9718
|
+
"path": "supports.priority",
|
|
9719
|
+
"valueType": "boolean"
|
|
9720
|
+
},
|
|
9721
|
+
{
|
|
9722
|
+
"path": "supports.data",
|
|
9723
|
+
"valueType": "boolean"
|
|
9724
|
+
},
|
|
9725
|
+
{
|
|
9726
|
+
"path": "supports.actions",
|
|
9727
|
+
"valueType": "boolean"
|
|
9728
|
+
},
|
|
9729
|
+
{
|
|
9730
|
+
"path": "supports.recipients",
|
|
9731
|
+
"valueType": "boolean"
|
|
9732
|
+
}
|
|
9733
|
+
],
|
|
9734
|
+
"numeric-sensor": [
|
|
9735
|
+
{
|
|
9736
|
+
"path": "value",
|
|
9737
|
+
"valueType": "number"
|
|
9738
|
+
},
|
|
9739
|
+
{
|
|
9740
|
+
"path": "unit",
|
|
9741
|
+
"valueType": "string"
|
|
9742
|
+
},
|
|
9743
|
+
{
|
|
9744
|
+
"path": "precision",
|
|
9745
|
+
"valueType": "number"
|
|
9746
|
+
}
|
|
9747
|
+
],
|
|
9748
|
+
"pet-feeder": [
|
|
9749
|
+
{
|
|
9750
|
+
"path": "foodLevel",
|
|
9751
|
+
"valueType": "number"
|
|
9752
|
+
},
|
|
9753
|
+
{
|
|
9754
|
+
"path": "food1",
|
|
9755
|
+
"valueType": "number"
|
|
9756
|
+
},
|
|
9757
|
+
{
|
|
9758
|
+
"path": "food2",
|
|
9759
|
+
"valueType": "number"
|
|
9760
|
+
},
|
|
9761
|
+
{
|
|
9762
|
+
"path": "lowFood",
|
|
9763
|
+
"valueType": "boolean"
|
|
9764
|
+
},
|
|
9765
|
+
{
|
|
9766
|
+
"path": "batteryPower",
|
|
9767
|
+
"valueType": "number"
|
|
9768
|
+
},
|
|
9769
|
+
{
|
|
9770
|
+
"path": "desiccantLeftDays",
|
|
9771
|
+
"valueType": "number"
|
|
9772
|
+
},
|
|
9773
|
+
{
|
|
9774
|
+
"path": "feeding",
|
|
9775
|
+
"valueType": "boolean"
|
|
9776
|
+
},
|
|
9777
|
+
{
|
|
9778
|
+
"path": "status",
|
|
9779
|
+
"valueType": "enum",
|
|
9780
|
+
"enumValues": [
|
|
9781
|
+
"normal",
|
|
9782
|
+
"offline",
|
|
9783
|
+
"on_batteries"
|
|
9784
|
+
]
|
|
9785
|
+
},
|
|
9786
|
+
{
|
|
9787
|
+
"path": "error",
|
|
9788
|
+
"valueType": "string"
|
|
9789
|
+
},
|
|
9790
|
+
{
|
|
9791
|
+
"path": "errorCode",
|
|
9792
|
+
"valueType": "number"
|
|
9793
|
+
},
|
|
9794
|
+
{
|
|
9795
|
+
"path": "isDualHopper",
|
|
9796
|
+
"valueType": "boolean"
|
|
9797
|
+
},
|
|
9798
|
+
{
|
|
9799
|
+
"path": "childLock",
|
|
9800
|
+
"valueType": "boolean"
|
|
9801
|
+
},
|
|
9802
|
+
{
|
|
9803
|
+
"path": "indicatorLight",
|
|
9804
|
+
"valueType": "boolean"
|
|
9805
|
+
},
|
|
9806
|
+
{
|
|
9807
|
+
"path": "feedSound",
|
|
9808
|
+
"valueType": "boolean"
|
|
9809
|
+
},
|
|
9810
|
+
{
|
|
9811
|
+
"path": "volume",
|
|
9812
|
+
"valueType": "number"
|
|
9813
|
+
}
|
|
9814
|
+
],
|
|
9815
|
+
"power-meter": [
|
|
9816
|
+
{
|
|
9817
|
+
"path": "watts",
|
|
9818
|
+
"valueType": "number"
|
|
9819
|
+
},
|
|
9820
|
+
{
|
|
9821
|
+
"path": "kwhTotal",
|
|
9822
|
+
"valueType": "number"
|
|
9823
|
+
},
|
|
9824
|
+
{
|
|
9825
|
+
"path": "volts",
|
|
9826
|
+
"valueType": "number"
|
|
9827
|
+
},
|
|
9828
|
+
{
|
|
9829
|
+
"path": "amps",
|
|
9830
|
+
"valueType": "number"
|
|
9831
|
+
},
|
|
9832
|
+
{
|
|
9833
|
+
"path": "va",
|
|
9834
|
+
"valueType": "number"
|
|
9835
|
+
},
|
|
9836
|
+
{
|
|
9837
|
+
"path": "powerFactor",
|
|
9838
|
+
"valueType": "number"
|
|
9839
|
+
},
|
|
9840
|
+
{
|
|
9841
|
+
"path": "unit",
|
|
9842
|
+
"valueType": "string"
|
|
9843
|
+
},
|
|
9844
|
+
{
|
|
9845
|
+
"path": "precision",
|
|
9846
|
+
"valueType": "number"
|
|
9847
|
+
}
|
|
9848
|
+
],
|
|
9849
|
+
"presence": [
|
|
9850
|
+
{
|
|
9851
|
+
"path": "state",
|
|
9852
|
+
"valueType": "string"
|
|
9853
|
+
},
|
|
9854
|
+
{
|
|
9855
|
+
"path": "location",
|
|
9856
|
+
"valueType": "string"
|
|
9857
|
+
},
|
|
9858
|
+
{
|
|
9859
|
+
"path": "gps.latitude",
|
|
9860
|
+
"valueType": "number"
|
|
9861
|
+
},
|
|
9862
|
+
{
|
|
9863
|
+
"path": "gps.longitude",
|
|
9864
|
+
"valueType": "number"
|
|
9865
|
+
},
|
|
9866
|
+
{
|
|
9867
|
+
"path": "gps.accuracyMeters",
|
|
9868
|
+
"valueType": "number"
|
|
9869
|
+
},
|
|
9870
|
+
{
|
|
9871
|
+
"path": "batteryPercent",
|
|
9872
|
+
"valueType": "number"
|
|
9873
|
+
}
|
|
9874
|
+
],
|
|
9875
|
+
"pressure-sensor": [
|
|
9876
|
+
{
|
|
9877
|
+
"path": "hpa",
|
|
9878
|
+
"valueType": "number"
|
|
9879
|
+
},
|
|
9880
|
+
{
|
|
9881
|
+
"path": "unit",
|
|
9882
|
+
"valueType": "string"
|
|
9883
|
+
},
|
|
9884
|
+
{
|
|
9885
|
+
"path": "precision",
|
|
9886
|
+
"valueType": "number"
|
|
9887
|
+
}
|
|
9888
|
+
],
|
|
9889
|
+
"privacy-mask": [{
|
|
9890
|
+
"path": "enabled",
|
|
9891
|
+
"valueType": "boolean"
|
|
9892
|
+
}, {
|
|
9893
|
+
"path": "audioEnabled",
|
|
9894
|
+
"valueType": "boolean"
|
|
9895
|
+
}],
|
|
9896
|
+
"ptz": [
|
|
9897
|
+
{
|
|
9898
|
+
"path": "pan",
|
|
9899
|
+
"valueType": "number"
|
|
9900
|
+
},
|
|
9901
|
+
{
|
|
9902
|
+
"path": "tilt",
|
|
9903
|
+
"valueType": "number"
|
|
9904
|
+
},
|
|
9905
|
+
{
|
|
9906
|
+
"path": "zoom",
|
|
9907
|
+
"valueType": "number"
|
|
9908
|
+
},
|
|
9909
|
+
{
|
|
9910
|
+
"path": "autofocus",
|
|
9911
|
+
"valueType": "boolean"
|
|
9912
|
+
}
|
|
9913
|
+
],
|
|
9914
|
+
"ptz-autotrack": [
|
|
9915
|
+
{
|
|
9916
|
+
"path": "enabled",
|
|
9917
|
+
"valueType": "boolean"
|
|
9918
|
+
},
|
|
9919
|
+
{
|
|
9920
|
+
"path": "currentSettings.targetType",
|
|
9921
|
+
"valueType": "string"
|
|
9922
|
+
},
|
|
9923
|
+
{
|
|
9924
|
+
"path": "currentSettings.stopDelaySeconds",
|
|
9925
|
+
"valueType": "number"
|
|
9926
|
+
},
|
|
9927
|
+
{
|
|
9928
|
+
"path": "currentSettings.disappearDelaySeconds",
|
|
9929
|
+
"valueType": "number"
|
|
9930
|
+
}
|
|
9931
|
+
],
|
|
9932
|
+
"recording-archive": [
|
|
9933
|
+
{
|
|
9934
|
+
"path": "deviceId",
|
|
9935
|
+
"valueType": "number"
|
|
9936
|
+
},
|
|
9937
|
+
{
|
|
9938
|
+
"path": "enabled",
|
|
9939
|
+
"valueType": "boolean"
|
|
9940
|
+
},
|
|
9941
|
+
{
|
|
9942
|
+
"path": "activeMode",
|
|
9943
|
+
"valueType": "enum",
|
|
9944
|
+
"enumValues": [
|
|
9945
|
+
"off",
|
|
9946
|
+
"events",
|
|
9947
|
+
"continuous",
|
|
9948
|
+
"on-device-decision"
|
|
9949
|
+
]
|
|
9950
|
+
},
|
|
9951
|
+
{
|
|
9952
|
+
"path": "nodeId",
|
|
9953
|
+
"valueType": "string"
|
|
9954
|
+
},
|
|
9955
|
+
{
|
|
9956
|
+
"path": "storageBytes",
|
|
9957
|
+
"valueType": "number"
|
|
9958
|
+
}
|
|
9959
|
+
],
|
|
9960
|
+
"recording-onboard": [
|
|
9961
|
+
{
|
|
9962
|
+
"path": "primaryTrackId",
|
|
9963
|
+
"valueType": "string"
|
|
9964
|
+
},
|
|
9965
|
+
{
|
|
9966
|
+
"path": "enabled",
|
|
9967
|
+
"valueType": "boolean"
|
|
9968
|
+
},
|
|
9969
|
+
{
|
|
9970
|
+
"path": "overwriteWhenFull",
|
|
9971
|
+
"valueType": "boolean"
|
|
9972
|
+
},
|
|
9973
|
+
{
|
|
9974
|
+
"path": "preRecordSec",
|
|
9975
|
+
"valueType": "number"
|
|
9976
|
+
},
|
|
9977
|
+
{
|
|
9978
|
+
"path": "postRecordSec",
|
|
9979
|
+
"valueType": "number"
|
|
9980
|
+
},
|
|
9981
|
+
{
|
|
9982
|
+
"path": "segmentMinutes",
|
|
9983
|
+
"valueType": "number"
|
|
9984
|
+
},
|
|
9985
|
+
{
|
|
9986
|
+
"path": "unreadableWindows",
|
|
9987
|
+
"valueType": "number"
|
|
9988
|
+
},
|
|
9989
|
+
{
|
|
9990
|
+
"path": "recordingToNowhere",
|
|
9991
|
+
"valueType": "boolean"
|
|
9992
|
+
}
|
|
9993
|
+
],
|
|
9994
|
+
"recording-signal": [{
|
|
9995
|
+
"path": "active",
|
|
9996
|
+
"valueType": "boolean"
|
|
9997
|
+
}, {
|
|
9998
|
+
"path": "reason",
|
|
9999
|
+
"valueType": "string"
|
|
10000
|
+
}],
|
|
10001
|
+
"running-state": [
|
|
10002
|
+
{
|
|
10003
|
+
"path": "running",
|
|
10004
|
+
"valueType": "boolean"
|
|
10005
|
+
},
|
|
10006
|
+
{
|
|
10007
|
+
"path": "since",
|
|
10008
|
+
"valueType": "number"
|
|
10009
|
+
},
|
|
10010
|
+
{
|
|
10011
|
+
"path": "source",
|
|
10012
|
+
"valueType": "enum",
|
|
10013
|
+
"enumValues": ["native", "assigned"]
|
|
10014
|
+
},
|
|
10015
|
+
{
|
|
10016
|
+
"path": "phase",
|
|
10017
|
+
"valueType": "string"
|
|
10018
|
+
}
|
|
10019
|
+
],
|
|
10020
|
+
"script-runner": [
|
|
10021
|
+
{
|
|
10022
|
+
"path": "isRunning",
|
|
10023
|
+
"valueType": "boolean"
|
|
10024
|
+
},
|
|
10025
|
+
{
|
|
10026
|
+
"path": "lastRunAt",
|
|
10027
|
+
"valueType": "number"
|
|
10028
|
+
},
|
|
10029
|
+
{
|
|
10030
|
+
"path": "lastRunSuccess",
|
|
10031
|
+
"valueType": "boolean"
|
|
10032
|
+
},
|
|
10033
|
+
{
|
|
10034
|
+
"path": "lastError",
|
|
10035
|
+
"valueType": "string"
|
|
10036
|
+
}
|
|
10037
|
+
],
|
|
10038
|
+
"smoke": [{
|
|
10039
|
+
"path": "detected",
|
|
10040
|
+
"valueType": "boolean"
|
|
10041
|
+
}],
|
|
10042
|
+
"snapshot": [
|
|
10043
|
+
{
|
|
10044
|
+
"path": "lastCapturedAt",
|
|
10045
|
+
"valueType": "number"
|
|
10046
|
+
},
|
|
10047
|
+
{
|
|
10048
|
+
"path": "cacheAgeMs",
|
|
10049
|
+
"valueType": "number"
|
|
10050
|
+
},
|
|
10051
|
+
{
|
|
10052
|
+
"path": "lastBytes",
|
|
10053
|
+
"valueType": "number"
|
|
10054
|
+
},
|
|
10055
|
+
{
|
|
10056
|
+
"path": "lastStreamId",
|
|
10057
|
+
"valueType": "string"
|
|
10058
|
+
}
|
|
10059
|
+
],
|
|
10060
|
+
"stream-params": [
|
|
10061
|
+
{
|
|
10062
|
+
"path": "main.width",
|
|
10063
|
+
"valueType": "number"
|
|
10064
|
+
},
|
|
10065
|
+
{
|
|
10066
|
+
"path": "main.height",
|
|
10067
|
+
"valueType": "number"
|
|
10068
|
+
},
|
|
10069
|
+
{
|
|
10070
|
+
"path": "main.codec",
|
|
10071
|
+
"valueType": "enum",
|
|
10072
|
+
"enumValues": ["h264", "h265"]
|
|
10073
|
+
},
|
|
10074
|
+
{
|
|
10075
|
+
"path": "main.framerate",
|
|
10076
|
+
"valueType": "number"
|
|
10077
|
+
},
|
|
10078
|
+
{
|
|
10079
|
+
"path": "main.bitrate",
|
|
10080
|
+
"valueType": "number"
|
|
10081
|
+
},
|
|
10082
|
+
{
|
|
10083
|
+
"path": "main.bitrateMode",
|
|
10084
|
+
"valueType": "enum",
|
|
10085
|
+
"enumValues": ["vbr", "cbr"]
|
|
10086
|
+
},
|
|
10087
|
+
{
|
|
10088
|
+
"path": "main.encoderProfile",
|
|
10089
|
+
"valueType": "enum",
|
|
10090
|
+
"enumValues": [
|
|
10091
|
+
"high",
|
|
10092
|
+
"main",
|
|
10093
|
+
"baseline"
|
|
10094
|
+
]
|
|
10095
|
+
},
|
|
10096
|
+
{
|
|
10097
|
+
"path": "main.gop",
|
|
10098
|
+
"valueType": "number"
|
|
10099
|
+
},
|
|
10100
|
+
{
|
|
10101
|
+
"path": "main.audio",
|
|
10102
|
+
"valueType": "boolean"
|
|
10103
|
+
},
|
|
10104
|
+
{
|
|
10105
|
+
"path": "sub.width",
|
|
10106
|
+
"valueType": "number"
|
|
10107
|
+
},
|
|
10108
|
+
{
|
|
10109
|
+
"path": "sub.height",
|
|
10110
|
+
"valueType": "number"
|
|
10111
|
+
},
|
|
10112
|
+
{
|
|
10113
|
+
"path": "sub.codec",
|
|
10114
|
+
"valueType": "enum",
|
|
10115
|
+
"enumValues": ["h264", "h265"]
|
|
10116
|
+
},
|
|
10117
|
+
{
|
|
10118
|
+
"path": "sub.framerate",
|
|
10119
|
+
"valueType": "number"
|
|
10120
|
+
},
|
|
10121
|
+
{
|
|
10122
|
+
"path": "sub.bitrate",
|
|
10123
|
+
"valueType": "number"
|
|
10124
|
+
},
|
|
10125
|
+
{
|
|
10126
|
+
"path": "sub.bitrateMode",
|
|
10127
|
+
"valueType": "enum",
|
|
10128
|
+
"enumValues": ["vbr", "cbr"]
|
|
10129
|
+
},
|
|
10130
|
+
{
|
|
10131
|
+
"path": "sub.encoderProfile",
|
|
10132
|
+
"valueType": "enum",
|
|
10133
|
+
"enumValues": [
|
|
10134
|
+
"high",
|
|
10135
|
+
"main",
|
|
10136
|
+
"baseline"
|
|
10137
|
+
]
|
|
10138
|
+
},
|
|
10139
|
+
{
|
|
10140
|
+
"path": "sub.gop",
|
|
10141
|
+
"valueType": "number"
|
|
10142
|
+
},
|
|
10143
|
+
{
|
|
10144
|
+
"path": "sub.audio",
|
|
10145
|
+
"valueType": "boolean"
|
|
10146
|
+
},
|
|
10147
|
+
{
|
|
10148
|
+
"path": "ext.width",
|
|
10149
|
+
"valueType": "number"
|
|
10150
|
+
},
|
|
10151
|
+
{
|
|
10152
|
+
"path": "ext.height",
|
|
10153
|
+
"valueType": "number"
|
|
10154
|
+
},
|
|
10155
|
+
{
|
|
10156
|
+
"path": "ext.codec",
|
|
10157
|
+
"valueType": "enum",
|
|
10158
|
+
"enumValues": ["h264", "h265"]
|
|
10159
|
+
},
|
|
10160
|
+
{
|
|
10161
|
+
"path": "ext.framerate",
|
|
10162
|
+
"valueType": "number"
|
|
10163
|
+
},
|
|
10164
|
+
{
|
|
10165
|
+
"path": "ext.bitrate",
|
|
10166
|
+
"valueType": "number"
|
|
10167
|
+
},
|
|
10168
|
+
{
|
|
10169
|
+
"path": "ext.bitrateMode",
|
|
10170
|
+
"valueType": "enum",
|
|
10171
|
+
"enumValues": ["vbr", "cbr"]
|
|
10172
|
+
},
|
|
10173
|
+
{
|
|
10174
|
+
"path": "ext.encoderProfile",
|
|
10175
|
+
"valueType": "enum",
|
|
10176
|
+
"enumValues": [
|
|
10177
|
+
"high",
|
|
10178
|
+
"main",
|
|
10179
|
+
"baseline"
|
|
10180
|
+
]
|
|
10181
|
+
},
|
|
10182
|
+
{
|
|
10183
|
+
"path": "ext.gop",
|
|
10184
|
+
"valueType": "number"
|
|
10185
|
+
},
|
|
10186
|
+
{
|
|
10187
|
+
"path": "ext.audio",
|
|
10188
|
+
"valueType": "boolean"
|
|
10189
|
+
}
|
|
10190
|
+
],
|
|
10191
|
+
"switch": [{
|
|
10192
|
+
"path": "on",
|
|
10193
|
+
"valueType": "boolean"
|
|
10194
|
+
}],
|
|
10195
|
+
"tamper": [{
|
|
10196
|
+
"path": "tampered",
|
|
10197
|
+
"valueType": "boolean"
|
|
10198
|
+
}],
|
|
10199
|
+
"temperature-sensor": [
|
|
10200
|
+
{
|
|
10201
|
+
"path": "celsius",
|
|
10202
|
+
"valueType": "number"
|
|
10203
|
+
},
|
|
10204
|
+
{
|
|
10205
|
+
"path": "unit",
|
|
10206
|
+
"valueType": "string"
|
|
10207
|
+
},
|
|
10208
|
+
{
|
|
10209
|
+
"path": "precision",
|
|
10210
|
+
"valueType": "number"
|
|
10211
|
+
}
|
|
10212
|
+
],
|
|
10213
|
+
"update": [
|
|
10214
|
+
{
|
|
10215
|
+
"path": "currentVersion",
|
|
10216
|
+
"valueType": "string"
|
|
10217
|
+
},
|
|
10218
|
+
{
|
|
10219
|
+
"path": "availableVersion",
|
|
10220
|
+
"valueType": "string"
|
|
10221
|
+
},
|
|
10222
|
+
{
|
|
10223
|
+
"path": "updatable",
|
|
10224
|
+
"valueType": "boolean"
|
|
10225
|
+
},
|
|
10226
|
+
{
|
|
10227
|
+
"path": "state",
|
|
10228
|
+
"valueType": "string"
|
|
10229
|
+
},
|
|
10230
|
+
{
|
|
10231
|
+
"path": "inProgress",
|
|
10232
|
+
"valueType": "boolean"
|
|
10233
|
+
}
|
|
10234
|
+
],
|
|
10235
|
+
"vacuum-control": [
|
|
10236
|
+
{
|
|
10237
|
+
"path": "state",
|
|
10238
|
+
"valueType": "enum",
|
|
10239
|
+
"enumValues": [
|
|
10240
|
+
"idle",
|
|
10241
|
+
"cleaning",
|
|
10242
|
+
"paused",
|
|
10243
|
+
"returning",
|
|
10244
|
+
"docked",
|
|
10245
|
+
"drying",
|
|
10246
|
+
"error"
|
|
10247
|
+
]
|
|
10248
|
+
},
|
|
10249
|
+
{
|
|
10250
|
+
"path": "batteryLevel",
|
|
10251
|
+
"valueType": "number"
|
|
10252
|
+
},
|
|
10253
|
+
{
|
|
10254
|
+
"path": "fanSpeed",
|
|
10255
|
+
"valueType": "string"
|
|
10256
|
+
},
|
|
10257
|
+
{
|
|
10258
|
+
"path": "progressPercent",
|
|
10259
|
+
"valueType": "number"
|
|
10260
|
+
},
|
|
10261
|
+
{
|
|
10262
|
+
"path": "errorCode",
|
|
10263
|
+
"valueType": "number"
|
|
10264
|
+
},
|
|
10265
|
+
{
|
|
10266
|
+
"path": "errorLabel",
|
|
10267
|
+
"valueType": "string"
|
|
10268
|
+
}
|
|
10269
|
+
],
|
|
10270
|
+
"valve": [{
|
|
10271
|
+
"path": "state",
|
|
10272
|
+
"valueType": "enum",
|
|
10273
|
+
"enumValues": [
|
|
10274
|
+
"open",
|
|
10275
|
+
"opening",
|
|
10276
|
+
"closing",
|
|
10277
|
+
"closed",
|
|
10278
|
+
"stopped"
|
|
10279
|
+
]
|
|
10280
|
+
}, {
|
|
10281
|
+
"path": "position",
|
|
10282
|
+
"valueType": "number"
|
|
10283
|
+
}],
|
|
10284
|
+
"vibration": [{
|
|
10285
|
+
"path": "detected",
|
|
10286
|
+
"valueType": "boolean"
|
|
10287
|
+
}],
|
|
10288
|
+
"water-heater": [
|
|
10289
|
+
{
|
|
10290
|
+
"path": "currentTemp",
|
|
10291
|
+
"valueType": "number"
|
|
10292
|
+
},
|
|
10293
|
+
{
|
|
10294
|
+
"path": "targetTemp",
|
|
10295
|
+
"valueType": "number"
|
|
10296
|
+
},
|
|
10297
|
+
{
|
|
10298
|
+
"path": "operationMode",
|
|
10299
|
+
"valueType": "string"
|
|
10300
|
+
},
|
|
10301
|
+
{
|
|
10302
|
+
"path": "away",
|
|
10303
|
+
"valueType": "boolean"
|
|
10304
|
+
},
|
|
10305
|
+
{
|
|
10306
|
+
"path": "minTemp",
|
|
10307
|
+
"valueType": "number"
|
|
10308
|
+
},
|
|
10309
|
+
{
|
|
10310
|
+
"path": "maxTemp",
|
|
10311
|
+
"valueType": "number"
|
|
10312
|
+
}
|
|
10313
|
+
],
|
|
10314
|
+
"weather": [
|
|
10315
|
+
{
|
|
10316
|
+
"path": "condition",
|
|
10317
|
+
"valueType": "string"
|
|
10318
|
+
},
|
|
10319
|
+
{
|
|
10320
|
+
"path": "temperature",
|
|
10321
|
+
"valueType": "number"
|
|
10322
|
+
},
|
|
10323
|
+
{
|
|
10324
|
+
"path": "temperatureUnit",
|
|
10325
|
+
"valueType": "string"
|
|
10326
|
+
},
|
|
10327
|
+
{
|
|
10328
|
+
"path": "humidity",
|
|
10329
|
+
"valueType": "number"
|
|
10330
|
+
},
|
|
10331
|
+
{
|
|
10332
|
+
"path": "pressure",
|
|
10333
|
+
"valueType": "number"
|
|
10334
|
+
},
|
|
10335
|
+
{
|
|
10336
|
+
"path": "pressureUnit",
|
|
10337
|
+
"valueType": "string"
|
|
10338
|
+
},
|
|
10339
|
+
{
|
|
10340
|
+
"path": "windSpeed",
|
|
10341
|
+
"valueType": "number"
|
|
10342
|
+
},
|
|
10343
|
+
{
|
|
10344
|
+
"path": "windSpeedUnit",
|
|
10345
|
+
"valueType": "string"
|
|
10346
|
+
},
|
|
10347
|
+
{
|
|
10348
|
+
"path": "windBearing",
|
|
10349
|
+
"valueType": "number"
|
|
10350
|
+
}
|
|
10351
|
+
],
|
|
10352
|
+
"zone-analytics": [
|
|
10353
|
+
{
|
|
10354
|
+
"path": "ts",
|
|
10355
|
+
"valueType": "number"
|
|
10356
|
+
},
|
|
10357
|
+
{
|
|
10358
|
+
"path": "frameWidth",
|
|
10359
|
+
"valueType": "number"
|
|
10360
|
+
},
|
|
10361
|
+
{
|
|
10362
|
+
"path": "frameHeight",
|
|
10363
|
+
"valueType": "number"
|
|
10364
|
+
},
|
|
10365
|
+
{
|
|
10366
|
+
"path": "frame.totalObjects",
|
|
10367
|
+
"valueType": "number"
|
|
10368
|
+
},
|
|
10369
|
+
{
|
|
10370
|
+
"path": "frame.standingObjects",
|
|
10371
|
+
"valueType": "number"
|
|
10372
|
+
},
|
|
10373
|
+
{
|
|
10374
|
+
"path": "frame.transientObjects",
|
|
10375
|
+
"valueType": "number"
|
|
10376
|
+
},
|
|
10377
|
+
{
|
|
10378
|
+
"path": "unzoned.totalObjects",
|
|
10379
|
+
"valueType": "number"
|
|
10380
|
+
},
|
|
10381
|
+
{
|
|
10382
|
+
"path": "unzoned.standingObjects",
|
|
10383
|
+
"valueType": "number"
|
|
10384
|
+
},
|
|
10385
|
+
{
|
|
10386
|
+
"path": "unzoned.transientObjects",
|
|
10387
|
+
"valueType": "number"
|
|
10388
|
+
}
|
|
10389
|
+
]
|
|
10390
|
+
});
|
|
8414
10391
|
object({
|
|
8415
10392
|
code: string().regex(/^[a-z][a-z0-9-]*(\.[a-z0-9-]+)+$/),
|
|
8416
10393
|
params: record(string(), union([string(), number()])).optional()
|
|
@@ -8769,7 +10746,7 @@ function errMsg(err) {
|
|
|
8769
10746
|
return String(err);
|
|
8770
10747
|
}
|
|
8771
10748
|
//#endregion
|
|
8772
|
-
//#region ../types/dist/composition-
|
|
10749
|
+
//#region ../types/dist/composition-kEl9mevu.mjs
|
|
8773
10750
|
/**
|
|
8774
10751
|
* The ffmpeg build every CamStack node downloads, per platform and arch.
|
|
8775
10752
|
*
|
|
@@ -8829,7 +10806,7 @@ portable("linux64"), portable("linuxarm64"), portable("macarm64"), portable("mac
|
|
|
8829
10806
|
* ONE table for everyone who asks "is this device HIGH?": the
|
|
8830
10807
|
* recorder's `RecordingTriggers.sensorDeviceIds` trigger, the post-analysis
|
|
8831
10808
|
* sensor markers, the orchestrator's camera-sensors bridge and
|
|
8832
|
-
* the sources of a
|
|
10809
|
+
* the sources of a pulse (`compilePulseOverride`, D936).
|
|
8833
10810
|
* A second copy would diverge at the first cap added, and the symptom — "the
|
|
8834
10811
|
* sensor rings the doorbell but does not record" — is exactly D62.
|
|
8835
10812
|
*
|
|
@@ -9070,6 +11047,20 @@ var table = {
|
|
|
9070
11047
|
apply: () => {
|
|
9071
11048
|
throw new ExpressionEvalError("count: stateful evaluation context is required");
|
|
9072
11049
|
}
|
|
11050
|
+
},
|
|
11051
|
+
dwell: {
|
|
11052
|
+
minArgs: 3,
|
|
11053
|
+
maxArgs: 3,
|
|
11054
|
+
apply: () => {
|
|
11055
|
+
throw new ExpressionEvalError("dwell: stateful evaluation context is required");
|
|
11056
|
+
}
|
|
11057
|
+
},
|
|
11058
|
+
latchedAt: {
|
|
11059
|
+
minArgs: 1,
|
|
11060
|
+
maxArgs: 1,
|
|
11061
|
+
apply: () => {
|
|
11062
|
+
throw new ExpressionEvalError("latchedAt: stateful evaluation context is required");
|
|
11063
|
+
}
|
|
9073
11064
|
}
|
|
9074
11065
|
};
|
|
9075
11066
|
Object.freeze(Object.assign(Object.create(null), table));
|
|
@@ -10658,13 +12649,22 @@ var BirthDecisionRecordSchema = object({
|
|
|
10658
12649
|
decidedByBirthEvidence: boolean(),
|
|
10659
12650
|
/** Best class-compatible crop score, or `null` when nothing compatible was
|
|
10660
12651
|
* found — deliberately not 0, which would be a measurement that never was.
|
|
10661
|
-
* Includes a box the detector's own per-class floor refused (
|
|
10662
|
-
*
|
|
10663
|
-
* score the crop really held. */
|
|
12652
|
+
* Includes a box the detector's own per-class floor refused (D922): since
|
|
12653
|
+
* D925 the gate's bar, not that floor, decides whether it confirms. */
|
|
10664
12654
|
bestScore: number().nullable(),
|
|
10665
12655
|
/** The bar this candidate actually faced (the phantom-cell hook may raise it). */
|
|
10666
12656
|
appliedMinConfidence: number().nullable(),
|
|
10667
12657
|
/**
|
|
12658
|
+
* The detector the gate re-judged the birth WITH (D925): the session's own
|
|
12659
|
+
* root model, inference-device pool and node — never a node default. `null`
|
|
12660
|
+
* when the frame named no session detector or no gate ran, and on rows
|
|
12661
|
+
* written before D925. A `session-device-unavailable` row names the session
|
|
12662
|
+
* detector that could not be reached.
|
|
12663
|
+
*/
|
|
12664
|
+
detectorModelId: string().nullable().default(null),
|
|
12665
|
+
detectorDeviceKey: string().nullable().default(null),
|
|
12666
|
+
detectorNodeId: string().nullable().default(null),
|
|
12667
|
+
/**
|
|
10668
12668
|
* The track's own `firstSeen` — the candidate's first frame, which is where
|
|
10669
12669
|
* the timeline starts. `null` for a suppressed birth, which has no track.
|
|
10670
12670
|
*/
|
|
@@ -12130,7 +14130,7 @@ var LogChannelDescriptorSchema = object({
|
|
|
12130
14130
|
* `true` is a PROMISE with two halves, and both must hold: the gate is
|
|
12131
14131
|
* consulted with the numeric device id, AND every line the channel admits
|
|
12132
14132
|
* carries `tags: { deviceId }` with that same numeric id. The second half is
|
|
12133
|
-
* what makes `| json | deviceId="
|
|
14133
|
+
* what makes `| json | deviceId="102"` work in Loki — `loki-payload.ts`
|
|
12134
14134
|
* keeps `deviceId` out of the stream labels for cardinality, so the tag in
|
|
12135
14135
|
* the body is the only way to filter.
|
|
12136
14136
|
*
|
|
@@ -12406,7 +14406,7 @@ var ModelVariantGroupSchema = object({
|
|
|
12406
14406
|
precision: _enum(["fp32", "int8"]).optional(),
|
|
12407
14407
|
/**
|
|
12408
14408
|
* Training / latency-variant axis. Omit ⇒ the standard build. `test` marks
|
|
12409
|
-
* an alternate training of the same family (
|
|
14409
|
+
* an alternate training of the same family (plugin catalog `relu_test`); chip
|
|
12410
14410
|
* label is "Test".
|
|
12411
14411
|
*/
|
|
12412
14412
|
optimization: _enum(["standard", "test"]).optional(),
|
|
@@ -12658,8 +14658,8 @@ var ModelCatalogEntrySchema = object({
|
|
|
12658
14658
|
provider: ModelProviderIdSchema.optional(),
|
|
12659
14659
|
/**
|
|
12660
14660
|
* Per-MODEL class map override. Absent ⇒ the step's `StepDefinition.classMap`
|
|
12661
|
-
* applies (
|
|
12662
|
-
* labels already ARE the CamStack macros (
|
|
14661
|
+
* applies (plus catalog / COCO public catalog). Set on a custom model whose raw
|
|
14662
|
+
* labels already ARE the CamStack macros (plugin catalog identity map).
|
|
12663
14663
|
*/
|
|
12664
14664
|
classMap: DetectionCatalogClassMapSchema.optional(),
|
|
12665
14665
|
/**
|
|
@@ -15677,7 +17677,7 @@ method(object({
|
|
|
15677
17677
|
* `1` is real time and is the ONLY value that allows the copy branch —
|
|
15678
17678
|
* anything else forces `libx264` over the window. That was priced
|
|
15679
17679
|
* before it was chosen: a per-event burst measured at 0.23 s and 254 KB
|
|
15680
|
-
* on a real
|
|
17680
|
+
* on a real 101 720p cut, against 922 KB for the copy it replaces. A
|
|
15681
17681
|
* re-encode is capped at 720p (`EVENT_CLIP_ENCODE_MAX_WIDTH`), because
|
|
15682
17682
|
* once the decode is forced the width stops being free.
|
|
15683
17683
|
*/
|
|
@@ -16097,6 +18097,7 @@ var CompositionRunStatusSchema = _enum([
|
|
|
16097
18097
|
"starting",
|
|
16098
18098
|
"running",
|
|
16099
18099
|
"degraded",
|
|
18100
|
+
"incomplete",
|
|
16100
18101
|
"failed"
|
|
16101
18102
|
]);
|
|
16102
18103
|
var CompositionFieldStateKindSchema = _enum([
|
|
@@ -16146,6 +18147,13 @@ var ComposerUnreadableBlockSchema = object({
|
|
|
16146
18147
|
/** The parse error, in the operator's words. */
|
|
16147
18148
|
error: string()
|
|
16148
18149
|
});
|
|
18150
|
+
/** A confirmed release the hub did not accept. `deviceId` is the claim's device. */
|
|
18151
|
+
var UnreleasedClaimSchema = object({
|
|
18152
|
+
deviceId: number().int(),
|
|
18153
|
+
capName: string(),
|
|
18154
|
+
owner: string(),
|
|
18155
|
+
error: string()
|
|
18156
|
+
});
|
|
16149
18157
|
method(object({
|
|
16150
18158
|
/** The shared Blocks integration; null until `core-blocks` has reconciled it. */
|
|
16151
18159
|
integrationId: string().nullable(),
|
|
@@ -16155,7 +18163,13 @@ method(object({
|
|
|
16155
18163
|
/** Operator restarts: rebuild these runtimes and re-resolve their sources. Stores nothing (D62). */
|
|
16156
18164
|
restartBlockIds: array(string()),
|
|
16157
18165
|
/** Composition rows that exist but do not parse: held, never withdrawn, reported failed. */
|
|
16158
|
-
unreadableBlocks: array(ComposerUnreadableBlockSchema)
|
|
18166
|
+
unreadableBlocks: array(ComposerUnreadableBlockSchema),
|
|
18167
|
+
/**
|
|
18168
|
+
* Operator-confirmed deletions. Their claims are released on this apply,
|
|
18169
|
+
* before any replacement block claims. A block that merely vanished from the
|
|
18170
|
+
* snapshot is not listed here and still waits for two applies (D49).
|
|
18171
|
+
*/
|
|
18172
|
+
retiredBlockIds: array(string()).optional()
|
|
16159
18173
|
}), object({
|
|
16160
18174
|
blocks: array(object({
|
|
16161
18175
|
blockId: string(),
|
|
@@ -16167,7 +18181,13 @@ method(object({
|
|
|
16167
18181
|
* integration unknown, its own rows unread or read empty once). An empty
|
|
16168
18182
|
* apply the caller owes is paid off only by one the composer acted on (D49).
|
|
16169
18183
|
*/
|
|
16170
|
-
acted: boolean()
|
|
18184
|
+
acted: boolean(),
|
|
18185
|
+
/**
|
|
18186
|
+
* Confirmed releases this apply tried and the hub did not accept. Empty when
|
|
18187
|
+
* every one landed (or there was nothing to hand back). Absent on a result
|
|
18188
|
+
* that never got that far.
|
|
18189
|
+
*/
|
|
18190
|
+
unreleasedClaims: array(UnreleasedClaimSchema).optional()
|
|
16171
18191
|
}), {
|
|
16172
18192
|
kind: "mutation",
|
|
16173
18193
|
auth: "admin"
|
|
@@ -16210,7 +18230,15 @@ Object.freeze({
|
|
|
16210
18230
|
kind: "fixed",
|
|
16211
18231
|
result: ["number", "null"]
|
|
16212
18232
|
},
|
|
16213
|
-
count: NUMBER
|
|
18233
|
+
count: NUMBER,
|
|
18234
|
+
dwell: {
|
|
18235
|
+
kind: "fixed",
|
|
18236
|
+
result: ["boolean", "null"]
|
|
18237
|
+
},
|
|
18238
|
+
latchedAt: {
|
|
18239
|
+
kind: "fixed",
|
|
18240
|
+
result: ["number", "null"]
|
|
18241
|
+
}
|
|
16214
18242
|
});
|
|
16215
18243
|
`${COMPOSED_DEVICE_STABLE_ID_PREFIX}`;
|
|
16216
18244
|
/**
|
|
@@ -16283,6 +18311,7 @@ var CoreBlockStatusSchema = _enum([
|
|
|
16283
18311
|
"starting",
|
|
16284
18312
|
"running",
|
|
16285
18313
|
"degraded",
|
|
18314
|
+
"incomplete",
|
|
16286
18315
|
"failed"
|
|
16287
18316
|
]);
|
|
16288
18317
|
/** path → TypeScript source for a multi-file block. */
|
|
@@ -38231,7 +40260,7 @@ var PRIMARY_CATEGORIES = new Set(ENTRIES.map((e) => e.primaryCategory));
|
|
|
38231
40260
|
* `locationKey` is ALWAYS {@link locationIconKey} of the label — never the
|
|
38232
40261
|
* operator's casing. The registry matches labels trimmed + case-insensitively
|
|
38233
40262
|
* everywhere (`addLocation`, `removeLocation`, `renameLocation`), and a
|
|
38234
|
-
* case-only rename (`
|
|
40263
|
+
* case-only rename (`kitchen` → `Kitchen`) is a real edit this repo supports; a
|
|
38235
40264
|
* map keyed on the displayed casing would orphan its entry on exactly that
|
|
38236
40265
|
* edit. Consumers join by keying their own label through `locationIconKey`.
|
|
38237
40266
|
*/
|
|
@@ -38256,7 +40285,7 @@ var LocationDescriptionAssignmentSchema = object({
|
|
|
38256
40285
|
/**
|
|
38257
40286
|
* A SITE ZONE — a named part of the property that several locations belong to.
|
|
38258
40287
|
*
|
|
38259
|
-
* "
|
|
40288
|
+
* "Night zone" holds every bedroom; "Zona giorno" the living room and the
|
|
38260
40289
|
* kitchen. A camera belongs to exactly one location, and a location to at most
|
|
38261
40290
|
* one zone, so a camera's zone is derived and never stored on the device: the
|
|
38262
40291
|
* whole point of this entity is that grouping rooms touches no device row.
|
|
@@ -38285,7 +40314,7 @@ var LocationDescriptionAssignmentSchema = object({
|
|
|
38285
40314
|
* the locations inside it.
|
|
38286
40315
|
*
|
|
38287
40316
|
* The LABEL is carried alongside the key because the key is lossy on purpose —
|
|
38288
|
-
* a surface must show "
|
|
40317
|
+
* a surface must show "Night zone", not "night zone". Locations are carried
|
|
38289
40318
|
* here, rather than left to a second call, because every consumer wants both
|
|
38290
40319
|
* at once and a viewer that asked twice could render a zone whose membership
|
|
38291
40320
|
* it has not fetched yet.
|
|
@@ -40398,8 +42427,8 @@ var LoadContributionSchema = object({
|
|
|
40398
42427
|
"unattributable"
|
|
40399
42428
|
]),
|
|
40400
42429
|
/**
|
|
40401
|
-
* What ONE entry is, in the contributor's own words — `
|
|
40402
|
-
* `
|
|
42430
|
+
* What ONE entry is, in the contributor's own words — `101/high`,
|
|
42431
|
+
* `102/native`, `cuda:0 shared pool`. Free text because the unit differs per
|
|
40403
42432
|
* family and inventing a common one would lose the only information that
|
|
40404
42433
|
* makes two entries for the same camera distinguishable.
|
|
40405
42434
|
*/
|
|
@@ -42047,6 +44076,381 @@ var _macroLookup = /* @__PURE__ */ new Map();
|
|
|
42047
44076
|
for (const [k, v] of Object.entries(YAMNET_TO_MACRO.mapping)) _macroLookup.set(k.toLowerCase(), v);
|
|
42048
44077
|
for (const [k, v] of Object.entries(APPLE_SA_TO_MACRO.mapping)) _macroLookup.set(k.toLowerCase(), v);
|
|
42049
44078
|
/**
|
|
44079
|
+
* Palette entry ids (D939). Audio is the one gradient; `audio-*` leaves are
|
|
44080
|
+
* not entries. `heatmapScrub` is a mark, not an event kind.
|
|
44081
|
+
*/
|
|
44082
|
+
var PALETTE_ENTRY_IDS = [
|
|
44083
|
+
"motion",
|
|
44084
|
+
"audio",
|
|
44085
|
+
"recording",
|
|
44086
|
+
"live",
|
|
44087
|
+
"heatmapScrub",
|
|
44088
|
+
"person",
|
|
44089
|
+
"vehicle",
|
|
44090
|
+
"animal",
|
|
44091
|
+
"package",
|
|
44092
|
+
"sensor",
|
|
44093
|
+
"control",
|
|
44094
|
+
"face",
|
|
44095
|
+
"plate",
|
|
44096
|
+
"car",
|
|
44097
|
+
"truck",
|
|
44098
|
+
"bus",
|
|
44099
|
+
"motorcycle",
|
|
44100
|
+
"bicycle",
|
|
44101
|
+
"airplane",
|
|
44102
|
+
"boat",
|
|
44103
|
+
"train",
|
|
44104
|
+
"bird",
|
|
44105
|
+
"dog",
|
|
44106
|
+
"cat",
|
|
44107
|
+
"horse",
|
|
44108
|
+
"sheep",
|
|
44109
|
+
"cow",
|
|
44110
|
+
"elephant",
|
|
44111
|
+
"bear",
|
|
44112
|
+
"zebra",
|
|
44113
|
+
"giraffe",
|
|
44114
|
+
"package-delivered",
|
|
44115
|
+
"package-picked-up",
|
|
44116
|
+
"suitcase",
|
|
44117
|
+
"backpack",
|
|
44118
|
+
"handbag",
|
|
44119
|
+
"contact",
|
|
44120
|
+
"motion-sensor",
|
|
44121
|
+
"smoke",
|
|
44122
|
+
"flood",
|
|
44123
|
+
"gas",
|
|
44124
|
+
"carbon-monoxide",
|
|
44125
|
+
"vibration",
|
|
44126
|
+
"tamper",
|
|
44127
|
+
"presence",
|
|
44128
|
+
"enum-sensor",
|
|
44129
|
+
"device-event",
|
|
44130
|
+
"lock",
|
|
44131
|
+
"cover",
|
|
44132
|
+
"switch",
|
|
44133
|
+
"siren",
|
|
44134
|
+
"button",
|
|
44135
|
+
"doorbell"
|
|
44136
|
+
];
|
|
44137
|
+
var AUDIO_ENTRY_ID = "audio";
|
|
44138
|
+
/** Six rungs, quiet → loud. The opaque end is the entry's hex. */
|
|
44139
|
+
var AUDIO_GRADIENT_ALPHAS = [
|
|
44140
|
+
.3,
|
|
44141
|
+
.42,
|
|
44142
|
+
.55,
|
|
44143
|
+
.7,
|
|
44144
|
+
.85,
|
|
44145
|
+
1
|
|
44146
|
+
];
|
|
44147
|
+
var PALETTE_PRESET_IDS = [
|
|
44148
|
+
"camstack",
|
|
44149
|
+
"high-contrast",
|
|
44150
|
+
"okabe-ito"
|
|
44151
|
+
];
|
|
44152
|
+
/** Frozen palette tables (D939). The spec refuses a table that breaks the rule. */
|
|
44153
|
+
var CAMSTACK_HEX = {
|
|
44154
|
+
motion: "#d946ef",
|
|
44155
|
+
audio: "#059eb8",
|
|
44156
|
+
recording: "#ef4444",
|
|
44157
|
+
live: "#8d7a00",
|
|
44158
|
+
heatmapScrub: "#4b32ff",
|
|
44159
|
+
person: "#11a64c",
|
|
44160
|
+
vehicle: "#3b82f6",
|
|
44161
|
+
animal: "#ea6a09",
|
|
44162
|
+
package: "#924667",
|
|
44163
|
+
sensor: "#624bbc",
|
|
44164
|
+
control: "#944d24",
|
|
44165
|
+
face: "#ed4f8d",
|
|
44166
|
+
plate: "#4b7027",
|
|
44167
|
+
car: "#9684cf",
|
|
44168
|
+
truck: "#0f9b89",
|
|
44169
|
+
bus: "#a734a9",
|
|
44170
|
+
motorcycle: "#c1133a",
|
|
44171
|
+
bicycle: "#0e6a9b",
|
|
44172
|
+
airplane: "#7c9928",
|
|
44173
|
+
boat: "#b17933",
|
|
44174
|
+
train: "#ad6ca3",
|
|
44175
|
+
bird: "#0f7c55",
|
|
44176
|
+
dog: "#c82700",
|
|
44177
|
+
cat: "#7268f2",
|
|
44178
|
+
horse: "#cb795e",
|
|
44179
|
+
sheep: "#b8636b",
|
|
44180
|
+
cow: "#cb2969",
|
|
44181
|
+
elephant: "#1158d2",
|
|
44182
|
+
bear: "#8d5e00",
|
|
44183
|
+
zebra: "#0097d6",
|
|
44184
|
+
giraffe: "#8f61bb",
|
|
44185
|
+
"package-delivered": "#cd3f9b",
|
|
44186
|
+
"package-picked-up": "#388a08",
|
|
44187
|
+
suitcase: "#666800",
|
|
44188
|
+
backpack: "#ec5022",
|
|
44189
|
+
handbag: "#a76ef8",
|
|
44190
|
+
contact: "#ab5a49",
|
|
44191
|
+
"motion-sensor": "#b95d1a",
|
|
44192
|
+
smoke: "#dd3858",
|
|
44193
|
+
flood: "#b31e7d",
|
|
44194
|
+
gas: "#5b70b5",
|
|
44195
|
+
"carbon-monoxide": "#7b4e8e",
|
|
44196
|
+
vibration: "#e65bba",
|
|
44197
|
+
tamper: "#98464b",
|
|
44198
|
+
presence: "#3a9468",
|
|
44199
|
+
"enum-sensor": "#7885f8",
|
|
44200
|
+
"device-event": "#8c43c8",
|
|
44201
|
+
lock: "#649653",
|
|
44202
|
+
cover: "#c67597",
|
|
44203
|
+
switch: "#7a812a",
|
|
44204
|
+
siren: "#ac5d7f",
|
|
44205
|
+
button: "#b276cd",
|
|
44206
|
+
doorbell: "#0087ab"
|
|
44207
|
+
};
|
|
44208
|
+
var CAMSTACK_FALLBACK = [
|
|
44209
|
+
"#b34dc7",
|
|
44210
|
+
"#1d7d34",
|
|
44211
|
+
"#db6b6c",
|
|
44212
|
+
"#a43d29",
|
|
44213
|
+
"#0e6ee6",
|
|
44214
|
+
"#29a10b",
|
|
44215
|
+
"#a98731",
|
|
44216
|
+
"#0181c6"
|
|
44217
|
+
];
|
|
44218
|
+
var HIGH_CONTRAST_HEX = {
|
|
44219
|
+
motion: "#964360",
|
|
44220
|
+
audio: "#23a132",
|
|
44221
|
+
recording: "#2494ca",
|
|
44222
|
+
live: "#bd7e2b",
|
|
44223
|
+
heatmapScrub: "#ad6eea",
|
|
44224
|
+
person: "#62611e",
|
|
44225
|
+
vehicle: "#f4534c",
|
|
44226
|
+
animal: "#1556cd",
|
|
44227
|
+
package: "#9c4415",
|
|
44228
|
+
sensor: "#066c48",
|
|
44229
|
+
control: "#f2479f",
|
|
44230
|
+
face: "#139d8a",
|
|
44231
|
+
plate: "#909024",
|
|
44232
|
+
car: "#8e35ab",
|
|
44233
|
+
truck: "#bd0b2b",
|
|
44234
|
+
bus: "#7a88ca",
|
|
44235
|
+
motorcycle: "#e26725",
|
|
44236
|
+
bicycle: "#a6679b",
|
|
44237
|
+
airplane: "#7c5720",
|
|
44238
|
+
boat: "#467a1b",
|
|
44239
|
+
train: "#6f65a4",
|
|
44240
|
+
bird: "#cb717f",
|
|
44241
|
+
dog: "#c62490",
|
|
44242
|
+
cat: "#b36850",
|
|
44243
|
+
horse: "#1872ac",
|
|
44244
|
+
sheep: "#927939",
|
|
44245
|
+
cow: "#428a5c",
|
|
44246
|
+
elephant: "#d41160",
|
|
44247
|
+
bear: "#799453",
|
|
44248
|
+
zebra: "#a85455",
|
|
44249
|
+
giraffe: "#746be8",
|
|
44250
|
+
"package-delivered": "#824a80",
|
|
44251
|
+
"package-picked-up": "#614ac1",
|
|
44252
|
+
suitcase: "#2f77f3",
|
|
44253
|
+
backpack: "#fa476d",
|
|
44254
|
+
handbag: "#c14cbe",
|
|
44255
|
+
contact: "#c83921",
|
|
44256
|
+
"motion-sensor": "#a07ebd",
|
|
44257
|
+
smoke: "#a25b13",
|
|
44258
|
+
flood: "#526bab",
|
|
44259
|
+
gas: "#924938",
|
|
44260
|
+
"carbon-monoxide": "#bb7e53",
|
|
44261
|
+
vibration: "#b66182",
|
|
44262
|
+
tamper: "#3c6931",
|
|
44263
|
+
presence: "#6c851d",
|
|
44264
|
+
"enum-sensor": "#ad2d48",
|
|
44265
|
+
"device-event": "#5e9b04",
|
|
44266
|
+
lock: "#00a062",
|
|
44267
|
+
cover: "#ad8624",
|
|
44268
|
+
switch: "#d05259",
|
|
44269
|
+
siren: "#cd67b3",
|
|
44270
|
+
button: "#c9746a",
|
|
44271
|
+
doorbell: "#338eeb"
|
|
44272
|
+
};
|
|
44273
|
+
var HIGH_CONTRAST_FALLBACK = [
|
|
44274
|
+
"#817f3b",
|
|
44275
|
+
"#a0733e",
|
|
44276
|
+
"#8658b2",
|
|
44277
|
+
"#956301",
|
|
44278
|
+
"#bc652d",
|
|
44279
|
+
"#647331",
|
|
44280
|
+
"#a14c9e",
|
|
44281
|
+
"#d14e71"
|
|
44282
|
+
];
|
|
44283
|
+
var OKABE_ITO_HEX = {
|
|
44284
|
+
motion: "#b88128",
|
|
44285
|
+
audio: "#1096c8",
|
|
44286
|
+
recording: "#009e73",
|
|
44287
|
+
live: "#9c8c22",
|
|
44288
|
+
heatmapScrub: "#0072b2",
|
|
44289
|
+
person: "#d55e00",
|
|
44290
|
+
vehicle: "#c0739f",
|
|
44291
|
+
animal: "#226d18",
|
|
44292
|
+
package: "#91446c",
|
|
44293
|
+
sensor: "#217b56",
|
|
44294
|
+
control: "#648647",
|
|
44295
|
+
face: "#c22998",
|
|
44296
|
+
plate: "#fa4575",
|
|
44297
|
+
car: "#956301",
|
|
44298
|
+
truck: "#2f77f3",
|
|
44299
|
+
bus: "#7a4e86",
|
|
44300
|
+
motorcycle: "#f54597",
|
|
44301
|
+
bicycle: "#bb3e75",
|
|
44302
|
+
airplane: "#e054c0",
|
|
44303
|
+
boat: "#457942",
|
|
44304
|
+
train: "#867afa",
|
|
44305
|
+
bird: "#88914c",
|
|
44306
|
+
dog: "#1556cd",
|
|
44307
|
+
cat: "#71702c",
|
|
44308
|
+
horse: "#9b4fa4",
|
|
44309
|
+
sheep: "#c0559d",
|
|
44310
|
+
cow: "#d14f65",
|
|
44311
|
+
elephant: "#98470f",
|
|
44312
|
+
bear: "#595896",
|
|
44313
|
+
zebra: "#96790e",
|
|
44314
|
+
giraffe: "#cb717b",
|
|
44315
|
+
"package-delivered": "#139d8a",
|
|
44316
|
+
"package-picked-up": "#906ead",
|
|
44317
|
+
suitcase: "#d02939",
|
|
44318
|
+
backpack: "#d41160",
|
|
44319
|
+
handbag: "#f64f54",
|
|
44320
|
+
contact: "#7258d2",
|
|
44321
|
+
"motion-sensor": "#b66182",
|
|
44322
|
+
smoke: "#627abb",
|
|
44323
|
+
flood: "#b86ae4",
|
|
44324
|
+
gas: "#a95261",
|
|
44325
|
+
"carbon-monoxide": "#c65d3c",
|
|
44326
|
+
vibration: "#7a40b7",
|
|
44327
|
+
tamper: "#914b34",
|
|
44328
|
+
presence: "#9481c3",
|
|
44329
|
+
"enum-sensor": "#ac6d47",
|
|
44330
|
+
"device-event": "#7b6fce",
|
|
44331
|
+
lock: "#c67662",
|
|
44332
|
+
cover: "#a6564d",
|
|
44333
|
+
switch: "#ad2c4e",
|
|
44334
|
+
siren: "#348e08",
|
|
44335
|
+
button: "#d27303",
|
|
44336
|
+
doorbell: "#55770f"
|
|
44337
|
+
};
|
|
44338
|
+
var OKABE_ITO_FALLBACK = [
|
|
44339
|
+
"#9a3784",
|
|
44340
|
+
"#a7392c",
|
|
44341
|
+
"#409d50",
|
|
44342
|
+
"#6987e7",
|
|
44343
|
+
"#ee5b3d",
|
|
44344
|
+
"#c0430d",
|
|
44345
|
+
"#af79b3",
|
|
44346
|
+
"#4b6628"
|
|
44347
|
+
];
|
|
44348
|
+
/**
|
|
44349
|
+
* The display palette (D939). One table of colours, three presets, one
|
|
44350
|
+
* validator. Taxonomy colours and every consumer read this — there is no
|
|
44351
|
+
* second hex table.
|
|
44352
|
+
*/
|
|
44353
|
+
var paletteHexSchema = string().regex(/^#[0-9a-f]{6}$/);
|
|
44354
|
+
var paletteSwatchSchema = discriminatedUnion("form", [object({
|
|
44355
|
+
form: literal("solid"),
|
|
44356
|
+
hex: paletteHexSchema
|
|
44357
|
+
}), object({
|
|
44358
|
+
form: literal("gradient"),
|
|
44359
|
+
hex: paletteHexSchema,
|
|
44360
|
+
alphas: array(number().gt(0).lte(1)).length(AUDIO_GRADIENT_ALPHAS.length)
|
|
44361
|
+
})]);
|
|
44362
|
+
var paletteReadySchema = object({
|
|
44363
|
+
status: literal("ready"),
|
|
44364
|
+
presetId: _enum(PALETTE_PRESET_IDS),
|
|
44365
|
+
customized: boolean(),
|
|
44366
|
+
source: _enum(["stored", "unconfigured"]),
|
|
44367
|
+
swatches: record(string(), paletteSwatchSchema),
|
|
44368
|
+
fallbacks: array(paletteHexSchema).length(8)
|
|
44369
|
+
});
|
|
44370
|
+
var paletteResultSchema = discriminatedUnion("status", [paletteReadySchema, object({
|
|
44371
|
+
status: literal("unknown"),
|
|
44372
|
+
reason: string()
|
|
44373
|
+
})]);
|
|
44374
|
+
var setPaletteInputSchema = union([object({ presetId: string() }), object({
|
|
44375
|
+
presetId: string(),
|
|
44376
|
+
overrides: record(string(), paletteSwatchSchema)
|
|
44377
|
+
})]);
|
|
44378
|
+
object({
|
|
44379
|
+
presetId: string(),
|
|
44380
|
+
overrides: record(string(), paletteSwatchSchema)
|
|
44381
|
+
});
|
|
44382
|
+
function solid(hex) {
|
|
44383
|
+
return {
|
|
44384
|
+
form: "solid",
|
|
44385
|
+
hex
|
|
44386
|
+
};
|
|
44387
|
+
}
|
|
44388
|
+
function audioGradient(hex) {
|
|
44389
|
+
return {
|
|
44390
|
+
form: "gradient",
|
|
44391
|
+
hex,
|
|
44392
|
+
alphas: [...AUDIO_GRADIENT_ALPHAS]
|
|
44393
|
+
};
|
|
44394
|
+
}
|
|
44395
|
+
function swatchesFrom(hexes) {
|
|
44396
|
+
const out = {};
|
|
44397
|
+
for (const id of PALETTE_ENTRY_IDS) {
|
|
44398
|
+
const hex = hexes[id];
|
|
44399
|
+
if (hex === void 0) throw new Error(`palette table missing ${id}`);
|
|
44400
|
+
out[id] = id === "audio" ? audioGradient(hex) : solid(hex);
|
|
44401
|
+
}
|
|
44402
|
+
return out;
|
|
44403
|
+
}
|
|
44404
|
+
function preset(id, name, hexes, fallbacks) {
|
|
44405
|
+
return {
|
|
44406
|
+
id,
|
|
44407
|
+
name,
|
|
44408
|
+
swatches: swatchesFrom(hexes),
|
|
44409
|
+
fallbacks
|
|
44410
|
+
};
|
|
44411
|
+
}
|
|
44412
|
+
var DISPLAY_PRESETS = [
|
|
44413
|
+
preset("camstack", "CamStack", CAMSTACK_HEX, CAMSTACK_FALLBACK),
|
|
44414
|
+
preset("high-contrast", "High contrast", HIGH_CONTRAST_HEX, HIGH_CONTRAST_FALLBACK),
|
|
44415
|
+
preset("okabe-ito", "Colour-blind safe", OKABE_ITO_HEX, OKABE_ITO_FALLBACK)
|
|
44416
|
+
];
|
|
44417
|
+
function presetById(id) {
|
|
44418
|
+
return DISPLAY_PRESETS.find((item) => item.id === id);
|
|
44419
|
+
}
|
|
44420
|
+
function bundledCamstack() {
|
|
44421
|
+
const presetRow = presetById("camstack");
|
|
44422
|
+
if (presetRow === void 0) throw new Error("CamStack preset missing");
|
|
44423
|
+
return readyOf(presetRow, "unconfigured", false);
|
|
44424
|
+
}
|
|
44425
|
+
function readyOf(row, source, customized) {
|
|
44426
|
+
return {
|
|
44427
|
+
status: "ready",
|
|
44428
|
+
presetId: row.id,
|
|
44429
|
+
customized,
|
|
44430
|
+
source,
|
|
44431
|
+
swatches: row.swatches,
|
|
44432
|
+
fallbacks: [...row.fallbacks]
|
|
44433
|
+
};
|
|
44434
|
+
}
|
|
44435
|
+
function hashFallback(kind, fallbacks) {
|
|
44436
|
+
let hash = 0;
|
|
44437
|
+
for (let i = 0; i < kind.length; i++) hash = hash * 31 + (kind.codePointAt(i) ?? 0) >>> 0;
|
|
44438
|
+
const hex = fallbacks[hash % fallbacks.length];
|
|
44439
|
+
if (hex === void 0) throw new Error("display palette has no fallback colour");
|
|
44440
|
+
return hex;
|
|
44441
|
+
}
|
|
44442
|
+
/** Colour a kind paints with. Audio leaves share the audio gradient's hex. */
|
|
44443
|
+
function paintHex(swatches, fallbacks, kind) {
|
|
44444
|
+
const key = kind.trim().toLowerCase();
|
|
44445
|
+
if (key.startsWith("audio-")) {
|
|
44446
|
+
const audio = swatches[AUDIO_ENTRY_ID];
|
|
44447
|
+
return audio !== void 0 ? audio.hex : hashFallback(key, fallbacks);
|
|
44448
|
+
}
|
|
44449
|
+
const direct = swatches[key];
|
|
44450
|
+
if (direct !== void 0) return direct.hex;
|
|
44451
|
+
return hashFallback(key, fallbacks);
|
|
44452
|
+
}
|
|
44453
|
+
/**
|
|
42050
44454
|
* Unified event-kind taxonomy — THE single source of truth for
|
|
42051
44455
|
* `kind → { parentKind, category, level, color, iconId, labelKey, label,
|
|
42052
44456
|
* icon }`.
|
|
@@ -42060,109 +44464,88 @@ for (const [k, v] of Object.entries(APPLE_SA_TO_MACRO.mapping)) _macroLookup.set
|
|
|
42060
44464
|
* - `addon-post-analysis/shared/frame/box-drawer.ts` (DEFAULT_COLOR)
|
|
42061
44465
|
* - the COCO / audio class maps (macro ↔ sub relationships)
|
|
42062
44466
|
*
|
|
42063
|
-
* The DATA (serializable —
|
|
42064
|
-
* `@camstack/types`.
|
|
42065
|
-
*
|
|
42066
|
-
*
|
|
42067
|
-
*
|
|
44467
|
+
* The DATA (serializable — parentKind / iconId / labelKey) lives here in
|
|
44468
|
+
* `@camstack/types`. Colour is NOT a second table: each entry's `color` is
|
|
44469
|
+
* the bundled CamStack display palette (D939). The effective cluster palette
|
|
44470
|
+
* is the `display-palette` capability. The UI-side mapping `iconId → lucide
|
|
44471
|
+
* component` and `labelKey → t()` lives in `@camstack/ui-library`.
|
|
42068
44472
|
*
|
|
42069
44473
|
* Two levels only (v1 YAGNI): macro → sub. `person` is a leaf macro.
|
|
42070
44474
|
*/
|
|
42071
|
-
var
|
|
42072
|
-
|
|
42073
|
-
|
|
42074
|
-
|
|
42075
|
-
|
|
42076
|
-
|
|
42077
|
-
|
|
42078
|
-
|
|
42079
|
-
|
|
42080
|
-
|
|
42081
|
-
};
|
|
42082
|
-
var DETECTION_SUB_COLORS = {
|
|
42083
|
-
car: "#f59e0b",
|
|
42084
|
-
truck: "#d97706",
|
|
42085
|
-
bus: "#b45309",
|
|
42086
|
-
motorcycle: "#eab308",
|
|
42087
|
-
bicycle: "#ca8a04",
|
|
42088
|
-
airplane: "#60a5fa",
|
|
42089
|
-
boat: "#2563eb",
|
|
42090
|
-
train: "#1d4ed8",
|
|
42091
|
-
bird: "#14b8a6",
|
|
42092
|
-
dog: "#84cc16",
|
|
42093
|
-
cat: "#f97316",
|
|
42094
|
-
horse: "#a16207",
|
|
42095
|
-
sheep: "#a3a3a3",
|
|
42096
|
-
cow: "#78716c",
|
|
42097
|
-
elephant: "#6b7280",
|
|
42098
|
-
bear: "#7c2d12",
|
|
42099
|
-
zebra: "#404040",
|
|
42100
|
-
giraffe: "#d4a373"
|
|
42101
|
-
};
|
|
44475
|
+
var BUNDLED_PALETTE = bundledCamstack();
|
|
44476
|
+
function kindColor(kind) {
|
|
44477
|
+
return paintHex(BUNDLED_PALETTE.swatches, BUNDLED_PALETTE.fallbacks, kind);
|
|
44478
|
+
}
|
|
44479
|
+
function firstFallback(fallbacks) {
|
|
44480
|
+
const hex = fallbacks[0];
|
|
44481
|
+
if (hex === void 0) throw new Error("display palette has no fallback colour");
|
|
44482
|
+
return hex;
|
|
44483
|
+
}
|
|
44484
|
+
firstFallback(BUNDLED_PALETTE.fallbacks);
|
|
42102
44485
|
function titleCase(id) {
|
|
42103
44486
|
return id.split(/[-_ ]/).filter((p) => p.length > 0).map((p) => p.charAt(0).toUpperCase() + p.slice(1)).join(" ");
|
|
42104
44487
|
}
|
|
42105
44488
|
var entries = /* @__PURE__ */ new Map();
|
|
42106
|
-
function macro(kind, category,
|
|
44489
|
+
function macro(kind, category, iconId, label) {
|
|
42107
44490
|
entries.set(kind, {
|
|
42108
44491
|
kind,
|
|
42109
44492
|
parentKind: null,
|
|
42110
44493
|
level: "macro",
|
|
42111
44494
|
category,
|
|
42112
|
-
color,
|
|
44495
|
+
color: kindColor(kind),
|
|
42113
44496
|
iconId,
|
|
42114
44497
|
labelKey: `eventKind.${kind}`,
|
|
42115
44498
|
label
|
|
42116
44499
|
});
|
|
42117
44500
|
}
|
|
42118
|
-
function sub(kind, parentKind, category,
|
|
44501
|
+
function sub(kind, parentKind, category, iconId, label) {
|
|
42119
44502
|
entries.set(kind, {
|
|
42120
44503
|
kind,
|
|
42121
44504
|
parentKind,
|
|
42122
44505
|
level: "sub",
|
|
42123
44506
|
category,
|
|
42124
|
-
color,
|
|
44507
|
+
color: kindColor(kind),
|
|
42125
44508
|
iconId,
|
|
42126
44509
|
labelKey: `eventKind.${kind}`,
|
|
42127
44510
|
label
|
|
42128
44511
|
});
|
|
42129
44512
|
}
|
|
42130
|
-
macro("motion", "motion",
|
|
42131
|
-
macro("audio", "audio",
|
|
42132
|
-
macro("person", "detection",
|
|
42133
|
-
macro("vehicle", "detection",
|
|
42134
|
-
macro("animal", "detection",
|
|
42135
|
-
macro("package", "package",
|
|
42136
|
-
macro("sensor", "sensor",
|
|
42137
|
-
macro("control", "control",
|
|
44513
|
+
macro("motion", "motion", "motion", "Motion");
|
|
44514
|
+
macro("audio", "audio", "audio", "Audio");
|
|
44515
|
+
macro("person", "detection", "person", "Person");
|
|
44516
|
+
macro("vehicle", "detection", "vehicle", "Vehicle");
|
|
44517
|
+
macro("animal", "detection", "animal", "Animal");
|
|
44518
|
+
macro("package", "package", "package", "Package");
|
|
44519
|
+
macro("sensor", "sensor", "sensor", "Sensor");
|
|
44520
|
+
macro("control", "control", "control", "Control");
|
|
42138
44521
|
for (const [cocoClass, macroClass] of Object.entries(COCO_TO_MACRO.mapping)) {
|
|
42139
44522
|
if (macroClass !== "vehicle" && macroClass !== "animal") continue;
|
|
42140
44523
|
if (entries.has(cocoClass)) continue;
|
|
42141
|
-
sub(cocoClass, macroClass, "detection",
|
|
42142
|
-
}
|
|
42143
|
-
sub("package-delivered", "package", "package",
|
|
42144
|
-
sub("package-picked-up", "package", "package",
|
|
42145
|
-
sub("contact", "sensor", "sensor", "
|
|
42146
|
-
sub("motion-sensor", "sensor", "sensor",
|
|
42147
|
-
sub("smoke", "sensor", "sensor", "
|
|
42148
|
-
sub("flood", "sensor", "sensor", "
|
|
42149
|
-
sub("gas", "sensor", "sensor", "
|
|
42150
|
-
sub("carbon-monoxide", "sensor", "sensor", "
|
|
42151
|
-
sub("vibration", "sensor", "sensor", "
|
|
42152
|
-
sub("tamper", "sensor", "sensor", "
|
|
42153
|
-
sub("presence", "sensor", "sensor", "
|
|
42154
|
-
sub("enum-sensor", "sensor", "sensor",
|
|
42155
|
-
sub("device-event", "sensor", "sensor", "
|
|
42156
|
-
sub("lock", "control", "control", "
|
|
42157
|
-
sub("cover", "control", "control", "
|
|
42158
|
-
sub("switch", "control", "control",
|
|
42159
|
-
sub("siren", "control", "control", "
|
|
42160
|
-
sub("button", "control", "control", "
|
|
42161
|
-
sub("doorbell", "control", "control", "
|
|
44524
|
+
sub(cocoClass, macroClass, "detection", cocoClass, titleCase(cocoClass));
|
|
44525
|
+
}
|
|
44526
|
+
sub("package-delivered", "package", "package", "package", "Package delivered");
|
|
44527
|
+
sub("package-picked-up", "package", "package", "package", "Package picked up");
|
|
44528
|
+
sub("contact", "sensor", "sensor", "door", "Contact");
|
|
44529
|
+
sub("motion-sensor", "sensor", "sensor", "pir", "Motion sensor");
|
|
44530
|
+
sub("smoke", "sensor", "sensor", "smoke", "Smoke");
|
|
44531
|
+
sub("flood", "sensor", "sensor", "water", "Water leak");
|
|
44532
|
+
sub("gas", "sensor", "sensor", "gas", "Gas");
|
|
44533
|
+
sub("carbon-monoxide", "sensor", "sensor", "smoke", "Carbon monoxide");
|
|
44534
|
+
sub("vibration", "sensor", "sensor", "vibration", "Vibration");
|
|
44535
|
+
sub("tamper", "sensor", "sensor", "tamper", "Tamper");
|
|
44536
|
+
sub("presence", "sensor", "sensor", "presence", "Presence");
|
|
44537
|
+
sub("enum-sensor", "sensor", "sensor", "generic", "Sensor state");
|
|
44538
|
+
sub("device-event", "sensor", "sensor", "button", "Device event");
|
|
44539
|
+
sub("lock", "control", "control", "lock", "Lock");
|
|
44540
|
+
sub("cover", "control", "control", "door", "Cover");
|
|
44541
|
+
sub("switch", "control", "control", "switch", "Switch");
|
|
44542
|
+
sub("siren", "control", "control", "siren", "Siren");
|
|
44543
|
+
sub("button", "control", "control", "button", "Button");
|
|
44544
|
+
sub("doorbell", "control", "control", "doorbell", "Doorbell");
|
|
42162
44545
|
for (const l of AUDIO_MACRO_LABELS) {
|
|
42163
44546
|
const kind = `audio-${l.id}`;
|
|
42164
44547
|
if (entries.has(kind)) continue;
|
|
42165
|
-
sub(kind, "audio", "audio",
|
|
44548
|
+
sub(kind, "audio", "audio", kind, l.name);
|
|
42166
44549
|
}
|
|
42167
44550
|
/** The complete taxonomy dictionary, keyed by kind. */
|
|
42168
44551
|
var EVENT_TAXONOMY = Object.freeze(Object.fromEntries(entries));
|
|
@@ -42429,9 +44812,6 @@ var NcSystemEventKindSchema = _enum([
|
|
|
42429
44812
|
"device-battery-normal",
|
|
42430
44813
|
"device-consumable-low",
|
|
42431
44814
|
"device-consumable-normal",
|
|
42432
|
-
"device-tank-low",
|
|
42433
|
-
"device-tank-full",
|
|
42434
|
-
"device-tank-normal",
|
|
42435
44815
|
"stream-online",
|
|
42436
44816
|
"stream-offline",
|
|
42437
44817
|
"node-online",
|
|
@@ -42478,13 +44858,14 @@ var NcSystemEventKindSchema = _enum([
|
|
|
42478
44858
|
"camera-enabled"
|
|
42479
44859
|
]);
|
|
42480
44860
|
/** The legacy tail of {@link NcSystemEventKindSchema} — see its docblock. */
|
|
42481
|
-
var NC_LEGACY_SYSTEM_EVENT_KINDS =
|
|
44861
|
+
var NC_LEGACY_SYSTEM_EVENT_KINDS = [
|
|
42482
44862
|
"camera-online",
|
|
42483
44863
|
"camera-offline",
|
|
42484
44864
|
"camera-disabled",
|
|
42485
44865
|
"camera-enabled"
|
|
42486
|
-
]
|
|
42487
|
-
|
|
44866
|
+
];
|
|
44867
|
+
var NC_LEGACY_SYSTEM_EVENT_KIND_SET = new Set(NC_LEGACY_SYSTEM_EVENT_KINDS);
|
|
44868
|
+
NcSystemEventKindSchema.options.filter((kind) => !NC_LEGACY_SYSTEM_EVENT_KIND_SET.has(kind));
|
|
42488
44869
|
/**
|
|
42489
44870
|
* The panel's transitions, as ONE list.
|
|
42490
44871
|
*
|
|
@@ -43007,7 +45388,7 @@ var NcConditionsSchema = object({
|
|
|
43007
45388
|
* with the list under it is worse than no switch (D62).
|
|
43008
45389
|
*
|
|
43009
45390
|
* MEMBERS ARE FACE-GALLERY `Identity.id`s (uuid), not display names. A name is
|
|
43010
|
-
* renameable, and a rule authored on "
|
|
45391
|
+
* renameable, and a rule authored on "Alice" went silently dark the moment
|
|
43011
45392
|
* the operator fixed the spelling. The id reaches the record on
|
|
43012
45393
|
* `LabelAttribution.identityId`; the name is what the editor shows and what
|
|
43013
45394
|
* `{{label}}` renders.
|
|
@@ -43558,7 +45939,7 @@ var NcRulePatchSchema = NcRuleInputSchema.partial().extend({
|
|
|
43558
45939
|
* A rule scoped to one camera and one zone silently became a rule that
|
|
43559
45940
|
* matches EVERY event on EVERY camera, and lost its `media` policy
|
|
43560
45941
|
* (zoneCrop / gif / clip / frame) and its `priority` at the same time. Seen
|
|
43561
|
-
* live on 2026-08-12: a rule scoped to device
|
|
45942
|
+
* live on 2026-08-12: a rule scoped to device 102 fired on 104 and 101
|
|
43562
45943
|
* within a minute of a two-field patch.
|
|
43563
45944
|
*
|
|
43564
45945
|
* So every defaulted field is re-declared here WITHOUT its default. The
|
|
@@ -43603,18 +45984,11 @@ var NcRuleSchema = NcRuleInputSchema.extend({
|
|
|
43603
45984
|
*/
|
|
43604
45985
|
disabledTargetIds: array(string()).default([])
|
|
43605
45986
|
});
|
|
43606
|
-
/**
|
|
43607
|
-
* The state-summary SECTIONS (D647 / D698 / D708): the D637 kind groups that
|
|
43608
|
-
* report a still-true state. `addons` is the crash-looped addons only and
|
|
43609
|
-
* `addon-updates` the addons that are behind (D708 split them). `backups-exports` and `alarm` are not sections — a completed
|
|
43610
|
-
* job is not an open state, and the alarm stays instant.
|
|
43611
|
-
*/
|
|
43612
45987
|
var NcStateSummarySectionIdSchema = _enum([
|
|
43613
45988
|
"device-state",
|
|
43614
45989
|
"streams",
|
|
43615
45990
|
"battery",
|
|
43616
45991
|
"consumables",
|
|
43617
|
-
"tanks",
|
|
43618
45992
|
"detection-blind",
|
|
43619
45993
|
"nodes",
|
|
43620
45994
|
"addons",
|
|
@@ -44931,6 +47305,18 @@ Object.freeze({
|
|
|
44931
47305
|
reason: "camera sensor mappings not loaded"
|
|
44932
47306
|
});
|
|
44933
47307
|
/**
|
|
47308
|
+
* What the vision model must answer before a package event is emitted
|
|
47309
|
+
* when a packages rule has "Confirm with the LLM" on.
|
|
47310
|
+
*
|
|
47311
|
+
* `package` is the verdict. `confidence` is 0..1. `reason` is the model's
|
|
47312
|
+
* one-line explanation, stored on the event so a drop is not silent.
|
|
47313
|
+
*/
|
|
47314
|
+
var PackageLlmVerdictSchema = object({
|
|
47315
|
+
package: boolean(),
|
|
47316
|
+
confidence: number().min(0).max(1),
|
|
47317
|
+
reason: string().min(1)
|
|
47318
|
+
});
|
|
47319
|
+
/**
|
|
44934
47320
|
* A model choice has a SCOPE, and a scope change has a workflow.
|
|
44935
47321
|
*
|
|
44936
47322
|
* ## The two scopes
|
|
@@ -45382,7 +47768,7 @@ var LabelAttributionSchema = object({
|
|
|
45382
47768
|
* `Identity.id` or a plate-gallery `Vehicle.id` (both `randomUUID`).
|
|
45383
47769
|
*
|
|
45384
47770
|
* The text alone is a DISPLAY NAME, and a display name is renameable: a
|
|
45385
|
-
* notification rule authored on "
|
|
47771
|
+
* notification rule authored on "Alice" stopped matching the moment the
|
|
45386
47772
|
* operator fixed the spelling in the gallery, and nothing said so. The id is
|
|
45387
47773
|
* the thing that does not move, so it is what a rule matches on
|
|
45388
47774
|
* (`NcConditions.identities`) and the text is what a human is shown.
|
|
@@ -45867,6 +48253,21 @@ var ObjectEventSchema = object({
|
|
|
45867
48253
|
* pick-up written before D684 — UNKNOWN, never 0 and never `timestamp`.
|
|
45868
48254
|
*/
|
|
45869
48255
|
observedAt: number().optional(),
|
|
48256
|
+
/**
|
|
48257
|
+
* The delivery was emitted without a vision-model yes (D931).
|
|
48258
|
+
*
|
|
48259
|
+
* Set only when the packages rule asked for an LLM confirm and the model
|
|
48260
|
+
* was unreachable, timed out, or answered something that did not parse.
|
|
48261
|
+
* A notification reads it so it can say "possible" instead of a definite
|
|
48262
|
+
* delivery. Absent on every other row, and on a confirm that said yes.
|
|
48263
|
+
*/
|
|
48264
|
+
packagePossible: boolean().optional(),
|
|
48265
|
+
/**
|
|
48266
|
+
* The vision model's verdict, when a packages rule asked for one and the
|
|
48267
|
+
* model answered the schema (D931). A "no" never becomes a row — the
|
|
48268
|
+
* detector drops it and logs the reason. Present on a yes.
|
|
48269
|
+
*/
|
|
48270
|
+
packageLlmVerdict: PackageLlmVerdictSchema.optional(),
|
|
45870
48271
|
/** The parent track's key-event importance [0,1], propagated to every object
|
|
45871
48272
|
* event of the track (so an event row can be sorted by importance without a
|
|
45872
48273
|
* track join). Absent on legacy rows / before the track was scored. */
|
|
@@ -47664,7 +50065,6 @@ var PipelineAddonSchemaSchema = object({
|
|
|
47664
50065
|
defaultModelId: string(),
|
|
47665
50066
|
defaultModelIdByFormat: record(string(), string()).optional(),
|
|
47666
50067
|
enabledByDefault: boolean().optional(),
|
|
47667
|
-
backfillIntoExistingOverrides: boolean().optional(),
|
|
47668
50068
|
defaultConfidence: number(),
|
|
47669
50069
|
group: string().optional(),
|
|
47670
50070
|
configSchema: array(ConfigFieldBridge).readonly().optional()
|
|
@@ -47791,13 +50191,12 @@ var AudioTestResultSchema = object({
|
|
|
47791
50191
|
error: string().optional(),
|
|
47792
50192
|
frame: custom().optional()
|
|
47793
50193
|
});
|
|
47794
|
-
var PipelineConfigBridge = custom();
|
|
47795
50194
|
var ConfigUISchemaBridge = custom();
|
|
47796
50195
|
var ConfigUISchemaNullableBridge = custom();
|
|
47797
50196
|
var InferenceCapabilitiesBridge = custom();
|
|
47798
50197
|
var ModelAvailabilityListBridge = custom();
|
|
47799
50198
|
var PipelineRunResultBridge = custom();
|
|
47800
|
-
method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngineChoiceSchema), method(
|
|
50199
|
+
method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngineChoiceSchema), method(object({ nodeId: string() }), EngineProvisioningSchema), method(_void(), record(string(), object({
|
|
47801
50200
|
modelId: string(),
|
|
47802
50201
|
settings: record(string(), unknown()).readonly()
|
|
47803
50202
|
}))), method(object({ steps: record(string(), object({
|
|
@@ -47806,28 +50205,6 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
47806
50205
|
})) }), object({ success: literal(true) }), {
|
|
47807
50206
|
kind: "mutation",
|
|
47808
50207
|
auth: "admin"
|
|
47809
|
-
}), method(object({ nodeId: string() }), object({
|
|
47810
|
-
success: literal(true),
|
|
47811
|
-
clearedDevices: number()
|
|
47812
|
-
}), {
|
|
47813
|
-
kind: "mutation",
|
|
47814
|
-
auth: "admin"
|
|
47815
|
-
}), method(object({
|
|
47816
|
-
nodeId: string(),
|
|
47817
|
-
deviceIds: array(number()).readonly().optional(),
|
|
47818
|
-
dryRun: boolean()
|
|
47819
|
-
}), object({
|
|
47820
|
-
entries: array(object({
|
|
47821
|
-
deviceId: number(),
|
|
47822
|
-
keys: array(string()).readonly()
|
|
47823
|
-
})).readonly(),
|
|
47824
|
-
refused: array(object({
|
|
47825
|
-
deviceId: number(),
|
|
47826
|
-
reason: string()
|
|
47827
|
-
})).readonly()
|
|
47828
|
-
}), {
|
|
47829
|
-
kind: "mutation",
|
|
47830
|
-
auth: "admin"
|
|
47831
50208
|
}), method(object({ nodeId: string() }), object({ unhealthy: array(object({
|
|
47832
50209
|
/** `<backend>:<device>`, e.g. `openvino:gpu`. */
|
|
47833
50210
|
deviceKey: string(),
|
|
@@ -47850,7 +50227,7 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
47850
50227
|
}), object({ rearmed: boolean() }), {
|
|
47851
50228
|
kind: "mutation",
|
|
47852
50229
|
auth: "admin"
|
|
47853
|
-
}), method(_void(), PipelineSchemaSchema), method(_void(),
|
|
50230
|
+
}), method(_void(), PipelineSchemaSchema), method(_void(), ConfigUISchemaBridge), method(object({
|
|
47854
50231
|
steps: array(PipelineStepInputSchema),
|
|
47855
50232
|
deviceKey: string().optional()
|
|
47856
50233
|
}), PipelineValidationResultSchema), method(_void(), InferenceCapabilitiesBridge), method(object({ addonId: string() }), ModelAvailabilityListBridge), method(object({
|
|
@@ -47930,7 +50307,7 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
47930
50307
|
/**
|
|
47931
50308
|
* Root-supplied detections for the tree's ROOT step (D730). Set by
|
|
47932
50309
|
* `runDetailSubtree` when the camera's root model supplies a crop-kind
|
|
47933
|
-
* step (a
|
|
50310
|
+
* step (a plus catalog `license_plate` for `plate-detection`): the step is
|
|
47934
50311
|
* NOT inferred, these boxes are its output, and its children (the plate
|
|
47935
50312
|
* reader) run on them through their own crop policy. Boxes are in the
|
|
47936
50313
|
* PIXELS of the image this call carries. Absent ⇒ the root step runs.
|
|
@@ -48098,11 +50475,18 @@ var KeptReasonSchema = _enum(["custom-pin"]);
|
|
|
48098
50475
|
* Where a choice's latency came from (D791): this node's own benchmark
|
|
48099
50476
|
* result, or the hardware-class table. Measured on the node beats the table.
|
|
48100
50477
|
*/
|
|
48101
|
-
var LatencySourceSchema = discriminatedUnion("kind", [
|
|
48102
|
-
kind: literal("
|
|
48103
|
-
|
|
48104
|
-
|
|
48105
|
-
|
|
50478
|
+
var LatencySourceSchema = discriminatedUnion("kind", [
|
|
50479
|
+
object({ kind: literal("table") }),
|
|
50480
|
+
object({
|
|
50481
|
+
kind: literal("node-benchmark"),
|
|
50482
|
+
resultId: string(),
|
|
50483
|
+
measuredAtMs: number()
|
|
50484
|
+
}),
|
|
50485
|
+
object({
|
|
50486
|
+
kind: literal("estimated"),
|
|
50487
|
+
estimatedFrom: HardwareClassIdSchema
|
|
50488
|
+
})
|
|
50489
|
+
]);
|
|
48106
50490
|
var DeviceModelChoiceSchema = object({
|
|
48107
50491
|
modelId: string(),
|
|
48108
50492
|
p50Ms: number(),
|
|
@@ -48110,6 +50494,11 @@ var DeviceModelChoiceSchema = object({
|
|
|
48110
50494
|
measured: boolean(),
|
|
48111
50495
|
/** Absent on a plan from before D791 — read as the table. */
|
|
48112
50496
|
source: LatencySourceSchema.optional(),
|
|
50497
|
+
/**
|
|
50498
|
+
* The measured class this latency was scaled from (D930). Absent when the
|
|
50499
|
+
* cell is the table or a node benchmark.
|
|
50500
|
+
*/
|
|
50501
|
+
estimatedFrom: HardwareClassIdSchema.optional(),
|
|
48113
50502
|
/** Parallel sessions at the camera rate with the headroom kept free: ⌊fps × (1 − headroom) / camera fps⌋. */
|
|
48114
50503
|
capacitySessions: number(),
|
|
48115
50504
|
personRecall: number()
|
|
@@ -48149,40 +50538,20 @@ var NodeDeviceChangeSchema = object({
|
|
|
48149
50538
|
keys: array(string()).readonly()
|
|
48150
50539
|
})).readonly()
|
|
48151
50540
|
});
|
|
48152
|
-
|
|
48153
|
-
|
|
48154
|
-
|
|
50541
|
+
/**
|
|
50542
|
+
* Every model and model-bound threshold lives on the accelerator that runs it
|
|
50543
|
+
* (D927), so the plan writes node / device entries only — there is no camera
|
|
50544
|
+
* layer for it to clear.
|
|
50545
|
+
*/
|
|
50546
|
+
var AutoTuneWarningSchema = discriminatedUnion("kind", [object({
|
|
50547
|
+
kind: literal("custom-pin-kept"),
|
|
48155
50548
|
nodeId: string(),
|
|
48156
|
-
deviceKey: string()
|
|
48157
|
-
|
|
48158
|
-
|
|
48159
|
-
|
|
48160
|
-
|
|
48161
|
-
|
|
48162
|
-
deviceId: number(),
|
|
48163
|
-
keys: array(string()).readonly()
|
|
48164
|
-
});
|
|
48165
|
-
var AutoTuneWarningSchema = discriminatedUnion("kind", [
|
|
48166
|
-
object({
|
|
48167
|
-
kind: literal("detector-store-cluster-wide"),
|
|
48168
|
-
skippedNodes: array(string()).readonly()
|
|
48169
|
-
}),
|
|
48170
|
-
object({
|
|
48171
|
-
kind: literal("detector-store-unreadable"),
|
|
48172
|
-
error: string()
|
|
48173
|
-
}),
|
|
48174
|
-
object({
|
|
48175
|
-
kind: literal("custom-pin-kept"),
|
|
48176
|
-
nodeId: string(),
|
|
48177
|
-
deviceKey: string().nullable(),
|
|
48178
|
-
deviceId: number().nullable(),
|
|
48179
|
-
modelId: string()
|
|
48180
|
-
}),
|
|
48181
|
-
object({
|
|
48182
|
-
kind: literal("custom-registry-unreadable"),
|
|
48183
|
-
error: string()
|
|
48184
|
-
})
|
|
48185
|
-
]);
|
|
50549
|
+
deviceKey: string(),
|
|
50550
|
+
modelId: string()
|
|
50551
|
+
}), object({
|
|
50552
|
+
kind: literal("custom-registry-unreadable"),
|
|
50553
|
+
error: string()
|
|
50554
|
+
})]);
|
|
48186
50555
|
var AutoTuneOptionsSchema = object({
|
|
48187
50556
|
/** Share of each accelerator's throughput kept free (0.3–0.5). */
|
|
48188
50557
|
headroom: number().min(.3).max(.5).default(.4),
|
|
@@ -48204,8 +50573,6 @@ var AutoTunePlanSchema = object({
|
|
|
48204
50573
|
generatedAt: number(),
|
|
48205
50574
|
nodes: array(NodeRecommendationSchema).readonly(),
|
|
48206
50575
|
nodeChanges: array(NodeDeviceChangeSchema).readonly(),
|
|
48207
|
-
cameraClears: array(CameraOverrideClearSchema).readonly(),
|
|
48208
|
-
detectorStoreClears: array(DetectorStoreClearSchema).readonly(),
|
|
48209
50576
|
warnings: array(AutoTuneWarningSchema).readonly()
|
|
48210
50577
|
});
|
|
48211
50578
|
var AutoTuneApplyInputSchema = object({
|
|
@@ -48216,8 +50583,6 @@ var AutoTuneApplyInputSchema = object({
|
|
|
48216
50583
|
var AutoTunePhaseResultSchema = object({
|
|
48217
50584
|
phase: _enum([
|
|
48218
50585
|
"download",
|
|
48219
|
-
"camera-overrides",
|
|
48220
|
-
"detector-thresholds",
|
|
48221
50586
|
"node-models",
|
|
48222
50587
|
"redispatch"
|
|
48223
50588
|
]),
|
|
@@ -49575,7 +51940,7 @@ var RunnerCameraConfigSchema = object({
|
|
|
49575
51940
|
* detection session that asks for history. What shipped was a last-moment
|
|
49576
51941
|
* discard — `FrameSlot`'s throttle compares wall clocks, and ~4 s of media
|
|
49577
51942
|
* arriving inside a few hundred ms of wall clock looks to it like one frame's
|
|
49578
|
-
* worth. Device
|
|
51943
|
+
* worth. Device 102, 2026-09-08: a re-run of the SAME model over the stored
|
|
49579
51944
|
* recording scored the subject `vehicle 0.5669` — above the 0.50 floor —
|
|
49580
51945
|
* 1.68 s BEFORE the live track was born, on a frame that was in the pre-roll,
|
|
49581
51946
|
* was decoded, and was freed.
|
|
@@ -49928,6 +52293,12 @@ var AgentPipelineSettingsSchema = object({
|
|
|
49928
52293
|
/** Hub-persisted UI colour (`--color-node-*` theme tokens). */
|
|
49929
52294
|
color: NodeColorIdSchema.optional(),
|
|
49930
52295
|
/**
|
|
52296
|
+
* NODE-wide step settings (D927): `stepId → { key → value }`, applied on
|
|
52297
|
+
* every accelerator of the node under the device's own settings. Never a
|
|
52298
|
+
* model or a model-bound threshold. Written by `setNodeStepSettings`.
|
|
52299
|
+
*/
|
|
52300
|
+
stepSettings: record(string(), record(string(), unknown()).readonly()).optional(),
|
|
52301
|
+
/**
|
|
49931
52302
|
* Multi-device inference opt-in (Phase 4). Per-node map deviceKey → {enabled,
|
|
49932
52303
|
* weight, steps}. Absent / all-disabled ⇒ the node's single default
|
|
49933
52304
|
* accelerator (safe default); two+ enabled ⇒ the dispatcher balances
|
|
@@ -49943,17 +52314,6 @@ var AgentPipelineSettingsSchema = object({
|
|
|
49943
52314
|
steps: record(string(), DeviceStepConfigSchema).optional()
|
|
49944
52315
|
})).optional()
|
|
49945
52316
|
});
|
|
49946
|
-
var CameraPipelineForAgentSchema = object({
|
|
49947
|
-
steps: array(PipelineStepInputSchema).readonly(),
|
|
49948
|
-
audio: object({
|
|
49949
|
-
modelId: string(),
|
|
49950
|
-
enabled: boolean()
|
|
49951
|
-
}).nullable()
|
|
49952
|
-
});
|
|
49953
|
-
var CameraStepOverridePatchSchema = object({
|
|
49954
|
-
modelId: string().optional(),
|
|
49955
|
-
settings: record(string(), unknown()).readonly().optional()
|
|
49956
|
-
});
|
|
49957
52317
|
var CameraStepSettingsSchema = record(string(), record(string(), unknown()).readonly());
|
|
49958
52318
|
/** The three root-detector choices a camera has (D507: at most one root). */
|
|
49959
52319
|
var CameraDetectionSourceSchema = _enum([
|
|
@@ -49963,9 +52323,7 @@ var CameraDetectionSourceSchema = _enum([
|
|
|
49963
52323
|
]);
|
|
49964
52324
|
var CameraPipelineSettingsSchema = object({
|
|
49965
52325
|
stepToggles: record(string(), boolean()).optional(),
|
|
49966
|
-
stepSettings: CameraStepSettingsSchema.optional()
|
|
49967
|
-
stepOverridesByDevice: record(string(), record(string(), record(string(), CameraStepOverridePatchSchema))).optional(),
|
|
49968
|
-
pipelineByAgent: record(string(), CameraPipelineForAgentSchema).optional()
|
|
52326
|
+
stepSettings: CameraStepSettingsSchema.optional()
|
|
49969
52327
|
});
|
|
49970
52328
|
/**
|
|
49971
52329
|
* Pipeline placement record persisted by `addon-pipeline-orchestrator` via
|
|
@@ -50511,6 +52869,13 @@ method(object({
|
|
|
50511
52869
|
}), object({ success: literal(true) }), {
|
|
50512
52870
|
kind: "mutation",
|
|
50513
52871
|
auth: "admin"
|
|
52872
|
+
}), method(object({
|
|
52873
|
+
agentNodeId: string(),
|
|
52874
|
+
addonId: string(),
|
|
52875
|
+
settings: record(string(), unknown()).nullable()
|
|
52876
|
+
}), object({ success: literal(true) }), {
|
|
52877
|
+
kind: "mutation",
|
|
52878
|
+
auth: "admin"
|
|
50514
52879
|
}), method(object({ nodeId: string() }), NodeInferenceDevicesSchema), method(object({
|
|
50515
52880
|
agentNodeId: string(),
|
|
50516
52881
|
deviceKey: string()
|
|
@@ -50520,9 +52885,7 @@ method(object({
|
|
|
50520
52885
|
}), method(object({ agentNodeId: string() }), object({
|
|
50521
52886
|
success: literal(true),
|
|
50522
52887
|
/** Hardware-aware default detection model now in effect on the node (null when unresolvable). */
|
|
50523
|
-
effectiveModelId: string().nullable()
|
|
50524
|
-
/** Number of cameras whose node-scoped overrides were cleared. */
|
|
50525
|
-
clearedCameraOverrides: number()
|
|
52888
|
+
effectiveModelId: string().nullable()
|
|
50526
52889
|
}), {
|
|
50527
52890
|
kind: "mutation",
|
|
50528
52891
|
auth: "admin"
|
|
@@ -50577,15 +52940,6 @@ method(object({
|
|
|
50577
52940
|
}), object({ success: literal(true) }), {
|
|
50578
52941
|
kind: "mutation",
|
|
50579
52942
|
auth: "admin"
|
|
50580
|
-
}), method(object({ deviceId: number() }), record(string(), record(string(), record(string(), CameraStepOverridePatchSchema))).nullable()), method(object({
|
|
50581
|
-
deviceId: number(),
|
|
50582
|
-
agentNodeId: string(),
|
|
50583
|
-
deviceKey: string(),
|
|
50584
|
-
addonId: string(),
|
|
50585
|
-
patch: CameraStepOverridePatchSchema.nullable()
|
|
50586
|
-
}), object({ success: literal(true) }), {
|
|
50587
|
-
kind: "mutation",
|
|
50588
|
-
auth: "admin"
|
|
50589
52943
|
}), method(object({
|
|
50590
52944
|
deviceId: number(),
|
|
50591
52945
|
addonId: string(),
|
|
@@ -50593,13 +52947,6 @@ method(object({
|
|
|
50593
52947
|
}), object({ success: literal(true) }), {
|
|
50594
52948
|
kind: "mutation",
|
|
50595
52949
|
auth: "admin"
|
|
50596
|
-
}), method(object({
|
|
50597
|
-
deviceId: number(),
|
|
50598
|
-
agentNodeId: string(),
|
|
50599
|
-
pipeline: CameraPipelineForAgentSchema.nullable()
|
|
50600
|
-
}), object({ success: literal(true) }), {
|
|
50601
|
-
kind: "mutation",
|
|
50602
|
-
auth: "admin"
|
|
50603
52950
|
}), method(object({
|
|
50604
52951
|
deviceId: number(),
|
|
50605
52952
|
agentNodeId: string().optional()
|
|
@@ -51623,7 +53970,7 @@ method(_void(), ProviderInfoSchema, { auth: "admin" }), method(object({ config:
|
|
|
51623
53970
|
* The signals a device can emit to WAKE its own stream.
|
|
51624
53971
|
*
|
|
51625
53972
|
* A camera whose stream is built on demand sleeps until something asks for it,
|
|
51626
|
-
* and "something" cannot be a consumer that is merely attached — a
|
|
53973
|
+
* and "something" cannot be a consumer that is merely attached — a external-catalog
|
|
51627
53974
|
* puller holds a session open for ever, and treating that as demand would keep
|
|
51628
53975
|
* a battery camera awake for ever, which is the whole thing the battery is for
|
|
51629
53976
|
* (D173). So the wake has to come from the CAMERA: an event it noticed by
|
|
@@ -52310,7 +54657,7 @@ var ClipSchema = object({
|
|
|
52310
54657
|
* {@link MAX_CLIP_EVENT_IDS}. Empty on footage-only clips.
|
|
52311
54658
|
*
|
|
52312
54659
|
* Bounded because it is not a payload the surface pages through: one visit on
|
|
52313
|
-
* device
|
|
54660
|
+
* device 101 carried 2 345 ids, and `eventIds` was 99% of a 153 KB
|
|
52314
54661
|
* camera-day. Read {@link eventCount} for the true total.
|
|
52315
54662
|
*/
|
|
52316
54663
|
eventIds: array(string()).optional(),
|
|
@@ -52455,7 +54802,7 @@ var ClipPlaybackSchema = object({
|
|
|
52455
54802
|
* camera has no recordings", which is the defect this whole line of work is
|
|
52456
54803
|
* about: a battery camera nobody woke (`sleeping`), a camera that could not be
|
|
52457
54804
|
* reached at all (`unreachable`, also what a provider that THREW reports), a
|
|
52458
|
-
* camera whose SD card is not mounted (`no-storage`, measured on
|
|
54805
|
+
* camera whose SD card is not mounted (`no-storage`, measured on 106 —
|
|
52459
54806
|
* `HddInfo mount 0`, honestly nothing to list rather than "no clips"), and a
|
|
52460
54807
|
* camera whose OWN index disagrees with its OWN calendar (`index-empty`,
|
|
52461
54808
|
* measured on 618: the calendar marks 3–20 September, days 6–20 list zero
|
|
@@ -52720,7 +55067,7 @@ DeviceType.Camera, method(object({
|
|
|
52720
55067
|
*
|
|
52721
55068
|
* It was optional, documented as "absent means the device's BOUND
|
|
52722
55069
|
* provider, which is CamStack on every camera". No code implemented
|
|
52723
|
-
* that. Measured on the live hub 2026-09-20 — device
|
|
55070
|
+
* that. Measured on the live hub 2026-09-20 — device 107, bound to
|
|
52724
55071
|
* `recorder` AND `provider-reolink` — a bare call with `limit: 3`
|
|
52725
55072
|
* answered SIX rows, three from each source, merged newest-first:
|
|
52726
55073
|
* `device-collection-dispatch.ts` simply left the fan-out un-narrowed,
|
|
@@ -53798,7 +56145,10 @@ object({
|
|
|
53798
56145
|
DeviceType.Sensor;
|
|
53799
56146
|
object({
|
|
53800
56147
|
/** Current illuminance in lux (lx). */
|
|
53801
|
-
lux: number().min(0)
|
|
56148
|
+
lux: number().min(0).meta({
|
|
56149
|
+
unit: "lx",
|
|
56150
|
+
label: "Illuminance"
|
|
56151
|
+
}),
|
|
53802
56152
|
/** Ms epoch when the slice was last updated. */
|
|
53803
56153
|
lastFetchedAt: number(),
|
|
53804
56154
|
/** Live display unit from the upstream source (e.g. HA
|
|
@@ -53954,7 +56304,10 @@ var BatteryStatusSchema = object({
|
|
|
53954
56304
|
* Consumers must SKIP a null rather than coerce it — `battery-band` already
|
|
53955
56305
|
* declines to band a non-finite reading, which is the correct shape.
|
|
53956
56306
|
*/
|
|
53957
|
-
percentage: number().min(0).max(100).nullable()
|
|
56307
|
+
percentage: number().min(0).max(100).nullable().meta({
|
|
56308
|
+
unit: "%",
|
|
56309
|
+
label: "Charge"
|
|
56310
|
+
}),
|
|
53958
56311
|
/**
|
|
53959
56312
|
* Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
|
|
53960
56313
|
* Reolink-specific for the Solar Panel 2 accessory (will become
|
|
@@ -53973,13 +56326,13 @@ var BatteryStatusSchema = object({
|
|
|
53973
56326
|
"solar",
|
|
53974
56327
|
"none",
|
|
53975
56328
|
"unknown"
|
|
53976
|
-
]),
|
|
56329
|
+
]).meta({ label: "Charging source" }),
|
|
53977
56330
|
/**
|
|
53978
56331
|
* True when the camera firmware has gone into low-power mode. Battery
|
|
53979
56332
|
* providers MUST avoid polling during sleep — reading the battery
|
|
53980
56333
|
* wakes the camera up and drains charge.
|
|
53981
56334
|
*/
|
|
53982
|
-
sleeping: boolean(),
|
|
56335
|
+
sleeping: boolean().meta({ label: "Sleeping" }),
|
|
53983
56336
|
/** Ms epoch of the last observation. Lets consumers reason about freshness. */
|
|
53984
56337
|
lastUpdated: number(),
|
|
53985
56338
|
/**
|
|
@@ -54019,9 +56372,10 @@ var BatteryStatusSchema = object({
|
|
|
54019
56372
|
* sub-threshold = low). UI MUST render "Normal"/"Low" instead of a
|
|
54020
56373
|
* misleading exact percentage. Absent/false → genuine 0–100 % reading.
|
|
54021
56374
|
*/
|
|
54022
|
-
binary: boolean().optional()
|
|
56375
|
+
binary: boolean().optional().meta({ label: "Binary indicator" })
|
|
54023
56376
|
});
|
|
54024
|
-
DeviceType.Camera, DeviceType.Sensor, DeviceType.Button, DeviceType.Switch, DeviceType.PetFeeder, DeviceType.Container, DeviceType.Thermostat
|
|
56377
|
+
DeviceType.Camera, DeviceType.Sensor, DeviceType.Button, DeviceType.Switch, DeviceType.PetFeeder, DeviceType.Container, DeviceType.Thermostat;
|
|
56378
|
+
method(object({
|
|
54025
56379
|
deviceId: number(),
|
|
54026
56380
|
/** Bound on the wait. Sensible range 3000–10000ms. */
|
|
54027
56381
|
timeoutMs: number().int().min(500).max(3e4).default(8e3)
|
|
@@ -54033,7 +56387,7 @@ DeviceType.Camera, DeviceType.Sensor, DeviceType.Button, DeviceType.Switch, Devi
|
|
|
54033
56387
|
status: BatteryStatusSchema
|
|
54034
56388
|
});
|
|
54035
56389
|
object({
|
|
54036
|
-
on: boolean(),
|
|
56390
|
+
on: boolean().meta({ label: "On" }),
|
|
54037
56391
|
/** Ms epoch of the last transition. 0 if never observed. */
|
|
54038
56392
|
lastChangedAt: number()
|
|
54039
56393
|
});
|
|
@@ -54303,7 +56657,7 @@ var GridLayoutCellSchema = object({
|
|
|
54303
56657
|
*
|
|
54304
56658
|
* A grid's `high` composes its sources' `high` and its `low` their `low`, so a
|
|
54305
56659
|
* profile is on offer only when EVERY source can serve it. The refusal NAMES
|
|
54306
|
-
* the sources, because "this grid has no low" is not a finding — "
|
|
56660
|
+
* the sources, because "this grid has no low" is not a finding — "101 has no
|
|
54307
56661
|
* low" is, and it is the one an operator can act on.
|
|
54308
56662
|
*/
|
|
54309
56663
|
var GridProfileOfferSchema = object({
|
|
@@ -54742,6 +57096,7 @@ var ConsumablesStatusSchema = object({
|
|
|
54742
57096
|
})),
|
|
54743
57097
|
lastChangedAt: number()
|
|
54744
57098
|
});
|
|
57099
|
+
Object.values(DeviceType), [...ConsumableRemainingUnitSchema.options], [...ConsumableStatusSchema.options], [...ConsumableKindSchema.options], [...ConsumableFormSchema.options];
|
|
54745
57100
|
Object.values(DeviceType), method(object({
|
|
54746
57101
|
deviceId: number().int().nonnegative(),
|
|
54747
57102
|
key: string().min(1)
|
|
@@ -54946,6 +57301,30 @@ DeviceType.Camera, method(object({ deviceId: number() }), DayNightOptionsSchema)
|
|
|
54946
57301
|
auth: "admin"
|
|
54947
57302
|
});
|
|
54948
57303
|
/**
|
|
57304
|
+
* display-palette — the cluster's one colour table (D939).
|
|
57305
|
+
*
|
|
57306
|
+
* Hub singleton. `getPalette` reports `unknown` when the settings store
|
|
57307
|
+
* cannot be read; it does not pretend the bundled preset was stored.
|
|
57308
|
+
* `setPalette` refuses a palette that fails the ΔE / contrast rule and names
|
|
57309
|
+
* the pairs.
|
|
57310
|
+
*/
|
|
57311
|
+
var presetSummarySchema = object({
|
|
57312
|
+
id: string(),
|
|
57313
|
+
name: string(),
|
|
57314
|
+
swatches: record(string(), paletteSwatchSchema),
|
|
57315
|
+
fallbacks: array(string())
|
|
57316
|
+
});
|
|
57317
|
+
method(_void(), paletteResultSchema, {
|
|
57318
|
+
auth: "protected",
|
|
57319
|
+
role: "viewer"
|
|
57320
|
+
}), method(_void(), array(presetSummarySchema).readonly(), {
|
|
57321
|
+
auth: "protected",
|
|
57322
|
+
role: "viewer"
|
|
57323
|
+
}), method(setPaletteInputSchema, paletteReadySchema, {
|
|
57324
|
+
kind: "mutation",
|
|
57325
|
+
auth: "admin"
|
|
57326
|
+
});
|
|
57327
|
+
/**
|
|
54949
57328
|
* Generic device-level status snapshot. Auto-registered by `BaseDevice`
|
|
54950
57329
|
* for every device, regardless of provider — the kernel needs a uniform
|
|
54951
57330
|
* cap-keyed slice for the basic device flags every consumer expects to
|
|
@@ -55225,6 +57604,7 @@ DeviceType.Dishwasher, method(object({
|
|
|
55225
57604
|
kind: "mutation",
|
|
55226
57605
|
auth: "protected"
|
|
55227
57606
|
}), method(object({ deviceId: DeviceIdSchema }), DishwasherOptionsSchema, { auth: "protected" });
|
|
57607
|
+
DeviceType.Camera;
|
|
55228
57608
|
object({
|
|
55229
57609
|
/** Ms epoch of the last press. null = never observed since this provider started. */
|
|
55230
57610
|
lastPressedAt: number().nullable(),
|
|
@@ -55848,7 +58228,10 @@ DeviceType.Humidifier, method(object({
|
|
|
55848
58228
|
*/
|
|
55849
58229
|
var HumiditySensorStatusSchema = object({
|
|
55850
58230
|
/** Current relative humidity, 0..100. */
|
|
55851
|
-
percent: number().min(0).max(100)
|
|
58231
|
+
percent: number().min(0).max(100).meta({
|
|
58232
|
+
unit: "%",
|
|
58233
|
+
label: "Humidity"
|
|
58234
|
+
}),
|
|
55852
58235
|
/** Ms epoch when the slice was last updated. */
|
|
55853
58236
|
lastFetchedAt: number(),
|
|
55854
58237
|
/** Live display unit from the upstream source (e.g. HA
|
|
@@ -57025,6 +59408,7 @@ authKey: string().optional() }), object({
|
|
|
57025
59408
|
/** Human-readable error when `ok: false`. */
|
|
57026
59409
|
error: string().optional()
|
|
57027
59410
|
}), { kind: "mutation" });
|
|
59411
|
+
DeviceType.Camera;
|
|
57028
59412
|
var MotionStatusSchema = object({
|
|
57029
59413
|
detected: boolean(),
|
|
57030
59414
|
/** Ms epoch of the last detected-true observation. Null if never detected. */
|
|
@@ -58413,6 +60797,30 @@ includeCrops: boolean().optional() }).optional(), array(VehicleSchema).readonly(
|
|
|
58413
60797
|
kind: "mutation",
|
|
58414
60798
|
auth: "admin"
|
|
58415
60799
|
});
|
|
60800
|
+
var CORE_ULTRA_265K_IGPU_CLOCK_MHZ = 2e3;
|
|
60801
|
+
var positiveOrNull = number().nullable().transform((value) => value !== null && Number.isFinite(value) && value > 0 ? value : null);
|
|
60802
|
+
var textOrNull = string().nullable().transform((value) => value !== null && value.trim() !== "" ? value : null);
|
|
60803
|
+
var PrecisionGopsSchema = object({
|
|
60804
|
+
int8: positiveOrNull,
|
|
60805
|
+
fp16: positiveOrNull
|
|
60806
|
+
});
|
|
60807
|
+
/** What one accelerator device reported. Every failed query is null. */
|
|
60808
|
+
var AcceleratorComputeSchema = object({
|
|
60809
|
+
deviceKey: string(),
|
|
60810
|
+
fullDeviceName: textOrNull,
|
|
60811
|
+
executionUnits: positiveOrNull,
|
|
60812
|
+
clockMHz: positiveOrNull,
|
|
60813
|
+
gops: PrecisionGopsSchema.nullable(),
|
|
60814
|
+
architecture: textOrNull,
|
|
60815
|
+
npuName: textOrNull,
|
|
60816
|
+
tops: positiveOrNull,
|
|
60817
|
+
vendor: textOrNull,
|
|
60818
|
+
webgpuArchitecture: textOrNull,
|
|
60819
|
+
webgpuDevice: textOrNull,
|
|
60820
|
+
computeUnits: positiveOrNull
|
|
60821
|
+
});
|
|
60822
|
+
object({ accelerators: array(AcceleratorComputeSchema).nullable() });
|
|
60823
|
+
64 * CORE_ULTRA_265K_IGPU_CLOCK_MHZ;
|
|
58416
60824
|
var ModelFormatSchema = _enum(MODEL_FORMATS);
|
|
58417
60825
|
var HwAccelBackendInputSchema = _enum([
|
|
58418
60826
|
"videotoolbox",
|
|
@@ -58526,7 +60934,12 @@ var HardwareInfoSchema = object({
|
|
|
58526
60934
|
availableRAM_MB: number(),
|
|
58527
60935
|
gpu: GpuInfoSchema.nullable(),
|
|
58528
60936
|
npu: NpuInfoSchema.nullable(),
|
|
58529
|
-
coral: CoralInfoSchema.nullable().optional()
|
|
60937
|
+
coral: CoralInfoSchema.nullable().optional(),
|
|
60938
|
+
/**
|
|
60939
|
+
* Per-accelerator compute (D930). Omitted by a node that has not probed it.
|
|
60940
|
+
* `null` fields inside an entry are a failed query, never a zero.
|
|
60941
|
+
*/
|
|
60942
|
+
accelerators: array(AcceleratorComputeSchema).readonly().optional()
|
|
58530
60943
|
});
|
|
58531
60944
|
var PlatformScoreSchema = object({
|
|
58532
60945
|
runtime: literal("python"),
|
|
@@ -58595,9 +61008,15 @@ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema)
|
|
|
58595
61008
|
});
|
|
58596
61009
|
object({
|
|
58597
61010
|
/** Instantaneous power draw in watts. */
|
|
58598
|
-
watts: number().optional()
|
|
61011
|
+
watts: number().optional().meta({
|
|
61012
|
+
unit: "W",
|
|
61013
|
+
label: "Power"
|
|
61014
|
+
}),
|
|
58599
61015
|
/** Cumulative energy in kilowatt-hours since the meter was reset. */
|
|
58600
|
-
kwhTotal: number().optional()
|
|
61016
|
+
kwhTotal: number().optional().meta({
|
|
61017
|
+
unit: "kWh",
|
|
61018
|
+
label: "Energy"
|
|
61019
|
+
}),
|
|
58601
61020
|
/** Voltage in volts. */
|
|
58602
61021
|
volts: number().optional(),
|
|
58603
61022
|
/** Current in amperes. */
|
|
@@ -58916,9 +61335,9 @@ var PtzOptionsSchema = object({
|
|
|
58916
61335
|
* Reolink preset 0, Hikvision preset '1', Dahua preset 1 -- and on this fleet
|
|
58917
61336
|
* not one of the three cameras honours its own:
|
|
58918
61337
|
*
|
|
58919
|
-
*
|
|
58920
|
-
* 1438
|
|
58921
|
-
* 3836
|
|
61338
|
+
* 107 Camera camera Carol (reolink) preset 0 holds "stanza"
|
|
61339
|
+
* 1438 Camera dispensa (hikvision) preset 1 holds "Credenza"
|
|
61340
|
+
* 3836 Camera studio (amcrest) preset 1 holds "Preset1"
|
|
58922
61341
|
*
|
|
58923
61342
|
* So `goHome` meant "go wherever the operator happened to save in slot 0 or 1",
|
|
58924
61343
|
* and two of the three swallowed the failure in a bare `catch`. For autotrack
|
|
@@ -59059,6 +61478,24 @@ DeviceType.Camera, method(object({ deviceId: number() }), PtzAutotrackStatusSche
|
|
|
59059
61478
|
deviceId: number(),
|
|
59060
61479
|
status: PtzAutotrackStatusSchema
|
|
59061
61480
|
});
|
|
61481
|
+
var RunningStateSourceSchema = _enum(["native", "assigned"]);
|
|
61482
|
+
object({
|
|
61483
|
+
/** null = unknown — never coerced to false (D393). */
|
|
61484
|
+
running: boolean().nullable(),
|
|
61485
|
+
/** Epoch ms the current boolean began; null while `running` is null. */
|
|
61486
|
+
since: number().nullable(),
|
|
61487
|
+
source: RunningStateSourceSchema.meta({ label: "Source" }),
|
|
61488
|
+
phase: string().nullable(),
|
|
61489
|
+
/** null until a reading has been published (D393). */
|
|
61490
|
+
lastFetchedAt: number().nullable()
|
|
61491
|
+
});
|
|
61492
|
+
object({
|
|
61493
|
+
deviceId: number(),
|
|
61494
|
+
since: number().nullable(),
|
|
61495
|
+
phase: string().nullable()
|
|
61496
|
+
});
|
|
61497
|
+
Object.values(DeviceType);
|
|
61498
|
+
DeviceType.Dishwasher, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.MediaPlayer, DeviceType.WaterHeater, DeviceType.Humidifier, DeviceType.Fan, DeviceType.Climate, DeviceType.Thermostat, DeviceType.PetFeeder;
|
|
59062
61499
|
DeviceType.Camera, DeviceType.Sensor, DeviceType.Switch, method(object({ deviceId: number().int().nonnegative() }), object({ success: literal(true) }), {
|
|
59063
61500
|
kind: "mutation",
|
|
59064
61501
|
auth: "admin"
|
|
@@ -59100,7 +61537,7 @@ var RecordingAvailabilitySchema = object({
|
|
|
59100
61537
|
* would look identical. But the answer used to say nothing about that, so a
|
|
59101
61538
|
* caller asking "what can I export?" read the single preferred profile as
|
|
59102
61539
|
* the only one that exists — on this deployment every camera records `high`
|
|
59103
|
-
* AND `low`, the low tree holding 14 GB for camera
|
|
61540
|
+
* AND `low`, the low tree holding 14 GB for camera 101 alone, and the export
|
|
59104
61541
|
* UI could not see it.
|
|
59105
61542
|
*
|
|
59106
61543
|
* Cheap: it is the same shallow directory read the profile CHOICE already
|
|
@@ -59199,7 +61636,7 @@ var RecordingSourceOptionsSchema = object({
|
|
|
59199
61636
|
* `sparse` = gaps are the absence of one, and must be drawn as such.
|
|
59200
61637
|
*
|
|
59201
61638
|
* Not an onboard-only concession: measured 2026-09-24, OUR bar covers 98.8 %
|
|
59202
|
-
* of
|
|
61639
|
+
* of 107's day and 1.2 % of 1436's. It is a fact about a (source, camera)
|
|
59203
61640
|
* pair, and ours answers it per camera from `deriveRecordingMode`. */
|
|
59204
61641
|
coverage: _enum(["continuous", "sparse"]),
|
|
59205
61642
|
/** Where the playhead may be put.
|
|
@@ -59275,7 +61712,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(RecordingSourceS
|
|
|
59275
61712
|
* merely discouraged (D554 amended).
|
|
59276
61713
|
*
|
|
59277
61714
|
* It was learned the expensive way on `videoclips.listClips`: measured
|
|
59278
|
-
* on the live hub 2026-09-20, device
|
|
61715
|
+
* on the live hub 2026-09-20, device 107 bound to `recorder` AND
|
|
59279
61716
|
* `provider-reolink`, a bare call with `limit: 3` answered SIX rows,
|
|
59280
61717
|
* three from each source, merged — `device-collection-dispatch.ts`
|
|
59281
61718
|
* leaves an unpinned fan-out un-narrowed, so absence buys the union the
|
|
@@ -59876,7 +62313,7 @@ var ExportSpeedSchema = number().min(.25).max(32);
|
|
|
59876
62313
|
* on a 10 h window holding 29,393 s of footage every range landed late by the
|
|
59877
62314
|
* gap accumulated before it — up to 6,607 s, well past EOF. Nothing matched,
|
|
59878
62315
|
* the video was a uniform timelapse, and the log line reported the five ranges
|
|
59879
|
-
* that had been ASKED for (2026-08-13, export `57d14363`, camera
|
|
62316
|
+
* that had been ASKED for (2026-08-13, export `57d14363`, camera 101).
|
|
59880
62317
|
*
|
|
59881
62318
|
* Relative and not absolute epoch, because an absolute epoch would make every
|
|
59882
62319
|
* call site responsible for the same subtraction.
|
|
@@ -60510,7 +62947,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), RecordingSignalStatusS
|
|
|
60510
62947
|
* which put a "Scenes" tab on one camera's detail page. That is the wrong shape
|
|
60511
62948
|
* for the thing: a scene is a standing question about the property ("is the bin
|
|
60512
62949
|
* still out"), and the operator's question is "which of my scenes have tripped",
|
|
60513
|
-
* across every camera at once — not "what does camera
|
|
62950
|
+
* across every camera at once — not "what does camera 102 think". Buried one
|
|
60514
62951
|
* camera deep it also could not be found. The surface is now a top-level admin
|
|
60515
62952
|
* page (`/scenes`, `pages/Scenes.tsx`) that lists every scene on every camera and
|
|
60516
62953
|
* picks the camera inside the create flow, the same shape Events and Faces have.
|
|
@@ -60898,7 +63335,20 @@ var ZoneRuleSchema = object({
|
|
|
60898
63335
|
* Defaults to `true` so operators creating a rule via the UI
|
|
60899
63336
|
* see it active immediately.
|
|
60900
63337
|
*/
|
|
60901
|
-
enabled: boolean().default(true)
|
|
63338
|
+
enabled: boolean().default(true),
|
|
63339
|
+
/**
|
|
63340
|
+
* Package stage only. When true, a package candidate may open from a
|
|
63341
|
+
* scene difference in this rule's zone after a person leaves. The
|
|
63342
|
+
* package model, when it boxes something overlapping, is extra evidence
|
|
63343
|
+
* and is not the gate. Absent or false keeps today's model path.
|
|
63344
|
+
*/
|
|
63345
|
+
detectBySceneDifference: boolean().optional(),
|
|
63346
|
+
/**
|
|
63347
|
+
* Package stage only. When true, a promoted package is shown to the
|
|
63348
|
+
* `llm` cap before the delivery event is emitted. Absent or false emits
|
|
63349
|
+
* as today. Usable with or without `detectBySceneDifference`.
|
|
63350
|
+
*/
|
|
63351
|
+
confirmWithLlm: boolean().optional()
|
|
60902
63352
|
});
|
|
60903
63353
|
array(ZoneRuleSchema).readonly();
|
|
60904
63354
|
object({
|
|
@@ -61087,7 +63537,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), StreamParamsOptionsSch
|
|
|
61087
63537
|
* `getSettingsUISchema()` surface.
|
|
61088
63538
|
*/
|
|
61089
63539
|
var SwitchStatusSchema = object({
|
|
61090
|
-
on: boolean(),
|
|
63540
|
+
on: boolean().meta({ label: "On" }),
|
|
61091
63541
|
/** Ms epoch of the last state change. Useful for UI "X minutes ago". */
|
|
61092
63542
|
lastChangedAt: number()
|
|
61093
63543
|
});
|
|
@@ -61666,7 +64116,10 @@ DeviceType.Sensor;
|
|
|
61666
64116
|
*/
|
|
61667
64117
|
var TemperatureSensorStatusSchema = object({
|
|
61668
64118
|
/** Current temperature in Celsius. */
|
|
61669
|
-
celsius: number()
|
|
64119
|
+
celsius: number().meta({
|
|
64120
|
+
unit: "°C",
|
|
64121
|
+
label: "Temperature"
|
|
64122
|
+
}),
|
|
61670
64123
|
/** Ms epoch when the slice was last updated (push or poll). */
|
|
61671
64124
|
lastFetchedAt: number(),
|
|
61672
64125
|
/** Live display unit from the upstream source (e.g. HA
|
|
@@ -62531,7 +64984,7 @@ method(object({}), array(TrainingProviderDescriptorSchema).readonly(), { auth: "
|
|
|
62531
64984
|
* - **Jobs.** A persisted state machine, a reconcile loop against the
|
|
62532
64985
|
* provider, a cost guard, a daily orphan sweep and the retention rules.
|
|
62533
64986
|
* - **The return flow.** Verified artefacts → Model Studio
|
|
62534
|
-
* (`custom-model-registry.importModelBundle`) → canary on
|
|
64987
|
+
* (`custom-model-registry.importModelBundle`) → canary on accelerators →
|
|
62535
64988
|
* rollback. Nothing is ever registered automatically.
|
|
62536
64989
|
*
|
|
62537
64990
|
* Plan/start takes a live {@link TrainingCorpusSelection} (collections +
|
|
@@ -62668,20 +65121,24 @@ var TrainingProgressPointSchema = object({
|
|
|
62668
65121
|
map50: number().nullable(),
|
|
62669
65122
|
map50_95: number().nullable()
|
|
62670
65123
|
});
|
|
65124
|
+
/** One accelerator: a `(node, inference device)` that runs the root detector. */
|
|
65125
|
+
var TrainingAcceleratorRefSchema = object({
|
|
65126
|
+
nodeId: string(),
|
|
65127
|
+
deviceKey: string()
|
|
65128
|
+
});
|
|
65129
|
+
/**
|
|
65130
|
+
* A canary pins the registered model on chosen ACCELERATORS — a model is
|
|
65131
|
+
* chosen by the accelerator that runs it (D927); every camera balanced onto
|
|
65132
|
+
* one runs it. `previous` is the root-detector pin each one had (`null` = it
|
|
65133
|
+
* ran its default), exactly, so rollback restores it.
|
|
65134
|
+
*/
|
|
62671
65135
|
var TrainingCanarySchema = object({
|
|
62672
|
-
|
|
65136
|
+
accelerators: array(TrainingAcceleratorRefSchema).readonly(),
|
|
62673
65137
|
since: number(),
|
|
62674
|
-
|
|
62675
|
-
previous: array(object({
|
|
62676
|
-
deviceId: number().int(),
|
|
62677
|
-
nodeId: string(),
|
|
62678
|
-
deviceKey: string(),
|
|
62679
|
-
patch: object({
|
|
62680
|
-
modelId: string().optional(),
|
|
62681
|
-
settings: record(string(), unknown()).readonly().optional()
|
|
62682
|
-
}).nullable()
|
|
62683
|
-
})).readonly()
|
|
65138
|
+
previous: array(TrainingAcceleratorRefSchema.extend({ modelId: string().nullable() })).readonly()
|
|
62684
65139
|
});
|
|
65140
|
+
/** An accelerator a canary may pin: it runs the root detector, on this model now. */
|
|
65141
|
+
var TrainingCanaryTargetSchema = TrainingAcceleratorRefSchema.extend({ pinnedModelId: string().nullable() });
|
|
62685
65142
|
var TrainingJobSchema = object({
|
|
62686
65143
|
id: string(),
|
|
62687
65144
|
idempotencyKey: string(),
|
|
@@ -62793,11 +65250,11 @@ method(object({}), array(TrainingBaseModelSchema).readonly(), { auth: "admin" })
|
|
|
62793
65250
|
kind: "mutation",
|
|
62794
65251
|
auth: "admin",
|
|
62795
65252
|
timeoutMs: 12e4
|
|
62796
|
-
}), method(IdInput, TrainingResultSchema.nullable(), { auth: "admin" }), method(IdInput.extend({
|
|
65253
|
+
}), method(IdInput, TrainingResultSchema.nullable(), { auth: "admin" }), method(_void(), array(TrainingCanaryTargetSchema).readonly(), { auth: "admin" }), method(IdInput.extend({ canaryAccelerators: array(TrainingAcceleratorRefSchema).readonly() }), TrainingJobSchema, {
|
|
62797
65254
|
kind: "mutation",
|
|
62798
65255
|
auth: "admin",
|
|
62799
65256
|
timeoutMs: 30 * 6e4
|
|
62800
|
-
}), method(IdInput.extend({
|
|
65257
|
+
}), method(IdInput.extend({ accelerators: array(TrainingAcceleratorRefSchema).min(1).readonly() }), TrainingJobSchema, {
|
|
62801
65258
|
kind: "mutation",
|
|
62802
65259
|
auth: "admin",
|
|
62803
65260
|
timeoutMs: 12e4
|
|
@@ -62810,6 +65267,10 @@ method(object({}), array(TrainingBaseModelSchema).readonly(), { auth: "admin" })
|
|
|
62810
65267
|
auth: "admin"
|
|
62811
65268
|
});
|
|
62812
65269
|
SOURCE_CAPS.filter((cap) => cap !== "switch" && cap !== "motion");
|
|
65270
|
+
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;
|
|
65271
|
+
String.raw`rose\(active(\d+), changed(\d+), (\d+(?:\.\d+)?)\)`;
|
|
65272
|
+
DeviceRole.BinarySensor, DeviceRole.MotionSensor;
|
|
65273
|
+
new Set(CAP_NAMES);
|
|
62813
65274
|
Object.freeze({
|
|
62814
65275
|
person: .5,
|
|
62815
65276
|
vehicle: .5,
|
|
@@ -65809,6 +68270,27 @@ Object.freeze({
|
|
|
65809
68270
|
access: "create",
|
|
65810
68271
|
role: "viewer"
|
|
65811
68272
|
},
|
|
68273
|
+
"displayPalette.getPalette": {
|
|
68274
|
+
capName: "display-palette",
|
|
68275
|
+
capScope: "system",
|
|
68276
|
+
addonId: null,
|
|
68277
|
+
access: "view",
|
|
68278
|
+
role: "viewer"
|
|
68279
|
+
},
|
|
68280
|
+
"displayPalette.listPresets": {
|
|
68281
|
+
capName: "display-palette",
|
|
68282
|
+
capScope: "system",
|
|
68283
|
+
addonId: null,
|
|
68284
|
+
access: "view",
|
|
68285
|
+
role: "viewer"
|
|
68286
|
+
},
|
|
68287
|
+
"displayPalette.setPalette": {
|
|
68288
|
+
capName: "display-palette",
|
|
68289
|
+
capScope: "system",
|
|
68290
|
+
addonId: null,
|
|
68291
|
+
access: "create",
|
|
68292
|
+
role: "admin"
|
|
68293
|
+
},
|
|
65812
68294
|
"doorbell.getStatus": {
|
|
65813
68295
|
capName: "doorbell",
|
|
65814
68296
|
capScope: "device",
|
|
@@ -68728,20 +71210,6 @@ Object.freeze({
|
|
|
68728
71210
|
access: "create",
|
|
68729
71211
|
role: "admin"
|
|
68730
71212
|
},
|
|
68731
|
-
"pipelineExecutor.clearDeviceOverrides": {
|
|
68732
|
-
capName: "pipeline-executor",
|
|
68733
|
-
capScope: "system",
|
|
68734
|
-
addonId: null,
|
|
68735
|
-
access: "delete",
|
|
68736
|
-
role: "admin"
|
|
68737
|
-
},
|
|
68738
|
-
"pipelineExecutor.clearModelBoundDeviceOverrides": {
|
|
68739
|
-
capName: "pipeline-executor",
|
|
68740
|
-
capScope: "system",
|
|
68741
|
-
addonId: null,
|
|
68742
|
-
access: "delete",
|
|
68743
|
-
role: "admin"
|
|
68744
|
-
},
|
|
68745
71213
|
"pipelineExecutor.deleteModel": {
|
|
68746
71214
|
capName: "pipeline-executor",
|
|
68747
71215
|
capScope: "system",
|
|
@@ -68784,13 +71252,6 @@ Object.freeze({
|
|
|
68784
71252
|
access: "view",
|
|
68785
71253
|
role: "admin"
|
|
68786
71254
|
},
|
|
68787
|
-
"pipelineExecutor.getDefaultSteps": {
|
|
68788
|
-
capName: "pipeline-executor",
|
|
68789
|
-
capScope: "system",
|
|
68790
|
-
addonId: null,
|
|
68791
|
-
access: "view",
|
|
68792
|
-
role: "admin"
|
|
68793
|
-
},
|
|
68794
71255
|
"pipelineExecutor.getDetectionConfigSchema": {
|
|
68795
71256
|
capName: "pipeline-executor",
|
|
68796
71257
|
capScope: "system",
|
|
@@ -68812,20 +71273,6 @@ Object.freeze({
|
|
|
68812
71273
|
access: "view",
|
|
68813
71274
|
role: "admin"
|
|
68814
71275
|
},
|
|
68815
|
-
"pipelineExecutor.getGlobalPipelineConfig": {
|
|
68816
|
-
capName: "pipeline-executor",
|
|
68817
|
-
capScope: "system",
|
|
68818
|
-
addonId: null,
|
|
68819
|
-
access: "view",
|
|
68820
|
-
role: "admin"
|
|
68821
|
-
},
|
|
68822
|
-
"pipelineExecutor.getGlobalSteps": {
|
|
68823
|
-
capName: "pipeline-executor",
|
|
68824
|
-
capScope: "system",
|
|
68825
|
-
addonId: null,
|
|
68826
|
-
access: "view",
|
|
68827
|
-
role: "admin"
|
|
68828
|
-
},
|
|
68829
71276
|
"pipelineExecutor.getInferenceDeviceHealth": {
|
|
68830
71277
|
capName: "pipeline-executor",
|
|
68831
71278
|
capScope: "system",
|
|
@@ -69085,13 +71532,6 @@ Object.freeze({
|
|
|
69085
71532
|
access: "view",
|
|
69086
71533
|
role: "admin"
|
|
69087
71534
|
},
|
|
69088
|
-
"pipelineOrchestrator.getCameraStepOverrides": {
|
|
69089
|
-
capName: "pipeline-orchestrator",
|
|
69090
|
-
capScope: "system",
|
|
69091
|
-
addonId: null,
|
|
69092
|
-
access: "view",
|
|
69093
|
-
role: "admin"
|
|
69094
|
-
},
|
|
69095
71535
|
"pipelineOrchestrator.getCameraSwitches": {
|
|
69096
71536
|
capName: "pipeline-orchestrator",
|
|
69097
71537
|
capScope: "system",
|
|
@@ -69330,13 +71770,6 @@ Object.freeze({
|
|
|
69330
71770
|
access: "create",
|
|
69331
71771
|
role: "admin"
|
|
69332
71772
|
},
|
|
69333
|
-
"pipelineOrchestrator.setCameraPipelineForAgent": {
|
|
69334
|
-
capName: "pipeline-orchestrator",
|
|
69335
|
-
capScope: "system",
|
|
69336
|
-
addonId: null,
|
|
69337
|
-
access: "create",
|
|
69338
|
-
role: "admin"
|
|
69339
|
-
},
|
|
69340
71773
|
"pipelineOrchestrator.setCameraSensors": {
|
|
69341
71774
|
capName: "pipeline-orchestrator",
|
|
69342
71775
|
capScope: "system",
|
|
@@ -69344,42 +71777,42 @@ Object.freeze({
|
|
|
69344
71777
|
access: "create",
|
|
69345
71778
|
role: "admin"
|
|
69346
71779
|
},
|
|
69347
|
-
"pipelineOrchestrator.
|
|
71780
|
+
"pipelineOrchestrator.setCameraStepSettings": {
|
|
69348
71781
|
capName: "pipeline-orchestrator",
|
|
69349
71782
|
capScope: "system",
|
|
69350
71783
|
addonId: null,
|
|
69351
71784
|
access: "create",
|
|
69352
71785
|
role: "admin"
|
|
69353
71786
|
},
|
|
69354
|
-
"pipelineOrchestrator.
|
|
71787
|
+
"pipelineOrchestrator.setCameraStepToggle": {
|
|
69355
71788
|
capName: "pipeline-orchestrator",
|
|
69356
71789
|
capScope: "system",
|
|
69357
71790
|
addonId: null,
|
|
69358
71791
|
access: "create",
|
|
69359
71792
|
role: "admin"
|
|
69360
71793
|
},
|
|
69361
|
-
"pipelineOrchestrator.
|
|
71794
|
+
"pipelineOrchestrator.setCameraSwitch": {
|
|
69362
71795
|
capName: "pipeline-orchestrator",
|
|
69363
71796
|
capScope: "system",
|
|
69364
71797
|
addonId: null,
|
|
69365
71798
|
access: "create",
|
|
69366
71799
|
role: "admin"
|
|
69367
71800
|
},
|
|
69368
|
-
"pipelineOrchestrator.
|
|
71801
|
+
"pipelineOrchestrator.setCapabilityBinding": {
|
|
69369
71802
|
capName: "pipeline-orchestrator",
|
|
69370
71803
|
capScope: "system",
|
|
69371
71804
|
addonId: null,
|
|
69372
71805
|
access: "create",
|
|
69373
71806
|
role: "admin"
|
|
69374
71807
|
},
|
|
69375
|
-
"pipelineOrchestrator.
|
|
71808
|
+
"pipelineOrchestrator.setLoadBalancingShares": {
|
|
69376
71809
|
capName: "pipeline-orchestrator",
|
|
69377
71810
|
capScope: "system",
|
|
69378
71811
|
addonId: null,
|
|
69379
71812
|
access: "create",
|
|
69380
71813
|
role: "admin"
|
|
69381
71814
|
},
|
|
69382
|
-
"pipelineOrchestrator.
|
|
71815
|
+
"pipelineOrchestrator.setNodeStepSettings": {
|
|
69383
71816
|
capName: "pipeline-orchestrator",
|
|
69384
71817
|
capScope: "system",
|
|
69385
71818
|
addonId: null,
|
|
@@ -70408,6 +72841,13 @@ Object.freeze({
|
|
|
70408
72841
|
access: "create",
|
|
70409
72842
|
role: "admin"
|
|
70410
72843
|
},
|
|
72844
|
+
"runningState.getStatus": {
|
|
72845
|
+
capName: "running-state",
|
|
72846
|
+
capScope: "device",
|
|
72847
|
+
addonId: null,
|
|
72848
|
+
access: "view",
|
|
72849
|
+
role: "viewer"
|
|
72850
|
+
},
|
|
70411
72851
|
"sceneMonitor.captureReference": {
|
|
70412
72852
|
capName: "scene-monitor",
|
|
70413
72853
|
capScope: "device",
|
|
@@ -71738,6 +74178,13 @@ Object.freeze({
|
|
|
71738
74178
|
access: "view",
|
|
71739
74179
|
role: "admin"
|
|
71740
74180
|
},
|
|
74181
|
+
"training.listCanaryTargets": {
|
|
74182
|
+
capName: "training",
|
|
74183
|
+
capScope: "system",
|
|
74184
|
+
addonId: null,
|
|
74185
|
+
access: "view",
|
|
74186
|
+
role: "admin"
|
|
74187
|
+
},
|
|
71741
74188
|
"training.listJobs": {
|
|
71742
74189
|
capName: "training",
|
|
71743
74190
|
capScope: "system",
|
|
@@ -75115,6 +77562,32 @@ var APPLIANCE_CAP_VOCABULARY = {
|
|
|
75115
77562
|
}],
|
|
75116
77563
|
events: { onSent: { notOperatorFacing: "a delivery receipt of a send this system made — not a fact about the world" } }
|
|
75117
77564
|
},
|
|
77565
|
+
"running-state": {
|
|
77566
|
+
scope: "device",
|
|
77567
|
+
noun: t("Running", "In funzione"),
|
|
77568
|
+
state: [{
|
|
77569
|
+
kind: "boolean",
|
|
77570
|
+
field: "running",
|
|
77571
|
+
label: t("Running", "In funzione"),
|
|
77572
|
+
whenTrue: t("When {device} starts", "Quando {device} inizia"),
|
|
77573
|
+
whenFalse: t("When {device} finishes", "Quando {device} finisce"),
|
|
77574
|
+
icon: "play"
|
|
77575
|
+
}],
|
|
77576
|
+
events: {
|
|
77577
|
+
onStarted: {
|
|
77578
|
+
category: EventCategory.RunningStarted,
|
|
77579
|
+
label: t("Started running", "Ha iniziato a funzionare"),
|
|
77580
|
+
phrase: t("When {device} starts running", "Quando {device} inizia a funzionare"),
|
|
77581
|
+
icon: "play"
|
|
77582
|
+
},
|
|
77583
|
+
onFinished: {
|
|
77584
|
+
category: EventCategory.RunningFinished,
|
|
77585
|
+
label: t("Finished", "Ha finito"),
|
|
77586
|
+
phrase: t("When {device} finishes", "Quando {device} finisce"),
|
|
77587
|
+
icon: "square"
|
|
77588
|
+
}
|
|
77589
|
+
}
|
|
77590
|
+
},
|
|
75118
77591
|
update: {
|
|
75119
77592
|
scope: "device",
|
|
75120
77593
|
noun: t("Firmware update", "Aggiornamento firmware"),
|
|
@@ -75735,7 +78208,7 @@ var SENSOR_CAP_VOCABULARY = {
|
|
|
75735
78208
|
state: [{
|
|
75736
78209
|
kind: "boolean",
|
|
75737
78210
|
field: "on",
|
|
75738
|
-
label: t("
|
|
78211
|
+
label: t("On", "Acceso"),
|
|
75739
78212
|
whenTrue: t("When {device} turns active", "Quando {device} si attiva"),
|
|
75740
78213
|
whenFalse: t("When {device} turns inactive", "Quando {device} si disattiva"),
|
|
75741
78214
|
icon: "toggle-right"
|
|
@@ -76274,6 +78747,7 @@ var SYSTEM_CAP_VOCABULARY = {
|
|
|
76274
78747
|
"device-provider": system(INTERNAL),
|
|
76275
78748
|
"device-removal-hook": system(INTERNAL),
|
|
76276
78749
|
"device-state": system("the runtime-state mirror every trigger already reads through"),
|
|
78750
|
+
"display-palette": system("the cluster display palette — one colour table for every client, not a device action"),
|
|
76277
78751
|
"embedding-encoder": system(ML),
|
|
76278
78752
|
"face-gallery": system("the face gallery — curated on its own page"),
|
|
76279
78753
|
"failure-contribution": system(INTERNAL),
|
|
@@ -78124,11 +80598,6 @@ Object.freeze({
|
|
|
78124
80598
|
form: "single",
|
|
78125
80599
|
optional: false
|
|
78126
80600
|
}],
|
|
78127
|
-
"pipelineExecutor.clearModelBoundDeviceOverrides": [{
|
|
78128
|
-
name: "deviceIds",
|
|
78129
|
-
form: "array",
|
|
78130
|
-
optional: true
|
|
78131
|
-
}],
|
|
78132
80601
|
"pipelineExecutor.runPipeline": [{
|
|
78133
80602
|
name: "deviceId",
|
|
78134
80603
|
form: "single",
|
|
@@ -78184,11 +80653,6 @@ Object.freeze({
|
|
|
78184
80653
|
form: "array",
|
|
78185
80654
|
optional: true
|
|
78186
80655
|
}],
|
|
78187
|
-
"pipelineOrchestrator.getCameraStepOverrides": [{
|
|
78188
|
-
name: "deviceId",
|
|
78189
|
-
form: "single",
|
|
78190
|
-
optional: false
|
|
78191
|
-
}],
|
|
78192
80656
|
"pipelineOrchestrator.getCameraSwitches": [{
|
|
78193
80657
|
name: "deviceId",
|
|
78194
80658
|
form: "single",
|
|
@@ -78229,21 +80693,11 @@ Object.freeze({
|
|
|
78229
80693
|
form: "single",
|
|
78230
80694
|
optional: false
|
|
78231
80695
|
}],
|
|
78232
|
-
"pipelineOrchestrator.setCameraPipelineForAgent": [{
|
|
78233
|
-
name: "deviceId",
|
|
78234
|
-
form: "single",
|
|
78235
|
-
optional: false
|
|
78236
|
-
}],
|
|
78237
80696
|
"pipelineOrchestrator.setCameraSensors": [{
|
|
78238
80697
|
name: "deviceId",
|
|
78239
80698
|
form: "single",
|
|
78240
80699
|
optional: false
|
|
78241
80700
|
}],
|
|
78242
|
-
"pipelineOrchestrator.setCameraStepOverride": [{
|
|
78243
|
-
name: "deviceId",
|
|
78244
|
-
form: "single",
|
|
78245
|
-
optional: false
|
|
78246
|
-
}],
|
|
78247
80701
|
"pipelineOrchestrator.setCameraStepSettings": [{
|
|
78248
80702
|
name: "deviceId",
|
|
78249
80703
|
form: "single",
|
|
@@ -78675,6 +81129,11 @@ Object.freeze({
|
|
|
78675
81129
|
form: "single",
|
|
78676
81130
|
optional: true
|
|
78677
81131
|
}],
|
|
81132
|
+
"runningState.getStatus": [{
|
|
81133
|
+
name: "deviceId",
|
|
81134
|
+
form: "single",
|
|
81135
|
+
optional: false
|
|
81136
|
+
}],
|
|
78678
81137
|
"sceneMonitor.captureReference": [{
|
|
78679
81138
|
name: "deviceId",
|
|
78680
81139
|
form: "single",
|
|
@@ -78921,11 +81380,6 @@ Object.freeze({
|
|
|
78921
81380
|
form: "single",
|
|
78922
81381
|
optional: false
|
|
78923
81382
|
}],
|
|
78924
|
-
"training.canaryResult": [{
|
|
78925
|
-
name: "deviceIds",
|
|
78926
|
-
form: "array",
|
|
78927
|
-
optional: false
|
|
78928
|
-
}],
|
|
78929
81383
|
"update.getStatus": [{
|
|
78930
81384
|
name: "deviceId",
|
|
78931
81385
|
form: "single",
|
|
@@ -79178,6 +81632,94 @@ Object.freeze({
|
|
|
79178
81632
|
"smtp-provider": "email"
|
|
79179
81633
|
});
|
|
79180
81634
|
DeviceType.Camera;
|
|
81635
|
+
/**
|
|
81636
|
+
* A saved Customize assignment (D936). The schema is the type: callers use
|
|
81637
|
+
* `z.infer`, they do not restate the shape.
|
|
81638
|
+
*/
|
|
81639
|
+
var OverrideSourceSchema = object({
|
|
81640
|
+
addonId: string().min(1),
|
|
81641
|
+
stableId: string().min(1),
|
|
81642
|
+
cap: string().min(1),
|
|
81643
|
+
fieldPath: string().min(1)
|
|
81644
|
+
});
|
|
81645
|
+
var CustomizeTransformDraftSchema = discriminatedUnion("kind", [
|
|
81646
|
+
object({ kind: literal("identity") }),
|
|
81647
|
+
object({ kind: literal("invert") }),
|
|
81648
|
+
object({
|
|
81649
|
+
kind: literal("threshold"),
|
|
81650
|
+
comparison: _enum(["gte", "lte"]),
|
|
81651
|
+
threshold: number(),
|
|
81652
|
+
startDwellMs: number().nonnegative(),
|
|
81653
|
+
stopDwellMs: number().nonnegative()
|
|
81654
|
+
}),
|
|
81655
|
+
object({
|
|
81656
|
+
kind: literal("linear"),
|
|
81657
|
+
scale: number(),
|
|
81658
|
+
offset: number(),
|
|
81659
|
+
clampMin: number().optional(),
|
|
81660
|
+
clampMax: number().optional()
|
|
81661
|
+
}),
|
|
81662
|
+
object({
|
|
81663
|
+
kind: literal("enum-map"),
|
|
81664
|
+
mapping: record(string(), string().nullable())
|
|
81665
|
+
}),
|
|
81666
|
+
object({ kind: literal("number") })
|
|
81667
|
+
]);
|
|
81668
|
+
var ScalarOverrideDraftSchema = object({
|
|
81669
|
+
kind: literal("scalar"),
|
|
81670
|
+
cap: string().min(1),
|
|
81671
|
+
targetId: string().min(1),
|
|
81672
|
+
source: OverrideSourceSchema,
|
|
81673
|
+
transform: CustomizeTransformDraftSchema
|
|
81674
|
+
});
|
|
81675
|
+
var KeyedArrayOverrideDraftSchema = object({
|
|
81676
|
+
kind: literal("keyedArray"),
|
|
81677
|
+
cap: string().min(1),
|
|
81678
|
+
targetId: string().min(1),
|
|
81679
|
+
key: string().min(1),
|
|
81680
|
+
label: string().min(1),
|
|
81681
|
+
fieldPath: string().min(1),
|
|
81682
|
+
source: OverrideSourceSchema,
|
|
81683
|
+
transform: CustomizeTransformDraftSchema
|
|
81684
|
+
});
|
|
81685
|
+
var PulseOverrideDraftSchema = object({
|
|
81686
|
+
kind: literal("pulse"),
|
|
81687
|
+
cap: string().min(1),
|
|
81688
|
+
targetId: string().min(1),
|
|
81689
|
+
enabled: boolean(),
|
|
81690
|
+
debounceMs: number().nonnegative(),
|
|
81691
|
+
sources: array(OverrideSourceSchema).min(1)
|
|
81692
|
+
});
|
|
81693
|
+
var SpanSourceDraftSchema = OverrideSourceSchema.extend({ mode: _enum([
|
|
81694
|
+
"in-addition",
|
|
81695
|
+
"confirm",
|
|
81696
|
+
"replace"
|
|
81697
|
+
]).optional() });
|
|
81698
|
+
discriminatedUnion("kind", [
|
|
81699
|
+
ScalarOverrideDraftSchema,
|
|
81700
|
+
KeyedArrayOverrideDraftSchema,
|
|
81701
|
+
PulseOverrideDraftSchema,
|
|
81702
|
+
object({
|
|
81703
|
+
kind: literal("span"),
|
|
81704
|
+
cap: string().min(1),
|
|
81705
|
+
targetId: string().min(1),
|
|
81706
|
+
timeoutMs: number().nonnegative(),
|
|
81707
|
+
cooldownMs: number().nonnegative().optional(),
|
|
81708
|
+
sources: array(SpanSourceDraftSchema)
|
|
81709
|
+
})
|
|
81710
|
+
]);
|
|
81711
|
+
object({
|
|
81712
|
+
targetId: string().min(1),
|
|
81713
|
+
configured: boolean(),
|
|
81714
|
+
source: _enum(["native", "assigned"]),
|
|
81715
|
+
state: _enum([
|
|
81716
|
+
"active",
|
|
81717
|
+
"stale",
|
|
81718
|
+
"released",
|
|
81719
|
+
"unavailable"
|
|
81720
|
+
]),
|
|
81721
|
+
reason: string().nullable()
|
|
81722
|
+
});
|
|
79181
81723
|
var G711_SCALE_CORRECTION_DB = {
|
|
79182
81724
|
PCMU: 20 * Math.log10(4),
|
|
79183
81725
|
PCMA: 20 * Math.log10(8)
|
|
@@ -79230,40 +81772,7 @@ var NC_AUDIO_DEFAULTS = {
|
|
|
79230
81772
|
samplingSeconds: 10
|
|
79231
81773
|
};
|
|
79232
81774
|
new Set(["devices", "classes"]);
|
|
79233
|
-
|
|
79234
|
-
* WHICH narrowing filter speaks about WHICH system-event kind — one predicate,
|
|
79235
|
-
* consumed by the rule ENGINE and by every rule EDITOR.
|
|
79236
|
-
*
|
|
79237
|
-
* ── The failure this file exists for ───────────────────────────────────────
|
|
79238
|
-
* `NcSystemEventConditionSchema` carries four optional narrowing lists
|
|
79239
|
-
* (`deviceIds`, `deviceTypes`, `nodeIds`, `packageNames`) beside a required
|
|
79240
|
-
* `kinds` gate. They are not four filters over one vocabulary: each belongs to
|
|
79241
|
-
* a FAMILY of kinds and is meaningless outside it. A node going away has no
|
|
79242
|
-
* device type; a completed export has no package; `stream-offline` deliberately
|
|
79243
|
-
* carries no device type at all (a stream belongs to a camera by construction).
|
|
79244
|
-
*
|
|
79245
|
-
* The engine applied all four to every kind, so a filter from one family failed
|
|
79246
|
-
* a kind from another family CLOSED. The operator's live rule "Eventi di
|
|
79247
|
-
* sistema" selected eleven kinds and set `deviceTypes: ['camera']` — the only
|
|
79248
|
-
* way to say "only my cameras" about the two liveness kinds — and NINE of the
|
|
79249
|
-
* eleven silently stopped being deliverable. Four days of history contained
|
|
79250
|
-
* `device-online` and `device-offline` and nothing else, across a window in
|
|
79251
|
-
* which agents were restarted and addons were updated.
|
|
79252
|
-
*
|
|
79253
|
-
* Both editors already computed this scoping, to decide which filter boxes to
|
|
79254
|
-
* render; the cap's own docblock already promised it ("Narrow a `device-*` kind
|
|
79255
|
-
* to these device TYPES"). Only the engine disagreed, and it disagreed in the
|
|
79256
|
-
* destructive direction. So the rule is stated ONCE, here, and the engine and
|
|
79257
|
-
* the editors are readers of it rather than three independent authors.
|
|
79258
|
-
*
|
|
79259
|
-
* ── The direction ─────────────────────────────────────────────────────────
|
|
79260
|
-
* Out of family ⇒ the filter is IGNORED, never fail-closed. An editor that
|
|
79261
|
-
* hides a box has already told the operator this filter does not speak about
|
|
79262
|
-
* these kinds, so honouring it as an exclusion contradicts the only
|
|
79263
|
-
* explanation the operator was ever given. Inside its family the filter still
|
|
79264
|
-
* narrows, and still fails CLOSED on a subject that cannot produce the identity
|
|
79265
|
-
* it tests (a device the mirror cannot name is not evidence of a camera).
|
|
79266
|
-
*/
|
|
81775
|
+
new Set(NC_LEGACY_SYSTEM_EVENT_KINDS);
|
|
79267
81776
|
/**
|
|
79268
81777
|
* Every filter, for the callers that must cover all of them (guards, tests).
|
|
79269
81778
|
*
|
|
@@ -79289,9 +81798,6 @@ new Map(Object.entries({
|
|
|
79289
81798
|
"device-battery-normal": "device-events",
|
|
79290
81799
|
"device-consumable-low": "device-events",
|
|
79291
81800
|
"device-consumable-normal": "device-events",
|
|
79292
|
-
"device-tank-low": "device-events",
|
|
79293
|
-
"device-tank-full": "device-events",
|
|
79294
|
-
"device-tank-normal": "device-events",
|
|
79295
81801
|
"stream-online": "device-events",
|
|
79296
81802
|
"stream-offline": "device-events",
|
|
79297
81803
|
"detection-blind": "device-events",
|
|
@@ -79368,16 +81874,6 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
|
|
|
79368
81874
|
label: "Consumables",
|
|
79369
81875
|
kinds: ["device-consumable-low", "device-consumable-normal"]
|
|
79370
81876
|
},
|
|
79371
|
-
{
|
|
79372
|
-
id: "tanks",
|
|
79373
|
-
family: "device-events",
|
|
79374
|
-
label: "Tanks",
|
|
79375
|
-
kinds: [
|
|
79376
|
-
"device-tank-low",
|
|
79377
|
-
"device-tank-full",
|
|
79378
|
-
"device-tank-normal"
|
|
79379
|
-
]
|
|
79380
|
-
},
|
|
79381
81877
|
{
|
|
79382
81878
|
id: "detection-blind",
|
|
79383
81879
|
family: "device-events",
|
|
@@ -79535,11 +82031,6 @@ var RULE_BODY_ONLY = ["body"];
|
|
|
79535
82031
|
var RULE_TEXT = ["title", "body"];
|
|
79536
82032
|
var BATTERY = ["device-battery-low", "device-battery-normal"];
|
|
79537
82033
|
var CONSUMABLE = ["device-consumable-low", "device-consumable-normal"];
|
|
79538
|
-
var TANK = [
|
|
79539
|
-
"device-tank-low",
|
|
79540
|
-
"device-tank-full",
|
|
79541
|
-
"device-tank-normal"
|
|
79542
|
-
];
|
|
79543
82034
|
var ALERT_EPISODE = [
|
|
79544
82035
|
"alert-critical",
|
|
79545
82036
|
"alert-error",
|
|
@@ -79571,7 +82062,6 @@ var DEVICE_EVENTS = [
|
|
|
79571
82062
|
"device-enabled",
|
|
79572
82063
|
...BATTERY,
|
|
79573
82064
|
...CONSUMABLE,
|
|
79574
|
-
...TANK,
|
|
79575
82065
|
"stream-online",
|
|
79576
82066
|
"stream-offline",
|
|
79577
82067
|
"detection-blind",
|
|
@@ -79602,7 +82092,7 @@ var STATE_SUMMARY_SECTION_VARS = [
|
|
|
79602
82092
|
{
|
|
79603
82093
|
name: "summaryStreams",
|
|
79604
82094
|
label: "Summary: streams offline",
|
|
79605
|
-
example: "
|
|
82095
|
+
example: "Front door (high) — since 06:40",
|
|
79606
82096
|
kinds: ["stream-offline", "stream-online"]
|
|
79607
82097
|
},
|
|
79608
82098
|
{
|
|
@@ -79617,22 +82107,16 @@ var STATE_SUMMARY_SECTION_VARS = [
|
|
|
79617
82107
|
example: "Robot — filter 10 %",
|
|
79618
82108
|
kinds: CONSUMABLE
|
|
79619
82109
|
},
|
|
79620
|
-
{
|
|
79621
|
-
name: "summaryTanks",
|
|
79622
|
-
label: "Summary: tanks",
|
|
79623
|
-
example: "Robot — clean water low",
|
|
79624
|
-
kinds: TANK
|
|
79625
|
-
},
|
|
79626
82110
|
{
|
|
79627
82111
|
name: "summaryDetection",
|
|
79628
82112
|
label: "Summary: cameras detecting nothing",
|
|
79629
|
-
example: "
|
|
82113
|
+
example: "Front door — since 05:10",
|
|
79630
82114
|
kinds: ["detection-blind"]
|
|
79631
82115
|
},
|
|
79632
82116
|
{
|
|
79633
82117
|
name: "summaryNodes",
|
|
79634
82118
|
label: "Summary: nodes",
|
|
79635
|
-
example: "
|
|
82119
|
+
example: "agent-a — offline since 03:00",
|
|
79636
82120
|
kinds: [
|
|
79637
82121
|
"node-offline",
|
|
79638
82122
|
"node-online",
|
|
@@ -79738,8 +82222,7 @@ var STATE_SUMMARY_VARS = [
|
|
|
79738
82222
|
([...RULE_TEXT], [...COMBINED_ALARM]),
|
|
79739
82223
|
([...RULE_TEXT], [...DEVICE_EVENTS]),
|
|
79740
82224
|
([...RULE_TEXT], [...BATTERY, ...CONSUMABLE]),
|
|
79741
|
-
([...RULE_TEXT], [...CONSUMABLE
|
|
79742
|
-
([...RULE_TEXT], [...TANK]),
|
|
82225
|
+
([...RULE_TEXT], [...CONSUMABLE]),
|
|
79743
82226
|
[...RULE_TEXT],
|
|
79744
82227
|
([...RULE_TEXT], [...UPDATES, ...ALERT_EPISODE]),
|
|
79745
82228
|
([...RULE_TEXT], [...UPDATES, ...ALERT_EPISODE]),
|
|
@@ -79843,15 +82326,6 @@ new Map([
|
|
|
79843
82326
|
snapshotLabel: "Consumables low now",
|
|
79844
82327
|
snapshotSection: "consumables"
|
|
79845
82328
|
},
|
|
79846
|
-
{
|
|
79847
|
-
id: "tanks",
|
|
79848
|
-
family: "device-events",
|
|
79849
|
-
label: "Tanks (low or full / back to normal)",
|
|
79850
|
-
bad: ["device-tank-low", "device-tank-full"],
|
|
79851
|
-
recovery: ["device-tank-normal"],
|
|
79852
|
-
snapshotLabel: "Tanks low or full now",
|
|
79853
|
-
snapshotSection: "tanks"
|
|
79854
|
-
},
|
|
79855
82329
|
{
|
|
79856
82330
|
id: "motion-noise",
|
|
79857
82331
|
family: "device-events",
|
|
@@ -80253,6 +82727,10 @@ TimelapseRuleInputSchema.extend({
|
|
|
80253
82727
|
updatedAt: number()
|
|
80254
82728
|
});
|
|
80255
82729
|
MotionOnMotionChangedDataSchema.omit({ triggeredBy: true });
|
|
82730
|
+
Object.freeze({
|
|
82731
|
+
person: .8,
|
|
82732
|
+
vehicle: .8
|
|
82733
|
+
});
|
|
80256
82734
|
object({
|
|
80257
82735
|
/**
|
|
80258
82736
|
* Fraction of the box's own size added on EACH side before cutting.
|
|
@@ -83784,7 +86262,7 @@ var BRIGHTNESS_CONTROLLER = {
|
|
|
83784
86262
|
* when the impulse is unknown — see `handlers/ptz-travel.ts`; never
|
|
83785
86263
|
* `continuousMove` / `stop`), and the toggle auto-resets to OFF (handler
|
|
83786
86264
|
* returns the OFF state in `context.properties`). Alexa renders one row per instance in the
|
|
83787
|
-
* device detail; users can also say "Alexa, turn on
|
|
86265
|
+
* device detail; users can also say "Alexa, turn on Hall Pan Left".
|
|
83788
86266
|
*
|
|
83789
86267
|
* Instance ids match the directive routing in `ptz-direction.ts`.
|
|
83790
86268
|
*/
|
|
@@ -83977,8 +86455,8 @@ function buildParentCameraEndpoint(input) {
|
|
|
83977
86455
|
/**
|
|
83978
86456
|
* Compose a child accessory's Alexa friendly name. camstack child devices
|
|
83979
86457
|
* are usually already named with their parent prefix (e.g. parent
|
|
83980
|
-
* "
|
|
83981
|
-
* prefixing the parent again yields "
|
|
86458
|
+
* "Camera hall" → child "Camera hall Siren"), so blindly
|
|
86459
|
+
* prefixing the parent again yields "Camera hall — Camera hall
|
|
83982
86460
|
* Siren". Skip the prefix when the child name already contains the parent name
|
|
83983
86461
|
* (case-insensitive).
|
|
83984
86462
|
*/
|
|
@@ -87342,7 +89820,7 @@ function buildRoutes(deps) {
|
|
|
87342
89820
|
method: "POST",
|
|
87343
89821
|
path: "/oauth/broker-link",
|
|
87344
89822
|
access: "public",
|
|
87345
|
-
description: "Lambda → hub broker link
|
|
89823
|
+
description: "Lambda → hub broker link: broker URL + per-link credential + first access token; bearer-authenticated via oauth-access token",
|
|
87346
89824
|
handler: async (req, reply) => {
|
|
87347
89825
|
if (ingressRejected(req, reply, deps, "alexa broker-link")) return;
|
|
87348
89826
|
await handleBrokerLinkCallback(req, reply, deps.lwaTokensCallbackDeps);
|
|
@@ -87774,7 +90252,7 @@ var DOORBELL_INTERFACE = "Alexa.DoorbellEventSource";
|
|
|
87774
90252
|
* on for it (R4, D779).
|
|
87775
90253
|
*
|
|
87776
90254
|
* Measured 2026-08-07, before the declaration existed: 223 `smartvision person
|
|
87777
|
-
* posted status=202` in 692 s on endpoint
|
|
90255
|
+
* posted status=202` in 692 s on endpoint 104 alone, every one of them against
|
|
87778
90256
|
* an endpoint whose discovered capability list did not contain this string. The
|
|
87779
90257
|
* Event Gateway answers 202 because the ENVELOPE parsed; the cloud then drops
|
|
87780
90258
|
* the event. D76: an accepted POST is not evidence of delivery.
|
|
@@ -87953,7 +90431,7 @@ var LwaEventGateway = class {
|
|
|
87953
90431
|
/**
|
|
87954
90432
|
* Camera-native motion flipped. Report it as an `Alexa.MotionSensor`
|
|
87955
90433
|
* ChangeReport: the rising edge immediately, the falling edge only once the
|
|
87956
|
-
* source has stayed quiet (see `MotionClearHold` for the
|
|
90434
|
+
* source has stayed quiet (see `MotionClearHold` for the 104 measurement
|
|
87957
90435
|
* that made a plain transition dedupe insufficient).
|
|
87958
90436
|
*/
|
|
87959
90437
|
async onMotionChanged(data) {
|
|
@@ -90601,7 +93079,7 @@ var SyncEngine = class {
|
|
|
90601
93079
|
/**
|
|
90602
93080
|
* One in-flight reconcile per device. At boot the 60 s full pass and the
|
|
90603
93081
|
* debounced bindings-change reconciles overlap, and each one rebuilt the
|
|
90604
|
-
* same device serially — the live hub built camera
|
|
93082
|
+
* same device serially — the live hub built camera 101's endpoint shape
|
|
90605
93083
|
* four times inside one boot (2026-08-15). Joining the running pass costs
|
|
90606
93084
|
* the duplicate nothing.
|
|
90607
93085
|
*/
|
|
@@ -91584,7 +94062,7 @@ var ExportAlexaAddon = class extends BaseAddon {
|
|
|
91584
94062
|
* One reconcile pass over every exposed device shortly after boot. This is
|
|
91585
94063
|
* what heals a shape that drifted while the addon was DOWN (or under an
|
|
91586
94064
|
* older build that had no signature at all) with no operator click — the
|
|
91587
|
-
* doorbell bound on
|
|
94065
|
+
* doorbell bound on 101 after it was exposed is exactly that case. Deliberately late
|
|
91588
94066
|
* enough that device providers have registered their caps: a device whose
|
|
91589
94067
|
* bindings have not landed yet builds a shape we must not push.
|
|
91590
94068
|
*/
|