iobroker.eos-admin 9.0.35 → 9.0.38
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 -13
- package/README.md +21 -3
- package/adminWww/.vite/manifest.json +114 -114
- package/adminWww/NEXOWATT_EOS_FRONTEND_MANIFEST.json +13759 -13759
- package/adminWww/assets/{AdapterUpdateDialog-DH6S-kWX.js → AdapterUpdateDialog-D4gUYZep.js} +1 -1
- package/adminWww/assets/{Adapters-CIlqSF5B.js → Adapters-DLxiJc3y.js} +1 -1
- package/adminWww/assets/{ConfigManager-BhVBfM-q.js → ConfigManager-D_YTKUdP.js} +1 -1
- package/adminWww/assets/{Enums-3H97czGs.js → Enums-D79rON6b.js} +1 -1
- package/adminWww/assets/{Fields-vWLKiuvO.js → Fields-CTOv49EU.js} +1 -1
- package/adminWww/assets/{Files-wmjjMXYM.js → Files-DNLzjEG5.js} +1 -1
- package/adminWww/assets/{Hosts-Bk-xmI98.js → Hosts-DHNboUMq.js} +1 -1
- package/adminWww/assets/{Instances-Db6Vgh62.js → Instances-BJxYNJAC.js} +1 -1
- package/adminWww/assets/{Intro-Dc3wAG9V.js → Intro-8R-Q7CR_.js} +1 -1
- package/adminWww/assets/{Logs-CPbEGWNq.js → Logs-CjAPhWuK.js} +1 -1
- package/adminWww/assets/{Objects-DJB-2468.js → Objects-cvdqooGe.js} +1 -1
- package/adminWww/assets/{Overview-DdvghCLQ.js → Overview-JPfBOuKv.js} +1 -1
- package/adminWww/assets/{State-0UzpgKYj.js → State-CGnvMceJ.js} +1 -1
- package/adminWww/assets/{UsedResources-Bcmo58YD.js → UsedResources-FBd9jThR.js} +1 -1
- package/adminWww/assets/{Users-BGHf3Rox.js → Users-BbUu3hZj.js} +1 -1
- package/adminWww/assets/{bootstrap-qkrk_CAn.js → bootstrap-Df_WTIJg.js} +3 -3
- package/adminWww/assets/{hostInit-DlGqatlv.js → hostInit-BQCRqFay.js} +1 -1
- package/adminWww/assets/{icons-material-CUNq6tdT.js → icons-material-DS82xOs8.js} +1 -1
- package/adminWww/assets/{index-BrtKq3UN.js → index-BlBZd8r8.js} +2 -2
- package/adminWww/assets/{installSVGRenderer-DujLjpXt.js → installSVGRenderer-BtlXF9y3.js} +1 -1
- package/adminWww/assets/{mf-entry-bootstrap-0-3e1cd85c.js → mf-entry-bootstrap-0-8bb11ea2.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.38.js +12 -0
- package/adminWww/remoteEntry.js +1 -1
- package/build/lib/eosDashboardProcessStatus.js +11 -3
- package/build/lib/eosDashboardProcessStatus.js.map +1 -1
- package/build/lib/eosLegacyMigration.js +476 -92
- package/build/lib/eosLegacyMigration.js.map +1 -1
- package/build/lib/eosLegacySource.js +172 -0
- package/build/lib/eosLegacySource.js.map +1 -0
- 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 +308 -104
- package/build/lib/eosModuleHost.js.map +1 -1
- package/build/lib/eosModuleHttp.js +77 -12
- package/build/lib/eosModuleHttp.js.map +1 -1
- package/build/lib/eosModuleProcess.js +17 -6
- package/build/lib/eosModuleProcess.js.map +1 -1
- package/build/lib/eosModuleProcessWorker.js +34 -1
- package/build/lib/eosModuleProcessWorker.js.map +1 -1
- package/build/lib/eosRuntimeControl.js +50 -14
- package/build/lib/eosRuntimeControl.js.map +1 -1
- package/build/lib/eosRuntimeHealth.js +35 -7
- package/build/lib/eosRuntimeHealth.js.map +1 -1
- package/build/lib/eosSupervisorNotifications.js +1 -1
- package/build/lib/eosSupervisorNotifications.js.map +1 -1
- package/build/lib/eosUiProcess.js +42 -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 +28 -24
- package/build/lib/web.js.map +1 -1
- package/build/main.js +36 -1
- package/build/main.js.map +1 -1
- package/docs/README.md +3 -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/reports/unified-9.0.37/PRUEFBERICHT.md +59 -0
- package/docs/reports/unified-9.0.37/PRUEFERGEBNISSE.json +112 -0
- package/docs/reports/unified-9.0.37/raw/INDEX.json +232 -0
- package/docs/reports/unified-9.0.37/raw/backend.log +5 -0
- package/docs/reports/unified-9.0.37/raw/core-final-node22.log +1439 -0
- package/docs/reports/unified-9.0.37/raw/core-final-node24.log +1381 -0
- package/docs/reports/unified-9.0.37/raw/dashboard-935-screenshot.json +15 -0
- package/docs/reports/unified-9.0.37/raw/dashboard-de-en-nl.json +1059 -0
- package/docs/reports/unified-9.0.37/raw/ems-ui-nvp-integration.json +245 -0
- package/docs/reports/unified-9.0.37/raw/farm-and-dashboard-935.json +11 -0
- package/docs/reports/unified-9.0.37/raw/farm-tracking-source-tests.log +80 -0
- package/docs/reports/unified-9.0.37/raw/fixtures-verification.log +39 -0
- package/docs/reports/unified-9.0.37/raw/frontend.log +160 -0
- package/docs/reports/unified-9.0.37/raw/installer.log +26 -0
- package/docs/reports/unified-9.0.37/raw/lint.log +45 -0
- package/docs/reports/unified-9.0.37/raw/measure-storage-display.cjs +47 -0
- package/docs/reports/unified-9.0.37/raw/modules.log +5 -0
- package/docs/reports/unified-9.0.37/raw/node22-isolated-start-deadlines.log +28 -0
- package/docs/reports/unified-9.0.37/raw/node22-migration.log +1329 -0
- package/docs/reports/unified-9.0.37/raw/node22-mira.log +222 -0
- package/docs/reports/unified-9.0.37/raw/node22-parallel-initial.log +13278 -0
- package/docs/reports/unified-9.0.37/raw/node22-startzeiten.json +21 -0
- package/docs/reports/unified-9.0.37/raw/node22-system-status.log +639 -0
- package/docs/reports/unified-9.0.37/raw/node22-tests-final.log +18494 -0
- package/docs/reports/unified-9.0.37/raw/node22-version.log +1 -0
- package/docs/reports/unified-9.0.37/raw/node24-migration.log +1301 -0
- package/docs/reports/unified-9.0.37/raw/node24-mira.log +41 -0
- package/docs/reports/unified-9.0.37/raw/node24-system-status.log +111 -0
- package/docs/reports/unified-9.0.37/raw/node24-tests-final.log +3080 -0
- package/docs/reports/unified-9.0.37/raw/node24-version.log +1 -0
- package/docs/reports/unified-9.0.37/raw/npm-runtime-audit.json +77 -0
- package/docs/reports/unified-9.0.37/raw/platform-acl-node22.log +98 -0
- package/docs/reports/unified-9.0.37/raw/platform-acl-node24.log +22 -0
- package/docs/reports/unified-9.0.37/raw/platform-nginx-node22.json +21 -0
- package/docs/reports/unified-9.0.37/raw/platform-nginx-node24.json +21 -0
- package/docs/reports/unified-9.0.37/raw/qa-source-check.log +2 -0
- package/docs/reports/unified-9.0.37/raw/release-metadata.log +13 -0
- package/docs/reports/unified-9.0.37/raw/sbom.log +8 -0
- package/docs/reports/unified-9.0.37/raw/speicher-warnschwelle-integration.json +172 -0
- package/docs/reports/unified-9.0.37/raw/sse-backpressure-9.0.35.log +1 -0
- package/docs/reports/unified-9.0.37/raw/sse-backpressure-9.0.37.log +1 -0
- package/docs/reports/unified-9.0.37/raw/storage-display-memory-node22.json +19 -0
- package/docs/reports/unified-9.0.37/raw/storage-display-memory-node24.json +19 -0
- package/docs/reports/unified-9.0.37/raw/typecheck.log +5 -0
- package/docs/reports/unified-9.0.37/raw/ui-runtime.log +7 -0
- package/docs/reports/unified-9.0.38/PRUEFBERICHT.md +51 -0
- package/docs/reports/unified-9.0.38/PRUEFERGEBNISSE.json +112 -0
- package/docs/reports/unified-9.0.38/raw/INDEX.json +272 -0
- package/docs/reports/unified-9.0.38/raw/backend.log +5 -0
- package/docs/reports/unified-9.0.38/raw/core-final-node22.log +1439 -0
- package/docs/reports/unified-9.0.38/raw/core-final-node24.log +1381 -0
- package/docs/reports/unified-9.0.38/raw/dashboard-de-en-nl.json +1044 -0
- package/docs/reports/unified-9.0.38/raw/field-upgrade-936-node22.log +21 -0
- package/docs/reports/unified-9.0.38/raw/field-upgrade-936-node24.log +10 -0
- package/docs/reports/unified-9.0.38/raw/fixtures-verification.log +39 -0
- package/docs/reports/unified-9.0.38/raw/frontend.log +152 -0
- package/docs/reports/unified-9.0.38/raw/installer.log +26 -0
- package/docs/reports/unified-9.0.38/raw/legacy-historian-provenance.json +44 -0
- package/docs/reports/unified-9.0.38/raw/legacy-history-built-influx.log +10 -0
- package/docs/reports/unified-9.0.38/raw/legacy-history-misbinding-937.log +1 -0
- package/docs/reports/unified-9.0.38/raw/legacy-history-providers-node22.log +326 -0
- package/docs/reports/unified-9.0.38/raw/legacy-history-providers-node24.log +58 -0
- package/docs/reports/unified-9.0.38/raw/legacy-history-real-influx.log +10 -0
- package/docs/reports/unified-9.0.38/raw/legacy-history-source-comparison.json +12 -0
- package/docs/reports/unified-9.0.38/raw/legacy-template-interfaces.json +21 -0
- package/docs/reports/unified-9.0.38/raw/lint.log +45 -0
- package/docs/reports/unified-9.0.38/raw/migration-admin-browser-node22.log +86 -0
- package/docs/reports/unified-9.0.38/raw/migration-admin-browser-node24.log +84 -0
- package/docs/reports/unified-9.0.38/raw/migration-live-children-node22.log +20 -0
- package/docs/reports/unified-9.0.38/raw/migration-live-children-node24.log +9 -0
- package/docs/reports/unified-9.0.38/raw/migration-process-admin-node22.log +831 -0
- package/docs/reports/unified-9.0.38/raw/migration-process-admin-node24.log +144 -0
- package/docs/reports/unified-9.0.38/raw/modules.log +5 -0
- package/docs/reports/unified-9.0.38/raw/node22-initial-destination-channel.log +13298 -0
- package/docs/reports/unified-9.0.38/raw/node22-migration.log +1443 -0
- package/docs/reports/unified-9.0.38/raw/node22-mira.log +222 -0
- package/docs/reports/unified-9.0.38/raw/node22-system-status.log +639 -0
- package/docs/reports/unified-9.0.38/raw/node22-tests-final.log +18620 -0
- package/docs/reports/unified-9.0.38/raw/node22-version.log +1 -0
- package/docs/reports/unified-9.0.38/raw/node24-migration.log +1411 -0
- package/docs/reports/unified-9.0.38/raw/node24-mira.log +41 -0
- package/docs/reports/unified-9.0.38/raw/node24-system-status.log +111 -0
- package/docs/reports/unified-9.0.38/raw/node24-tests-final.log +3102 -0
- package/docs/reports/unified-9.0.38/raw/node24-version.log +1 -0
- package/docs/reports/unified-9.0.38/raw/npm-runtime-audit.json +77 -0
- package/docs/reports/unified-9.0.38/raw/platform-acl-node22.log +98 -0
- package/docs/reports/unified-9.0.38/raw/platform-acl-node24.log +22 -0
- package/docs/reports/unified-9.0.38/raw/platform-nginx-node22.json +21 -0
- package/docs/reports/unified-9.0.38/raw/platform-nginx-node24.json +21 -0
- package/docs/reports/unified-9.0.38/raw/qa-source-check.log +2 -0
- package/docs/reports/unified-9.0.38/raw/release-metadata.log +13 -0
- package/docs/reports/unified-9.0.38/raw/sbom.log +8 -0
- package/docs/reports/unified-9.0.38/raw/source-shape-node22.log +438 -0
- package/docs/reports/unified-9.0.38/raw/source-shape-node24.log +78 -0
- package/docs/reports/unified-9.0.38/raw/target-owner-bootstrap-node22.log +509 -0
- package/docs/reports/unified-9.0.38/raw/target-owner-bootstrap-node24.log +92 -0
- package/docs/reports/unified-9.0.38/raw/typecheck.log +5 -0
- package/docs/reports/unified-9.0.38/raw/ui-runtime.log +7 -0
- package/docs/start/START_HIER_9.0.36.md +32 -0
- package/docs/start/START_HIER_9.0.37.md +38 -0
- package/docs/start/START_HIER_9.0.38.md +21 -0
- package/docs/unified/ARCHITECTURE.md +6 -0
- package/docs/unified/BESTANDSUEBERNAHME_9_0_7.md +2 -0
- package/docs/unified/DEVELOPMENT_FINDINGS.md +3 -1
- package/docs/unified/SECURITY_CRA.md +6 -0
- package/io-package.json +16 -16
- package/package.json +10 -4
- package/public/eos-migration/index.html +11 -4
- package/public/eos-migration/index.js +176 -22
- package/public/eos-runtime/index.js +82 -15
- package/release-manifests/unified/build-environment.cdx.json +6 -6
- package/release-manifests/unified/files.json +343 -174
- 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 +249 -0
- package/release-manifests/unified/runtime.cdx.json +26 -26
- package/release-manifests/unified/validation.json +15 -15
- package/tools/eos-release-manifest.cjs +1 -1
- package/ui/ems/modules/para14a.js +8 -3
- package/ui/ems/modules/storage-control.js +10 -5
- package/ui/io-package.json +13 -1
- package/ui/lib/hosted-startup-status.js +2 -2
- package/ui/lib/notification-mail.js +95 -8
- package/ui/main.js +339 -21
- package/ui/package.json +1 -1
- package/ui/www/app.js +48 -18
- package/ui/www/dashboard-process-status.js +7 -4
- package/ui/www/i18n/en.json +16 -0
- package/ui/www/i18n/nl.json +16 -0
- package/ui/www/licenses/smarthome-markdown-components.json +156 -156
- package/ui/www/live-display.js +154 -31
- package/ui/www/manifest.webmanifest +2 -2
- package/ui/www/storagefarm-dispatch.js +59 -8
- package/ui/www/storagefarm-summary.css +3 -1
- package/ui/www/storagefarm.html +2 -0
- package/adminWww/remoteEntry-eos-9.0.35.js +0 -12
package/ui/www/app.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* AUTO-GENERATED RUNTIME FILE - NICHT MANUELL BEARBEITEN.
|
|
8
8
|
*
|
|
9
9
|
* Quelle: src-ts/runtime-executables/www/app.ts
|
|
10
|
-
* Quell-Hash: sha256:
|
|
10
|
+
* Quell-Hash: sha256:42b112be6bdce3c34c09cde8d96072b22f7a00ae2d7b794775fd4f9904033a83
|
|
11
11
|
* Erzeugung: npm run sync:ts-runtime-executables
|
|
12
12
|
*
|
|
13
13
|
* Zweck:
|
|
@@ -1883,19 +1883,42 @@ function nwLatestStateTimestamp(keys) {
|
|
|
1883
1883
|
}
|
|
1884
1884
|
// The shared headline has one owner. A repeated SSE snapshot can confirm the
|
|
1885
1885
|
// existing connection without resetting an already established operating status.
|
|
1886
|
-
function nwRenderDashboardStatus(connection, health = null, chargeModel = null, safetyStop = false, fallback = false) {
|
|
1886
|
+
function nwRenderDashboardStatus(connection, health = null, chargeModel = null, safetyStop = false, fallback = false, read = () => undefined, now = Date.now()) {
|
|
1887
1887
|
const label = document.getElementById('sideStatusText');
|
|
1888
1888
|
if (!label) return;
|
|
1889
1889
|
const processHealth = window.NexoWattDashboardProcesses?.current();
|
|
1890
|
-
const
|
|
1890
|
+
const farmState = (window.latestState || state || {})['storageFarm.storagesStatusJson'];
|
|
1891
|
+
const headline = window.NexoWattLiveDisplay?.dashboardStatus(health, connection, chargeModel, safetyStop, fallback, processHealth, now, farmState);
|
|
1891
1892
|
const translate = text => window.NexoWattI18n?.translateText(text) || text;
|
|
1892
|
-
const
|
|
1893
|
+
const connected = connection === 'snapshot' || connection === 'ready';
|
|
1894
|
+
const p14 = connected && (read('ems.core.para14aActive') || read('para14a.active'));
|
|
1895
|
+
const peak = connected && String(read('peakShaving.control.status') || '').trim() === 'active';
|
|
1896
|
+
const ems = connection === 'disconnected' ? 'Verbindung unterbrochen' : safetyStop ? 'Safety aktiv' : health?.ems || 'Status unbekannt';
|
|
1897
|
+
const grid = connected && fallback ? '§14a Fallback' : p14 ? '§14a aktiv' : peak ? 'Peak aktiv' : health?.grid || 'Messstatus unbekannt';
|
|
1898
|
+
for (const [id, text] of [['sideEms', ems], ['sideGridStatus', grid]]) {
|
|
1899
|
+
const cell = document.getElementById(id);
|
|
1900
|
+
const translated = translate(text);
|
|
1901
|
+
if (cell && cell.textContent !== translated) cell.textContent = translated;
|
|
1902
|
+
}
|
|
1903
|
+
const source = headline ? headline.text : (connection === 'disconnected' ? 'Verbindung unterbrochen' : 'Betriebsdiagnose nicht verfügbar');
|
|
1893
1904
|
let message = translate(source);
|
|
1894
1905
|
if (headline?.processIds?.length) {
|
|
1895
1906
|
const labels = { ui: 'Oberfläche', ems: 'EMS', devices: 'Geräte', eebus: 'EEBus', backup: 'Sicherung', ocpp: 'OCPP' };
|
|
1896
1907
|
message = message.replace('{names}', () => headline.processIds.map(id => translate(labels[id])).join(', '));
|
|
1897
1908
|
}
|
|
1898
|
-
let detail = '';
|
|
1909
|
+
let detail = '', storageDetails = '';
|
|
1910
|
+
if (headline?.storageWarnings?.length) {
|
|
1911
|
+
const locale = window.NexoWattI18n?.language?.() || 'de';
|
|
1912
|
+
const format = item => {
|
|
1913
|
+
const rounded = Number(item.differenceW.toFixed(1));
|
|
1914
|
+
const watts = (Number.isInteger(rounded) && item.differenceW > rounded ? '>' : '') + rounded.toLocaleString(locale);
|
|
1915
|
+
return message.replace(/\{name\}|\{watts\}/g, token => token === '{name}' ? item.name || translate('Speicher') : watts);
|
|
1916
|
+
};
|
|
1917
|
+
const lines = headline.storageWarnings.map(format);
|
|
1918
|
+
storageDetails = lines.join(' · ');
|
|
1919
|
+
detail = storageDetails;
|
|
1920
|
+
message = lines[0] + (lines.length > 1 ? ' (+' + (lines.length - 1) + ')' : '');
|
|
1921
|
+
}
|
|
1899
1922
|
if (headline?.deviceNames?.length) {
|
|
1900
1923
|
const names = headline.deviceNames;
|
|
1901
1924
|
const line = translate('Geräte offline · {names}');
|
|
@@ -1910,12 +1933,12 @@ function nwRenderDashboardStatus(connection, health = null, chargeModel = null,
|
|
|
1910
1933
|
if (label.title !== detail) label.title = detail;
|
|
1911
1934
|
const details = document.getElementById('sideStatusDevices');
|
|
1912
1935
|
if (details) {
|
|
1913
|
-
const show = headline?.totalOffline > 2;
|
|
1936
|
+
const show = headline?.totalOffline > 2 || headline?.storageWarnings?.length > 1;
|
|
1914
1937
|
if (details.hidden === show) details.hidden = !show;
|
|
1915
1938
|
if (!show && details.open) details.open = false;
|
|
1916
1939
|
const names = document.getElementById('sideStatusDeviceNames');
|
|
1917
|
-
const text = show ? headline.deviceNames.join(', ') : '';
|
|
1918
|
-
const remaining = show ? headline.totalOffline - headline.deviceNames.length : 0;
|
|
1940
|
+
const text = show ? storageDetails || headline.deviceNames.join(', ') : '';
|
|
1941
|
+
const remaining = show && headline.deviceNames ? headline.totalOffline - headline.deviceNames.length : 0;
|
|
1919
1942
|
const list = remaining > 0 ? text + ' (+' + remaining + ')' : text;
|
|
1920
1943
|
if (names && names.textContent !== list) names.textContent = list;
|
|
1921
1944
|
}
|
|
@@ -1938,16 +1961,25 @@ function nwRefreshDashboardStatus() {
|
|
|
1938
1961
|
if (!connected) { nwRenderDashboardStatus(connection); return; }
|
|
1939
1962
|
const values = window.latestState || state || {};
|
|
1940
1963
|
const read = key => values[key]?.value;
|
|
1941
|
-
const
|
|
1964
|
+
const now = Date.now();
|
|
1965
|
+
const health = window.NexoWattLiveDisplay?.status(values, true, now, getFlowFreshMaxAgeMs());
|
|
1942
1966
|
const lp = nwEvcsFeatureFromConfig() ? window.NexoWattLpStatusPresenter?.read(read) : null;
|
|
1943
1967
|
nwRenderDashboardStatus(connection, health, lp, read('chargingManagement.audit.safetyStage') === 'EOS-SAFETY-STOP',
|
|
1944
|
-
read('para14a.communicationFallbackActive') === true);
|
|
1968
|
+
read('para14a.communicationFallbackActive') === true, read, now);
|
|
1945
1969
|
}
|
|
1946
1970
|
|
|
1947
1971
|
function nwDashboardAlarmChanged(patch, previous) {
|
|
1948
1972
|
for (const key in patch) {
|
|
1949
|
-
if (key
|
|
1950
|
-
|
|
1973
|
+
if (key === 'storageFarm.storagesStatusJson') {
|
|
1974
|
+
if (window.NexoWattLiveDisplay?.farmWarningChanged(previous[key], patch[key], Date.now())) return true;
|
|
1975
|
+
continue;
|
|
1976
|
+
}
|
|
1977
|
+
if (key === 'ems.core.schedulerAlive' || key === 'ems.core.schedulerHeartbeatAt' || key === 'ems.gridMeasurementFresh') {
|
|
1978
|
+
if (window.NexoWattLiveDisplay?.reportChanged(previous[key], patch[key], Date.now(), key === 'ems.core.schedulerHeartbeatAt')) return true;
|
|
1979
|
+
continue;
|
|
1980
|
+
}
|
|
1981
|
+
if (key !== 'chargingManagement.audit.safetyStage' && key !== 'para14a.communicationFallbackActive' &&
|
|
1982
|
+
key !== 'ems.core.para14aActive' && key !== 'para14a.active' && key !== 'peakShaving.control.status' &&
|
|
1951
1983
|
!/^chargingManagement\.wallboxes\.[^.]+\.(?:online|mappingOk|operationalBlocked|hardwareCommandConfirmed|applyStatus)$/.test(key)) continue;
|
|
1952
1984
|
const next = patch[key], before = previous[key];
|
|
1953
1985
|
if (next?.value !== before?.value || next?.q !== before?.q || next?.ack !== before?.ack) return true;
|
|
@@ -1975,7 +2007,6 @@ function nwSetLiveOnline(isOnline) {
|
|
|
1975
2007
|
if (!online) {
|
|
1976
2008
|
for (const id of ['pvPower', 'gridBuyPower', 'gridSellPower', 'storagePower', 'consumptionTotal', 'sidePvPower', 'sideBuildingPower', 'sideBatteryPower', 'sideGridBuyPower', 'sideGridSellPower', 'pvVal', 'gridVal', 'restVal', 'centerPower']) setText(id, '--');
|
|
1977
2009
|
setText('batteryFlowDirection', ''); setText('batterySocIn', '-- %'); setText('sideStorage', '-- %'); setText('sideBatterySoc', '-- %');
|
|
1978
|
-
setText('sideEms', 'Verbindung unterbrochen'); setText('sideGridStatus', 'Messstatus unbekannt');
|
|
1979
2010
|
}
|
|
1980
2011
|
}
|
|
1981
2012
|
/**
|
|
@@ -2011,14 +2042,13 @@ function updateDashboardShellUi(data) {
|
|
|
2011
2042
|
|
|
2012
2043
|
setText('sideStorage', Number.isFinite(soc) ? `${Math.round(soc)} %` : '-- %');
|
|
2013
2044
|
setText('sideBatterySoc', Number.isFinite(soc) ? `${Math.round(soc)} %` : '-- %');
|
|
2014
|
-
const
|
|
2015
|
-
const
|
|
2045
|
+
const safety = String(d('chargingManagement.audit.safetyStage') || '').trim(), p14Fallback = d('para14a.communicationFallbackActive') === true;
|
|
2046
|
+
const now = window.__nwLiveFrameNow ?? Date.now();
|
|
2047
|
+
const health = window.NexoWattLiveDisplay?.status(window.latestState || state || {}, connected, now, getFlowFreshMaxAgeMs());
|
|
2016
2048
|
const safetyStop = connected && safety === 'EOS-SAFETY-STOP';
|
|
2017
|
-
setText('sideEms', connection === 'connecting' ? 'Status unbekannt' : safetyStop ? 'Safety aktiv' : health?.ems || 'Status unbekannt');
|
|
2018
|
-
setText('sideGridStatus', connected && p14Fallback ? '§14a Fallback' : (connected && p14 ? '§14a aktiv' : (connected && peak === 'active' ? 'Peak aktiv' : health?.grid || 'Messstatus unbekannt')));
|
|
2019
2049
|
let chargeModel = null;
|
|
2020
2050
|
try { chargeModel = window.NexoWattLpStatusPresenter?.render(d, evcsAvailable); } catch (_eChargingStatus) {}
|
|
2021
|
-
nwRenderDashboardStatus(connection, health, chargeModel, safetyStop, p14Fallback);
|
|
2051
|
+
nwRenderDashboardStatus(connection, health, chargeModel, safetyStop, p14Fallback, d, now);
|
|
2022
2052
|
|
|
2023
2053
|
setText('sideConsumptionTotal', load === null ? '--' : formatFlowPower(Math.max(0, load)));
|
|
2024
2054
|
setText('sideSelfConsumption', Number.isFinite(selfc) ? `${Math.round(selfc)} %` : '-- %');
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* AUTO-GENERATED RUNTIME FILE - NICHT MANUELL BEARBEITEN.
|
|
8
8
|
*
|
|
9
9
|
* Quelle: src-ts/runtime-executables/www/dashboard-process-status.ts
|
|
10
|
-
* Quell-Hash: sha256:
|
|
10
|
+
* Quell-Hash: sha256:d4137ddc277ec4bccbcfe6425b8bda5593279372d96aff96d236b517859e30c4
|
|
11
11
|
* Erzeugung: npm run sync:ts-runtime-executables
|
|
12
12
|
*
|
|
13
13
|
* Zweck:
|
|
@@ -72,9 +72,12 @@
|
|
|
72
72
|
return null;
|
|
73
73
|
const failed = identifiers(row.failed);
|
|
74
74
|
const paused = identifiers(row.paused);
|
|
75
|
-
|
|
75
|
+
const waiting = identifiers(row.waiting === undefined ? [] : row.waiting);
|
|
76
|
+
if (!failed || !paused || !waiting || failed.some(id => paused.includes(id)) ||
|
|
77
|
+
waiting.some(id => failed.includes(id) || paused.includes(id)) ||
|
|
78
|
+
(state === 'fault') !== (failed.length > 0) || (state === 'ok' && waiting.length))
|
|
76
79
|
return null;
|
|
77
|
-
return { observedAt, state, failed, paused, deviceHealth: devices(row.deviceHealth) };
|
|
80
|
+
return { observedAt, state, failed, paused, ...(waiting.length ? { waiting } : {}), deviceHealth: devices(row.deviceHealth) };
|
|
78
81
|
}
|
|
79
82
|
function visible() {
|
|
80
83
|
return ready && pageActive && document.visibilityState === 'visible' && !dashboard.hidden && dashboard.style.display !== 'none';
|
|
@@ -123,7 +126,7 @@
|
|
|
123
126
|
sample = { value, receivedAt: now, receivedTick: tick, ageMs };
|
|
124
127
|
setExpiry();
|
|
125
128
|
if (!previous || previous.state !== value.state || previous.failed.join() !== value.failed.join() ||
|
|
126
|
-
previous.paused.join() !== value.paused.join() || JSON.stringify(previous.deviceHealth) !== JSON.stringify(value.deviceHealth))
|
|
129
|
+
previous.paused.join() !== value.paused.join() || previous.waiting?.join() !== value.waiting?.join() || JSON.stringify(previous.deviceHealth) !== JSON.stringify(value.deviceHealth))
|
|
127
130
|
notify();
|
|
128
131
|
}
|
|
129
132
|
function schedule() {
|
package/ui/www/i18n/en.json
CHANGED
|
@@ -20,12 +20,28 @@
|
|
|
20
20
|
"Sicherheitsstopp aktiv": "Safety stop active",
|
|
21
21
|
"EMS gestoppt": "EMS stopped",
|
|
22
22
|
"EMS pausiert": "EMS paused",
|
|
23
|
+
"Speicherabweichung: {name} · {watts} W": "Storage deviation: {name} · {watts} W",
|
|
24
|
+
"NVP-Bestätigung fehlt": "Grid measurement confirmation missing",
|
|
25
|
+
"NVP-Bestätigung veraltet": "Grid measurement confirmation stale",
|
|
26
|
+
"NVP-Bestätigung ungültig": "Grid measurement confirmation invalid",
|
|
27
|
+
"EMS-Betriebsmeldung fehlt": "EMS operating signal missing",
|
|
28
|
+
"EMS-Betriebsmeldung veraltet": "EMS operating signal stale",
|
|
29
|
+
"EMS-Betriebsmeldung ungültig": "EMS operating signal invalid",
|
|
30
|
+
"EMS-Herzschlag fehlt": "EMS heartbeat missing",
|
|
31
|
+
"EMS-Herzschlag veraltet": "EMS heartbeat stale",
|
|
32
|
+
"EMS-Herzschlag ungültig": "EMS heartbeat invalid",
|
|
33
|
+
"Messwert vorhanden · Bestätigung fehlt": "Measurement available · confirmation missing",
|
|
34
|
+
"Betriebsdiagnose nicht verfügbar": "Operating diagnostics unavailable",
|
|
35
|
+
"Messung aktuell": "Measurement current",
|
|
36
|
+
"Messung fehlt / veraltet": "Measurement missing / stale",
|
|
37
|
+
"Gestoppt": "Stopped",
|
|
23
38
|
"Betriebsstatus prüfen": "Check operating status",
|
|
24
39
|
"Netzmessung fehlt oder ist veraltet": "Grid measurement missing or stale",
|
|
25
40
|
"§14a-Kommunikationsfallback aktiv": "§14a communication fallback active",
|
|
26
41
|
"Prozessstatus unbekannt": "Process status unknown",
|
|
27
42
|
"Gerätestatus unbekannt": "Device status unknown",
|
|
28
43
|
"Geräte offline · {names}": "Devices offline · {names}",
|
|
44
|
+
"Wartet auf Übernahme · {names}": "Awaiting handover · {names}",
|
|
29
45
|
"Prozess gestört · {names}": "Process fault · {names}",
|
|
30
46
|
"Live-Verbindung unterbrochen · Prozess gestört: {names}": "Live connection lost · Process fault: {names}",
|
|
31
47
|
"Sicherheitsstopp aktiv · Prozess gestört: {names}": "Safety stop active · Process fault: {names}",
|
package/ui/www/i18n/nl.json
CHANGED
|
@@ -31,12 +31,28 @@
|
|
|
31
31
|
"Sicherheitsstopp aktiv": "Veiligheidsstop actief",
|
|
32
32
|
"EMS gestoppt": "EMS gestopt",
|
|
33
33
|
"EMS pausiert": "EMS gepauzeerd",
|
|
34
|
+
"Speicherabweichung: {name} · {watts} W": "Opslagafwijking: {name} · {watts} W",
|
|
35
|
+
"NVP-Bestätigung fehlt": "Bevestiging netmeting ontbreekt",
|
|
36
|
+
"NVP-Bestätigung veraltet": "Bevestiging netmeting verouderd",
|
|
37
|
+
"NVP-Bestätigung ungültig": "Bevestiging netmeting ongeldig",
|
|
38
|
+
"EMS-Betriebsmeldung fehlt": "EMS-bedrijfsmelding ontbreekt",
|
|
39
|
+
"EMS-Betriebsmeldung veraltet": "EMS-bedrijfsmelding verouderd",
|
|
40
|
+
"EMS-Betriebsmeldung ungültig": "EMS-bedrijfsmelding ongeldig",
|
|
41
|
+
"EMS-Herzschlag fehlt": "EMS-heartbeat ontbreekt",
|
|
42
|
+
"EMS-Herzschlag veraltet": "EMS-heartbeat verouderd",
|
|
43
|
+
"EMS-Herzschlag ungültig": "EMS-heartbeat ongeldig",
|
|
44
|
+
"Messwert vorhanden · Bestätigung fehlt": "Meetwaarde beschikbaar · bevestiging ontbreekt",
|
|
45
|
+
"Betriebsdiagnose nicht verfügbar": "Bedrijfsdiagnose niet beschikbaar",
|
|
46
|
+
"Messung aktuell": "Meting actueel",
|
|
47
|
+
"Messung fehlt / veraltet": "Meting ontbreekt / verouderd",
|
|
48
|
+
"Gestoppt": "Gestopt",
|
|
34
49
|
"Betriebsstatus prüfen": "Bedrijfsstatus controleren",
|
|
35
50
|
"Netzmessung fehlt oder ist veraltet": "Netmeting ontbreekt of is verouderd",
|
|
36
51
|
"§14a-Kommunikationsfallback aktiv": "§14a-communicatieterugval actief",
|
|
37
52
|
"Prozessstatus unbekannt": "Processtatus onbekend",
|
|
38
53
|
"Gerätestatus unbekannt": "Apparaatstatus onbekend",
|
|
39
54
|
"Geräte offline · {names}": "Apparaten offline · {names}",
|
|
55
|
+
"Wartet auf Übernahme · {names}": "Wacht op overname · {names}",
|
|
40
56
|
"Prozess gestört · {names}": "Processtoring · {names}",
|
|
41
57
|
"Live-Verbindung unterbrochen · Prozess gestört: {names}": "Liveverbinding verbroken · Processtoring: {names}",
|
|
42
58
|
"Sicherheitsstopp aktiv · Prozess gestört: {names}": "Veiligheidsstop actief · Processtoring: {names}",
|