@camstack/addon-admin-ui 1.2.670 → 1.2.672
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 +13 -0
- package/dist/assets/{Addons-Bu4ZoxIO.js → Addons-BEhl3aw7.js} +1 -1
- package/dist/assets/{AdminPage-DZFpAKya.js → AdminPage-WKFHThAA.js} +1 -1
- package/dist/assets/{AdminSectionedPage-B6ps8rNV.js → AdminSectionedPage-aE2P4MNm.js} +1 -1
- package/dist/assets/{AiProfiles-CdoQZsZR.js → AiProfiles-seGYRA1N.js} +1 -1
- package/dist/assets/{BootstrapSettingsForm-UCWvtzeE.js → BootstrapSettingsForm-VkqZ4n9L.js} +1 -1
- package/dist/assets/Build-DfuFTfOe.js +42 -0
- package/dist/assets/{Calendars-CiJnuAQh.js → Calendars-B5_Iw15u.js} +1 -1
- package/dist/assets/{CameraGrids-DxfsuaX0.js → CameraGrids-WRpTOdgM.js} +1 -1
- package/dist/assets/{Cluster-Bo-4vXsH.js → Cluster-H2SeggWn.js} +1 -1
- package/dist/assets/CompositionBlockEditor-D_kgqFjy.js +2 -0
- package/dist/assets/{CompositionEditorPage-DKFrfRrp.js → CompositionEditorPage-CBnk6Oi4.js} +1 -1
- package/dist/assets/{Data-D7ZahmN6.js → Data-Bmx_QZ5N.js} +1 -1
- package/dist/assets/DeviceDetail-DPtEEtEu.js +2 -0
- package/dist/assets/{Devices-byiaWoVy.js → Devices-Bs2smCnE.js} +1 -1
- package/dist/assets/{EmbedDevicePage-CNeUtgiP.js → EmbedDevicePage-DtB3fTCS.js} +1 -1
- package/dist/assets/{EmbedPlayerPage-C61k6Ex_.js → EmbedPlayerPage-BsiMBwWy.js} +1 -1
- package/dist/assets/{History-Bs14Rm_V.js → History-kgS1nMrV.js} +1 -1
- package/dist/assets/{Identity-Bw51Vnol.js → Identity-BaQ05dRz.js} +1 -1
- package/dist/assets/{InstancesTable-BYcvOIqM.js → InstancesTable-Bm6FGiwJ.js} +1 -1
- package/dist/assets/{IntegrationDetail-Ca70oA9L.js → IntegrationDetail-ByhHLh3L.js} +1 -1
- package/dist/assets/{Integrations-CUBI08OU.js → Integrations-DlQX63NB.js} +1 -1
- package/dist/assets/{Integrations-BqsIC-y8.js → Integrations-esSALn0z.js} +1 -1
- package/dist/assets/Library-CWLw_sup.js +1 -0
- package/dist/assets/{Locations-9Nu9CaoW.js → Locations-Bo_gdnn6.js} +1 -1
- package/dist/assets/{Logs-Q8kMe303.js → Logs-DvXNPp-Y.js} +1 -1
- package/dist/assets/{MaskShapeCanvas-BIQjyybG.js → MaskShapeCanvas-BXQi3-T2.js} +1 -1
- package/dist/assets/{MotionZonesSettings-DpLx__H7.js → MotionZonesSettings-ucz7NSTu.js} +1 -1
- package/dist/assets/{MyAccess-COSpNM7B.js → MyAccess-CaEYIf0r.js} +1 -1
- package/dist/assets/{Network-DJpcRcIb.js → Network-BvNO3Og4.js} +1 -1
- package/dist/assets/{NodeAddonsSettingsPanel-kjx2GHro.js → NodeAddonsSettingsPanel--3ZSd9Jd.js} +2 -2
- package/dist/assets/Notifications-C184vu19.js +1 -0
- package/dist/assets/{Pipeline-Czx8lt08.js → Pipeline-BK7KRS_e.js} +1 -1
- package/dist/assets/{PrivacyMaskSettings-BE-h6w7X.js → PrivacyMaskSettings-BpKQjnTN.js} +1 -1
- package/dist/assets/{Recordings-wz9ii-_u.js → Recordings-BDIDg5W6.js} +1 -1
- package/dist/assets/{SceneMonitorEditor-CTjHnPpY.js → SceneMonitorEditor-B4x-j-jS.js} +1 -1
- package/dist/assets/{SessionsList-BP2c6K1Q.js → SessionsList-Bf6Abb3S.js} +1 -1
- package/dist/assets/{Showroom-DQPrHXfR.js → Showroom-BhyCOwGI.js} +1 -1
- package/dist/assets/{StorageLocationsTable-CsmMr8wO.js → StorageLocationsTable-4_DOpVA_.js} +1 -1
- package/dist/assets/{System-CnnnTIRP.js → System-DQLuaJZ4.js} +1 -1
- package/dist/assets/{Terminal-BQvfsb_T.js → Terminal-BPZfBJ19.js} +1 -1
- package/dist/assets/{TrainingProviders-Dy9Z8KUl.js → TrainingProviders-Sb4yaWHO.js} +1 -1
- package/dist/assets/{Viewer-C32w1mRT.js → Viewer-zk7q16mM.js} +1 -1
- package/dist/assets/{_virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-CQD2cxmc.js → _virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-NUohwQsx.js} +1 -1
- package/dist/assets/{action-draft-DYPXor4T.js → action-draft-DwvVnv-7.js} +1 -1
- package/dist/assets/{ai-page.helpers--SV9pSXS.js → ai-page.helpers-C7D3n8iP.js} +1 -1
- package/dist/assets/{assignment-candidates-B6UTjIxv.js → assignment-candidates-CQzBruHK.js} +1 -1
- package/dist/assets/{authed-media-DnctiLpD.js → authed-media-CdhEKUeH.js} +1 -1
- package/dist/assets/{board-model-DJiRVoCF.js → board-model-8UGMkm1I.js} +1 -1
- package/dist/assets/client-CBrsD14Q.js +1119 -0
- package/dist/assets/{command-vocab-CgGuOUW5.js → command-vocab-DPH9ECZa.js} +1 -1
- package/dist/assets/{device-detail-DNlf02Nb.js → device-detail-ZWsVTFVe.js} +1 -1
- package/dist/assets/{device-integration-icon-bh1Yik4P.js → device-integration-icon-D5moECYy.js} +1 -1
- package/dist/assets/device-picker-model-DugCLTjl.js +1 -0
- package/dist/assets/dist-Ch4acd_Z.js +1119 -0
- package/dist/assets/{dist-DSa_qu9n.js → dist-EQkuFJsn.js} +1 -1
- package/dist/assets/{format-BJ-r5P2c.js → format-CX-wK907.js} +1 -1
- package/dist/assets/{hostInit-4Natw9gd.js → hostInit-BwafpPpx.js} +1 -1
- package/dist/assets/i18n-BFxrpjSx.js +1 -0
- package/dist/assets/{icons-BbfFVZ5r.js → icons-2Ody3esI.js} +1 -1
- package/dist/assets/index-CcsmeMTw.css +2 -0
- package/dist/assets/{index-BacJRiQn.js → index-DqWOkhIM.js} +3 -3
- package/dist/assets/{linked-devices-model-1w0cHe7b.js → linked-devices-model-BzwIpwEe.js} +1 -1
- package/dist/assets/{mf-entry-bootstrap-0-782deff9.js → mf-entry-bootstrap-0-bdd51718.js} +2 -2
- package/dist/assets/mount-DugCLTjl.js +1 -0
- package/dist/assets/{notification-rule-status-BUkTPXSv.js → notification-rule-status-B61HDyRa.js} +1 -1
- package/dist/assets/{player-overlays-DK7RQw-O.js → player-overlays-VrMHBBfa.js} +1 -1
- package/dist/assets/remoteEntry-CKvAmLfb.js +1 -0
- package/dist/assets/src-PRnJiArs.js +279 -0
- package/dist/assets/{sso-popup-CWTydSPD.js → sso-popup-FSdroU2W.js} +1 -1
- package/dist/assets/{step-inspector-model-CS8dmyEs.js → step-inspector-model-rUzV_fx8.js} +1 -1
- package/dist/assets/{use-scenes-feed-DKSAMtkB.js → use-scenes-feed-CbvzDtoS.js} +1 -1
- package/dist/assets/{use-stationary-objects-Bzwbh4br.js → use-stationary-objects-BQoGLS7G.js} +1 -1
- package/dist/assets/{useAdminDeviceRemoval-DVXNvRT6.js → useAdminDeviceRemoval-BIpZCMvj.js} +1 -1
- package/dist/assets/useEventInvalidation-DugCLTjl.js +1 -0
- package/dist/assets/{useNodeUrlSelection-CRetTLtS.js → useNodeUrlSelection-CLpo7d-J.js} +1 -1
- package/dist/assets/useTemplateSave-MOGGKDgw.js +1 -0
- package/dist/assets/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-D2oRXG2E.js → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-DuSFc1uR.js} +2 -2
- package/dist/index.html +9 -9
- package/dist/server/addon.js +374 -19
- package/package.json +2 -2
- package/dist/assets/Build-Gofhoe3j.js +0 -42
- package/dist/assets/CompositionBlockEditor-CMjymUtx.js +0 -2
- package/dist/assets/DeviceDetail-Bh2Z2j1s.js +0 -2
- package/dist/assets/Library-CjCs6KtF.js +0 -1
- package/dist/assets/Notifications-wd30LkHE.js +0 -1
- package/dist/assets/client-wrRG10y-.js +0 -1119
- package/dist/assets/device-picker-model-CD_LvGfG.js +0 -1
- package/dist/assets/dist-CLrVSBms.js +0 -1119
- package/dist/assets/i18n-CFTpf5AU.js +0 -1
- package/dist/assets/index-B77jgDOr.css +0 -2
- package/dist/assets/mount-CD_LvGfG.js +0 -1
- package/dist/assets/remoteEntry-BN-AjEjY.js +0 -1
- package/dist/assets/src-D_J1QIkp.js +0 -275
- package/dist/assets/useEventInvalidation-CD_LvGfG.js +0 -1
- package/dist/assets/useTemplateSave-3fmevCGo.js +0 -1
package/dist/index.html
CHANGED
|
@@ -150,19 +150,19 @@
|
|
|
150
150
|
})
|
|
151
151
|
})()
|
|
152
152
|
</script>
|
|
153
|
-
<script type="module" crossorigin src="./assets/mf-entry-bootstrap-0-
|
|
153
|
+
<script type="module" crossorigin src="./assets/mf-entry-bootstrap-0-bdd51718.js"></script>
|
|
154
154
|
<link rel="modulepreload" crossorigin href="./assets/chevron-down-CBb-F8DT.js">
|
|
155
155
|
<link rel="modulepreload" crossorigin href="./assets/__vite-browser-external-B6QEsNSJ.js">
|
|
156
|
-
<link rel="modulepreload" crossorigin href="./assets/client-
|
|
157
|
-
<link rel="modulepreload" crossorigin href="./assets/player-overlays-
|
|
158
|
-
<link rel="modulepreload" crossorigin href="./assets/src-
|
|
156
|
+
<link rel="modulepreload" crossorigin href="./assets/client-CBrsD14Q.js">
|
|
157
|
+
<link rel="modulepreload" crossorigin href="./assets/player-overlays-VrMHBBfa.js">
|
|
158
|
+
<link rel="modulepreload" crossorigin href="./assets/src-PRnJiArs.js">
|
|
159
159
|
<link rel="modulepreload" crossorigin href="./assets/useTranslation-BJr-n0es.js">
|
|
160
|
-
<link rel="modulepreload" crossorigin href="./assets/i18n-
|
|
160
|
+
<link rel="modulepreload" crossorigin href="./assets/i18n-BFxrpjSx.js">
|
|
161
161
|
<link rel="modulepreload" crossorigin href="./assets/terminal-DU-tvcEm.js">
|
|
162
|
-
<link rel="modulepreload" crossorigin href="./assets/mount-
|
|
163
|
-
<link rel="modulepreload" crossorigin href="./assets/sso-popup-
|
|
164
|
-
<link rel="stylesheet" crossorigin href="./assets/index-
|
|
165
|
-
<link rel="modulepreload" crossorigin href="./assets/hostInit-
|
|
162
|
+
<link rel="modulepreload" crossorigin href="./assets/mount-DugCLTjl.js">
|
|
163
|
+
<link rel="modulepreload" crossorigin href="./assets/sso-popup-FSdroU2W.js">
|
|
164
|
+
<link rel="stylesheet" crossorigin href="./assets/index-CcsmeMTw.css">
|
|
165
|
+
<link rel="modulepreload" crossorigin href="./assets/hostInit-BwafpPpx.js"><link rel="modulepreload" crossorigin href="./assets/index-DqWOkhIM.js"><link rel="modulepreload" crossorigin href="./assets/remoteEntry-CKvAmLfb.js"><link rel="modulepreload" crossorigin href="./assets/_virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-NUohwQsx.js"><link rel="modulepreload" crossorigin href="./assets/_virtual_mf___mfe_internal__admin_ui_host__loadShare___mf_0_tanstack_mf_1_react_mf_2_query__loadShare__.js-CEyXHAdg.js"><link rel="modulepreload" crossorigin href="./assets/_virtual_mf___mfe_internal__admin_ui_host__loadShare___mf_0_trpc_mf_1_client__loadShare__.js-8kv6pj9W.js"><link rel="modulepreload" crossorigin href="./assets/_virtual_mf___mfe_internal__admin_ui_host__loadShare___mf_0_trpc_mf_1_react_mf_2_query__loadShare__.js-DzoL8nR8.js"><link rel="modulepreload" crossorigin href="./assets/_virtual_mf___mfe_internal__admin_ui_host__loadShare__react_mf_2_dom__loadShare__.js-BPba2g2p.js"><link rel="modulepreload" crossorigin href="./assets/_virtual_mf___mfe_internal__admin_ui_host__loadShare__react_mf_2_dom_mf_1_client__loadShare__.js-ZBKFTPET.js"></head>
|
|
166
166
|
<body>
|
|
167
167
|
<div id="root"></div>
|
|
168
168
|
<!-- Lock the app shell at 1x zoom. iOS Safari ignores `user-scalable=no`
|
package/dist/server/addon.js
CHANGED
|
@@ -824,7 +824,7 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
824
824
|
return EventCategory;
|
|
825
825
|
}({});
|
|
826
826
|
//#endregion
|
|
827
|
-
//#region ../types/dist/composed-stable-id-
|
|
827
|
+
//#region ../types/dist/composed-stable-id-RvQIEpqg.mjs
|
|
828
828
|
/**
|
|
829
829
|
import { errMsg } from '@camstack/types'
|
|
830
830
|
* Extract a human-readable message from an unknown error value.
|
|
@@ -906,6 +906,9 @@ var DeviceType = /* @__PURE__ */ function(DeviceType) {
|
|
|
906
906
|
/** Weather provider (HA `weather.*`). Tier-3, low MVP priority.
|
|
907
907
|
* `weather` cap. */
|
|
908
908
|
DeviceType["Weather"] = "weather";
|
|
909
|
+
/** A physical weather station (Ecowitt outdoor array). `weather-station`
|
|
910
|
+
* cap. Distinct from {@link Weather}, which is a forecast provider. */
|
|
911
|
+
DeviceType["WeatherStation"] = "weather-station";
|
|
909
912
|
/** Robot vacuum (HA `vacuum.*`). Tier-3. `vacuum-control` cap. */
|
|
910
913
|
DeviceType["Vacuum"] = "vacuum";
|
|
911
914
|
/** Robotic lawn mower (HA `lawn_mower.*`). Tier-3.
|
|
@@ -5940,7 +5943,7 @@ var ZodIssueCode = {
|
|
|
5940
5943
|
var ZodFirstPartyTypeKind;
|
|
5941
5944
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5942
5945
|
//#endregion
|
|
5943
|
-
//#region ../types/dist/sleep-
|
|
5946
|
+
//#region ../types/dist/sleep-BnR9qGOv.mjs
|
|
5944
5947
|
/**
|
|
5945
5948
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5946
5949
|
* window to float samples (D455).
|
|
@@ -17732,6 +17735,183 @@ var CAP_VOCABULARY_BY_NAME = {
|
|
|
17732
17735
|
}
|
|
17733
17736
|
]
|
|
17734
17737
|
},
|
|
17738
|
+
"weather-station": {
|
|
17739
|
+
scope: "device",
|
|
17740
|
+
noun: {
|
|
17741
|
+
en: "Weather station",
|
|
17742
|
+
it: "Stazione meteo"
|
|
17743
|
+
},
|
|
17744
|
+
state: [
|
|
17745
|
+
{
|
|
17746
|
+
kind: "numeric",
|
|
17747
|
+
field: "temperature",
|
|
17748
|
+
quantity: {
|
|
17749
|
+
en: "the outdoor temperature",
|
|
17750
|
+
it: "la temperatura esterna"
|
|
17751
|
+
},
|
|
17752
|
+
label: {
|
|
17753
|
+
en: "Temperature",
|
|
17754
|
+
it: "Temperatura"
|
|
17755
|
+
},
|
|
17756
|
+
unit: "°C",
|
|
17757
|
+
icon: "thermometer"
|
|
17758
|
+
},
|
|
17759
|
+
{
|
|
17760
|
+
kind: "numeric",
|
|
17761
|
+
field: "humidity",
|
|
17762
|
+
quantity: {
|
|
17763
|
+
en: "the outdoor humidity",
|
|
17764
|
+
it: "l’umidità esterna"
|
|
17765
|
+
},
|
|
17766
|
+
label: {
|
|
17767
|
+
en: "Humidity",
|
|
17768
|
+
it: "Umidità"
|
|
17769
|
+
},
|
|
17770
|
+
unit: "%",
|
|
17771
|
+
icon: "droplets"
|
|
17772
|
+
},
|
|
17773
|
+
{
|
|
17774
|
+
kind: "numeric",
|
|
17775
|
+
field: "pressure",
|
|
17776
|
+
quantity: {
|
|
17777
|
+
en: "the air pressure",
|
|
17778
|
+
it: "la pressione atmosferica"
|
|
17779
|
+
},
|
|
17780
|
+
label: {
|
|
17781
|
+
en: "Pressure",
|
|
17782
|
+
it: "Pressione"
|
|
17783
|
+
},
|
|
17784
|
+
unit: "hPa",
|
|
17785
|
+
icon: "gauge"
|
|
17786
|
+
},
|
|
17787
|
+
{
|
|
17788
|
+
kind: "numeric",
|
|
17789
|
+
field: "windSpeed",
|
|
17790
|
+
quantity: {
|
|
17791
|
+
en: "the wind speed",
|
|
17792
|
+
it: "la velocità del vento"
|
|
17793
|
+
},
|
|
17794
|
+
label: {
|
|
17795
|
+
en: "Wind",
|
|
17796
|
+
it: "Vento"
|
|
17797
|
+
},
|
|
17798
|
+
unit: "m/s",
|
|
17799
|
+
icon: "wind"
|
|
17800
|
+
},
|
|
17801
|
+
{
|
|
17802
|
+
kind: "numeric",
|
|
17803
|
+
field: "windGust",
|
|
17804
|
+
quantity: {
|
|
17805
|
+
en: "the wind gust",
|
|
17806
|
+
it: "la raffica di vento"
|
|
17807
|
+
},
|
|
17808
|
+
label: {
|
|
17809
|
+
en: "Gust",
|
|
17810
|
+
it: "Raffica"
|
|
17811
|
+
},
|
|
17812
|
+
unit: "m/s",
|
|
17813
|
+
icon: "wind"
|
|
17814
|
+
},
|
|
17815
|
+
{
|
|
17816
|
+
kind: "numeric",
|
|
17817
|
+
field: "windBearing",
|
|
17818
|
+
quantity: {
|
|
17819
|
+
en: "the wind bearing",
|
|
17820
|
+
it: "la direzione del vento"
|
|
17821
|
+
},
|
|
17822
|
+
label: {
|
|
17823
|
+
en: "Wind bearing",
|
|
17824
|
+
it: "Direzione del vento"
|
|
17825
|
+
},
|
|
17826
|
+
unit: "°",
|
|
17827
|
+
icon: "wind"
|
|
17828
|
+
},
|
|
17829
|
+
{
|
|
17830
|
+
kind: "numeric",
|
|
17831
|
+
field: "rainRate",
|
|
17832
|
+
quantity: {
|
|
17833
|
+
en: "the rain rate",
|
|
17834
|
+
it: "l’intensità della pioggia"
|
|
17835
|
+
},
|
|
17836
|
+
label: {
|
|
17837
|
+
en: "Rain rate",
|
|
17838
|
+
it: "Intensità pioggia"
|
|
17839
|
+
},
|
|
17840
|
+
unit: "mm/h",
|
|
17841
|
+
icon: "droplets"
|
|
17842
|
+
},
|
|
17843
|
+
{
|
|
17844
|
+
kind: "numeric",
|
|
17845
|
+
field: "rainDaily",
|
|
17846
|
+
quantity: {
|
|
17847
|
+
en: "the rain today",
|
|
17848
|
+
it: "la pioggia di oggi"
|
|
17849
|
+
},
|
|
17850
|
+
label: {
|
|
17851
|
+
en: "Rain today",
|
|
17852
|
+
it: "Pioggia oggi"
|
|
17853
|
+
},
|
|
17854
|
+
unit: "mm",
|
|
17855
|
+
icon: "droplets"
|
|
17856
|
+
},
|
|
17857
|
+
{
|
|
17858
|
+
kind: "numeric",
|
|
17859
|
+
field: "rainEvent",
|
|
17860
|
+
quantity: {
|
|
17861
|
+
en: "the rain this event",
|
|
17862
|
+
it: "la pioggia di questo evento"
|
|
17863
|
+
},
|
|
17864
|
+
label: {
|
|
17865
|
+
en: "Rain event",
|
|
17866
|
+
it: "Evento di pioggia"
|
|
17867
|
+
},
|
|
17868
|
+
unit: "mm",
|
|
17869
|
+
icon: "droplets"
|
|
17870
|
+
},
|
|
17871
|
+
{
|
|
17872
|
+
kind: "numeric",
|
|
17873
|
+
field: "uv",
|
|
17874
|
+
quantity: {
|
|
17875
|
+
en: "the UV index",
|
|
17876
|
+
it: "l’indice UV"
|
|
17877
|
+
},
|
|
17878
|
+
label: {
|
|
17879
|
+
en: "UV",
|
|
17880
|
+
it: "UV"
|
|
17881
|
+
},
|
|
17882
|
+
unit: "",
|
|
17883
|
+
icon: "cloud-sun"
|
|
17884
|
+
},
|
|
17885
|
+
{
|
|
17886
|
+
kind: "numeric",
|
|
17887
|
+
field: "solarRadiation",
|
|
17888
|
+
quantity: {
|
|
17889
|
+
en: "the solar radiation",
|
|
17890
|
+
it: "la radiazione solare"
|
|
17891
|
+
},
|
|
17892
|
+
label: {
|
|
17893
|
+
en: "Solar",
|
|
17894
|
+
it: "Sole"
|
|
17895
|
+
},
|
|
17896
|
+
unit: "W/m²",
|
|
17897
|
+
icon: "cloud-sun"
|
|
17898
|
+
},
|
|
17899
|
+
{
|
|
17900
|
+
kind: "numeric",
|
|
17901
|
+
field: "dewPoint",
|
|
17902
|
+
quantity: {
|
|
17903
|
+
en: "the dew point",
|
|
17904
|
+
it: "il punto di rugiada"
|
|
17905
|
+
},
|
|
17906
|
+
label: {
|
|
17907
|
+
en: "Dew point",
|
|
17908
|
+
it: "Punto di rugiada"
|
|
17909
|
+
},
|
|
17910
|
+
unit: "°C",
|
|
17911
|
+
icon: "thermometer"
|
|
17912
|
+
}
|
|
17913
|
+
]
|
|
17914
|
+
},
|
|
17735
17915
|
"battery": {
|
|
17736
17916
|
scope: "device",
|
|
17737
17917
|
noun: {
|
|
@@ -17956,6 +18136,30 @@ var CAP_VOCABULARY_BY_NAME = {
|
|
|
17956
18136
|
icon: "wifi-off"
|
|
17957
18137
|
}]
|
|
17958
18138
|
},
|
|
18139
|
+
"error": {
|
|
18140
|
+
scope: "device",
|
|
18141
|
+
noun: {
|
|
18142
|
+
en: "Fault",
|
|
18143
|
+
it: "Guasto"
|
|
18144
|
+
},
|
|
18145
|
+
state: [{
|
|
18146
|
+
kind: "boolean",
|
|
18147
|
+
field: "active",
|
|
18148
|
+
label: {
|
|
18149
|
+
en: "Fault",
|
|
18150
|
+
it: "Guasto"
|
|
18151
|
+
},
|
|
18152
|
+
whenTrue: {
|
|
18153
|
+
en: "When {device} reports a fault",
|
|
18154
|
+
it: "Quando {device} segnala un guasto"
|
|
18155
|
+
},
|
|
18156
|
+
whenFalse: {
|
|
18157
|
+
en: "When the fault of {device} clears",
|
|
18158
|
+
it: "Quando il guasto di {device} si risolve"
|
|
18159
|
+
},
|
|
18160
|
+
icon: "triangle-alert"
|
|
18161
|
+
}]
|
|
18162
|
+
},
|
|
17959
18163
|
"doorbell": {
|
|
17960
18164
|
scope: "device",
|
|
17961
18165
|
noun: {
|
|
@@ -18665,6 +18869,7 @@ var CAP_NAMES = Object.freeze([
|
|
|
18665
18869
|
"embedding-encoder",
|
|
18666
18870
|
"energy-system",
|
|
18667
18871
|
"enum-sensor",
|
|
18872
|
+
"error",
|
|
18668
18873
|
"event-emitter",
|
|
18669
18874
|
"face-gallery",
|
|
18670
18875
|
"failure-contribution",
|
|
@@ -18795,6 +19000,7 @@ var CAP_NAMES = Object.freeze([
|
|
|
18795
19000
|
"viewer-ui",
|
|
18796
19001
|
"water-heater",
|
|
18797
19002
|
"weather",
|
|
19003
|
+
"weather-station",
|
|
18798
19004
|
"webrtc-session",
|
|
18799
19005
|
"zone-analytics",
|
|
18800
19006
|
"zone-rules",
|
|
@@ -19554,6 +19760,29 @@ Object.freeze({
|
|
|
19554
19760
|
"path": "timestamp",
|
|
19555
19761
|
"valueType": "boolean"
|
|
19556
19762
|
}],
|
|
19763
|
+
"error": [
|
|
19764
|
+
{
|
|
19765
|
+
"path": "active",
|
|
19766
|
+
"valueType": "boolean"
|
|
19767
|
+
},
|
|
19768
|
+
{
|
|
19769
|
+
"path": "code",
|
|
19770
|
+
"valueType": "string"
|
|
19771
|
+
},
|
|
19772
|
+
{
|
|
19773
|
+
"path": "label",
|
|
19774
|
+
"valueType": "string"
|
|
19775
|
+
},
|
|
19776
|
+
{
|
|
19777
|
+
"path": "severity",
|
|
19778
|
+
"valueType": "enum",
|
|
19779
|
+
"enumValues": ["warning", "error"]
|
|
19780
|
+
},
|
|
19781
|
+
{
|
|
19782
|
+
"path": "since",
|
|
19783
|
+
"valueType": "number"
|
|
19784
|
+
}
|
|
19785
|
+
],
|
|
19557
19786
|
"event-emitter": [
|
|
19558
19787
|
{
|
|
19559
19788
|
"path": "lastEvent.deviceId",
|
|
@@ -20773,6 +21002,56 @@ Object.freeze({
|
|
|
20773
21002
|
"valueType": "number"
|
|
20774
21003
|
}
|
|
20775
21004
|
],
|
|
21005
|
+
"weather-station": [
|
|
21006
|
+
{
|
|
21007
|
+
"path": "temperature",
|
|
21008
|
+
"valueType": "number"
|
|
21009
|
+
},
|
|
21010
|
+
{
|
|
21011
|
+
"path": "humidity",
|
|
21012
|
+
"valueType": "number"
|
|
21013
|
+
},
|
|
21014
|
+
{
|
|
21015
|
+
"path": "pressure",
|
|
21016
|
+
"valueType": "number"
|
|
21017
|
+
},
|
|
21018
|
+
{
|
|
21019
|
+
"path": "windSpeed",
|
|
21020
|
+
"valueType": "number"
|
|
21021
|
+
},
|
|
21022
|
+
{
|
|
21023
|
+
"path": "windGust",
|
|
21024
|
+
"valueType": "number"
|
|
21025
|
+
},
|
|
21026
|
+
{
|
|
21027
|
+
"path": "windBearing",
|
|
21028
|
+
"valueType": "number"
|
|
21029
|
+
},
|
|
21030
|
+
{
|
|
21031
|
+
"path": "rainRate",
|
|
21032
|
+
"valueType": "number"
|
|
21033
|
+
},
|
|
21034
|
+
{
|
|
21035
|
+
"path": "rainDaily",
|
|
21036
|
+
"valueType": "number"
|
|
21037
|
+
},
|
|
21038
|
+
{
|
|
21039
|
+
"path": "rainEvent",
|
|
21040
|
+
"valueType": "number"
|
|
21041
|
+
},
|
|
21042
|
+
{
|
|
21043
|
+
"path": "uv",
|
|
21044
|
+
"valueType": "number"
|
|
21045
|
+
},
|
|
21046
|
+
{
|
|
21047
|
+
"path": "solarRadiation",
|
|
21048
|
+
"valueType": "number"
|
|
21049
|
+
},
|
|
21050
|
+
{
|
|
21051
|
+
"path": "dewPoint",
|
|
21052
|
+
"valueType": "number"
|
|
21053
|
+
}
|
|
21054
|
+
],
|
|
20776
21055
|
"zone-analytics": [
|
|
20777
21056
|
{
|
|
20778
21057
|
"path": "ts",
|
|
@@ -20865,7 +21144,7 @@ Object.freeze({
|
|
|
20865
21144
|
}
|
|
20866
21145
|
});
|
|
20867
21146
|
//#endregion
|
|
20868
|
-
//#region ../types/dist/implemented-methods-
|
|
21147
|
+
//#region ../types/dist/implemented-methods-C5FMXLGP.mjs
|
|
20869
21148
|
/**
|
|
20870
21149
|
* The ffmpeg build every CamStack node downloads, per platform and arch.
|
|
20871
21150
|
*
|
|
@@ -54930,7 +55209,7 @@ DeviceType.MediaPlayer, optionalMethod(deviceOnly, _void(), {
|
|
|
54930
55209
|
}]
|
|
54931
55210
|
}]
|
|
54932
55211
|
});
|
|
54933
|
-
DeviceType.Camera, DeviceType.Sensor, DeviceType.Button, DeviceType.Switch, DeviceType.PetFeeder, DeviceType.Container, DeviceType.Climate, DeviceType.EventEmitter, DeviceType.Climate, DeviceType.Climate, DeviceType.Camera, DeviceType.Light, DeviceType.Siren, DeviceType.Switch, DeviceType.Sensor, 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.PetFountain, DeviceType.Dishwasher, DeviceType.Washer, DeviceType.Dryer, DeviceType.Gateway, DeviceType.HeatPump, DeviceType.EnergySystem, DeviceType.Camera, DeviceType.Fan, DeviceType.Fan, DeviceType.Fan, DeviceType.Fan, DeviceType.Fan, DeviceType.Fan, DeviceType.Fan, DeviceType.Fan, DeviceType.Fan, DeviceType.Fan, DeviceType.Lock, DeviceType.Camera, DeviceType.Switch, DeviceType.Light, DeviceType.Fan, DeviceType.Climate, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.MediaPlayer, DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.PetFeeder, DeviceType.Switch, DeviceType.Light, DeviceType.Fan, DeviceType.Climate, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.MediaPlayer, DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.PetFeeder, DeviceType.Switch, DeviceType.Light, DeviceType.Fan, DeviceType.Climate, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.MediaPlayer, DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.PetFeeder, DeviceType.Switch, DeviceType.Light, DeviceType.Fan, DeviceType.Climate, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.MediaPlayer, DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.PetFeeder, DeviceType.Gateway, DeviceType.Camera, DeviceType.Sensor, DeviceType.MediaPlayer, DeviceType.Vacuum, DeviceType.Generic, DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher, DeviceType.PetFountain, DeviceType.Fan, DeviceType.Humidifier, DeviceType.Climate, DeviceType.WaterHeater, DeviceType.MediaPlayer, DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.MediaPlayer, DeviceType.WaterHeater, DeviceType.Humidifier, DeviceType.Fan, DeviceType.Climate, DeviceType.PetFeeder, DeviceType.MediaPlayer;
|
|
55212
|
+
DeviceType.Camera, DeviceType.Sensor, DeviceType.Button, DeviceType.Switch, DeviceType.PetFeeder, DeviceType.Container, DeviceType.Climate, DeviceType.EventEmitter, DeviceType.Climate, DeviceType.Climate, DeviceType.Camera, DeviceType.Light, DeviceType.Siren, DeviceType.Switch, DeviceType.Sensor, 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.WeatherStation, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.Container, DeviceType.Image, DeviceType.PetFeeder, DeviceType.PetFountain, DeviceType.Dishwasher, DeviceType.Washer, DeviceType.Dryer, DeviceType.Gateway, DeviceType.HeatPump, DeviceType.EnergySystem, DeviceType.Camera, DeviceType.Fan, DeviceType.Fan, DeviceType.Fan, DeviceType.Fan, DeviceType.Fan, DeviceType.Fan, DeviceType.Fan, DeviceType.Fan, DeviceType.Fan, DeviceType.Fan, DeviceType.Lock, DeviceType.Camera, DeviceType.Switch, DeviceType.Light, DeviceType.Fan, DeviceType.Climate, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.MediaPlayer, DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.PetFeeder, DeviceType.Switch, DeviceType.Light, DeviceType.Fan, DeviceType.Climate, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.MediaPlayer, DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.PetFeeder, DeviceType.Switch, DeviceType.Light, DeviceType.Fan, DeviceType.Climate, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.MediaPlayer, DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.PetFeeder, DeviceType.Switch, DeviceType.Light, DeviceType.Fan, DeviceType.Climate, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.MediaPlayer, DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.PetFeeder, DeviceType.Gateway, DeviceType.Camera, DeviceType.Sensor, DeviceType.MediaPlayer, DeviceType.Vacuum, DeviceType.Generic, DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher, DeviceType.PetFountain, DeviceType.Fan, DeviceType.Humidifier, DeviceType.Climate, DeviceType.WaterHeater, DeviceType.MediaPlayer, DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.MediaPlayer, DeviceType.WaterHeater, DeviceType.Humidifier, DeviceType.Fan, DeviceType.Climate, DeviceType.PetFeeder, DeviceType.MediaPlayer;
|
|
54934
55213
|
var NUMBER = {
|
|
54935
55214
|
kind: "fixed",
|
|
54936
55215
|
result: ["number"]
|
|
@@ -54995,7 +55274,7 @@ var CHANGED = {
|
|
|
54995
55274
|
fieldPath: "lastChangedAt",
|
|
54996
55275
|
expr: "now"
|
|
54997
55276
|
};
|
|
54998
|
-
function numeric(input) {
|
|
55277
|
+
function numeric$1(input) {
|
|
54999
55278
|
const { alsoFrom, ...base } = input;
|
|
55000
55279
|
return {
|
|
55001
55280
|
...base,
|
|
@@ -55030,7 +55309,7 @@ function binary(input) {
|
|
|
55030
55309
|
};
|
|
55031
55310
|
}
|
|
55032
55311
|
var GROUP_TEMPLATES = [
|
|
55033
|
-
numeric({
|
|
55312
|
+
numeric$1({
|
|
55034
55313
|
id: "temperature",
|
|
55035
55314
|
summary: "Mean, median, min, max or sum of temperatures. Offline and unknown members are left out, never read as 0 °C.",
|
|
55036
55315
|
role: DeviceRole.TemperatureSensor,
|
|
@@ -55048,7 +55327,7 @@ var GROUP_TEMPLATES = [
|
|
|
55048
55327
|
}
|
|
55049
55328
|
}
|
|
55050
55329
|
}),
|
|
55051
|
-
numeric({
|
|
55330
|
+
numeric$1({
|
|
55052
55331
|
id: "humidity",
|
|
55053
55332
|
summary: "Humidity in percent. Offline and unknown members are left out, never read as 0 %.",
|
|
55054
55333
|
role: DeviceRole.HumiditySensor,
|
|
@@ -55066,7 +55345,7 @@ var GROUP_TEMPLATES = [
|
|
|
55066
55345
|
}
|
|
55067
55346
|
}
|
|
55068
55347
|
}),
|
|
55069
|
-
numeric({
|
|
55348
|
+
numeric$1({
|
|
55070
55349
|
id: "pressure",
|
|
55071
55350
|
summary: "Pressure in hectopascals. Offline and unknown members are left out, never read as 0 hPa.",
|
|
55072
55351
|
role: DeviceRole.PressureSensor,
|
|
@@ -55077,7 +55356,7 @@ var GROUP_TEMPLATES = [
|
|
|
55077
55356
|
empty: "null",
|
|
55078
55357
|
companions: [NOW$3]
|
|
55079
55358
|
}),
|
|
55080
|
-
numeric({
|
|
55359
|
+
numeric$1({
|
|
55081
55360
|
id: "illuminance",
|
|
55082
55361
|
summary: "Illuminance in lux. Offline and unknown members are left out, never read as 0 lx.",
|
|
55083
55362
|
role: DeviceRole.AmbientLightSensor,
|
|
@@ -55088,7 +55367,7 @@ var GROUP_TEMPLATES = [
|
|
|
55088
55367
|
empty: "null",
|
|
55089
55368
|
companions: [NOW$3]
|
|
55090
55369
|
}),
|
|
55091
|
-
numeric({
|
|
55370
|
+
numeric$1({
|
|
55092
55371
|
id: "power",
|
|
55093
55372
|
summary: "Power in watts, summed by default. Nobody reporting omits the key rather than writing 0 W.",
|
|
55094
55373
|
role: DeviceRole.PowerSensor,
|
|
@@ -55099,7 +55378,7 @@ var GROUP_TEMPLATES = [
|
|
|
55099
55378
|
empty: "omit",
|
|
55100
55379
|
companions: [NOW$3]
|
|
55101
55380
|
}),
|
|
55102
|
-
numeric({
|
|
55381
|
+
numeric$1({
|
|
55103
55382
|
id: "energy",
|
|
55104
55383
|
summary: "Energy in kilowatt-hours, summed by default. Nobody reporting omits the key rather than writing 0 kWh.",
|
|
55105
55384
|
role: DeviceRole.EnergySensor,
|
|
@@ -55110,7 +55389,7 @@ var GROUP_TEMPLATES = [
|
|
|
55110
55389
|
empty: "omit",
|
|
55111
55390
|
companions: [NOW$3]
|
|
55112
55391
|
}),
|
|
55113
|
-
numeric({
|
|
55392
|
+
numeric$1({
|
|
55114
55393
|
id: "battery",
|
|
55115
55394
|
summary: "Battery charge in percent. Offline and unknown members are left out, never read as 0 %.",
|
|
55116
55395
|
role: DeviceRole.BatterySensor,
|
|
@@ -55134,7 +55413,7 @@ var GROUP_TEMPLATES = [
|
|
|
55134
55413
|
}
|
|
55135
55414
|
]
|
|
55136
55415
|
}),
|
|
55137
|
-
numeric({
|
|
55416
|
+
numeric$1({
|
|
55138
55417
|
id: "numeric",
|
|
55139
55418
|
summary: "A numeric reading in the members’ shared quantity. Mixed quantities are refused. Nobody reporting publishes null, not 0.",
|
|
55140
55419
|
role: DeviceRole.NumericSensor,
|
|
@@ -59847,6 +60126,30 @@ var EnumSensorStatusSchema = object({
|
|
|
59847
60126
|
lastFetchedAt: number$1()
|
|
59848
60127
|
});
|
|
59849
60128
|
DeviceType.Sensor;
|
|
60129
|
+
/** How loudly a fault wants the operator. Both tiers raise the attention event. */
|
|
60130
|
+
var DeviceErrorSeveritySchema = _enum(["warning", "error"]);
|
|
60131
|
+
/** One fault of a device that can raise several at once. */
|
|
60132
|
+
var DeviceFaultSchema = object({
|
|
60133
|
+
/** The device's own code, as the vendor names it. */
|
|
60134
|
+
code: string(),
|
|
60135
|
+
/** Already translated by the provider (it owns the vendor vocabulary). */
|
|
60136
|
+
label: string(),
|
|
60137
|
+
severity: DeviceErrorSeveritySchema
|
|
60138
|
+
});
|
|
60139
|
+
object({
|
|
60140
|
+
active: boolean().nullable(),
|
|
60141
|
+
/** The code of the principal fault; `null` when none (or unknown). */
|
|
60142
|
+
code: string().nullable(),
|
|
60143
|
+
/** The principal fault's words, provider-translated; `null` when none. */
|
|
60144
|
+
label: string().nullable(),
|
|
60145
|
+
severity: DeviceErrorSeveritySchema,
|
|
60146
|
+
/** Ms epoch the current fault started; `null` when none or not known. */
|
|
60147
|
+
since: number$1().nullable(),
|
|
60148
|
+
/** Every fault, for a device that raises several. The principal is the first. */
|
|
60149
|
+
faults: array(DeviceFaultSchema).optional(),
|
|
60150
|
+
/** Ms epoch of the last read the provider made of the fault. */
|
|
60151
|
+
lastFetchedAt: number$1()
|
|
60152
|
+
});
|
|
59850
60153
|
var IdentitySchema = object({
|
|
59851
60154
|
id: string(),
|
|
59852
60155
|
name: string(),
|
|
@@ -61821,7 +62124,7 @@ var HeroSceneSchema = object({
|
|
|
61821
62124
|
/** 0..1: volume, cover position, cycle progress. */
|
|
61822
62125
|
level: number$1().min(0).max(1).nullable()
|
|
61823
62126
|
});
|
|
61824
|
-
DeviceType.Camera, DeviceType.Light, DeviceType.Siren, DeviceType.Switch, DeviceType.Sensor, 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.HeatPump, DeviceType.EnergySystem, DeviceType.Fan, DeviceType.MediaPlayer, DeviceType.AlarmPanel, DeviceType.Control, DeviceType.Presence, DeviceType.Weather, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.Container, DeviceType.Image, DeviceType.PetFeeder, DeviceType.PetFountain, DeviceType.Dishwasher, DeviceType.Washer, DeviceType.Dryer, DeviceType.Gateway;
|
|
62127
|
+
DeviceType.Camera, DeviceType.Light, DeviceType.Siren, DeviceType.Switch, DeviceType.Sensor, 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.HeatPump, DeviceType.EnergySystem, DeviceType.Fan, DeviceType.MediaPlayer, DeviceType.AlarmPanel, DeviceType.Control, DeviceType.Presence, DeviceType.Weather, DeviceType.WeatherStation, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.Container, DeviceType.Image, DeviceType.PetFeeder, DeviceType.PetFountain, DeviceType.Dishwasher, DeviceType.Washer, DeviceType.Dryer, DeviceType.Gateway;
|
|
61825
62128
|
DeviceRole.Siren, DeviceRole.Floodlight, DeviceRole.Spotlight, DeviceRole.PirSensor, DeviceRole.Chime, DeviceRole.Autotrack, DeviceRole.Nightvision, DeviceRole.PrivacyMask, DeviceRole.Doorbell, DeviceRole.CoverBlind, DeviceRole.CoverShutter, DeviceRole.CoverAwning, DeviceRole.CoverCurtain, DeviceRole.CoverGarage, DeviceRole.CoverGate, DeviceRole.CoverDoor, DeviceRole.CoverWindow, DeviceRole.BinaryHelper, DeviceRole.Outlet, DeviceRole.SwitchHeater, DeviceRole.SwitchFan, DeviceRole.SwitchLight, DeviceRole.ClimateAc, DeviceRole.ClimateThermostat, DeviceRole.ClimateFloor, DeviceRole.ClimateRadiator, DeviceRole.ClimateHeater, DeviceRole.ClimateHeatPumpCircuit, DeviceRole.MotionSensor, DeviceRole.ContactSensor, DeviceRole.LeakSensor, DeviceRole.SmokeSensor, DeviceRole.COSensor, DeviceRole.GasSensor, DeviceRole.TamperSensor, DeviceRole.VibrationSensor, DeviceRole.ConnectivitySensor, DeviceRole.SoundSensor, DeviceRole.BinarySensor, DeviceRole.TemperatureSensor, DeviceRole.HumiditySensor, DeviceRole.AmbientLightSensor, DeviceRole.PressureSensor, DeviceRole.WindSensor, DeviceRole.RainSensor, DeviceRole.UvSensor, DeviceRole.SolarRadiationSensor, DeviceRole.SoilMoistureSensor, DeviceRole.PowerSensor, DeviceRole.EnergySensor, DeviceRole.VoltageSensor, DeviceRole.CurrentSensor, DeviceRole.AirQualitySensor, DeviceRole.BatterySensor, DeviceRole.NumericSensor, DeviceRole.EnumSensor, DeviceRole.DateTimeSensor, DeviceRole.GenericSensor, DeviceRole.NumericControl, DeviceRole.SelectControl, DeviceRole.TextControl, DeviceRole.DateTimeControl, DeviceRole.MobilePushNotifier, DeviceRole.MessagingNotifier, DeviceRole.EmailNotifier, DeviceRole.GenericNotifier, DeviceRole.IrTransmitter;
|
|
61826
62129
|
var HeroRowIdSchema = _enum([
|
|
61827
62130
|
"progress",
|
|
@@ -85059,6 +85362,23 @@ var WeatherStatusSchema = object({
|
|
|
85059
85362
|
lastFetchedAt: number$1()
|
|
85060
85363
|
});
|
|
85061
85364
|
DeviceType.Weather;
|
|
85365
|
+
var WeatherStationStatusSchema = object({
|
|
85366
|
+
temperature: number$1().nullable().meta(readingMeta("temperature", { precision: 1 })),
|
|
85367
|
+
humidity: number$1().min(0).max(100).nullable().meta(readingMeta("humidity")),
|
|
85368
|
+
pressure: number$1().nullable().meta(readingMeta("pressure")),
|
|
85369
|
+
windSpeed: number$1().nullable().meta(readingMeta("speed")),
|
|
85370
|
+
windGust: number$1().nullable().meta(readingMeta("speed")),
|
|
85371
|
+
windBearing: number$1().nullable().meta(readingMeta("angle")),
|
|
85372
|
+
rainRate: number$1().nullable().meta(readingMeta("precipitation-rate", { precision: 1 })),
|
|
85373
|
+
rainDaily: number$1().nullable().meta(readingMeta("precipitation", { precision: 1 })),
|
|
85374
|
+
rainEvent: number$1().nullable().meta(readingMeta("precipitation", { precision: 1 })),
|
|
85375
|
+
uv: number$1().nullable().meta(readingMeta("index", { precision: 1 })),
|
|
85376
|
+
solarRadiation: number$1().nullable().meta(readingMeta("irradiance")),
|
|
85377
|
+
dewPoint: number$1().nullable().meta(readingMeta("temperature", { precision: 1 }))
|
|
85378
|
+
}).extend({
|
|
85379
|
+
/** Ms epoch of the poll that produced this slice. 0 before the first one. */
|
|
85380
|
+
lastFetchedAt: number$1() });
|
|
85381
|
+
DeviceType.WeatherStation;
|
|
85062
85382
|
/**
|
|
85063
85383
|
* Optional client-side hints sent at session creation to help the provider
|
|
85064
85384
|
* pick the best native source. All fields optional — a viewer that knows
|
|
@@ -86096,7 +86416,7 @@ var AccessoryKind = {
|
|
|
86096
86416
|
};
|
|
86097
86417
|
AccessoryKind.Siren, AccessoryKind.Floodlight, AccessoryKind.Spotlight, AccessoryKind.PirSensor, AccessoryKind.Chime, AccessoryKind.Autotrack, AccessoryKind.Nightvision, AccessoryKind.PrivacyMask;
|
|
86098
86418
|
DeviceType.HeatPump;
|
|
86099
|
-
DeviceType.Cover, DeviceType.Valve, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.HeatPump, DeviceType.EnergySystem, DeviceType.Camera, DeviceType.Switch, DeviceType.Siren, DeviceType.Light, DeviceType.Fan, DeviceType.Sensor, DeviceType.Climate, DeviceType.Button, DeviceType.EventEmitter, DeviceType.Update, DeviceType.Generic, DeviceType.Notifier, DeviceType.Script, DeviceType.Automation, DeviceType.Lock, DeviceType.MediaPlayer, DeviceType.AlarmPanel, DeviceType.Control, DeviceType.Presence, DeviceType.Weather, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.Container, DeviceType.Image, DeviceType.PetFeeder, DeviceType.PetFountain, DeviceType.Dishwasher, DeviceType.Washer, DeviceType.Dryer, DeviceType.Gateway;
|
|
86419
|
+
DeviceType.Cover, DeviceType.Valve, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.HeatPump, DeviceType.EnergySystem, DeviceType.Camera, DeviceType.Switch, DeviceType.Siren, DeviceType.Light, DeviceType.Fan, DeviceType.Sensor, DeviceType.Climate, DeviceType.Button, DeviceType.EventEmitter, DeviceType.Update, DeviceType.Generic, DeviceType.Notifier, DeviceType.Script, DeviceType.Automation, DeviceType.Lock, DeviceType.MediaPlayer, DeviceType.AlarmPanel, DeviceType.Control, DeviceType.Presence, DeviceType.Weather, DeviceType.WeatherStation, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.Container, DeviceType.Image, DeviceType.PetFeeder, DeviceType.PetFountain, DeviceType.Dishwasher, DeviceType.Washer, DeviceType.Dryer, DeviceType.Gateway;
|
|
86100
86420
|
new Set(Object.values(DeviceType));
|
|
86101
86421
|
/** Parses the raw slice with the cap's own schema; `undefined` when it does not parse. */
|
|
86102
86422
|
function contribution(cap, schema, build) {
|
|
@@ -87465,6 +87785,17 @@ var SENSORS_FAMILY_CONTRIBUTIONS = {
|
|
|
87465
87785
|
doorbell: doorbellContribution,
|
|
87466
87786
|
meter: meterContribution,
|
|
87467
87787
|
weather: weatherContribution,
|
|
87788
|
+
"weather-station": contribution("weather-station", WeatherStationStatusSchema, (slice) => {
|
|
87789
|
+
if (slice === void 0 || slice.temperature === null) return { reading: reading("weather", "unknown") };
|
|
87790
|
+
const celsius = `${number(slice.temperature)}°C`;
|
|
87791
|
+
const facts = [fact("reading", "thermometer", t(celsius, celsius), "primary")];
|
|
87792
|
+
if (slice.humidity !== null) facts.push(fact("reading", "droplets", t(`${Math.round(slice.humidity)}%`, `${Math.round(slice.humidity)}%`)));
|
|
87793
|
+
if (slice.windSpeed !== null) facts.push(fact("reading", "wind", t(`${number(slice.windSpeed)} m/s`, `${number(slice.windSpeed)} m/s`)));
|
|
87794
|
+
return {
|
|
87795
|
+
reading: reading("weather", "on", false, t(celsius, celsius)),
|
|
87796
|
+
facts
|
|
87797
|
+
};
|
|
87798
|
+
}),
|
|
87468
87799
|
update: updateContribution,
|
|
87469
87800
|
image: imageContribution,
|
|
87470
87801
|
button: buttonContribution,
|
|
@@ -88141,7 +88472,7 @@ var HEAT_PUMP_FAMILY_CONTRIBUTIONS = { "heat-pump-status": contribution("heat-pu
|
|
|
88141
88472
|
...Object.values(CLIMATE_FAMILY_CONTRIBUTIONS),
|
|
88142
88473
|
...Object.values(HEAT_PUMP_FAMILY_CONTRIBUTIONS)
|
|
88143
88474
|
];
|
|
88144
|
-
DeviceType.Camera, DeviceType.Light, DeviceType.Siren, DeviceType.Switch, DeviceType.Sensor, 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.HeatPump, DeviceType.EnergySystem, DeviceType.Fan, DeviceType.MediaPlayer, DeviceType.AlarmPanel, DeviceType.Control, DeviceType.Presence, DeviceType.Weather, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.Container, DeviceType.Image, DeviceType.PetFeeder, DeviceType.PetFountain, DeviceType.Dishwasher, DeviceType.Washer, DeviceType.Dryer, DeviceType.Gateway;
|
|
88475
|
+
DeviceType.Camera, DeviceType.Light, DeviceType.Siren, DeviceType.Switch, DeviceType.Sensor, 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.HeatPump, DeviceType.EnergySystem, DeviceType.Fan, DeviceType.MediaPlayer, DeviceType.AlarmPanel, DeviceType.Control, DeviceType.Presence, DeviceType.Weather, DeviceType.WeatherStation, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.Container, DeviceType.Image, DeviceType.PetFeeder, DeviceType.PetFountain, DeviceType.Dishwasher, DeviceType.Washer, DeviceType.Dryer, DeviceType.Gateway;
|
|
88145
88476
|
/**
|
|
88146
88477
|
* Who looks like what (D1023). One look per {@link DeviceType}, refined by a
|
|
88147
88478
|
* {@link DeviceRole} where the role changes how the device reads (a leak
|
|
@@ -88785,7 +89116,7 @@ lookOf({
|
|
|
88785
89116
|
standby: MUTED
|
|
88786
89117
|
});
|
|
88787
89118
|
DeviceType.Climate;
|
|
88788
|
-
DeviceType.Camera, DeviceType.Light, DeviceType.Siren, DeviceType.Switch, DeviceType.Sensor, 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.HeatPump, DeviceType.EnergySystem, DeviceType.Fan, DeviceType.MediaPlayer, DeviceType.AlarmPanel, DeviceType.Control, DeviceType.Presence, DeviceType.Weather, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.Container, DeviceType.Image, DeviceType.PetFeeder, DeviceType.PetFountain, DeviceType.Dishwasher, DeviceType.Washer, DeviceType.Dryer, DeviceType.Gateway;
|
|
89119
|
+
DeviceType.Camera, DeviceType.Light, DeviceType.Siren, DeviceType.Switch, DeviceType.Sensor, 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.HeatPump, DeviceType.EnergySystem, DeviceType.Fan, DeviceType.MediaPlayer, DeviceType.AlarmPanel, DeviceType.Control, DeviceType.Presence, DeviceType.Weather, DeviceType.WeatherStation, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.Container, DeviceType.Image, DeviceType.PetFeeder, DeviceType.PetFountain, DeviceType.Dishwasher, DeviceType.Washer, DeviceType.Dryer, DeviceType.Gateway;
|
|
88789
89120
|
DeviceRole.Siren, DeviceRole.Floodlight, DeviceRole.Spotlight, DeviceRole.PirSensor, DeviceRole.Chime, DeviceRole.Autotrack, DeviceRole.Nightvision, DeviceRole.PrivacyMask, DeviceRole.Doorbell, DeviceRole.CoverBlind, DeviceRole.CoverShutter, DeviceRole.CoverAwning, DeviceRole.CoverCurtain, DeviceRole.CoverGarage, DeviceRole.CoverGate, DeviceRole.CoverDoor, DeviceRole.CoverWindow, DeviceRole.BinaryHelper, DeviceRole.Outlet, DeviceRole.SwitchHeater, DeviceRole.SwitchFan, DeviceRole.SwitchLight, DeviceRole.ClimateAc, DeviceRole.ClimateThermostat, DeviceRole.ClimateFloor, DeviceRole.ClimateRadiator, DeviceRole.ClimateHeater, DeviceRole.ClimateHeatPumpCircuit, DeviceRole.MotionSensor, DeviceRole.ContactSensor, DeviceRole.LeakSensor, DeviceRole.SmokeSensor, DeviceRole.COSensor, DeviceRole.GasSensor, DeviceRole.TamperSensor, DeviceRole.VibrationSensor, DeviceRole.ConnectivitySensor, DeviceRole.SoundSensor, DeviceRole.BinarySensor, DeviceRole.TemperatureSensor, DeviceRole.HumiditySensor, DeviceRole.AmbientLightSensor, DeviceRole.PressureSensor, DeviceRole.WindSensor, DeviceRole.RainSensor, DeviceRole.UvSensor, DeviceRole.SolarRadiationSensor, DeviceRole.SoilMoistureSensor, DeviceRole.PowerSensor, DeviceRole.EnergySensor, DeviceRole.VoltageSensor, DeviceRole.CurrentSensor, DeviceRole.AirQualitySensor, DeviceRole.BatterySensor, DeviceRole.NumericSensor, DeviceRole.EnumSensor, DeviceRole.DateTimeSensor, DeviceRole.GenericSensor, DeviceRole.NumericControl, DeviceRole.SelectControl, DeviceRole.TextControl, DeviceRole.DateTimeControl, DeviceRole.MobilePushNotifier, DeviceRole.MessagingNotifier, DeviceRole.EmailNotifier, DeviceRole.GenericNotifier, DeviceRole.IrTransmitter;
|
|
88790
89121
|
Object.freeze({
|
|
88791
89122
|
"accessories.getStatus": {
|
|
@@ -92078,6 +92409,13 @@ Object.freeze({
|
|
|
92078
92409
|
access: "view",
|
|
92079
92410
|
role: "viewer"
|
|
92080
92411
|
},
|
|
92412
|
+
"error.getStatus": {
|
|
92413
|
+
capName: "error",
|
|
92414
|
+
capScope: "device",
|
|
92415
|
+
addonId: null,
|
|
92416
|
+
access: "view",
|
|
92417
|
+
role: "viewer"
|
|
92418
|
+
},
|
|
92081
92419
|
"eventEmitter.getStatus": {
|
|
92082
92420
|
capName: "event-emitter",
|
|
92083
92421
|
capScope: "device",
|
|
@@ -99071,6 +99409,13 @@ Object.freeze({
|
|
|
99071
99409
|
access: "view",
|
|
99072
99410
|
role: "viewer"
|
|
99073
99411
|
},
|
|
99412
|
+
"weatherStation.getStatus": {
|
|
99413
|
+
capName: "weather-station",
|
|
99414
|
+
capScope: "device",
|
|
99415
|
+
addonId: null,
|
|
99416
|
+
access: "view",
|
|
99417
|
+
role: "viewer"
|
|
99418
|
+
},
|
|
99074
99419
|
"webrtcSession.addIceCandidate": {
|
|
99075
99420
|
capName: "webrtc-session",
|
|
99076
99421
|
capScope: "device",
|
|
@@ -99284,7 +99629,7 @@ function offered(received) {
|
|
|
99284
99629
|
};
|
|
99285
99630
|
}
|
|
99286
99631
|
offered(HA_AS), withheld(HOMEKIT_REASON), withheld(ALEXA_REASON), withheld(GOOGLE_REASON), withheld(MATTER_REASON);
|
|
99287
|
-
DeviceType.Camera, DeviceType.Light, DeviceType.Siren, DeviceType.Switch, DeviceType.Sensor, DeviceType.Climate, DeviceType.HeatPump, DeviceType.EnergySystem, 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.PetFountain, DeviceType.Dishwasher, DeviceType.Washer, DeviceType.Dryer, DeviceType.Gateway;
|
|
99632
|
+
DeviceType.Camera, DeviceType.Light, DeviceType.Siren, DeviceType.Switch, DeviceType.Sensor, DeviceType.Climate, DeviceType.HeatPump, DeviceType.EnergySystem, 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.WeatherStation, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.Container, DeviceType.Image, DeviceType.PetFeeder, DeviceType.PetFountain, DeviceType.Dishwasher, DeviceType.Washer, DeviceType.Dryer, DeviceType.Gateway;
|
|
99288
99633
|
DeviceRole.Siren, DeviceRole.Floodlight, DeviceRole.Spotlight, DeviceRole.PirSensor, DeviceRole.Chime, DeviceRole.Autotrack, DeviceRole.Nightvision, DeviceRole.PrivacyMask, DeviceRole.Doorbell, DeviceRole.CoverBlind, DeviceRole.CoverShutter, DeviceRole.CoverAwning, DeviceRole.CoverCurtain, DeviceRole.CoverGarage, DeviceRole.CoverGate, DeviceRole.CoverDoor, DeviceRole.CoverWindow, DeviceRole.BinaryHelper, DeviceRole.Outlet, DeviceRole.SwitchHeater, DeviceRole.SwitchFan, DeviceRole.SwitchLight, DeviceRole.ClimateAc, DeviceRole.ClimateThermostat, DeviceRole.ClimateFloor, DeviceRole.ClimateRadiator, DeviceRole.ClimateHeater, DeviceRole.ClimateHeatPumpCircuit, DeviceRole.MotionSensor, DeviceRole.ContactSensor, DeviceRole.LeakSensor, DeviceRole.SmokeSensor, DeviceRole.COSensor, DeviceRole.GasSensor, DeviceRole.TamperSensor, DeviceRole.VibrationSensor, DeviceRole.ConnectivitySensor, DeviceRole.SoundSensor, DeviceRole.BinarySensor, DeviceRole.TemperatureSensor, DeviceRole.HumiditySensor, DeviceRole.AmbientLightSensor, DeviceRole.PressureSensor, DeviceRole.WindSensor, DeviceRole.RainSensor, DeviceRole.UvSensor, DeviceRole.SolarRadiationSensor, DeviceRole.SoilMoistureSensor, DeviceRole.PowerSensor, DeviceRole.EnergySensor, DeviceRole.VoltageSensor, DeviceRole.CurrentSensor, DeviceRole.AirQualitySensor, DeviceRole.BatterySensor, DeviceRole.NumericSensor, DeviceRole.EnumSensor, DeviceRole.DateTimeSensor, DeviceRole.GenericSensor, DeviceRole.NumericControl, DeviceRole.SelectControl, DeviceRole.TextControl, DeviceRole.DateTimeControl, DeviceRole.MobilePushNotifier, DeviceRole.MessagingNotifier, DeviceRole.EmailNotifier, DeviceRole.GenericNotifier, DeviceRole.IrTransmitter;
|
|
99289
99634
|
new Set(Object.values(DeviceType));
|
|
99290
99635
|
new Set(Object.values(DeviceRole));
|
|
@@ -100272,6 +100617,11 @@ Object.freeze({
|
|
|
100272
100617
|
form: "single",
|
|
100273
100618
|
optional: false
|
|
100274
100619
|
}],
|
|
100620
|
+
"error.getStatus": [{
|
|
100621
|
+
name: "deviceId",
|
|
100622
|
+
form: "single",
|
|
100623
|
+
optional: false
|
|
100624
|
+
}],
|
|
100275
100625
|
"eventEmitter.getStatus": [{
|
|
100276
100626
|
name: "deviceId",
|
|
100277
100627
|
form: "single",
|
|
@@ -102313,6 +102663,11 @@ Object.freeze({
|
|
|
102313
102663
|
form: "single",
|
|
102314
102664
|
optional: false
|
|
102315
102665
|
}],
|
|
102666
|
+
"weatherStation.getStatus": [{
|
|
102667
|
+
name: "deviceId",
|
|
102668
|
+
form: "single",
|
|
102669
|
+
optional: false
|
|
102670
|
+
}],
|
|
102316
102671
|
"webrtcSession.addIceCandidate": [{
|
|
102317
102672
|
name: "deviceId",
|
|
102318
102673
|
form: "single",
|
|
@@ -103854,7 +104209,7 @@ var AdminUIAddon = class extends BaseAddon {
|
|
|
103854
104209
|
capability: adminUiCapability,
|
|
103855
104210
|
provider: {
|
|
103856
104211
|
getStaticDir: async () => ({ staticDir: resolveAdminUiDistDir() }),
|
|
103857
|
-
getVersion: async () => ({ version: "1.2.
|
|
104212
|
+
getVersion: async () => ({ version: "1.2.672" })
|
|
103858
104213
|
}
|
|
103859
104214
|
}];
|
|
103860
104215
|
}
|