iobroker.eos-admin 9.0.29 → 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 -13
- 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-DXp4Dgkx.js → AdapterUpdateDialog-qC6MANmq.js} +1 -1
- package/adminWww/assets/{Adapters-1AOp__74.js → Adapters-C8quekd0.js} +1 -1
- package/adminWww/assets/{ConfigManager-CGGXU4Jp.js → ConfigManager-hRZCAWRy.js} +1 -1
- package/adminWww/assets/{Enums-Bl4EngJF.js → Enums-Dd0Z2KfV.js} +1 -1
- package/adminWww/assets/{Fields-zSEjRWOB.js → Fields-WfHFtdYw.js} +1 -1
- package/adminWww/assets/{Files-CnYmjEbu.js → Files-DyG14v5-.js} +1 -1
- package/adminWww/assets/{Hosts-zFJyiuvd.js → Hosts-3pSXVMxW.js} +1 -1
- package/adminWww/assets/{Instances-D10dnQY4.js → Instances-DT6fp_TN.js} +1 -1
- package/adminWww/assets/{Intro-DxLBfGZ8.js → Intro-C6pMFhbu.js} +1 -1
- package/adminWww/assets/{Logs-CAc6o-d_.js → Logs-suepwNkZ.js} +1 -1
- package/adminWww/assets/{Objects-I64lF3ZS.js → Objects-CpjVeEjv.js} +1 -1
- package/adminWww/assets/{Overview-BQ7HBH-7.js → Overview-CxZJgF7X.js} +1 -1
- package/adminWww/assets/{State-DHLL8gAc.js → State-CUsia7sz.js} +1 -1
- package/adminWww/assets/{UsedResources-DlQ_XqoR.js → UsedResources-C3zr7pM8.js} +1 -1
- package/adminWww/assets/{Users-CKHDvxG5.js → Users-BoBSUBkO.js} +1 -1
- package/adminWww/assets/{bootstrap-CIDT4MeX.js → bootstrap-CM9qXoc1.js} +3 -3
- package/adminWww/assets/{hostInit-Cvl4lPGh.js → hostInit-BQPg9kSQ.js} +1 -1
- package/adminWww/assets/{icons-material-ngdwOXrt.js → icons-material-CDhwkQ0o.js} +1 -1
- package/adminWww/assets/{index-B9Tfj1YG.js → index-BrXN_pu2.js} +2 -2
- package/adminWww/assets/{installSVGRenderer-COP6GC9p.js → installSVGRenderer-BEgWxsNI.js} +1 -1
- package/adminWww/assets/{mf-entry-bootstrap-0-31191d2e.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/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 +2 -2
- package/docs/reports/unified-9.0.30/PRUEFBERICHT.md +37 -0
- package/docs/reports/{unified-9.0.29 → unified-9.0.30}/PRUEFERGEBNISSE.json +13 -13
- 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.29 → unified-9.0.30}/raw/backend.log +1 -1
- 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.29 → unified-9.0.30}/raw/frontend.log +25 -25
- package/docs/reports/{unified-9.0.29 → unified-9.0.30}/raw/installer.log +4 -4
- package/docs/reports/{unified-9.0.29 → unified-9.0.30}/raw/lint.log +2 -2
- package/docs/reports/{unified-9.0.29 → unified-9.0.30}/raw/modules.log +1 -1
- package/docs/reports/unified-9.0.30/raw/node22-profile.json +611 -0
- package/docs/reports/{unified-9.0.29 → unified-9.0.30}/raw/node22-tests-final.log +5272 -5206
- package/docs/reports/unified-9.0.30/raw/node24-profile.json +611 -0
- package/docs/reports/{unified-9.0.29 → unified-9.0.30}/raw/node24-tests-final.log +2774 -2764
- 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.29 → unified-9.0.30}/raw/typecheck.log +1 -1
- package/docs/reports/{unified-9.0.29 → unified-9.0.30}/raw/ui-runtime.log +3 -2
- package/docs/start/START_HIER_9.0.30.md +16 -0
- package/docs/unified/ARCHITECTURE.md +18 -12
- package/io-package.json +8 -8
- 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 +6 -6
- package/public/eos-runtime/index.js +7 -6
- package/release-manifests/unified/build-environment.cdx.json +6 -6
- package/release-manifests/unified/files.json +136 -96
- 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 +89 -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 +2 -2
- 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.29.js +0 -12
- package/docs/reports/unified-9.0.29/PRUEFBERICHT.md +0 -30
- package/docs/reports/unified-9.0.29/raw/INDEX.json +0 -97
- package/docs/reports/unified-9.0.29/raw/tls-targeted-build-node22.log +0 -139
- package/docs/reports/unified-9.0.29/raw/tls-targeted-node24.log +0 -132
- package/docs/start/START_HIER_9.0.29.md +0 -22
- /package/docs/reports/{unified-9.0.29 → unified-9.0.30}/raw/node22-version.log +0 -0
- /package/docs/reports/{unified-9.0.29 → unified-9.0.30}/raw/node24-version.log +0 -0
- /package/docs/reports/{unified-9.0.29 → unified-9.0.30}/raw/npm-audit-runtime.json +0 -0
- /package/docs/reports/{unified-9.0.29/raw/tls-lint.log → unified-9.0.30/raw/split-lint.log} +0 -0
|
@@ -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
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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
2
|
|
|
3
|
-
> iobroker.eos-admin@9.0.
|
|
3
|
+
> iobroker.eos-admin@9.0.30 typecheck
|
|
4
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
5
|
|
|
@@ -1,7 +1,8 @@
|
|
|
1
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
2
|
|
|
3
|
-
> iobroker.eos-admin@9.0.
|
|
3
|
+
> iobroker.eos-admin@9.0.30 build:ui-runtime
|
|
4
4
|
> node ui/scripts/build-smarthome-markdown.cjs && node ui/scripts/build-ts-runtime-executables.js
|
|
5
5
|
|
|
6
6
|
SmartHome GFM parser: 48 existing dependency licenses retained.
|
|
7
|
-
[ts-runtime-executables] OK:
|
|
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
|
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,10 @@
|
|
|
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
|
+
},
|
|
21
25
|
"9.0.29": {
|
|
22
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.",
|
|
23
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."
|
|
@@ -93,10 +97,6 @@
|
|
|
93
97
|
"9.0.11": {
|
|
94
98
|
"en": "Bounded startup recovery for legacy handover; confirmed shutdown before rollback and blocked late operational starts. Verified tarball publishing workflow for Windows.",
|
|
95
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."
|
|
96
|
-
},
|
|
97
|
-
"9.0.10": {
|
|
98
|
-
"en": "Device profiles, linked aliases and TypeDetector 6.2 with preserved mappings; full-width SmartHome configuration, sortable tiles and colorful category controls.",
|
|
99
|
-
"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."
|
|
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",
|
|
@@ -232,8 +232,8 @@
|
|
|
232
232
|
"docs/reports/unified-9.0.27/",
|
|
233
233
|
"docs/start/START_HIER_9.0.28.md",
|
|
234
234
|
"docs/reports/unified-9.0.28/",
|
|
235
|
-
"docs/start/START_HIER_9.0.
|
|
236
|
-
"docs/reports/unified-9.0.
|
|
235
|
+
"docs/start/START_HIER_9.0.30.md",
|
|
236
|
+
"docs/reports/unified-9.0.30/"
|
|
237
237
|
],
|
|
238
238
|
"scripts": {
|
|
239
239
|
"start": "cd src-admin && npm run start",
|
|
@@ -244,7 +244,7 @@
|
|
|
244
244
|
"build:ui-runtime": "node ui/scripts/build-smarthome-markdown.cjs && node ui/scripts/build-ts-runtime-executables.js",
|
|
245
245
|
"lint-backend": "eslint -c eslint.config.mjs src && npm run lint:unified",
|
|
246
246
|
"lint": "npm run lint-backend && cd src-admin && npm run lint",
|
|
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-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",
|
|
248
248
|
"check:unified": "node tools/eos-release-check.cjs",
|
|
249
249
|
"seal:unified": "node tools/eos-release-manifest.cjs --write",
|
|
250
250
|
"prepack": "node tools/eos-prepare-publish.cjs && node tools/eos-release-check.cjs",
|
|
@@ -257,7 +257,7 @@
|
|
|
257
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",
|
|
258
258
|
"build:installer": "npm --prefix ui/src-admin-tab run build",
|
|
259
259
|
"sbom": "npm sbom --sbom-format=cyclonedx > release-manifests/unified/build-environment.cdx.json && node tools/eos-sbom-vendored.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/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",
|
|
261
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",
|
|
262
262
|
"build:modules": "tsc -p modules/eebus/tsconfig.json && tsc -p modules/backup/tsconfig.json && tsc -p modules/ocpp/tsconfig.json",
|
|
263
263
|
"test:installed-package": "node --no-global-search-paths --test --test-timeout=180000 test/eos-installed-package.integration.cjs"
|
|
@@ -272,7 +272,7 @@
|
|
|
272
272
|
},
|
|
273
273
|
"nexowattReleasePolicy": {
|
|
274
274
|
"distTag": "next",
|
|
275
|
-
"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."
|
|
276
276
|
},
|
|
277
277
|
"publisher": "NexoWatt",
|
|
278
278
|
"nexowattUpstream": {
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/** @type {Record<string,string>} */ const states = { running: 'Läuft', starting: 'Startet', stopping: 'Wird beendet',
|
|
6
6
|
stopped: 'Beendet', disabled: 'Deaktiviert', moduleDisabled: 'Modul deaktiviert', blocked: 'Start blockiert', notStarted: 'Nicht gestartet',
|
|
7
7
|
error: 'Fehler', failed: 'Fehler', backoff: 'Neustart wartet', unknown: 'Unbestätigt' };
|
|
8
|
-
/** @type {Record<string,string>} */ const labels = { admin: 'EOS Administration', ui: 'Oberfläche
|
|
8
|
+
/** @type {Record<string,string>} */ const labels = { admin: 'EOS Administration', ui: 'Oberfläche', ems: 'Energiemanagement (EMS)', devices: 'Geräte', eebus: 'EEBus', backup: 'Sicherung', ocpp: 'OCPP-Ladestationen' };
|
|
9
9
|
/** @type {Record<string,string>} */ const errors = {
|
|
10
10
|
AUTHENTICATION_REQUIRED: 'Bitte erneut bei EOS anmelden.',
|
|
11
11
|
ADMIN_REQUIRED: 'Für die Prozessbedienung ist eine Administratoranmeldung erforderlich.',
|
|
@@ -112,10 +112,11 @@
|
|
|
112
112
|
if (!entry) note.textContent = 'Prozessbedienung derzeit nicht verfügbar. Status aktualisieren.';
|
|
113
113
|
else if (entry.busy) note.textContent = 'Steuerauftrag läuft. Der bestätigte Prozessstatus wird automatisch aktualisiert.';
|
|
114
114
|
else if (entry.reason) { note.textContent = explanation(entry.reason); note.classList.add('is-blocked'); }
|
|
115
|
-
else if (id === 'ui') note.textContent = 'Deaktivieren beendet Oberfläche
|
|
115
|
+
else if (id === 'ui') note.textContent = 'Deaktivieren beendet die Oberfläche. Die Administration und diese Seite bleiben erreichbar.';
|
|
116
|
+
else if (id === 'ems') note.textContent = 'Deaktivieren hält die EMS-Regelung an. Aktivieren startet sie mit der gespeicherten Konfiguration.';
|
|
116
117
|
else note.textContent = 'Aktivieren schaltet Modul und Prozess gemeinsam ein. Deaktivieren beendet den Prozess; die Konfiguration bleibt gespeichert.';
|
|
117
118
|
card.append(actions, note);
|
|
118
|
-
if (id !== 'ui') {
|
|
119
|
+
if (id !== 'ui' && id !== 'ems') {
|
|
119
120
|
const link = document.createElement('a'); link.className = 'runtime-config-link'; link.href = `/modules/${id}/`;
|
|
120
121
|
link.textContent = 'Moduleinstellungen öffnen'; card.append(link);
|
|
121
122
|
}
|
|
@@ -127,7 +128,7 @@
|
|
|
127
128
|
/** @param {unknown} input */
|
|
128
129
|
function render(input) {
|
|
129
130
|
const value = record(input); const now = Date.now();
|
|
130
|
-
if (!Array.isArray(value.processes) || value.processes.length >
|
|
131
|
+
if (!Array.isArray(value.processes) || value.processes.length > 39 || typeof value.observedAt !== 'number' ||
|
|
131
132
|
!Number.isSafeInteger(value.observedAt) || value.observedAt > now + 5000 || now - value.observedAt > 15000) throw new Error('EOS_RUNTIME_INVALID_STATUS');
|
|
132
133
|
const fragment = document.createDocumentFragment(); const seen = new Set(); let external = false;
|
|
133
134
|
controls.clear(); csrf = typeof value.csrfToken === 'string' && value.csrfToken.length >= 16 && value.csrfToken.length <= 512 ? value.csrfToken : '';
|
|
@@ -153,7 +154,7 @@
|
|
|
153
154
|
const fields = document.createElement('dl');
|
|
154
155
|
field(fields, 'Prozessnummer (PID)', ['running', 'starting', 'stopping'].includes(state) && typeof row.pid === 'number' && row.pid > 0 ? natural(row.pid) : 'Unbekannt');
|
|
155
156
|
field(fields, isExternal ? 'Controller meldet aktiv' : id === 'ui' ? 'Oberfläche aktiv' : id === 'admin' ? 'Administration erreichbar' : 'Betrieb freigegeben', boolean(row.active, 'Ja', 'Nein'));
|
|
156
|
-
if (id === '
|
|
157
|
+
if (id === 'ems') field(fields, 'EMS bereit', boolean(row.emsReady, 'Ja', 'Nein'));
|
|
157
158
|
if (isExternal) field(fields, 'OCPP-Verbindung', boolean(row.connected, 'Verbunden', 'Getrennt'));
|
|
158
159
|
if (!isExternal && id !== 'admin') {
|
|
159
160
|
if (entry) field(fields, 'Prozessfreigabe', entry.enabled ? 'Aktiviert' : 'Deaktiviert');
|
|
@@ -179,7 +180,7 @@
|
|
|
179
180
|
}
|
|
180
181
|
fragment.append(card);
|
|
181
182
|
}
|
|
182
|
-
if (!seen.has('admin') || !seen.has('ui')) throw new Error('EOS_RUNTIME_INVALID_STATUS');
|
|
183
|
+
if (!seen.has('admin') || !seen.has('ui') || !seen.has('ems')) throw new Error('EOS_RUNTIME_INVALID_STATUS');
|
|
183
184
|
list.replaceChildren(fragment); element('observed-at').textContent = `Abfrage bestätigt: ${date(value.observedAt)}`;
|
|
184
185
|
element('external-note').textContent = external ? 'Zusätzlich vorhandene OCPP-Adapter werden separat angezeigt. Ihre Prozessnummer stammt ausschließlich aus bestätigten Controller-Meldungen. Ein gleichzeitig laufender Altadapter muss vor der Übernahme vollständig beendet sein.' : 'Das integrierte OCPP-Modul läuft als eigener EOS-Prozess. Es ist keine zusätzliche aktive OCPP-Adapterinstanz erfasst.';
|
|
185
186
|
message.textContent = 'Prozessstatus aktualisiert.'; message.className = '';
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"$schema": "http://cyclonedx.org/schema/bom-1.5.schema.json",
|
|
3
3
|
"bomFormat": "CycloneDX",
|
|
4
4
|
"specVersion": "1.5",
|
|
5
|
-
"serialNumber": "urn:uuid:
|
|
5
|
+
"serialNumber": "urn:uuid:da70298e-9e1a-4d31-9196-c4ffd65dc39a",
|
|
6
6
|
"version": 1,
|
|
7
7
|
"metadata": {
|
|
8
|
-
"timestamp": "2026-11-26T09:
|
|
8
|
+
"timestamp": "2026-11-26T09:57:27.766Z",
|
|
9
9
|
"lifecycles": [
|
|
10
10
|
{
|
|
11
11
|
"phase": "pre-build"
|
|
@@ -19,14 +19,14 @@
|
|
|
19
19
|
}
|
|
20
20
|
],
|
|
21
21
|
"component": {
|
|
22
|
-
"bom-ref": "iobroker.eos-admin@9.0.
|
|
22
|
+
"bom-ref": "iobroker.eos-admin@9.0.30",
|
|
23
23
|
"type": "library",
|
|
24
24
|
"name": "iobroker.eos-admin",
|
|
25
|
-
"version": "9.0.
|
|
25
|
+
"version": "9.0.30",
|
|
26
26
|
"scope": "required",
|
|
27
27
|
"author": "NexoWatt",
|
|
28
28
|
"description": "NexoWatt EOS: licensed local energy management, dashboard and ioBroker system administration in one adapter.",
|
|
29
|
-
"purl": "pkg:npm/iobroker.eos-admin@9.0.
|
|
29
|
+
"purl": "pkg:npm/iobroker.eos-admin@9.0.30",
|
|
30
30
|
"properties": [],
|
|
31
31
|
"externalReferences": []
|
|
32
32
|
}
|
|
@@ -26355,7 +26355,7 @@
|
|
|
26355
26355
|
],
|
|
26356
26356
|
"dependencies": [
|
|
26357
26357
|
{
|
|
26358
|
-
"ref": "iobroker.eos-admin@9.0.
|
|
26358
|
+
"ref": "iobroker.eos-admin@9.0.30",
|
|
26359
26359
|
"dependsOn": [
|
|
26360
26360
|
"@iobroker/adapter-core@3.4.3",
|
|
26361
26361
|
"@iobroker/plugin-docker@1.2.1",
|