iobroker.eos-admin 9.0.34 → 9.0.36
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 +10 -10
- package/README.md +16 -4
- package/adminWww/.vite/manifest.json +39 -39
- package/adminWww/NEXOWATT_EOS_FRONTEND_MANIFEST.json +107 -107
- package/adminWww/assets/{AdapterUpdateDialog-5L75o18m.js → AdapterUpdateDialog-D2nDWE_N.js} +1 -1
- package/adminWww/assets/{Adapters-FcghjF7E.js → Adapters-D0sVqNBU.js} +1 -1
- package/adminWww/assets/{ConfigManager-BnHarBfH.js → ConfigManager-Zm7UoaaN.js} +1 -1
- package/adminWww/assets/{Enums-BjLbLLQL.js → Enums-BGL7pR-O.js} +1 -1
- package/adminWww/assets/{Fields-DDE1hVOa.js → Fields-A8J3u1yq.js} +1 -1
- package/adminWww/assets/{Files-CDjnR4q6.js → Files-CQPjCvW6.js} +1 -1
- package/adminWww/assets/{Hosts-CJKQaNrD.js → Hosts-CxzkkNBj.js} +1 -1
- package/adminWww/assets/{Instances-DZNl369k.js → Instances-eEbEukDh.js} +1 -1
- package/adminWww/assets/{Intro-CjAmMGDB.js → Intro-I_Tknp0E.js} +1 -1
- package/adminWww/assets/{Logs-rUAV7SwM.js → Logs-C3GPz61Q.js} +1 -1
- package/adminWww/assets/{Objects-CqOH6rT_.js → Objects-DDnisxNB.js} +1 -1
- package/adminWww/assets/{Overview-BOtXqsMy.js → Overview-BpZFdEmp.js} +1 -1
- package/adminWww/assets/{State-C8ncThop.js → State-DY6Nw0SB.js} +1 -1
- package/adminWww/assets/{UsedResources-lUYJqy4F.js → UsedResources-CtUpdP2b.js} +1 -1
- package/adminWww/assets/{Users-CK1Cax82.js → Users-DcqlSfc5.js} +1 -1
- package/adminWww/assets/{bootstrap-CC0Qr-kr.js → bootstrap-Didkuj-F.js} +3 -3
- package/adminWww/assets/{hostInit-DqGL6nY8.js → hostInit-Chrs-wsg.js} +1 -1
- package/adminWww/assets/{icons-material-07rWS63O.js → icons-material-SqwOQW6y.js} +1 -1
- package/adminWww/assets/{index-BhhkToP2.js → index-CpDo61Mz.js} +2 -2
- package/adminWww/assets/{installSVGRenderer-B4-7lSQZ.js → installSVGRenderer-DZMZ3pJw.js} +1 -1
- package/adminWww/assets/{mf-entry-bootstrap-0-1afd2287.js → mf-entry-bootstrap-0-b0c4981a.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.34.js → remoteEntry-eos-9.0.36.js} +1 -1
- package/adminWww/remoteEntry.js +1 -1
- package/build/lib/eosDashboardProcessStatus.js +199 -0
- package/build/lib/eosDashboardProcessStatus.js.map +1 -0
- package/build/lib/eosKiosk.js +1 -0
- package/build/lib/eosKiosk.js.map +1 -1
- package/build/lib/eosLegacyMigration.js +142 -49
- package/build/lib/eosLegacyMigration.js.map +1 -1
- package/build/lib/eosLicenseService.js +9 -0
- package/build/lib/eosLicenseService.js.map +1 -1
- package/build/lib/eosModuleConfigStore.js +21 -8
- package/build/lib/eosModuleConfigStore.js.map +1 -1
- package/build/lib/eosModuleHost.js +284 -106
- package/build/lib/eosModuleHost.js.map +1 -1
- package/build/lib/eosModuleHttp.js +41 -8
- package/build/lib/eosModuleHttp.js.map +1 -1
- package/build/lib/eosModuleProcess.js +34 -6
- package/build/lib/eosModuleProcess.js.map +1 -1
- package/build/lib/eosModuleProcessWorker.js +56 -2
- package/build/lib/eosModuleProcessWorker.js.map +1 -1
- package/build/lib/eosRuntimeControl.js +54 -14
- package/build/lib/eosRuntimeControl.js.map +1 -1
- package/build/lib/eosRuntimeHealth.js +84 -7
- package/build/lib/eosRuntimeHealth.js.map +1 -1
- package/build/lib/eosSupervisorNotifications.js +169 -0
- package/build/lib/eosSupervisorNotifications.js.map +1 -0
- package/build/lib/eosUiProcess.js +43 -4
- package/build/lib/eosUiProcess.js.map +1 -1
- package/build/lib/eosUiProcessWorker.js +21 -0
- package/build/lib/eosUiProcessWorker.js.map +1 -1
- package/build/lib/eosUnifiedOwnership.js +10 -8
- package/build/lib/eosUnifiedOwnership.js.map +1 -1
- package/build/lib/web.js +33 -24
- package/build/lib/web.js.map +1 -1
- package/build/main.js +35 -0
- package/build/main.js.map +1 -1
- package/docs/README.md +2 -0
- package/docs/reports/unified-9.0.35/PRUEFBERICHT.md +51 -0
- package/docs/reports/unified-9.0.35/PRUEFERGEBNISSE.json +112 -0
- package/docs/reports/unified-9.0.35/raw/INDEX.json +282 -0
- package/docs/reports/unified-9.0.35/raw/backend.log +5 -0
- package/docs/reports/unified-9.0.35/raw/browser-lp-detail.log +1 -0
- package/docs/reports/unified-9.0.35/raw/browser-lp-feedback.log +1 -0
- package/docs/reports/unified-9.0.35/raw/cold-ocpp-22.log +108 -0
- package/docs/reports/unified-9.0.35/raw/cold-ocpp-24.log +24 -0
- package/docs/reports/unified-9.0.35/raw/core-final-node22.log +1439 -0
- package/docs/reports/unified-9.0.35/raw/core-final-node24.log +1381 -0
- package/docs/reports/unified-9.0.35/raw/dashboard-de-en-nl.json +716 -0
- package/docs/reports/unified-9.0.35/raw/device-chain-closed-fixed.json +98 -0
- package/docs/reports/unified-9.0.35/raw/device-chain-rst-fixed.json +98 -0
- package/docs/reports/unified-9.0.35/raw/device-chain.json +93 -0
- package/docs/reports/unified-9.0.35/raw/ee-fusion-final.log +12 -0
- package/docs/reports/unified-9.0.35/raw/eebus-monitor-browser.json +1 -0
- package/docs/reports/unified-9.0.35/raw/eebus-monitor-node22.log +206 -0
- package/docs/reports/unified-9.0.35/raw/eebus-monitor-node24.log +39 -0
- package/docs/reports/unified-9.0.35/raw/fixtures-verification.log +44 -0
- package/docs/reports/unified-9.0.35/raw/frontend.log +152 -0
- package/docs/reports/unified-9.0.35/raw/installer.log +26 -0
- package/docs/reports/unified-9.0.35/raw/legacy-mail-setup-browser.log +1 -0
- package/docs/reports/unified-9.0.35/raw/lint.log +45 -0
- package/docs/reports/unified-9.0.35/raw/live-ems-loss.log +10 -0
- package/docs/reports/unified-9.0.35/raw/modules.log +5 -0
- package/docs/reports/unified-9.0.35/raw/node22-mira-reconnect-integrity.log +452 -0
- package/docs/reports/unified-9.0.35/raw/node22-mira.log +222 -0
- package/docs/reports/unified-9.0.35/raw/node22-system-status.log +213 -0
- package/docs/reports/unified-9.0.35/raw/node22-tests-final.log +18137 -0
- package/docs/reports/unified-9.0.35/raw/node22-version.log +1 -0
- package/docs/reports/unified-9.0.35/raw/node24-mira-reconnect-integrity.log +79 -0
- package/docs/reports/unified-9.0.35/raw/node24-mira.log +41 -0
- package/docs/reports/unified-9.0.35/raw/node24-system-status.log +40 -0
- package/docs/reports/unified-9.0.35/raw/node24-tests-final.log +3019 -0
- package/docs/reports/unified-9.0.35/raw/node24-version.log +1 -0
- package/docs/reports/unified-9.0.35/raw/notifications-legacy-node22.log +1 -0
- package/docs/reports/unified-9.0.35/raw/notifications-legacy-node24.log +1 -0
- package/docs/reports/unified-9.0.35/raw/notifications-node22.log +67 -0
- package/docs/reports/unified-9.0.35/raw/notifications-node24.log +17 -0
- package/docs/reports/unified-9.0.35/raw/npm-runtime-audit.json +77 -0
- package/docs/reports/unified-9.0.35/raw/ocpp-dashboard-stations-node22.log +110 -0
- package/docs/reports/unified-9.0.35/raw/ocpp-dashboard-stations-node24.log +106 -0
- package/docs/reports/unified-9.0.35/raw/ocpp-history-node22.log +561 -0
- package/docs/reports/unified-9.0.35/raw/ocpp-history-node24.log +98 -0
- package/docs/reports/unified-9.0.35/raw/poll-life-node22.log +38 -0
- package/docs/reports/unified-9.0.35/raw/poll-life-node24.log +12 -0
- package/docs/reports/unified-9.0.35/raw/qa-source-check.log +2 -0
- package/docs/reports/unified-9.0.35/raw/release-metadata.log +13 -0
- package/docs/reports/unified-9.0.35/raw/sbom.log +8 -0
- package/docs/reports/unified-9.0.35/raw/typecheck.log +5 -0
- package/docs/reports/unified-9.0.35/raw/ui-runtime.log +8 -0
- package/docs/reports/unified-9.0.35/raw/vergleich-9.0.33.json +29 -0
- package/docs/reports/unified-9.0.35/raw/vergleich-9.0.34.json +249 -0
- package/docs/reports/unified-9.0.35/raw/vorher-9.0.33-chromium.json +286 -0
- package/docs/reports/unified-9.0.35/raw/vorher-9.0.34-chromium.json +291 -0
- package/docs/reports/unified-9.0.36/MIGRATION.md +25 -0
- package/docs/reports/unified-9.0.36/PRUEFBERICHT.md +61 -0
- package/docs/reports/unified-9.0.36/PRUEFERGEBNISSE.json +112 -0
- package/docs/reports/unified-9.0.36/raw/INDEX.json +262 -0
- package/docs/reports/unified-9.0.36/raw/admin-934-legacy-ui-reproduction.json +66 -0
- package/docs/reports/unified-9.0.36/raw/admin-936-legacy-ui-reproduction.json +64 -0
- package/docs/reports/unified-9.0.36/raw/admin-health-browser22.json +49 -0
- package/docs/reports/unified-9.0.36/raw/admin-health-browser24.json +49 -0
- package/docs/reports/unified-9.0.36/raw/admin-runtime-migration-browser22.json +80 -0
- package/docs/reports/unified-9.0.36/raw/admin-runtime-migration-browser24.json +80 -0
- package/docs/reports/unified-9.0.36/raw/backend.log +6 -0
- package/docs/reports/unified-9.0.36/raw/core-final-node22.log +1439 -0
- package/docs/reports/unified-9.0.36/raw/core-final-node24.log +1381 -0
- package/docs/reports/unified-9.0.36/raw/customer-934-node22-final.log +78 -0
- package/docs/reports/unified-9.0.36/raw/customer-934-node22-repeat.log +78 -0
- package/docs/reports/unified-9.0.36/raw/customer-935-node24-final.log +74 -0
- package/docs/reports/unified-9.0.36/raw/customer-935-node24-repeat.log +74 -0
- package/docs/reports/unified-9.0.36/raw/customer-admin-six-controls24.log +24 -0
- package/docs/reports/unified-9.0.36/raw/customer-earlier-pid-stop.log +22 -0
- package/docs/reports/unified-9.0.36/raw/customer-six-process-restart-node22.log +28 -0
- package/docs/reports/unified-9.0.36/raw/customer-six-process-restart-node24.log +24 -0
- package/docs/reports/unified-9.0.36/raw/dashboard-de-en-nl.json +728 -0
- package/docs/reports/unified-9.0.36/raw/fixtures-verification.log +44 -0
- package/docs/reports/unified-9.0.36/raw/frontend.log +152 -0
- package/docs/reports/unified-9.0.36/raw/installer.log +26 -0
- package/docs/reports/unified-9.0.36/raw/legacy-migration-node22.log +630 -0
- package/docs/reports/unified-9.0.36/raw/legacy-migration-node24.log +109 -0
- package/docs/reports/unified-9.0.36/raw/lint.log +45 -0
- package/docs/reports/unified-9.0.36/raw/module-standby-drain22.log +446 -0
- package/docs/reports/unified-9.0.36/raw/module-standby-drain24.log +80 -0
- package/docs/reports/unified-9.0.36/raw/module-standby-linux-memory.log +6 -0
- package/docs/reports/unified-9.0.36/raw/modules.log +5 -0
- package/docs/reports/unified-9.0.36/raw/node22-migration.log +1329 -0
- package/docs/reports/unified-9.0.36/raw/node22-mira.log +222 -0
- package/docs/reports/unified-9.0.36/raw/node22-system-status.log +225 -0
- package/docs/reports/unified-9.0.36/raw/node22-tests-final.log +18358 -0
- package/docs/reports/unified-9.0.36/raw/node22-version.log +1 -0
- package/docs/reports/unified-9.0.36/raw/node24-migration.log +1301 -0
- package/docs/reports/unified-9.0.36/raw/node24-mira.log +41 -0
- package/docs/reports/unified-9.0.36/raw/node24-system-status.log +42 -0
- package/docs/reports/unified-9.0.36/raw/node24-tests-final.log +3058 -0
- package/docs/reports/unified-9.0.36/raw/node24-version.log +1 -0
- package/docs/reports/unified-9.0.36/raw/npm-runtime-audit.json +77 -0
- package/docs/reports/unified-9.0.36/raw/ocpp-owner-isolation22.log +109 -0
- package/docs/reports/unified-9.0.36/raw/ocpp-owner-isolation24.log +24 -0
- package/docs/reports/unified-9.0.36/raw/qa-source-check.log +2 -0
- package/docs/reports/unified-9.0.36/raw/release-metadata.log +13 -0
- package/docs/reports/unified-9.0.36/raw/sbom.log +9 -0
- package/docs/reports/unified-9.0.36/raw/standby-independent-drain.log +4 -0
- package/docs/reports/unified-9.0.36/raw/standby-independent-sockets.log +3 -0
- package/docs/reports/unified-9.0.36/raw/typecheck.log +5 -0
- package/docs/reports/unified-9.0.36/raw/ui-runtime.log +8 -0
- package/docs/start/START_HIER_9.0.35.md +27 -0
- package/docs/start/START_HIER_9.0.36.md +32 -0
- package/docs/unified/ARCHITECTURE.md +6 -0
- package/io-package.json +12 -12
- package/modules/devices/contracts.d.ts +1 -0
- package/modules/devices/index.js +20 -1
- package/modules/devices/lib/deviceRuntime.js +19 -0
- package/modules/devices/lib/drivers/modbus.js +11 -6
- package/modules/devices/lib/drivers/ovumMira.js +7 -3
- package/modules/devices/test/ovumMiraTransport.test.js +40 -1
- package/modules/eebus/README.md +8 -0
- package/modules/eebus/admin/index.js +29 -2
- package/modules/eebus/build/index.js +28 -3
- package/modules/eebus/build/lib/eebusRuntime.js +17 -2
- package/modules/eebus/build/lib/partnerMonitor.js +160 -0
- package/modules/eebus/build/lib/shipEndpoint.js +4 -0
- package/modules/eebus/build/lib/stateDefinitions.js +1 -0
- package/modules/eebus/src/index.ts +23 -3
- package/modules/eebus/src/lib/eebusRuntime.ts +20 -2
- package/modules/eebus/src/lib/partnerMonitor.ts +127 -0
- package/modules/eebus/src/lib/shipEndpoint.ts +5 -0
- package/modules/eebus/src/lib/stateDefinitions.ts +1 -0
- package/modules/eebus/test/partner-monitor.test.js +82 -0
- package/modules/eebus/test/security.test.js +17 -0
- package/modules/ocpp/README.md +9 -1
- package/modules/ocpp/build/index.js +137 -10
- package/modules/ocpp/build/stationHistory.js +113 -0
- package/modules/ocpp/ocpp/freshness.d.ts +3 -0
- package/modules/ocpp/ocpp/freshness.js +6 -0
- package/modules/ocpp/provenance.json +3 -2
- package/modules/ocpp/runtime.d.ts +1 -0
- package/modules/ocpp/runtime.js +23 -1
- package/modules/ocpp/src/index.ts +163 -12
- package/modules/ocpp/src/stationHistory.ts +119 -0
- package/modules/ocpp/test/hosted.test.cjs +161 -0
- package/package.json +9 -5
- package/public/eos-migration/index.html +1 -1
- package/public/eos-migration/index.js +23 -7
- package/public/eos-runtime/index.js +82 -15
- package/release-manifests/unified/build-environment.cdx.json +6 -6
- package/release-manifests/unified/files.json +318 -181
- 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 +166 -0
- package/release-manifests/unified/runtime.cdx.json +30 -30
- package/release-manifests/unified/validation.json +15 -15
- package/tools/eos-release-manifest.cjs +1 -1
- package/ui/io-package.json +9 -1
- package/ui/lib/hosted-startup-status.js +2 -2
- package/ui/lib/notification-mail.js +235 -40
- package/ui/lib/notification-policy.js +41 -14
- package/ui/package.json +2 -1
- package/ui/www/app.js +91 -11
- package/ui/www/dashboard-lp-status.js +4 -11
- package/ui/www/dashboard-process-status.js +205 -0
- package/ui/www/i18n/en.json +24 -0
- package/ui/www/i18n/nl.json +21 -0
- package/ui/www/index.html +10 -5
- package/ui/www/live-display.js +106 -9
- package/ui/www/manifest.webmanifest +2 -2
- package/ui/www/settings.html +2 -2
- package/ui/www/styles.css +4 -0
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.36",
|
|
5
5
|
"contributors": [
|
|
6
6
|
"bluefox <dogafox@gmail.com>",
|
|
7
7
|
"apollon77",
|
|
@@ -240,7 +240,11 @@
|
|
|
240
240
|
"docs/start/START_HIER_9.0.33.md",
|
|
241
241
|
"docs/reports/unified-9.0.33/",
|
|
242
242
|
"docs/start/START_HIER_9.0.34.md",
|
|
243
|
-
"docs/reports/unified-9.0.34/"
|
|
243
|
+
"docs/reports/unified-9.0.34/",
|
|
244
|
+
"docs/start/START_HIER_9.0.35.md",
|
|
245
|
+
"docs/reports/unified-9.0.35/",
|
|
246
|
+
"docs/start/START_HIER_9.0.36.md",
|
|
247
|
+
"docs/reports/unified-9.0.36/"
|
|
244
248
|
],
|
|
245
249
|
"scripts": {
|
|
246
250
|
"start": "cd src-admin && npm run start",
|
|
@@ -251,7 +255,7 @@
|
|
|
251
255
|
"build:ui-runtime": "node ui/scripts/build-smarthome-markdown.cjs && node ui/scripts/build-ts-runtime-executables.js",
|
|
252
256
|
"lint-backend": "eslint -c eslint.config.mjs src && npm run lint:unified",
|
|
253
257
|
"lint": "npm run lint-backend && cd src-admin && npm run lint",
|
|
254
|
-
"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 test/eos-nvp-933-safety.test.cjs test/eos-prime-mover-pulse-recovery.test.cjs test/eos-sgready-interlock.test.cjs test/eos-mira-*.test.cjs",
|
|
258
|
+
"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 test/eos-nvp-933-safety.test.cjs test/eos-prime-mover-pulse-recovery.test.cjs test/eos-sgready-interlock.test.cjs test/eos-mira-*.test.cjs test/eos-dashboard-*.test.cjs test/eos-supervisor-notifications.test.cjs ui/scripts/verify-stable-1.0.7-notifications.cjs",
|
|
255
259
|
"check:unified": "node tools/eos-release-check.cjs",
|
|
256
260
|
"seal:unified": "node tools/eos-release-manifest.cjs --write",
|
|
257
261
|
"prepack": "node tools/eos-prepare-publish.cjs && node tools/eos-release-check.cjs",
|
|
@@ -264,7 +268,7 @@
|
|
|
264
268
|
"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",
|
|
265
269
|
"build:installer": "npm --prefix ui/src-admin-tab run build",
|
|
266
270
|
"sbom": "npm sbom --sbom-format=cyclonedx > release-manifests/unified/build-environment.cdx.json && node tools/eos-sbom-vendored.cjs",
|
|
267
|
-
"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",
|
|
271
|
+
"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 src/lib/eosDashboardProcessStatus.js src/lib/eosSupervisorNotifications.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",
|
|
268
272
|
"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",
|
|
269
273
|
"build:modules": "tsc -p modules/eebus/tsconfig.json && tsc -p modules/backup/tsconfig.json && tsc -p modules/ocpp/tsconfig.json",
|
|
270
274
|
"test:installed-package": "node --no-global-search-paths --test --test-timeout=180000 test/eos-installed-package.integration.cjs"
|
|
@@ -279,7 +283,7 @@
|
|
|
279
283
|
},
|
|
280
284
|
"nexowattReleasePolicy": {
|
|
281
285
|
"distTag": "next",
|
|
282
|
-
"purpose": "NexoWatt EOS 9.0.
|
|
286
|
+
"purpose": "NexoWatt EOS 9.0.36 controlled release for verified disabled legacy UI migration, module startup diagnostics and recovery."
|
|
283
287
|
},
|
|
284
288
|
"publisher": "NexoWatt",
|
|
285
289
|
"nexowattUpstream": {
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
<small class="eos-eyebrow">Aktueller Stand</small><h2 id="status-heading">Übernahme wird geprüft</h2>
|
|
28
28
|
<p id="phase-description"></p><p id="unchanged-notice" class="notice" hidden></p>
|
|
29
29
|
<dl class="eos-detail-list"><dt>Letzte Änderung</dt><dd id="updated-at">–</dd><dt>Meldung</dt><dd id="status-code">–</dd></dl>
|
|
30
|
-
<p id="reason-description"></p><button id="refresh" type="button">Status aktualisieren</button>
|
|
30
|
+
<p id="reason-description"></p><p id="scope-description" hidden></p><button id="refresh" type="button">Status aktualisieren</button>
|
|
31
31
|
</section>
|
|
32
32
|
<section class="eos-panel" aria-labelledby="sources-heading">
|
|
33
33
|
<small class="eos-eyebrow">Bisherige Adapter</small><h2 id="sources-heading">Erfasste Instanzen</h2>
|
|
@@ -17,20 +17,20 @@
|
|
|
17
17
|
};
|
|
18
18
|
const reasons = {
|
|
19
19
|
EOS_MIGRATION_LICENSE_REQUIRED: 'Die Bestandsübernahme wurde ohne gültige Systemfreigabe noch nicht geprüft. Zuerst die zentrale EOS-Lizenz aktivieren; anschließend EOS neu starten, damit die vollständige Übernahmeprüfung vor dem Betrieb ausgeführt wird.',
|
|
20
|
-
EOS_MIGRATION_RESTART_REQUIRED: '
|
|
20
|
+
EOS_MIGRATION_RESTART_REQUIRED: 'EOS fordert für die Bestandsprüfung einmalig einen automatischen Adapterneustart an. Bleibt dieser Status dauerhaft bestehen, die EOS-Adapterinstanz einmal in ioBroker neu starten.',
|
|
21
21
|
EOS_MIGRATION_PROTECTED_FIELDS_UNAVAILABLE: 'ioBroker gibt geschützte Zugangsdaten oder Schlüssel eines Altadapters nicht frei. Für eine vollständige Übernahme ist eine freigegebene Übergabe dieser Daten erforderlich; leere Ersatzwerte werden nicht eingesetzt.',
|
|
22
|
-
EOS_MIGRATION_SOURCE_VERSION: '
|
|
22
|
+
EOS_MIGRATION_SOURCE_VERSION: 'Die Version eines bisherigen Adapters ist für die automatische Übernahme noch nicht freigegeben. Die installierte Version im ioBroker mit den unterstützten Quellversionen von EOS abgleichen.',
|
|
23
23
|
EOS_MIGRATION_DESTINATION_MISSING: 'Ein bereits übernommener Einstellungsbestand fehlt. Vor dem Start muss die vollständige Sicherung der gemeinsamen Konfiguration wiederhergestellt werden.',
|
|
24
24
|
EOS_MIGRATION_DESTINATION_BINDING: 'Die gespeicherten Moduleinstellungen passen nicht zum bestätigten Übernahmestand. Bitte die Sicherung und Zuordnung der bisherigen Instanzen prüfen.',
|
|
25
|
-
EOS_MIGRATION_DISABLED_UI_REVIEW: 'Die bisherige
|
|
26
|
-
EOS_MIGRATION_DESTINATION_CONFIGURED: '
|
|
25
|
+
EOS_MIGRATION_DISABLED_UI_REVIEW: 'Die bisherige Oberfläche ist deaktiviert. In ioBroker den bestätigten Stillstand dieser Instanz und die Erreichbarkeit ihres Hosts prüfen. EOS prüft beim Adapterstart auch, ob die Zielkonfiguration frei ist.',
|
|
26
|
+
EOS_MIGRATION_DESTINATION_CONFIGURED: 'Für diesen Bereich bestehen bereits EOS-Einstellungen. Quell- und Zielkonfiguration anhand einer Sicherung vergleichen, bevor eine Übernahme geplant wird.',
|
|
27
27
|
EOS_MIGRATION_DESTINATION_STATES: 'Im gemeinsamen EOS bestehen bereits Datenpunkte für diesen Bereich. Eine automatische Zusammenführung wird nicht vorgenommen.',
|
|
28
28
|
EOS_MIGRATION_AMBIGUOUS: 'Es wurden mehrere Instanzen desselben Altadapters gefunden. Vor der Übernahme muss die gewünschte Zuordnung geklärt werden.',
|
|
29
29
|
EOS_MIGRATION_SOURCE_HOST: 'Die Hostzuordnung oder Erreichbarkeit eines bisherigen Adapters konnte nicht bestätigt werden.',
|
|
30
30
|
EOS_MIGRATION_MODULE_LICENSE_REQUIRED: 'Die zentrale Lizenz gibt mindestens ein zu übernehmendes Modul noch nicht frei.',
|
|
31
31
|
EOS_MIGRATION_SOURCE_UNAVAILABLE: 'Eine bisherige Instanz konnte nicht vollständig gelesen werden.',
|
|
32
32
|
EOS_MIGRATION_SOURCE_CHANGED: 'Ein bisheriger Adapter wurde während der Übergabe verändert. Bitte die aktuelle Konfiguration und Hostzuordnung prüfen.',
|
|
33
|
-
EOS_MIGRATION_STOP_UNCONFIRMED: '
|
|
33
|
+
EOS_MIGRATION_STOP_UNCONFIRMED: 'Im ioBroker prüfen, ob der Host erreichbar ist und die bisherige Instanz nach ihrer letzten Änderung als beendet gemeldet hat.',
|
|
34
34
|
EOS_MIGRATION_ROLLBACK_UNCONFIRMED: 'Die Wiederaufnahme einer bisherigen Instanz konnte nicht bestätigt werden. Bitte deren Laufzustand prüfen.',
|
|
35
35
|
EOS_MIGRATION_NEW_RUNTIME_FAILED: 'Der Start des gemeinsamen Betriebs wurde nicht bestätigt; die Rücknahme wurde eingeleitet.',
|
|
36
36
|
EOS_MIGRATION_INTERRUPTED: 'Die vorherige Übergabe wurde unterbrochen. EOS hat die Wiederherstellung des bisherigen Betriebs eingeleitet.',
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
const phase = typeof value?.phase === 'string' && Object.hasOwn(phases, value.phase) ? value.phase : 'NOT_AVAILABLE';
|
|
61
61
|
const code = typeof value?.code === 'string' && /^[A-Z][A-Z0-9_]{0,79}$/.test(value.code) ? value.code : '';
|
|
62
62
|
const [heading, description] = phase === 'LICENSE_REQUIRED' && code === 'EOS_MIGRATION_RESTART_REQUIRED'
|
|
63
|
-
? ['
|
|
63
|
+
? ['Automatischer Neustart zur Bestandsprüfung', 'Die zentrale Systemfreigabe ist gültig. EOS prüft den Bestand beim nächsten Adapterstart.']
|
|
64
64
|
: phases[phase];
|
|
65
65
|
element('status-heading').textContent = heading;
|
|
66
66
|
element('phase-description').textContent = description;
|
|
@@ -71,6 +71,13 @@
|
|
|
71
71
|
const unchanged = value?.existingAdaptersUnchanged === true && ['BLOCKED', 'DISABLED', 'LICENSE_REQUIRED', 'NOT_NEEDED'].includes(phase);
|
|
72
72
|
element('unchanged-notice').hidden = !unchanged;
|
|
73
73
|
element('unchanged-notice').textContent = unchanged ? 'Die automatische Übernahme hat keine bisherigen Adapter angehalten oder deren Einstellungen verändert.' : '';
|
|
74
|
+
const processLabels = { ui: 'Oberfläche', ems: 'EMS', devices: 'Geräte', eebus: 'EEBus', backup: 'Sicherung', ocpp: 'OCPP-Ladestationen' };
|
|
75
|
+
const blocked = Array.isArray(value?.blockedProcesses) ? Object.keys(processLabels).filter(id => value.blockedProcesses.includes(id)) : null;
|
|
76
|
+
const scope = element('scope-description');
|
|
77
|
+
scope.hidden = !blocked;
|
|
78
|
+
scope.textContent = blocked ? (blocked.length ? `Diese Bereiche warten auf die Betriebsfreigabe durch die Übernahme: ${blocked.map(id => processLabels[id]).join(', ')}.`
|
|
79
|
+
: 'Die Bestandsübernahme hält derzeit keine Betriebsfreigabe zurück.') : '';
|
|
80
|
+
const issues = Array.isArray(value?.issues) ? value.issues.slice(0, 256) : [];
|
|
74
81
|
const list = element('sources'); list.replaceChildren();
|
|
75
82
|
let count = 0;
|
|
76
83
|
for (const source of (Array.isArray(value?.sources) ? value.sources.slice(0, 256) : [])) {
|
|
@@ -81,7 +88,15 @@
|
|
|
81
88
|
const id = document.createElement('code'); id.textContent = source.source;
|
|
82
89
|
const note = document.createElement('span');
|
|
83
90
|
note.textContent = source.namespacePreserved === true ? ' · bisherige Datenpunktnamen beibehalten' : ' · bisherige Instanz erfasst';
|
|
84
|
-
row.append(name, id, note);
|
|
91
|
+
row.append(name, id, note);
|
|
92
|
+
const issue = issues.find(item => item?.id === source.id && item.source === source.source &&
|
|
93
|
+
typeof item.code === 'string' && /^[A-Z][A-Z0-9_]{0,79}$/.test(item.code));
|
|
94
|
+
if (issue) {
|
|
95
|
+
const reason = document.createElement('p'); reason.className = 'notice';
|
|
96
|
+
reason.textContent = issue.code === code ? `Grund: ${issue.code}` : `${issue.code}. ${reasons[issue.code] || 'Diese Instanz muss vor der Übernahme geprüft werden.'}`;
|
|
97
|
+
list.append(row, reason);
|
|
98
|
+
} else list.append(row);
|
|
99
|
+
count++;
|
|
85
100
|
}
|
|
86
101
|
if (!count) { const empty = document.createElement('p'); empty.textContent = 'Für diesen Status sind keine Instanzen erfasst.'; list.append(empty); }
|
|
87
102
|
}
|
|
@@ -96,6 +111,7 @@
|
|
|
96
111
|
if (!response.ok) throw new Error('Der Übernahmestatus ist vorübergehend nicht verfügbar.');
|
|
97
112
|
render(await response.json()); message.textContent = 'Status aktualisiert. Es wurden keine Einstellungen verändert.';
|
|
98
113
|
} catch (error) {
|
|
114
|
+
render({ phase: 'NOT_AVAILABLE' });
|
|
99
115
|
message.textContent = error instanceof Error ? error.message : 'Status konnte nicht geladen werden.';
|
|
100
116
|
message.className = 'eos-message is-error';
|
|
101
117
|
} finally { busy = false; element('refresh').disabled = false; }
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
const POLL_MS = 5000;
|
|
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
|
-
error: 'Fehler', failed: 'Fehler', backoff: 'Neustart wartet', unknown: 'Unbestätigt' };
|
|
7
|
+
standby: 'Läuft · wartet auf Freigabe', moduleStandby: 'Läuft · Modul deaktiviert', standbyUnconfirmed: 'Heartbeat unbestätigt', configurationPending: 'Initialisierung ausstehend', emsWaiting: 'Läuft · EMS nicht bereit', error: 'Fehler', failed: 'Fehler', backoff: 'Neustart wartet', unknown: 'Unbestätigt' };
|
|
8
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.',
|
|
@@ -19,7 +19,12 @@
|
|
|
19
19
|
EOS_MODULE_CONFIG_UNAVAILABLE: 'Die gespeicherte Modulkonfiguration ist nicht lesbar. Moduleinstellungen und Systemprotokoll prüfen.',
|
|
20
20
|
EOS_MODULE_DEPENDENCY_MISSING: 'Eine benötigte Moduldatei oder Abhängigkeit fehlt. Das vollständige EOS-Paket erneut installieren.',
|
|
21
21
|
EOS_RUNTIME_START_FAILED: 'Der Prozessstart wurde nicht bestätigt. Die Meldung und die Moduleinstellungen prüfen.',
|
|
22
|
-
EOS_RUNTIME_MIGRATION_BLOCKED: '
|
|
22
|
+
EOS_RUNTIME_MIGRATION_BLOCKED: 'Die Bestandsübernahme sperrt den Start dieses Prozesses.',
|
|
23
|
+
EOS_MIGRATION_DISABLED_UI_REVIEW: 'Die bisherige EOS-Oberfläche war deaktiviert. Die Übernahme prüft ihren bestätigten Stillstand und die vorhandene Zielkonfiguration.',
|
|
24
|
+
EOS_MIGRATION_STOP_UNCONFIRMED: 'Der Stillstand einer bisherigen Instanz ist noch nicht bestätigt. Im ioBroker die betreffende Instanz und den zugehörigen Host prüfen.',
|
|
25
|
+
EOS_MIGRATION_DESTINATION_CONFIGURED: 'In EOS bestehen bereits Einstellungen für diesen Bereich. Vor einer Übernahme beide Konfigurationsstände vergleichen.',
|
|
26
|
+
EOS_MIGRATION_PROTECTED_FIELDS_UNAVAILABLE: 'ioBroker hat geschützte Einstellungen einer bisherigen Instanz nicht freigegeben. Den gesicherten Altbestand prüfen.',
|
|
27
|
+
EOS_MIGRATION_JOURNAL_INVALID: 'Der gespeicherte Übernahmestand konnte nicht bestätigt werden. Den Übernahmestatus mit der vorhandenen Sicherung prüfen.',
|
|
23
28
|
EOS_RUNTIME_LICENSE_REQUIRED: 'Die erforderliche Lizenzfreigabe fehlt. Lizenzstatus prüfen.',
|
|
24
29
|
EOS_RUNTIME_OWNERSHIP_REQUIRED: 'Die Zuständigkeit für die Geräte ist nicht bestätigt. Ein anderer Adapter kann noch aktiv sein.',
|
|
25
30
|
EOS_RUNTIME_BUSY: 'Ein Steuerauftrag läuft bereits. Den bestätigten Abschluss abwarten.',
|
|
@@ -32,15 +37,17 @@
|
|
|
32
37
|
EOS_MODULE_CONFIG_CONFLICT: 'Die Einstellung wurde zwischenzeitlich geändert. Status aktualisieren und die Auswahl erneut prüfen.',
|
|
33
38
|
EOS_MIGRATION_SOURCE_VERSION: 'Die Version eines vorhandenen Adapters passt nicht zur Übernahme. Übernahmestatus prüfen.',
|
|
34
39
|
EOS_MIGRATION_MODULE_LICENSE_REQUIRED: 'Für die angeforderte Übernahme fehlt eine Modulfreigabe. Übernahmestatus prüfen.',
|
|
35
|
-
EOS_MIGRATION_RESTART_REQUIRED: 'Die Freigabe
|
|
40
|
+
EOS_MIGRATION_RESTART_REQUIRED: 'Die Freigabe ist gültig. EOS fordert einmalig einen automatischen Adapterneustart für die Bestandsprüfung an. Bleibt dieser Status dauerhaft bestehen, die EOS-Instanz einmal in ioBroker neu starten.',
|
|
36
41
|
EOS_MODULE_PROCESS_EXIT: 'Der Prozess wurde unerwartet beendet. EOS prüft den kontrollierten Wiederanlauf.',
|
|
42
|
+
LEGACY_CONFLICT: 'Eine bisherige Adapterinstanz hat die Gerätezuständigkeit noch nicht übergeben.',
|
|
43
|
+
OWNERSHIP_UNAVAILABLE: 'Die Gerätezuständigkeit ist noch nicht bestätigt. Host und Altinstanz in ioBroker prüfen.',
|
|
37
44
|
LEGACY_ENABLED_OR_UNKNOWN: 'Der bisherige Adapter ist noch aktiv oder sein Zustand ist nicht bestätigt.',
|
|
38
45
|
LEGACY_STOP_NOT_CONFIRMED: 'Das Ende des bisherigen Adapters ist nicht bestätigt.',
|
|
39
46
|
LICENSE_REQUIRED: 'Die erforderliche Lizenzfreigabe fehlt. Lizenzstatus prüfen.',
|
|
40
47
|
LICENSE_INVALID: 'Die erforderliche Lizenzfreigabe fehlt. Lizenzstatus prüfen.',
|
|
41
48
|
OWNERSHIP_CHANGED: 'Die Zuständigkeit für die Geräte hat sich geändert. Den Übernahmestatus prüfen.',
|
|
42
49
|
};
|
|
43
|
-
/** @typedef {{enabled:boolean,canEnable:boolean,canDisable:boolean,canRestart:boolean,busy:boolean,reason:string,revision:string}} Controls */
|
|
50
|
+
/** @typedef {{enabled:boolean,canEnable:boolean,canDisable:boolean,canRestart:boolean,busy:boolean,reason:string,operationReason:string,revision:string}} Controls */
|
|
44
51
|
/** @param {string} id @returns {HTMLElement} */
|
|
45
52
|
function element(id) { const node = document.getElementById(id); if (!node) throw new Error('EOS_RUNTIME_ELEMENT'); return node; }
|
|
46
53
|
const refreshButton = /** @type {HTMLButtonElement} */ (element('refresh'));
|
|
@@ -70,8 +77,13 @@
|
|
|
70
77
|
if (typeof raw.enabled !== 'boolean' || typeof raw.canEnable !== 'boolean' || typeof raw.canDisable !== 'boolean' ||
|
|
71
78
|
typeof raw.canRestart !== 'boolean' || typeof raw.busy !== 'boolean' || typeof raw.revision !== 'string' ||
|
|
72
79
|
!/^[a-f0-9-]{36}$/.test(raw.revision)) return null;
|
|
80
|
+
let reason = safeCode(raw.reason);
|
|
81
|
+
// These are operational fences in the current protocol. A previous rejected
|
|
82
|
+
// control attempt may retain its code after the supervisor allows startup.
|
|
83
|
+
if (typeof raw.operationReason === 'string' && (raw.canEnable || raw.canRestart) &&
|
|
84
|
+
['EOS_RUNTIME_MIGRATION_BLOCKED', 'EOS_RUNTIME_OWNERSHIP_REQUIRED'].includes(reason)) reason = '';
|
|
73
85
|
return { enabled: raw.enabled, canEnable: raw.canEnable, canDisable: raw.canDisable, canRestart: raw.canRestart,
|
|
74
|
-
busy: raw.busy, reason: safeCode(raw.
|
|
86
|
+
busy: raw.busy, reason, operationReason: safeCode(raw.operationReason), revision: raw.revision };
|
|
75
87
|
}
|
|
76
88
|
/** @param {string} text @param {boolean} [error] */
|
|
77
89
|
function showControlMessage(text, error = false) { controlMessage.textContent = text; controlMessage.className = `runtime-control-message${error ? ' is-error' : ''}`; }
|
|
@@ -97,8 +109,19 @@
|
|
|
97
109
|
const title = document.createElement('dt'); title.textContent = label;
|
|
98
110
|
const content = document.createElement('dd'); content.textContent = value; node.append(title, content);
|
|
99
111
|
}
|
|
100
|
-
/** @param {
|
|
101
|
-
function
|
|
112
|
+
/** @param {unknown} value @param {string} id */
|
|
113
|
+
function migrationNote(value, id) {
|
|
114
|
+
const report = record(value);
|
|
115
|
+
const sourceId = id === 'ems' ? 'ui' : id;
|
|
116
|
+
const issues = Array.isArray(report.issues) ? report.issues.map(record) : [];
|
|
117
|
+
const local = issues.find(row => row.id === sourceId);
|
|
118
|
+
const issue = local || (issues.length === 1 ? issues[0] : undefined);
|
|
119
|
+
const code = safeCode(issue?.code || report.code);
|
|
120
|
+
const source = typeof issue?.source === 'string' && /^(?:nexowatt-ui|nexowatt-devices|eebus|nexowatt-backup|ocpp21)\.\d{1,8}$/.test(issue.source) ? issue.source : '';
|
|
121
|
+
return code ? `${source ? `${source} · ` : ''}${code}. ${errors[code] || 'Die Einzelheiten stehen im Übernahmestatus.'}` : '';
|
|
122
|
+
}
|
|
123
|
+
/** @param {HTMLElement} card @param {string} id @param {Controls|null} entry @param {string} state @param {unknown} migration */
|
|
124
|
+
function addControls(card, id, entry, state, migration) {
|
|
102
125
|
const actions = document.createElement('div'); actions.className = 'runtime-controls';
|
|
103
126
|
actions.setAttribute('aria-label', `${labels[id]} bedienen`);
|
|
104
127
|
for (const [action, text] of [['enable', 'Aktivieren'], ['disable', 'Deaktivieren'], ['restart', 'Neustarten']]) {
|
|
@@ -111,7 +134,14 @@
|
|
|
111
134
|
const note = document.createElement('p'); note.className = 'runtime-control-note';
|
|
112
135
|
if (!entry) note.textContent = 'Prozessbedienung derzeit nicht verfügbar. Status aktualisieren.';
|
|
113
136
|
else if (entry.busy) note.textContent = 'Steuerauftrag läuft. Der bestätigte Prozessstatus wird automatisch aktualisiert.';
|
|
114
|
-
else if (entry.reason
|
|
137
|
+
else if (entry.reason === 'EOS_RUNTIME_MIGRATION_BLOCKED') {
|
|
138
|
+
const admission = state === 'running' ? 'Der Prozess läuft. Die Bestandsübernahme sperrt seinen Neustart.'
|
|
139
|
+
: entry.enabled ? explanation(entry.reason) : 'Der Prozess ist deaktiviert. Die Bestandsübernahme sperrt das Aktivieren.';
|
|
140
|
+
note.textContent = [admission, migrationNote(migration, id)].filter(Boolean).join(' ');
|
|
141
|
+
note.classList.add('is-blocked');
|
|
142
|
+
} else if (entry.operationReason && (!entry.reason || entry.reason === 'EOS_RUNTIME_MODULE_DISABLED' || entry.reason === 'EOS_RUNTIME_DISABLED')) {
|
|
143
|
+
note.textContent = 'Die Schalter bedienen den Prozess. Gerätebefehle bleiben bis zur bestätigten Betriebsfreigabe gesperrt.';
|
|
144
|
+
} else if (entry.reason) { note.textContent = explanation(entry.reason); note.classList.add('is-blocked'); }
|
|
115
145
|
else if (id === 'ui') note.textContent = 'Deaktivieren beendet die Oberfläche. Die Administration und diese Seite bleiben erreichbar.';
|
|
116
146
|
else if (id === 'ems') note.textContent = 'Deaktivieren hält die EMS-Regelung an. Aktivieren startet sie mit der gespeicherten Konfiguration.';
|
|
117
147
|
else note.textContent = 'Aktivieren schaltet Modul und Prozess gemeinsam ein. Deaktivieren beendet den Prozess; die Konfiguration bleibt gespeichert.';
|
|
@@ -120,7 +150,7 @@
|
|
|
120
150
|
const link = document.createElement('a'); link.className = 'runtime-config-link'; link.href = `/modules/${id}/`;
|
|
121
151
|
link.textContent = 'Moduleinstellungen öffnen'; card.append(link);
|
|
122
152
|
}
|
|
123
|
-
if (entry?.reason.includes('MIGRATION')) {
|
|
153
|
+
if (entry?.reason.includes('MIGRATION') || entry?.operationReason.includes('MIGRATION')) {
|
|
124
154
|
const link = document.createElement('a'); link.className = 'runtime-config-link'; link.href = '/migration/';
|
|
125
155
|
link.textContent = 'Übernahmestatus öffnen'; card.append(link);
|
|
126
156
|
}
|
|
@@ -140,20 +170,37 @@
|
|
|
140
170
|
const entry = !isExternal && id !== 'admin' ? readControls(row.controls) : null;
|
|
141
171
|
if (entry) controls.set(id, entry);
|
|
142
172
|
const state = typeof row.state === 'string' && Object.hasOwn(states, row.state) ? row.state : 'unknown';
|
|
143
|
-
const
|
|
144
|
-
|
|
145
|
-
|
|
173
|
+
const atRest = ['stopped', 'disabled', 'unknown'].includes(state);
|
|
174
|
+
const operationReason = entry?.operationReason || '';
|
|
175
|
+
const waiting = state === 'running' && ((row.standby === true && row.active === false) ||
|
|
176
|
+
(!!operationReason && (id === 'ems' && row.emsReady === false || id === 'ui' && row.active === true)));
|
|
177
|
+
const awaitingActivation = waiting && row.waitingReason === 'EOS_RUNTIME_MODULE_DISABLED' && !operationReason;
|
|
178
|
+
const fresh = typeof row.lastHeartbeatAt === 'number' && row.lastHeartbeatAt > 0 && typeof row.pid === 'number' &&
|
|
179
|
+
row.pid > 0 && row.lastHeartbeatAt <= value.observedAt && value.observedAt - row.lastHeartbeatAt <= (id === 'ui' || id === 'ems' ? 5000 : 4000);
|
|
180
|
+
const displayState = waiting ? (!fresh ? 'standbyUnconfirmed' : awaitingActivation ? 'moduleStandby' : 'standby')
|
|
181
|
+
: state === 'running' && id === 'ems' && row.emsReady === false ? 'emsWaiting'
|
|
182
|
+
: atRest && entry?.enabled === false ? 'disabled'
|
|
183
|
+
: atRest && entry?.reason === 'EOS_RUNTIME_MIGRATION_BLOCKED' ? 'blocked'
|
|
184
|
+
: atRest && row.configurationPending === true ? 'configurationPending'
|
|
185
|
+
: atRest && entry?.reason === 'EOS_RUNTIME_MODULE_DISABLED' ? 'moduleDisabled'
|
|
186
|
+
: atRest && entry?.reason && !entry.canRestart && !entry.canEnable && !entry.busy && entry.enabled ? 'blocked'
|
|
146
187
|
: state === 'stopped' && row.generation === 0 && entry?.enabled ? 'notStarted' : state;
|
|
147
188
|
const card = document.createElement('section'); card.className = 'eos-panel runtime-card'; card.dataset.process = id;
|
|
148
189
|
const header = document.createElement('header'); const heading = document.createElement('h2');
|
|
149
190
|
heading.textContent = isExternal ? (id === 'ocpp-external' ? 'OCPP · externe Instanzprüfung' : `OCPP · ${id}`) : labels[id] || id;
|
|
150
|
-
const badge = document.createElement('span'); badge.className = `runtime-badge${displayState === 'running' ? ' is-running' : ['error', 'failed', 'backoff'].includes(displayState) ? ' is-error' :
|
|
191
|
+
const badge = document.createElement('span'); badge.className = `runtime-badge${displayState === 'running' ? ' is-running' : ['error', 'failed', 'backoff'].includes(displayState) ? ' is-error' : ['blocked', 'emsWaiting', 'standby', 'moduleStandby', 'standbyUnconfirmed'].includes(displayState) ? ' is-blocked' : ''}`;
|
|
151
192
|
badge.textContent = states[displayState] || 'Unbestätigt'; header.append(heading, badge); card.append(header);
|
|
152
193
|
const kind = document.createElement('p'); kind.className = 'runtime-kind';
|
|
153
194
|
kind.textContent = isExternal ? 'Separater ioBroker-Adapter' : id === 'admin' ? 'Administrationsprozess' : 'Eigener EOS-Prozess'; card.append(kind);
|
|
154
195
|
const fields = document.createElement('dl');
|
|
155
196
|
field(fields, 'Prozessnummer (PID)', ['running', 'starting', 'stopping'].includes(state) && typeof row.pid === 'number' && row.pid > 0 ? natural(row.pid) : 'Unbekannt');
|
|
156
197
|
field(fields, isExternal ? 'Controller meldet aktiv' : id === 'ui' ? 'Oberfläche aktiv' : id === 'admin' ? 'Administration erreichbar' : 'Betrieb freigegeben', boolean(row.active, 'Ja', 'Nein'));
|
|
198
|
+
if (waiting) {
|
|
199
|
+
const old = Array.isArray(row.waitingFor) ? row.waitingFor.filter(name => typeof name === 'string' &&
|
|
200
|
+
/^(?:nexowatt-ui|nexowatt-devices|eebus|nexowatt-backup|ocpp21)\.\d{1,8}$/.test(name)) : [];
|
|
201
|
+
if (old.length) field(fields, 'Bisherige Zuständigkeit', old.join(', '));
|
|
202
|
+
field(fields, 'Betrieb', awaitingActivation ? 'Wartet auf Modulaktivierung' : 'Wartet auf bestätigte Zuständigkeit');
|
|
203
|
+
}
|
|
157
204
|
if (id === 'ems') field(fields, 'EMS bereit', boolean(row.emsReady, 'Ja', 'Nein'));
|
|
158
205
|
if (isExternal) field(fields, 'OCPP-Verbindung', boolean(row.connected, 'Verbunden', 'Getrennt'));
|
|
159
206
|
if (!isExternal && id !== 'admin') {
|
|
@@ -163,14 +210,34 @@
|
|
|
163
210
|
if (row.nextRestartAt) field(fields, 'Neustart frühestens', date(row.nextRestartAt));
|
|
164
211
|
}
|
|
165
212
|
if (isExternal) field(fields, 'Letzte Alive-Meldung', date(row.lastHeartbeatAt));
|
|
213
|
+
if (row.configurationPending === true) field(fields, 'Modulkonfiguration', 'Noch nicht eingelesen');
|
|
166
214
|
const code = safeCode(row.reason);
|
|
167
|
-
if (code && !['RUNNING', 'DISABLED'].includes(code)) field(fields, 'Meldung', code);
|
|
215
|
+
if (code && !['RUNNING', 'DISABLED', 'STARTING', 'READY', 'STOPPED', 'WAITING_FOR_OWNERSHIP'].includes(code)) field(fields, 'Meldung', code);
|
|
168
216
|
card.append(fields);
|
|
217
|
+
if (waiting) {
|
|
218
|
+
const detail = document.createElement('p'); detail.className = 'runtime-control-note is-blocked';
|
|
219
|
+
const waitingReason = safeCode(row.waitingReason);
|
|
220
|
+
const action = awaitingActivation ? 'Der Prozess ist bereit. Mit „Aktivieren“ wird das Modul mit seiner gespeicherten Konfiguration eingeschaltet.'
|
|
221
|
+
: id === 'ui' ? 'Die Oberfläche ist erreichbar. Die Gerätebedienung wartet auf die Betriebsfreigabe.'
|
|
222
|
+
: id === 'ems' ? 'Der EMS-Prozess läuft im Wartezustand. Die Regelung wartet auf die Betriebsfreigabe.'
|
|
223
|
+
: 'Der Prozess wartet mit Geräteverbindungen und Steuerbefehlen auf die Übergabe.';
|
|
224
|
+
detail.textContent = [action, waitingReason === 'EOS_RUNTIME_MODULE_DISABLED' ? '' : errors[waitingReason] || '',
|
|
225
|
+
operationReason === 'EOS_RUNTIME_MIGRATION_BLOCKED' ? migrationNote(value.migration, id) : ''].filter(Boolean).join(' ');
|
|
226
|
+
card.append(detail);
|
|
227
|
+
}
|
|
228
|
+
if (!waiting && operationReason && operationReason !== entry?.reason) {
|
|
229
|
+
const note = document.createElement('p'); note.className = 'runtime-control-note is-blocked';
|
|
230
|
+
note.textContent = operationReason === 'EOS_RUNTIME_MIGRATION_BLOCKED'
|
|
231
|
+
? [entry?.enabled === false ? 'Nach dem Aktivieren wartet der Betrieb auf die Bestandsübernahme.' :
|
|
232
|
+
'Die Betriebsfreigabe wartet auf die Bestandsübernahme.', migrationNote(value.migration, id)].filter(Boolean).join(' ')
|
|
233
|
+
: explanation(operationReason);
|
|
234
|
+
card.append(note);
|
|
235
|
+
}
|
|
169
236
|
if (code && errors[code] && entry?.reason !== code) {
|
|
170
237
|
const note = document.createElement('p'); note.className = 'runtime-control-note is-blocked';
|
|
171
238
|
note.textContent = errors[code]; card.append(note);
|
|
172
239
|
}
|
|
173
|
-
if (!isExternal && id !== 'admin') addControls(card, id, entry);
|
|
240
|
+
if (!isExternal && id !== 'admin') addControls(card, id, entry, state, value.migration);
|
|
174
241
|
else {
|
|
175
242
|
const note = document.createElement('p'); note.className = 'runtime-control-note';
|
|
176
243
|
note.textContent = isExternal ? 'Diese separate Instanz wird im ioBroker verwaltet. Die EOS-Schalter verändern sie nicht.'
|
|
@@ -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:b128dc92-83fa-4645-922f-4168dc3bdcb8",
|
|
6
6
|
"version": 1,
|
|
7
7
|
"metadata": {
|
|
8
|
-
"timestamp": "2026-11-
|
|
8
|
+
"timestamp": "2026-11-26T20:24:04.226Z",
|
|
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.36",
|
|
23
23
|
"type": "library",
|
|
24
24
|
"name": "iobroker.eos-admin",
|
|
25
|
-
"version": "9.0.
|
|
25
|
+
"version": "9.0.36",
|
|
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.36",
|
|
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.36",
|
|
26359
26359
|
"dependsOn": [
|
|
26360
26360
|
"@iobroker/adapter-core@3.4.3",
|
|
26361
26361
|
"@iobroker/plugin-docker@1.2.1",
|