@camstack/server 1.2.875 → 1.2.877
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/CHANGELOG.md +12 -0
- package/package.json +8 -8
- package/system/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.js +1 -1
- package/system/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.mjs +1 -1
- package/system/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.js +1 -1
- package/system/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.mjs +1 -1
- package/system/dist/builtins/alerts/alerts.addon.js +1 -1
- package/system/dist/builtins/alerts/alerts.addon.mjs +1 -1
- package/system/dist/builtins/autotrack/index.js +1 -1
- package/system/dist/builtins/autotrack/index.mjs +1 -1
- package/system/dist/builtins/backup-orchestrator/backup-orchestrator.addon.js +2 -2
- package/system/dist/builtins/backup-orchestrator/backup-orchestrator.addon.mjs +2 -2
- package/system/dist/builtins/calendars/calendars.addon.js +1 -1
- package/system/dist/builtins/calendars/calendars.addon.mjs +1 -1
- package/system/dist/builtins/camera-grid/index.js +1 -1
- package/system/dist/builtins/camera-grid/index.mjs +1 -1
- package/system/dist/builtins/composer/composer.addon.js +4 -4
- package/system/dist/builtins/composer/composer.addon.mjs +4 -4
- package/system/dist/builtins/console-logging/index.js +1 -1
- package/system/dist/builtins/console-logging/index.mjs +1 -1
- package/system/dist/builtins/core-blocks/core-blocks.addon.js +3 -3
- package/system/dist/builtins/core-blocks/core-blocks.addon.mjs +3 -3
- package/system/dist/builtins/device-history/device-history.addon.js +2 -2
- package/system/dist/builtins/device-history/device-history.addon.mjs +2 -2
- package/system/dist/builtins/device-manager/device-manager.addon.js +2 -2
- package/system/dist/builtins/device-manager/device-manager.addon.mjs +2 -2
- package/system/dist/builtins/hub-forwarder/index.js +1 -1
- package/system/dist/builtins/hub-forwarder/index.mjs +1 -1
- package/system/dist/builtins/keychain/index.js +4 -4
- package/system/dist/builtins/keychain/index.mjs +4 -4
- package/system/dist/builtins/liveness-monitor/liveness-monitor.addon.js +1 -1
- package/system/dist/builtins/liveness-monitor/liveness-monitor.addon.mjs +1 -1
- package/system/dist/builtins/local-auth/local-auth.addon.js +2 -2
- package/system/dist/builtins/local-auth/local-auth.addon.mjs +2 -2
- package/system/dist/builtins/local-network/local-network.addon.js +3 -3
- package/system/dist/builtins/local-network/local-network.addon.mjs +3 -3
- package/system/dist/builtins/loki-logging/index.js +1 -1
- package/system/dist/builtins/loki-logging/index.mjs +1 -1
- package/system/dist/builtins/native-metrics/native-metrics.addon.js +1 -1
- package/system/dist/builtins/native-metrics/native-metrics.addon.mjs +1 -1
- package/system/dist/builtins/platform-probe/index.js +1 -1
- package/system/dist/builtins/platform-probe/index.mjs +1 -1
- package/system/dist/builtins/record-entries/index.js +1 -1
- package/system/dist/builtins/record-entries/index.mjs +1 -1
- package/system/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.js +1 -1
- package/system/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.mjs +1 -1
- package/system/dist/builtins/snapshot/index.js +1 -1
- package/system/dist/builtins/snapshot/index.mjs +1 -1
- package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.js +1 -1
- package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.mjs +1 -1
- package/system/dist/builtins/sqlite-storage/index.js +1 -1
- package/system/dist/builtins/sqlite-storage/index.mjs +1 -1
- package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.js +3 -3
- package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.mjs +3 -3
- package/system/dist/builtins/storage-orchestrator/storage-orchestrator.addon.js +1 -1
- package/system/dist/builtins/storage-orchestrator/storage-orchestrator.addon.mjs +1 -1
- package/system/dist/builtins/system-config/system-config.addon.js +3 -3
- package/system/dist/builtins/system-config/system-config.addon.mjs +3 -3
- package/system/dist/builtins/winston-logging/index.js +1 -1
- package/system/dist/builtins/winston-logging/index.mjs +1 -1
- package/system/dist/{capture-engine-DWdcVTA3.js → capture-engine-2V8c4s3c.js} +1 -1
- package/system/dist/{capture-engine-BuASS_Qx.mjs → capture-engine-DQTpQ2x7.mjs} +1 -1
- package/system/dist/{composition-sources-DNuBqIPL.js → composition-sources-De2-fnz1.js} +1 -1
- package/system/dist/{composition-sources-BHFgbF7C.mjs → composition-sources-DjQfZJXB.mjs} +1 -1
- package/system/dist/{constants-dRd1d6-d.js → constants-BpNC8zLo.js} +1 -1
- package/system/dist/{constants-DaIPFvoS.mjs → constants-CXQ72oX8.mjs} +1 -1
- package/system/dist/{device-ca-B9cTeWPe.mjs → device-ca-DnZEQKUX.mjs} +1 -1
- package/system/dist/{device-ca-sBPs1k-W.js → device-ca-pvid0fx9.js} +1 -1
- package/system/dist/{dist-DJx80O4F.js → dist-BghIT0F5.js} +1036 -33
- package/system/dist/{dist-D5_u_9iZ.mjs → dist-CcfanEqn.mjs} +1036 -33
- package/system/dist/file-host-worker.js +1 -1
- package/system/dist/file-host-worker.mjs +1 -1
- package/system/dist/{hub-identity-CSc-vdeW.mjs → hub-identity-B5pg6urK.mjs} +1 -1
- package/system/dist/{hub-identity-DiepURf3.js → hub-identity-B74cag6Q.js} +1 -1
- package/system/dist/{hub-mdns-ciao-CoC9aqlm.js → hub-mdns-ciao-8bwCOLeJ.js} +2 -2
- package/system/dist/{hub-mdns-ciao-D0wRh6bF.mjs → hub-mdns-ciao-Db9RuUVf.mjs} +2 -2
- package/system/dist/index.js +8 -8
- package/system/dist/index.mjs +8 -8
- package/system/dist/{legacy-integration-rows-door-CWNpyTAj.js → legacy-integration-rows-door-DlZ8ad2x.js} +1 -1
- package/system/dist/{legacy-integration-rows-door-XOO5sLJR.mjs → legacy-integration-rows-door-XBECnCQb.mjs} +1 -1
- package/system/dist/{rename-composition-block-BUF2b8XW.mjs → rename-composition-block-BWGfsb6q.mjs} +1 -1
- package/system/dist/{rename-composition-block-BcTOU8JW.js → rename-composition-block-CQnWc7-b.js} +1 -1
- package/system/dist/{restore-archive-DL8S6pRE.js → restore-archive-CI7Ejrq9.js} +1 -1
- package/system/dist/{restore-archive-B5BDrHVW.mjs → restore-archive-DsfZbucU.mjs} +1 -1
- package/system/dist/{wal-maintenance-CxsAE_CD.mjs → wal-maintenance-Dl4QOdNz.mjs} +0 -0
- package/system/dist/{wal-maintenance-aJK7q2BO.js → wal-maintenance-WAuRngNc.js} +0 -0
- package/system/package.json +1 -1
|
@@ -1274,7 +1274,7 @@ var DeviceRole = /* @__PURE__ */ function(DeviceRole) {
|
|
|
1274
1274
|
*/
|
|
1275
1275
|
var COMPOSED_DEVICE_STABLE_ID_PREFIX = "composed-";
|
|
1276
1276
|
//#endregion
|
|
1277
|
-
//#region ../types/dist/sleep-
|
|
1277
|
+
//#region ../types/dist/sleep-CLDVTB5R.mjs
|
|
1278
1278
|
/**
|
|
1279
1279
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
1280
1280
|
* window to float samples (D455).
|
|
@@ -14815,6 +14815,118 @@ var CAP_VOCABULARY_BY_NAME = {
|
|
|
14815
14815
|
},
|
|
14816
14816
|
unit: "°C",
|
|
14817
14817
|
icon: "thermometer"
|
|
14818
|
+
},
|
|
14819
|
+
{
|
|
14820
|
+
kind: "numeric",
|
|
14821
|
+
field: "feelsLike",
|
|
14822
|
+
quantity: {
|
|
14823
|
+
en: "the feels-like temperature",
|
|
14824
|
+
it: "la temperatura percepita"
|
|
14825
|
+
},
|
|
14826
|
+
label: {
|
|
14827
|
+
en: "Feels like",
|
|
14828
|
+
it: "Percepita"
|
|
14829
|
+
},
|
|
14830
|
+
unit: "°C",
|
|
14831
|
+
icon: "thermometer"
|
|
14832
|
+
},
|
|
14833
|
+
{
|
|
14834
|
+
kind: "numeric",
|
|
14835
|
+
field: "vpd",
|
|
14836
|
+
quantity: {
|
|
14837
|
+
en: "the vapour-pressure deficit",
|
|
14838
|
+
it: "il deficit di pressione di vapore"
|
|
14839
|
+
},
|
|
14840
|
+
label: {
|
|
14841
|
+
en: "VPD",
|
|
14842
|
+
it: "VPD"
|
|
14843
|
+
},
|
|
14844
|
+
unit: "kPa",
|
|
14845
|
+
icon: "gauge"
|
|
14846
|
+
},
|
|
14847
|
+
{
|
|
14848
|
+
kind: "numeric",
|
|
14849
|
+
field: "windGustMax",
|
|
14850
|
+
quantity: {
|
|
14851
|
+
en: "the highest gust today",
|
|
14852
|
+
it: "la raffica massima di oggi"
|
|
14853
|
+
},
|
|
14854
|
+
label: {
|
|
14855
|
+
en: "Max gust",
|
|
14856
|
+
it: "Raffica max"
|
|
14857
|
+
},
|
|
14858
|
+
unit: "m/s",
|
|
14859
|
+
icon: "wind"
|
|
14860
|
+
},
|
|
14861
|
+
{
|
|
14862
|
+
kind: "numeric",
|
|
14863
|
+
field: "windBearingAvg",
|
|
14864
|
+
quantity: {
|
|
14865
|
+
en: "the average wind bearing",
|
|
14866
|
+
it: "la direzione media del vento"
|
|
14867
|
+
},
|
|
14868
|
+
label: {
|
|
14869
|
+
en: "Avg bearing",
|
|
14870
|
+
it: "Direzione media"
|
|
14871
|
+
},
|
|
14872
|
+
unit: "°",
|
|
14873
|
+
icon: "wind"
|
|
14874
|
+
},
|
|
14875
|
+
{
|
|
14876
|
+
kind: "numeric",
|
|
14877
|
+
field: "rain24h",
|
|
14878
|
+
quantity: {
|
|
14879
|
+
en: "the rain in the last 24 hours",
|
|
14880
|
+
it: "la pioggia delle ultime 24 ore"
|
|
14881
|
+
},
|
|
14882
|
+
label: {
|
|
14883
|
+
en: "Rain 24 h",
|
|
14884
|
+
it: "Pioggia 24 h"
|
|
14885
|
+
},
|
|
14886
|
+
unit: "mm",
|
|
14887
|
+
icon: "droplets"
|
|
14888
|
+
},
|
|
14889
|
+
{
|
|
14890
|
+
kind: "numeric",
|
|
14891
|
+
field: "rainWeekly",
|
|
14892
|
+
quantity: {
|
|
14893
|
+
en: "the rain this week",
|
|
14894
|
+
it: "la pioggia di questa settimana"
|
|
14895
|
+
},
|
|
14896
|
+
label: {
|
|
14897
|
+
en: "Rain week",
|
|
14898
|
+
it: "Pioggia settimana"
|
|
14899
|
+
},
|
|
14900
|
+
unit: "mm",
|
|
14901
|
+
icon: "droplets"
|
|
14902
|
+
},
|
|
14903
|
+
{
|
|
14904
|
+
kind: "numeric",
|
|
14905
|
+
field: "rainMonthly",
|
|
14906
|
+
quantity: {
|
|
14907
|
+
en: "the rain this month",
|
|
14908
|
+
it: "la pioggia di questo mese"
|
|
14909
|
+
},
|
|
14910
|
+
label: {
|
|
14911
|
+
en: "Rain month",
|
|
14912
|
+
it: "Pioggia mese"
|
|
14913
|
+
},
|
|
14914
|
+
unit: "mm",
|
|
14915
|
+
icon: "droplets"
|
|
14916
|
+
},
|
|
14917
|
+
{
|
|
14918
|
+
kind: "numeric",
|
|
14919
|
+
field: "rainYearly",
|
|
14920
|
+
quantity: {
|
|
14921
|
+
en: "the rain this year",
|
|
14922
|
+
it: "la pioggia di quest’anno"
|
|
14923
|
+
},
|
|
14924
|
+
label: {
|
|
14925
|
+
en: "Rain year",
|
|
14926
|
+
it: "Pioggia anno"
|
|
14927
|
+
},
|
|
14928
|
+
unit: "mm",
|
|
14929
|
+
icon: "droplets"
|
|
14818
14930
|
}
|
|
14819
14931
|
]
|
|
14820
14932
|
},
|
|
@@ -18281,6 +18393,38 @@ Object.freeze({
|
|
|
18281
18393
|
{
|
|
18282
18394
|
"path": "dewPoint",
|
|
18283
18395
|
"valueType": "number"
|
|
18396
|
+
},
|
|
18397
|
+
{
|
|
18398
|
+
"path": "feelsLike",
|
|
18399
|
+
"valueType": "number"
|
|
18400
|
+
},
|
|
18401
|
+
{
|
|
18402
|
+
"path": "vpd",
|
|
18403
|
+
"valueType": "number"
|
|
18404
|
+
},
|
|
18405
|
+
{
|
|
18406
|
+
"path": "windGustMax",
|
|
18407
|
+
"valueType": "number"
|
|
18408
|
+
},
|
|
18409
|
+
{
|
|
18410
|
+
"path": "windBearingAvg",
|
|
18411
|
+
"valueType": "number"
|
|
18412
|
+
},
|
|
18413
|
+
{
|
|
18414
|
+
"path": "rain24h",
|
|
18415
|
+
"valueType": "number"
|
|
18416
|
+
},
|
|
18417
|
+
{
|
|
18418
|
+
"path": "rainWeekly",
|
|
18419
|
+
"valueType": "number"
|
|
18420
|
+
},
|
|
18421
|
+
{
|
|
18422
|
+
"path": "rainMonthly",
|
|
18423
|
+
"valueType": "number"
|
|
18424
|
+
},
|
|
18425
|
+
{
|
|
18426
|
+
"path": "rainYearly",
|
|
18427
|
+
"valueType": "number"
|
|
18284
18428
|
}
|
|
18285
18429
|
],
|
|
18286
18430
|
"zone-analytics": [
|
|
@@ -61016,13 +61160,14 @@ var connectivityCapability = {
|
|
|
61016
61160
|
* its device tracks consumables registers it; the provider names each item
|
|
61017
61161
|
* verbatim and says which `kind` it is.
|
|
61018
61162
|
*
|
|
61019
|
-
* The admin UI
|
|
61020
|
-
*
|
|
61021
|
-
*
|
|
61163
|
+
* The admin UI shows it in the device card's consumables chip and popover
|
|
61164
|
+
* (kind-aware level, remaining time, "Reset"), for every device bound to this
|
|
61165
|
+
* cap (D1023). It no longer has a section of its own under the hero card
|
|
61166
|
+
* (D915 on that point).
|
|
61022
61167
|
*
|
|
61023
61168
|
* Like `childLayout`, the cap is INERT until a provider sets items: no
|
|
61024
61169
|
* provider populates it by guessing (no HA inference). The UI renders a
|
|
61025
|
-
* "No consumables reported"
|
|
61170
|
+
* "No consumables reported" line when `items` is empty.
|
|
61026
61171
|
*/
|
|
61027
61172
|
/**
|
|
61028
61173
|
* What an item IS, which decides which direction is bad:
|
|
@@ -61109,7 +61254,7 @@ var ConsumablesStatusSchema = zod.z.object({
|
|
|
61109
61254
|
});
|
|
61110
61255
|
/** Synthesize seed for a link-built status (no native provider).
|
|
61111
61256
|
*
|
|
61112
|
-
*
|
|
61257
|
+
* ! NO LIVE CALLER since 2026-08-08 (device-links deleted; see
|
|
61113
61258
|
* `CapabilityStatusSchema.empty`). The wiring guidance below was written for
|
|
61114
61259
|
* exactly the case the operator is asking about again — a Dreame's HA
|
|
61115
61260
|
* consumable-life sensors — so it is kept for that conversation, not because
|
|
@@ -61213,14 +61358,6 @@ var consumablesCapability = {
|
|
|
61213
61358
|
deviceNative: true,
|
|
61214
61359
|
mode: "singleton",
|
|
61215
61360
|
deviceTypes: Object.values(DeviceType),
|
|
61216
|
-
deviceConfig: { ui: {
|
|
61217
|
-
kind: "widget",
|
|
61218
|
-
widgetId: "host/consumables-panel",
|
|
61219
|
-
tab: "consumables",
|
|
61220
|
-
placement: "hero",
|
|
61221
|
-
label: "Consumables",
|
|
61222
|
-
order: 5
|
|
61223
|
-
} },
|
|
61224
61361
|
methods: {
|
|
61225
61362
|
/** Mark a consumable as replaced — resets its remaining life. Only
|
|
61226
61363
|
* meaningful when the item's `resettable` is true. */
|
|
@@ -62563,7 +62700,7 @@ var mediaPlayerCapability = {
|
|
|
62563
62700
|
};
|
|
62564
62701
|
/**
|
|
62565
62702
|
* Customize catalog, projected from every `*.cap.ts` `customize` block.
|
|
62566
|
-
*
|
|
62703
|
+
* 13 caps. Field keys are `runtimeState` paths. No Zod.
|
|
62567
62704
|
*/
|
|
62568
62705
|
var CAP_CUSTOMIZE_CATALOG = {
|
|
62569
62706
|
"battery": {
|
|
@@ -63480,6 +63617,572 @@ var CAP_CUSTOMIZE_CATALOG = {
|
|
|
63480
63617
|
path: "running",
|
|
63481
63618
|
by: "running"
|
|
63482
63619
|
}]
|
|
63620
|
+
},
|
|
63621
|
+
"weather-station": {
|
|
63622
|
+
version: 1,
|
|
63623
|
+
targets: [
|
|
63624
|
+
{
|
|
63625
|
+
id: "temperature",
|
|
63626
|
+
cardinality: "scalar",
|
|
63627
|
+
deviceTypes: [DeviceType.WeatherStation],
|
|
63628
|
+
apply: "add",
|
|
63629
|
+
vocabularyCap: "weather-station",
|
|
63630
|
+
vocabularyStateField: "temperature",
|
|
63631
|
+
sources: [{
|
|
63632
|
+
kind: "numeric",
|
|
63633
|
+
requiredUnit: "°C",
|
|
63634
|
+
transformKinds: ["identity"],
|
|
63635
|
+
transforms: [{ kind: "identity" }]
|
|
63636
|
+
}],
|
|
63637
|
+
sourceReport: { status: "assignment-status" },
|
|
63638
|
+
advancedExpression: false,
|
|
63639
|
+
path: "temperature",
|
|
63640
|
+
valueKind: "number",
|
|
63641
|
+
nullable: true,
|
|
63642
|
+
companions: [{
|
|
63643
|
+
kind: "clock",
|
|
63644
|
+
path: "lastFetchedAt",
|
|
63645
|
+
when: "add"
|
|
63646
|
+
}]
|
|
63647
|
+
},
|
|
63648
|
+
{
|
|
63649
|
+
id: "humidity",
|
|
63650
|
+
cardinality: "scalar",
|
|
63651
|
+
deviceTypes: [DeviceType.WeatherStation],
|
|
63652
|
+
apply: "add",
|
|
63653
|
+
vocabularyCap: "weather-station",
|
|
63654
|
+
vocabularyStateField: "humidity",
|
|
63655
|
+
sources: [{
|
|
63656
|
+
kind: "numeric",
|
|
63657
|
+
requiredUnit: "%",
|
|
63658
|
+
transformKinds: ["identity"],
|
|
63659
|
+
transforms: [{ kind: "identity" }]
|
|
63660
|
+
}],
|
|
63661
|
+
sourceReport: { status: "assignment-status" },
|
|
63662
|
+
advancedExpression: false,
|
|
63663
|
+
path: "humidity",
|
|
63664
|
+
valueKind: "number",
|
|
63665
|
+
nullable: true,
|
|
63666
|
+
companions: [{
|
|
63667
|
+
kind: "clock",
|
|
63668
|
+
path: "lastFetchedAt",
|
|
63669
|
+
when: "add"
|
|
63670
|
+
}]
|
|
63671
|
+
},
|
|
63672
|
+
{
|
|
63673
|
+
id: "pressure",
|
|
63674
|
+
cardinality: "scalar",
|
|
63675
|
+
deviceTypes: [DeviceType.WeatherStation],
|
|
63676
|
+
apply: "add",
|
|
63677
|
+
vocabularyCap: "weather-station",
|
|
63678
|
+
vocabularyStateField: "pressure",
|
|
63679
|
+
sources: [{
|
|
63680
|
+
kind: "numeric",
|
|
63681
|
+
requiredUnit: "hPa",
|
|
63682
|
+
transformKinds: ["identity"],
|
|
63683
|
+
transforms: [{ kind: "identity" }]
|
|
63684
|
+
}],
|
|
63685
|
+
sourceReport: { status: "assignment-status" },
|
|
63686
|
+
advancedExpression: false,
|
|
63687
|
+
path: "pressure",
|
|
63688
|
+
valueKind: "number",
|
|
63689
|
+
nullable: true,
|
|
63690
|
+
companions: [{
|
|
63691
|
+
kind: "clock",
|
|
63692
|
+
path: "lastFetchedAt",
|
|
63693
|
+
when: "add"
|
|
63694
|
+
}]
|
|
63695
|
+
},
|
|
63696
|
+
{
|
|
63697
|
+
id: "windSpeed",
|
|
63698
|
+
cardinality: "scalar",
|
|
63699
|
+
deviceTypes: [DeviceType.WeatherStation],
|
|
63700
|
+
apply: "add",
|
|
63701
|
+
vocabularyCap: "weather-station",
|
|
63702
|
+
vocabularyStateField: "windSpeed",
|
|
63703
|
+
sources: [{
|
|
63704
|
+
kind: "numeric",
|
|
63705
|
+
requiredUnit: "m/s",
|
|
63706
|
+
transformKinds: ["identity"],
|
|
63707
|
+
transforms: [{ kind: "identity" }]
|
|
63708
|
+
}],
|
|
63709
|
+
sourceReport: { status: "assignment-status" },
|
|
63710
|
+
advancedExpression: false,
|
|
63711
|
+
path: "windSpeed",
|
|
63712
|
+
valueKind: "number",
|
|
63713
|
+
nullable: true,
|
|
63714
|
+
companions: [{
|
|
63715
|
+
kind: "clock",
|
|
63716
|
+
path: "lastFetchedAt",
|
|
63717
|
+
when: "add"
|
|
63718
|
+
}]
|
|
63719
|
+
},
|
|
63720
|
+
{
|
|
63721
|
+
id: "windGust",
|
|
63722
|
+
cardinality: "scalar",
|
|
63723
|
+
deviceTypes: [DeviceType.WeatherStation],
|
|
63724
|
+
apply: "add",
|
|
63725
|
+
vocabularyCap: "weather-station",
|
|
63726
|
+
vocabularyStateField: "windGust",
|
|
63727
|
+
sources: [{
|
|
63728
|
+
kind: "numeric",
|
|
63729
|
+
requiredUnit: "m/s",
|
|
63730
|
+
transformKinds: ["identity"],
|
|
63731
|
+
transforms: [{ kind: "identity" }]
|
|
63732
|
+
}],
|
|
63733
|
+
sourceReport: { status: "assignment-status" },
|
|
63734
|
+
advancedExpression: false,
|
|
63735
|
+
path: "windGust",
|
|
63736
|
+
valueKind: "number",
|
|
63737
|
+
nullable: true,
|
|
63738
|
+
companions: [{
|
|
63739
|
+
kind: "clock",
|
|
63740
|
+
path: "lastFetchedAt",
|
|
63741
|
+
when: "add"
|
|
63742
|
+
}]
|
|
63743
|
+
},
|
|
63744
|
+
{
|
|
63745
|
+
id: "windBearing",
|
|
63746
|
+
cardinality: "scalar",
|
|
63747
|
+
deviceTypes: [DeviceType.WeatherStation],
|
|
63748
|
+
apply: "add",
|
|
63749
|
+
vocabularyCap: "weather-station",
|
|
63750
|
+
vocabularyStateField: "windBearing",
|
|
63751
|
+
sources: [{
|
|
63752
|
+
kind: "numeric",
|
|
63753
|
+
requiredUnit: "°",
|
|
63754
|
+
transformKinds: ["identity"],
|
|
63755
|
+
transforms: [{ kind: "identity" }]
|
|
63756
|
+
}],
|
|
63757
|
+
sourceReport: { status: "assignment-status" },
|
|
63758
|
+
advancedExpression: false,
|
|
63759
|
+
path: "windBearing",
|
|
63760
|
+
valueKind: "number",
|
|
63761
|
+
nullable: true,
|
|
63762
|
+
companions: [{
|
|
63763
|
+
kind: "clock",
|
|
63764
|
+
path: "lastFetchedAt",
|
|
63765
|
+
when: "add"
|
|
63766
|
+
}]
|
|
63767
|
+
},
|
|
63768
|
+
{
|
|
63769
|
+
id: "rainRate",
|
|
63770
|
+
cardinality: "scalar",
|
|
63771
|
+
deviceTypes: [DeviceType.WeatherStation],
|
|
63772
|
+
apply: "add",
|
|
63773
|
+
vocabularyCap: "weather-station",
|
|
63774
|
+
vocabularyStateField: "rainRate",
|
|
63775
|
+
sources: [{
|
|
63776
|
+
kind: "numeric",
|
|
63777
|
+
requiredUnit: "mm/h",
|
|
63778
|
+
transformKinds: ["identity"],
|
|
63779
|
+
transforms: [{ kind: "identity" }]
|
|
63780
|
+
}],
|
|
63781
|
+
sourceReport: { status: "assignment-status" },
|
|
63782
|
+
advancedExpression: false,
|
|
63783
|
+
path: "rainRate",
|
|
63784
|
+
valueKind: "number",
|
|
63785
|
+
nullable: true,
|
|
63786
|
+
companions: [{
|
|
63787
|
+
kind: "clock",
|
|
63788
|
+
path: "lastFetchedAt",
|
|
63789
|
+
when: "add"
|
|
63790
|
+
}]
|
|
63791
|
+
},
|
|
63792
|
+
{
|
|
63793
|
+
id: "rainDaily",
|
|
63794
|
+
cardinality: "scalar",
|
|
63795
|
+
deviceTypes: [DeviceType.WeatherStation],
|
|
63796
|
+
apply: "add",
|
|
63797
|
+
vocabularyCap: "weather-station",
|
|
63798
|
+
vocabularyStateField: "rainDaily",
|
|
63799
|
+
sources: [{
|
|
63800
|
+
kind: "numeric",
|
|
63801
|
+
requiredUnit: "mm",
|
|
63802
|
+
transformKinds: ["identity"],
|
|
63803
|
+
transforms: [{ kind: "identity" }]
|
|
63804
|
+
}],
|
|
63805
|
+
sourceReport: { status: "assignment-status" },
|
|
63806
|
+
advancedExpression: false,
|
|
63807
|
+
path: "rainDaily",
|
|
63808
|
+
valueKind: "number",
|
|
63809
|
+
nullable: true,
|
|
63810
|
+
companions: [{
|
|
63811
|
+
kind: "clock",
|
|
63812
|
+
path: "lastFetchedAt",
|
|
63813
|
+
when: "add"
|
|
63814
|
+
}]
|
|
63815
|
+
},
|
|
63816
|
+
{
|
|
63817
|
+
id: "rainEvent",
|
|
63818
|
+
cardinality: "scalar",
|
|
63819
|
+
deviceTypes: [DeviceType.WeatherStation],
|
|
63820
|
+
apply: "add",
|
|
63821
|
+
vocabularyCap: "weather-station",
|
|
63822
|
+
vocabularyStateField: "rainEvent",
|
|
63823
|
+
sources: [{
|
|
63824
|
+
kind: "numeric",
|
|
63825
|
+
requiredUnit: "mm",
|
|
63826
|
+
transformKinds: ["identity"],
|
|
63827
|
+
transforms: [{ kind: "identity" }]
|
|
63828
|
+
}],
|
|
63829
|
+
sourceReport: { status: "assignment-status" },
|
|
63830
|
+
advancedExpression: false,
|
|
63831
|
+
path: "rainEvent",
|
|
63832
|
+
valueKind: "number",
|
|
63833
|
+
nullable: true,
|
|
63834
|
+
companions: [{
|
|
63835
|
+
kind: "clock",
|
|
63836
|
+
path: "lastFetchedAt",
|
|
63837
|
+
when: "add"
|
|
63838
|
+
}]
|
|
63839
|
+
},
|
|
63840
|
+
{
|
|
63841
|
+
id: "uv",
|
|
63842
|
+
cardinality: "scalar",
|
|
63843
|
+
deviceTypes: [DeviceType.WeatherStation],
|
|
63844
|
+
apply: "add",
|
|
63845
|
+
vocabularyCap: "weather-station",
|
|
63846
|
+
vocabularyStateField: "uv",
|
|
63847
|
+
sources: [{
|
|
63848
|
+
kind: "numeric",
|
|
63849
|
+
transformKinds: ["identity"],
|
|
63850
|
+
transforms: [{ kind: "identity" }]
|
|
63851
|
+
}],
|
|
63852
|
+
sourceReport: { status: "assignment-status" },
|
|
63853
|
+
advancedExpression: false,
|
|
63854
|
+
path: "uv",
|
|
63855
|
+
valueKind: "number",
|
|
63856
|
+
nullable: true,
|
|
63857
|
+
companions: [{
|
|
63858
|
+
kind: "clock",
|
|
63859
|
+
path: "lastFetchedAt",
|
|
63860
|
+
when: "add"
|
|
63861
|
+
}]
|
|
63862
|
+
},
|
|
63863
|
+
{
|
|
63864
|
+
id: "solarRadiation",
|
|
63865
|
+
cardinality: "scalar",
|
|
63866
|
+
deviceTypes: [DeviceType.WeatherStation],
|
|
63867
|
+
apply: "add",
|
|
63868
|
+
vocabularyCap: "weather-station",
|
|
63869
|
+
vocabularyStateField: "solarRadiation",
|
|
63870
|
+
sources: [{
|
|
63871
|
+
kind: "numeric",
|
|
63872
|
+
requiredUnit: "W/m²",
|
|
63873
|
+
transformKinds: ["identity"],
|
|
63874
|
+
transforms: [{ kind: "identity" }]
|
|
63875
|
+
}],
|
|
63876
|
+
sourceReport: { status: "assignment-status" },
|
|
63877
|
+
advancedExpression: false,
|
|
63878
|
+
path: "solarRadiation",
|
|
63879
|
+
valueKind: "number",
|
|
63880
|
+
nullable: true,
|
|
63881
|
+
companions: [{
|
|
63882
|
+
kind: "clock",
|
|
63883
|
+
path: "lastFetchedAt",
|
|
63884
|
+
when: "add"
|
|
63885
|
+
}]
|
|
63886
|
+
},
|
|
63887
|
+
{
|
|
63888
|
+
id: "dewPoint",
|
|
63889
|
+
cardinality: "scalar",
|
|
63890
|
+
deviceTypes: [DeviceType.WeatherStation],
|
|
63891
|
+
apply: "add",
|
|
63892
|
+
vocabularyCap: "weather-station",
|
|
63893
|
+
vocabularyStateField: "dewPoint",
|
|
63894
|
+
sources: [{
|
|
63895
|
+
kind: "numeric",
|
|
63896
|
+
requiredUnit: "°C",
|
|
63897
|
+
transformKinds: ["identity"],
|
|
63898
|
+
transforms: [{ kind: "identity" }]
|
|
63899
|
+
}],
|
|
63900
|
+
sourceReport: { status: "assignment-status" },
|
|
63901
|
+
advancedExpression: false,
|
|
63902
|
+
path: "dewPoint",
|
|
63903
|
+
valueKind: "number",
|
|
63904
|
+
nullable: true,
|
|
63905
|
+
companions: [{
|
|
63906
|
+
kind: "clock",
|
|
63907
|
+
path: "lastFetchedAt",
|
|
63908
|
+
when: "add"
|
|
63909
|
+
}]
|
|
63910
|
+
},
|
|
63911
|
+
{
|
|
63912
|
+
id: "feelsLike",
|
|
63913
|
+
cardinality: "scalar",
|
|
63914
|
+
deviceTypes: [DeviceType.WeatherStation],
|
|
63915
|
+
apply: "add",
|
|
63916
|
+
vocabularyCap: "weather-station",
|
|
63917
|
+
vocabularyStateField: "feelsLike",
|
|
63918
|
+
sources: [{
|
|
63919
|
+
kind: "numeric",
|
|
63920
|
+
requiredUnit: "°C",
|
|
63921
|
+
transformKinds: ["identity"],
|
|
63922
|
+
transforms: [{ kind: "identity" }]
|
|
63923
|
+
}],
|
|
63924
|
+
sourceReport: { status: "assignment-status" },
|
|
63925
|
+
advancedExpression: false,
|
|
63926
|
+
path: "feelsLike",
|
|
63927
|
+
valueKind: "number",
|
|
63928
|
+
nullable: true,
|
|
63929
|
+
companions: [{
|
|
63930
|
+
kind: "clock",
|
|
63931
|
+
path: "lastFetchedAt",
|
|
63932
|
+
when: "add"
|
|
63933
|
+
}]
|
|
63934
|
+
},
|
|
63935
|
+
{
|
|
63936
|
+
id: "vpd",
|
|
63937
|
+
cardinality: "scalar",
|
|
63938
|
+
deviceTypes: [DeviceType.WeatherStation],
|
|
63939
|
+
apply: "add",
|
|
63940
|
+
vocabularyCap: "weather-station",
|
|
63941
|
+
vocabularyStateField: "vpd",
|
|
63942
|
+
sources: [{
|
|
63943
|
+
kind: "numeric",
|
|
63944
|
+
requiredUnit: "kPa",
|
|
63945
|
+
transformKinds: ["identity"],
|
|
63946
|
+
transforms: [{ kind: "identity" }]
|
|
63947
|
+
}],
|
|
63948
|
+
sourceReport: { status: "assignment-status" },
|
|
63949
|
+
advancedExpression: false,
|
|
63950
|
+
path: "vpd",
|
|
63951
|
+
valueKind: "number",
|
|
63952
|
+
nullable: true,
|
|
63953
|
+
companions: [{
|
|
63954
|
+
kind: "clock",
|
|
63955
|
+
path: "lastFetchedAt",
|
|
63956
|
+
when: "add"
|
|
63957
|
+
}]
|
|
63958
|
+
},
|
|
63959
|
+
{
|
|
63960
|
+
id: "windGustMax",
|
|
63961
|
+
cardinality: "scalar",
|
|
63962
|
+
deviceTypes: [DeviceType.WeatherStation],
|
|
63963
|
+
apply: "add",
|
|
63964
|
+
vocabularyCap: "weather-station",
|
|
63965
|
+
vocabularyStateField: "windGustMax",
|
|
63966
|
+
sources: [{
|
|
63967
|
+
kind: "numeric",
|
|
63968
|
+
requiredUnit: "m/s",
|
|
63969
|
+
transformKinds: ["identity"],
|
|
63970
|
+
transforms: [{ kind: "identity" }]
|
|
63971
|
+
}],
|
|
63972
|
+
sourceReport: { status: "assignment-status" },
|
|
63973
|
+
advancedExpression: false,
|
|
63974
|
+
path: "windGustMax",
|
|
63975
|
+
valueKind: "number",
|
|
63976
|
+
nullable: true,
|
|
63977
|
+
companions: [{
|
|
63978
|
+
kind: "clock",
|
|
63979
|
+
path: "lastFetchedAt",
|
|
63980
|
+
when: "add"
|
|
63981
|
+
}]
|
|
63982
|
+
},
|
|
63983
|
+
{
|
|
63984
|
+
id: "windBearingAvg",
|
|
63985
|
+
cardinality: "scalar",
|
|
63986
|
+
deviceTypes: [DeviceType.WeatherStation],
|
|
63987
|
+
apply: "add",
|
|
63988
|
+
vocabularyCap: "weather-station",
|
|
63989
|
+
vocabularyStateField: "windBearingAvg",
|
|
63990
|
+
sources: [{
|
|
63991
|
+
kind: "numeric",
|
|
63992
|
+
requiredUnit: "°",
|
|
63993
|
+
transformKinds: ["identity"],
|
|
63994
|
+
transforms: [{ kind: "identity" }]
|
|
63995
|
+
}],
|
|
63996
|
+
sourceReport: { status: "assignment-status" },
|
|
63997
|
+
advancedExpression: false,
|
|
63998
|
+
path: "windBearingAvg",
|
|
63999
|
+
valueKind: "number",
|
|
64000
|
+
nullable: true,
|
|
64001
|
+
companions: [{
|
|
64002
|
+
kind: "clock",
|
|
64003
|
+
path: "lastFetchedAt",
|
|
64004
|
+
when: "add"
|
|
64005
|
+
}]
|
|
64006
|
+
},
|
|
64007
|
+
{
|
|
64008
|
+
id: "rain24h",
|
|
64009
|
+
cardinality: "scalar",
|
|
64010
|
+
deviceTypes: [DeviceType.WeatherStation],
|
|
64011
|
+
apply: "add",
|
|
64012
|
+
vocabularyCap: "weather-station",
|
|
64013
|
+
vocabularyStateField: "rain24h",
|
|
64014
|
+
sources: [{
|
|
64015
|
+
kind: "numeric",
|
|
64016
|
+
requiredUnit: "mm",
|
|
64017
|
+
transformKinds: ["identity"],
|
|
64018
|
+
transforms: [{ kind: "identity" }]
|
|
64019
|
+
}],
|
|
64020
|
+
sourceReport: { status: "assignment-status" },
|
|
64021
|
+
advancedExpression: false,
|
|
64022
|
+
path: "rain24h",
|
|
64023
|
+
valueKind: "number",
|
|
64024
|
+
nullable: true,
|
|
64025
|
+
companions: [{
|
|
64026
|
+
kind: "clock",
|
|
64027
|
+
path: "lastFetchedAt",
|
|
64028
|
+
when: "add"
|
|
64029
|
+
}]
|
|
64030
|
+
},
|
|
64031
|
+
{
|
|
64032
|
+
id: "rainWeekly",
|
|
64033
|
+
cardinality: "scalar",
|
|
64034
|
+
deviceTypes: [DeviceType.WeatherStation],
|
|
64035
|
+
apply: "add",
|
|
64036
|
+
vocabularyCap: "weather-station",
|
|
64037
|
+
vocabularyStateField: "rainWeekly",
|
|
64038
|
+
sources: [{
|
|
64039
|
+
kind: "numeric",
|
|
64040
|
+
requiredUnit: "mm",
|
|
64041
|
+
transformKinds: ["identity"],
|
|
64042
|
+
transforms: [{ kind: "identity" }]
|
|
64043
|
+
}],
|
|
64044
|
+
sourceReport: { status: "assignment-status" },
|
|
64045
|
+
advancedExpression: false,
|
|
64046
|
+
path: "rainWeekly",
|
|
64047
|
+
valueKind: "number",
|
|
64048
|
+
nullable: true,
|
|
64049
|
+
companions: [{
|
|
64050
|
+
kind: "clock",
|
|
64051
|
+
path: "lastFetchedAt",
|
|
64052
|
+
when: "add"
|
|
64053
|
+
}]
|
|
64054
|
+
},
|
|
64055
|
+
{
|
|
64056
|
+
id: "rainMonthly",
|
|
64057
|
+
cardinality: "scalar",
|
|
64058
|
+
deviceTypes: [DeviceType.WeatherStation],
|
|
64059
|
+
apply: "add",
|
|
64060
|
+
vocabularyCap: "weather-station",
|
|
64061
|
+
vocabularyStateField: "rainMonthly",
|
|
64062
|
+
sources: [{
|
|
64063
|
+
kind: "numeric",
|
|
64064
|
+
requiredUnit: "mm",
|
|
64065
|
+
transformKinds: ["identity"],
|
|
64066
|
+
transforms: [{ kind: "identity" }]
|
|
64067
|
+
}],
|
|
64068
|
+
sourceReport: { status: "assignment-status" },
|
|
64069
|
+
advancedExpression: false,
|
|
64070
|
+
path: "rainMonthly",
|
|
64071
|
+
valueKind: "number",
|
|
64072
|
+
nullable: true,
|
|
64073
|
+
companions: [{
|
|
64074
|
+
kind: "clock",
|
|
64075
|
+
path: "lastFetchedAt",
|
|
64076
|
+
when: "add"
|
|
64077
|
+
}]
|
|
64078
|
+
},
|
|
64079
|
+
{
|
|
64080
|
+
id: "rainYearly",
|
|
64081
|
+
cardinality: "scalar",
|
|
64082
|
+
deviceTypes: [DeviceType.WeatherStation],
|
|
64083
|
+
apply: "add",
|
|
64084
|
+
vocabularyCap: "weather-station",
|
|
64085
|
+
vocabularyStateField: "rainYearly",
|
|
64086
|
+
sources: [{
|
|
64087
|
+
kind: "numeric",
|
|
64088
|
+
requiredUnit: "mm",
|
|
64089
|
+
transformKinds: ["identity"],
|
|
64090
|
+
transforms: [{ kind: "identity" }]
|
|
64091
|
+
}],
|
|
64092
|
+
sourceReport: { status: "assignment-status" },
|
|
64093
|
+
advancedExpression: false,
|
|
64094
|
+
path: "rainYearly",
|
|
64095
|
+
valueKind: "number",
|
|
64096
|
+
nullable: true,
|
|
64097
|
+
companions: [{
|
|
64098
|
+
kind: "clock",
|
|
64099
|
+
path: "lastFetchedAt",
|
|
64100
|
+
when: "add"
|
|
64101
|
+
}]
|
|
64102
|
+
}
|
|
64103
|
+
],
|
|
64104
|
+
overridable: [
|
|
64105
|
+
{
|
|
64106
|
+
path: "temperature",
|
|
64107
|
+
by: "temperature"
|
|
64108
|
+
},
|
|
64109
|
+
{
|
|
64110
|
+
path: "humidity",
|
|
64111
|
+
by: "humidity"
|
|
64112
|
+
},
|
|
64113
|
+
{
|
|
64114
|
+
path: "pressure",
|
|
64115
|
+
by: "pressure"
|
|
64116
|
+
},
|
|
64117
|
+
{
|
|
64118
|
+
path: "windSpeed",
|
|
64119
|
+
by: "windSpeed"
|
|
64120
|
+
},
|
|
64121
|
+
{
|
|
64122
|
+
path: "windGust",
|
|
64123
|
+
by: "windGust"
|
|
64124
|
+
},
|
|
64125
|
+
{
|
|
64126
|
+
path: "windBearing",
|
|
64127
|
+
by: "windBearing"
|
|
64128
|
+
},
|
|
64129
|
+
{
|
|
64130
|
+
path: "rainRate",
|
|
64131
|
+
by: "rainRate"
|
|
64132
|
+
},
|
|
64133
|
+
{
|
|
64134
|
+
path: "rainDaily",
|
|
64135
|
+
by: "rainDaily"
|
|
64136
|
+
},
|
|
64137
|
+
{
|
|
64138
|
+
path: "rainEvent",
|
|
64139
|
+
by: "rainEvent"
|
|
64140
|
+
},
|
|
64141
|
+
{
|
|
64142
|
+
path: "uv",
|
|
64143
|
+
by: "uv"
|
|
64144
|
+
},
|
|
64145
|
+
{
|
|
64146
|
+
path: "solarRadiation",
|
|
64147
|
+
by: "solarRadiation"
|
|
64148
|
+
},
|
|
64149
|
+
{
|
|
64150
|
+
path: "dewPoint",
|
|
64151
|
+
by: "dewPoint"
|
|
64152
|
+
},
|
|
64153
|
+
{
|
|
64154
|
+
path: "feelsLike",
|
|
64155
|
+
by: "feelsLike"
|
|
64156
|
+
},
|
|
64157
|
+
{
|
|
64158
|
+
path: "vpd",
|
|
64159
|
+
by: "vpd"
|
|
64160
|
+
},
|
|
64161
|
+
{
|
|
64162
|
+
path: "windGustMax",
|
|
64163
|
+
by: "windGustMax"
|
|
64164
|
+
},
|
|
64165
|
+
{
|
|
64166
|
+
path: "windBearingAvg",
|
|
64167
|
+
by: "windBearingAvg"
|
|
64168
|
+
},
|
|
64169
|
+
{
|
|
64170
|
+
path: "rain24h",
|
|
64171
|
+
by: "rain24h"
|
|
64172
|
+
},
|
|
64173
|
+
{
|
|
64174
|
+
path: "rainWeekly",
|
|
64175
|
+
by: "rainWeekly"
|
|
64176
|
+
},
|
|
64177
|
+
{
|
|
64178
|
+
path: "rainMonthly",
|
|
64179
|
+
by: "rainMonthly"
|
|
64180
|
+
},
|
|
64181
|
+
{
|
|
64182
|
+
path: "rainYearly",
|
|
64183
|
+
by: "rainYearly"
|
|
64184
|
+
}
|
|
64185
|
+
]
|
|
63483
64186
|
}
|
|
63484
64187
|
};
|
|
63485
64188
|
/**
|
|
@@ -64515,7 +65218,7 @@ function groupTemplate(id) {
|
|
|
64515
65218
|
}
|
|
64516
65219
|
/**
|
|
64517
65220
|
* Cap history catalog, projected from every `*.cap.ts` `history` block.
|
|
64518
|
-
*
|
|
65221
|
+
* 46 caps with series (124 series), 38 caps answered `'none'`.
|
|
64519
65222
|
* Field keys are `runtimeState` paths (`a.b` into fixed objects only).
|
|
64520
65223
|
*/
|
|
64521
65224
|
var HISTORY_CATALOG = {
|
|
@@ -65017,6 +65720,108 @@ var HISTORY_CATALOG = {
|
|
|
65017
65720
|
unit: "m/s",
|
|
65018
65721
|
deadband: .5
|
|
65019
65722
|
}
|
|
65723
|
+
},
|
|
65724
|
+
"weather-station": {
|
|
65725
|
+
"temperature": {
|
|
65726
|
+
kind: "gauge",
|
|
65727
|
+
unit: "°C",
|
|
65728
|
+
deadband: .1
|
|
65729
|
+
},
|
|
65730
|
+
"humidity": {
|
|
65731
|
+
kind: "gauge",
|
|
65732
|
+
unit: "%",
|
|
65733
|
+
deadband: 1
|
|
65734
|
+
},
|
|
65735
|
+
"pressure": {
|
|
65736
|
+
kind: "gauge",
|
|
65737
|
+
unit: "hPa",
|
|
65738
|
+
deadband: .2
|
|
65739
|
+
},
|
|
65740
|
+
"windSpeed": {
|
|
65741
|
+
kind: "gauge",
|
|
65742
|
+
unit: "m/s",
|
|
65743
|
+
deadband: .2
|
|
65744
|
+
},
|
|
65745
|
+
"windGust": {
|
|
65746
|
+
kind: "gauge",
|
|
65747
|
+
unit: "m/s",
|
|
65748
|
+
deadband: .2
|
|
65749
|
+
},
|
|
65750
|
+
"windBearing": {
|
|
65751
|
+
kind: "gauge",
|
|
65752
|
+
unit: "°",
|
|
65753
|
+
deadband: 5
|
|
65754
|
+
},
|
|
65755
|
+
"rainRate": {
|
|
65756
|
+
kind: "gauge",
|
|
65757
|
+
unit: "mm/h",
|
|
65758
|
+
deadband: .1
|
|
65759
|
+
},
|
|
65760
|
+
"rainDaily": {
|
|
65761
|
+
kind: "gauge",
|
|
65762
|
+
unit: "mm",
|
|
65763
|
+
deadband: .1
|
|
65764
|
+
},
|
|
65765
|
+
"rainEvent": {
|
|
65766
|
+
kind: "gauge",
|
|
65767
|
+
unit: "mm",
|
|
65768
|
+
deadband: .1
|
|
65769
|
+
},
|
|
65770
|
+
"uv": {
|
|
65771
|
+
kind: "gauge",
|
|
65772
|
+
unit: "index",
|
|
65773
|
+
deadband: .1
|
|
65774
|
+
},
|
|
65775
|
+
"solarRadiation": {
|
|
65776
|
+
kind: "gauge",
|
|
65777
|
+
unit: "W/m²",
|
|
65778
|
+
deadband: 5
|
|
65779
|
+
},
|
|
65780
|
+
"dewPoint": {
|
|
65781
|
+
kind: "gauge",
|
|
65782
|
+
unit: "°C",
|
|
65783
|
+
deadband: .1
|
|
65784
|
+
},
|
|
65785
|
+
"feelsLike": {
|
|
65786
|
+
kind: "gauge",
|
|
65787
|
+
unit: "°C",
|
|
65788
|
+
deadband: .1
|
|
65789
|
+
},
|
|
65790
|
+
"vpd": {
|
|
65791
|
+
kind: "gauge",
|
|
65792
|
+
unit: "kPa",
|
|
65793
|
+
deadband: .05
|
|
65794
|
+
},
|
|
65795
|
+
"windGustMax": {
|
|
65796
|
+
kind: "gauge",
|
|
65797
|
+
unit: "m/s",
|
|
65798
|
+
deadband: .2
|
|
65799
|
+
},
|
|
65800
|
+
"windBearingAvg": {
|
|
65801
|
+
kind: "gauge",
|
|
65802
|
+
unit: "°",
|
|
65803
|
+
deadband: 5
|
|
65804
|
+
},
|
|
65805
|
+
"rain24h": {
|
|
65806
|
+
kind: "gauge",
|
|
65807
|
+
unit: "mm",
|
|
65808
|
+
deadband: .1
|
|
65809
|
+
},
|
|
65810
|
+
"rainWeekly": {
|
|
65811
|
+
kind: "gauge",
|
|
65812
|
+
unit: "mm",
|
|
65813
|
+
deadband: .1
|
|
65814
|
+
},
|
|
65815
|
+
"rainMonthly": {
|
|
65816
|
+
kind: "gauge",
|
|
65817
|
+
unit: "mm",
|
|
65818
|
+
deadband: .1
|
|
65819
|
+
},
|
|
65820
|
+
"rainYearly": {
|
|
65821
|
+
kind: "gauge",
|
|
65822
|
+
unit: "mm",
|
|
65823
|
+
deadband: .1
|
|
65824
|
+
}
|
|
65020
65825
|
}
|
|
65021
65826
|
};
|
|
65022
65827
|
/**
|
|
@@ -73307,6 +74112,10 @@ var embeddingEncoderCapability = {
|
|
|
73307
74112
|
* system did not report is `null`, never `0` (D393).
|
|
73308
74113
|
*
|
|
73309
74114
|
* Signs, all in watts:
|
|
74115
|
+
* - The branches are DISJOINT: `house` is the consumption EXCLUDING the heat pump
|
|
74116
|
+
* whenever `heatPump` is reported, so solar + grid import + storage discharge =
|
|
74117
|
+
* house + heatPump + grid export + storage charge. A provider whose meter totals
|
|
74118
|
+
* include the pump subtracts it; when it cannot, `house` is null (D393).
|
|
73310
74119
|
* - `solar.powerW`, `house.powerW`, `heatPump.powerW` are magnitudes (≥ 0);
|
|
73311
74120
|
* - `grid.powerW` is + importing, − exporting;
|
|
73312
74121
|
* - `storage.powerW` is + charging, − discharging.
|
|
@@ -109134,18 +109943,30 @@ var weatherCapability = {
|
|
|
109134
109943
|
}
|
|
109135
109944
|
};
|
|
109136
109945
|
var WeatherStationStatusSchema = zod.z.object({
|
|
109137
|
-
temperature: zod.z.number().nullable().meta(readingMeta("temperature", { precision: 1 })),
|
|
109138
|
-
humidity: zod.z.number().min(0).max(100).nullable().meta(readingMeta("humidity")),
|
|
109139
|
-
pressure: zod.z.number().nullable().meta(readingMeta("pressure")),
|
|
109140
|
-
windSpeed: zod.z.number().nullable().meta(readingMeta("speed")),
|
|
109141
|
-
windGust: zod.z.number().nullable().meta(readingMeta("speed")),
|
|
109142
|
-
windBearing: zod.z.number().nullable().meta(readingMeta("angle")),
|
|
109143
|
-
rainRate: zod.z.number().nullable().meta(readingMeta("precipitation-rate", { precision: 1 })),
|
|
109144
|
-
rainDaily: zod.z.number().nullable().meta(readingMeta("precipitation", { precision: 1 })),
|
|
109145
|
-
rainEvent: zod.z.number().nullable().meta(readingMeta("precipitation", { precision: 1 })),
|
|
109146
|
-
uv: zod.z.number().nullable().meta(readingMeta("index", { precision: 1 })),
|
|
109147
|
-
solarRadiation: zod.z.number().nullable().meta(readingMeta("irradiance")),
|
|
109148
|
-
dewPoint: zod.z.number().nullable().meta(readingMeta("temperature", { precision: 1 }))
|
|
109946
|
+
temperature: zod.z.number().nullable().default(null).meta(readingMeta("temperature", { precision: 1 })),
|
|
109947
|
+
humidity: zod.z.number().min(0).max(100).nullable().default(null).meta(readingMeta("humidity")),
|
|
109948
|
+
pressure: zod.z.number().nullable().default(null).meta(readingMeta("pressure")),
|
|
109949
|
+
windSpeed: zod.z.number().nullable().default(null).meta(readingMeta("speed")),
|
|
109950
|
+
windGust: zod.z.number().nullable().default(null).meta(readingMeta("speed")),
|
|
109951
|
+
windBearing: zod.z.number().nullable().default(null).meta(readingMeta("angle")),
|
|
109952
|
+
rainRate: zod.z.number().nullable().default(null).meta(readingMeta("precipitation-rate", { precision: 1 })),
|
|
109953
|
+
rainDaily: zod.z.number().nullable().default(null).meta(readingMeta("precipitation", { precision: 1 })),
|
|
109954
|
+
rainEvent: zod.z.number().nullable().default(null).meta(readingMeta("precipitation", { precision: 1 })),
|
|
109955
|
+
uv: zod.z.number().nullable().default(null).meta(readingMeta("index", { precision: 1 })),
|
|
109956
|
+
solarRadiation: zod.z.number().nullable().default(null).meta(readingMeta("irradiance")),
|
|
109957
|
+
dewPoint: zod.z.number().nullable().default(null).meta(readingMeta("temperature", { precision: 1 })),
|
|
109958
|
+
/** Apparent ("feels like") temperature. */
|
|
109959
|
+
feelsLike: zod.z.number().nullable().default(null).meta(readingMeta("temperature", { precision: 1 })),
|
|
109960
|
+
/** Vapour-pressure deficit, stored in kPa (the unit stations and growers read it in). */
|
|
109961
|
+
vpd: zod.z.number().nullable().default(null).meta(readingMeta("none", { precision: 2 })),
|
|
109962
|
+
/** Highest wind gust since local midnight. */
|
|
109963
|
+
windGustMax: zod.z.number().nullable().default(null).meta(readingMeta("speed")),
|
|
109964
|
+
/** Wind bearing averaged over the station's own window. */
|
|
109965
|
+
windBearingAvg: zod.z.number().nullable().default(null).meta(readingMeta("angle")),
|
|
109966
|
+
rain24h: zod.z.number().nullable().default(null).meta(readingMeta("precipitation", { precision: 1 })),
|
|
109967
|
+
rainWeekly: zod.z.number().nullable().default(null).meta(readingMeta("precipitation", { precision: 1 })),
|
|
109968
|
+
rainMonthly: zod.z.number().nullable().default(null).meta(readingMeta("precipitation", { precision: 1 })),
|
|
109969
|
+
rainYearly: zod.z.number().nullable().default(null).meta(readingMeta("precipitation", { precision: 1 }))
|
|
109149
109970
|
}).extend({
|
|
109150
109971
|
/** Ms epoch of the poll that produced this slice. 0 before the first one. */
|
|
109151
109972
|
lastFetchedAt: zod.z.number() });
|
|
@@ -109157,6 +109978,75 @@ var numeric = (field, quantity, label, unit, icon) => ({
|
|
|
109157
109978
|
unit,
|
|
109158
109979
|
icon
|
|
109159
109980
|
});
|
|
109981
|
+
/** Every reading of the station with the unit a Customize source must carry ('' = dimensionless). */
|
|
109982
|
+
var STATION_FIELD_UNITS = {
|
|
109983
|
+
temperature: "°C",
|
|
109984
|
+
humidity: "%",
|
|
109985
|
+
pressure: "hPa",
|
|
109986
|
+
windSpeed: "m/s",
|
|
109987
|
+
windGust: "m/s",
|
|
109988
|
+
windBearing: "°",
|
|
109989
|
+
rainRate: "mm/h",
|
|
109990
|
+
rainDaily: "mm",
|
|
109991
|
+
rainEvent: "mm",
|
|
109992
|
+
uv: "",
|
|
109993
|
+
solarRadiation: "W/m²",
|
|
109994
|
+
dewPoint: "°C",
|
|
109995
|
+
feelsLike: "°C",
|
|
109996
|
+
vpd: "kPa",
|
|
109997
|
+
windGustMax: "m/s",
|
|
109998
|
+
windBearingAvg: "°",
|
|
109999
|
+
rain24h: "mm",
|
|
110000
|
+
rainWeekly: "mm",
|
|
110001
|
+
rainMonthly: "mm",
|
|
110002
|
+
rainYearly: "mm"
|
|
110003
|
+
};
|
|
110004
|
+
function isStationField(key) {
|
|
110005
|
+
return Object.prototype.hasOwnProperty.call(STATION_FIELD_UNITS, key);
|
|
110006
|
+
}
|
|
110007
|
+
var STATION_FIELDS = Object.keys(STATION_FIELD_UNITS).filter(isStationField);
|
|
110008
|
+
/**
|
|
110009
|
+
* One scalar target per reading, `apply: 'add'` and listed in `overridable` by its own id
|
|
110010
|
+
* (the running-state / climate-control mechanism, D984 / D990): a station that reports a
|
|
110011
|
+
* reading natively keeps it until the operator assigns another device to that ONE field,
|
|
110012
|
+
* and a device with no `weather-station` slice becomes one from the sources picked. On an
|
|
110013
|
+
* add, every other reading is absent from the claim and the schema defaults it to null
|
|
110014
|
+
* (a missing sensor is never 0, D393) — the fan-control precedent, never a cross-field companion
|
|
110015
|
+
* (the scalar merge treats a companion as owned by its target).
|
|
110016
|
+
*/
|
|
110017
|
+
function stationTarget(field) {
|
|
110018
|
+
const unit = STATION_FIELD_UNITS[field];
|
|
110019
|
+
return {
|
|
110020
|
+
id: field,
|
|
110021
|
+
cardinality: "scalar",
|
|
110022
|
+
vocabulary: {
|
|
110023
|
+
cap: "weather-station",
|
|
110024
|
+
stateField: field
|
|
110025
|
+
},
|
|
110026
|
+
deviceTypes: [DeviceType.WeatherStation],
|
|
110027
|
+
apply: "add",
|
|
110028
|
+
path: field,
|
|
110029
|
+
sources: [{
|
|
110030
|
+
kind: "numeric",
|
|
110031
|
+
...unit.length > 0 ? { requiredUnit: unit } : {},
|
|
110032
|
+
transforms: [{ kind: "identity" }]
|
|
110033
|
+
}],
|
|
110034
|
+
companions: [{
|
|
110035
|
+
kind: "clock",
|
|
110036
|
+
path: "lastFetchedAt",
|
|
110037
|
+
when: "add"
|
|
110038
|
+
}],
|
|
110039
|
+
sourceReport: { status: "assignment-status" }
|
|
110040
|
+
};
|
|
110041
|
+
}
|
|
110042
|
+
var weatherStationCustomize = {
|
|
110043
|
+
version: 1,
|
|
110044
|
+
overridable: STATION_FIELDS.map((field) => ({
|
|
110045
|
+
path: field,
|
|
110046
|
+
by: field
|
|
110047
|
+
})),
|
|
110048
|
+
targets: STATION_FIELDS.map(stationTarget)
|
|
110049
|
+
};
|
|
109160
110050
|
var weatherStationCapability = {
|
|
109161
110051
|
name: "weather-station",
|
|
109162
110052
|
scope: "device",
|
|
@@ -109170,10 +110060,115 @@ var weatherStationCapability = {
|
|
|
109170
110060
|
},
|
|
109171
110061
|
runtimeState: WeatherStationStatusSchema,
|
|
109172
110062
|
/**
|
|
109173
|
-
*
|
|
109174
|
-
*
|
|
110063
|
+
* History (D850): the station records its own readings. Rain totals that
|
|
110064
|
+
* reset (event, day, week, month, year) and the sliding 24 h total are
|
|
110065
|
+
* levels, so `gauge`; `counter` is for a monotonic meter only.
|
|
109175
110066
|
*/
|
|
109176
|
-
history:
|
|
110067
|
+
history: { fields: {
|
|
110068
|
+
temperature: {
|
|
110069
|
+
kind: "gauge",
|
|
110070
|
+
unit: "°C",
|
|
110071
|
+
deadband: .1
|
|
110072
|
+
},
|
|
110073
|
+
humidity: {
|
|
110074
|
+
kind: "gauge",
|
|
110075
|
+
unit: "%",
|
|
110076
|
+
deadband: 1
|
|
110077
|
+
},
|
|
110078
|
+
pressure: {
|
|
110079
|
+
kind: "gauge",
|
|
110080
|
+
unit: "hPa",
|
|
110081
|
+
deadband: .2
|
|
110082
|
+
},
|
|
110083
|
+
windSpeed: {
|
|
110084
|
+
kind: "gauge",
|
|
110085
|
+
unit: "m/s",
|
|
110086
|
+
deadband: .2
|
|
110087
|
+
},
|
|
110088
|
+
windGust: {
|
|
110089
|
+
kind: "gauge",
|
|
110090
|
+
unit: "m/s",
|
|
110091
|
+
deadband: .2
|
|
110092
|
+
},
|
|
110093
|
+
windBearing: {
|
|
110094
|
+
kind: "gauge",
|
|
110095
|
+
unit: "°",
|
|
110096
|
+
deadband: 5
|
|
110097
|
+
},
|
|
110098
|
+
rainRate: {
|
|
110099
|
+
kind: "gauge",
|
|
110100
|
+
unit: "mm/h",
|
|
110101
|
+
deadband: .1
|
|
110102
|
+
},
|
|
110103
|
+
rainDaily: {
|
|
110104
|
+
kind: "gauge",
|
|
110105
|
+
unit: "mm",
|
|
110106
|
+
deadband: .1
|
|
110107
|
+
},
|
|
110108
|
+
rainEvent: {
|
|
110109
|
+
kind: "gauge",
|
|
110110
|
+
unit: "mm",
|
|
110111
|
+
deadband: .1
|
|
110112
|
+
},
|
|
110113
|
+
uv: {
|
|
110114
|
+
kind: "gauge",
|
|
110115
|
+
unit: "index",
|
|
110116
|
+
deadband: .1
|
|
110117
|
+
},
|
|
110118
|
+
solarRadiation: {
|
|
110119
|
+
kind: "gauge",
|
|
110120
|
+
unit: "W/m²",
|
|
110121
|
+
deadband: 5
|
|
110122
|
+
},
|
|
110123
|
+
dewPoint: {
|
|
110124
|
+
kind: "gauge",
|
|
110125
|
+
unit: "°C",
|
|
110126
|
+
deadband: .1
|
|
110127
|
+
},
|
|
110128
|
+
feelsLike: {
|
|
110129
|
+
kind: "gauge",
|
|
110130
|
+
unit: "°C",
|
|
110131
|
+
deadband: .1
|
|
110132
|
+
},
|
|
110133
|
+
vpd: {
|
|
110134
|
+
kind: "gauge",
|
|
110135
|
+
unit: "kPa",
|
|
110136
|
+
deadband: .05
|
|
110137
|
+
},
|
|
110138
|
+
windGustMax: {
|
|
110139
|
+
kind: "gauge",
|
|
110140
|
+
unit: "m/s",
|
|
110141
|
+
deadband: .2
|
|
110142
|
+
},
|
|
110143
|
+
windBearingAvg: {
|
|
110144
|
+
kind: "gauge",
|
|
110145
|
+
unit: "°",
|
|
110146
|
+
deadband: 5
|
|
110147
|
+
},
|
|
110148
|
+
rain24h: {
|
|
110149
|
+
kind: "gauge",
|
|
110150
|
+
unit: "mm",
|
|
110151
|
+
deadband: .1
|
|
110152
|
+
},
|
|
110153
|
+
rainWeekly: {
|
|
110154
|
+
kind: "gauge",
|
|
110155
|
+
unit: "mm",
|
|
110156
|
+
deadband: .1
|
|
110157
|
+
},
|
|
110158
|
+
rainMonthly: {
|
|
110159
|
+
kind: "gauge",
|
|
110160
|
+
unit: "mm",
|
|
110161
|
+
deadband: .1
|
|
110162
|
+
},
|
|
110163
|
+
rainYearly: {
|
|
110164
|
+
kind: "gauge",
|
|
110165
|
+
unit: "mm",
|
|
110166
|
+
deadband: .1
|
|
110167
|
+
}
|
|
110168
|
+
} },
|
|
110169
|
+
customize: weatherStationCustomize,
|
|
110170
|
+
/** The poll clock is written but is no reason to commit a row. */
|
|
110171
|
+
volatileStateFields: ["lastFetchedAt"],
|
|
109177
110172
|
/**
|
|
109178
110173
|
* Runtime-state durability: **session** — a station reading is stale the
|
|
109179
110174
|
* moment the hub is down; the provider re-reads on the next poll.
|
|
@@ -109194,7 +110189,15 @@ var weatherStationCapability = {
|
|
|
109194
110189
|
numeric("rainEvent", t("the rain this event", "la pioggia di questo evento"), t("Rain event", "Evento di pioggia"), "mm", "droplets"),
|
|
109195
110190
|
numeric("uv", t("the UV index", "l’indice UV"), t("UV", "UV"), "", "cloud-sun"),
|
|
109196
110191
|
numeric("solarRadiation", t("the solar radiation", "la radiazione solare"), t("Solar", "Sole"), "W/m²", "cloud-sun"),
|
|
109197
|
-
numeric("dewPoint", t("the dew point", "il punto di rugiada"), t("Dew point", "Punto di rugiada"), "°C", "thermometer")
|
|
110192
|
+
numeric("dewPoint", t("the dew point", "il punto di rugiada"), t("Dew point", "Punto di rugiada"), "°C", "thermometer"),
|
|
110193
|
+
numeric("feelsLike", t("the feels-like temperature", "la temperatura percepita"), t("Feels like", "Percepita"), "°C", "thermometer"),
|
|
110194
|
+
numeric("vpd", t("the vapour-pressure deficit", "il deficit di pressione di vapore"), t("VPD", "VPD"), "kPa", "gauge"),
|
|
110195
|
+
numeric("windGustMax", t("the highest gust today", "la raffica massima di oggi"), t("Max gust", "Raffica max"), "m/s", "wind"),
|
|
110196
|
+
numeric("windBearingAvg", t("the average wind bearing", "la direzione media del vento"), t("Avg bearing", "Direzione media"), "°", "wind"),
|
|
110197
|
+
numeric("rain24h", t("the rain in the last 24 hours", "la pioggia delle ultime 24 ore"), t("Rain 24 h", "Pioggia 24 h"), "mm", "droplets"),
|
|
110198
|
+
numeric("rainWeekly", t("the rain this week", "la pioggia di questa settimana"), t("Rain week", "Pioggia settimana"), "mm", "droplets"),
|
|
110199
|
+
numeric("rainMonthly", t("the rain this month", "la pioggia di questo mese"), t("Rain month", "Pioggia mese"), "mm", "droplets"),
|
|
110200
|
+
numeric("rainYearly", t("the rain this year", "la pioggia di quest’anno"), t("Rain year", "Pioggia anno"), "mm", "droplets")
|
|
109198
110201
|
]
|
|
109199
110202
|
}
|
|
109200
110203
|
};
|
|
@@ -132663,7 +133666,7 @@ var RUNTIME_STATE_POLICY = {
|
|
|
132663
133666
|
},
|
|
132664
133667
|
"weather-station": {
|
|
132665
133668
|
durability: "session",
|
|
132666
|
-
volatileFields: []
|
|
133669
|
+
volatileFields: ["lastFetchedAt"]
|
|
132667
133670
|
},
|
|
132668
133671
|
"zone-analytics": {
|
|
132669
133672
|
durability: "session",
|