iobroker.eos-admin 9.0.31 → 9.0.34

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 (242) hide show
  1. package/NEXOWATT_EOS_BUILD_INFO.json +10 -11
  2. package/README.md +7 -7
  3. package/adminWww/.vite/manifest.json +233 -224
  4. package/adminWww/NEXOWATT_EOS_FRONTEND_MANIFEST.json +13897 -13887
  5. package/adminWww/assets/AccessTime-CuR73YC3.js +1 -0
  6. package/adminWww/assets/{AdapterUpdateDialog-UhaQHyF1.js → AdapterUpdateDialog-5L75o18m.js} +5 -5
  7. package/adminWww/assets/{Adapters-Di3sM_ky.js → Adapters-FcghjF7E.js} +5 -5
  8. package/adminWww/assets/ConfigManager-BnHarBfH.js +1 -0
  9. package/adminWww/assets/Enums-BjLbLLQL.js +92 -0
  10. package/adminWww/assets/Fields-DDE1hVOa.js +1 -0
  11. package/adminWww/assets/Files-CDjnR4q6.js +1 -0
  12. package/adminWww/assets/{Hosts-DXjTE0pX.js → Hosts-CJKQaNrD.js} +6 -6
  13. package/adminWww/assets/Instances-DZNl369k.js +4 -0
  14. package/adminWww/assets/Intro-CjAmMGDB.js +2 -0
  15. package/adminWww/assets/KeyboardArrowRight-ifvmV1ZL.js +1 -0
  16. package/adminWww/assets/{Logs-DTo6XJF_.js → Logs-rUAV7SwM.js} +2 -2
  17. package/adminWww/assets/MoreHoriz-CS7nODK8.js +1 -0
  18. package/adminWww/assets/{Objects-DyEBMDK6.js → Objects-CqOH6rT_.js} +4 -4
  19. package/adminWww/assets/Overview-BOtXqsMy.js +3 -0
  20. package/adminWww/assets/Pageview-wzrLQZ-j.js +1 -0
  21. package/adminWww/assets/PersonOff-YtHcY0sV.js +1 -0
  22. package/adminWww/assets/Star-D8VNXawT.js +1 -0
  23. package/adminWww/assets/State-C8ncThop.js +1 -0
  24. package/adminWww/assets/UsedResources-lUYJqy4F.js +2 -0
  25. package/adminWww/assets/Users-CK1Cax82.js +1 -0
  26. package/adminWww/assets/ViewCompact-D7bHgn99.js +1 -0
  27. package/adminWww/assets/ViewSidebar-CjClbCI5.js +1 -0
  28. package/adminWww/assets/WifiTethering-DJ9VO12W.js +1 -0
  29. package/adminWww/assets/{bootstrap-BQ4OzwbT.js → bootstrap-CC0Qr-kr.js} +25 -25
  30. package/adminWww/assets/date-fns-BtR4dG_j.js +1 -0
  31. package/adminWww/assets/en-US-BjjaEI6N.js +1 -0
  32. package/adminWww/assets/{hostInit-CGSSNegd.js → hostInit-DqGL6nY8.js} +1 -1
  33. package/adminWww/assets/icons-material-07rWS63O.js +1 -0
  34. package/adminWww/assets/{index-C4CShixx.js → index-BhhkToP2.js} +2 -2
  35. package/adminWww/assets/{installSVGRenderer-DeaOAT3W.js → installSVGRenderer-B4-7lSQZ.js} +1 -1
  36. package/adminWww/assets/isSameWeek-WMSJR5Qs.js +1 -0
  37. package/adminWww/assets/locale-DN6Bdkdt.js +1 -0
  38. package/adminWww/assets/{mf-entry-bootstrap-0-c5733c2d.js → mf-entry-bootstrap-0-1afd2287.js} +2 -2
  39. package/adminWww/assets/sentry-CPzCHrwe.js +1 -0
  40. package/adminWww/assets/setYear-DDSuW45e.js +1 -0
  41. package/adminWww/index.html +23 -23
  42. package/adminWww/mf-manifest.json +1 -1
  43. package/adminWww/mf-stats.json +1 -1
  44. package/adminWww/{remoteEntry-eos-9.0.31.js → remoteEntry-eos-9.0.34.js} +1 -1
  45. package/adminWww/remoteEntry.js +1 -1
  46. package/build/lib/eosDeviceEmsPlan.js +285 -9
  47. package/build/lib/eosDeviceEmsPlan.js.map +1 -1
  48. package/build/lib/eosDeviceEmsService.js +29 -2
  49. package/build/lib/eosDeviceEmsService.js.map +1 -1
  50. package/build/lib/eosUiProcess.js +31 -14
  51. package/build/lib/eosUiProcess.js.map +1 -1
  52. package/build/lib/eosUiProcessRpc.js +3 -1
  53. package/build/lib/eosUiProcessRpc.js.map +1 -1
  54. package/build/lib/eosUiProcessWorker.js +6 -4
  55. package/build/lib/eosUiProcessWorker.js.map +1 -1
  56. package/docs/README.md +3 -2
  57. package/docs/reports/unified-9.0.32/PRUEFBERICHT.md +34 -0
  58. package/docs/reports/unified-9.0.32/PRUEFERGEBNISSE.json +112 -0
  59. package/docs/reports/unified-9.0.32/raw/INDEX.json +102 -0
  60. package/docs/reports/unified-9.0.32/raw/backend.log +5 -0
  61. package/docs/reports/unified-9.0.32/raw/browser-cadence-headless.json +63 -0
  62. package/docs/reports/unified-9.0.32/raw/browser-flow-headless.json +328 -0
  63. package/docs/reports/unified-9.0.32/raw/focused.log +67 -0
  64. package/docs/reports/unified-9.0.32/raw/frontend.log +151 -0
  65. package/docs/reports/unified-9.0.32/raw/installer.log +26 -0
  66. package/docs/reports/unified-9.0.32/raw/lint.log +5 -0
  67. package/docs/reports/unified-9.0.32/raw/modules.log +5 -0
  68. package/docs/reports/unified-9.0.32/raw/node22-tests-final.log +17212 -0
  69. package/docs/reports/unified-9.0.32/raw/node22-version.log +1 -0
  70. package/docs/reports/unified-9.0.32/raw/node24-tests-final.log +2869 -0
  71. package/docs/reports/unified-9.0.32/raw/node24-version.log +1 -0
  72. package/docs/reports/unified-9.0.32/raw/sbom.log +2 -0
  73. package/docs/reports/unified-9.0.32/raw/typecheck.log +5 -0
  74. package/docs/reports/unified-9.0.32/raw/ui-runtime.log +8 -0
  75. package/docs/reports/unified-9.0.32/raw/version-parity-928-929.log +6 -0
  76. package/docs/reports/unified-9.0.33/PRUEFBERICHT.md +60 -0
  77. package/docs/reports/unified-9.0.33/PRUEFERGEBNISSE.json +112 -0
  78. package/docs/reports/unified-9.0.33/raw/INDEX.json +272 -0
  79. package/docs/reports/unified-9.0.33/raw/backend.log +5 -0
  80. package/docs/reports/unified-9.0.33/raw/browser/UI_REVIEW.json +147 -0
  81. package/docs/reports/unified-9.0.33/raw/browser/admin-bundle.log +136 -0
  82. package/docs/reports/unified-9.0.33/raw/browser/eos-backup-settings-browser.log +67 -0
  83. package/docs/reports/unified-9.0.33/raw/browser/eos-customer-tariff-startup-browser.log +43 -0
  84. package/docs/reports/unified-9.0.33/raw/browser/eos-energyflow-browser-smoke.log +438 -0
  85. package/docs/reports/unified-9.0.33/raw/browser/eos-energyflow-cadence-browser-10s.log +108 -0
  86. package/docs/reports/unified-9.0.33/raw/browser/eos-evcs-delete-browser.log +1 -0
  87. package/docs/reports/unified-9.0.33/raw/browser/eos-history-setup-browser-smoke.log +49 -0
  88. package/docs/reports/unified-9.0.33/raw/browser/eos-kiosk-browser.log +59 -0
  89. package/docs/reports/unified-9.0.33/raw/browser/eos-ocpp-admin-browser.log +71 -0
  90. package/docs/reports/unified-9.0.33/raw/browser/eos-ocpp-installer-discovery-browser.log +11 -0
  91. package/docs/reports/unified-9.0.33/raw/browser/eos-pwa-trust-browser.log +35 -0
  92. package/docs/reports/unified-9.0.33/raw/browser/eos-runtime-controls-browser.log +78 -0
  93. package/docs/reports/unified-9.0.33/raw/browser/eos-runtime-health-browser.log +49 -0
  94. package/docs/reports/unified-9.0.33/raw/browser/eos-runtime-login-browser.log +34 -0
  95. package/docs/reports/unified-9.0.33/raw/browser/smarthome.log +46 -0
  96. package/docs/reports/unified-9.0.33/raw/browser-ten-seconds.json +108 -0
  97. package/docs/reports/unified-9.0.33/raw/changed-test-coverage.json +116 -0
  98. package/docs/reports/unified-9.0.33/raw/connected-control-node22.jsonl +42 -0
  99. package/docs/reports/unified-9.0.33/raw/connected-control-summary-node22.json +103 -0
  100. package/docs/reports/unified-9.0.33/raw/connected-control-summary.json +103 -0
  101. package/docs/reports/unified-9.0.33/raw/connected-control.jsonl +42 -0
  102. package/docs/reports/unified-9.0.33/raw/display-ui-node22.log +162 -0
  103. package/docs/reports/unified-9.0.33/raw/display-ui.log +35 -0
  104. package/docs/reports/unified-9.0.33/raw/frontend.log +151 -0
  105. package/docs/reports/unified-9.0.33/raw/git-delivery-fix.log +10 -0
  106. package/docs/reports/unified-9.0.33/raw/installer.log +26 -0
  107. package/docs/reports/unified-9.0.33/raw/license-central-node24.log +173 -0
  108. package/docs/reports/unified-9.0.33/raw/lint-final.log +45 -0
  109. package/docs/reports/unified-9.0.33/raw/modules.log +5 -0
  110. package/docs/reports/unified-9.0.33/raw/node22-npm-version.log +1 -0
  111. package/docs/reports/unified-9.0.33/raw/node22-tests-final.log +17646 -0
  112. package/docs/reports/unified-9.0.33/raw/node22-version.log +1 -0
  113. package/docs/reports/unified-9.0.33/raw/node24-npm-version.log +1 -0
  114. package/docs/reports/unified-9.0.33/raw/node24-tests-final.log +2941 -0
  115. package/docs/reports/unified-9.0.33/raw/node24-version.log +1 -0
  116. package/docs/reports/unified-9.0.33/raw/process-final-node22.log +220 -0
  117. package/docs/reports/unified-9.0.33/raw/process-final-node24.log +110 -0
  118. package/docs/reports/unified-9.0.33/raw/ram-picker.jsonl +12 -0
  119. package/docs/reports/unified-9.0.33/raw/reg-combined-node22.log +622 -0
  120. package/docs/reports/unified-9.0.33/raw/reg-combined.log +108 -0
  121. package/docs/reports/unified-9.0.33/raw/sbom-final.log +8 -0
  122. package/docs/reports/unified-9.0.33/raw/tariff-update-all-final-node22.log +1185 -0
  123. package/docs/reports/unified-9.0.33/raw/typecheck-final.log +5 -0
  124. package/docs/reports/unified-9.0.33/raw/ui-functional-node24.log +430 -0
  125. package/docs/reports/unified-9.0.33/raw/ui-runtime-final-verification.log +1 -0
  126. package/docs/reports/unified-9.0.33/raw/update-controller-standard-7-2-5.log +4 -0
  127. package/docs/reports/unified-9.0.33/raw/worker-memory-eos933.log +12 -0
  128. package/docs/reports/unified-9.0.33/raw/worker-memory-flow932.log +12 -0
  129. package/docs/reports/unified-9.0.34/PRUEFBERICHT.md +40 -0
  130. package/docs/reports/unified-9.0.34/PRUEFERGEBNISSE.json +112 -0
  131. package/docs/reports/unified-9.0.34/raw/INDEX.json +137 -0
  132. package/docs/reports/unified-9.0.34/raw/backend.log +5 -0
  133. package/docs/reports/unified-9.0.34/raw/dashboard-interval.json +108 -0
  134. package/docs/reports/unified-9.0.34/raw/fixtures-verification.log +44 -0
  135. package/docs/reports/unified-9.0.34/raw/frontend.log +152 -0
  136. package/docs/reports/unified-9.0.34/raw/installer.log +26 -0
  137. package/docs/reports/unified-9.0.34/raw/lint.log +45 -0
  138. package/docs/reports/unified-9.0.34/raw/mira-dashboard-browser.json +1 -0
  139. package/docs/reports/unified-9.0.34/raw/mira-devices-browser.log +9 -0
  140. package/docs/reports/unified-9.0.34/raw/mira-memory-process.json +379 -0
  141. package/docs/reports/unified-9.0.34/raw/modules.log +5 -0
  142. package/docs/reports/unified-9.0.34/raw/node22-mira.log +216 -0
  143. package/docs/reports/unified-9.0.34/raw/node22-protocol-to-ems.log +8 -0
  144. package/docs/reports/unified-9.0.34/raw/node22-tests-final.log +17850 -0
  145. package/docs/reports/unified-9.0.34/raw/node22-version.log +1 -0
  146. package/docs/reports/unified-9.0.34/raw/node24-mira.log +40 -0
  147. package/docs/reports/unified-9.0.34/raw/node24-protocol-to-ems.log +6 -0
  148. package/docs/reports/unified-9.0.34/raw/node24-tests-final.log +2973 -0
  149. package/docs/reports/unified-9.0.34/raw/node24-version.log +1 -0
  150. package/docs/reports/unified-9.0.34/raw/protocol-to-ems.cjs +364 -0
  151. package/docs/reports/unified-9.0.34/raw/release-metadata.log +13 -0
  152. package/docs/reports/unified-9.0.34/raw/sbom.log +8 -0
  153. package/docs/reports/unified-9.0.34/raw/typecheck.log +5 -0
  154. package/docs/reports/unified-9.0.34/raw/ui-runtime.log +8 -0
  155. package/docs/start/START_HIER_9.0.32.md +16 -0
  156. package/docs/start/START_HIER_9.0.33.md +32 -0
  157. package/docs/start/START_HIER_9.0.34.md +25 -0
  158. package/io-package.json +16 -16
  159. package/modules/devices/admin/alias-contract-v1.json +22 -0
  160. package/modules/devices/admin/ems-assignment.js +6 -1
  161. package/modules/devices/admin/host-bridge.js +2 -0
  162. package/modules/devices/admin/index.html +16 -0
  163. package/modules/devices/admin/index_m.js +168 -9
  164. package/modules/devices/admin/templates.json +976 -0
  165. package/modules/devices/checks/emsAssignment.check.js +52 -2
  166. package/modules/devices/index.js +5 -1
  167. package/modules/devices/lib/alias-contract-v1.json +22 -0
  168. package/modules/devices/lib/deviceRuntime.js +17 -7
  169. package/modules/devices/lib/drivers/modbus.js +1 -1
  170. package/modules/devices/lib/drivers/modbusRtuBus.js +7 -1
  171. package/modules/devices/lib/drivers/ovumMira.js +148 -0
  172. package/modules/devices/lib/ovumMiraAliases.js +61 -0
  173. package/modules/devices/lib/ovumMiraConnection.js +32 -0
  174. package/modules/devices/lib/templates.json +976 -0
  175. package/modules/devices/test/aliasContractV1.test.js +4 -4
  176. package/modules/devices/test/deviceAliasSemantics.test.js +2 -2
  177. package/modules/devices/test/fixtures/approved-additive-templates.json +3 -1
  178. package/modules/devices/test/ovumMiraPairing.test.js +76 -0
  179. package/modules/devices/test/ovumMiraTemplates.test.js +110 -0
  180. package/modules/devices/test/ovumMiraTransport.test.js +162 -0
  181. package/package.json +10 -5
  182. package/release-manifests/unified/build-environment.cdx.json +7 -7
  183. package/release-manifests/unified/files.json +302 -180
  184. package/release-manifests/unified/frontend.cdx.json +7 -7
  185. package/release-manifests/unified/installer.cdx.json +7 -7
  186. package/release-manifests/unified/obsolete-admin-assets.json +281 -28
  187. package/release-manifests/unified/runtime.cdx.json +28 -28
  188. package/release-manifests/unified/validation.json +15 -15
  189. package/tools/eos-release-manifest.cjs +2 -2
  190. package/ui/ems/consumers/ovum-mira.js +164 -0
  191. package/ui/ems/consumers/sg-ready.js +26 -6
  192. package/ui/ems/datapoints.js +12 -4
  193. package/ui/ems/modules/charging-management.js +58 -67
  194. package/ui/ems/modules/core-limits.js +59 -36
  195. package/ui/ems/modules/para14a.js +3 -2
  196. package/ui/ems/modules/prime-mover-control.js +141 -29
  197. package/ui/ems/modules/stage-a-diagnostics.js +4 -2
  198. package/ui/ems/modules/storage-control.js +31 -38
  199. package/ui/ems/modules/storage-mapping.js +14 -13
  200. package/ui/ems/modules/tarif-vis.js +38 -56
  201. package/ui/ems/modules/thermal-control.js +91 -10
  202. package/ui/ems/services/measurement-freshness.js +58 -21
  203. package/ui/ems/services/safety-envelope.js +13 -6
  204. package/ui/io-package.json +13 -1
  205. package/ui/lib/datapoint-picker.js +27 -20
  206. package/ui/lib/installer-lifecycle.js +11 -2
  207. package/ui/lib/tariff-price.js +7 -1
  208. package/ui/lib/ts-mirrors/ems/core-limits/core-runtime.js +5 -1
  209. package/ui/main.js +313 -188
  210. package/ui/package.json +4 -3
  211. package/ui/www/app.js +238 -100
  212. package/ui/www/ems-apps.js +30 -10
  213. package/ui/www/index.html +1 -0
  214. package/ui/www/licenses/smarthome-markdown-components.json +156 -156
  215. package/ui/www/live-display.js +38 -4
  216. package/ui/www/manifest.webmanifest +2 -2
  217. package/ui/www/power-measurements.js +28 -3
  218. package/adminWww/assets/AddLink-0L0E-LsA.js +0 -1
  219. package/adminWww/assets/ColorLens-DA51K29x.js +0 -1
  220. package/adminWww/assets/ConfigManager-C2naRwDl.js +0 -1
  221. package/adminWww/assets/Enums-B9ucB-qg.js +0 -92
  222. package/adminWww/assets/Fields-DN41WFbp.js +0 -1
  223. package/adminWww/assets/FileCopy-B16lEuur.js +0 -1
  224. package/adminWww/assets/Files-C3PbbeNR.js +0 -1
  225. package/adminWww/assets/Instances-PKvEjDNQ.js +0 -4
  226. package/adminWww/assets/Intro-BnYMjDZr.js +0 -2
  227. package/adminWww/assets/Lens-9lkeoWGk.js +0 -1
  228. package/adminWww/assets/LinearScale-Be5h2beh.js +0 -1
  229. package/adminWww/assets/North-C2whbHM-.js +0 -1
  230. package/adminWww/assets/Overview-CWLYuqZx.js +0 -3
  231. package/adminWww/assets/PersonOff-DqBq0Fho.js +0 -1
  232. package/adminWww/assets/PlaylistAdd-O8k92YBd.js +0 -1
  233. package/adminWww/assets/State-Ca9_Ke_c.js +0 -1
  234. package/adminWww/assets/UsedResources-20bsoxmj.js +0 -2
  235. package/adminWww/assets/Users-yZyZX-18.js +0 -1
  236. package/adminWww/assets/date-fns-C1dqkno9.js +0 -1
  237. package/adminWww/assets/icons-material-C3PNaipj.js +0 -1
  238. package/adminWww/assets/isSameWeek-Crh37s7U.js +0 -1
  239. package/adminWww/assets/isWithinInterval-Bo1WiDfq.js +0 -1
  240. package/adminWww/assets/locale-hLcz_Xh2.js +0 -1
  241. package/adminWww/assets/sentry-DwQQLI7N.js +0 -1
  242. package/adminWww/assets/startOfWeek-DJph8SIW.js +0 -1
@@ -7,7 +7,7 @@
7
7
  * AUTO-GENERATED RUNTIME FILE - NICHT MANUELL BEARBEITEN.
8
8
  *
9
9
  * Quelle: src-ts/runtime-executables/ems/services/safety-envelope.ts
10
- * Quell-Hash: sha256:108b19c32a3282fe9e65264a48263ad8c7296a6ae86eb6d590ad15d481bcbba2
10
+ * Quell-Hash: sha256:ab0f2797afcb7da70ea18c777d1d26bc02ed126c0dc0f8da20e63409afecf021
11
11
  * Erzeugung: npm run sync:ts-runtime-executables
12
12
  *
13
13
  * Zweck:
@@ -253,10 +253,14 @@ function invalidateSafetyEnvelope(adapter, reason, options = {}) {
253
253
  adapter._nwSafetyEnvelope = envelope;
254
254
  return envelope;
255
255
  }
256
- function phaseAgeMs(dp, key) {
256
+ function phaseAgeMs(dp, key, now) {
257
257
  if (!dp)
258
258
  return null;
259
259
  try {
260
+ if (typeof dp.getVerifiedMeasurementTimestampMs === 'function') {
261
+ const ts = dp.getVerifiedMeasurementTimestampMs(key, now);
262
+ return ts === null ? null : now - ts;
263
+ }
260
264
  const age = typeof dp.getMeasurementAgeMs === 'function'
261
265
  ? dp.getMeasurementAgeMs(key)
262
266
  : (typeof dp.getAgeMs === 'function' ? dp.getAgeMs(key) : null);
@@ -267,7 +271,7 @@ function phaseAgeMs(dp, key) {
267
271
  return null;
268
272
  }
269
273
  }
270
- function readPhase(dp, key, staleMs) {
274
+ function readPhase(dp, key, staleMs, now) {
271
275
  if (!dp || typeof dp.getEntry !== 'function' || !dp.getEntry(key)) {
272
276
  return { mapped: false, fresh: false, valueA: null, ageMs: null, connected: null, reason: 'not-mapped' };
273
277
  }
@@ -277,7 +281,7 @@ function readPhase(dp, key, staleMs) {
277
281
  }
278
282
  catch (_e) { }
279
283
  const valueA = strictFiniteNumber(raw, null);
280
- const ageMs = phaseAgeMs(dp, key);
284
+ const ageMs = phaseAgeMs(dp, key, now);
281
285
  let connected = null;
282
286
  try {
283
287
  connected = typeof dp.getConnectionStatus === 'function' ? dp.getConnectionStatus(key) : null;
@@ -371,9 +375,12 @@ function buildSafetyEnvelope({ adapter, dp, coreSnapshot, budgetSnapshot, now =
371
375
  const headroomA = {};
372
376
  let minHeadroomA = null;
373
377
  let phaseValid = true;
378
+ let validForMs = Math.min(safetyCfg.staleMs, safetyCfg.envelopeMaxAgeMs);
374
379
  if (phaseRequired) {
375
380
  for (const key of phaseKeys) {
376
- const sample = readPhase(dp, key, safetyCfg.staleMs);
381
+ const sample = readPhase(dp, key, safetyCfg.staleMs, now);
382
+ if (sample.fresh && sample.ageMs !== null)
383
+ validForMs = Math.min(validForMs, safetyCfg.staleMs - sample.ageMs);
377
384
  const label = key.replace(/^ps\./, '').replace(/A$/i, '').toUpperCase();
378
385
  currentsA[label] = sample.valueA;
379
386
  // Signed headroom is intentional. If a phase is already above its
@@ -466,7 +473,7 @@ function buildSafetyEnvelope({ adapter, dp, coreSnapshot, budgetSnapshot, now =
466
473
  generation: cycle.generation,
467
474
  ts: now,
468
475
  timestamp: now,
469
- expiresAt: now + Math.min(safetyCfg.staleMs, safetyCfg.envelopeMaxAgeMs),
476
+ expiresAt: now + validForMs,
470
477
  valid,
471
478
  commissioned,
472
479
  emergencyStop: forceZero,
@@ -1,8 +1,20 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "nexowatt-ui",
4
- "version": "9.0.31",
4
+ "version": "9.0.34",
5
5
  "news": {
6
+ "9.0.34": {
7
+ "de": "OVUM MIRA ab Firmware 1.1.3 über Modbus einrichten, elektrische Wärmepumpenleistung im Energiefluss anzeigen und die PV-Anforderung an den Hydraulikregler übergeben.",
8
+ "en": "Connect OVUM MIRA from firmware 1.1.3 via Modbus, display electrical heat-pump power in the energy flow and send PV requests to the hydraulic controller."
9
+ },
10
+ "9.0.33": {
11
+ "de": "EMS prüft Bestätigung, Qualität und Alter der Netzanschlussmessung vor der Leistungsfreigabe. Verbesserungen an Energiefluss und Regelung bei Mess- und Kommunikationsstörungen.",
12
+ "en": "The EMS checks acknowledgement, quality and age of grid measurements before granting power. Improves energy flow and control when measurements or communications fail."
13
+ },
14
+ "9.0.32": {
15
+ "de": "Gebäudeverbrauch im LIVE-Energiefluss wird aus gültigen Messwerten ermittelt. Die Anzeige unterscheidet unvollständige Messdaten und unplausible Bilanzen.",
16
+ "en": "Calculate live building consumption from valid power measurements. Distinguish incomplete measurements from inconsistent power balances."
17
+ },
6
18
  "9.0.31": {
7
19
  "de": "Safari erhält das NexoWatt-Symbol für die iPhone-Web-App über einen eigenen PNG-Pfad. Die üblichen Apple-Icon-Adressen liefern dieselbe 180×180-Datei.",
8
20
  "en": "Safari receives the NexoWatt Home Screen icon from a dedicated PNG path. Standard Apple icon URLs serve the same 180×180 file."
@@ -7,7 +7,7 @@
7
7
  * AUTO-GENERATED RUNTIME FILE - NICHT MANUELL BEARBEITEN.
8
8
  *
9
9
  * Quelle: src-ts/runtime-executables/lib/datapoint-picker.ts
10
- * Quell-Hash: sha256:83c6734102e2a8d5ceb5c347e5e1077da84c74b1207f9a744abf3a8158feb51e
10
+ * Quell-Hash: sha256:2395476303e197eed42fa43f1a8524351343b5cdd576ed1384d388e517360177
11
11
  * Erzeugung: npm run sync:ts-runtime-executables
12
12
  *
13
13
  * Zweck:
@@ -24,6 +24,22 @@
24
24
  Object.defineProperty(exports, "__esModule", { value: true });
25
25
  exports.registerDatapointPicker = registerDatapointPicker;
26
26
  const ephemeral_cache_1 = require("./ephemeral-cache");
27
+ function buildPickerTree(items) {
28
+ const root = { children: null, item: null };
29
+ for (const item of items) {
30
+ if (!item.id)
31
+ continue;
32
+ let node = root;
33
+ for (const segment of item.id.split('.')) {
34
+ if (!segment)
35
+ continue;
36
+ const children = node.children ?? (node.children = Object.create(null));
37
+ node = children[segment] ?? (children[segment] = { children: null, item: null });
38
+ }
39
+ node.item = item;
40
+ }
41
+ return root;
42
+ }
27
43
  const SEARCH_MAX_AGE_MS = 15000;
28
44
  const TREE_MAX_AGE_MS = 30000;
29
45
  const ALLOWED_TYPES = new Set(['boolean', 'number', 'string']);
@@ -40,7 +56,6 @@ function csvFilter(value, maxItems, validator) {
40
56
  function registerDatapointPicker(app, owner, requireDpDiscovery, time) {
41
57
  let closed = false;
42
58
  const snapshot = new ephemeral_cache_1.ExpiringSnapshot(async () => {
43
- var _a;
44
59
  if (closed)
45
60
  throw new Error('EOS_UI_STOPPING');
46
61
  const objects = (await owner.getForeignObjectsAsync?.('*', 'state')) || {};
@@ -66,18 +81,7 @@ function registerDatapointPicker(app, owner, requireDpDiscovery, time) {
66
81
  });
67
82
  }
68
83
  items.sort((a, b) => a.idLower.localeCompare(b.idLower));
69
- const makeNode = () => ({ children: Object.create(null), item: null });
70
- const trie = makeNode();
71
- for (const item of items) {
72
- if (!item.id)
73
- continue;
74
- let node = trie;
75
- for (const segment of item.id.split('.').filter(Boolean)) {
76
- node = (_a = node.children)[segment] ?? (_a[segment] = makeNode());
77
- }
78
- node.item = item;
79
- }
80
- return { items, trie };
84
+ return { items, trie: null };
81
85
  }, TREE_MAX_AGE_MS, time);
82
86
  app.get('/api/smarthome/dpsearch', requireDpDiscovery, async (req, res) => {
83
87
  try {
@@ -145,23 +149,26 @@ function registerDatapointPicker(app, owner, requireDpDiscovery, time) {
145
149
  if (typeof owner.getForeignObjectsAsync !== 'function') {
146
150
  return void res.status(500).json({ ok: false, error: 'getForeignObjectsAsync not available' });
147
151
  }
148
- const { trie } = await snapshot.get(false, TREE_MAX_AGE_MS);
152
+ const index = await snapshot.get(false, TREE_MAX_AGE_MS);
149
153
  const parts = prefix ? prefix.split('.').filter(Boolean) : [];
150
- let node = trie;
154
+ let node = index.trie ?? (index.trie = buildPickerTree(index.items));
151
155
  for (const segment of parts) {
152
- const child = node.children[segment];
156
+ const child = node.children?.[segment];
153
157
  if (!child)
154
158
  return void res.json({ ok: true, prefix, children: [] });
155
159
  node = child;
156
160
  }
157
- const labels = Object.keys(node.children).sort((a, b) => a.localeCompare(b));
161
+ const branches = node.children;
162
+ if (!branches)
163
+ return void res.json({ ok: true, prefix, children: [] });
164
+ const labels = Object.keys(branches).sort((a, b) => a.localeCompare(b));
158
165
  const children = labels.map(label => {
159
- const child = node.children[label];
166
+ const child = branches[label];
160
167
  const item = child?.item;
161
168
  return {
162
169
  id: prefix ? `${prefix}.${label}` : label,
163
170
  label,
164
- hasChildren: !!(child && Object.keys(child.children).length),
171
+ hasChildren: !!child.children,
165
172
  isState: !!item,
166
173
  name: item ? item.name : '',
167
174
  role: item ? item.role : '',
@@ -7,7 +7,7 @@
7
7
  * AUTO-GENERATED RUNTIME FILE - NICHT MANUELL BEARBEITEN.
8
8
  *
9
9
  * Quelle: src-ts/runtime-executables/lib/installer-lifecycle.ts
10
- * Quell-Hash: sha256:b6fb03d371839579e04a18d6a993414a41fdca9588fd143722c6174b39eae153
10
+ * Quell-Hash: sha256:b7631ce1e2cbbf152a346196d3f9f5e2a6cadcb731a71b99a1b91b8e9207bac8
11
11
  * Erzeugung: npm run sync:ts-runtime-executables
12
12
  *
13
13
  * Zweck:
@@ -145,7 +145,7 @@ function activeDeviceProfileReferences(value) {
145
145
  const singleActive = active('storage', 'enableStorageControl') && !(record(singleStorage._eosDevice).v === 1 && singleStorage.enabled === false);
146
146
  const read = new Set();
147
147
  const write = new Set();
148
- const writeKey = /(?:write|^set|^target|^output(?:Object)?Id$|^(?:pv)?feedInLimit|^pvLimit|^runObjectId$|^maxChargeObjectId$|^maxDischargeObjectId$|^phaseSwitchId$|^chargeEnableObjectId$|^dischargeEnableObjectId$|^feneconGridSetpoint|^e3dcSetPower|^enableId$)/i;
148
+ const writeKey = /(?:^mira(?:PvStatus|PowerTarget)Id$|write|^set|^target|^output(?:Object)?Id$|^(?:pv)?feedInLimit|^pvLimit|^runObjectId$|^maxChargeObjectId$|^maxDischargeObjectId$|^phaseSwitchId$|^chargeEnableObjectId$|^dischargeEnableObjectId$|^feneconGridSetpoint|^e3dcSetPower|^enableId$)/i;
149
149
  let visited = 0;
150
150
  const walk = (item, depth = 0) => {
151
151
  if (depth > 12 || ++visited > 20000)
@@ -203,6 +203,15 @@ function activeDeviceProfileReferences(value) {
203
203
  // These global measurement keys are real runtime fallbacks for enabled
204
204
  // battery/charging controllers, not merely display references in that case.
205
205
  const controllerMeasurementKeys = [];
206
+ const thermalDevices = record(config.thermal).devices;
207
+ if (active('thermal', 'enableThermalControl') && Array.isArray(thermalDevices)) {
208
+ for (const item of thermalDevices) {
209
+ const row = record(item);
210
+ if (row.ovumMira === true && row.enabled === true && typeof row.slot === 'number' && Number.isInteger(row.slot) && row.slot >= 1 && row.slot <= 10) {
211
+ controllerMeasurementKeys.push(`consumer${row.slot}Power`);
212
+ }
213
+ }
214
+ }
206
215
  if (singleActive)
207
216
  controllerMeasurementKeys.push('batteryPower', 'storageChargePower', 'storageDischargePower', 'storageSoc', 'storageCapacityKwh');
208
217
  if (singleActive || active('storagefarm', 'enableStorageFarm') || active('charging', 'enableChargingManagement'))
@@ -7,7 +7,7 @@
7
7
  * AUTO-GENERATED RUNTIME FILE - NICHT MANUELL BEARBEITEN.
8
8
  *
9
9
  * Quelle: src-ts/runtime-executables/lib/tariff-price.ts
10
- * Quell-Hash: sha256:f63d79cc09008466c3c249f46ded3d5bc5fbe5cde028b5cba255f8d0297af485
10
+ * Quell-Hash: sha256:78d64702103606065c5c63747c842fdb52616cd9fabfdac457d557e57296ce69
11
11
  * Erzeugung: npm run sync:ts-runtime-executables
12
12
  *
13
13
  * Zweck:
@@ -23,6 +23,7 @@
23
23
  "use strict";
24
24
  Object.defineProperty(exports, "__esModule", { value: true });
25
25
  exports.tariffPriceNumber = tariffPriceNumber;
26
+ exports.verifiedTariffAgeMs = verifiedTariffAgeMs;
26
27
  exports.tariffPriceUnit = tariffPriceUnit;
27
28
  exports.normalizeTariffPrice = normalizeTariffPrice;
28
29
  exports.readTariffPriceState = readTariffPriceState;
@@ -45,6 +46,11 @@ function tariffPriceNumber(value) {
45
46
  const parsed = Number(value);
46
47
  return Number.isFinite(parsed) ? parsed : null;
47
48
  }
49
+ /** Age of a confirmed source sample, independent of connection heartbeats. */
50
+ function verifiedTariffAgeMs(dp, key, now) {
51
+ const stamp = dp?.getVerifiedMeasurementTimestampMs?.(key, now);
52
+ return typeof stamp === 'number' && Number.isFinite(stamp) && stamp > 0 && stamp <= now ? now - stamp : Infinity;
53
+ }
48
54
  /** Nur explizite Preis-Einheiten; ohne Vertrag bleibt der bisherige Auto-Pfad. */
49
55
  function tariffPriceUnit(value) {
50
56
  const unit = typeof value === 'string' ? value.trim().toLowerCase().replace(/\s+/g, '') : '';
@@ -9,7 +9,7 @@
9
9
  * AUTO-GENERATED FILE - NICHT MANUELL BEARBEITEN.
10
10
  *
11
11
  * Quelle: src-ts/ems/core-limits/core-runtime.ts
12
- * Quell-Hash: sha256:ac50f4d5d3adb9a88451d56a0b554447722d998325dd290996413fe5af53f1dc
12
+ * Quell-Hash: sha256:e8ca88d15ddd40116d6778bb155fe419c51e755e9eddc6ad1686f51bb1b0977d
13
13
  * Erzeugung: npm run sync:ts-ems-mirrors
14
14
  *
15
15
  * Zweck:
@@ -157,6 +157,7 @@ function prepareCoreRuntimeSnapshotInput(rawInput = {}) {
157
157
  importToleranceW: positive(pvRaw.importToleranceW ?? 250),
158
158
  },
159
159
  storage: {
160
+ flowUsable: storageRaw.flowUsable !== false,
160
161
  chargeW: storageChargeW,
161
162
  dischargeW: storageDischargeW,
162
163
  eligible: storageRaw.eligible !== false,
@@ -228,6 +229,8 @@ function computeCorePvBudgetFlowRawW(input = {}) {
228
229
  * produktiven 0.8.118-Runtime, sind hier aber vollständig typisiert und rein.
229
230
  */
230
231
  function resolveCorePvBudgetPhysicalCap(input = {}) {
232
+ if (input.storageFlowUsable === false)
233
+ return { capW: 0, source: 'storage-flow-unverified', trusted: false, held: false };
231
234
  const measuredW = positive(input.measuredPvW);
232
235
  const measuredFresh = bool(input.measuredPvFresh, false);
233
236
  const flowW = positive(input.flowRawW);
@@ -435,6 +438,7 @@ function buildCoreRuntimeBudgetSnapshot(rawInput = {}) {
435
438
  storageDischargeW,
436
439
  }) - positive(pv.unconfirmedProbeW));
437
440
  const pvPhysical = resolveCorePvBudgetPhysicalCap({
441
+ storageFlowUsable: storage.flowUsable !== false,
438
442
  measuredPvW: pvPowerW,
439
443
  measuredPvFresh: pv.measuredFresh,
440
444
  flowRawW: pvBudgetFlowRawW,