iobroker.eos-admin 9.0.19 → 9.0.21

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 (491) hide show
  1. package/NEXOWATT_EOS_BUILD_INFO.json +4 -4
  2. package/README.md +7 -3
  3. package/START_HIER_9.0.20.md +65 -0
  4. package/adminWww/.vite/manifest.json +39 -39
  5. package/adminWww/NEXOWATT_EOS_FRONTEND_MANIFEST.json +110 -109
  6. package/adminWww/assets/{AdapterUpdateDialog-JOf2z4Vg.js → AdapterUpdateDialog-Dxl_b7Op.js} +1 -1
  7. package/adminWww/assets/{Adapters-C9fcSdWm.js → Adapters-CVKKhXmI.js} +1 -1
  8. package/adminWww/assets/{ConfigManager-BeeLlT6D.js → ConfigManager-Bf6nTAkL.js} +1 -1
  9. package/adminWww/assets/{Enums-FqnXWl8U.js → Enums-CJHVJY7t.js} +1 -1
  10. package/adminWww/assets/{Fields-DMgrt5Pi.js → Fields-DWHbZKvm.js} +1 -1
  11. package/adminWww/assets/{Files-CIHtt12g.js → Files-a6owMTXA.js} +1 -1
  12. package/adminWww/assets/{Hosts-fPLBzvTy.js → Hosts-LtEMeXpV.js} +1 -1
  13. package/adminWww/assets/{Instances-4XaVQlrT.js → Instances-DhChziA1.js} +1 -1
  14. package/adminWww/assets/{Intro-5TKriiLO.js → Intro-Cyq9gVDC.js} +1 -1
  15. package/adminWww/assets/{Logs-33zcIds-.js → Logs-wcramXsg.js} +1 -1
  16. package/adminWww/assets/{Objects-CNQPVbNG.js → Objects-DINVHd_e.js} +1 -1
  17. package/adminWww/assets/{Overview-BskXGOc8.js → Overview-DK4R41zR.js} +1 -1
  18. package/adminWww/assets/{State-C8SJ_Iqo.js → State-DcEACXzL.js} +1 -1
  19. package/adminWww/assets/{UsedResources-CgqRa9ei.js → UsedResources-C1LcM0Rb.js} +1 -1
  20. package/adminWww/assets/{Users-0JVYWR9u.js → Users-DvDdSyDY.js} +1 -1
  21. package/adminWww/assets/{bootstrap-D16lu6rd.js → bootstrap-Dbj_GbnP.js} +3 -3
  22. package/adminWww/assets/{hostInit-C8YZJuzi.js → hostInit-BNFIx0-f.js} +1 -1
  23. package/adminWww/assets/icons/nexowatt-180.png +0 -0
  24. package/adminWww/assets/{icons-material-CiNJ_6Ur.js → icons-material-DVbdXNgr.js} +1 -1
  25. package/adminWww/assets/{index-DA9Sphgh.js → index-CoKP1NSA.js} +2 -2
  26. package/adminWww/assets/{installSVGRenderer-DPdkRa_d.js → installSVGRenderer-CMvku1F1.js} +1 -1
  27. package/adminWww/assets/{mf-entry-bootstrap-0-a7ab91de.js → mf-entry-bootstrap-0-ac330bce.js} +2 -2
  28. package/adminWww/index.html +24 -24
  29. package/adminWww/mf-manifest.json +1 -1
  30. package/adminWww/mf-stats.json +1 -1
  31. package/adminWww/{remoteEntry-eos-9.0.19.js → remoteEntry-eos-9.0.21.js} +1 -1
  32. package/adminWww/remoteEntry.js +1 -1
  33. package/build/lib/eosCustomerUpdateHttp.js +203 -0
  34. package/build/lib/eosCustomerUpdateHttp.js.map +1 -0
  35. package/build/lib/eosCustomerUpdateTransport.js +472 -0
  36. package/build/lib/eosCustomerUpdateTransport.js.map +1 -0
  37. package/build/lib/eosCustomerUpdateWorker.js +567 -0
  38. package/build/lib/eosCustomerUpdateWorker.js.map +1 -0
  39. package/build/lib/eosCustomerUpdates.js +631 -0
  40. package/build/lib/eosCustomerUpdates.js.map +1 -0
  41. package/build/lib/eosDeviceEmsPlan.js +18 -5
  42. package/build/lib/eosDeviceEmsPlan.js.map +1 -1
  43. package/build/lib/eosDeviceEmsService.js +52 -2
  44. package/build/lib/eosDeviceEmsService.js.map +1 -1
  45. package/build/lib/eosLegacyMigration.js +26 -1
  46. package/build/lib/eosLegacyMigration.js.map +1 -1
  47. package/build/lib/eosModuleConfigStore.js +12 -1
  48. package/build/lib/eosModuleConfigStore.js.map +1 -1
  49. package/build/lib/eosModuleHost.js +81 -26
  50. package/build/lib/eosModuleHost.js.map +1 -1
  51. package/build/lib/eosModuleHttp.js +8 -2
  52. package/build/lib/eosModuleHttp.js.map +1 -1
  53. package/build/lib/eosStateSubscriptions.js +59 -2
  54. package/build/lib/eosStateSubscriptions.js.map +1 -1
  55. package/build/lib/eosUpdateSnapshot.js +290 -0
  56. package/build/lib/eosUpdateSnapshot.js.map +1 -0
  57. package/build/lib/eosUploadGuard.js +124 -81
  58. package/build/lib/eosUploadGuard.js.map +1 -1
  59. package/build/lib/web.js +83 -0
  60. package/build/lib/web.js.map +1 -1
  61. package/docs/reports/unified-9.0.20/ANFORDERUNGEN_UND_INBETRIEBNAHME.md +159 -0
  62. package/docs/reports/unified-9.0.20/DEVICE_COMMAND_DELIVERY_REVIEW.md +82 -0
  63. package/docs/reports/unified-9.0.20/DEVICE_LIFECYCLE_REVIEW.md +46 -0
  64. package/docs/reports/unified-9.0.20/DEVICE_PLAN_REVIEW.md +33 -0
  65. package/docs/reports/unified-9.0.20/DEVICE_POWER_CAPABILITY_REVIEW.md +25 -0
  66. package/docs/reports/unified-9.0.20/FARM_CONTROLLER_REVIEW.md +27 -0
  67. package/docs/reports/unified-9.0.20/FARM_DIAGNOSE_UI.md +81 -0
  68. package/docs/reports/unified-9.0.20/FARM_DISPATCH_REVIEW.md +47 -0
  69. package/docs/reports/unified-9.0.20/HISTORY_REVIEW.md +68 -0
  70. package/docs/reports/unified-9.0.20/INFLUXDB2_INSTALLER_UI.md +39 -0
  71. package/docs/reports/unified-9.0.20/INFLUX_CREDENTIAL_NETWORK_REVIEW.md +38 -0
  72. package/docs/reports/unified-9.0.20/INFLUX_DIRECT_UNABHAENGIGE_PRUEFUNG.md +64 -0
  73. package/docs/reports/unified-9.0.20/INFLUX_RUNTIME_INTEGRATION_REVIEW.md +53 -0
  74. package/docs/reports/unified-9.0.20/INFLUX_RUNTIME_UNABHAENGIGE_PRUEFUNG.md +34 -0
  75. package/docs/reports/unified-9.0.20/INFLUX_TRANSPORT_ABSCHLUSSPRUEFUNG.md +55 -0
  76. package/docs/reports/unified-9.0.20/LOGIN_WEBAPP_LOGO.md +29 -0
  77. package/docs/reports/unified-9.0.20/MIGRATION_REVIEW.md +35 -0
  78. package/docs/reports/unified-9.0.20/PRUEFBERICHT.md +54 -0
  79. package/docs/reports/unified-9.0.20/PWA_ANONYMOUS_HTTPS_REVIEW.md +28 -0
  80. package/docs/reports/unified-9.0.20/PWA_ICON_UNABHAENGIGE_PRUEFUNG.md +60 -0
  81. package/docs/reports/unified-9.0.20/SERIAL_LIFECYCLE_REVIEW.md +37 -0
  82. package/docs/reports/unified-9.0.20/SOLAX_READBACK_REVIEW.md +43 -0
  83. package/docs/reports/unified-9.0.20/SOLAX_READBACK_UNABHAENGIGE_PRUEFUNG.md +34 -0
  84. package/docs/reports/unified-9.0.20/STATIC_REVIEW_DE.md +175 -0
  85. package/docs/reports/unified-9.0.20/STORAGE_COMMAND_ACK_REVIEW.md +36 -0
  86. package/docs/reports/unified-9.0.20/TARIFF_REPORT_REVIEW.md +29 -0
  87. package/docs/reports/unified-9.0.20/VISUALISIERUNG.md +64 -0
  88. package/docs/reports/unified-9.0.20/history-setup-navigation-proxy.txt +26 -0
  89. package/docs/reports/unified-9.0.20/history-setup-navigation-ssr.txt +7 -0
  90. package/docs/reports/unified-9.0.20/history-setup-ui-lint.txt +0 -0
  91. package/docs/reports/unified-9.0.20/history-setup-ui-node22.txt +102 -0
  92. package/docs/reports/unified-9.0.20/history-setup-ui-node24.txt +23 -0
  93. package/docs/reports/unified-9.0.20/history-setup-ui-security.txt +0 -0
  94. package/docs/reports/unified-9.0.20/history-setup-ui-typecheck.txt +0 -0
  95. package/docs/reports/unified-9.0.20/login-pwa-branding-hashes.txt +9 -0
  96. package/docs/reports/unified-9.0.20/login-pwa-branding-node22.txt +42 -0
  97. package/docs/reports/unified-9.0.20/login-pwa-branding-node24.txt +13 -0
  98. package/docs/reports/unified-9.0.20/raw/INDEX.json +1913 -0
  99. package/docs/reports/unified-9.0.20/raw/additional-audit/device/baseline-node22.log +16 -0
  100. package/docs/reports/unified-9.0.20/raw/additional-audit/device/baseline-node24.log +14 -0
  101. package/docs/reports/unified-9.0.20/raw/additional-audit/device/lint-after.json +1 -0
  102. package/docs/reports/unified-9.0.20/raw/additional-audit/device/lint-before.json +1 -0
  103. package/docs/reports/unified-9.0.20/raw/additional-audit/device/modbus-stop-backoff.cjs +22 -0
  104. package/docs/reports/unified-9.0.20/raw/additional-audit/device/node22-control-review.log +29 -0
  105. package/docs/reports/unified-9.0.20/raw/additional-audit/device/node22-modbus-final.json +18 -0
  106. package/docs/reports/unified-9.0.20/raw/additional-audit/device/node22-modbus-final.log +325 -0
  107. package/docs/reports/unified-9.0.20/raw/additional-audit/device/node22-modbus-review.log +278 -0
  108. package/docs/reports/unified-9.0.20/raw/additional-audit/device/node24-modbus-final.json +18 -0
  109. package/docs/reports/unified-9.0.20/raw/additional-audit/device/node24-modbus-final.log +58 -0
  110. package/docs/reports/unified-9.0.20/raw/additional-audit/device/node24-modbus-review.log +51 -0
  111. package/docs/reports/unified-9.0.20/raw/additional-audit/history/api-gaps-before.log +64 -0
  112. package/docs/reports/unified-9.0.20/raw/additional-audit/history/api-negative-before.log +46 -0
  113. package/docs/reports/unified-9.0.20/raw/additional-audit/history/chart-gaps-before.log +127 -0
  114. package/docs/reports/unified-9.0.20/raw/additional-audit/history/device-command-subscriptions-after.log +67 -0
  115. package/docs/reports/unified-9.0.20/raw/additional-audit/history/device-command-subscriptions-before.log +61 -0
  116. package/docs/reports/unified-9.0.20/raw/additional-audit/history/device-command-subscriptions-eslint-js.log +0 -0
  117. package/docs/reports/unified-9.0.20/raw/additional-audit/history/device-command-subscriptions-eslint-ts.log +0 -0
  118. package/docs/reports/unified-9.0.20/raw/additional-audit/history/device-command-subscriptions-node22.log +442 -0
  119. package/docs/reports/unified-9.0.20/raw/additional-audit/history/device-command-subscriptions-node24.log +78 -0
  120. package/docs/reports/unified-9.0.20/raw/additional-audit/history/fix.py +73 -0
  121. package/docs/reports/unified-9.0.20/raw/additional-audit/history/history-eslint-final.json +7 -0
  122. package/docs/reports/unified-9.0.20/raw/additional-audit/history/history-final-node22.log +279 -0
  123. package/docs/reports/unified-9.0.20/raw/additional-audit/history/history-final-node24.log +52 -0
  124. package/docs/reports/unified-9.0.20/raw/additional-audit/history/history-followup-node22.log +223 -0
  125. package/docs/reports/unified-9.0.20/raw/additional-audit/history/history-followup-node24.log +43 -0
  126. package/docs/reports/unified-9.0.20/raw/additional-audit/history/history-own-cache.log +17 -0
  127. package/docs/reports/unified-9.0.20/raw/additional-audit/history/negative-pricing-before.log +96 -0
  128. package/docs/reports/unified-9.0.20/raw/additional-audit/history/node22-after.log +66 -0
  129. package/docs/reports/unified-9.0.20/raw/additional-audit/history/node22-repro.log +8 -0
  130. package/docs/reports/unified-9.0.20/raw/additional-audit/history/node24-after.log +17 -0
  131. package/docs/reports/unified-9.0.20/raw/additional-audit/history/node24-repro.log +8 -0
  132. package/docs/reports/unified-9.0.20/raw/additional-audit/history/repro.cjs +39 -0
  133. package/docs/reports/unified-9.0.20/raw/additional-audit/visuals/chromium-probe.log +3 -0
  134. package/docs/reports/unified-9.0.20/raw/additional-audit/visuals/patch-live.py +101 -0
  135. package/docs/reports/unified-9.0.20/raw/additional-audit/visuals/repro-live-display.cjs +26 -0
  136. package/docs/reports/unified-9.0.20/raw/additional-audit/visuals/repro-live-display.log +36 -0
  137. package/docs/reports/unified-9.0.20/raw/audit-full.log +345 -0
  138. package/docs/reports/unified-9.0.20/raw/audit-full.result.json +14 -0
  139. package/docs/reports/unified-9.0.20/raw/audit-runtime.log +23 -0
  140. package/docs/reports/unified-9.0.20/raw/audit-runtime.result.json +15 -0
  141. package/docs/reports/unified-9.0.20/raw/backend-final.log +5 -0
  142. package/docs/reports/unified-9.0.20/raw/backend-final.result.json +14 -0
  143. package/docs/reports/unified-9.0.20/raw/baseline-919-coverage-tests-node22.result.json +20 -0
  144. package/docs/reports/unified-9.0.20/raw/baseline-919-coverage-tests-node22.tap +721 -0
  145. package/docs/reports/unified-9.0.20/raw/baseline-919-coverage-tests-node24.result.json +20 -0
  146. package/docs/reports/unified-9.0.20/raw/baseline-919-coverage-tests-node24.tap +127 -0
  147. package/docs/reports/unified-9.0.20/raw/commissioning-evidence.json +69 -0
  148. package/docs/reports/unified-9.0.20/raw/commissioning-failed-init-drain-919-before.log +14 -0
  149. package/docs/reports/unified-9.0.20/raw/commissioning-final-node22.log +882 -0
  150. package/docs/reports/unified-9.0.20/raw/commissioning-final-node24.log +149 -0
  151. package/docs/reports/unified-9.0.20/raw/commissioning-lint.log +0 -0
  152. package/docs/reports/unified-9.0.20/raw/commissioning-planner-919-before.log +70 -0
  153. package/docs/reports/unified-9.0.20/raw/commissioning-retained-readiness-before.log +34 -0
  154. package/docs/reports/unified-9.0.20/raw/commissioning-runtime-retry-919-before.log +46 -0
  155. package/docs/reports/unified-9.0.20/raw/commissioning-types-node24.log +0 -0
  156. package/docs/reports/unified-9.0.20/raw/device-farm-protocol/DEVICE_FARM_READONLY_REVIEW.md +66 -0
  157. package/docs/reports/unified-9.0.20/raw/device-farm-protocol/run-readback-tests.cjs +13 -0
  158. package/docs/reports/unified-9.0.20/raw/device-farm-protocol/solax-control-chain.test.cjs +58 -0
  159. package/docs/reports/unified-9.0.20/raw/device-lifecycle-baseline-node22.log +16 -0
  160. package/docs/reports/unified-9.0.20/raw/device-lifecycle-baseline-node24.log +14 -0
  161. package/docs/reports/unified-9.0.20/raw/device-lifecycle-evidence.json +55 -0
  162. package/docs/reports/unified-9.0.20/raw/device-lifecycle-lint-after.json +1 -0
  163. package/docs/reports/unified-9.0.20/raw/device-lifecycle-lint-before.json +1 -0
  164. package/docs/reports/unified-9.0.20/raw/device-lifecycle-modbus-stop-backoff.cjs +22 -0
  165. package/docs/reports/unified-9.0.20/raw/device-lifecycle-node22-control-review.log +29 -0
  166. package/docs/reports/unified-9.0.20/raw/device-lifecycle-node22-modbus-final.json +18 -0
  167. package/docs/reports/unified-9.0.20/raw/device-lifecycle-node22-modbus-final.log +325 -0
  168. package/docs/reports/unified-9.0.20/raw/device-lifecycle-node22-modbus-review.log +278 -0
  169. package/docs/reports/unified-9.0.20/raw/device-lifecycle-node24-modbus-final.json +18 -0
  170. package/docs/reports/unified-9.0.20/raw/device-lifecycle-node24-modbus-final.log +58 -0
  171. package/docs/reports/unified-9.0.20/raw/device-lifecycle-node24-modbus-review.log +51 -0
  172. package/docs/reports/unified-9.0.20/raw/devices-hosted-typecheck-node22.log +0 -0
  173. package/docs/reports/unified-9.0.20/raw/devices-hosted-typecheck-node22.result.json +15 -0
  174. package/docs/reports/unified-9.0.20/raw/devices-hosted-typecheck-node24.log +0 -0
  175. package/docs/reports/unified-9.0.20/raw/devices-hosted-typecheck-node24.result.json +15 -0
  176. package/docs/reports/unified-9.0.20/raw/farm-controller/controller-node22.log +110 -0
  177. package/docs/reports/unified-9.0.20/raw/farm-controller/controller-node24.log +24 -0
  178. package/docs/reports/unified-9.0.20/raw/farm-controller/evidence.json +33 -0
  179. package/docs/reports/unified-9.0.20/raw/farm-diagnostics-ui-lint.txt +0 -0
  180. package/docs/reports/unified-9.0.20/raw/farm-diagnostics-ui-node22.txt +113 -0
  181. package/docs/reports/unified-9.0.20/raw/farm-diagnostics-ui-node24.txt +26 -0
  182. package/docs/reports/unified-9.0.20/raw/farm-diagnostics-ui-security.txt +0 -0
  183. package/docs/reports/unified-9.0.20/raw/farm-diagnostics-ui-typecheck.txt +0 -0
  184. package/docs/reports/unified-9.0.20/raw/farm-dispatch/allocator-baseline.jsonl +6 -0
  185. package/docs/reports/unified-9.0.20/raw/farm-dispatch/diagnostics-before.log +138 -0
  186. package/docs/reports/unified-9.0.20/raw/farm-dispatch/diagnostics-main-delta.patch +77 -0
  187. package/docs/reports/unified-9.0.20/raw/farm-dispatch/diagnostics-main-lint.json +7 -0
  188. package/docs/reports/unified-9.0.20/raw/farm-dispatch/diagnostics-node22.log +64 -0
  189. package/docs/reports/unified-9.0.20/raw/farm-dispatch/diagnostics-node22.result.json +14 -0
  190. package/docs/reports/unified-9.0.20/raw/farm-dispatch/diagnostics-node24.log +18 -0
  191. package/docs/reports/unified-9.0.20/raw/farm-dispatch/diagnostics-node24.result.json +14 -0
  192. package/docs/reports/unified-9.0.20/raw/final-ui-independent-review.json +194 -0
  193. package/docs/reports/unified-9.0.20/raw/frontend-build.log +152 -0
  194. package/docs/reports/unified-9.0.20/raw/frontend-build.result.json +14 -0
  195. package/docs/reports/unified-9.0.20/raw/independent-influx/parser-after-node22.json +35 -0
  196. package/docs/reports/unified-9.0.20/raw/independent-influx/parser-after-node22.result.json +17 -0
  197. package/docs/reports/unified-9.0.20/raw/independent-influx/parser-after-node24.json +31 -0
  198. package/docs/reports/unified-9.0.20/raw/independent-influx/parser-after-node24.result.json +17 -0
  199. package/docs/reports/unified-9.0.20/raw/independent-influx/parser-before.json +31 -0
  200. package/docs/reports/unified-9.0.20/raw/independent-influx/parser-reproducer.cjs +9 -0
  201. package/docs/reports/unified-9.0.20/raw/independent-influx/transport-extra-node22.result.json +18 -0
  202. package/docs/reports/unified-9.0.20/raw/independent-influx/transport-extra-node22.tap +34 -0
  203. package/docs/reports/unified-9.0.20/raw/independent-influx/transport-extra-node24.result.json +18 -0
  204. package/docs/reports/unified-9.0.20/raw/independent-influx/transport-extra-node24.tap +11 -0
  205. package/docs/reports/unified-9.0.20/raw/independent-influx/transport-extra.test.cjs +9 -0
  206. package/docs/reports/unified-9.0.20/raw/independent-solax/node22-focused.log +165 -0
  207. package/docs/reports/unified-9.0.20/raw/independent-solax/node24-focused.log +35 -0
  208. package/docs/reports/unified-9.0.20/raw/independent-solax/review-receipt.json +57 -0
  209. package/docs/reports/unified-9.0.20/raw/independent-solax/split-response-after.log +1 -0
  210. package/docs/reports/unified-9.0.20/raw/independent-solax/split-response-before.log +1 -0
  211. package/docs/reports/unified-9.0.20/raw/independent-solax/split-response.cjs +16 -0
  212. package/docs/reports/unified-9.0.20/raw/independent-solax/stop-race-generation-guard.log +1 -0
  213. package/docs/reports/unified-9.0.20/raw/independent-solax/stop-race.cjs +13 -0
  214. package/docs/reports/unified-9.0.20/raw/influx-direct/eslint.log +0 -0
  215. package/docs/reports/unified-9.0.20/raw/influx-direct/node22.log +112 -0
  216. package/docs/reports/unified-9.0.20/raw/influx-direct/node24.log +24 -0
  217. package/docs/reports/unified-9.0.20/raw/influx-direct/typecheck.log +0 -0
  218. package/docs/reports/unified-9.0.20/raw/influx-direct-review/hosted-module-history.test.cjs +85 -0
  219. package/docs/reports/unified-9.0.20/raw/influx-direct-review/independent-node22.json +12 -0
  220. package/docs/reports/unified-9.0.20/raw/influx-direct-review/independent-node22.log +100 -0
  221. package/docs/reports/unified-9.0.20/raw/influx-direct-review/independent-node24.json +12 -0
  222. package/docs/reports/unified-9.0.20/raw/influx-direct-review/independent-node24.log +21 -0
  223. package/docs/reports/unified-9.0.20/raw/influx-direct-review/runtime-after.test.cjs +15 -0
  224. package/docs/reports/unified-9.0.20/raw/influx-direct-review/runtime-loss-before.test.cjs +9 -0
  225. package/docs/reports/unified-9.0.20/raw/influx-direct-review/security-scan.cjs +15 -0
  226. package/docs/reports/unified-9.0.20/raw/influx-direct-review/transport-extra.test.cjs +9 -0
  227. package/docs/reports/unified-9.0.20/raw/influx-independent/legacy-history-node22.log +227 -0
  228. package/docs/reports/unified-9.0.20/raw/influx-independent/legacy-history-node22.result.json +11 -0
  229. package/docs/reports/unified-9.0.20/raw/influx-independent/legacy-history-node24.log +44 -0
  230. package/docs/reports/unified-9.0.20/raw/influx-independent/legacy-history-node24.result.json +11 -0
  231. package/docs/reports/unified-9.0.20/raw/influx-independent/node22.log +112 -0
  232. package/docs/reports/unified-9.0.20/raw/influx-independent/node22.result.json +12 -0
  233. package/docs/reports/unified-9.0.20/raw/influx-independent/node24.log +23 -0
  234. package/docs/reports/unified-9.0.20/raw/influx-independent/node24.result.json +12 -0
  235. package/docs/reports/unified-9.0.20/raw/influx-independent/runtime-after.test.cjs +15 -0
  236. package/docs/reports/unified-9.0.20/raw/influx-independent/transport-extra.test.cjs +9 -0
  237. package/docs/reports/unified-9.0.20/raw/influx-runtime/evidence.json +24 -0
  238. package/docs/reports/unified-9.0.20/raw/influx-runtime/final-node22.log +326 -0
  239. package/docs/reports/unified-9.0.20/raw/influx-runtime/final-node24.log +59 -0
  240. package/docs/reports/unified-9.0.20/raw/influx-runtime/runtime-node22.log +62 -0
  241. package/docs/reports/unified-9.0.20/raw/influx-runtime/runtime-node24.log +16 -0
  242. package/docs/reports/unified-9.0.20/raw/influx-security/security-influx-lint.log +0 -0
  243. package/docs/reports/unified-9.0.20/raw/influx-security/security-influx-lint.result.json +17 -0
  244. package/docs/reports/unified-9.0.20/raw/influx-security/security-influx-node22.log +112 -0
  245. package/docs/reports/unified-9.0.20/raw/influx-security/security-influx-node22.result.json +15 -0
  246. package/docs/reports/unified-9.0.20/raw/influx-security/security-influx-node24.log +106 -0
  247. package/docs/reports/unified-9.0.20/raw/influx-security/security-influx-node24.result.json +15 -0
  248. package/docs/reports/unified-9.0.20/raw/influx-security/security-influx-typecheck.log +0 -0
  249. package/docs/reports/unified-9.0.20/raw/influx-security/security-influx-typecheck.result.json +15 -0
  250. package/docs/reports/unified-9.0.20/raw/influx-security/source-sha256.json +5 -0
  251. package/docs/reports/unified-9.0.20/raw/influx-transport-final/influx-transport-lint-final.log +0 -0
  252. package/docs/reports/unified-9.0.20/raw/influx-transport-final/influx-transport-lint-final.result.json +16 -0
  253. package/docs/reports/unified-9.0.20/raw/influx-transport-final/influx-transport-node22-final.log +124 -0
  254. package/docs/reports/unified-9.0.20/raw/influx-transport-final/influx-transport-node22-final.result.json +14 -0
  255. package/docs/reports/unified-9.0.20/raw/influx-transport-final/influx-transport-node24-final.log +26 -0
  256. package/docs/reports/unified-9.0.20/raw/influx-transport-final/influx-transport-node24-final.result.json +14 -0
  257. package/docs/reports/unified-9.0.20/raw/influx-transport-final/influx-transport-type-node22-final.log +0 -0
  258. package/docs/reports/unified-9.0.20/raw/influx-transport-final/influx-transport-type-node22-final.result.json +15 -0
  259. package/docs/reports/unified-9.0.20/raw/influx-transport-final/influx-transport-type-node24-final.log +0 -0
  260. package/docs/reports/unified-9.0.20/raw/influx-transport-final/influx-transport-type-node24-final.result.json +15 -0
  261. package/docs/reports/unified-9.0.20/raw/influx-ui-independent-review-final.json +285 -0
  262. package/docs/reports/unified-9.0.20/raw/influx-ui-independent-review-intermediate.json +285 -0
  263. package/docs/reports/unified-9.0.20/raw/installer-build.log +26 -0
  264. package/docs/reports/unified-9.0.20/raw/installer-build.result.json +14 -0
  265. package/docs/reports/unified-9.0.20/raw/isolation/INDEX.json +332 -0
  266. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-family-final.log +3 -0
  267. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-family-final.result.json +13 -0
  268. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-family-hosted.log +6 -0
  269. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-family-hosted.result.json +13 -0
  270. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-family-verified.log +1 -0
  271. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-family-verified.result.json +13 -0
  272. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-family.log +11 -0
  273. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-family.result.json +13 -0
  274. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-fenecon-hybrid-final.log +3 -0
  275. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-fenecon-hybrid-final.result.json +13 -0
  276. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-fenecon-hybrid-hosted.log +3 -0
  277. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-fenecon-hybrid-hosted.result.json +13 -0
  278. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-fenecon-hybrid-verified.log +1 -0
  279. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-fenecon-hybrid-verified.result.json +13 -0
  280. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-fenecon-hybrid.log +11 -0
  281. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-fenecon-hybrid.result.json +13 -0
  282. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-final-node22.log +296 -0
  283. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-final-node22.result.json +16 -0
  284. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-final-node24.log +56 -0
  285. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-final-node24.result.json +16 -0
  286. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-node24.log +54 -0
  287. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-node24.result.json +16 -0
  288. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-output-modes.log +1 -0
  289. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-output-modes.result.json +13 -0
  290. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-release-final-node22.log +332 -0
  291. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-release-final-node22.result.json +16 -0
  292. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-release-final-node24.log +62 -0
  293. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-release-final-node24.result.json +16 -0
  294. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-release-node22.log +342 -0
  295. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-release-node22.result.json +16 -0
  296. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-release-node24.log +72 -0
  297. package/docs/reports/unified-9.0.20/raw/isolation/command-ack-release-node24.result.json +16 -0
  298. package/docs/reports/unified-9.0.20/raw/isolation/isolation-node22.log +482 -0
  299. package/docs/reports/unified-9.0.20/raw/isolation/isolation-node22.result.json +19 -0
  300. package/docs/reports/unified-9.0.20/raw/isolation/isolation-node24.log +87 -0
  301. package/docs/reports/unified-9.0.20/raw/isolation/migration-lint.log +0 -0
  302. package/docs/reports/unified-9.0.20/raw/isolation/migration-lint.result.json +16 -0
  303. package/docs/reports/unified-9.0.20/raw/isolation/migration-node22.log +330 -0
  304. package/docs/reports/unified-9.0.20/raw/isolation/migration-node22.result.json +16 -0
  305. package/docs/reports/unified-9.0.20/raw/isolation/migration-node24-before.log +72 -0
  306. package/docs/reports/unified-9.0.20/raw/isolation/migration-node24-before.result.json +16 -0
  307. package/docs/reports/unified-9.0.20/raw/isolation/migration-node24.log +60 -0
  308. package/docs/reports/unified-9.0.20/raw/isolation/migration-node24.result.json +16 -0
  309. package/docs/reports/unified-9.0.20/raw/isolation/repro-migration-start-budget.cjs +49 -0
  310. package/docs/reports/unified-9.0.20/raw/isolation/repro-serial-release.cjs +21 -0
  311. package/docs/reports/unified-9.0.20/raw/isolation/repro-sunspec-discovery.cjs +11 -0
  312. package/docs/reports/unified-9.0.20/raw/isolation/serial-before-repro.log +1 -0
  313. package/docs/reports/unified-9.0.20/raw/isolation/serial-before-repro.result.json +13 -0
  314. package/docs/reports/unified-9.0.20/raw/isolation/serial-gates-node22.log +32 -0
  315. package/docs/reports/unified-9.0.20/raw/isolation/serial-gates-node22.result.json +14 -0
  316. package/docs/reports/unified-9.0.20/raw/isolation/serial-gates-node24.log +11 -0
  317. package/docs/reports/unified-9.0.20/raw/isolation/serial-gates-node24.result.json +14 -0
  318. package/docs/reports/unified-9.0.20/raw/isolation/serial-helper-typecheck-final.log +0 -0
  319. package/docs/reports/unified-9.0.20/raw/isolation/serial-helper-typecheck-final.result.json +28 -0
  320. package/docs/reports/unified-9.0.20/raw/isolation/serial-helper-typecheck.log +2 -0
  321. package/docs/reports/unified-9.0.20/raw/isolation/serial-helper-typecheck.result.json +26 -0
  322. package/docs/reports/unified-9.0.20/raw/isolation/serial-lint.log +0 -0
  323. package/docs/reports/unified-9.0.20/raw/isolation/serial-lint.result.json +18 -0
  324. package/docs/reports/unified-9.0.20/raw/isolation/serial-node22.log +344 -0
  325. package/docs/reports/unified-9.0.20/raw/isolation/serial-node22.result.json +17 -0
  326. package/docs/reports/unified-9.0.20/raw/isolation/serial-node24.log +62 -0
  327. package/docs/reports/unified-9.0.20/raw/isolation/serial-node24.result.json +17 -0
  328. package/docs/reports/unified-9.0.20/raw/isolation/sunspec-review-after.log +3 -0
  329. package/docs/reports/unified-9.0.20/raw/isolation/sunspec-review-after.result.json +13 -0
  330. package/docs/reports/unified-9.0.20/raw/isolation/sunspec-review-before.log +3 -0
  331. package/docs/reports/unified-9.0.20/raw/isolation/sunspec-review-before.result.json +15 -0
  332. package/docs/reports/unified-9.0.20/raw/keygen-source.json +6 -0
  333. package/docs/reports/unified-9.0.20/raw/legacy-mirror-debt/check-919.log +70 -0
  334. package/docs/reports/unified-9.0.20/raw/legacy-mirror-debt/check-920.log +71 -0
  335. package/docs/reports/unified-9.0.20/raw/legacy-mirror-debt/diff.json +82 -0
  336. package/docs/reports/unified-9.0.20/raw/legacy-mirror-debt/receipt.json +48 -0
  337. package/docs/reports/unified-9.0.20/raw/lint-final.log +16 -0
  338. package/docs/reports/unified-9.0.20/raw/lint-final.result.json +14 -0
  339. package/docs/reports/unified-9.0.20/raw/main-individual-review-before-cache-boundary-fix.json +112 -0
  340. package/docs/reports/unified-9.0.20/raw/main-individual-review-before-capability-ack.json +103 -0
  341. package/docs/reports/unified-9.0.20/raw/main-individual-review-before-farm-diagnostics.json +102 -0
  342. package/docs/reports/unified-9.0.20/raw/main-individual-review-final.json +103 -0
  343. package/docs/reports/unified-9.0.20/raw/main-individual-review.json +93 -0
  344. package/docs/reports/unified-9.0.20/raw/modules-build.log +5 -0
  345. package/docs/reports/unified-9.0.20/raw/modules-build.result.json +14 -0
  346. package/docs/reports/unified-9.0.20/raw/node22-tests-final.log +12471 -0
  347. package/docs/reports/unified-9.0.20/raw/node22-tests-final.result.json +13 -0
  348. package/docs/reports/unified-9.0.20/raw/node22-typecheck-final.log +7 -0
  349. package/docs/reports/unified-9.0.20/raw/node22-typecheck-final.result.json +14 -0
  350. package/docs/reports/unified-9.0.20/raw/node22-version.log +1 -0
  351. package/docs/reports/unified-9.0.20/raw/node24-tests-final.log +2093 -0
  352. package/docs/reports/unified-9.0.20/raw/node24-tests-final.result.json +13 -0
  353. package/docs/reports/unified-9.0.20/raw/node24-typecheck-final.log +5 -0
  354. package/docs/reports/unified-9.0.20/raw/node24-typecheck-final.result.json +14 -0
  355. package/docs/reports/unified-9.0.20/raw/node24-version.log +1 -0
  356. package/docs/reports/unified-9.0.20/raw/power-capability/evidence.json +69 -0
  357. package/docs/reports/unified-9.0.20/raw/power-capability/power-capability-existing-regressions-node24.log +94 -0
  358. package/docs/reports/unified-9.0.20/raw/power-capability/power-capability-lint.log +0 -0
  359. package/docs/reports/unified-9.0.20/raw/power-capability/power-capability-node22.log +304 -0
  360. package/docs/reports/unified-9.0.20/raw/power-capability/power-capability-node24.log +56 -0
  361. package/docs/reports/unified-9.0.20/raw/power-capability/power-capability-typecheck.log +0 -0
  362. package/docs/reports/unified-9.0.20/raw/pwa-https/evidence.json +45 -0
  363. package/docs/reports/unified-9.0.20/raw/pwa-https/node22-build.log +21 -0
  364. package/docs/reports/unified-9.0.20/raw/pwa-https/node22-source.log +23 -0
  365. package/docs/reports/unified-9.0.20/raw/pwa-https/node24-build.log +11 -0
  366. package/docs/reports/unified-9.0.20/raw/pwa-https/node24-source.log +11 -0
  367. package/docs/reports/unified-9.0.20/raw/pwa-independent/policy-boundaries.test.cjs +45 -0
  368. package/docs/reports/unified-9.0.20/raw/pwa-independent/policy-receipt.json +71 -0
  369. package/docs/reports/unified-9.0.20/raw/pwa-independent/policy-v22.23.4.tap +34 -0
  370. package/docs/reports/unified-9.0.20/raw/pwa-independent/policy-v24.22.3.tap +11 -0
  371. package/docs/reports/unified-9.0.20/raw/pwa-ui-independent-review-final.json +348 -0
  372. package/docs/reports/unified-9.0.20/raw/repro-failed-init-drain-before.cjs +15 -0
  373. package/docs/reports/unified-9.0.20/raw/repro-profile-replacement-after-unmapped.cjs +15 -0
  374. package/docs/reports/unified-9.0.20/raw/repro-runtime-retry-before.cjs +18 -0
  375. package/docs/reports/unified-9.0.20/raw/sbom-runtime.log +7 -0
  376. package/docs/reports/unified-9.0.20/raw/sbom-runtime.result.json +14 -0
  377. package/docs/reports/unified-9.0.20/raw/sbom-vendor-check.log +1 -0
  378. package/docs/reports/unified-9.0.20/raw/sbom-vendor-check.result.json +14 -0
  379. package/docs/reports/unified-9.0.20/raw/solax-readback-node22.json +30 -0
  380. package/docs/reports/unified-9.0.20/raw/solax-readback-node22.log +542 -0
  381. package/docs/reports/unified-9.0.20/raw/solax-readback-node24.json +30 -0
  382. package/docs/reports/unified-9.0.20/raw/solax-readback-node24.log +97 -0
  383. package/docs/reports/unified-9.0.20/raw/tariff-report-before.log +147 -0
  384. package/docs/reports/unified-9.0.20/raw/tariff-report-evidence.json +48 -0
  385. package/docs/reports/unified-9.0.20/raw/tariff-report-final-node22.log +151 -0
  386. package/docs/reports/unified-9.0.20/raw/tariff-report-final-node24.log +32 -0
  387. package/docs/reports/unified-9.0.20/raw/ui-docs-check.log +6 -0
  388. package/docs/reports/unified-9.0.20/raw/ui-docs-check.result.json +14 -0
  389. package/docs/reports/unified-9.0.20/raw/ui-runtime-final.log +7 -0
  390. package/docs/reports/unified-9.0.20/raw/ui-runtime-final.result.json +14 -0
  391. package/docs/reports/unified-9.0.20/raw/ui-runtime-sync.log +6 -0
  392. package/docs/reports/unified-9.0.20/raw/ui-runtime-sync.result.json +14 -0
  393. package/docs/reports/unified-9.0.20/raw/ui-sbom-check.log +6 -0
  394. package/docs/reports/unified-9.0.20/raw/ui-sbom-check.result.json +14 -0
  395. package/docs/reports/unified-9.0.20/raw/ui-sbom-final.log +6 -0
  396. package/docs/reports/unified-9.0.20/raw/ui-sbom-final.result.json +14 -0
  397. package/docs/reports/unified-9.0.20/raw/ui-secret-final.log +6 -0
  398. package/docs/reports/unified-9.0.20/raw/ui-secret-final.result.json +14 -0
  399. package/docs/reports/unified-9.0.20/raw/ui-security-final.log +8 -0
  400. package/docs/reports/unified-9.0.20/raw/ui-security-final.result.json +14 -0
  401. package/docs/reports/unified-9.0.20/raw/visuals-baseline-919.txt +36 -0
  402. package/docs/reports/unified-9.0.20/raw/visuals-browser-limit.txt +3 -0
  403. package/docs/reports/unified-9.0.20/raw/visuals-lint.txt +0 -0
  404. package/docs/reports/unified-9.0.20/raw/visuals-node22.txt +258 -0
  405. package/docs/reports/unified-9.0.20/raw/visuals-node24.txt +51 -0
  406. package/docs/reports/unified-9.0.20/raw/visuals-security.txt +0 -0
  407. package/docs/reports/unified-9.0.20/raw/visuals-typecheck.txt +0 -0
  408. package/docs/reports/unified-9.0.20/raw/wallet-freshness-after.log +19 -0
  409. package/docs/reports/unified-9.0.20/raw/wallet-freshness-after.result.json +16 -0
  410. package/docs/reports/unified-9.0.20/raw/wallet-freshness-before.log +31 -0
  411. package/docs/reports/unified-9.0.20/raw/wallet-freshness-before.result.json +14 -0
  412. package/docs/reports/unified-9.0.20/raw/wallet-freshness-independent.result.json +13 -0
  413. package/docs/reports/unified-9.0.20/raw/wallet-freshness-independent.tap +10 -0
  414. package/io-package.json +12 -12
  415. package/modules/backup/admin/index.js +4 -1
  416. package/modules/devices/admin/host-bridge.js +5 -1
  417. package/modules/devices/lib/device-alias-semantics-v1.json +22 -1
  418. package/modules/devices/lib/deviceAliasFreshness.js +1 -0
  419. package/modules/devices/lib/deviceAliasSemantics.js +13 -3
  420. package/modules/devices/lib/deviceRuntime.js +106 -12
  421. package/modules/devices/lib/drivers/modbus.js +90 -21
  422. package/modules/devices/lib/drivers/modbusAsciiBus.js +47 -31
  423. package/modules/devices/lib/drivers/modbusRtuBus.js +33 -9
  424. package/modules/devices/lib/drivers/modbusSerialLease.js +29 -0
  425. package/modules/devices/lib/drivers/mqtt.js +204 -82
  426. package/modules/devices/lib/drivers/mqttPendingOperations.js +119 -0
  427. package/modules/devices/lib/modbusReadEvidence.js +29 -0
  428. package/modules/devices/test/deviceAliasFreshness.test.js +7 -2
  429. package/modules/devices/test/modbusConnectLifecycle.test.js +148 -0
  430. package/modules/devices/test/modbusSerialLifecycle.test.js +91 -0
  431. package/modules/devices/test/mqttCommandLifecycle.test.js +255 -0
  432. package/modules/devices/test/mqttResourceBounds.test.js +98 -0
  433. package/modules/devices/test/mqttRuntimeSession.test.js +109 -0
  434. package/modules/devices/test/serialOperationGate.test.js +3 -3
  435. package/modules/devices/test/solaxReadbackContext.test.js +472 -0
  436. package/modules/devices/tsconfig.alias-semantics.json +1 -1
  437. package/modules/devices/tsconfig.mqtt-lifecycle.json +20 -0
  438. package/modules/devices/tsconfig.serial-lifecycle.json +18 -0
  439. package/modules/eebus/admin/index.js +6 -3
  440. package/package.json +9 -7
  441. package/release-manifests/unified/build-environment.cdx.json +6 -6
  442. package/release-manifests/unified/files.json +848 -169
  443. package/release-manifests/unified/frontend.cdx.json +6 -6
  444. package/release-manifests/unified/installer.cdx.json +6 -6
  445. package/release-manifests/unified/obsolete-admin-assets.json +154 -6
  446. package/release-manifests/unified/runtime.cdx.json +25 -25
  447. package/release-manifests/unified/validation.json +15 -15
  448. package/tools/eos-release-check.cjs +2 -2
  449. package/tools/eos-release-manifest.cjs +3 -3
  450. package/ui/admin/react/assets/index-BJO3q7oe.js +13 -0
  451. package/ui/admin/react/assets/{index-CuquHlsY.css → index-ofLP_Y7y.css} +1 -1
  452. package/ui/admin/react/index.html +2 -2
  453. package/ui/docs/security/eslint-reviewed-findings.json +91 -35
  454. package/ui/ems/engine.js +14 -3
  455. package/ui/ems/modules/energy-wallet.js +9 -3
  456. package/ui/ems/modules/storage-control.js +60 -19
  457. package/ui/ems/modules/tariff-provider.js +34 -10
  458. package/ui/ems/services/tariff-provider-registry.js +18 -8
  459. package/ui/io-package.json +1 -1
  460. package/ui/lib/influx-config.js +204 -0
  461. package/ui/lib/influx-direct.js +527 -0
  462. package/ui/lib/influx-history-runtime.js +326 -0
  463. package/ui/lib/influx-network-policy.js +112 -0
  464. package/ui/lib/ui-access-policy.js +2 -2
  465. package/ui/main.js +614 -255
  466. package/ui/package.json +12 -6
  467. package/ui/www/app.js +152 -203
  468. package/ui/www/ems-apps.html +2 -1
  469. package/ui/www/ems-apps.js +8 -1
  470. package/ui/www/energy-ledger.html +1 -1
  471. package/ui/www/eos-updates.css +15 -0
  472. package/ui/www/eos-updates.js +351 -0
  473. package/ui/www/evcs.html +1 -1
  474. package/ui/www/history.html +1 -1
  475. package/ui/www/history.js +114 -74
  476. package/ui/www/index.html +4 -1
  477. package/ui/www/live-display.js +115 -0
  478. package/ui/www/logic.html +1 -1
  479. package/ui/www/login.css +1 -0
  480. package/ui/www/login.html +2 -1
  481. package/ui/www/manifest.webmanifest +3 -3
  482. package/ui/www/settings.html +36 -1
  483. package/ui/www/simulation.html +1 -1
  484. package/ui/www/smarthome-config.html +1 -1
  485. package/ui/www/smarthome.html +1 -1
  486. package/ui/www/storagefarm-dispatch.js +287 -0
  487. package/ui/www/storagefarm-summary.css +15 -0
  488. package/ui/www/storagefarm.html +15 -1
  489. package/ui/www/storagefarm.js +8 -26
  490. package/ui/www/tariff-report.js +43 -25
  491. package/ui/admin/react/assets/index-Bq5IupDw.js +0 -13
package/ui/www/history.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/history.ts
10
- * Quell-Hash: sha256:3a7f1065dbbe6c058d802f25de4c143060a609ea5ffb17a08c084704f1955126
10
+ * Quell-Hash: sha256:e83f9d9791c6feaf52b091e272d61df1324729010daf84668775ef05b89d5e1c
11
11
  * Erzeugung: npm run sync:ts-runtime-executables
12
12
  *
13
13
  * Zweck:
@@ -768,11 +768,19 @@ function draw(){
768
768
  // consumer/producer series (those are shown as dashed overlay lines).
769
769
  let stackCtx = null;
770
770
  if (stackMode) {
771
- const stackKeys = visibleBaseKeys.slice();
771
+ // Core selection is fixed; no caller-supplied name becomes an object lookup.
772
+ const coreSeries = new Map([
773
+ ['pv', series.pv], ['chg', series.chg], ['dchg', series.dchg], ['sell', series.sell],
774
+ ['buy', series.buy], ['evcs', series.evcs], ['load', series.load],
775
+ ]);
776
+ const stackKeys = visibleBaseKeys.filter(k => {
777
+ const item = coreSeries.get(k);
778
+ return Array.isArray(item?.values) && item.values.length;
779
+ });
772
780
  const valMap = {};
773
781
  stackKeys.forEach(k=>{
774
782
  const m = new Map();
775
- const vals = (series[k]?.values)||[];
783
+ const vals = coreSeries.get(k)?.values || [];
776
784
  vals.forEach(p=>{ m.set(p[0], mapKW(k, p[1])); });
777
785
  valMap[k] = m;
778
786
  });
@@ -870,7 +878,7 @@ function draw(){
870
878
  */
871
879
  function mapKW(k, w){
872
880
  // w in Watts -> return kW with desired sign
873
- const val = Number(w)||0;
881
+ const val = historyNumericValue(w);
874
882
  // dynamic Energiefluss series
875
883
  if (String(k||'').startsWith('c')) return -Math.abs(val)/1000; // Verbraucher
876
884
  if (String(k||'').startsWith('p')) return Math.abs(val)/1000; // Erzeuger
@@ -927,16 +935,24 @@ function draw(){
927
935
  if (dash) ctx.setLineDash(dash);
928
936
  ctx.lineWidth = Number.isFinite(Number(width)) ? Number(width) : 2;
929
937
  ctx.strokeStyle = color;
938
+ let penDown = false;
930
939
  if (k==='soc'){
931
940
  let idx=0; let last=null;
932
941
  xs.forEach((ts,i)=>{
933
942
  while(idx<vals.length && vals[idx][0] <= ts){ last = vals[idx][1]; idx++; }
934
- if(last==null) return;
943
+ if(!Number.isFinite(historyNumericValue(last))) { penDown = false; return; }
935
944
  const xx = x(ts); const yy = ySoc(last);
936
- if (i===0) ctx.moveTo(xx,yy); else ctx.lineTo(xx,yy);
945
+ if (!penDown) ctx.moveTo(xx,yy); else ctx.lineTo(xx,yy);
946
+ penDown = true;
937
947
  });
938
948
  } else {
939
- vals.forEach((p,i)=>{ const xx=x(p[0]); const yy = yPow(mapKW(k, p[1])); if (i===0) ctx.moveTo(xx,yy); else ctx.lineTo(xx,yy); });
949
+ vals.forEach(p=>{
950
+ const value = mapKW(k, p[1]);
951
+ if (!Number.isFinite(value)) { penDown = false; return; }
952
+ const xx=x(p[0]); const yy=yPow(value);
953
+ if (!penDown) ctx.moveTo(xx,yy); else ctx.lineTo(xx,yy);
954
+ penDown = true;
955
+ });
940
956
  }
941
957
  ctx.stroke(); ctx.restore();
942
958
  }
@@ -960,16 +976,16 @@ function draw(){
960
976
 
961
977
  for (const k of posKeys) {
962
978
  const v = valMap[k].get(ts);
963
- const vv = Number.isFinite(v) ? v : 0;
979
+ const vv = Number.isFinite(v) ? v : NaN;
964
980
  stack[k].lower[i] = pos;
965
- pos += (vv > 0 ? vv : 0);
981
+ pos += Number.isFinite(vv) ? Math.max(0, vv) : NaN;
966
982
  stack[k].upper[i] = pos;
967
983
  }
968
984
  for (const k of negKeys) {
969
985
  const v = valMap[k].get(ts);
970
- const vv = Number.isFinite(v) ? v : 0;
986
+ const vv = Number.isFinite(v) ? v : NaN;
971
987
  stack[k].lower[i] = neg;
972
- neg += (vv < 0 ? vv : 0);
988
+ neg += Number.isFinite(vv) ? Math.min(0, vv) : NaN;
973
989
  stack[k].upper[i] = neg;
974
990
  }
975
991
  }
@@ -998,23 +1014,27 @@ function draw(){
998
1014
 
999
1015
  const col = CORE_COLORS[k] || '#9aa4ad';
1000
1016
  ctx.save();
1001
- ctx.beginPath();
1002
- for (let i = 0; i < xs.length; i++) {
1003
- const xx = x(xs[i]);
1004
- const yy = yPow(seg.upper[i]);
1005
- if (i === 0) ctx.moveTo(xx, yy); else ctx.lineTo(xx, yy);
1006
- }
1007
- for (let i = xs.length - 1; i >= 0; i--) {
1008
- const xx = x(xs[i]);
1009
- const yy = yPow(seg.lower[i]);
1010
- ctx.lineTo(xx, yy);
1011
- }
1012
- ctx.closePath();
1013
1017
  ctx.fillStyle = hexToRgba(col, 0.32);
1014
- ctx.fill();
1015
1018
  ctx.strokeStyle = hexToRgba(col, 0.85);
1016
1019
  ctx.lineWidth = 1;
1017
- ctx.stroke();
1020
+ // Paint each continuous known run separately; never close a polygon
1021
+ // across an outage or treat a missing lower stack component as zero.
1022
+ let first = 0;
1023
+ while (first < xs.length) {
1024
+ while (first < xs.length && (!Number.isFinite(seg.upper.at(first)) || !Number.isFinite(seg.lower.at(first)))) first++;
1025
+ let last = first;
1026
+ while (last < xs.length && Number.isFinite(seg.upper.at(last)) && Number.isFinite(seg.lower.at(last))) last++;
1027
+ if (last - first >= 2) {
1028
+ ctx.beginPath();
1029
+ for (let i = first; i < last; i++) {
1030
+ if (i === first) ctx.moveTo(x(xs.at(i)), yPow(seg.upper.at(i)));
1031
+ else ctx.lineTo(x(xs.at(i)), yPow(seg.upper.at(i)));
1032
+ }
1033
+ for (let i = last - 1; i >= first; i--) ctx.lineTo(x(xs.at(i)), yPow(seg.lower.at(i)));
1034
+ ctx.closePath(); ctx.fill(); ctx.stroke();
1035
+ }
1036
+ first = last + 1;
1037
+ }
1018
1038
  ctx.restore();
1019
1039
  };
1020
1040
 
@@ -1175,15 +1195,21 @@ function draw(){
1175
1195
  * Zusammenhang: Teil von History/Reports: Charts, Zeiträume, Exporte; Aufrufstellen und abhängige States/APIs beim Ändern mitprüfen.
1176
1196
  * TypeScript: Parameter, Rückgabewert und verwendete Config-/State-Objekte später explizit typisieren.
1177
1197
  */
1198
+ function historyNumericValue(value){
1199
+ if (value == null || typeof value === 'boolean' || (typeof value === 'string' && !value.trim())) return NaN;
1200
+ const number = Number(value);
1201
+ return Number.isFinite(number) ? number : NaN;
1202
+ }
1178
1203
  function aggregateEnergyKWh(vals, buckets){
1179
1204
  // vals: [ [ts, W], ... ], buckets: [{start,end}]
1180
1205
  const out = buckets.map(b=>({mid: (b.start+b.end)/2, kwh:0}));
1181
1206
  if(!vals || vals.length<2) return out;
1182
1207
  let i=0;
1183
1208
  for(let j=0;j<vals.length-1;j++){
1184
- let t0=+vals[j][0], v0=+vals[j][1];
1185
- let t1=+vals[j+1][0], v1=+vals[j+1][1];
1186
- if(!(t1>t0)) continue;
1209
+ const current = vals.at(j), next = vals.at(j + 1);
1210
+ let t0=+current[0], v0=historyNumericValue(current[1]);
1211
+ let t1=+next[0], v1=historyNumericValue(next[1]);
1212
+ if(!(t1>t0) || !Number.isFinite(v0) || !Number.isFinite(v1)) continue;
1187
1213
  // walk across buckets
1188
1214
  let segStart=t0, segV0=v0;
1189
1215
  while(segStart < t1){
@@ -1237,8 +1263,8 @@ function draw(){
1237
1263
  function sumEnergyKWh(vals){
1238
1264
  if(!Array.isArray(vals) || vals.length < 2) return 0;
1239
1265
  const points = vals
1240
- .map(p => [toTsMs(p[0]), Number(p[1])])
1241
- .filter(p => Number.isFinite(p[0]) && Number.isFinite(p[1]))
1266
+ .map(p => [toTsMs(p[0]), historyNumericValue(p[1])])
1267
+ .filter(p => Number.isFinite(p[0]))
1242
1268
  .sort((a, b) => a[0] - b[0]);
1243
1269
  if(points.length < 2) return 0;
1244
1270
 
@@ -1246,7 +1272,7 @@ function draw(){
1246
1272
  for(let i=0; i<points.length-1; i++){
1247
1273
  const t0 = points[i][0], v0 = Math.abs(points[i][1]);
1248
1274
  const t1 = points[i+1][0], v1 = Math.abs(points[i+1][1]);
1249
- if(t1 <= t0) continue;
1275
+ if(t1 <= t0 || !Number.isFinite(v0) || !Number.isFinite(v1)) continue;
1250
1276
 
1251
1277
  const dt_s = (t1 - t0) / 1000;
1252
1278
  const avgW = (v0 + v1) / 2;
@@ -1261,8 +1287,8 @@ function draw(){
1261
1287
  * TypeScript: Parameter, Rückgabewert und verwendete Config-/State-Objekte später explizit typisieren.
1262
1288
  */
1263
1289
  function pickEnergyKwh(counterVal, integratedVal){
1264
- const counter = Number(counterVal);
1265
- const integrated = Number(integratedVal);
1290
+ const counter = historyNumericValue(counterVal);
1291
+ const integrated = historyNumericValue(integratedVal);
1266
1292
  const counterOk = Number.isFinite(counter) && counter >= 0;
1267
1293
  const integratedOk = Number.isFinite(integrated) && integrated >= 0;
1268
1294
  if (!counterOk) return integratedOk ? integrated : 0;
@@ -1277,14 +1303,14 @@ function draw(){
1277
1303
  * Zusammenhang: Teil von History/Reports: Charts, Zeiträume, Exporte; Aufrufstellen und abhängige States/APIs beim Ändern mitprüfen.
1278
1304
  * TypeScript: Parameter, Rückgabewert und verwendete Config-/State-Objekte später explizit typisieren.
1279
1305
  */
1280
- function formatMoney2(v){ return Number.isFinite(Number(v)) ? (Number(v).toFixed(2) + ' €') : '--'; }
1306
+ function formatMoney2(v){ const n = historyNumericValue(v); return Number.isFinite(n) ? (n.toFixed(2) + ' €') : '--'; }
1281
1307
  /**
1282
1308
  * Code-Teil: formatPrice2
1283
1309
  * Zweck: Formatiert Daten für Anzeige oder Logs.
1284
1310
  * Zusammenhang: Teil von History/Reports: Charts, Zeiträume, Exporte; Aufrufstellen und abhängige States/APIs beim Ändern mitprüfen.
1285
1311
  * TypeScript: Parameter, Rückgabewert und verwendete Config-/State-Objekte später explizit typisieren.
1286
1312
  */
1287
- function formatPrice2(v){ return Number.isFinite(Number(v)) ? (Number(v).toFixed(2) + ' €/kWh') : '--'; }
1313
+ function formatPrice2(v){ const n = historyNumericValue(v); return Number.isFinite(n) ? (n.toFixed(2) + ' €/kWh') : '--'; }
1288
1314
  /**
1289
1315
  * Code-Teil: formatKwh2
1290
1316
  * Zweck: Formatiert Daten für Anzeige oder Logs.
@@ -1300,8 +1326,8 @@ function draw(){
1300
1326
  */
1301
1327
  function normalizeNumericSeries(vals){
1302
1328
  const arr = (Array.isArray(vals) ? vals : [])
1303
- .map(p => [toTsMs(p && p[0]), Number(p && p[1])])
1304
- .filter(p => Number.isFinite(p[0]) && Number.isFinite(p[1]))
1329
+ .map(p => [toTsMs(p && p[0]), historyNumericValue(p && p[1])])
1330
+ .filter(p => Number.isFinite(p[0]))
1305
1331
  .sort((a, b) => a[0] - b[0]);
1306
1332
  const out = [];
1307
1333
  for (const p of arr){
@@ -1370,22 +1396,22 @@ function draw(){
1370
1396
  let base = valueAtHold(baseVals, mid);
1371
1397
  let netFee = valueAtHold(netFeeVals, mid);
1372
1398
  let total = valueAtHold(totalVals, mid);
1373
- if (!Number.isFinite(total)) {
1374
- const safeBase = Number.isFinite(base) ? base : 0;
1399
+ if (!Number.isFinite(total) && Number.isFinite(base)) {
1400
+ const safeBase = base;
1375
1401
  const safeNet = Number.isFinite(netFee) ? netFee : 0;
1376
1402
  total = safeBase + safeNet;
1377
1403
  }
1378
- if (!Number.isFinite(base)) base = Math.max(0, total - (Number.isFinite(netFee) ? netFee : 0));
1404
+ if (!Number.isFinite(base)) base = total - (Number.isFinite(netFee) ? netFee : 0);
1379
1405
  if (!Number.isFinite(netFee)) netFee = Math.max(0, total - (Number.isFinite(base) ? base : total));
1380
1406
  const importKwh = Math.max(0, Number(importAgg[idx] && importAgg[idx].kwh) || 0);
1381
- const costEur = importKwh * Math.max(0, Number(total) || 0);
1407
+ const costEur = importKwh * total;
1382
1408
  return {
1383
1409
  start: b.start,
1384
1410
  end: b.end,
1385
1411
  ts: mid,
1386
- base: Math.max(0, Number(base) || 0),
1412
+ base,
1387
1413
  netFee: Math.max(0, Number(netFee) || 0),
1388
- total: Math.max(0, Number(total) || 0),
1414
+ total,
1389
1415
  importKwh,
1390
1416
  costEur,
1391
1417
  };
@@ -1414,11 +1440,12 @@ function draw(){
1414
1440
  const ivDur = iv.end - iv.start;
1415
1441
  if (!(overlap > 0) || !(ivDur > 0)) return;
1416
1442
  const factor = overlap / ivDur;
1443
+ importKwh += Number(iv.importKwh || 0) * factor;
1444
+ if (!Number.isFinite(historyNumericValue(iv.total))) return;
1417
1445
  durAcc += overlap;
1418
1446
  baseAcc += Number(iv.base || 0) * overlap;
1419
1447
  netAcc += Number(iv.netFee || 0) * overlap;
1420
1448
  totalAcc += Number(iv.total || 0) * overlap;
1421
- importKwh += Number(iv.importKwh || 0) * factor;
1422
1449
  costEur += Number(iv.costEur || 0) * factor;
1423
1450
  });
1424
1451
  const ts = (b.start + b.end) / 2;
@@ -1426,11 +1453,11 @@ function draw(){
1426
1453
  start: b.start,
1427
1454
  end: b.end,
1428
1455
  ts,
1429
- base: durAcc > 0 ? (baseAcc / durAcc) : 0,
1430
- netFee: durAcc > 0 ? (netAcc / durAcc) : 0,
1431
- total: durAcc > 0 ? (totalAcc / durAcc) : 0,
1456
+ base: durAcc > 0 ? (baseAcc / durAcc) : NaN,
1457
+ netFee: durAcc > 0 ? (netAcc / durAcc) : NaN,
1458
+ total: durAcc > 0 ? (totalAcc / durAcc) : NaN,
1432
1459
  importKwh: Math.max(0, importKwh),
1433
- costEur: Math.max(0, costEur),
1460
+ costEur: durAcc > 0 ? costEur : NaN,
1434
1461
  };
1435
1462
  });
1436
1463
  }
@@ -1452,20 +1479,22 @@ function draw(){
1452
1479
  netFeeCost: null,
1453
1480
  };
1454
1481
  }
1455
- const prices = src.map(iv => Number(iv.total)).filter(Number.isFinite);
1482
+ const prices = src.map(iv => historyNumericValue(iv.total)).filter(Number.isFinite);
1456
1483
  const importKwh = src.reduce((sum, iv) => sum + (Number(iv.importKwh) || 0), 0);
1484
+ const pricedImportKwh = src.reduce((sum, iv) => sum + (Number.isFinite(historyNumericValue(iv.total))
1485
+ ? (Number(iv.importKwh) || 0) : 0), 0);
1457
1486
  const totalCost = src.reduce((sum, iv) => sum + (Number(iv.costEur) || 0), 0);
1458
1487
  const netFeeCost = src.reduce((sum, iv) => sum + ((Number(iv.importKwh) || 0) * (Number(iv.netFee) || 0)), 0);
1459
1488
  let avgPrice = null;
1460
- if (importKwh > 0.0001) avgPrice = totalCost / importKwh;
1489
+ if (prices.length && pricedImportKwh > 0.0001) avgPrice = totalCost / pricedImportKwh;
1461
1490
  else if (prices.length) avgPrice = prices.reduce((a, b) => a + b, 0) / prices.length;
1462
1491
  return {
1463
1492
  minPrice: prices.length ? Math.min(...prices) : null,
1464
1493
  maxPrice: prices.length ? Math.max(...prices) : null,
1465
1494
  avgPrice,
1466
1495
  importKwh,
1467
- totalCost,
1468
- netFeeCost,
1496
+ totalCost: prices.length ? totalCost : null,
1497
+ netFeeCost: prices.length ? netFeeCost : null,
1469
1498
  };
1470
1499
  }
1471
1500
  /**
@@ -1512,6 +1541,7 @@ function draw(){
1512
1541
  if (src.netFeeEnabled) parts.push('variables Netzentgelt aktiv');
1513
1542
  if (Array.isArray(intervals) && intervals.length) parts.push('Kosten werden aus historischem Preis × Bezug berechnet');
1514
1543
  else parts.push('Preis-Historie füllt sich ab diesem Update und dient später zum Gegenprüfen der Abrechnung');
1544
+ if (Array.isArray(intervals) && intervals.some(iv => !Number.isFinite(historyNumericValue(iv.total)))) parts.push('Preislücken: Kosten nur für Abschnitte mit bekanntem Preis');
1515
1545
  return parts.join(' · ');
1516
1546
  }
1517
1547
  /**
@@ -1621,17 +1651,17 @@ function draw(){
1621
1651
  const B = 42;
1622
1652
 
1623
1653
  const leftVals = [];
1624
- if (isPriceSeriesVisible('total')) leftVals.push(...points.map(p => Number(p.total)).filter(Number.isFinite));
1625
- if (isPriceSeriesVisible('base')) leftVals.push(...points.map(p => Number(p.base)).filter(Number.isFinite));
1626
- if (isPriceSeriesVisible('netfee')) leftVals.push(...points.map(p => Number(p.netFee)).filter(Number.isFinite));
1654
+ if (isPriceSeriesVisible('total')) leftVals.push(...points.map(p => historyNumericValue(p.total)).filter(Number.isFinite));
1655
+ if (isPriceSeriesVisible('base')) leftVals.push(...points.map(p => historyNumericValue(p.base)).filter(Number.isFinite));
1656
+ if (isPriceSeriesVisible('netfee')) leftVals.push(...points.map(p => historyNumericValue(p.netFee)).filter(Number.isFinite));
1627
1657
  let leftMin = leftVals.length ? Math.min(...leftVals) : 0;
1628
1658
  let leftMax = leftVals.length ? Math.max(...leftVals) : 1;
1629
1659
  if (!(leftMax > leftMin)) {
1630
- leftMin = Math.max(0, leftMin - 0.05);
1660
+ leftMin -= 0.05;
1631
1661
  leftMax = leftMin + 0.10;
1632
1662
  } else {
1633
1663
  const pad = Math.max(0.01, (leftMax - leftMin) * 0.12);
1634
- leftMin = Math.max(0, leftMin - pad);
1664
+ leftMin -= pad;
1635
1665
  leftMax += pad;
1636
1666
  }
1637
1667
 
@@ -1640,6 +1670,7 @@ function draw(){
1640
1670
  if (isPriceSeriesVisible('cost')) rightVals.push(...points.map(p => Number(p.costEur)).filter(Number.isFinite));
1641
1671
  let rightMax = rightVals.length ? Math.max(...rightVals) : 1;
1642
1672
  rightMax = Math.max(0.05, rightMax * 1.15);
1673
+ const rightMin = rightVals.length ? Math.min(0, ...rightVals) * 1.15 : 0;
1643
1674
 
1644
1675
  /**
1645
1676
  * Code-Teil: Arrow-Funktion `x`
@@ -1670,7 +1701,7 @@ function draw(){
1670
1701
  * Zusammenhang: Teil von History/Reports: Charts, Zeiträume, Exporte; Aufrufstellen und abhängige States/APIs beim Ändern mitprüfen.
1671
1702
  * TypeScript: Parameter, Rückgabewert und verwendete Config-/State-Objekte später explizit typisieren.
1672
1703
  */
1673
- const yRight = (val) => T + (H - B - T) * (1 - (Math.max(0, Number(val) || 0) / rightMax));
1704
+ const yRight = (val) => T + (H - B - T) * (1 - ((Number(val) - rightMin) / (rightMax - rightMin)));
1674
1705
 
1675
1706
  // grid
1676
1707
  priceCtx.save();
@@ -1700,7 +1731,7 @@ function draw(){
1700
1731
  for (let i = 0; i < 5; i++) {
1701
1732
  const frac = 1 - (i / 4);
1702
1733
  const yy = T + i * (H - B - T) / 4 + 4;
1703
- const val = rightMax * frac;
1734
+ const val = rightMin + (rightMax - rightMin) * frac;
1704
1735
  priceCtx.fillText(val.toFixed(2), W - R + 8, yy);
1705
1736
  }
1706
1737
  priceCtx.textAlign = 'right';
@@ -1759,8 +1790,8 @@ function draw(){
1759
1790
  priceCtx.beginPath();
1760
1791
  let started = false;
1761
1792
  points.forEach((p) => {
1762
- const val = Number(accessor(p));
1763
- if (!Number.isFinite(val)) return;
1793
+ const val = historyNumericValue(accessor(p));
1794
+ if (!Number.isFinite(val)) { started = false; return; }
1764
1795
  const xx = x(p.ts);
1765
1796
  const yy = (key === 'cost') ? yRight(val) : yLeft(val);
1766
1797
  if (!started) {
@@ -1790,7 +1821,7 @@ function draw(){
1790
1821
  priceCtx.restore();
1791
1822
  }
1792
1823
 
1793
- pricingChartState = { points, start, end, L, R, T, B, x, yLeft, yRight, leftMin, leftMax, rightMax };
1824
+ pricingChartState = { points, start, end, L, R, T, B, x, yLeft, yRight, leftMin, leftMax, rightMin, rightMax };
1794
1825
  }
1795
1826
 
1796
1827
  (function initPricingTooltip(){
@@ -2134,8 +2165,13 @@ async function load(force = false){
2134
2165
  * Zusammenhang: Teil von History/Reports: Charts, Zeiträume, Exporte; Aufrufstellen und abhängige States/APIs beim Ändern mitprüfen.
2135
2166
  * TypeScript: Parameter, Rückgabewert und verwendete Config-/State-Objekte später explizit typisieren.
2136
2167
  */
2168
+ const exactValues = new Map([
2169
+ ['productionKwh', exact.productionKwh], ['storageChargeKwh', exact.storageChargeKwh],
2170
+ ['storageDischargeKwh', exact.storageDischargeKwh], ['gridExportKwh', exact.gridExportKwh],
2171
+ ['gridImportKwh', exact.gridImportKwh], ['evKwh', exact.evKwh], ['consumptionKwh', exact.consumptionKwh],
2172
+ ]);
2137
2173
  const exactNum = (key) => {
2138
- const n = Number(exact && exact[key]);
2174
+ const n = historyNumericValue(exactValues.get(key));
2139
2175
  return Number.isFinite(n) && n >= 0 ? n : null;
2140
2176
  };
2141
2177
  const cards = document.getElementById('cards');
@@ -2147,6 +2183,9 @@ async function load(force = false){
2147
2183
  */
2148
2184
  function card(title, val){ const el=document.createElement('div'); el.className='card'; el.innerHTML = `<small>${nwHistoryEscapeHtml(title)}</small><b>${nwHistoryEscapeHtml(val)}</b>`; cards.appendChild(el); }
2149
2185
  cards.innerHTML='';
2186
+ const hasGaps = Object.values(s || {}).some(item => Array.isArray(item?.values)
2187
+ && item.values.some(row => row[0] < res.end && !Number.isFinite(historyNumericValue(row[1]))));
2188
+ if (hasGaps) card('Datenbasis', 'Messlücken – berechnete Summen nur aus bekannten Abschnitten');
2150
2189
  const pvKwh = exactNum('productionKwh') ?? pickEnergyKwh(e.productionKwh, sumEnergyKWh(s.pv && s.pv.values));
2151
2190
  const chargeKwh = exactNum('storageChargeKwh') ?? pickEnergyKwh(e.storageChargeKwh, sumEnergyKWh(s.chg && s.chg.values));
2152
2191
  const dischargeKwh = exactNum('storageDischargeKwh') ?? pickEnergyKwh(e.storageDischargeKwh, sumEnergyKWh(s.dchg && s.dchg.values));
@@ -2606,25 +2645,26 @@ async function load(force = false){
2606
2645
  * TypeScript: Parameter, Rückgabewert und verwendete Config-/State-Objekte später explizit typisieren.
2607
2646
  */
2608
2647
  function kv2(label, val, unit='kW'){
2609
- const v = Number(val||0).toFixed(2);
2648
+ const value = historyNumericValue(val);
2649
+ const v = Number.isFinite(value) ? value.toFixed(2) : '–';
2610
2650
  return `<div style="display:flex;justify-content:space-between;gap:8px"><span>${nwHistoryEscapeHtml(label)}</span><b>${v} ${nwHistoryEscapeHtml(unit)}</b></div>`;
2611
2651
  }
2612
- const pv = collect.pv?.[1] ?? 0;
2613
- const chg = collect.chg?.[1] ?? 0;
2614
- const dchg = collect.dchg?.[1] ?? 0;
2615
- const buy = collect.buy?.[1] ?? 0;
2616
- const sell = collect.sell?.[1] ?? 0;
2617
- const load = collect.load?.[1] ?? 0;
2618
- const evcs = collect.evcs?.[1] ?? 0;
2652
+ const pv = historyNumericValue(collect.pv?.[1]);
2653
+ const chg = historyNumericValue(collect.chg?.[1]);
2654
+ const dchg = historyNumericValue(collect.dchg?.[1]);
2655
+ const buy = historyNumericValue(collect.buy?.[1]);
2656
+ const sell = historyNumericValue(collect.sell?.[1]);
2657
+ const load = historyNumericValue(collect.load?.[1]);
2658
+ const evcs = historyNumericValue(collect.evcs?.[1]);
2619
2659
  const soc = collect.soc?.[1] ?? null;
2620
2660
 
2621
2661
  const rows = [];
2622
2662
  if (isSeriesVisible('pv')) rows.push(kv2('Erzeugung', pv/1000));
2623
- if (isSeriesVisible('chg')) rows.push(kv2('Beladung', -(Math.abs(chg)||0)/1000));
2624
- if (isSeriesVisible('dchg')) rows.push(kv2('Entladung', (Math.abs(dchg)||0)/1000));
2663
+ if (isSeriesVisible('chg')) rows.push(kv2('Beladung', -Math.abs(chg)/1000));
2664
+ if (isSeriesVisible('dchg')) rows.push(kv2('Entladung', Math.abs(dchg)/1000));
2625
2665
  if (isSeriesVisible('buy')) rows.push(kv2('Bezug', buy/1000));
2626
2666
  if (isSeriesVisible('sell')) rows.push(kv2('Einspeisung', sell/1000));
2627
- if (isSeriesVisible('evcs')) rows.push(kv2('E‑Mobilität', (Math.abs(evcs)||0)/1000));
2667
+ if (isSeriesVisible('evcs')) rows.push(kv2('E‑Mobilität', Math.abs(evcs)/1000));
2628
2668
  if (isSeriesVisible('load')) rows.push(kv2('Verbrauch', load/1000));
2629
2669
  let html = `<div style="margin-bottom:6px;opacity:.9"><b>Leistung</b> · ${hh}</div>` + rows.join('');
2630
2670
 
package/ui/www/index.html CHANGED
@@ -28,7 +28,7 @@
28
28
  <link rel="manifest" href="/manifest.webmanifest">
29
29
  <link rel="icon" type="image/png" sizes="32x32" href="/assets/icons/nexowatt-32.png">
30
30
  <link rel="icon" type="image/png" sizes="192x192" href="/assets/icons/nexowatt-192.png">
31
- <link rel="apple-touch-icon" sizes="1024x1024" href="/apple-touch-icon.png?v=952ceb9cef3f">
31
+ <link rel="apple-touch-icon" type="image/png" sizes="180x180" href="/assets/icons/nexowatt-180.png?v=083e11ab28ec">
32
32
  <!-- Gemeinsamer direkter/Proxy-Bootstrap: Sitzung und CSRF vor der Bedienlogik. -->
33
33
  <script src="/static/runtime-base.js"></script>
34
34
  <script src="/static/auth.js"></script>
@@ -41,6 +41,8 @@
41
41
  <!-- NexoWatt iOS Icons -->
42
42
  <script src="/static/nw-i18n.js" defer></script>
43
43
  <script defer src="/eos-session-idle.js"></script>
44
+ <link rel="stylesheet" href="/static/eos-updates.css">
45
+ <script src="/static/eos-updates.js" defer></script>
44
46
  </head>
45
47
  <!-- NexoWatt Detail-Kommentar (DE) -->
46
48
  <!-- Hauptseite des Kunden-Dashboards. IDs und data-tab-content-Werte sind Verträge mit www/app.js; nicht umbenennen ohne JS-Anpassung. -->
@@ -999,6 +1001,7 @@
999
1001
  <script src="/static/dashboard-lp-status.js"></script>
1000
1002
  <script src="/static/power-measurements.js"></script>
1001
1003
  <script src="/static/tariff-display.js"></script>
1004
+ <script src="/static/live-display.js"></script>
1002
1005
  <script src="/static/app.js"></script>
1003
1006
 
1004
1007
  <!-- Kundeneinstellungen liegen ausschließlich in settings.html. -->
@@ -0,0 +1,115 @@
1
+ /**
2
+ * Copyright (c) 2026 NexoWatt. All rights reserved.
3
+ * Confidential and Proprietary.
4
+ * Use, modification or distribution without express written permission is prohibited.
5
+ */
6
+ /**
7
+ * AUTO-GENERATED RUNTIME FILE - NICHT MANUELL BEARBEITEN.
8
+ *
9
+ * Quelle: src-ts/runtime-executables/www/live-display.ts
10
+ * Quell-Hash: sha256:d06eaaad6b89814a35b421faebba5bd1f9c61488edc91bcc28a80d004eb48c5c
11
+ * Erzeugung: npm run sync:ts-runtime-executables
12
+ *
13
+ * Zweck:
14
+ * Diese JavaScript-Datei ist das ausführbare Build-Artefakt für www/live-display.js.
15
+ * Die fachliche Bearbeitung erfolgt ab 0.7.131 in der TypeScript-Quelle.
16
+ * Ab 0.7.132 sind doppelte Legacy-JS-Bäume wie .nwcore entfernt.
17
+ *
18
+ * Pflege-Regel:
19
+ * 1. Änderung zuerst in src-ts/runtime-executables/ vornehmen.
20
+ * 2. npm run sync:ts-runtime-executables ausführen.
21
+ * 3. npm run test:runtime-executables prüfen.
22
+ */
23
+ /**
24
+ * NexoWatt Quellcode-Erklärung (DE)
25
+ * Aufgabe: Validiert ausschließlich sichtbare LIVE-Messwerte und Betriebsstatus.
26
+ * Daten und Wirkung: Liest lokale Snapshot-Werte ohne API-/Schreibwirkung. Fehlend,
27
+ * veraltet und offline bleiben unbekannt; die echte Zahl 0 bleibt eine Messung.
28
+ * Bei Änderungen: Null, konstant bestätigte Werte, Zukunftszeit und Ausfälle prüfen.
29
+ */
30
+ (() => {
31
+ const record = (value) => !!value && typeof value === 'object' && !Array.isArray(value);
32
+ function entry(snapshot, key) {
33
+ if (!record(snapshot) || !Object.hasOwn(snapshot, key))
34
+ return null;
35
+ const value = Reflect.get(snapshot, key);
36
+ return record(value) ? value : null;
37
+ }
38
+ function number(value) {
39
+ if (typeof value === 'number')
40
+ return Number.isFinite(value) ? value : null;
41
+ if (typeof value !== 'string' || value.length > 64 || !value.trim())
42
+ return null;
43
+ const text = value.trim().replace(',', '.');
44
+ // Begrenzte lineare Dezimalprüfung ohne Regex-Backtracking, Exponent oder Hex.
45
+ let digits = 0, separators = 0;
46
+ for (let index = 0; index < text.length; index++) {
47
+ const char = text.charAt(index);
48
+ if (index === 0 && (char === '+' || char === '-'))
49
+ continue;
50
+ if (char >= '0' && char <= '9') {
51
+ digits++;
52
+ continue;
53
+ }
54
+ if (char === '.' && separators === 0) {
55
+ separators++;
56
+ continue;
57
+ }
58
+ return null;
59
+ }
60
+ if (digits === 0)
61
+ return null;
62
+ const parsed = Number(text);
63
+ return Number.isFinite(parsed) ? parsed : null;
64
+ }
65
+ function current(row, now, maxAge, online) {
66
+ const ts = row ? number(row.ts) : null;
67
+ return online && ts !== null && ts > 0 && ts <= now + 5000 && now - ts <= maxAge;
68
+ }
69
+ function read(snapshot, key, now, maxAge, online) {
70
+ const row = entry(snapshot, key);
71
+ return current(row, now, maxAge, online) ? number(row?.value) : null;
72
+ }
73
+ function farm(snapshot, now, online) {
74
+ const row = entry(snapshot, 'storageFarm.overviewJson');
75
+ if (!row)
76
+ return null; // Legacy snapshots have no atomic overview.
77
+ const missing = { charge: null, discharge: null, soc: null };
78
+ if (!current(row, now, 30000, online) || typeof row.value !== 'string' || row.value.length > 16384)
79
+ return missing;
80
+ try {
81
+ const parsed = JSON.parse(row.value);
82
+ if (!record(parsed) || parsed.v !== 1 || !record(parsed.members) || !record(parsed.battery) || !record(parsed.soc))
83
+ return missing;
84
+ const updatedAt = number(parsed.updatedAt), total = number(parsed.members.total);
85
+ if (updatedAt === null || updatedAt <= 0 || updatedAt > now + 5000 || now - updatedAt > 30000 || total === null || !Number.isInteger(total) || total <= 0 || total > 128)
86
+ return missing;
87
+ const battery = parsed.battery, soc = parsed.soc;
88
+ const complete = battery.complete === true && battery.valid === total && battery.total === total;
89
+ const charge = number(battery.chargeW), discharge = number(battery.dischargeW), mean = number(soc.meanPct);
90
+ const socComplete = soc.complete === true && soc.valid === total && soc.total === total;
91
+ return { charge: complete && charge !== null && charge >= 0 ? charge : null,
92
+ discharge: complete && discharge !== null && discharge >= 0 ? discharge : null,
93
+ soc: socComplete && mean !== null && mean >= 0 && mean <= 100 ? mean : null };
94
+ }
95
+ catch {
96
+ return missing;
97
+ }
98
+ }
99
+ function status(snapshot, online, now) {
100
+ if (!online)
101
+ return { ems: 'Verbindung unterbrochen', grid: 'Messstatus unbekannt', summary: 'Verbindung unterbrochen' };
102
+ const alive = entry(snapshot, 'ems.core.schedulerAlive');
103
+ const heartbeat = read(snapshot, 'ems.core.schedulerHeartbeatAt', now, 30000, true);
104
+ const running = alive?.value === true && heartbeat !== null && heartbeat > 0 && heartbeat <= now + 5000 && now - heartbeat <= 30000;
105
+ const stopped = current(alive, now, 30000, true) && alive?.value === false;
106
+ const nvp = entry(snapshot, 'ems.gridMeasurementFresh');
107
+ const gridKnown = current(nvp, now, 30000, true) && typeof nvp?.value === 'boolean';
108
+ const gridFresh = gridKnown && nvp?.value === true;
109
+ return { ems: running ? 'Aktiv' : stopped ? 'Gestoppt' : 'Status unbekannt',
110
+ grid: gridFresh ? 'Messung aktuell' : gridKnown ? 'Messung fehlt / veraltet' : 'Messstatus unbekannt',
111
+ summary: running && gridFresh ? 'EMS aktiv · NVP-Messung aktuell' : stopped ? 'EMS gestoppt' : 'Betriebsstatus prüfen' };
112
+ }
113
+ const host = window;
114
+ host.NexoWattLiveDisplay = Object.freeze({ read, farm, status });
115
+ })();
package/ui/www/logic.html CHANGED
@@ -26,7 +26,7 @@
26
26
  <link rel="manifest" href="/manifest.webmanifest">
27
27
  <link rel="icon" type="image/png" sizes="32x32" href="/assets/icons/nexowatt-32.png">
28
28
  <link rel="icon" type="image/png" sizes="192x192" href="/assets/icons/nexowatt-192.png">
29
- <link rel="apple-touch-icon" sizes="1024x1024" href="/apple-touch-icon.png?v=952ceb9cef3f">
29
+ <link rel="apple-touch-icon" type="image/png" sizes="180x180" href="/assets/icons/nexowatt-180.png?v=083e11ab28ec">
30
30
  <!-- Gemeinsamer direkter/Proxy-Bootstrap: Sitzung und CSRF vor der Bedienlogik. -->
31
31
  <script src="/static/runtime-base.js"></script>
32
32
  <script src="/static/auth.js"></script>
package/ui/www/login.css CHANGED
@@ -29,6 +29,7 @@ button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #22b8
29
29
  .nw-login-orbit-dot--one{top:3px;left:87px}.nw-login-orbit-dot--two{top:104px;left:21px}.nw-login-orbit-dot--three{top:104px;left:151px}
30
30
  .nw-login-panel{display:grid;place-items:center;padding:56px 32px;background:#061526}
31
31
  .nw-login-card{width:min(100%,390px)}
32
+ .nw-login-app-icon{display:block;width:64px;height:64px;max-width:100%;object-fit:contain;margin:0 0 18px}
32
33
  .nw-login-card h2{margin:0 0 12px;font-size:32px;line-height:1.2;font-weight:590;letter-spacing:-1.1px}
33
34
  .nw-login-description{margin:0 0 24px;color:var(--login-muted);font-size:14px;line-height:1.7}
34
35
  .nw-login-status{margin:0 0 22px;border-left:3px solid #00e676;padding:10px 12px;background:#0d2937;border-radius:0 6px 6px 0;color:#c0d8e5;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
package/ui/www/login.html CHANGED
@@ -12,7 +12,7 @@
12
12
  <link rel="manifest" href="/manifest.webmanifest">
13
13
  <link rel="icon" type="image/png" sizes="32x32" href="/assets/icons/nexowatt-32.png">
14
14
  <link rel="icon" type="image/png" sizes="192x192" href="/assets/icons/nexowatt-192.png">
15
- <link rel="apple-touch-icon" sizes="1024x1024" href="/apple-touch-icon.png?v=952ceb9cef3f">
15
+ <link rel="apple-touch-icon" type="image/png" sizes="180x180" href="/assets/icons/nexowatt-180.png?v=083e11ab28ec">
16
16
 
17
17
  <meta name="viewport" content="width=device-width, initial-scale=1">
18
18
  <meta name="referrer" content="no-referrer">
@@ -43,6 +43,7 @@
43
43
 
44
44
  <section class="nw-login-panel" id="anmeldung" aria-labelledby="loginTitle">
45
45
  <div class="nw-login-card">
46
+ <img class="nw-login-app-icon" src="/assets/icons/nexowatt-192.png" alt="NexoWatt EOS" width="64" height="64" decoding="async" loading="eager">
46
47
  <h2 id="loginTitle">Willkommen zurück.</h2>
47
48
  <p class="nw-login-description" id="loginDescription">Dein Anmeldezugang wird geprüft.</p>
48
49
  <div class="nw-login-status" id="loginStatus" role="status" aria-live="polite">Verbindung wird hergestellt …</div>
@@ -50,9 +50,9 @@
50
50
  "purpose": "any"
51
51
  }
52
52
  ],
53
- "version": "9.0.19",
54
- "appVersion": "9.0.19",
53
+ "version": "9.0.21",
54
+ "appVersion": "9.0.21",
55
55
  "id": "/",
56
56
  "lang": "de",
57
- "description": "NexoWatt EOS – Energie und SmartHome auf deinem Gerät."
57
+ "description": "NexoWatt EOS \u2013 Energie und SmartHome auf deinem Ger\u00e4t."
58
58
  }