@camstack/addon-provider-bosch 0.1.43 → 0.1.45
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/dist/{account-integration-offline-Ctzpu6DI.js → account-integration-offline-BiXbzZsg.js} +65 -122
- package/dist/{account-integration-offline-BrrnCsrl.mjs → account-integration-offline-DAEciV_Q.mjs} +50 -113
- package/dist/{bosch-instances-BtKXLOoG.mjs → bosch-instances-DXID-jMD.mjs} +20264 -16673
- package/dist/{bosch-instances-CppS1lTA.js → bosch-instances-DdklwoKS.js} +20276 -16691
- package/dist/home-connect/addon.js +13 -98
- package/dist/home-connect/addon.mjs +12 -97
- package/dist/homecom/addon.js +569 -151
- package/dist/homecom/addon.mjs +567 -149
- package/dist/shc/addon.js +1 -1
- package/dist/shc/addon.mjs +1 -1
- package/i18n/en.json +19 -4
- package/i18n/it.json +19 -4
- package/package.json +8 -2
package/dist/shc/addon.js
CHANGED
|
@@ -2,7 +2,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
2
2
|
//#region \0rolldown/runtime.js
|
|
3
3
|
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
|
|
4
4
|
//#endregion
|
|
5
|
-
const require_bosch_instances = require("../bosch-instances-
|
|
5
|
+
const require_bosch_instances = require("../bosch-instances-DdklwoKS.js");
|
|
6
6
|
let node_crypto = require("node:crypto");
|
|
7
7
|
let node_https = require("node:https");
|
|
8
8
|
let node_child_process = require("node:child_process");
|
package/dist/shc/addon.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as RecordIntegrationInstances, B as array, D as switchCapability, F as entryBody,
|
|
1
|
+
import { A as RecordIntegrationInstances, B as array, D as switchCapability, F as entryBody, G as string, H as number, M as customAction, N as defineCustomActions, O as temperatureSensorCapability, P as defineEntryKind, R as rowsDepsOver, U as object, V as literal, X as errMsg, Y as DeviceType, Z as EventCategory, a as BaseDevice, d as climateControlCapability, i as testBoschInstance, l as batteryCapability, n as boschRowsPorts, o as BaseDeviceProvider, p as deviceAdoptionCapability, r as keepBodyKeys, t as boschRowsMigration, x as integrationInstancesCapability, y as heatingValveCapability, z as _enum } from "../bosch-instances-DXID-jMD.mjs";
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
3
|
import { randomUUID } from "node:crypto";
|
|
4
4
|
import { request } from "node:https";
|
package/i18n/en.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"bosch-home-connect.name": "Bosch Home Connect",
|
|
4
4
|
"bosch-homecom.name": "Bosch HomeCom",
|
|
5
5
|
"homecom.s_account.title": "HomeCom account",
|
|
6
|
-
"homecom.s_account.description": "Sign in with your SingleKey ID
|
|
6
|
+
"homecom.s_account.description": "Sign in with your SingleKey ID in your own browser, then paste the address the browser stops on.",
|
|
7
7
|
"homecom.s_account.__homecom-sign-in.label": "HomeCom",
|
|
8
8
|
"homecom.s_account.accountLabel.label": "Account",
|
|
9
9
|
"homecom.s_account.gatewayCount.label": "Gateways",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"homecom.s_account.brand.label": "Brand",
|
|
16
16
|
"homecom.s_account.region.label": "Region",
|
|
17
17
|
"home-connect.s_gateway.title": "Home Connect",
|
|
18
|
-
"home-connect.s_gateway.description": "Sign in with your Home Connect account
|
|
18
|
+
"home-connect.s_gateway.description": "Sign in with your Home Connect account in your own browser, then paste the address the browser stops on.",
|
|
19
19
|
"home-connect.s_gateway.__home-connect-sign-in.label": "Home Connect",
|
|
20
20
|
"home-connect.s_gateway.accountLabel.label": "Account",
|
|
21
21
|
"home-connect.s_gateway.appliances.label": "Appliances",
|
|
@@ -32,6 +32,21 @@
|
|
|
32
32
|
"shc.s_connection.token.label": "Controller token",
|
|
33
33
|
"shc.s_connection.sslCertificate.label": "Client certificate (PEM)",
|
|
34
34
|
"shc.s_connection.sslKey.label": "Client private key (PEM)",
|
|
35
|
-
"homecom.s_account.
|
|
36
|
-
"homecom.s_account.
|
|
35
|
+
"homecom.s_account.gatewayId.description": "Filled from the account. Type one only when you need to override the choice.",
|
|
36
|
+
"homecom.s_account.__homecom-guide-open.label": "1. Click “Sign in with SingleKey ID”. The sign-in page opens in a new tab of your own browser (it cannot be shown inside CamStack).",
|
|
37
|
+
"homecom.s_account.__homecom-guide-login.label": "2. Sign in there with your SingleKey ID: email, password and the one-time code if you are asked for one.",
|
|
38
|
+
"homecom.s_account.__homecom-guide-redirect.label": "3. When you finish, the browser tries to open the Bosch app and fails or shows an empty page. That is expected: the address it tried to open is what CamStack needs. It starts with com.bosch.tt.dashtt.pointt://app/login?code=",
|
|
39
|
+
"homecom.s_account.__homecom-guide-chrome.label": "Chrome, Edge, Brave: before you sign in press F12, open Network and tick “Preserve log”. After the failure pick the last request whose address starts with com.bosch.tt.dashtt.pointt://app/login?code= and use right click, Copy, Copy URL (or copy the address from the error line in the Console).",
|
|
40
|
+
"homecom.s_account.__homecom-guide-firefox.label": "Firefox: before you sign in press F12, open Network, open the gear menu and enable “Persist Logs”. After the failure right click the last request, Copy Value, Copy URL.",
|
|
41
|
+
"homecom.s_account.__homecom-guide-safari.label": "Safari: enable the Develop menu (Settings, Advanced), then Develop, Show Web Inspector, Network, and keep “Preserve Log” on. After the failure copy the address of the last request. Safari may also show the address in its “cannot open” message.",
|
|
42
|
+
"homecom.s_account.__homecom-guide-phone.label": "Phone or tablet: the failed address often stays in the address bar; press and hold it to copy. If it does not, repeat the sign-in from a computer.",
|
|
43
|
+
"homecom.s_account.__homecom-guide-paste.label": "4. Paste the whole address (or only the code after “code=”) in the box that appears under the button. The sign-in completes by itself; the code is valid for about ten minutes.",
|
|
44
|
+
"home-connect.s_gateway.__home-connect-guide-open.label": "1. Click “Sign in with Home Connect”. The sign-in page opens in a new tab of your own browser (it cannot be shown inside CamStack).",
|
|
45
|
+
"home-connect.s_gateway.__home-connect-guide-login.label": "2. Sign in there with your SingleKey ID: email, password and the one-time code if you are asked for one.",
|
|
46
|
+
"home-connect.s_gateway.__home-connect-guide-redirect.label": "3. When you finish, the browser tries to open the Bosch app and fails or shows an empty page. That is expected: the address it tried to open is what CamStack needs. It starts with hcauth://auth/prod?code=",
|
|
47
|
+
"home-connect.s_gateway.__home-connect-guide-chrome.label": "Chrome, Edge, Brave: before you sign in press F12, open Network and tick “Preserve log”. After the failure pick the last request whose address starts with hcauth://auth/prod?code= and use right click, Copy, Copy URL (or copy the address from the error line in the Console).",
|
|
48
|
+
"home-connect.s_gateway.__home-connect-guide-firefox.label": "Firefox: before you sign in press F12, open Network, open the gear menu and enable “Persist Logs”. After the failure right click the last request, Copy Value, Copy URL.",
|
|
49
|
+
"home-connect.s_gateway.__home-connect-guide-safari.label": "Safari: enable the Develop menu (Settings, Advanced), then Develop, Show Web Inspector, Network, and keep “Preserve Log” on. After the failure copy the address of the last request. Safari may also show the address in its “cannot open” message.",
|
|
50
|
+
"home-connect.s_gateway.__home-connect-guide-phone.label": "Phone or tablet: the failed address often stays in the address bar; press and hold it to copy. If it does not, repeat the sign-in from a computer.",
|
|
51
|
+
"home-connect.s_gateway.__home-connect-guide-paste.label": "4. Paste the whole address (or only the code after “code=”) in the box that appears under the button. The sign-in completes by itself; the code is valid for about ten minutes."
|
|
37
52
|
}
|
package/i18n/it.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"bosch-home-connect.name": "Bosch Home Connect",
|
|
4
4
|
"bosch-homecom.name": "Bosch HomeCom",
|
|
5
5
|
"homecom.s_account.title": "Account HomeCom",
|
|
6
|
-
"homecom.s_account.description": "Accedi con il tuo SingleKey ID
|
|
6
|
+
"homecom.s_account.description": "Accedi con il tuo SingleKey ID nel tuo browser, poi incolla l'indirizzo su cui il browser si ferma.",
|
|
7
7
|
"homecom.s_account.__homecom-sign-in.label": "HomeCom",
|
|
8
8
|
"homecom.s_account.accountLabel.label": "Account",
|
|
9
9
|
"homecom.s_account.gatewayCount.label": "Gateway",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"homecom.s_account.brand.label": "Marchio",
|
|
16
16
|
"homecom.s_account.region.label": "Regione",
|
|
17
17
|
"home-connect.s_gateway.title": "Home Connect",
|
|
18
|
-
"home-connect.s_gateway.description": "Accedi con il tuo account Home Connect
|
|
18
|
+
"home-connect.s_gateway.description": "Accedi con il tuo account Home Connect nel tuo browser, poi incolla l'indirizzo su cui il browser si ferma.",
|
|
19
19
|
"home-connect.s_gateway.__home-connect-sign-in.label": "Home Connect",
|
|
20
20
|
"home-connect.s_gateway.accountLabel.label": "Account",
|
|
21
21
|
"home-connect.s_gateway.appliances.label": "Elettrodomestici",
|
|
@@ -32,6 +32,21 @@
|
|
|
32
32
|
"shc.s_connection.token.label": "Token del controller",
|
|
33
33
|
"shc.s_connection.sslCertificate.label": "Certificato client (PEM)",
|
|
34
34
|
"shc.s_connection.sslKey.label": "Chiave privata client (PEM)",
|
|
35
|
-
"homecom.s_account.
|
|
36
|
-
"homecom.s_account.
|
|
35
|
+
"homecom.s_account.gatewayId.description": "Compilato dall'account. Scrivilo solo se devi sostituire la scelta.",
|
|
36
|
+
"homecom.s_account.__homecom-guide-open.label": "1. Clicca “Accedi con SingleKey ID”. La pagina di accesso si apre in una nuova scheda del tuo browser (non può essere mostrata dentro CamStack).",
|
|
37
|
+
"homecom.s_account.__homecom-guide-login.label": "2. Accedi lì con il tuo SingleKey ID: email, password e il codice monouso se richiesto.",
|
|
38
|
+
"homecom.s_account.__homecom-guide-redirect.label": "3. Al termine il browser prova ad aprire l'app Bosch e fallisce o mostra una pagina vuota. È normale: l'indirizzo che ha provato ad aprire è quello che serve a CamStack. Inizia con com.bosch.tt.dashtt.pointt://app/login?code=",
|
|
39
|
+
"homecom.s_account.__homecom-guide-chrome.label": "Chrome, Edge, Brave: prima di accedere premi F12, apri Network e spunta “Preserve log”. Dopo il fallimento scegli l'ultima richiesta il cui indirizzo inizia con com.bosch.tt.dashtt.pointt://app/login?code= e usa tasto destro, Copy, Copy URL (oppure copia l'indirizzo dalla riga d'errore nella Console).",
|
|
40
|
+
"homecom.s_account.__homecom-guide-firefox.label": "Firefox: prima di accedere premi F12, apri Network, apri il menu a ingranaggio e attiva “Persist Logs”. Dopo il fallimento fai clic destro sull'ultima richiesta, Copy Value, Copy URL.",
|
|
41
|
+
"homecom.s_account.__homecom-guide-safari.label": "Safari: attiva il menu Sviluppo (Impostazioni, Avanzate), poi Sviluppo, Mostra Web Inspector, Network, e lascia attivo “Preserve Log”. Dopo il fallimento copia l'indirizzo dell'ultima richiesta. Safari può mostrare l'indirizzo anche nel messaggio “impossibile aprire”.",
|
|
42
|
+
"homecom.s_account.__homecom-guide-phone.label": "Telefono o tablet: l'indirizzo che ha fallito spesso resta nella barra degli indirizzi; tienilo premuto per copiarlo. Se non c'è, ripeti l'accesso da un computer.",
|
|
43
|
+
"homecom.s_account.__homecom-guide-paste.label": "4. Incolla l'indirizzo intero (o solo il codice dopo “code=”) nella casella che compare sotto il pulsante. L'accesso si completa da solo; il codice vale circa dieci minuti.",
|
|
44
|
+
"home-connect.s_gateway.__home-connect-guide-open.label": "1. Clicca “Accedi con Home Connect”. La pagina di accesso si apre in una nuova scheda del tuo browser (non può essere mostrata dentro CamStack).",
|
|
45
|
+
"home-connect.s_gateway.__home-connect-guide-login.label": "2. Accedi lì con il tuo SingleKey ID: email, password e il codice monouso se richiesto.",
|
|
46
|
+
"home-connect.s_gateway.__home-connect-guide-redirect.label": "3. Al termine il browser prova ad aprire l'app Bosch e fallisce o mostra una pagina vuota. È normale: l'indirizzo che ha provato ad aprire è quello che serve a CamStack. Inizia con hcauth://auth/prod?code=",
|
|
47
|
+
"home-connect.s_gateway.__home-connect-guide-chrome.label": "Chrome, Edge, Brave: prima di accedere premi F12, apri Network e spunta “Preserve log”. Dopo il fallimento scegli l'ultima richiesta il cui indirizzo inizia con hcauth://auth/prod?code= e usa tasto destro, Copy, Copy URL (oppure copia l'indirizzo dalla riga d'errore nella Console).",
|
|
48
|
+
"home-connect.s_gateway.__home-connect-guide-firefox.label": "Firefox: prima di accedere premi F12, apri Network, apri il menu a ingranaggio e attiva “Persist Logs”. Dopo il fallimento fai clic destro sull'ultima richiesta, Copy Value, Copy URL.",
|
|
49
|
+
"home-connect.s_gateway.__home-connect-guide-safari.label": "Safari: attiva il menu Sviluppo (Impostazioni, Avanzate), poi Sviluppo, Mostra Web Inspector, Network, e lascia attivo “Preserve Log”. Dopo il fallimento copia l'indirizzo dell'ultima richiesta. Safari può mostrare l'indirizzo anche nel messaggio “impossibile aprire”.",
|
|
50
|
+
"home-connect.s_gateway.__home-connect-guide-phone.label": "Telefono o tablet: l'indirizzo che ha fallito spesso resta nella barra degli indirizzi; tienilo premuto per copiarlo. Se non c'è, ripeti l'accesso da un computer.",
|
|
51
|
+
"home-connect.s_gateway.__home-connect-guide-paste.label": "4. Incolla l'indirizzo intero (o solo il codice dopo “code=”) nella casella che compare sotto il pulsante. L'accesso si completa da solo; il codice vale circa dieci minuti."
|
|
37
52
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-bosch",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.45",
|
|
4
4
|
"description": "Bosch smart-home device-provider addons for CamStack — SHC, Home Connect, and HomeCom cloud integrations (scaffold)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|
|
@@ -127,12 +127,18 @@
|
|
|
127
127
|
},
|
|
128
128
|
{
|
|
129
129
|
"name": "water-heater"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"name": "heat-pump-status"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"name": "heat-pump-control"
|
|
130
136
|
}
|
|
131
137
|
]
|
|
132
138
|
}
|
|
133
139
|
],
|
|
134
140
|
"requires": {
|
|
135
|
-
"server": ">=1.2.
|
|
141
|
+
"server": ">=1.2.821"
|
|
136
142
|
}
|
|
137
143
|
},
|
|
138
144
|
"files": [
|