iobroker.eos-admin 9.0.36 → 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.
Files changed (173) hide show
  1. package/NEXOWATT_EOS_BUILD_INFO.json +10 -10
  2. package/README.md +15 -3
  3. package/adminWww/.vite/manifest.json +114 -114
  4. package/adminWww/NEXOWATT_EOS_FRONTEND_MANIFEST.json +13759 -13759
  5. package/adminWww/assets/{AdapterUpdateDialog-D2nDWE_N.js → AdapterUpdateDialog-D4gUYZep.js} +1 -1
  6. package/adminWww/assets/{Adapters-D0sVqNBU.js → Adapters-DLxiJc3y.js} +1 -1
  7. package/adminWww/assets/{ConfigManager-Zm7UoaaN.js → ConfigManager-D_YTKUdP.js} +1 -1
  8. package/adminWww/assets/{Enums-BGL7pR-O.js → Enums-D79rON6b.js} +1 -1
  9. package/adminWww/assets/{Fields-A8J3u1yq.js → Fields-CTOv49EU.js} +1 -1
  10. package/adminWww/assets/{Files-CQPjCvW6.js → Files-DNLzjEG5.js} +1 -1
  11. package/adminWww/assets/{Hosts-CxzkkNBj.js → Hosts-DHNboUMq.js} +1 -1
  12. package/adminWww/assets/{Instances-eEbEukDh.js → Instances-BJxYNJAC.js} +1 -1
  13. package/adminWww/assets/{Intro-I_Tknp0E.js → Intro-8R-Q7CR_.js} +1 -1
  14. package/adminWww/assets/{Logs-C3GPz61Q.js → Logs-CjAPhWuK.js} +1 -1
  15. package/adminWww/assets/{Objects-DDnisxNB.js → Objects-cvdqooGe.js} +1 -1
  16. package/adminWww/assets/{Overview-BpZFdEmp.js → Overview-JPfBOuKv.js} +1 -1
  17. package/adminWww/assets/{State-DY6Nw0SB.js → State-CGnvMceJ.js} +1 -1
  18. package/adminWww/assets/{UsedResources-CtUpdP2b.js → UsedResources-FBd9jThR.js} +1 -1
  19. package/adminWww/assets/{Users-DcqlSfc5.js → Users-BbUu3hZj.js} +1 -1
  20. package/adminWww/assets/{bootstrap-Didkuj-F.js → bootstrap-Df_WTIJg.js} +3 -3
  21. package/adminWww/assets/{hostInit-Chrs-wsg.js → hostInit-BQCRqFay.js} +1 -1
  22. package/adminWww/assets/{icons-material-SqwOQW6y.js → icons-material-DS82xOs8.js} +1 -1
  23. package/adminWww/assets/{index-CpDo61Mz.js → index-BlBZd8r8.js} +2 -2
  24. package/adminWww/assets/{installSVGRenderer-DZMZ3pJw.js → installSVGRenderer-BtlXF9y3.js} +1 -1
  25. package/adminWww/assets/{mf-entry-bootstrap-0-b0c4981a.js → mf-entry-bootstrap-0-8bb11ea2.js} +2 -2
  26. package/adminWww/index.html +23 -23
  27. package/adminWww/mf-manifest.json +1 -1
  28. package/adminWww/mf-stats.json +1 -1
  29. package/adminWww/{remoteEntry-eos-9.0.36.js → remoteEntry-eos-9.0.38.js} +1 -1
  30. package/adminWww/remoteEntry.js +1 -1
  31. package/build/lib/eosLegacyMigration.js +351 -60
  32. package/build/lib/eosLegacyMigration.js.map +1 -1
  33. package/build/lib/eosLegacySource.js +172 -0
  34. package/build/lib/eosLegacySource.js.map +1 -0
  35. package/build/lib/eosModuleHost.js +38 -1
  36. package/build/lib/eosModuleHost.js.map +1 -1
  37. package/build/lib/eosModuleHttp.js +55 -8
  38. package/build/lib/eosModuleHttp.js.map +1 -1
  39. package/build/lib/eosRuntimeControl.js +3 -1
  40. package/build/lib/eosRuntimeControl.js.map +1 -1
  41. package/build/main.js +1 -1
  42. package/build/main.js.map +1 -1
  43. package/docs/README.md +2 -0
  44. package/docs/reports/unified-9.0.37/PRUEFBERICHT.md +59 -0
  45. package/docs/reports/unified-9.0.37/PRUEFERGEBNISSE.json +112 -0
  46. package/docs/reports/unified-9.0.37/raw/INDEX.json +232 -0
  47. package/docs/reports/unified-9.0.37/raw/backend.log +5 -0
  48. package/docs/reports/unified-9.0.37/raw/core-final-node22.log +1439 -0
  49. package/docs/reports/unified-9.0.37/raw/core-final-node24.log +1381 -0
  50. package/docs/reports/unified-9.0.37/raw/dashboard-935-screenshot.json +15 -0
  51. package/docs/reports/unified-9.0.37/raw/dashboard-de-en-nl.json +1059 -0
  52. package/docs/reports/unified-9.0.37/raw/ems-ui-nvp-integration.json +245 -0
  53. package/docs/reports/unified-9.0.37/raw/farm-and-dashboard-935.json +11 -0
  54. package/docs/reports/unified-9.0.37/raw/farm-tracking-source-tests.log +80 -0
  55. package/docs/reports/unified-9.0.37/raw/fixtures-verification.log +39 -0
  56. package/docs/reports/unified-9.0.37/raw/frontend.log +160 -0
  57. package/docs/reports/unified-9.0.37/raw/installer.log +26 -0
  58. package/docs/reports/unified-9.0.37/raw/lint.log +45 -0
  59. package/docs/reports/unified-9.0.37/raw/measure-storage-display.cjs +47 -0
  60. package/docs/reports/unified-9.0.37/raw/modules.log +5 -0
  61. package/docs/reports/unified-9.0.37/raw/node22-isolated-start-deadlines.log +28 -0
  62. package/docs/reports/unified-9.0.37/raw/node22-migration.log +1329 -0
  63. package/docs/reports/unified-9.0.37/raw/node22-mira.log +222 -0
  64. package/docs/reports/unified-9.0.37/raw/node22-parallel-initial.log +13278 -0
  65. package/docs/reports/unified-9.0.37/raw/node22-startzeiten.json +21 -0
  66. package/docs/reports/unified-9.0.37/raw/node22-system-status.log +639 -0
  67. package/docs/reports/unified-9.0.37/raw/node22-tests-final.log +18494 -0
  68. package/docs/reports/unified-9.0.37/raw/node22-version.log +1 -0
  69. package/docs/reports/unified-9.0.37/raw/node24-migration.log +1301 -0
  70. package/docs/reports/unified-9.0.37/raw/node24-mira.log +41 -0
  71. package/docs/reports/unified-9.0.37/raw/node24-system-status.log +111 -0
  72. package/docs/reports/unified-9.0.37/raw/node24-tests-final.log +3080 -0
  73. package/docs/reports/unified-9.0.37/raw/node24-version.log +1 -0
  74. package/docs/reports/unified-9.0.37/raw/npm-runtime-audit.json +77 -0
  75. package/docs/reports/unified-9.0.37/raw/platform-acl-node22.log +98 -0
  76. package/docs/reports/unified-9.0.37/raw/platform-acl-node24.log +22 -0
  77. package/docs/reports/unified-9.0.37/raw/platform-nginx-node22.json +21 -0
  78. package/docs/reports/unified-9.0.37/raw/platform-nginx-node24.json +21 -0
  79. package/docs/reports/unified-9.0.37/raw/qa-source-check.log +2 -0
  80. package/docs/reports/unified-9.0.37/raw/release-metadata.log +13 -0
  81. package/docs/reports/unified-9.0.37/raw/sbom.log +8 -0
  82. package/docs/reports/unified-9.0.37/raw/speicher-warnschwelle-integration.json +172 -0
  83. package/docs/reports/unified-9.0.37/raw/sse-backpressure-9.0.35.log +1 -0
  84. package/docs/reports/unified-9.0.37/raw/sse-backpressure-9.0.37.log +1 -0
  85. package/docs/reports/unified-9.0.37/raw/storage-display-memory-node22.json +19 -0
  86. package/docs/reports/unified-9.0.37/raw/storage-display-memory-node24.json +19 -0
  87. package/docs/reports/unified-9.0.37/raw/typecheck.log +5 -0
  88. package/docs/reports/unified-9.0.37/raw/ui-runtime.log +7 -0
  89. package/docs/reports/unified-9.0.38/PRUEFBERICHT.md +51 -0
  90. package/docs/reports/unified-9.0.38/PRUEFERGEBNISSE.json +112 -0
  91. package/docs/reports/unified-9.0.38/raw/INDEX.json +272 -0
  92. package/docs/reports/unified-9.0.38/raw/backend.log +5 -0
  93. package/docs/reports/unified-9.0.38/raw/core-final-node22.log +1439 -0
  94. package/docs/reports/unified-9.0.38/raw/core-final-node24.log +1381 -0
  95. package/docs/reports/unified-9.0.38/raw/dashboard-de-en-nl.json +1044 -0
  96. package/docs/reports/unified-9.0.38/raw/field-upgrade-936-node22.log +21 -0
  97. package/docs/reports/unified-9.0.38/raw/field-upgrade-936-node24.log +10 -0
  98. package/docs/reports/unified-9.0.38/raw/fixtures-verification.log +39 -0
  99. package/docs/reports/unified-9.0.38/raw/frontend.log +152 -0
  100. package/docs/reports/unified-9.0.38/raw/installer.log +26 -0
  101. package/docs/reports/unified-9.0.38/raw/legacy-historian-provenance.json +44 -0
  102. package/docs/reports/unified-9.0.38/raw/legacy-history-built-influx.log +10 -0
  103. package/docs/reports/unified-9.0.38/raw/legacy-history-misbinding-937.log +1 -0
  104. package/docs/reports/unified-9.0.38/raw/legacy-history-providers-node22.log +326 -0
  105. package/docs/reports/unified-9.0.38/raw/legacy-history-providers-node24.log +58 -0
  106. package/docs/reports/unified-9.0.38/raw/legacy-history-real-influx.log +10 -0
  107. package/docs/reports/unified-9.0.38/raw/legacy-history-source-comparison.json +12 -0
  108. package/docs/reports/unified-9.0.38/raw/legacy-template-interfaces.json +21 -0
  109. package/docs/reports/unified-9.0.38/raw/lint.log +45 -0
  110. package/docs/reports/unified-9.0.38/raw/migration-admin-browser-node22.log +86 -0
  111. package/docs/reports/unified-9.0.38/raw/migration-admin-browser-node24.log +84 -0
  112. package/docs/reports/unified-9.0.38/raw/migration-live-children-node22.log +20 -0
  113. package/docs/reports/unified-9.0.38/raw/migration-live-children-node24.log +9 -0
  114. package/docs/reports/unified-9.0.38/raw/migration-process-admin-node22.log +831 -0
  115. package/docs/reports/unified-9.0.38/raw/migration-process-admin-node24.log +144 -0
  116. package/docs/reports/unified-9.0.38/raw/modules.log +5 -0
  117. package/docs/reports/unified-9.0.38/raw/node22-initial-destination-channel.log +13298 -0
  118. package/docs/reports/unified-9.0.38/raw/node22-migration.log +1443 -0
  119. package/docs/reports/unified-9.0.38/raw/node22-mira.log +222 -0
  120. package/docs/reports/unified-9.0.38/raw/node22-system-status.log +639 -0
  121. package/docs/reports/unified-9.0.38/raw/node22-tests-final.log +18620 -0
  122. package/docs/reports/unified-9.0.38/raw/node22-version.log +1 -0
  123. package/docs/reports/unified-9.0.38/raw/node24-migration.log +1411 -0
  124. package/docs/reports/unified-9.0.38/raw/node24-mira.log +41 -0
  125. package/docs/reports/unified-9.0.38/raw/node24-system-status.log +111 -0
  126. package/docs/reports/unified-9.0.38/raw/node24-tests-final.log +3102 -0
  127. package/docs/reports/unified-9.0.38/raw/node24-version.log +1 -0
  128. package/docs/reports/unified-9.0.38/raw/npm-runtime-audit.json +77 -0
  129. package/docs/reports/unified-9.0.38/raw/platform-acl-node22.log +98 -0
  130. package/docs/reports/unified-9.0.38/raw/platform-acl-node24.log +22 -0
  131. package/docs/reports/unified-9.0.38/raw/platform-nginx-node22.json +21 -0
  132. package/docs/reports/unified-9.0.38/raw/platform-nginx-node24.json +21 -0
  133. package/docs/reports/unified-9.0.38/raw/qa-source-check.log +2 -0
  134. package/docs/reports/unified-9.0.38/raw/release-metadata.log +13 -0
  135. package/docs/reports/unified-9.0.38/raw/sbom.log +8 -0
  136. package/docs/reports/unified-9.0.38/raw/source-shape-node22.log +438 -0
  137. package/docs/reports/unified-9.0.38/raw/source-shape-node24.log +78 -0
  138. package/docs/reports/unified-9.0.38/raw/target-owner-bootstrap-node22.log +509 -0
  139. package/docs/reports/unified-9.0.38/raw/target-owner-bootstrap-node24.log +92 -0
  140. package/docs/reports/unified-9.0.38/raw/typecheck.log +5 -0
  141. package/docs/reports/unified-9.0.38/raw/ui-runtime.log +7 -0
  142. package/docs/start/START_HIER_9.0.37.md +38 -0
  143. package/docs/start/START_HIER_9.0.38.md +21 -0
  144. package/docs/unified/BESTANDSUEBERNAHME_9_0_7.md +2 -0
  145. package/docs/unified/DEVELOPMENT_FINDINGS.md +3 -1
  146. package/docs/unified/SECURITY_CRA.md +6 -0
  147. package/io-package.json +12 -12
  148. package/package.json +8 -4
  149. package/public/eos-migration/index.html +11 -4
  150. package/public/eos-migration/index.js +156 -18
  151. package/release-manifests/unified/build-environment.cdx.json +6 -6
  152. package/release-manifests/unified/files.json +229 -117
  153. package/release-manifests/unified/frontend.cdx.json +6 -6
  154. package/release-manifests/unified/installer.cdx.json +6 -6
  155. package/release-manifests/unified/obsolete-admin-assets.json +166 -0
  156. package/release-manifests/unified/runtime.cdx.json +26 -26
  157. package/release-manifests/unified/validation.json +15 -15
  158. package/tools/eos-release-manifest.cjs +1 -1
  159. package/ui/ems/modules/para14a.js +8 -3
  160. package/ui/ems/modules/storage-control.js +10 -5
  161. package/ui/io-package.json +9 -1
  162. package/ui/lib/notification-mail.js +95 -8
  163. package/ui/main.js +339 -21
  164. package/ui/package.json +1 -1
  165. package/ui/www/app.js +48 -18
  166. package/ui/www/i18n/en.json +15 -0
  167. package/ui/www/i18n/nl.json +15 -0
  168. package/ui/www/licenses/smarthome-markdown-components.json +156 -156
  169. package/ui/www/live-display.js +145 -27
  170. package/ui/www/manifest.webmanifest +2 -2
  171. package/ui/www/storagefarm-dispatch.js +59 -8
  172. package/ui/www/storagefarm-summary.css +3 -1
  173. package/ui/www/storagefarm.html +2 -0
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:e59de3872cd83630a187dcdaf065152929e4521d5958a4acc142dc5b79d4ea45
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 headline = window.NexoWattLiveDisplay?.dashboardStatus(health, connection, chargeModel, safetyStop, fallback, processHealth);
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 source = headline ? headline.text : (connection === 'disconnected' ? 'Verbindung unterbrochen' : 'Betriebsstatus prüfen');
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 health = window.NexoWattLiveDisplay?.status(values, true, Date.now(), getFlowFreshMaxAgeMs());
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 !== 'ems.core.schedulerAlive' && key !== 'ems.gridMeasurementFresh' &&
1950
- key !== 'chargingManagement.audit.safetyStage' && key !== 'para14a.communicationFallbackActive' &&
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 p14 = !!d('ems.core.para14aActive') || !!d('para14a.active'), peak = String(d('peakShaving.control.status') || '').trim(), safety = String(d('chargingManagement.audit.safetyStage') || '').trim(), p14Fallback = d('para14a.communicationFallbackActive') === true;
2015
- const health = window.NexoWattLiveDisplay?.status(window.latestState || state || {}, connected, window.__nwLiveFrameNow ?? Date.now(), getFlowFreshMaxAgeMs());
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)} %` : '-- %');
@@ -20,6 +20,21 @@
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",
@@ -31,6 +31,21 @@
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",