iobroker.eos-admin 9.0.28 → 9.0.30
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/NEXOWATT_EOS_BUILD_INFO.json +12 -12
- package/README.md +9 -9
- package/adminWww/.vite/manifest.json +39 -39
- package/adminWww/NEXOWATT_EOS_FRONTEND_MANIFEST.json +107 -107
- package/adminWww/assets/{AdapterUpdateDialog-DBLX7GoO.js → AdapterUpdateDialog-qC6MANmq.js} +1 -1
- package/adminWww/assets/{Adapters-c250DTTU.js → Adapters-C8quekd0.js} +1 -1
- package/adminWww/assets/{ConfigManager-BBUXk8hZ.js → ConfigManager-hRZCAWRy.js} +1 -1
- package/adminWww/assets/{Enums-CWJJ2zNF.js → Enums-Dd0Z2KfV.js} +1 -1
- package/adminWww/assets/{Fields-CNefAzNH.js → Fields-WfHFtdYw.js} +1 -1
- package/adminWww/assets/{Files-Bf8oZSk6.js → Files-DyG14v5-.js} +1 -1
- package/adminWww/assets/{Hosts-8gg41ODb.js → Hosts-3pSXVMxW.js} +1 -1
- package/adminWww/assets/{Instances-PPTEPJQN.js → Instances-DT6fp_TN.js} +1 -1
- package/adminWww/assets/{Intro-9c_ynpJu.js → Intro-C6pMFhbu.js} +1 -1
- package/adminWww/assets/{Logs-Brgb9kR_.js → Logs-suepwNkZ.js} +1 -1
- package/adminWww/assets/{Objects-DHVNfs_x.js → Objects-CpjVeEjv.js} +1 -1
- package/adminWww/assets/{Overview-CgnpH8e8.js → Overview-CxZJgF7X.js} +1 -1
- package/adminWww/assets/{State-vVobamei.js → State-CUsia7sz.js} +1 -1
- package/adminWww/assets/{UsedResources-1fEUqiQ6.js → UsedResources-C3zr7pM8.js} +1 -1
- package/adminWww/assets/{Users-oRpvFtQR.js → Users-BoBSUBkO.js} +1 -1
- package/adminWww/assets/{bootstrap-st8VxLDc.js → bootstrap-CM9qXoc1.js} +3 -3
- package/adminWww/assets/{hostInit-OQMl4yOT.js → hostInit-BQPg9kSQ.js} +1 -1
- package/adminWww/assets/{icons-material-DeF0gQyK.js → icons-material-CDhwkQ0o.js} +1 -1
- package/adminWww/assets/{index-D4lV2S7J.js → index-BrXN_pu2.js} +2 -2
- package/adminWww/assets/{installSVGRenderer-1WdbDz-H.js → installSVGRenderer-BEgWxsNI.js} +1 -1
- package/adminWww/assets/{mf-entry-bootstrap-0-3b253ab0.js → mf-entry-bootstrap-0-3ef6056c.js} +2 -2
- package/adminWww/index.html +23 -23
- package/adminWww/mf-manifest.json +1 -1
- package/adminWww/mf-stats.json +1 -1
- package/adminWww/remoteEntry-eos-9.0.30.js +12 -0
- package/adminWww/remoteEntry.js +1 -1
- package/build/lib/eosRuntimeControl.js +21 -10
- package/build/lib/eosRuntimeControl.js.map +1 -1
- package/build/lib/eosRuntimeHealth.js +12 -9
- package/build/lib/eosRuntimeHealth.js.map +1 -1
- package/build/lib/eosSplitRuntime.js +61 -0
- package/build/lib/eosSplitRuntime.js.map +1 -0
- package/build/lib/eosTlsHttp.js +25 -0
- package/build/lib/eosTlsHttp.js.map +1 -1
- package/build/lib/eosTlsManager.js +317 -67
- package/build/lib/eosTlsManager.js.map +1 -1
- package/build/lib/eosUiProcess.js +91 -13
- package/build/lib/eosUiProcess.js.map +1 -1
- package/build/lib/eosUiProcessWorker.js +15 -8
- package/build/lib/eosUiProcessWorker.js.map +1 -1
- package/build/lib/web.js +17 -7
- package/build/lib/web.js.map +1 -1
- package/docs/README.md +3 -2
- package/docs/reports/unified-9.0.30/PRUEFBERICHT.md +37 -0
- package/docs/reports/unified-9.0.30/PRUEFERGEBNISSE.json +112 -0
- package/docs/reports/unified-9.0.30/raw/INDEX.json +137 -0
- package/docs/reports/unified-9.0.30/raw/acceptance-node22.log +30 -0
- package/docs/reports/unified-9.0.30/raw/acceptance-node24.log +11 -0
- package/docs/reports/unified-9.0.30/raw/backend.log +5 -0
- package/docs/reports/unified-9.0.30/raw/baseline-10000.json +1 -0
- package/docs/reports/unified-9.0.30/raw/baseline-50000.json +1 -0
- package/docs/reports/unified-9.0.30/raw/candidate-10000.json +1 -0
- package/docs/reports/unified-9.0.30/raw/candidate-50000.json +1 -0
- package/docs/reports/unified-9.0.30/raw/frontend.log +151 -0
- package/docs/reports/unified-9.0.30/raw/installer.log +26 -0
- package/docs/reports/unified-9.0.30/raw/lint.log +5 -0
- package/docs/reports/unified-9.0.30/raw/modules.log +5 -0
- package/docs/reports/unified-9.0.30/raw/node22-profile.json +611 -0
- package/docs/reports/unified-9.0.30/raw/node22-tests-final.log +17170 -0
- package/docs/reports/unified-9.0.30/raw/node22-version.log +1 -0
- package/docs/reports/unified-9.0.30/raw/node24-profile.json +611 -0
- package/docs/reports/unified-9.0.30/raw/node24-tests-final.log +2862 -0
- package/docs/reports/unified-9.0.30/raw/node24-version.log +1 -0
- package/docs/reports/unified-9.0.30/raw/npm-audit-runtime.json +77 -0
- package/docs/reports/unified-9.0.30/raw/profile-combined-node24.log +12 -0
- package/docs/reports/unified-9.0.30/raw/profile-split-node24.log +12 -0
- package/docs/reports/unified-9.0.30/raw/split-lint.log +0 -0
- package/docs/reports/unified-9.0.30/raw/typecheck.log +5 -0
- package/docs/reports/unified-9.0.30/raw/ui-runtime.log +8 -0
- package/docs/start/START_HIER_9.0.30.md +16 -0
- package/docs/unified/ARCHITECTURE.md +18 -12
- package/docs/unified/NEXOWATT_TLS_DE.md +18 -4
- package/io-package.json +12 -12
- package/modules/devices/README.md +1 -1
- package/modules/devices/lib/deviceRuntime.js +18 -14
- package/modules/devices/test/driverLoading.test.js +76 -0
- package/package.json +7 -5
- package/public/eos-runtime/index.js +7 -6
- package/public/eos-tls/index.html +96 -8
- package/public/eos-tls/index.js +194 -41
- package/release-manifests/unified/build-environment.cdx.json +6 -6
- package/release-manifests/unified/files.json +168 -107
- package/release-manifests/unified/frontend.cdx.json +6 -6
- package/release-manifests/unified/installer.cdx.json +6 -6
- package/release-manifests/unified/obsolete-admin-assets.json +214 -6
- package/release-manifests/unified/runtime.cdx.json +27 -27
- package/release-manifests/unified/validation.json +15 -15
- package/tools/eos-release-check.cjs +2 -0
- package/tools/eos-release-manifest.cjs +1 -1
- package/ui/io-package.json +5 -1
- package/ui/lib/datapoint-picker.js +184 -0
- package/ui/lib/eos-presentation-routes.js +61 -0
- package/ui/lib/eos-presentation.js +140 -0
- package/ui/lib/ephemeral-cache.js +7 -4
- package/ui/main.js +5 -302
- package/ui/package.json +1 -1
- package/ui/www/manifest.webmanifest +2 -2
- package/adminWww/remoteEntry-eos-9.0.28.js +0 -12
|
@@ -0,0 +1 @@
|
|
|
1
|
+
v24.22.3
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
{
|
|
2
|
+
"auditReportVersion": 2,
|
|
3
|
+
"vulnerabilities": {
|
|
4
|
+
"ajv": {
|
|
5
|
+
"name": "ajv",
|
|
6
|
+
"severity": "moderate",
|
|
7
|
+
"isDirect": false,
|
|
8
|
+
"via": [
|
|
9
|
+
{
|
|
10
|
+
"source": 1113715,
|
|
11
|
+
"name": "ajv",
|
|
12
|
+
"dependency": "ajv",
|
|
13
|
+
"title": "ajv has ReDoS when using `$data` option",
|
|
14
|
+
"url": "https://github.com/advisories/GHSA-2g4f-4pwh-qvx6",
|
|
15
|
+
"severity": "moderate",
|
|
16
|
+
"cwe": [
|
|
17
|
+
"CWE-400",
|
|
18
|
+
"CWE-1333"
|
|
19
|
+
],
|
|
20
|
+
"cvss": {
|
|
21
|
+
"score": 0,
|
|
22
|
+
"vectorString": null
|
|
23
|
+
},
|
|
24
|
+
"range": ">=7.0.0-alpha.0 <8.18.0"
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"effects": [
|
|
28
|
+
"ocpp-rpc"
|
|
29
|
+
],
|
|
30
|
+
"range": "7.0.0-alpha.0 - 8.17.1",
|
|
31
|
+
"nodes": [
|
|
32
|
+
"node_modules/ocpp-rpc/node_modules/ajv"
|
|
33
|
+
],
|
|
34
|
+
"fixAvailable": {
|
|
35
|
+
"name": "ocpp-rpc",
|
|
36
|
+
"version": "2.1.1",
|
|
37
|
+
"isSemVerMajor": true
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"ocpp-rpc": {
|
|
41
|
+
"name": "ocpp-rpc",
|
|
42
|
+
"severity": "moderate",
|
|
43
|
+
"isDirect": true,
|
|
44
|
+
"via": [
|
|
45
|
+
"ajv"
|
|
46
|
+
],
|
|
47
|
+
"effects": [],
|
|
48
|
+
"range": ">=2.1.2",
|
|
49
|
+
"nodes": [
|
|
50
|
+
"node_modules/ocpp-rpc"
|
|
51
|
+
],
|
|
52
|
+
"fixAvailable": {
|
|
53
|
+
"name": "ocpp-rpc",
|
|
54
|
+
"version": "2.1.1",
|
|
55
|
+
"isSemVerMajor": true
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"metadata": {
|
|
60
|
+
"vulnerabilities": {
|
|
61
|
+
"info": 0,
|
|
62
|
+
"low": 0,
|
|
63
|
+
"moderate": 2,
|
|
64
|
+
"high": 0,
|
|
65
|
+
"critical": 0,
|
|
66
|
+
"total": 2
|
|
67
|
+
},
|
|
68
|
+
"dependencies": {
|
|
69
|
+
"prod": 373,
|
|
70
|
+
"dev": 477,
|
|
71
|
+
"optional": 68,
|
|
72
|
+
"peer": 362,
|
|
73
|
+
"peerOptional": 0,
|
|
74
|
+
"total": 928
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{"version":"tls929","node":"v24.22.3","elapsedSeconds":0,"roles":{"guiEms":{"RssKiB":113620,"PssKiB":99915,"Private_DirtyKiB":83284,"SwapKiB":0}},"childPssKiB":99915,"fixtureParent":{"RssKiB":84720,"PssKiB":71010,"Private_DirtyKiB":56228,"SwapKiB":0},"heartbeat":2}
|
|
2
|
+
{"version":"tls929","node":"v24.22.3","elapsedSeconds":5,"roles":{"guiEms":{"RssKiB":118132,"PssKiB":94779,"Private_DirtyKiB":87608,"SwapKiB":0}},"childPssKiB":94779,"fixtureParent":{"RssKiB":95440,"PssKiB":71483,"Private_DirtyKiB":66856,"SwapKiB":0},"heartbeat":14}
|
|
3
|
+
{"version":"tls929","node":"v24.22.3","elapsedSeconds":10,"roles":{"guiEms":{"RssKiB":122716,"PssKiB":97336,"Private_DirtyKiB":92140,"SwapKiB":0}},"childPssKiB":97336,"fixtureParent":{"RssKiB":102180,"PssKiB":76377,"Private_DirtyKiB":73572,"SwapKiB":0},"heartbeat":26}
|
|
4
|
+
✔ Compare split presentation and EMS worker memory with the prior combined worker (13399.412983ms)
|
|
5
|
+
ℹ tests 1
|
|
6
|
+
ℹ suites 0
|
|
7
|
+
ℹ pass 1
|
|
8
|
+
ℹ fail 0
|
|
9
|
+
ℹ cancelled 0
|
|
10
|
+
ℹ skipped 0
|
|
11
|
+
ℹ todo 0
|
|
12
|
+
ℹ duration_ms 13403.581277
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{"version":"eos930","node":"v24.22.3","elapsedSeconds":0,"roles":{"gui":{"RssKiB":47532,"PssKiB":24261,"Private_DirtyKiB":22168,"SwapKiB":0},"ems":{"RssKiB":114500,"PssKiB":89121,"Private_DirtyKiB":84160,"SwapKiB":0}},"childPssKiB":113382,"fixtureParent":{"RssKiB":86684,"PssKiB":60861,"Private_DirtyKiB":58172,"SwapKiB":0},"heartbeat":3}
|
|
2
|
+
{"version":"eos930","node":"v24.22.3","elapsedSeconds":5,"roles":{"gui":{"RssKiB":47644,"PssKiB":24172,"Private_DirtyKiB":22276,"SwapKiB":0},"ems":{"RssKiB":118256,"PssKiB":92696,"Private_DirtyKiB":87724,"SwapKiB":0}},"childPssKiB":116868,"fixtureParent":{"RssKiB":93872,"PssKiB":67767,"Private_DirtyKiB":65268,"SwapKiB":0},"heartbeat":14}
|
|
3
|
+
{"version":"eos930","node":"v24.22.3","elapsedSeconds":10,"roles":{"gui":{"RssKiB":47708,"PssKiB":24149,"Private_DirtyKiB":22340,"SwapKiB":0},"ems":{"RssKiB":122548,"PssKiB":95503,"Private_DirtyKiB":91968,"SwapKiB":0}},"childPssKiB":119652,"fixtureParent":{"RssKiB":103444,"PssKiB":77143,"Private_DirtyKiB":74824,"SwapKiB":0},"heartbeat":26}
|
|
4
|
+
✔ Compare split presentation and EMS worker memory with the prior combined worker (13467.277496ms)
|
|
5
|
+
ℹ tests 1
|
|
6
|
+
ℹ suites 0
|
|
7
|
+
ℹ pass 1
|
|
8
|
+
ℹ fail 0
|
|
9
|
+
ℹ cancelled 0
|
|
10
|
+
ℹ skipped 0
|
|
11
|
+
ℹ todo 0
|
|
12
|
+
ℹ duration_ms 13471.824922
|
|
File without changes
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
npm warn Unknown env config "http-proxy". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
|
|
2
|
+
|
|
3
|
+
> iobroker.eos-admin@9.0.30 typecheck
|
|
4
|
+
> tsc -p tsconfig.build.json --noEmit && tsc -p ui/tsconfig.ephemeral-cache.json && tsc -p ui/tsconfig.hosted-adapter.json && tsc -p modules/eebus/tsconfig.json --noEmit && tsc -p modules/backup/tsconfig.json --noEmit && tsc -p ui/tsconfig.smarthome-activation.json && tsc -p ui/tsconfig.ui-auth-frontend.json && tsc -p ui/tsconfig.preserved-ui-config.json && tsc -p ui/tsconfig.smarthome-feedback.json && tsc -p ui/tsconfig.smarthome-touch.json && tsc -p ui/tsconfig.smarthome-presentation.json && tsc -p ui/tsconfig.smarthome-device-controls.json && tsc -p ui/tsconfig.smarthome-device-api.json && tsc -p ui/tsconfig.smarthome-device-detection.json && tsc -p ui/tsconfig.smarthome-device-config.json && tsc -p ui/tsconfig.smarthome-device-controls-browser.json && tsc -p ui/tsconfig.smarthome-custom-views.json && tsc -p ui/tsconfig.smarthome-custom-contract.json && tsc -p ui/tsconfig.smarthome-custom-config.json && tsc -p ui/tsconfig.smarthome-device-legacy.json && tsc -p ui/tsconfig.smarthome-device-aliases.json && tsc -p ui/tsconfig.smarthome-alias-config.json && tsc -p ui/tsconfig.smarthome-device-categories.json && tsc -p ui/tsconfig.smarthome-layout-editor.json && tsc -p ui/tsconfig.hosted-runtime-stop.json && tsc -p ui/tsconfig.smarthome-setup.json && tsc -p ui/tsconfig.hosted-startup-status.json && tsc -p tsconfig.eos-device-ems.json && tsc -p modules/devices/tsconfig.ems-ui.json && tsc -p ui/tsconfig.installer-lifecycle.json && tsc -p ui/tsconfig.customer-tariff.json && tsc -p ui/tsconfig.customer-tariff-ui.json && tsc -p modules/devices/tsconfig.alias-semantics.json && tsc -p ui/tsconfig.power-measurements.json && tsc -p ui/tsconfig.storagefarm-summary-ui.json && tsc -p ui/tsconfig.tariff-display-ui.json && tsc -p ui/tsconfig.live-display-ui.json && tsc -p modules/devices/tsconfig.serial-lifecycle.json && tsc -p ui/tsconfig.storagefarm-dispatch-ui.json && tsc -p ui/tsconfig.influx-direct.json && tsc -p ui/tsconfig.influx-security.json && tsc -p ui/tsconfig.influx-history-runtime.json && tsc -p ui/src-admin-tab/tsconfig.json && tsc -p modules/devices/tsconfig.mqtt-lifecycle.json && tsc -p ui/tsconfig.eos-updates-ui.json && tsc -p tsconfig.eos-customer-updates.json && tsc -p tsconfig.eos-history-backup-scope.json && tsc -p tsconfig.eos-postgres-system.json && tsc -p ui/tsconfig.postgres-history.json && tsc -p ui/tsconfig.ems-control-values.json && tsc -p ui/tsconfig.flow-measurement.json && tsc -p ui/tsconfig.ocpp-limit-feedback.json && tsc -p ui/tsconfig.ocpp-auto-discovery.json && tsc -p tsconfig.eos-runtime-health.json && tsc -p tsconfig.eos-module-process.json && tsc -p tsconfig.ui-process.json && tsc -p modules/ocpp/tsconfig.json --noEmit && tsc -p tsconfig.eos-ocpp-admin.json && tsc -p tsconfig.eos-runtime-control.json && tsc -p tsconfig.eos-backup-admin.json && tsc -p tsconfig.eos-repository-tools.json
|
|
5
|
+
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
npm warn Unknown env config "http-proxy". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
|
|
2
|
+
|
|
3
|
+
> iobroker.eos-admin@9.0.30 build:ui-runtime
|
|
4
|
+
> node ui/scripts/build-smarthome-markdown.cjs && node ui/scripts/build-ts-runtime-executables.js
|
|
5
|
+
|
|
6
|
+
SmartHome GFM parser: 48 existing dependency licenses retained.
|
|
7
|
+
[ts-runtime-executables] OK: 215 produktive Runtime-Dateien aktualisiert; TS ist die kanonische Runtime-Quelle.
|
|
8
|
+
[ts-runtime-executables] OK: 215 produktive Runtime-Dateien geprüft; TS ist die kanonische Runtime-Quelle.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# NexoWatt EOS 9.0.30 – Einstieg
|
|
2
|
+
|
|
3
|
+
## Aktualisieren und prüfen
|
|
4
|
+
|
|
5
|
+
1. Vor dem Update die Anlage über die vorgesehenen geschützten Sicherungen sichern. Beziehe die bestehende Prozesskonfiguration, Gerätezuordnungen, Historienverbindung und TLS-Identität ein.
|
|
6
|
+
2. `iobroker.eos-admin` in derselben ioBroker-Instanz aktualisieren. Unter **Prozesse** die separaten Einträge **Oberfläche** und **Energiemanagement (EMS)** und die eingerichteten Module prüfen. Eine bisher gespeicherte gemeinsame Deaktivierung bleibt für beide Prozesse wirksam.
|
|
7
|
+
3. Bei einer kontrollierten Anlagenprüfung die Oberfläche neu starten. Dabei EMS-Bereitschaft, EMS-Prozessnummer und Messwertaktualisierung beobachten. Bei geeigneten sicheren Testbedingungen die tatsächliche Regelreaktion prüfen. Dashboard, Kiosk, Datenpunktauswahl, Historie, Ladepunkt und Sicherung entsprechend der Anlagenkonfiguration prüfen.
|
|
8
|
+
4. Für einen RAM-Vergleich dieselbe Geräte- und Modulausstattung und dieselbe Last verwenden. Prozess-PSS, verfügbaren System-RAM, Swap-Aktivität und EMS-Regelzeiten erfassen. Normalbetrieb und parallele Nutzung von Dashboard, Historienabfrage und Sicherung getrennt beobachten.
|
|
9
|
+
|
|
10
|
+
Ein Rückfall auf 9.0.29 setzt die gesicherte Prozesskonfiguration dieses Stands voraus, falls bereits eine neue Prozessaktion gespeichert wurde. Der ältere gemeinsame Prozess liest die neue Konfiguration mit zwei separaten Freigaben nicht. Den kombinierten Betriebszustand vor dem Wiederanlauf prüfen. [Details zur Prozesssteuerung](../MODULE_PROCESS_RUNTIME.md)
|
|
11
|
+
|
|
12
|
+
## Git und npm
|
|
13
|
+
|
|
14
|
+
Den vollständigen Ordner `iobroker.eos-admin` aus der ZIP übernehmen. Mit `npm pack --dry-run` lässt sich der Paketinhalt samt Verpackungsprüfungen lokal prüfen. Der beiliegende [ioBroker-Repository-Eintrag](../../nexowatt-eos-admin-repository-entry-v9-0-30.json) verweist auf die Paketversion und setzt deren npm-Veröffentlichung voraus.
|
|
15
|
+
|
|
16
|
+
[Prüfbericht](../reports/unified-9.0.30/PRUEFBERICHT.md) · [Zertifikatsleitfaden](../unified/NEXOWATT_TLS_DE.md)
|
|
@@ -3,11 +3,10 @@
|
|
|
3
3
|
## Prozessaufteilung im aktuellen Adapter
|
|
4
4
|
|
|
5
5
|
EOS wird als ein ioBroker-Adapter installiert. Der Hauptprozess verwaltet
|
|
6
|
-
HTTPS,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
sind weiterhin gemeinsame Abhängigkeiten.
|
|
6
|
+
HTTPS, Sitzungen, Lizenz, Prozesse und die Verbindung zum ioBroker-Controller.
|
|
7
|
+
Seit 9.0.30 laufen Oberfläche und EMS in getrennten Kindprozessen. Devices,
|
|
8
|
+
EEBUS, OCPP und Backup haben weiterhin je einen eigenen Prozess. Der Hauptprozess
|
|
9
|
+
überwacht die Kindprozesse. Er und der Controller sind gemeinsame Abhängigkeiten.
|
|
11
10
|
|
|
12
11
|
## Entwicklungsrichtung zu Microservices
|
|
13
12
|
|
|
@@ -17,13 +16,20 @@ einen versionierten Schnittstellenvertrag und einen einzeln prüfbaren
|
|
|
17
16
|
Lebenszyklus. Startbereitschaft, Healthcheck, begrenzte Auftragswarteschlange,
|
|
18
17
|
Zeitlimits und Wiederanlauf gehören zu diesem Vertrag.
|
|
19
18
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
Stellbefehle.
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
19
|
+
Die lesende Oberfläche liefert die Dashboard-Startseite, freigegebene Programmdateien
|
|
20
|
+
und die geschützte Datenpunktauswahl. Sie erhält nur die für diese Auswahl benötigten
|
|
21
|
+
Objektmetadaten. Das EMS verwaltet seine Konfiguration, Datenabonnements, Regeltakte
|
|
22
|
+
und Stellbefehle. Betriebsnahe HTTP-Funktionen, darunter Steuerungs-, Live- und
|
|
23
|
+
Historien-APIs, liegen weiterhin in seiner Laufzeit. Damit isoliert diese Aufteilung
|
|
24
|
+
insbesondere den Präsentationsprozess und die Datenpunktsuche. Eine Blockade einer
|
|
25
|
+
verbliebenen HTTP-Funktion im EMS kann weiterhin dessen Eventloop betreffen.
|
|
26
|
+
Sitzungen und Freigaben kommen zentral vom Hauptprozess. Der Übergang zwischen
|
|
27
|
+
EMS-Generationen wartet auf den Abschluss bereits angenommener Mutationen.
|
|
28
|
+
|
|
29
|
+
Die Prozesse verwenden lokale IPC und an den Parent-Aufruf gebundene Loopback-Anfragen.
|
|
30
|
+
Die zusätzliche Prozessgrenze dient der Fehlerisolation. Die Betriebssystemrechte
|
|
31
|
+
bleiben an dasselbe ioBroker-Dienstkonto gebunden. Sie schafft keine separat
|
|
32
|
+
privilegierte Sandbox.
|
|
27
33
|
|
|
28
34
|
Vor dem Herauslösen eines Moduls vergleichen wir auf dem Raspberry Pi
|
|
29
35
|
Regellatenz, CPU, PSS-Speicher und Wiederanlauf. Ein eigener Node.js-Prozess
|
|
@@ -1,9 +1,23 @@
|
|
|
1
1
|
# NexoWatt-Zertifikate für lokale EOS-Geräte
|
|
2
2
|
|
|
3
|
-
Stand
|
|
3
|
+
Stand 26.11.2026, EOS 9.0.29. Die Zertifikatsverwaltung befindet sich unter **Administration → Zertifikate** beziehungsweise `/security/tls/`.
|
|
4
4
|
|
|
5
5
|
Die neue Verwaltung stellt einen geschützten lokalen Ausstellungsablauf bereit. Sie liefert keine bereits eingerichtete Hersteller-Zertifizierungsstelle und enthält keine produktiven privaten Schlüssel. Die bestehende HTTPS-Konfiguration bleibt bis zur ausdrücklichen Übernahme eines signierten Gerätezertifikats wirksam. ioBroker Admin auf Port 8081 wird nicht verändert.
|
|
6
6
|
|
|
7
|
+
## Direkt in EOS ausstellen
|
|
8
|
+
|
|
9
|
+
1. Als Administrator **Administration → Zertifikate** öffnen. Die Namen und IP-Adressen auswählen, mit denen du EOS aufrufst. EOS bestätigt beim Erzeugen nur den eingerichteten Gerätenamen, die zugehörige `.local`-Adresse sowie eigene Adressen der Netzwerkschnittstellen und Loopback. Für weitere Namen oder Adressen steht die externe Ausstellung unten zur Verfügung.
|
|
10
|
+
2. Das Zertifikat lokal erzeugen. EOS zeigt den SHA-256-Fingerabdruck des neuen öffentlichen Stammzertifikats an. Schon vor der Übernahme stehen das Gerätezertifikat und das Stammzertifikat jeweils als PEM zum Download bereit. Das öffentliche Stammzertifikat ist mit demselben Fingerabdruck auch als DER-Datei (`.cer`) für den Import auf iPhone, iPad und Windows verfügbar. Die bisherige HTTPS-Identität bleibt bis zur bestätigten Übernahme in Betrieb.
|
|
11
|
+
3. Den Fingerabdruck des heruntergeladenen Stammzertifikats auf einem vertrauten Weg mit dem angezeigten Wert vergleichen. Das geprüfte öffentliche Stammzertifikat auf den Endgeräten in den vorgesehenen Vertrauensspeicher importieren. Bei einem späteren Wechsel von einem bereits vertrauten Zertifikat den neuen Stamm noch über die bisher vertrauenswürdige Verbindung herunterladen und auf den Endgeräten einrichten, bevor du den neuen Entwurf übernimmst.
|
|
12
|
+
4. Den Entwurf mit **Für dieses EOS übernehmen** aktivieren. Du musst die PEM-Dateien auf demselben Gerät nicht erneut hochladen. EOS prüft die Entwurfskennung, den bestätigten Fingerabdruck, Geräteschlüssel, Namen, Gültigkeit und Zertifikatskette.
|
|
13
|
+
5. Bei der ersten Umstellung wird das neue Zertifikat nach dem nächsten regulären Adapterneustart verwendet. Ist bereits ein verwaltetes EOS-Zertifikat aktiv, kann EOS das nächste Zertifikat für neue Verbindungen ohne Neustart übernehmen. Rufe EOS anschließend mit der geprüften Adresse auf. Der öffentliche Download auf `/security/trust/` zeigt den übernommenen Stamm.
|
|
14
|
+
|
|
15
|
+
Der lokale Aussteller hat einen zufälligen Stamm pro ausgestelltem Gerätezertifikat. Der kurzzeitig erzeugte CA-Signierschlüssel wird außerhalb des laufenden Vorgangs nicht aufbewahrt. Bei einer neuen Ausstellung entsteht daher ein neuer Stamm. Für mehrere Geräte oder verwaltete Anlagen, die einen gemeinsamen, dauerhaft geführten Herstellerstamm brauchen, eignet sich die getrennte Hersteller-Ausstellung. Deren privater CA-Schlüssel verbleibt auf dem geschützten Herstellerrechner.
|
|
16
|
+
|
|
17
|
+
Der SHA-256-Fingerabdruck identifiziert das **öffentliche Stammzertifikat**. Er ist ein Prüfwert, den du mit dem erwarteten Zertifikat vergleichst. Ein Fingerabdruck, der allein von einer bereits ungeprüften HTTPS-Seite kommt, bestätigt die Herkunft nicht.
|
|
18
|
+
|
|
19
|
+
## Externe Hersteller-Ausstellung
|
|
20
|
+
|
|
7
21
|
## Was auf welchem Rechner liegt
|
|
8
22
|
|
|
9
23
|
| Bestandteil | Ablage | Weitergabe |
|
|
@@ -16,7 +30,7 @@ Die neue Verwaltung stellt einen geschützten lokalen Ausstellungsablauf bereit.
|
|
|
16
30
|
|
|
17
31
|
Jedes EOS erhält einen eigenen ECDSA-P-256-Geräteschlüssel. Es gibt keinen gemeinsamen TLS-Schlüssel aller Kundengeräte. Die Lizenz-Signierschlüssel und TLS-Schlüssel bleiben getrennt. Eine Lizenz wird durch diese Funktion weder ersetzt noch erneut verlangt.
|
|
18
32
|
|
|
19
|
-
## Einmalige Hersteller-
|
|
33
|
+
## Einmalige Einrichtung der Hersteller-CA
|
|
20
34
|
|
|
21
35
|
Das Werkzeug `tools/eos-tls-issuer.cjs` wird auf dem **Herstellerrechner**, nicht auf einem Kunden-EOS, ausgeführt. Es benötigt eine gepflegte Node.js-Version und OpenSSL 3.x. Die Befehle laufen ohne Administrator-/Rootrechte. Vorhandene Herstellerordner werden nicht überschrieben.
|
|
22
36
|
|
|
@@ -32,7 +46,7 @@ CA-Ordner und Passphrase getrennt sichern; Sicherung und Wiederherstellung erpro
|
|
|
32
46
|
|
|
33
47
|
Für eine kontrollierte automatisierte Herstellerumgebung gibt es `--passphrase-file /geschuetzter/pfad`. Die Datei benötigt genau eine Zeile mit mindestens 16 Zeichen, unter POSIX Modus 0600 und den ausführenden Benutzer als Eigentümer. Sie gehört nicht zusammen mit dem CA-Schlüssel in dieselbe Sicherung. Passphrasen sind keine Kommandozeilenargumente oder Protokollinhalte. Die automatisierten Tests verwenden ausschließlich kurzlebige, synthetische Testschlüssel und entfernen diese danach.
|
|
34
48
|
|
|
35
|
-
## Ein Gerät ausstellen
|
|
49
|
+
## Ein Gerät mit der Hersteller-CA ausstellen
|
|
36
50
|
|
|
37
51
|
1. Als EOS-Administrator `/security/tls/` öffnen. Namen prüfen: normalerweise `nexowatt` und `nexowatt.local`, zusätzlich jede für den Browserzugriff vorgesehene feste IP-Adresse. Alle Einträge sind Subject Alternative Names (SAN). Eine andere IP nach DHCP-Wechsel erfordert bei IP-Zugriff ein erneuertes Zertifikat. Bei stabilem Namen kann das bestehende Zertifikat weiterpassen.
|
|
38
52
|
2. **Anfrage erstellen** und die öffentliche CSR herunterladen. Ein vorhandener unbenutzter Antrag bleibt bestehen, solange er nicht ausdrücklich ersetzt wird. Das Ersetzen erzeugt einen neuen Geräteschlüssel; eine Antwort auf den alten Antrag wird anschließend nicht mehr akzeptiert.
|
|
@@ -71,7 +85,7 @@ Nach korrekter Zertifikatseinrichtung die warnungsfreie EOS-Seite in Safari öff
|
|
|
71
85
|
|
|
72
86
|
## Betrieb, Erneuerung und Wiederherstellung
|
|
73
87
|
|
|
74
|
-
- Die Verwaltung zeigt Fingerabdrücke, Namen, Laufzeit, offene Anfrage und eine Warnung ab 30 Tagen vor Ablauf.
|
|
88
|
+
- Die Verwaltung zeigt Fingerabdrücke, Namen, Laufzeit, offene Anfrage und eine Warnung ab 30 Tagen vor Ablauf. Die lokale Ausstellung startet auf Anforderung. Eine zeitgesteuerte Ausstellung oder CA-Erneuerung ist nicht eingerichtet. Die Verantwortung für rechtzeitige Ausstellung und Kunden-Endgeräte liegt bei NexoWatt beziehungsweise der vereinbarten Administration.
|
|
75
89
|
- Betrieb setzt `/usr/bin/openssl` voraus. Fehlt OpenSSL oder scheitert die Prüfung, wird kein ungeprüftes Zertifikat übernommen. Fehlerhafte private Ablagen werden als nicht verfügbar angezeigt; ein vorhandener gültiger ioBroker-HTTPS-Zugang bleibt als Ausgangskonfiguration erhalten. TLS 1.2 ist die Untergrenze; keine unverschlüsselte Ersatzfreigabe.
|
|
76
90
|
- `tls/active.json` und `tls/pending.json` sind geheime Geräteunterlagen. Nur in verschlüsselte, zugriffsgeschützte Backups aufnehmen. Bei Wiederherstellung derselben Anlage Identität und Zugriff prüfen; eine Sicherung mit identischem Geräteschlüssel nicht parallel auf mehreren aktiven Kundengeräten betreiben. Bei Geräteersatz kann stattdessen eine neue CSR ausgestellt werden. Der Hersteller-CA-Schlüssel bleibt außerhalb jedes Gerätebackups.
|
|
77
91
|
- Atomare Speicherung erhält bei fehlgeschlagener Aktivierung den vorherigen Stand. Eine nach Stromausfall übrig gebliebene, bereits verbrauchte Anfrage wird beim Laden verworfen. Der Adapter nimmt keine beliebigen privaten Schlüssel oder ausführbaren Dateien über die Weboberfläche an.
|
package/io-package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "eos-admin",
|
|
4
|
-
"version": "9.0.
|
|
4
|
+
"version": "9.0.30",
|
|
5
5
|
"titleLang": {
|
|
6
6
|
"en": "NexoWatt EOS",
|
|
7
7
|
"de": "NexoWatt EOS",
|
|
@@ -18,6 +18,14 @@
|
|
|
18
18
|
"connectionType": "local",
|
|
19
19
|
"dataSource": "push",
|
|
20
20
|
"news": {
|
|
21
|
+
"9.0.30": {
|
|
22
|
+
"de": "Eigener EMS-Prozess mit bestätigter Schreibfreigabe und separater, lesender Oberfläche. Speicherbedarf der Datenpunktauswahl und der Gerätetreiber reduziert.",
|
|
23
|
+
"en": "Run the EMS and read-only presentation in separate processes. Improve memory use in the datapoint picker and device driver loading."
|
|
24
|
+
},
|
|
25
|
+
"9.0.29": {
|
|
26
|
+
"de": "HTTPS-Gerätezertifikat und öffentliches Stammzertifikat in der EOS-Administration lokal erstellen. Beide PEM-Dateien und der SHA-256-Fingerabdruck stehen direkt bereit. Das erzeugte Zertifikat wird erst durch eine bestätigte Übernahme verwendet.",
|
|
27
|
+
"en": "Generate an HTTPS device certificate and public root certificate in EOS Administration. Both PEM downloads and the SHA-256 fingerprint are available immediately, with a separate activation step."
|
|
28
|
+
},
|
|
21
29
|
"9.0.28": {
|
|
22
30
|
"de": "SmartHome-Geräteerkennung mit Funktionsordnern, deutschen und englischen Suchbegriffen sowie passender Datenpunktauswahl für Befehle und Rückmeldungen.",
|
|
23
31
|
"en": "SmartHome discovery with function folders, German and English search terms, and targeted datapoint selection for commands and feedback."
|
|
@@ -89,14 +97,6 @@
|
|
|
89
97
|
"9.0.11": {
|
|
90
98
|
"en": "Bounded startup recovery for legacy handover; confirmed shutdown before rollback and blocked late operational starts. Verified tarball publishing workflow for Windows.",
|
|
91
99
|
"de": "Übernahme mit begrenzter Startüberwachung und bestätigtem Stopp vor dem Rückfall; verspätete Betriebsstarts gesperrt. Geprüfter TGZ-Veröffentlichungsweg für Windows."
|
|
92
|
-
},
|
|
93
|
-
"9.0.10": {
|
|
94
|
-
"en": "Device profiles, linked aliases and TypeDetector 6.2 with preserved mappings; full-width SmartHome configuration, sortable tiles and colorful category controls.",
|
|
95
|
-
"de": "Geräteprofile, verknüpfte Aliase und TypeDetector 6.2 mit Erhalt bestehender Zuordnungen; SmartHome-Konfiguration über die volle Breite, sortierbare Kacheln und farbige Kategoriebedienung."
|
|
96
|
-
},
|
|
97
|
-
"9.0.9": {
|
|
98
|
-
"en": "SmartHome controls redesigned in NexoWatt style with touch-safe sliders and visible command feedback. Existing device mappings and central licensing retained.",
|
|
99
|
-
"de": "SmartHome-Bedienkacheln im NexoWatt-Design, berührungssichere Regler und sichtbare Befehlsrückmeldung. Bestehende Gerätezuordnungen und zentrale Lizenz bleiben erhalten."
|
|
100
100
|
}
|
|
101
101
|
},
|
|
102
102
|
"desc": {
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
"icon": "admin.svg",
|
|
135
135
|
"messagebox": true,
|
|
136
136
|
"enabled": true,
|
|
137
|
-
"extIcon": "https://unpkg.com/iobroker.eos-admin@9.0.
|
|
137
|
+
"extIcon": "https://unpkg.com/iobroker.eos-admin@9.0.30/admin/admin.svg",
|
|
138
138
|
"keywords": [
|
|
139
139
|
"NexoWatt",
|
|
140
140
|
"EOS",
|
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
"licensed"
|
|
146
146
|
],
|
|
147
147
|
"compact": false,
|
|
148
|
-
"readme": "https://unpkg.com/iobroker.eos-admin@9.0.
|
|
148
|
+
"readme": "https://unpkg.com/iobroker.eos-admin@9.0.30/README.md",
|
|
149
149
|
"authors": [
|
|
150
150
|
"NexoWatt"
|
|
151
151
|
],
|
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
"type": "general",
|
|
158
158
|
"licenseInformation": {
|
|
159
159
|
"type": "paid",
|
|
160
|
-
"link": "https://unpkg.com/iobroker.eos-admin@9.0.
|
|
160
|
+
"link": "https://unpkg.com/iobroker.eos-admin@9.0.30/LICENSE"
|
|
161
161
|
},
|
|
162
162
|
"logTransporter": true,
|
|
163
163
|
"stopBeforeUpdate": true,
|
|
@@ -24,7 +24,7 @@ Die zusätzlichen HTTP-Grenzen betragen höchstens 2 MiB Antwort, 256 KiB Anford
|
|
|
24
24
|
|
|
25
25
|
## Stabilität und Prüfung
|
|
26
26
|
|
|
27
|
-
Das Modul lädt seinen Katalog einmal bei Bedarf und erzeugt Laufzeitinstanzen nur für konfigurierte aktive Geräte. Es verwendet keine pauschale Subscription auf alle ioBroker-Zustände. Ein erkannter Fehler beim Starten räumt auch bereits angelegte Teillaufzeiten auf. Die Quellfunktion zur globalen Änderung fremder Adapter-`adminUI`-Objekte wurde nicht übernommen.
|
|
27
|
+
Das Modul lädt seinen Katalog einmal bei Bedarf und erzeugt Laufzeitinstanzen nur für konfigurierte aktive Geräte. Der Devices-Prozess lädt ein Treibermodul bei der ersten Verwendung des jeweiligen Protokolls. Weitere Starts verwenden das geladene Treibermodul und erzeugen pro Gerät eine eigene Treiberinstanz. Es verwendet keine pauschale Subscription auf alle ioBroker-Zustände. Ein erkannter Fehler beim Starten räumt auch bereits angelegte Teillaufzeiten auf. Die Quellfunktion zur globalen Änderung fremder Adapter-`adminUI`-Objekte wurde nicht übernommen.
|
|
28
28
|
|
|
29
29
|
Die Integration behebt außerdem ein Warteschlangenproblem: Nach einer unterbrochenen seriellen Verbindung durfte ein bereits laufender Auftrag nicht erneut einen Verbindungsauftrag hinter sich selbst einreihen. Verbindungsaufbau erfolgt jetzt vor dem Auftragsblock; unmittelbar vor der Ausgabe werden Verbindung und Freigabe erneut geprüft.
|
|
30
30
|
|
|
@@ -13,23 +13,10 @@ const {
|
|
|
13
13
|
buildManifest: buildAliasManifest,
|
|
14
14
|
mergeStandardDefinition,
|
|
15
15
|
} = require('./aliasContract');
|
|
16
|
-
const { ModbusDriver } = require('./drivers/modbus');
|
|
17
|
-
const { VartaModbusDriver } = require('./drivers/vartaModbus');
|
|
18
|
-
const { DeyeModbusDriver } = require('./drivers/deyeModbus');
|
|
19
16
|
const { getDeyeProfile, buildDeyeAliases } = require('./deyeProtocol');
|
|
20
17
|
const { getVartaProfile, registersForProfile, buildVartaAliases } = require('./vartaProtocol');
|
|
21
18
|
const { extendedRegistersForProfile, buildVartaExtendedAliases } = require('./vartaExtendedProtocol');
|
|
22
|
-
const { MqttDriver } = require('./drivers/mqtt');
|
|
23
19
|
const { MqttCallbackQueue, assertMqttMessageSession } = require('./drivers/mqttPendingOperations');
|
|
24
|
-
const { CanbusDriver } = require('./drivers/canbus');
|
|
25
|
-
const { HttpDriver } = require('./drivers/http');
|
|
26
|
-
const { UdpDriver } = require('./drivers/udp');
|
|
27
|
-
const { SpeedwireDriver } = require('./drivers/speedwire');
|
|
28
|
-
const { OneWireDriver } = require('./drivers/onewire');
|
|
29
|
-
const { MbusDriver } = require('./drivers/mbus');
|
|
30
|
-
const { KostalTcpDriver } = require('./drivers/kostalTcp');
|
|
31
|
-
const { KostalRs485Driver } = require('./drivers/kostalRs485');
|
|
32
|
-
const { TaCmiDriver } = require('./drivers/taCmi');
|
|
33
20
|
const { isEnergyFreshnessClass, isEnergyFreshnessAlias, captureAliasSources, hasNewAliasSample } = require('./deviceAliasFreshness');
|
|
34
21
|
const { hasSameReadResponse } = require('./modbusReadEvidence');
|
|
35
22
|
|
|
@@ -6675,23 +6662,34 @@ class DeviceRuntime {
|
|
|
6675
6662
|
|
|
6676
6663
|
_createDriver() {
|
|
6677
6664
|
const proto = this.cfg.protocol;
|
|
6678
|
-
|
|
6665
|
+
// Load a transport only when a configured device selects it. CommonJS reuses
|
|
6666
|
+
// its module on later starts, while every device still gets its own driver.
|
|
6667
|
+
if (getDeyeProfile(this.template)) {
|
|
6668
|
+
const { DeyeModbusDriver } = require('./drivers/deyeModbus');
|
|
6669
|
+
return new DeyeModbusDriver(this.adapter, this.cfg, this.template, this.global);
|
|
6670
|
+
}
|
|
6679
6671
|
if (getVartaProfile(this.template)) {
|
|
6672
|
+
const { VartaModbusDriver } = require('./drivers/vartaModbus');
|
|
6680
6673
|
return new VartaModbusDriver(this.adapter, this.cfg, this.template, this.global);
|
|
6681
6674
|
}
|
|
6682
6675
|
if (proto === 'modbusTcp' || proto === 'modbusRtu' || proto === 'modbusAscii') {
|
|
6676
|
+
const { ModbusDriver } = require('./drivers/modbus');
|
|
6683
6677
|
return new ModbusDriver(this.adapter, this.cfg, this.template, this.global);
|
|
6684
6678
|
}
|
|
6685
6679
|
if (proto === 'mbus') {
|
|
6680
|
+
const { MbusDriver } = require('./drivers/mbus');
|
|
6686
6681
|
return new MbusDriver(this.adapter, this.cfg, this.template, this.global);
|
|
6687
6682
|
}
|
|
6688
6683
|
if (proto === 'onewire') {
|
|
6684
|
+
const { OneWireDriver } = require('./drivers/onewire');
|
|
6689
6685
|
return new OneWireDriver(this.adapter, this.cfg, this.template, this.global);
|
|
6690
6686
|
}
|
|
6691
6687
|
if (proto === 'speedwire') {
|
|
6688
|
+
const { SpeedwireDriver } = require('./drivers/speedwire');
|
|
6692
6689
|
return new SpeedwireDriver(this.adapter, this.cfg, this.template, this.global);
|
|
6693
6690
|
}
|
|
6694
6691
|
if (proto === 'mqtt') {
|
|
6692
|
+
const { MqttDriver } = require('./drivers/mqtt');
|
|
6695
6693
|
// MQTT driver needs mapping dp -> state id
|
|
6696
6694
|
return new MqttDriver(
|
|
6697
6695
|
this.adapter,
|
|
@@ -6706,6 +6704,7 @@ class DeviceRuntime {
|
|
|
6706
6704
|
);
|
|
6707
6705
|
}
|
|
6708
6706
|
if (proto === 'canbus') {
|
|
6707
|
+
const { CanbusDriver } = require('./drivers/canbus');
|
|
6709
6708
|
// CANbus driver needs mapping dp -> state id + baseId for info.* states
|
|
6710
6709
|
return new CanbusDriver(
|
|
6711
6710
|
this.adapter,
|
|
@@ -6719,18 +6718,23 @@ class DeviceRuntime {
|
|
|
6719
6718
|
);
|
|
6720
6719
|
}
|
|
6721
6720
|
if (proto === 'kostalTcp') {
|
|
6721
|
+
const { KostalTcpDriver } = require('./drivers/kostalTcp');
|
|
6722
6722
|
return new KostalTcpDriver(this.adapter, this.cfg, this.template, this.global);
|
|
6723
6723
|
}
|
|
6724
6724
|
if (proto === 'kostalRs485') {
|
|
6725
|
+
const { KostalRs485Driver } = require('./drivers/kostalRs485');
|
|
6725
6726
|
return new KostalRs485Driver(this.adapter, this.cfg, this.template, this.global);
|
|
6726
6727
|
}
|
|
6727
6728
|
if (proto === 'http') {
|
|
6729
|
+
const { HttpDriver } = require('./drivers/http');
|
|
6728
6730
|
return new HttpDriver(this.adapter, this.cfg, this.template, this.global);
|
|
6729
6731
|
}
|
|
6730
6732
|
if (proto === 'taCmi') {
|
|
6733
|
+
const { TaCmiDriver } = require('./drivers/taCmi');
|
|
6731
6734
|
return new TaCmiDriver(this.adapter, this.cfg, this.template, this.global, this);
|
|
6732
6735
|
}
|
|
6733
6736
|
if (proto === 'udp') {
|
|
6737
|
+
const { UdpDriver } = require('./drivers/udp');
|
|
6734
6738
|
return new UdpDriver(this.adapter, this.cfg, this.template, this.global);
|
|
6735
6739
|
}
|
|
6736
6740
|
throw new Error(`Unsupported protocol: ${proto}`);
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const assert = require('node:assert/strict');
|
|
4
|
+
const test = require('node:test');
|
|
5
|
+
|
|
6
|
+
const drivers = {
|
|
7
|
+
modbusTcp: ['modbus', 'ModbusDriver'],
|
|
8
|
+
modbusRtu: ['modbus', 'ModbusDriver'],
|
|
9
|
+
modbusAscii: ['modbus', 'ModbusDriver'],
|
|
10
|
+
mbus: ['mbus', 'MbusDriver'],
|
|
11
|
+
onewire: ['onewire', 'OneWireDriver'],
|
|
12
|
+
speedwire: ['speedwire', 'SpeedwireDriver'],
|
|
13
|
+
mqtt: ['mqtt', 'MqttDriver'],
|
|
14
|
+
canbus: ['canbus', 'CanbusDriver'],
|
|
15
|
+
kostalTcp: ['kostalTcp', 'KostalTcpDriver'],
|
|
16
|
+
kostalRs485: ['kostalRs485', 'KostalRs485Driver'],
|
|
17
|
+
http: ['http', 'HttpDriver'],
|
|
18
|
+
taCmi: ['taCmi', 'TaCmiDriver'],
|
|
19
|
+
udp: ['udp', 'UdpDriver'],
|
|
20
|
+
};
|
|
21
|
+
const names = [...new Set([...Object.values(drivers).map(([file]) => file), 'deyeModbus', 'vartaModbus'])];
|
|
22
|
+
const paths = Object.fromEntries(names.map(file => [file, require.resolve(`../lib/drivers/${file}`)]));
|
|
23
|
+
|
|
24
|
+
function loadedDrivers() {
|
|
25
|
+
return names.filter(file => require.cache[paths[file]]).sort();
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
test('hosted Devices only loads transports selected by configured active devices', async t => {
|
|
29
|
+
const { install } = require('../lib/sungrowFastFeedbackPatch');
|
|
30
|
+
install();
|
|
31
|
+
const { DeviceRuntime } = require('../lib/deviceRuntime');
|
|
32
|
+
const adapter = { log: { info() {} }, async setStateAsync() {} };
|
|
33
|
+
const connection = { path: '/dev/null', baseUrl: 'http://127.0.0.1', bridgeEnabled: false };
|
|
34
|
+
const makeRuntime = (protocol, template = {}, enabled = true) => new DeviceRuntime(
|
|
35
|
+
adapter, { id: 'fixture', protocol, enabled, connection }, template, {},
|
|
36
|
+
);
|
|
37
|
+
assert.deepEqual(loadedDrivers(), []);
|
|
38
|
+
|
|
39
|
+
const disabled = makeRuntime('mqtt', {}, false);
|
|
40
|
+
await disabled.start();
|
|
41
|
+
assert.equal(disabled.driver, null);
|
|
42
|
+
assert.throws(() => makeRuntime('unsupported')._createDriver(), /Unsupported protocol: unsupported/);
|
|
43
|
+
assert.deepEqual(loadedDrivers(), []);
|
|
44
|
+
|
|
45
|
+
const selected = new Set();
|
|
46
|
+
for (const [protocol, [file, className]] of Object.entries(drivers)) {
|
|
47
|
+
const runtime = makeRuntime(protocol);
|
|
48
|
+
const first = runtime._createDriver();
|
|
49
|
+
t.after(() => first.disconnect());
|
|
50
|
+
const next = runtime._createDriver();
|
|
51
|
+
t.after(() => next.disconnect());
|
|
52
|
+
assert.equal(first.constructor.name, className, protocol);
|
|
53
|
+
assert.equal(next.constructor, first.constructor, `${protocol}: subsequent start reuses the loaded module`);
|
|
54
|
+
assert.notEqual(next, first, `${protocol}: subsequent start creates an independent driver`);
|
|
55
|
+
selected.add(file);
|
|
56
|
+
assert.deepEqual(loadedDrivers(), [...selected].sort(), protocol);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
const profiles = [
|
|
60
|
+
{ protocol: 'modbusRtu', file: 'deyeModbus', className: 'DeyeModbusDriver', template: {
|
|
61
|
+
id: 'ess.deye.singlePhase.modbusRtu', manufacturer: 'DEYE',
|
|
62
|
+
driverHints: { deyeModbus: { profile: 'singlePhase' } },
|
|
63
|
+
} },
|
|
64
|
+
{ protocol: 'modbusTcp', file: 'vartaModbus', className: 'VartaModbusDriver', template: {
|
|
65
|
+
id: 'ess.varta.pulseNeo.modbusTcpV14', manufacturer: 'VARTA',
|
|
66
|
+
driverHints: { vartaModbus: { product: 'pulseNeo' } },
|
|
67
|
+
} },
|
|
68
|
+
];
|
|
69
|
+
for (const { protocol, file, className, template } of profiles) {
|
|
70
|
+
const driver = makeRuntime(protocol, template)._createDriver();
|
|
71
|
+
t.after(() => driver.disconnect());
|
|
72
|
+
assert.equal(driver.constructor.name, className);
|
|
73
|
+
selected.add(file);
|
|
74
|
+
assert.deepEqual(loadedDrivers(), [...selected].sort(), protocol);
|
|
75
|
+
}
|
|
76
|
+
});
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "iobroker.eos-admin",
|
|
3
3
|
"description": "NexoWatt EOS: licensed local energy management, dashboard and ioBroker system administration in one adapter.",
|
|
4
|
-
"version": "9.0.
|
|
4
|
+
"version": "9.0.30",
|
|
5
5
|
"contributors": [
|
|
6
6
|
"bluefox <dogafox@gmail.com>",
|
|
7
7
|
"apollon77",
|
|
@@ -231,7 +231,9 @@
|
|
|
231
231
|
"docs/start/START_HIER_9.0.27.md",
|
|
232
232
|
"docs/reports/unified-9.0.27/",
|
|
233
233
|
"docs/start/START_HIER_9.0.28.md",
|
|
234
|
-
"docs/reports/unified-9.0.28/"
|
|
234
|
+
"docs/reports/unified-9.0.28/",
|
|
235
|
+
"docs/start/START_HIER_9.0.30.md",
|
|
236
|
+
"docs/reports/unified-9.0.30/"
|
|
235
237
|
],
|
|
236
238
|
"scripts": {
|
|
237
239
|
"start": "cd src-admin && npm run start",
|
|
@@ -242,7 +244,7 @@
|
|
|
242
244
|
"build:ui-runtime": "node ui/scripts/build-smarthome-markdown.cjs && node ui/scripts/build-ts-runtime-executables.js",
|
|
243
245
|
"lint-backend": "eslint -c eslint.config.mjs src && npm run lint:unified",
|
|
244
246
|
"lint": "npm run lint-backend && cd src-admin && npm run lint",
|
|
245
|
-
"test:unified": "node --test --test-timeout=180000 --test-concurrency=4 test/eos-idle*.test.cjs test/eos-unified*.test.cjs test/eos-hosted-boundary-http.test.cjs test/eos-license*.test.cjs ui/test/unified/*.test.cjs test/eos-access-diagnostics.test.cjs test/eos-ingress-renderer.test.cjs test/eos-sbom-vendored.test.cjs test/eos-system-license-ui.test.cjs test/eos-history-deadline.test.cjs test/eos-socket-threshold.test.cjs test/eos-history-api-stability.test.cjs test/eos-ephemeral-cache.test.cjs test/eos-tls-management.test.cjs test/eos-tls-issuer-files.test.cjs test/eos-publish-prepare.test.cjs test/eos-publish-prepare-security.test.cjs test/eos-release-evidence.test.cjs test/eos-parallel-admin-objects.test.cjs test/eos-coexistence-recovery.test.cjs test/eos-socket-secret.test.cjs test/eos-role-policy.test.cjs test/eos-device-ems*.test.cjs test/eos-installer-lifecycle.test.cjs test/eos-customer-tariff*.test.cjs test/eos-ems-reconfiguration.test.cjs test/eos-power-measurements.test.cjs test/eos-mennekes-control.test.cjs test/eos-devices-start-lifecycle.test.cjs test/eos-storage-farm-overview.test.cjs test/eos-storagefarm-overview-ui.test.cjs test/eos-storagefarm-review.test.cjs test/eos-tariff*.test.cjs test/eos-history-measurement-integrity.test.cjs test/eos-ems-failed-init.test.cjs test/eos-live-display-regression.test.cjs test/eos-history-chart-gaps.test.cjs test/eos-history-negative-pricing.test.cjs test/eos-storagefarm-dispatch-diagnostics.test.cjs test/eos-storagefarm-controller-dispatch.test.cjs test/eos-storagefarm-dispatch-ui.test.cjs test/eos-storage-command-ack.test.cjs test/eos-device-command-subscriptions.test.cjs test/eos-influx*.test.cjs test/eos-history-setup-ui.test.cjs test/eos-login-pwa-branding.test.cjs test/eos-pwa-anonymous-https.test.cjs test/eos-upload-admission.test.cjs test/eos-ems-nvp-recovery.test.cjs test/eos-storagefarm-concurrency.test.cjs test/eos-customer-update*.test.cjs test/eos-history-backup-scope.test.cjs test/eos-postgres*.test.cjs test/eos-ems-control-datapoints.test.cjs test/eos-runtime-interop.test.cjs test/eos-derived-flow-integrity.test.cjs test/eos-storage-nullable-flow.test.cjs test/eos-energyflow-cadence.test.cjs test/eos-core-pv-input-integrity.test.cjs test/eos-evcs*.test.cjs test/eos-ui-process.test.cjs test/eos-runtime-health.test.cjs test/eos-ocpp*.test.cjs test/eos-kiosk*.test.cjs test/eos-ui-process-review.test.cjs test/eos-ui-operational-process-review.test.cjs test/eos-ui-secret-codec.test.cjs test/eos-runtime-control*.test.cjs test/eos-ui-config*.test.cjs test/eos-charging-*.test.cjs",
|
|
247
|
+
"test:unified": "node --test --test-timeout=180000 --test-concurrency=4 test/eos-idle*.test.cjs test/eos-unified*.test.cjs test/eos-hosted-boundary-http.test.cjs test/eos-license*.test.cjs ui/test/unified/*.test.cjs test/eos-access-diagnostics.test.cjs test/eos-ingress-renderer.test.cjs test/eos-sbom-vendored.test.cjs test/eos-system-license-ui.test.cjs test/eos-history-deadline.test.cjs test/eos-socket-threshold.test.cjs test/eos-history-api-stability.test.cjs test/eos-ephemeral-cache.test.cjs test/eos-tls-management.test.cjs test/eos-tls-ui.test.cjs test/eos-tls-issuer-files.test.cjs test/eos-publish-prepare.test.cjs test/eos-publish-prepare-security.test.cjs test/eos-release-evidence.test.cjs test/eos-parallel-admin-objects.test.cjs test/eos-coexistence-recovery.test.cjs test/eos-socket-secret.test.cjs test/eos-role-policy.test.cjs test/eos-device-ems*.test.cjs test/eos-installer-lifecycle.test.cjs test/eos-customer-tariff*.test.cjs test/eos-ems-reconfiguration.test.cjs test/eos-ems-process-isolation.test.cjs test/eos-power-measurements.test.cjs test/eos-mennekes-control.test.cjs test/eos-devices-start-lifecycle.test.cjs test/eos-storage-farm-overview.test.cjs test/eos-storagefarm-overview-ui.test.cjs test/eos-storagefarm-review.test.cjs test/eos-tariff*.test.cjs test/eos-history-measurement-integrity.test.cjs test/eos-ems-failed-init.test.cjs test/eos-live-display-regression.test.cjs test/eos-history-chart-gaps.test.cjs test/eos-history-negative-pricing.test.cjs test/eos-storagefarm-dispatch-diagnostics.test.cjs test/eos-storagefarm-controller-dispatch.test.cjs test/eos-storagefarm-dispatch-ui.test.cjs test/eos-storage-command-ack.test.cjs test/eos-device-command-subscriptions.test.cjs test/eos-influx*.test.cjs test/eos-history-setup-ui.test.cjs test/eos-login-pwa-branding.test.cjs test/eos-pwa-anonymous-https.test.cjs test/eos-upload-admission.test.cjs test/eos-ems-nvp-recovery.test.cjs test/eos-storagefarm-concurrency.test.cjs test/eos-customer-update*.test.cjs test/eos-history-backup-scope.test.cjs test/eos-postgres*.test.cjs test/eos-ems-control-datapoints.test.cjs test/eos-runtime-interop.test.cjs test/eos-derived-flow-integrity.test.cjs test/eos-storage-nullable-flow.test.cjs test/eos-energyflow-cadence.test.cjs test/eos-core-pv-input-integrity.test.cjs test/eos-evcs*.test.cjs test/eos-ui-process.test.cjs test/eos-runtime-health.test.cjs test/eos-ocpp*.test.cjs test/eos-kiosk*.test.cjs test/eos-ui-process-review.test.cjs test/eos-ui-operational-process-review.test.cjs test/eos-ui-secret-codec.test.cjs test/eos-runtime-control*.test.cjs test/eos-ui-config*.test.cjs test/eos-charging-*.test.cjs",
|
|
246
248
|
"check:unified": "node tools/eos-release-check.cjs",
|
|
247
249
|
"seal:unified": "node tools/eos-release-manifest.cjs --write",
|
|
248
250
|
"prepack": "node tools/eos-prepare-publish.cjs && node tools/eos-release-check.cjs",
|
|
@@ -255,7 +257,7 @@
|
|
|
255
257
|
"typecheck": "tsc -p tsconfig.build.json --noEmit && tsc -p ui/tsconfig.ephemeral-cache.json && tsc -p ui/tsconfig.hosted-adapter.json && tsc -p modules/eebus/tsconfig.json --noEmit && tsc -p modules/backup/tsconfig.json --noEmit && tsc -p ui/tsconfig.smarthome-activation.json && tsc -p ui/tsconfig.ui-auth-frontend.json && tsc -p ui/tsconfig.preserved-ui-config.json && tsc -p ui/tsconfig.smarthome-feedback.json && tsc -p ui/tsconfig.smarthome-touch.json && tsc -p ui/tsconfig.smarthome-presentation.json && tsc -p ui/tsconfig.smarthome-device-controls.json && tsc -p ui/tsconfig.smarthome-device-api.json && tsc -p ui/tsconfig.smarthome-device-detection.json && tsc -p ui/tsconfig.smarthome-device-config.json && tsc -p ui/tsconfig.smarthome-device-controls-browser.json && tsc -p ui/tsconfig.smarthome-custom-views.json && tsc -p ui/tsconfig.smarthome-custom-contract.json && tsc -p ui/tsconfig.smarthome-custom-config.json && tsc -p ui/tsconfig.smarthome-device-legacy.json && tsc -p ui/tsconfig.smarthome-device-aliases.json && tsc -p ui/tsconfig.smarthome-alias-config.json && tsc -p ui/tsconfig.smarthome-device-categories.json && tsc -p ui/tsconfig.smarthome-layout-editor.json && tsc -p ui/tsconfig.hosted-runtime-stop.json && tsc -p ui/tsconfig.smarthome-setup.json && tsc -p ui/tsconfig.hosted-startup-status.json && tsc -p tsconfig.eos-device-ems.json && tsc -p modules/devices/tsconfig.ems-ui.json && tsc -p ui/tsconfig.installer-lifecycle.json && tsc -p ui/tsconfig.customer-tariff.json && tsc -p ui/tsconfig.customer-tariff-ui.json && tsc -p modules/devices/tsconfig.alias-semantics.json && tsc -p ui/tsconfig.power-measurements.json && tsc -p ui/tsconfig.storagefarm-summary-ui.json && tsc -p ui/tsconfig.tariff-display-ui.json && tsc -p ui/tsconfig.live-display-ui.json && tsc -p modules/devices/tsconfig.serial-lifecycle.json && tsc -p ui/tsconfig.storagefarm-dispatch-ui.json && tsc -p ui/tsconfig.influx-direct.json && tsc -p ui/tsconfig.influx-security.json && tsc -p ui/tsconfig.influx-history-runtime.json && tsc -p ui/src-admin-tab/tsconfig.json && tsc -p modules/devices/tsconfig.mqtt-lifecycle.json && tsc -p ui/tsconfig.eos-updates-ui.json && tsc -p tsconfig.eos-customer-updates.json && tsc -p tsconfig.eos-history-backup-scope.json && tsc -p tsconfig.eos-postgres-system.json && tsc -p ui/tsconfig.postgres-history.json && tsc -p ui/tsconfig.ems-control-values.json && tsc -p ui/tsconfig.flow-measurement.json && tsc -p ui/tsconfig.ocpp-limit-feedback.json && tsc -p ui/tsconfig.ocpp-auto-discovery.json && tsc -p tsconfig.eos-runtime-health.json && tsc -p tsconfig.eos-module-process.json && tsc -p tsconfig.ui-process.json && tsc -p modules/ocpp/tsconfig.json --noEmit && tsc -p tsconfig.eos-ocpp-admin.json && tsc -p tsconfig.eos-runtime-control.json && tsc -p tsconfig.eos-backup-admin.json && tsc -p tsconfig.eos-repository-tools.json",
|
|
256
258
|
"build:installer": "npm --prefix ui/src-admin-tab run build",
|
|
257
259
|
"sbom": "npm sbom --sbom-format=cyclonedx > release-manifests/unified/build-environment.cdx.json && node tools/eos-sbom-vendored.cjs",
|
|
258
|
-
"lint:unified": "eslint -c eslint.unified.config.mjs src/lib/eosUnifiedBoundary.js src/lib/eosSessionSecurity.js src/lib/eosCookieNamespace.js src/lib/eosNewsSecurity.js src/lib/eosRolePolicy.js src/lib/eosSocketSecret.js src/lib/eosUnifiedOwnership.js src/lib/eosLicenseCore.js src/lib/eosLicensePolicy.js src/lib/eosLicenseService.js src/lib/eosLicenseTrust.js src/lib/eosLicenseHttp.js tools/eos-release-check.cjs tools/eos-prepare-publish.cjs tools/eos-release-evidence.cjs tools/eos-release-manifest.cjs tools/eos-migration-plan.cjs tools/eos-access-diagnostics.cjs tools/eos-coexistence-recovery.cjs deploy/render-ingress.cjs tools/eos-sbom-vendored.cjs src/lib/eosDeviceEmsPlan.js src/lib/eosDeviceEmsService.js src/lib/eosRuntimeControl.js src/lib/eosModuleHost.js src/lib/eosModuleHttp.js src/lib/eosModuleConfigStore.js src/lib/eosLegacyMigration.js tools/eos-tls-issuer.cjs && eslint -c modules/backup/eslint.config.mjs modules/backup/src && eslint -c ui/eslint.smarthome-activation.config.mjs ui/src-ts/runtime-executables/lib/smarthome-activation.ts && eslint -c ui/eslint.preserved-ui-config.config.mjs ui/src-ts/runtime-executables/lib/preserved-ui-config.ts && eslint -c ui/eslint.smarthome-feedback.config.mjs ui/src-ts/runtime-executables/www/smarthome-feedback.ts && eslint -c ui/eslint.smarthome-touch.config.mjs ui/src-ts/runtime-executables/www/smarthome-touch.ts && eslint -c ui/eslint.smarthome-presentation.config.mjs ui/src-ts/runtime-executables/www/smarthome-presentation.ts && eslint -c ui/eslint.smarthome-device-controls.config.mjs ui/src-ts/runtime-executables/lib/smarthome-device-controls.ts && eslint -c ui/eslint.smarthome-device-api.config.mjs ui/src-ts/runtime-executables/lib/smarthome-device-api.ts && eslint -c ui/eslint.smarthome-device-detection.config.mjs ui/src-ts/runtime-executables/lib/smarthome-device-detection.ts && eslint -c ui/eslint.smarthome-device-config.config.mjs ui/src-ts/runtime-executables/www/smarthome-device-config.ts && eslint -c ui/eslint.smarthome-device-controls-browser.config.mjs ui/src-ts/runtime-executables/www/smarthome-device-controls.ts && eslint -c ui/eslint.smarthome-custom-views.config.mjs ui/src-ts/runtime-executables/www/smarthome-custom-views.ts && eslint -c ui/eslint.smarthome-custom-contract.config.mjs ui/src-ts/runtime-executables/lib/smarthome-custom-contract.ts && eslint -c ui/eslint.smarthome-custom-config.config.mjs ui/src-ts/runtime-executables/www/smarthome-custom-config.ts && eslint -c ui/eslint.smarthome-device-legacy.config.mjs ui/src-ts/runtime-executables/lib/smarthome-device-legacy.ts && eslint -c ui/eslint.smarthome-device-aliases.config.mjs ui/src-ts/runtime-executables/lib/smarthome-device-aliases.ts && eslint -c ui/eslint.smarthome-alias-config.config.mjs ui/src-ts/runtime-executables/www/smarthome-alias-config.ts && eslint -c ui/eslint.smarthome-device-categories.config.mjs ui/src-ts/runtime-executables/www/smarthome-device-categories.ts && eslint -c ui/eslint.smarthome-layout-editor.config.mjs ui/src-ts/runtime-executables/www/smarthome-layout-editor.ts && eslint -c ui/eslint.hosted-runtime-stop.config.mjs ui/src-ts/runtime-executables/lib/hosted-runtime-stop.ts && eslint -c ui/eslint.hosted-adapter.config.mjs ui/src-ts/runtime-executables/lib/hosted-adapter.ts && eslint -c ui/eslint.smarthome-setup.config.mjs ui/src-ts/runtime-executables/www/smarthome-setup.ts && eslint -c ui/eslint.hosted-startup-status.config.mjs ui/src-ts/runtime-executables/lib/hosted-startup-status.ts && eslint -c ui/eslint.eos-session-idle.config.mjs ui/src-ts/runtime-executables/www/eos-session-idle.ts ui/src-ts/runtime-executables/www/eos-kiosk-settings.ts ui/src-ts/runtime-executables/www/login.ts && eslint -c modules/devices/eslint.hosted.config.mjs modules/devices/admin/ems-assignment.js && eslint -c ui/eslint.installer-lifecycle.config.mjs ui/src-ts/runtime-executables/lib/installer-lifecycle.ts ui/src-ts/runtime-executables/lib/storage-farm-overview.ts ui/src-ts/runtime-executables/lib/tariff-price.ts && eslint -c ui/eslint.customer-tariff.config.mjs ui/src-ts/runtime-executables/lib/customer-tariff.ts && eslint -c ui/eslint.customer-tariff-ui.config.mjs ui/src-ts/runtime-executables/www/customer-tariff.ts && eslint -c modules/devices/eslint.hosted.config.mjs modules/devices/lib/deviceAliasSemantics.js modules/devices/lib/deviceAliasFreshness.js && eslint -c ui/eslint.power-measurements.config.mjs ui/src-ts/runtime-executables/www/power-measurements.ts && eslint -c ui/eslint.storagefarm-summary-ui.config.mjs ui/src-ts/runtime-executables/www/storagefarm-summary.ts && eslint -c ui/eslint.tariff-display-ui.config.mjs ui/src-ts/runtime-executables/www/tariff-display.ts && eslint -c ui/eslint.live-display-ui.config.mjs ui/src-ts/runtime-executables/www/live-display.ts && eslint -c modules/devices/eslint.hosted.config.mjs modules/devices/lib/drivers/modbusSerialLease.js modules/devices/lib/drivers/modbusRtuBus.js modules/devices/lib/drivers/modbusAsciiBus.js && eslint -c ui/eslint.storagefarm-dispatch-ui.config.mjs ui/src-ts/runtime-executables/www/storagefarm-dispatch.ts && eslint -c ui/eslint.influx-direct.config.mjs ui/src-ts/runtime-executables/lib/influx-direct.ts && eslint -c ui/eslint.influx-security.config.mjs ui/src-ts/runtime-executables/lib/influx-config.ts ui/src-ts/runtime-executables/lib/influx-network-policy.ts && eslint -c ui/eslint.history-setup-ui.config.mjs ui/src-admin-tab/src/lib/historySetup.ts ui/src-admin-tab/src/pages/HistorySetupPage.tsx && eslint -c ui/eslint.influx-history-runtime.config.mjs ui/src-ts/runtime-executables/lib/influx-history-runtime.ts && eslint -c modules/devices/eslint.hosted.config.mjs modules/devices/lib/drivers/mqtt.js modules/devices/lib/drivers/mqttPendingOperations.js && eslint -c ui/eslint.eos-updates-ui.config.mjs ui/src-ts/runtime-executables/www/eos-updates.ts && eslint -c eslint.unified.config.mjs src/lib/eosHistoryBackupScope.js && eslint -c ui/eslint.postgres-history.config.mjs ui/src-ts/runtime-executables/lib/postgres-history.ts ui/src-ts/runtime-executables/lib/postgres-history-config.ts && eslint -c ui/eslint.ems-control-values.config.mjs ui/src-ts/runtime-executables/lib/ems-control-values.ts ui/src-ts/runtime-executables/lib/charging-point-identity.ts ui/src-ts/runtime-executables/lib/charging-station-identity.ts && eslint -c ui/eslint.flow-measurement.config.mjs ui/src-ts/runtime-executables/lib/flow-measurement.ts && eslint -c ui/eslint.ocpp-limit-feedback.config.mjs ui/src-ts/runtime-executables/lib/ocpp-limit-feedback.ts && eslint -c ui/eslint.ocpp-auto-discovery.config.mjs ui/src-ts/runtime-executables/lib/ocpp-auto-discovery.ts && eslint -c eslint.runtime-health.config.mjs src/lib/eosRuntimeHealth.js public/eos-runtime/index.js && eslint -c eslint.unified.config.mjs src/lib/eosModuleProcess.js src/lib/eosModuleProcessProtocol.js src/lib/eosModuleProcessWorker.js && eslint -c eslint.config.mjs src/lib/eosUiProcess.ts src/lib/eosUiProcessRpc.ts src/lib/eosUiProcessWorker.ts src/lib/eosUiSecretCodec.ts src/lib/eosKiosk.ts && eslint -c eslint.ocpp-admin.config.mjs modules/ocpp/admin/index.js && eslint -c modules/ocpp/eslint.config.mjs modules/ocpp/src/*.ts && eslint -c eslint.backup-admin.config.mjs modules/backup/admin/index.js && eslint -c eslint.unified.config.mjs tools/nexowatt-generate-eos-admin-repo-entry.cjs tools/nexowatt-patch-repo.cjs tools/nexowatt-repair-eos-admin-update.cjs",
|
|
260
|
+
"lint:unified": "eslint -c eslint.unified.config.mjs src/lib/eosUnifiedBoundary.js src/lib/eosSessionSecurity.js src/lib/eosCookieNamespace.js src/lib/eosNewsSecurity.js src/lib/eosRolePolicy.js src/lib/eosSocketSecret.js src/lib/eosUnifiedOwnership.js src/lib/eosLicenseCore.js src/lib/eosLicensePolicy.js src/lib/eosLicenseService.js src/lib/eosLicenseTrust.js src/lib/eosLicenseHttp.js tools/eos-release-check.cjs tools/eos-prepare-publish.cjs tools/eos-release-evidence.cjs tools/eos-release-manifest.cjs tools/eos-migration-plan.cjs tools/eos-access-diagnostics.cjs tools/eos-coexistence-recovery.cjs deploy/render-ingress.cjs tools/eos-sbom-vendored.cjs src/lib/eosDeviceEmsPlan.js src/lib/eosDeviceEmsService.js src/lib/eosRuntimeControl.js src/lib/eosModuleHost.js src/lib/eosModuleHttp.js src/lib/eosModuleConfigStore.js src/lib/eosLegacyMigration.js tools/eos-tls-issuer.cjs && eslint -c modules/backup/eslint.config.mjs modules/backup/src && eslint -c ui/eslint.smarthome-activation.config.mjs ui/src-ts/runtime-executables/lib/smarthome-activation.ts && eslint -c ui/eslint.preserved-ui-config.config.mjs ui/src-ts/runtime-executables/lib/preserved-ui-config.ts && eslint -c ui/eslint.smarthome-feedback.config.mjs ui/src-ts/runtime-executables/www/smarthome-feedback.ts && eslint -c ui/eslint.smarthome-touch.config.mjs ui/src-ts/runtime-executables/www/smarthome-touch.ts && eslint -c ui/eslint.smarthome-presentation.config.mjs ui/src-ts/runtime-executables/www/smarthome-presentation.ts && eslint -c ui/eslint.smarthome-device-controls.config.mjs ui/src-ts/runtime-executables/lib/smarthome-device-controls.ts && eslint -c ui/eslint.smarthome-device-api.config.mjs ui/src-ts/runtime-executables/lib/smarthome-device-api.ts && eslint -c ui/eslint.smarthome-device-detection.config.mjs ui/src-ts/runtime-executables/lib/smarthome-device-detection.ts && eslint -c ui/eslint.smarthome-device-config.config.mjs ui/src-ts/runtime-executables/www/smarthome-device-config.ts && eslint -c ui/eslint.smarthome-device-controls-browser.config.mjs ui/src-ts/runtime-executables/www/smarthome-device-controls.ts && eslint -c ui/eslint.smarthome-custom-views.config.mjs ui/src-ts/runtime-executables/www/smarthome-custom-views.ts && eslint -c ui/eslint.smarthome-custom-contract.config.mjs ui/src-ts/runtime-executables/lib/smarthome-custom-contract.ts && eslint -c ui/eslint.smarthome-custom-config.config.mjs ui/src-ts/runtime-executables/www/smarthome-custom-config.ts && eslint -c ui/eslint.smarthome-device-legacy.config.mjs ui/src-ts/runtime-executables/lib/smarthome-device-legacy.ts && eslint -c ui/eslint.smarthome-device-aliases.config.mjs ui/src-ts/runtime-executables/lib/smarthome-device-aliases.ts && eslint -c ui/eslint.smarthome-alias-config.config.mjs ui/src-ts/runtime-executables/www/smarthome-alias-config.ts && eslint -c ui/eslint.smarthome-device-categories.config.mjs ui/src-ts/runtime-executables/www/smarthome-device-categories.ts && eslint -c ui/eslint.smarthome-layout-editor.config.mjs ui/src-ts/runtime-executables/www/smarthome-layout-editor.ts && eslint -c ui/eslint.hosted-runtime-stop.config.mjs ui/src-ts/runtime-executables/lib/hosted-runtime-stop.ts && eslint -c ui/eslint.hosted-adapter.config.mjs ui/src-ts/runtime-executables/lib/hosted-adapter.ts && eslint -c ui/eslint.smarthome-setup.config.mjs ui/src-ts/runtime-executables/www/smarthome-setup.ts && eslint -c ui/eslint.hosted-startup-status.config.mjs ui/src-ts/runtime-executables/lib/hosted-startup-status.ts && eslint -c ui/eslint.eos-session-idle.config.mjs ui/src-ts/runtime-executables/www/eos-session-idle.ts ui/src-ts/runtime-executables/www/eos-kiosk-settings.ts ui/src-ts/runtime-executables/www/login.ts && eslint -c modules/devices/eslint.hosted.config.mjs modules/devices/admin/ems-assignment.js && eslint -c ui/eslint.installer-lifecycle.config.mjs ui/src-ts/runtime-executables/lib/installer-lifecycle.ts ui/src-ts/runtime-executables/lib/storage-farm-overview.ts ui/src-ts/runtime-executables/lib/tariff-price.ts && eslint -c ui/eslint.customer-tariff.config.mjs ui/src-ts/runtime-executables/lib/customer-tariff.ts && eslint -c ui/eslint.customer-tariff-ui.config.mjs ui/src-ts/runtime-executables/www/customer-tariff.ts && eslint -c modules/devices/eslint.hosted.config.mjs modules/devices/lib/deviceAliasSemantics.js modules/devices/lib/deviceAliasFreshness.js && eslint -c ui/eslint.power-measurements.config.mjs ui/src-ts/runtime-executables/www/power-measurements.ts && eslint -c ui/eslint.storagefarm-summary-ui.config.mjs ui/src-ts/runtime-executables/www/storagefarm-summary.ts && eslint -c ui/eslint.tariff-display-ui.config.mjs ui/src-ts/runtime-executables/www/tariff-display.ts && eslint -c ui/eslint.live-display-ui.config.mjs ui/src-ts/runtime-executables/www/live-display.ts && eslint -c modules/devices/eslint.hosted.config.mjs modules/devices/lib/drivers/modbusSerialLease.js modules/devices/lib/drivers/modbusRtuBus.js modules/devices/lib/drivers/modbusAsciiBus.js && eslint -c ui/eslint.storagefarm-dispatch-ui.config.mjs ui/src-ts/runtime-executables/www/storagefarm-dispatch.ts && eslint -c ui/eslint.influx-direct.config.mjs ui/src-ts/runtime-executables/lib/influx-direct.ts && eslint -c ui/eslint.influx-security.config.mjs ui/src-ts/runtime-executables/lib/influx-config.ts ui/src-ts/runtime-executables/lib/influx-network-policy.ts && eslint -c ui/eslint.history-setup-ui.config.mjs ui/src-admin-tab/src/lib/historySetup.ts ui/src-admin-tab/src/pages/HistorySetupPage.tsx && eslint -c ui/eslint.influx-history-runtime.config.mjs ui/src-ts/runtime-executables/lib/influx-history-runtime.ts && eslint -c modules/devices/eslint.hosted.config.mjs modules/devices/lib/drivers/mqtt.js modules/devices/lib/drivers/mqttPendingOperations.js && eslint -c ui/eslint.eos-updates-ui.config.mjs ui/src-ts/runtime-executables/www/eos-updates.ts && eslint -c eslint.unified.config.mjs src/lib/eosHistoryBackupScope.js && eslint -c ui/eslint.postgres-history.config.mjs ui/src-ts/runtime-executables/lib/postgres-history.ts ui/src-ts/runtime-executables/lib/postgres-history-config.ts && eslint -c ui/eslint.ems-control-values.config.mjs ui/src-ts/runtime-executables/lib/ems-control-values.ts ui/src-ts/runtime-executables/lib/charging-point-identity.ts ui/src-ts/runtime-executables/lib/charging-station-identity.ts && eslint -c ui/eslint.flow-measurement.config.mjs ui/src-ts/runtime-executables/lib/flow-measurement.ts && eslint -c ui/eslint.ocpp-limit-feedback.config.mjs ui/src-ts/runtime-executables/lib/ocpp-limit-feedback.ts && eslint -c ui/eslint.ocpp-auto-discovery.config.mjs ui/src-ts/runtime-executables/lib/ocpp-auto-discovery.ts && eslint -c eslint.runtime-health.config.mjs src/lib/eosRuntimeHealth.js public/eos-runtime/index.js && eslint -c eslint.unified.config.mjs src/lib/eosModuleProcess.js src/lib/eosModuleProcessProtocol.js src/lib/eosModuleProcessWorker.js && eslint -c eslint.config.mjs src/lib/eosSplitRuntime.ts src/lib/eosUiProcess.ts src/lib/eosUiProcessRpc.ts src/lib/eosUiProcessWorker.ts src/lib/eosUiSecretCodec.ts src/lib/eosKiosk.ts && eslint -c eslint.ocpp-admin.config.mjs modules/ocpp/admin/index.js && eslint -c modules/ocpp/eslint.config.mjs modules/ocpp/src/*.ts && eslint -c eslint.backup-admin.config.mjs modules/backup/admin/index.js && eslint -c eslint.unified.config.mjs tools/nexowatt-generate-eos-admin-repo-entry.cjs tools/nexowatt-patch-repo.cjs tools/nexowatt-repair-eos-admin-update.cjs",
|
|
259
261
|
"test:modules": "node --test --test-timeout=180000 --test-concurrency=4 test/eos-hosted-eebus-bridge.test.cjs test/eos-module*.test.cjs test/eos-discovery.test.cjs modules/devices/test/*.test.* modules/eebus/test/*.test.* modules/ocpp/test/*.test.* && node --test --test-timeout=180000 --test-concurrency=4 modules/eebus/test/config.js modules/eebus/test/cls-control-parser.js modules/eebus/test/nexowatt-bridge.js modules/eebus/test/implementation-result-order.js && node --test --test-timeout=180000 --test-concurrency=4 modules/backup/test/*.test.cjs",
|
|
260
262
|
"build:modules": "tsc -p modules/eebus/tsconfig.json && tsc -p modules/backup/tsconfig.json && tsc -p modules/ocpp/tsconfig.json",
|
|
261
263
|
"test:installed-package": "node --no-global-search-paths --test --test-timeout=180000 test/eos-installed-package.integration.cjs"
|
|
@@ -270,7 +272,7 @@
|
|
|
270
272
|
},
|
|
271
273
|
"nexowattReleasePolicy": {
|
|
272
274
|
"distTag": "next",
|
|
273
|
-
"purpose": "NexoWatt EOS 9.0.
|
|
275
|
+
"purpose": "NexoWatt EOS 9.0.30: separate EMS and presentation processes, expiring datapoint picker index, and on-demand device driver loading; controlled integration test release."
|
|
274
276
|
},
|
|
275
277
|
"publisher": "NexoWatt",
|
|
276
278
|
"nexowattUpstream": {
|