iobroker.eos-admin 9.0.17 → 9.0.19

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 (291) hide show
  1. package/NEXOWATT_EOS_BUILD_INFO.json +11 -14
  2. package/README.md +7 -3
  3. package/START_HIER_9.0.18.md +47 -0
  4. package/START_HIER_9.0.19.md +52 -0
  5. package/adminWww/.vite/manifest.json +114 -114
  6. package/adminWww/NEXOWATT_EOS_FRONTEND_MANIFEST.json +13759 -13759
  7. package/adminWww/assets/{AdapterUpdateDialog-Cpo3dAfY.js → AdapterUpdateDialog-JOf2z4Vg.js} +1 -1
  8. package/adminWww/assets/{Adapters-n2ukPDdC.js → Adapters-C9fcSdWm.js} +1 -1
  9. package/adminWww/assets/{ConfigManager-BVZ6_Ebo.js → ConfigManager-BeeLlT6D.js} +1 -1
  10. package/adminWww/assets/{Enums-CQ6yHG2W.js → Enums-FqnXWl8U.js} +1 -1
  11. package/adminWww/assets/{Fields-CaJqzoW-.js → Fields-DMgrt5Pi.js} +1 -1
  12. package/adminWww/assets/{Files-DfvpKGa3.js → Files-CIHtt12g.js} +1 -1
  13. package/adminWww/assets/{Hosts-3xLBsdG6.js → Hosts-fPLBzvTy.js} +1 -1
  14. package/adminWww/assets/{Instances-B7hKEhyw.js → Instances-4XaVQlrT.js} +1 -1
  15. package/adminWww/assets/{Intro-BV4kYZdT.js → Intro-5TKriiLO.js} +1 -1
  16. package/adminWww/assets/{Logs-DpL9eY69.js → Logs-33zcIds-.js} +1 -1
  17. package/adminWww/assets/{Objects-dN06jhQk.js → Objects-CNQPVbNG.js} +1 -1
  18. package/adminWww/assets/{Overview-Lip63_ej.js → Overview-BskXGOc8.js} +1 -1
  19. package/adminWww/assets/{State-BSO2X_xN.js → State-C8SJ_Iqo.js} +1 -1
  20. package/adminWww/assets/{UsedResources-DvqzszKI.js → UsedResources-CgqRa9ei.js} +1 -1
  21. package/adminWww/assets/{Users-Csqd1xA-.js → Users-0JVYWR9u.js} +1 -1
  22. package/adminWww/assets/{bootstrap-C3HM8kNL.js → bootstrap-D16lu6rd.js} +3 -3
  23. package/adminWww/assets/{hostInit-DdxBUeXQ.js → hostInit-C8YZJuzi.js} +1 -1
  24. package/adminWww/assets/{icons-material-D1Tb_725.js → icons-material-CiNJ_6Ur.js} +1 -1
  25. package/adminWww/assets/{index-BOujTMyH.js → index-DA9Sphgh.js} +2 -2
  26. package/adminWww/assets/{installSVGRenderer-BZyrUVAo.js → installSVGRenderer-DPdkRa_d.js} +1 -1
  27. package/adminWww/assets/{mf-entry-bootstrap-0-3418586b.js → mf-entry-bootstrap-0-a7ab91de.js} +2 -2
  28. package/adminWww/index.html +23 -23
  29. package/adminWww/mf-manifest.json +1 -1
  30. package/adminWww/mf-stats.json +1 -1
  31. package/adminWww/{remoteEntry-eos-9.0.17.js → remoteEntry-eos-9.0.19.js} +1 -1
  32. package/adminWww/remoteEntry.js +1 -1
  33. package/build/lib/eosCookieNamespace.js +12 -2
  34. package/build/lib/eosCookieNamespace.js.map +1 -1
  35. package/build/lib/eosDeviceEmsPlan.js +1147 -0
  36. package/build/lib/eosDeviceEmsPlan.js.map +1 -0
  37. package/build/lib/eosDeviceEmsService.js +473 -0
  38. package/build/lib/eosDeviceEmsService.js.map +1 -0
  39. package/build/lib/eosModuleHost.js +227 -51
  40. package/build/lib/eosModuleHost.js.map +1 -1
  41. package/build/lib/eosModuleHttp.js +1 -1
  42. package/build/lib/eosModuleHttp.js.map +1 -1
  43. package/build/lib/web.js +31 -0
  44. package/build/lib/web.js.map +1 -1
  45. package/docs/reports/unified-9.0.18/ALIAS_V1_COVERAGE.json +5056 -0
  46. package/docs/reports/unified-9.0.18/ALIAS_V1_VERTRAG.md +257 -0
  47. package/docs/reports/unified-9.0.18/ANFORDERUNGEN.md +55 -0
  48. package/docs/reports/unified-9.0.18/CUSTOMER_TARIFF_REVIEW.md +33 -0
  49. package/docs/reports/unified-9.0.18/GERAETE_EMS_EINRICHTUNG.md +86 -0
  50. package/docs/reports/unified-9.0.18/INSTALLER_LIFECYCLE_REVIEW.md +29 -0
  51. package/docs/reports/unified-9.0.18/KUNDENTARIF_EINRICHTUNG.md +27 -0
  52. package/docs/reports/unified-9.0.18/PRUEFBERICHT.md +87 -0
  53. package/docs/reports/unified-9.0.18/UNABHAENGIGER_REVIEW.md +63 -0
  54. package/docs/reports/unified-9.0.18/raw/INDEX.json +331 -0
  55. package/docs/reports/unified-9.0.18/raw/audit-full.log +345 -0
  56. package/docs/reports/unified-9.0.18/raw/audit-full.result.json +14 -0
  57. package/docs/reports/unified-9.0.18/raw/audit-runtime.log +23 -0
  58. package/docs/reports/unified-9.0.18/raw/audit-runtime.result.json +15 -0
  59. package/docs/reports/unified-9.0.18/raw/backend-final.log +5 -0
  60. package/docs/reports/unified-9.0.18/raw/backend-final.result.json +14 -0
  61. package/docs/reports/unified-9.0.18/raw/frontend-build.log +152 -0
  62. package/docs/reports/unified-9.0.18/raw/frontend-build.result.json +14 -0
  63. package/docs/reports/unified-9.0.18/raw/installer-build.log +26 -0
  64. package/docs/reports/unified-9.0.18/raw/installer-build.result.json +14 -0
  65. package/docs/reports/unified-9.0.18/raw/keygen-source.json +6 -0
  66. package/docs/reports/unified-9.0.18/raw/lint-final.log +5 -0
  67. package/docs/reports/unified-9.0.18/raw/lint-final.result.json +14 -0
  68. package/docs/reports/unified-9.0.18/raw/modules-build.log +5 -0
  69. package/docs/reports/unified-9.0.18/raw/modules-build.result.json +14 -0
  70. package/docs/reports/unified-9.0.18/raw/node22-tests-final.log +9859 -0
  71. package/docs/reports/unified-9.0.18/raw/node22-tests-final.result.json +13 -0
  72. package/docs/reports/unified-9.0.18/raw/node22-typecheck-final.log +7 -0
  73. package/docs/reports/unified-9.0.18/raw/node22-typecheck-final.result.json +14 -0
  74. package/docs/reports/unified-9.0.18/raw/node22-version.log +1 -0
  75. package/docs/reports/unified-9.0.18/raw/node24-tests-final.log +1663 -0
  76. package/docs/reports/unified-9.0.18/raw/node24-tests-final.result.json +13 -0
  77. package/docs/reports/unified-9.0.18/raw/node24-typecheck-final.log +5 -0
  78. package/docs/reports/unified-9.0.18/raw/node24-typecheck-final.result.json +14 -0
  79. package/docs/reports/unified-9.0.18/raw/node24-version.log +1 -0
  80. package/docs/reports/unified-9.0.18/raw/sbom-runtime.log +7 -0
  81. package/docs/reports/unified-9.0.18/raw/sbom-runtime.result.json +14 -0
  82. package/docs/reports/unified-9.0.18/raw/sbom-vendor-check.log +1 -0
  83. package/docs/reports/unified-9.0.18/raw/sbom-vendor-check.result.json +14 -0
  84. package/docs/reports/unified-9.0.18/raw/ui-docs-check.log +6 -0
  85. package/docs/reports/unified-9.0.18/raw/ui-docs-check.result.json +14 -0
  86. package/docs/reports/unified-9.0.18/raw/ui-runtime-final.log +7 -0
  87. package/docs/reports/unified-9.0.18/raw/ui-runtime-final.result.json +14 -0
  88. package/docs/reports/unified-9.0.18/raw/ui-runtime-sync.log +6 -0
  89. package/docs/reports/unified-9.0.18/raw/ui-runtime-sync.result.json +14 -0
  90. package/docs/reports/unified-9.0.18/raw/ui-sbom-check.log +6 -0
  91. package/docs/reports/unified-9.0.18/raw/ui-sbom-check.result.json +14 -0
  92. package/docs/reports/unified-9.0.18/raw/ui-sbom-final.log +14 -0
  93. package/docs/reports/unified-9.0.18/raw/ui-sbom-final.result.json +14 -0
  94. package/docs/reports/unified-9.0.18/raw/ui-secret-final.log +6 -0
  95. package/docs/reports/unified-9.0.18/raw/ui-secret-final.result.json +14 -0
  96. package/docs/reports/unified-9.0.18/raw/ui-security-final.log +8 -0
  97. package/docs/reports/unified-9.0.18/raw/ui-security-final.result.json +14 -0
  98. package/docs/reports/unified-9.0.19/ALIAS_MESSWERTFRISCHE.md +31 -0
  99. package/docs/reports/unified-9.0.19/COMMISSIONING_PLAN_REVIEW.md +56 -0
  100. package/docs/reports/unified-9.0.19/EMS_ABSCHLUSSREVIEW.md +43 -0
  101. package/docs/reports/unified-9.0.19/EMS_KATEGORIEN_ABDECKUNG.md +66 -0
  102. package/docs/reports/unified-9.0.19/EMS_VERGLEICH_UND_KOPPLUNG.md +25 -0
  103. package/docs/reports/unified-9.0.19/EVCS_STATE_OBJECTS.md +47 -0
  104. package/docs/reports/unified-9.0.19/GERAETE_EMS_EINRICHTUNG.md +100 -0
  105. package/docs/reports/unified-9.0.19/GERAETE_STARTAUSFALL.md +37 -0
  106. package/docs/reports/unified-9.0.19/INSTALLER_LIFECYCLE_REVIEW.md +59 -0
  107. package/docs/reports/unified-9.0.19/LEGACY_REGRESSION_REVIEW.md +42 -0
  108. package/docs/reports/unified-9.0.19/MODBUS_AUTHORIZATION_READS.md +25 -0
  109. package/docs/reports/unified-9.0.19/PRUEFBERICHT.md +56 -0
  110. package/docs/reports/unified-9.0.19/RUNTIME_START_UEBERNAHME.md +33 -0
  111. package/docs/reports/unified-9.0.19/SMA_RECEIVER_LIFECYCLE.md +42 -0
  112. package/docs/reports/unified-9.0.19/STATIC_REVIEW_DE.md +11 -0
  113. package/docs/reports/unified-9.0.19/TARIFF_PRICE_VALUES_REVIEW.md +31 -0
  114. package/docs/reports/unified-9.0.19/TARIF_VIERTELSTUNDEN_RUNTIME.md +17 -0
  115. package/docs/reports/unified-9.0.19/UNABHAENGIGER_REVIEW.md +49 -0
  116. package/docs/reports/unified-9.0.19/raw/INDEX.json +751 -0
  117. package/docs/reports/unified-9.0.19/raw/audit-full.log +345 -0
  118. package/docs/reports/unified-9.0.19/raw/audit-full.result.json +14 -0
  119. package/docs/reports/unified-9.0.19/raw/audit-runtime.log +23 -0
  120. package/docs/reports/unified-9.0.19/raw/audit-runtime.result.json +15 -0
  121. package/docs/reports/unified-9.0.19/raw/backend-final.log +5 -0
  122. package/docs/reports/unified-9.0.19/raw/backend-final.result.json +14 -0
  123. package/docs/reports/unified-9.0.19/raw/devices-hosted-typecheck-node22.log +0 -0
  124. package/docs/reports/unified-9.0.19/raw/devices-hosted-typecheck-node22.result.json +15 -0
  125. package/docs/reports/unified-9.0.19/raw/devices-hosted-typecheck-node24.log +0 -0
  126. package/docs/reports/unified-9.0.19/raw/devices-hosted-typecheck-node24.result.json +15 -0
  127. package/docs/reports/unified-9.0.19/raw/devices-incident-build.log +5 -0
  128. package/docs/reports/unified-9.0.19/raw/devices-incident-host-final.log +70 -0
  129. package/docs/reports/unified-9.0.19/raw/devices-incident-lease-918-before.log +26 -0
  130. package/docs/reports/unified-9.0.19/raw/devices-incident-lease-after.log +9 -0
  131. package/docs/reports/unified-9.0.19/raw/devices-incident-metadata-after.log +11 -0
  132. package/docs/reports/unified-9.0.19/raw/devices-incident-metadata-before.log +28 -0
  133. package/docs/reports/unified-9.0.19/raw/devices-incident-web-pipeline.log +22 -0
  134. package/docs/reports/unified-9.0.19/raw/frontend-build.log +152 -0
  135. package/docs/reports/unified-9.0.19/raw/frontend-build.result.json +14 -0
  136. package/docs/reports/unified-9.0.19/raw/installer-build.log +26 -0
  137. package/docs/reports/unified-9.0.19/raw/installer-build.result.json +14 -0
  138. package/docs/reports/unified-9.0.19/raw/keygen-source.json +6 -0
  139. package/docs/reports/unified-9.0.19/raw/legacy-auto-pv.log +6 -0
  140. package/docs/reports/unified-9.0.19/raw/legacy-auto-pv.result.json +14 -0
  141. package/docs/reports/unified-9.0.19/raw/legacy-charging-grid-cap-clamp.log +6 -0
  142. package/docs/reports/unified-9.0.19/raw/legacy-charging-grid-cap-clamp.result.json +14 -0
  143. package/docs/reports/unified-9.0.19/raw/legacy-charging-grid-cap-safe.log +6 -0
  144. package/docs/reports/unified-9.0.19/raw/legacy-charging-grid-cap-safe.result.json +14 -0
  145. package/docs/reports/unified-9.0.19/raw/legacy-charging-mode-recovery.log +539 -0
  146. package/docs/reports/unified-9.0.19/raw/legacy-charging-mode-recovery.result.json +14 -0
  147. package/docs/reports/unified-9.0.19/raw/legacy-core-limits-phase1.log +6 -0
  148. package/docs/reports/unified-9.0.19/raw/legacy-core-limits-phase1.result.json +14 -0
  149. package/docs/reports/unified-9.0.19/raw/legacy-core-limits-phase2.log +6 -0
  150. package/docs/reports/unified-9.0.19/raw/legacy-core-limits-phase2.result.json +14 -0
  151. package/docs/reports/unified-9.0.19/raw/legacy-core-limits-tariff-final.log +6 -0
  152. package/docs/reports/unified-9.0.19/raw/legacy-core-limits-tariff-final.result.json +14 -0
  153. package/docs/reports/unified-9.0.19/raw/legacy-energy-wallet-final.log +6 -0
  154. package/docs/reports/unified-9.0.19/raw/legacy-energy-wallet-final.result.json +14 -0
  155. package/docs/reports/unified-9.0.19/raw/legacy-farm-dispatch-loader-current.log +2 -0
  156. package/docs/reports/unified-9.0.19/raw/legacy-farm-dispatch-loader-current.result.json +14 -0
  157. package/docs/reports/unified-9.0.19/raw/legacy-final-write-envelope.log +6 -0
  158. package/docs/reports/unified-9.0.19/raw/legacy-final-write-envelope.result.json +14 -0
  159. package/docs/reports/unified-9.0.19/raw/legacy-history-http.log +39 -0
  160. package/docs/reports/unified-9.0.19/raw/legacy-history-http.result.json +15 -0
  161. package/docs/reports/unified-9.0.19/raw/legacy-import-grid-budget.log +30 -0
  162. package/docs/reports/unified-9.0.19/raw/legacy-import-grid-budget.result.json +14 -0
  163. package/docs/reports/unified-9.0.19/raw/legacy-import-grid-contract-current.log +2 -0
  164. package/docs/reports/unified-9.0.19/raw/legacy-import-grid-contract-current.result.json +14 -0
  165. package/docs/reports/unified-9.0.19/raw/legacy-live-mode-loader-current.log +203 -0
  166. package/docs/reports/unified-9.0.19/raw/legacy-live-mode-loader-current.result.json +14 -0
  167. package/docs/reports/unified-9.0.19/raw/legacy-load-grid-sanity.log +6 -0
  168. package/docs/reports/unified-9.0.19/raw/legacy-load-grid-sanity.result.json +14 -0
  169. package/docs/reports/unified-9.0.19/raw/legacy-ocpp-stability.log +6 -0
  170. package/docs/reports/unified-9.0.19/raw/legacy-ocpp-stability.result.json +14 -0
  171. package/docs/reports/unified-9.0.19/raw/legacy-ocpp21-storage-safety.log +6 -0
  172. package/docs/reports/unified-9.0.19/raw/legacy-ocpp21-storage-safety.result.json +14 -0
  173. package/docs/reports/unified-9.0.19/raw/legacy-permanent-grid-protection.log +18 -0
  174. package/docs/reports/unified-9.0.19/raw/legacy-permanent-grid-protection.result.json +14 -0
  175. package/docs/reports/unified-9.0.19/raw/legacy-storage-dp-persistence.log +6 -0
  176. package/docs/reports/unified-9.0.19/raw/legacy-storage-dp-persistence.result.json +14 -0
  177. package/docs/reports/unified-9.0.19/raw/legacy-storage-farm-dispatch-recovery.log +16 -0
  178. package/docs/reports/unified-9.0.19/raw/legacy-storage-farm-dispatch-recovery.result.json +14 -0
  179. package/docs/reports/unified-9.0.19/raw/legacy-storage-functional-safety.log +6 -0
  180. package/docs/reports/unified-9.0.19/raw/legacy-storage-functional-safety.result.json +14 -0
  181. package/docs/reports/unified-9.0.19/raw/legacy-storage-topology-loader-current.log +2 -0
  182. package/docs/reports/unified-9.0.19/raw/legacy-storage-topology-loader-current.result.json +14 -0
  183. package/docs/reports/unified-9.0.19/raw/legacy-test-loader.cjs +47 -0
  184. package/docs/reports/unified-9.0.19/raw/lint-final.log +16 -0
  185. package/docs/reports/unified-9.0.19/raw/lint-final.result.json +14 -0
  186. package/docs/reports/unified-9.0.19/raw/modules-build.log +5 -0
  187. package/docs/reports/unified-9.0.19/raw/modules-build.result.json +14 -0
  188. package/docs/reports/unified-9.0.19/raw/node22-tests-final.log +10719 -0
  189. package/docs/reports/unified-9.0.19/raw/node22-tests-final.result.json +13 -0
  190. package/docs/reports/unified-9.0.19/raw/node22-typecheck-final.log +7 -0
  191. package/docs/reports/unified-9.0.19/raw/node22-typecheck-final.result.json +14 -0
  192. package/docs/reports/unified-9.0.19/raw/node22-version.log +1 -0
  193. package/docs/reports/unified-9.0.19/raw/node24-tests-final.log +1805 -0
  194. package/docs/reports/unified-9.0.19/raw/node24-tests-final.result.json +13 -0
  195. package/docs/reports/unified-9.0.19/raw/node24-typecheck-final.log +5 -0
  196. package/docs/reports/unified-9.0.19/raw/node24-typecheck-final.result.json +14 -0
  197. package/docs/reports/unified-9.0.19/raw/node24-version.log +1 -0
  198. package/docs/reports/unified-9.0.19/raw/sbom-runtime.log +7 -0
  199. package/docs/reports/unified-9.0.19/raw/sbom-runtime.result.json +14 -0
  200. package/docs/reports/unified-9.0.19/raw/sbom-vendor-check.log +1 -0
  201. package/docs/reports/unified-9.0.19/raw/sbom-vendor-check.result.json +14 -0
  202. package/docs/reports/unified-9.0.19/raw/tariff-price-chain-919.log +11 -0
  203. package/docs/reports/unified-9.0.19/raw/tariff-price-chain-919.result.json +14 -0
  204. package/docs/reports/unified-9.0.19/raw/tariff-price-chain-old-918.log +68 -0
  205. package/docs/reports/unified-9.0.19/raw/tariff-price-chain-old-918.result.json +14 -0
  206. package/docs/reports/unified-9.0.19/raw/ui-docs-check.log +6 -0
  207. package/docs/reports/unified-9.0.19/raw/ui-docs-check.result.json +14 -0
  208. package/docs/reports/unified-9.0.19/raw/ui-runtime-final.log +7 -0
  209. package/docs/reports/unified-9.0.19/raw/ui-runtime-final.result.json +14 -0
  210. package/docs/reports/unified-9.0.19/raw/ui-runtime-sync.log +6 -0
  211. package/docs/reports/unified-9.0.19/raw/ui-runtime-sync.result.json +14 -0
  212. package/docs/reports/unified-9.0.19/raw/ui-sbom-check.log +6 -0
  213. package/docs/reports/unified-9.0.19/raw/ui-sbom-check.result.json +14 -0
  214. package/docs/reports/unified-9.0.19/raw/ui-sbom-final.log +6 -0
  215. package/docs/reports/unified-9.0.19/raw/ui-sbom-final.result.json +14 -0
  216. package/docs/reports/unified-9.0.19/raw/ui-secret-final.log +6 -0
  217. package/docs/reports/unified-9.0.19/raw/ui-secret-final.result.json +14 -0
  218. package/docs/reports/unified-9.0.19/raw/ui-security-final.log +8 -0
  219. package/docs/reports/unified-9.0.19/raw/ui-security-final.result.json +14 -0
  220. package/io-package.json +12 -12
  221. package/modules/devices/admin/alias-contract-v1.json +189 -0
  222. package/modules/devices/admin/ems-assignment.d.ts +16 -0
  223. package/modules/devices/admin/ems-assignment.js +356 -0
  224. package/modules/devices/admin/host-bridge.js +76 -4
  225. package/modules/devices/admin/index.html +40 -1
  226. package/modules/devices/admin/index_m.js +158 -2
  227. package/modules/devices/admin/style.css +32 -4
  228. package/modules/devices/checks/emsAssignment.check.js +132 -0
  229. package/modules/devices/contracts.d.ts +1 -1
  230. package/modules/devices/eslint.hosted.config.mjs +1 -1
  231. package/modules/devices/index.js +64 -16
  232. package/modules/devices/lib/alias-contract-v1.json +189 -0
  233. package/modules/devices/lib/aliasContract.js +7 -1
  234. package/modules/devices/lib/device-alias-semantics-v1.json +1605 -0
  235. package/modules/devices/lib/deviceAliasFreshness.js +65 -0
  236. package/modules/devices/lib/deviceAliasSemantics.js +109 -0
  237. package/modules/devices/lib/deviceRuntime.js +204 -127
  238. package/modules/devices/lib/drivers/modbus.js +18 -3
  239. package/modules/devices/lib/drivers/speedwire.js +42 -22
  240. package/modules/devices/test/aliasContractV1.test.js +1 -1
  241. package/modules/devices/test/deviceAliasFreshness.test.js +149 -0
  242. package/modules/devices/test/deviceAliasSemantics.test.js +163 -0
  243. package/modules/devices/test/emsAssignmentUi.test.js +298 -0
  244. package/modules/devices/test/modbusAuthorizationReads.test.js +112 -0
  245. package/modules/devices/test/runtimeLiveness.test.js +1 -1
  246. package/modules/devices/test/speedwireLifecycle.test.js +118 -0
  247. package/modules/devices/tsconfig.alias-semantics.json +17 -0
  248. package/modules/devices/tsconfig.ems-ui.json +9 -0
  249. package/modules/devices/tsconfig.hosted.json +1 -1
  250. package/package.json +11 -7
  251. package/release-manifests/unified/build-environment.cdx.json +1483 -7370
  252. package/release-manifests/unified/files.json +392 -121
  253. package/release-manifests/unified/frontend.cdx.json +2688 -5952
  254. package/release-manifests/unified/installer.cdx.json +2053 -821
  255. package/release-manifests/unified/obsolete-admin-assets.json +172 -6
  256. package/release-manifests/unified/runtime.cdx.json +40 -3283
  257. package/release-manifests/unified/validation.json +15 -15
  258. package/tools/eos-release-check.cjs +1 -1
  259. package/tools/eos-release-manifest.cjs +5 -5
  260. package/ui/docs/security/eslint-reviewed-findings.json +32 -18
  261. package/ui/ems/datapoints.js +22 -1
  262. package/ui/ems/engine.js +54 -7
  263. package/ui/ems/module-manager.js +44 -21
  264. package/ui/ems/modules/core-limits.js +5 -3
  265. package/ui/ems/modules/energy-wallet.js +31 -32
  266. package/ui/ems/modules/storage-control.js +5 -4
  267. package/ui/ems/modules/tarif-vis.js +36 -24
  268. package/ui/ems/modules/tariff-provider.js +259 -59
  269. package/ui/ems/services/tariff-provider-registry.js +11 -8
  270. package/ui/io-package.json +5 -1
  271. package/ui/lib/customer-tariff.js +245 -0
  272. package/ui/lib/installer-lifecycle.js +220 -0
  273. package/ui/lib/storage-farm-overview.js +115 -0
  274. package/ui/lib/tariff-price.js +115 -0
  275. package/ui/main.js +400 -163
  276. package/ui/package.json +14 -4
  277. package/ui/www/app.js +47 -134
  278. package/ui/www/customer-tariff.css +21 -0
  279. package/ui/www/customer-tariff.js +333 -0
  280. package/ui/www/ems-apps.html +2 -0
  281. package/ui/www/ems-apps.js +29 -7
  282. package/ui/www/index.html +2 -0
  283. package/ui/www/licenses/smarthome-markdown-components.json +156 -156
  284. package/ui/www/manifest.webmanifest +2 -2
  285. package/ui/www/power-measurements.js +62 -0
  286. package/ui/www/settings.html +47 -0
  287. package/ui/www/storagefarm-summary.css +17 -0
  288. package/ui/www/storagefarm-summary.js +136 -0
  289. package/ui/www/storagefarm.html +16 -1
  290. package/ui/www/storagefarm.js +10 -22
  291. package/ui/www/tariff-display.js +161 -0
@@ -0,0 +1,14 @@
1
+ {
2
+ "name": "legacy-final-write-envelope",
3
+ "command": [
4
+ "npm",
5
+ "run",
6
+ "test:safety-envelope-final-write"
7
+ ],
8
+ "cwd": "/workspace/scratch/741f792566ea/source-919/iobroker.eos-admin/ui",
9
+ "startedAt": "2026-11-24T18:14:15.221324+00:00",
10
+ "durationSeconds": 0.349,
11
+ "exitCode": 0,
12
+ "log": "/workspace/scratch/741f792566ea/setup-919/legacy-final-write-envelope.log",
13
+ "sha256": "c212f4d5f8a8d73dd493c326f33da0cda2282b3f1ebcda0cff73ae6bee7e96f6"
14
+ }
@@ -0,0 +1,39 @@
1
+ ✔ asynchronous malformed History payloads cannot throw out of the callback (8.908744ms)
2
+ ✔ valid numeric zero stays zero, null does not create measured zero, supported envelopes agree (26.656186ms)
3
+ ✔ one five-second deadline includes fallback rounds and ignores late responses (2.135957ms)
4
+ ✔ shutdown cancels History reads and new reads fail without starting transports (1.184243ms)
5
+ ✔ thrown and rejected transports become bounded API errors with sibling cleanup (2.062115ms)
6
+ ✔ oversized raw response stops processing and cleans all pending branches (0.924222ms)
7
+ ✔ invalid and allocation-amplifying ranges are rejected before provider work (3.803898ms)
8
+ ✔ day, week, month, leap-year and six-hour annual-report presets preserve finite output bounds (14.319271ms)
9
+ ✔ identical requests share work; a fifth distinct computation gets backpressure (2.232862ms)
10
+ ✔ completed payload cache retains at most four requests and expires old responses (37.631343ms)
11
+ ✔ current counter reads share History deadline instead of leaving request hanging (2.900657ms)
12
+ ✔ 200-charge-point fallback uses at most eight simultaneous reads and retains correct sums (31.942006ms)
13
+ ✔ four maximum-range payloads stay within measured row and serialized-size budgets (343.19089ms)
14
+ ℹ {"profile":"History-only controlled provider; not customer RSS","gcAvailable":false,"cacheEntries":4,"rowsPerPayload":106496,"largestPayloadBytes":1919024,"heapDeltaBytes":7092944}
15
+ ✔ leading missing buckets stay unknown in complete-period energy totals; measured zero remains zero (7.430107ms)
16
+ ✔ exact-energy EV fallback is also bounded and cannot swallow its timeout as a complete result (2.040082ms)
17
+ ✔ optimized price lookup retains exact last-value and duplicate-timestamp semantics (33.133348ms)
18
+ ✔ annual report still requests all ten years with two concurrent requests and original order (9.615257ms)
19
+ ✔ missing getHistory callback rejects within five seconds and discards late or repeated replies (4.009687ms)
20
+ ✔ timely history remains unchanged and clears its deadline timer (1.274519ms)
21
+ ✔ candidate fallback shares one monotonic five-second budget instead of multiplying it (1.984108ms)
22
+ ✔ shutdown cancels all pending history work, releases timers and rejects new requests (1.617867ms)
23
+ ✔ startup energy totals finish after failed history without publishing zeros or refreshing old CO2 (3.286859ms)
24
+ ✔ empty or invalid history and missing candidate mappings preserve old measurements (3.531227ms)
25
+ ✔ valid zero-power samples remain legitimate measurements and nonzero energy integration remains unchanged (3.112476ms)
26
+ ✔ a reply after a stalled event loop cannot beat the deadline callback or extend the hard cap (2.05847ms)
27
+ ✔ a failed history branch preserves its old value and CO2 while other genuine measurements may update (1.877347ms)
28
+ ✔ mapped but absent energy values are not converted to freshly published zero CO2 (1.502122ms)
29
+ ✔ real normalizer rejects null, boolean, blank and nonfinite values without synthesizing zero measurements (12.814545ms)
30
+ ✔ real normalizer rejects malformed rows/timestamps and retains finite Influx samples and timestamps (2.375307ms)
31
+ ✔ history timeout diagnostics are constant, once per cycle and throttled for five monotonic minutes (3.421772ms)
32
+ ℹ tests 30
33
+ ℹ suites 0
34
+ ℹ pass 30
35
+ ℹ fail 0
36
+ ℹ cancelled 0
37
+ ℹ skipped 0
38
+ ℹ todo 0
39
+ ℹ duration_ms 1565.830942
@@ -0,0 +1,15 @@
1
+ {
2
+ "name": "legacy-history-http",
3
+ "command": [
4
+ "node",
5
+ "--test",
6
+ "../test/eos-history-deadline.test.cjs",
7
+ "../test/eos-history-api-stability.test.cjs"
8
+ ],
9
+ "cwd": "/workspace/scratch/741f792566ea/source-919/iobroker.eos-admin/ui",
10
+ "startedAt": "2026-11-24T18:11:54.995089+00:00",
11
+ "durationSeconds": 1.693,
12
+ "exitCode": 0,
13
+ "log": "/workspace/scratch/741f792566ea/setup-919/legacy-history-http.log",
14
+ "sha256": "12aa78478e4b56fc9172b9e860b46b27f068620972488e7654f29fed882fe520"
15
+ }
@@ -0,0 +1,30 @@
1
+ npm warn Unknown env config "http-proxy". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
2
+
3
+ > nexowatt-eos-ui-internal@9.0.19 test:rc78-import-only-grid-budget
4
+ > node scripts/verify-rc78-import-only-grid-budget.cjs && npm run test:charging-grid-cap-safe && npm run test:charging-grid-cap-clamp && npm run test:loadmanagement-grid-cap-sanity && npm run test:core-limits-typed-runtime-phase1 && npm run test:core-limits-typed-runtime-phase2 && npm run test:safety-envelope-final-write
5
+
6
+ node:internal/assert/utils:77
7
+ throw err;
8
+ ^
9
+
10
+ AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
11
+
12
+ assert(read('src-ts/runtime-executables/www/sw.ts').match(/const CACHE_NAME = 'nexowatt-cache-v\d+'/))
13
+
14
+ at Object.<anonymous> (/workspace/scratch/741f792566ea/source-919/iobroker.eos-admin/ui/scripts/verify-rc78-import-only-grid-budget.cjs:189:3)
15
+ at Module._compile (node:internal/modules/cjs/loader:1929:14)
16
+ at Object..js (node:internal/modules/cjs/loader:2060:10)
17
+ at Module.load (node:internal/modules/cjs/loader:1651:32)
18
+ at Module._load (node:internal/modules/cjs/loader:1443:12)
19
+ at wrapModuleLoad (node:internal/modules/cjs/loader:261:19)
20
+ at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)
21
+ at node:internal/main/run_main_module:33:47 {
22
+ generatedMessage: true,
23
+ code: 'ERR_ASSERTION',
24
+ actual: null,
25
+ expected: true,
26
+ operator: '==',
27
+ diff: 'simple'
28
+ }
29
+
30
+ Node.js v24.22.3
@@ -0,0 +1,14 @@
1
+ {
2
+ "name": "legacy-import-grid-budget",
3
+ "command": [
4
+ "npm",
5
+ "run",
6
+ "test:rc78-import-only-grid-budget"
7
+ ],
8
+ "cwd": "/workspace/scratch/741f792566ea/source-919/iobroker.eos-admin/ui",
9
+ "startedAt": "2026-11-24T18:11:55.043268+00:00",
10
+ "durationSeconds": 0.38,
11
+ "exitCode": 1,
12
+ "log": "/workspace/scratch/741f792566ea/setup-919/legacy-import-grid-budget.log",
13
+ "sha256": "4499755583c672407552703c041d6830bc228a75ff5503557ecae587628116d6"
14
+ }
@@ -0,0 +1,2 @@
1
+ {"original":"/workspace/scratch/741f792566ea/source-919/iobroker.eos-admin/ui/scripts/verify-rc78-import-only-grid-budget.cjs","sha256":"127df4069adf93207457f29895cd2806d43f1a6323abe6d7f41c736579133c1b","adaptations":["Replace only obsolete positive offline-cache-name assertion with current stricter worker retirement contract: remove old caches, unregister and no fetch interception. All import/grid-budget/safety assertions unchanged."]}
2
+ [rc78-import-only-grid-budget] OK: signed NVP, central budget, EVCS cap and final writer treat the connection limit as import-only.
@@ -0,0 +1,14 @@
1
+ {
2
+ "name": "legacy-import-grid-contract-current",
3
+ "command": [
4
+ "node",
5
+ "/workspace/scratch/741f792566ea/setup-919/legacy-test-loader.cjs",
6
+ "verify-rc78-import-only-grid-budget.cjs"
7
+ ],
8
+ "cwd": "/workspace/scratch/741f792566ea/source-919/iobroker.eos-admin/ui",
9
+ "startedAt": "2026-11-24T18:14:03.666732+00:00",
10
+ "durationSeconds": 0.093,
11
+ "exitCode": 0,
12
+ "log": "/workspace/scratch/741f792566ea/setup-919/legacy-import-grid-contract-current.log",
13
+ "sha256": "eada12797a82104e23a97e495eddc0aa190bfe907ee794385730d4a42e99b54e"
14
+ }
@@ -0,0 +1,203 @@
1
+ {"original":"/workspace/scratch/741f792566ea/source-919/iobroker.eos-admin/ui/scripts/verify-live-evcs-mode-confirmation.cjs","sha256":"6e6dcf861f59b26e1dbcf2713a047391addaa1b73e43ab72610b1fb345fce170","adaptations":["Isolated modal VM loads actual getEvcsPowerW and actual power-measurements.js, matching production script dependencies; all modal assertions unchanged."]}
2
+ {
3
+ "target": "/workspace/scratch/741f792566ea/source-919/iobroker.eos-admin/ui/www/app.js",
4
+ "sha256": "f7cd014d932a93b7c8b25c28bec3e83a768747063c77124d68e19add5c2ce1ce",
5
+ "runtimeSha256": "9867a32eba512f188404319a82db6b2ebd948acc9fdec67bd50a5f95ca66cb36",
6
+ "environment": "Node VM, actual modal and runtime-base.js, synthetic DOM/HTTP; no hardware/network",
7
+ "passed": 48,
8
+ "failed": 0,
9
+ "results": [
10
+ {
11
+ "name": "direct HTTP: rejected Auto (HTTP 401) retains confirmed PV and shows failure",
12
+ "passed": true
13
+ },
14
+ {
15
+ "name": "direct HTTP: rejected Auto (HTTP 403) retains confirmed PV and shows failure",
16
+ "passed": true
17
+ },
18
+ {
19
+ "name": "direct HTTP: rejected Auto (HTTP 500) retains confirmed PV and shows failure",
20
+ "passed": true
21
+ },
22
+ {
23
+ "name": "direct HTTP: rejected Auto (JSON ok=false) retains confirmed PV and shows failure",
24
+ "passed": true
25
+ },
26
+ {
27
+ "name": "direct HTTP: rejected Auto (invalid JSON) retains confirmed PV and shows failure",
28
+ "passed": true
29
+ },
30
+ {
31
+ "name": "direct HTTP: rejected Auto (302 followed by login HTML) retains confirmed PV and shows failure",
32
+ "passed": true
33
+ },
34
+ {
35
+ "name": "direct HTTP: rejected Auto (network error) retains confirmed PV and shows failure",
36
+ "passed": true
37
+ },
38
+ {
39
+ "name": "direct HTTP: auto waits for server readback",
40
+ "passed": true
41
+ },
42
+ {
43
+ "name": "direct HTTP: boost waits for server readback",
44
+ "passed": true
45
+ },
46
+ {
47
+ "name": "direct HTTP: minpv waits for server readback",
48
+ "passed": true
49
+ },
50
+ {
51
+ "name": "direct HTTP: pv waits for server readback",
52
+ "passed": true
53
+ },
54
+ {
55
+ "name": "HTTPS Admin proxy: rejected Auto (HTTP 401) retains confirmed PV and shows failure",
56
+ "passed": true
57
+ },
58
+ {
59
+ "name": "HTTPS Admin proxy: rejected Auto (HTTP 403) retains confirmed PV and shows failure",
60
+ "passed": true
61
+ },
62
+ {
63
+ "name": "HTTPS Admin proxy: rejected Auto (HTTP 500) retains confirmed PV and shows failure",
64
+ "passed": true
65
+ },
66
+ {
67
+ "name": "HTTPS Admin proxy: rejected Auto (JSON ok=false) retains confirmed PV and shows failure",
68
+ "passed": true
69
+ },
70
+ {
71
+ "name": "HTTPS Admin proxy: rejected Auto (invalid JSON) retains confirmed PV and shows failure",
72
+ "passed": true
73
+ },
74
+ {
75
+ "name": "HTTPS Admin proxy: rejected Auto (302 followed by login HTML) retains confirmed PV and shows failure",
76
+ "passed": true
77
+ },
78
+ {
79
+ "name": "HTTPS Admin proxy: rejected Auto (network error) retains confirmed PV and shows failure",
80
+ "passed": true
81
+ },
82
+ {
83
+ "name": "HTTPS Admin proxy: auto waits for server readback",
84
+ "passed": true
85
+ },
86
+ {
87
+ "name": "HTTPS Admin proxy: boost waits for server readback",
88
+ "passed": true
89
+ },
90
+ {
91
+ "name": "HTTPS Admin proxy: minpv waits for server readback",
92
+ "passed": true
93
+ },
94
+ {
95
+ "name": "HTTPS Admin proxy: pv waits for server readback",
96
+ "passed": true
97
+ },
98
+ {
99
+ "name": "In-flight Auto keeps PV selected and blocks duplicate click and SSE re-enable",
100
+ "passed": true
101
+ },
102
+ {
103
+ "name": "Boost cancellation requests confirmed Auto",
104
+ "passed": true
105
+ },
106
+ {
107
+ "name": "Legacy per-box: confirmed numeric mode uses its own API/state path",
108
+ "passed": true
109
+ },
110
+ {
111
+ "name": "Legacy per-box: failed write retains numeric PV",
112
+ "passed": true
113
+ },
114
+ {
115
+ "name": "Legacy settings: confirmed numeric mode uses its own API/state path",
116
+ "passed": true
117
+ },
118
+ {
119
+ "name": "Legacy settings: failed write retains numeric PV",
120
+ "passed": true
121
+ },
122
+ {
123
+ "name": "Network loss after applied write is reconciled by readback without retry",
124
+ "passed": true
125
+ },
126
+ {
127
+ "name": "Newer SSE mode wins over delayed older Auto readback and old full snapshot",
128
+ "passed": true
129
+ },
130
+ {
131
+ "name": "Write acceptance with different readback never selects desired Auto",
132
+ "passed": true
133
+ },
134
+ {
135
+ "name": "Invalid readback missing cannot confirm Auto",
136
+ "passed": true
137
+ },
138
+ {
139
+ "name": "Invalid readback {\"value\":\"unknown\",\"ts\":2} cannot confirm Auto",
140
+ "passed": true
141
+ },
142
+ {
143
+ "name": "Invalid readback {\"value\":true,\"ts\":2} cannot confirm Auto",
144
+ "passed": true
145
+ },
146
+ {
147
+ "name": "Invalid readback {\"value\":\"auto\",\"ts\":\"bad\"} cannot confirm Auto",
148
+ "passed": true
149
+ },
150
+ {
151
+ "name": "Initial missing EMS mode does not invent confirmed Auto and cannot write",
152
+ "passed": true
153
+ },
154
+ {
155
+ "name": "Regulation disabled blocks synthetic mode click",
156
+ "passed": true
157
+ },
158
+ {
159
+ "name": "POST fetch timeout aborts real request signal, clears timers and releases controls",
160
+ "passed": true
161
+ },
162
+ {
163
+ "name": "GET fetch timeout aborts real request signal, clears timers and releases controls",
164
+ "passed": true
165
+ },
166
+ {
167
+ "name": "GET body timeout aborts real request signal, clears timers and releases controls",
168
+ "passed": true
169
+ },
170
+ {
171
+ "name": "HTTPS proxy readback login HTML after accepted write remains unconfirmed",
172
+ "passed": true
173
+ },
174
+ {
175
+ "name": "Readback 401 after accepted write retains last confirmed PV",
176
+ "passed": true
177
+ },
178
+ {
179
+ "name": "Readback 403 after accepted write retains last confirmed PV",
180
+ "passed": true
181
+ },
182
+ {
183
+ "name": "Readback 500 after accepted write retains last confirmed PV",
184
+ "passed": true
185
+ },
186
+ {
187
+ "name": "Readback invalid JSON after accepted write retains last confirmed PV",
188
+ "passed": true
189
+ },
190
+ {
191
+ "name": "Readback network after accepted write retains last confirmed PV",
192
+ "passed": true
193
+ },
194
+ {
195
+ "name": "Mode source changed during request rejects readback from previous source",
196
+ "passed": true
197
+ },
198
+ {
199
+ "name": "Newer server mode after successful readback replaces earlier confirmation",
200
+ "passed": true
201
+ }
202
+ ]
203
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "name": "legacy-live-mode-loader-current",
3
+ "command": [
4
+ "node",
5
+ "/workspace/scratch/741f792566ea/setup-919/legacy-test-loader.cjs",
6
+ "verify-live-evcs-mode-confirmation.cjs"
7
+ ],
8
+ "cwd": "/workspace/scratch/741f792566ea/source-919/iobroker.eos-admin/ui",
9
+ "startedAt": "2026-11-24T18:14:03.673843+00:00",
10
+ "durationSeconds": 0.156,
11
+ "exitCode": 0,
12
+ "log": "/workspace/scratch/741f792566ea/setup-919/legacy-live-mode-loader-current.log",
13
+ "sha256": "006ee9ce1a989a96f6cc5934e0ca4098e777a66e305e73f69c481328258a8622"
14
+ }
@@ -0,0 +1,6 @@
1
+ npm warn Unknown env config "http-proxy". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
2
+
3
+ > nexowatt-eos-ui-internal@9.0.19 test:loadmanagement-grid-cap-sanity
4
+ > node scripts/verify-loadmanagement-grid-cap-sanity.js
5
+
6
+ [grid-cap-sanity] OK: NVP-Einspeisung erhöht die Lastfreigabe; die Anschlussgrenze begrenzt ausschließlich Netzbezug.
@@ -0,0 +1,14 @@
1
+ {
2
+ "name": "legacy-load-grid-sanity",
3
+ "command": [
4
+ "npm",
5
+ "run",
6
+ "test:loadmanagement-grid-cap-sanity"
7
+ ],
8
+ "cwd": "/workspace/scratch/741f792566ea/source-919/iobroker.eos-admin/ui",
9
+ "startedAt": "2026-11-24T18:14:15.220201+00:00",
10
+ "durationSeconds": 0.322,
11
+ "exitCode": 0,
12
+ "log": "/workspace/scratch/741f792566ea/setup-919/legacy-load-grid-sanity.log",
13
+ "sha256": "5272c94af4a0e79aaabd60928db8a104480f8d44157ae4366072e78ed51c331c"
14
+ }
@@ -0,0 +1,6 @@
1
+ npm warn Unknown env config "http-proxy". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
2
+
3
+ > nexowatt-eos-ui-internal@9.0.19 test:rc57-ocpp-stability
4
+ > node scripts/verify-rc57-ocpp-stability.js
5
+
6
+ [rc57-ocpp-stability] OK: socketConnected, telemetry freshness, OCPP event order and start latency are safely separated.
@@ -0,0 +1,14 @@
1
+ {
2
+ "name": "legacy-ocpp-stability",
3
+ "command": [
4
+ "npm",
5
+ "run",
6
+ "test:rc57-ocpp-stability"
7
+ ],
8
+ "cwd": "/workspace/scratch/741f792566ea/source-919/iobroker.eos-admin/ui",
9
+ "startedAt": "2026-11-24T18:11:44.742457+00:00",
10
+ "durationSeconds": 0.505,
11
+ "exitCode": 0,
12
+ "log": "/workspace/scratch/741f792566ea/setup-919/legacy-ocpp-stability.log",
13
+ "sha256": "260fb266e2d5c159e4716f7d4cef028a6dbdc3907ebd3248f8a79285b6a55aae"
14
+ }
@@ -0,0 +1,6 @@
1
+ npm warn Unknown env config "http-proxy". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
2
+
3
+ > nexowatt-eos-ui-internal@9.0.19 test:rc59-ocpp21-native-storage-safety
4
+ > node scripts/verify-rc59-ocpp21-native-storage-safety.js
5
+
6
+ [rc59-ocpp21-native-storage-safety] OK: direct OCPP21 mapping, charging tick diagnostics and storage-farm safety recovery are consistent.
@@ -0,0 +1,14 @@
1
+ {
2
+ "name": "legacy-ocpp21-storage-safety",
3
+ "command": [
4
+ "npm",
5
+ "run",
6
+ "test:rc59-ocpp21-native-storage-safety"
7
+ ],
8
+ "cwd": "/workspace/scratch/741f792566ea/source-919/iobroker.eos-admin/ui",
9
+ "startedAt": "2026-11-24T18:11:44.729928+00:00",
10
+ "durationSeconds": 0.472,
11
+ "exitCode": 0,
12
+ "log": "/workspace/scratch/741f792566ea/setup-919/legacy-ocpp21-storage-safety.log",
13
+ "sha256": "9b0fce63b76c53e2e08f2615f6e97b39d0e7a053d0eb9a464a9f99af45238a58"
14
+ }
@@ -0,0 +1,18 @@
1
+ npm warn Unknown env config "http-proxy". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
2
+
3
+ > nexowatt-eos-ui-internal@9.0.19 test:rc82-permanent-grid-protection
4
+ > node scripts/verify-rc82-permanent-grid-protection.cjs && npm run test:nvp-coordinator-storage-pv && npm run test:safety-envelope-final-write
5
+
6
+ [RC82] OK: Netzlimits dauerhaft aktiv und nicht abschaltbar; Home/Pro, Single Source, 10-%-Policy und optionale 0-Einspeisung geprüft.
7
+ npm warn Unknown env config "http-proxy". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
8
+
9
+ > nexowatt-eos-ui-internal@9.0.19 test:nvp-coordinator-storage-pv
10
+ > node scripts/verify-nvp-coordinator-storage-pv.js
11
+
12
+ [nvp-coordinator-storage-pv] OK: Speicher/Farm regelt zuerst; PV erhält nur den belastbaren Rest-NVP, ohne Doppelwriter oder 0-W-Richtungswechselrunde.
13
+ npm warn Unknown env config "http-proxy". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
14
+
15
+ > nexowatt-eos-ui-internal@9.0.19 test:safety-envelope-final-write
16
+ > node scripts/verify-safety-envelope-final-write.js
17
+
18
+ [safety-envelope-final-write] OK: Inbetriebnahme, NVP, Phasen, §14a, Summenreserve, finaler Hardware-Write und Fehlerverriegelung arbeiten fail-closed.
@@ -0,0 +1,14 @@
1
+ {
2
+ "name": "legacy-permanent-grid-protection",
3
+ "command": [
4
+ "npm",
5
+ "run",
6
+ "test:rc82-permanent-grid-protection"
7
+ ],
8
+ "cwd": "/workspace/scratch/741f792566ea/source-919/iobroker.eos-admin/ui",
9
+ "startedAt": "2026-11-24T18:11:55.020192+00:00",
10
+ "durationSeconds": 1.109,
11
+ "exitCode": 0,
12
+ "log": "/workspace/scratch/741f792566ea/setup-919/legacy-permanent-grid-protection.log",
13
+ "sha256": "31da7218bbea695600f2716bf89b718d7bcdd0c8824b3957b7e5cc350b88281e"
14
+ }
@@ -0,0 +1,6 @@
1
+ npm warn Unknown env config "http-proxy". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
2
+
3
+ > nexowatt-eos-ui-internal@9.0.19 test:storage-appcenter-dp-persistence
4
+ > node scripts/verify-storage-appcenter-dp-persistence.js
5
+
6
+ [storage-appcenter-dp-persistence] OK: vollständige manuelle Speicher-DPs bleiben nach Save/Restart autoritativ; globale Fallbacks sind runtime-only.
@@ -0,0 +1,14 @@
1
+ {
2
+ "name": "legacy-storage-dp-persistence",
3
+ "command": [
4
+ "npm",
5
+ "run",
6
+ "test:storage-appcenter-dp-persistence"
7
+ ],
8
+ "cwd": "/workspace/scratch/741f792566ea/source-919/iobroker.eos-admin/ui",
9
+ "startedAt": "2026-11-24T18:11:55.030794+00:00",
10
+ "durationSeconds": 0.456,
11
+ "exitCode": 0,
12
+ "log": "/workspace/scratch/741f792566ea/setup-919/legacy-storage-dp-persistence.log",
13
+ "sha256": "c7053c83ade279c86daf8f1a575e0a727acb3d75c60d3d4369ce7f88a33b147c"
14
+ }
@@ -0,0 +1,16 @@
1
+ npm warn Unknown env config "http-proxy". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
2
+
3
+ > nexowatt-eos-ui-internal@9.0.19 test:storage-farm-dispatch-recovery
4
+ > node scripts/verify-storage-farm-dispatch-recovery.js
5
+
6
+ [storage-farm-dispatch-recovery] ERROR: Error: optional dependency intentionally absent in test
7
+ at Module.patchedLoad (/workspace/scratch/741f792566ea/source-919/iobroker.eos-admin/ui/scripts/verify-storage-farm-dispatch-recovery.js:84:17)
8
+ at wrapModuleLoad (node:internal/modules/cjs/loader:261:19)
9
+ at Module.require (node:internal/modules/cjs/loader:1674:12)
10
+ at require (node:internal/modules/helpers:157:16)
11
+ at Object.<anonymous> (/workspace/scratch/741f792566ea/source-919/iobroker.eos-admin/ui/lib/smarthome-device-controls.js:39:25)
12
+ at Module._compile (node:internal/modules/cjs/loader:1929:14)
13
+ at Object..js (node:internal/modules/cjs/loader:2060:10)
14
+ at Module.load (node:internal/modules/cjs/loader:1651:32)
15
+ at Module._load (node:internal/modules/cjs/loader:1443:12)
16
+ at Module.patchedLoad (/workspace/scratch/741f792566ea/source-919/iobroker.eos-admin/ui/scripts/verify-storage-farm-dispatch-recovery.js:88:23)
@@ -0,0 +1,14 @@
1
+ {
2
+ "name": "legacy-storage-farm-dispatch-recovery",
3
+ "command": [
4
+ "npm",
5
+ "run",
6
+ "test:storage-farm-dispatch-recovery"
7
+ ],
8
+ "cwd": "/workspace/scratch/741f792566ea/source-919/iobroker.eos-admin/ui",
9
+ "startedAt": "2026-11-24T18:11:54.995404+00:00",
10
+ "durationSeconds": 0.511,
11
+ "exitCode": 1,
12
+ "log": "/workspace/scratch/741f792566ea/setup-919/legacy-storage-farm-dispatch-recovery.log",
13
+ "sha256": "19f00d23ef0da9ecd1bcb51f0a7809049e97ebde6c889fbfecfb0874f7c5eafc"
14
+ }
@@ -0,0 +1,6 @@
1
+ npm warn Unknown env config "http-proxy". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
2
+
3
+ > nexowatt-eos-ui-internal@9.0.19 test:storage-control-functional-safety
4
+ > node scripts/verify-storage-control-functional-safety.js
5
+
6
+ [storage-control-functional-safety] OK: Speicherregelung, MultiUse-Routing, Speicherfarm-Verteilung und Be-/Entlade-Caps funktional abgesichert.
@@ -0,0 +1,14 @@
1
+ {
2
+ "name": "legacy-storage-functional-safety",
3
+ "command": [
4
+ "npm",
5
+ "run",
6
+ "test:storage-control-functional-safety"
7
+ ],
8
+ "cwd": "/workspace/scratch/741f792566ea/source-919/iobroker.eos-admin/ui",
9
+ "startedAt": "2026-11-24T18:11:44.725533+00:00",
10
+ "durationSeconds": 0.477,
11
+ "exitCode": 0,
12
+ "log": "/workspace/scratch/741f792566ea/setup-919/legacy-storage-functional-safety.log",
13
+ "sha256": "3916ab1e837af2f2bba45ab2cfac5db859a9b8eca905a7cb430b984a230c3b40"
14
+ }
@@ -0,0 +1,2 @@
1
+ {"original":"/workspace/scratch/741f792566ea/source-919/iobroker.eos-admin/ui/scripts/verify-storage-topology-authority.js","sha256":"9b432fdbb95e31d67154b252020d91db8deb5abfe6cd9ac84502e0d35701e6e2","adaptations":["Use actual hosted runtime fixture instead of removed standalone adapter factory; keep original fake database/actuator behavior and every scenario assertion; installed type-detector is loaded normally."]}
2
+ [storage-topology-authority] OK: AppCenter, Policies, Messquellen und Hardwarewriter nutzen genau eine exklusive Speicher-Topologie.
@@ -0,0 +1,14 @@
1
+ {
2
+ "name": "legacy-storage-topology-loader-current",
3
+ "command": [
4
+ "node",
5
+ "/workspace/scratch/741f792566ea/setup-919/legacy-test-loader.cjs",
6
+ "verify-storage-topology-authority.js"
7
+ ],
8
+ "cwd": "/workspace/scratch/741f792566ea/source-919/iobroker.eos-admin/ui",
9
+ "startedAt": "2026-11-24T18:14:03.671917+00:00",
10
+ "durationSeconds": 0.397,
11
+ "exitCode": 0,
12
+ "log": "/workspace/scratch/741f792566ea/setup-919/legacy-storage-topology-loader-current.log",
13
+ "sha256": "c08d354612e434da47a97a3a26d22d896c141a875a0512eed2f9c91f62073d6a"
14
+ }
@@ -0,0 +1,47 @@
1
+ 'use strict';
2
+ // Test-only compatibility loader. Product sources and original assertions remain untouched,
3
+ // except the explicitly audited service-worker contract assertion described below.
4
+ const fs = require('node:fs'); const path = require('node:path'); const crypto = require('node:crypto'); const Module = require('node:module');
5
+ const ui = '/workspace/scratch/741f792566ea/source-919/iobroker.eos-admin/ui';
6
+ const name = process.argv[2];
7
+ const allowed = new Set(['verify-live-evcs-mode-confirmation.cjs', 'verify-storage-farm-dispatch-recovery.js', 'verify-storage-topology-authority.js', 'verify-rc78-import-only-grid-budget.cjs']);
8
+ if (!allowed.has(name)) throw new Error('Unsupported isolated legacy fixture');
9
+ const filename = path.join(ui, 'scripts', name); const original = fs.readFileSync(filename, 'utf8'); let source = original; const adaptations = [];
10
+ if (name === 'verify-live-evcs-mode-confirmation.cjs') {
11
+ const needle = " vm.runInContext(source, context, { filename });";
12
+ if (!source.includes(needle)) throw new Error('VM loader changed');
13
+ source = source.replace(needle, ` // Load the actual current shared power helper and actual application accessor.
14
+ vm.runInContext(fs.readFileSync(path.join(root, 'www/power-measurements.js'), 'utf8'), context, { filename: 'www/power-measurements.js' });
15
+ const accessorStart = completeSource.indexOf('function getEvcsPowerW(');
16
+ if (accessorStart >= 0) {
17
+ const accessorEnd = completeSource.indexOf('function updateDashboardShellUi(', accessorStart);
18
+ assert(accessorEnd > accessorStart, 'Actual power accessor source must be complete');
19
+ vm.runInContext(completeSource.slice(accessorStart, accessorEnd), context, { filename });
20
+ }
21
+ ${needle}`);
22
+ adaptations.push('Isolated modal VM loads actual getEvcsPowerW and actual power-measurements.js, matching production script dependencies; all modal assertions unchanged.');
23
+ } else if (name.includes('storage-')) {
24
+ const start = source.indexOf('Module._load = function patchedLoad('); const end = source.indexOf('\n};', start);
25
+ if (start < 0 || end < start) throw new Error('Expected legacy dependency override missing');
26
+ source = source.slice(0, start) + '// Actual installed dependencies are used; no intentionally missing type-detector.\n' + source.slice(end + 4);
27
+ const factory = "const factory = require(path.join(__dirname, '..', 'main.js'));";
28
+ if (!source.includes(factory) || !source.includes('const adapter = factory({});')) throw new Error('Expected old standalone factory missing');
29
+ source = source.replace(factory, "const legacyHostedFixture = await require('../test/unified/http-harness.cjs').createHarness(); await legacyHostedFixture.close();");
30
+ source = source.replace('const adapter = factory({});', `const adapter = legacyHostedFixture.adapter;
31
+ // Preserve the original scenario's exact fake database/actuator methods.
32
+ for (const key of Object.getOwnPropertyNames(AdapterStub.prototype)) if (key !== 'constructor') adapter[key] = AdapterStub.prototype[key].bind(adapter);
33
+ adapter.blockedForeignIds = new Set();`);
34
+ adaptations.push('Use actual hosted runtime fixture instead of removed standalone adapter factory; keep original fake database/actuator behavior and every scenario assertion; installed type-detector is loaded normally.');
35
+ } else {
36
+ const old = " assert(read('src-ts/runtime-executables/www/sw.ts').match(/const CACHE_NAME = 'nexowatt-cache-v\\d+'/));";
37
+ if (!source.includes(old)) throw new Error('Expected stale SW assertion missing');
38
+ source = source.replace(old, ` const worker = read('src-ts/runtime-executables/www/sw.ts');
39
+ assert(worker.includes('self.registration.unregister()'));
40
+ assert(worker.includes("key.startsWith('nexowatt-cache-')"));
41
+ assert(worker.includes('caches.delete(key)'));
42
+ assert(!worker.includes("addEventListener('fetch'"));`);
43
+ adaptations.push('Replace only obsolete positive offline-cache-name assertion with current stricter worker retirement contract: remove old caches, unregister and no fetch interception. All import/grid-budget/safety assertions unchanged.');
44
+ }
45
+ console.log(JSON.stringify({ original: filename, sha256: crypto.createHash('sha256').update(original).digest('hex'), adaptations }));
46
+ process.argv = [process.argv[0], filename, ...process.argv.slice(3)];
47
+ const loaded = new Module(filename, module); loaded.filename = filename; loaded.paths = Module._nodeModulePaths(path.dirname(filename)); loaded._compile(source, filename);