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
@@ -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>
@@ -38,6 +38,8 @@
38
38
  <script src="/static/customer-tariff.js?v=9.0.18" defer></script>
39
39
  <script src="/static/nw-i18n.js" defer></script>
40
40
  <script defer src="/eos-session-idle.js"></script>
41
+ <link rel="stylesheet" href="/static/eos-updates.css">
42
+ <script src="/static/eos-updates.js" defer></script>
41
43
  </head>
42
44
  <!-- NexoWatt Detail-Kommentar (DE) -->
43
45
  <!-- Kundeneinstellungen. data-scope/data-key-Felder werden generisch von www/app.js an /api/set gebunden und in main.js als States geführt. -->
@@ -76,6 +78,7 @@
76
78
 
77
79
  <script src="/static/power-measurements.js"></script>
78
80
  <script src="/static/tariff-display.js"></script>
81
+ <script src="/static/live-display.js"></script>
79
82
  <script src="/static/app.js"></script>
80
83
 
81
84
  <section class="settings-wrap nw-page-shell nw-settings-page-shell" data-tab-content="settings" data-settings-page="general">
@@ -97,6 +100,10 @@
97
100
  <span class="nw-settings-nav__title">Allgemein</span>
98
101
  <small>Admin-Zugang &amp; Wetter</small>
99
102
  </button>
103
+ <button class="nw-settings-nav__item" type="button" data-settings-page-target="updates">
104
+ <span class="nw-settings-nav__title">EOS-Updates</span>
105
+ <small>Neue Version prüfen und installieren</small>
106
+ </button>
100
107
  <button class="nw-settings-nav__item" type="button" data-settings-page-target="notify">
101
108
  <span class="nw-settings-nav__title">Benachrichtigungen</span>
102
109
  <small>E-Mail, Überwachung, Tests</small>
@@ -121,6 +128,34 @@
121
128
  </aside>
122
129
 
123
130
  <div class="nw-settings-main">
131
+ <section class="card nw-settings-page hidden" data-settings-panel="updates" id="eosUpdatesPanel">
132
+ <div class="card-header"><span>EOS-Updates</span></div>
133
+ <div class="form">
134
+ <p>Hier kannst du eine neue stabile EOS-Version vorbereiten und selbst starten. Deine gespeicherten Geräteeinstellungen und EMS-Zuordnungen bleiben erhalten.</p>
135
+ <dl class="nw-update-values">
136
+ <div><dt>Installiert</dt><dd id="eosUpdateInstalled">—</dd></div>
137
+ <div><dt>Verfügbar</dt><dd id="eosUpdateAvailable">—</dd></div>
138
+ <div><dt>Letzte Prüfung</dt><dd id="eosUpdateChecked">Noch nicht geprüft</dd></div>
139
+ </dl>
140
+ <p id="eosUpdateStatus" role="status" aria-live="polite">Updatestatus wird geladen …</p>
141
+ <div class="nw-update-actions">
142
+ <button type="button" class="btn" id="eosUpdateCheck">Update prüfen</button>
143
+ <button type="button" class="btn" id="eosUpdatePrepare" hidden>Update vorbereiten</button>
144
+ </div>
145
+ <small>Quelle: die als stabil veröffentlichte Version von NexoWatt EOS auf npm. Vorabversionen werden hier nicht automatisch angeboten.</small>
146
+ <dialog id="eosUpdateConfirm" aria-labelledby="eosUpdateConfirmTitle">
147
+ <h2 id="eosUpdateConfirmTitle">EOS aktualisieren</h2>
148
+ <p>Version <strong id="eosUpdateConfirmVersion">—</strong> ist vorbereitet.</p>
149
+ <p>EOS wird für die Installation beendet und anschließend neu gestartet. Währenddessen sind die Bedienoberfläche und die EOS-Regelung unterbrochen. Wähle dafür einen passenden Wartungszeitpunkt.</p>
150
+ <p>Die Vorbereitung legt eine verschlüsselte Sicherung der EOS-Konfiguration an. Diese ersetzt keine vollständige Sicherung deines ioBroker-Systems.</p>
151
+ <div class="nw-update-actions">
152
+ <button type="button" class="btn" id="eosUpdateCancel">Später</button>
153
+ <button type="button" class="btn" id="eosUpdateStart" disabled>Jetzt aktualisieren</button>
154
+ </div>
155
+ </dialog>
156
+ </div>
157
+ </section>
158
+
124
159
  <section class="card nw-settings-page" data-settings-panel="general">
125
160
  <div class="card-header"><span>Allgemein</span></div>
126
161
  <div class="form">
@@ -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
 
31
31
  <meta content="width=device-width, initial-scale=1" name="viewport"/>
32
32
  <title>NexoWatt EOS – Simulation</title>
@@ -27,7 +27,7 @@
27
27
  <link rel="manifest" href="/manifest.webmanifest">
28
28
  <link rel="icon" type="image/png" sizes="32x32" href="/assets/icons/nexowatt-32.png">
29
29
  <link rel="icon" type="image/png" sizes="192x192" href="/assets/icons/nexowatt-192.png">
30
- <link rel="apple-touch-icon" sizes="1024x1024" href="/apple-touch-icon.png?v=952ceb9cef3f">
30
+ <link rel="apple-touch-icon" type="image/png" sizes="180x180" href="/assets/icons/nexowatt-180.png?v=083e11ab28ec">
31
31
  <!-- Gemeinsamer direkter/Proxy-Bootstrap: Sitzung und CSRF vor der Bedienlogik. -->
32
32
  <script src="/static/runtime-base.js"></script>
33
33
  <script src="/static/auth.js"></script>
@@ -25,7 +25,7 @@
25
25
  <link rel="manifest" href="/manifest.webmanifest">
26
26
  <link rel="icon" type="image/png" sizes="32x32" href="/assets/icons/nexowatt-32.png">
27
27
  <link rel="icon" type="image/png" sizes="192x192" href="/assets/icons/nexowatt-192.png">
28
- <link rel="apple-touch-icon" sizes="1024x1024" href="/apple-touch-icon.png?v=952ceb9cef3f">
28
+ <link rel="apple-touch-icon" type="image/png" sizes="180x180" href="/assets/icons/nexowatt-180.png?v=083e11ab28ec">
29
29
  <!-- Gemeinsamer direkter/Proxy-Bootstrap: Sitzung und CSRF vor der Bedienlogik. -->
30
30
  <script src="/static/runtime-base.js"></script>
31
31
  <script src="/static/auth.js"></script>
@@ -0,0 +1,287 @@
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/storagefarm-dispatch.ts
10
+ * Quell-Hash: sha256:e26c3d9415d04f12110cd94c8d1d6eb47d46725d191789641aa1cc8ff357cb1f
11
+ * Erzeugung: npm run sync:ts-runtime-executables
12
+ *
13
+ * Zweck:
14
+ * Diese JavaScript-Datei ist das ausführbare Build-Artefakt für www/storagefarm-dispatch.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: Trennt Farm-Anforderung, Befehlsannahme und tatsächliche Messung.
26
+ * Daten und Wirkung: Liest vorhandene Diagnose-Snapshots; keine Konfigurations-,
27
+ * Freigabe- oder Geräteschreibzugriffe. Unbekannte Ursachen bleiben unbekannt.
28
+ * Bei Änderungen: Zuordnungsschlüssel, veraltete JSON-Zeitstempel, Teilannahme,
29
+ * Nullwerte und fehlende Statusdaten mit dem echten Renderer prüfen.
30
+ */
31
+ (() => {
32
+ const ageMs = 30000;
33
+ const record = (value) => !!value && typeof value === 'object' && !Array.isArray(value);
34
+ const number = (value) => typeof value === 'number' && Number.isFinite(value) ? value : null;
35
+ const text = (value, max = 180) => typeof value === 'string' ? value.trim().slice(0, max) : '';
36
+ function entry(snapshot, key) {
37
+ if (!record(snapshot) || !Object.hasOwn(snapshot, key))
38
+ return null;
39
+ const value = Reflect.get(snapshot, key);
40
+ return record(value) ? value : null;
41
+ }
42
+ function fresh(ts, now) {
43
+ const value = number(ts);
44
+ return value !== null && value > 0 && value <= now + 5000 && now - value <= ageMs;
45
+ }
46
+ function value(snapshot, key, connected, now) {
47
+ const row = entry(snapshot, key);
48
+ return connected && row && fresh(row.ts, now) ? row.value : undefined;
49
+ }
50
+ function json(snapshot, key, connected, now) {
51
+ const raw = value(snapshot, key, connected, now);
52
+ if (typeof raw !== 'string' || raw.length > 262144)
53
+ return null;
54
+ try {
55
+ const result = JSON.parse(raw);
56
+ return result;
57
+ }
58
+ catch {
59
+ return null;
60
+ }
61
+ }
62
+ function rows(snapshot, connected, now = Date.now()) {
63
+ const data = json(snapshot, 'storageFarm.storagesStatusJson', connected, now);
64
+ return Array.isArray(data) && data.length <= 128 ? data.filter(record) : [];
65
+ }
66
+ function dispatch(snapshot, connected, now) {
67
+ const data = json(snapshot, 'storageFarm.lastDispatchJson', connected, now);
68
+ return record(data) && fresh(data.ts, now) ? data : null;
69
+ }
70
+ function codes(value) {
71
+ return Array.isArray(value) ? value.slice(0, 20).map(item => text(item, 120)).filter(Boolean) : [];
72
+ }
73
+ const labels = new Map([
74
+ ['available_false', 'Gerät nicht freigegeben'], ['fault_active', 'Gerätestörung'],
75
+ ['device_offline', 'Gerät offline'], ['license_storage_limit', 'Lizenzgrenze'],
76
+ ['charge_not_allowed', 'Laden nicht freigegeben'], ['discharge_not_allowed', 'Entladen nicht freigegeben'],
77
+ ['charge_setpoint_missing', 'Lade-Sollwert fehlt'], ['discharge_setpoint_missing', 'Entlade-Sollwert fehlt'],
78
+ ['charge_limit_zero', 'Ladelimit 0 W'], ['discharge_limit_zero', 'Entladelimit 0 W'],
79
+ ['charge_capability_zero', 'Gerät sperrt Laden'], ['discharge_capability_zero', 'Gerät sperrt Entladen'],
80
+ ['charge_capability_missing', 'Ladefreigabe des Geräts fehlt'], ['discharge_capability_missing', 'Entladefreigabe des Geräts fehlt'],
81
+ ['charge_capability_invalid', 'Ladefreigabe des Geräts ungültig'], ['discharge_capability_invalid', 'Entladefreigabe des Geräts ungültig'],
82
+ ['charge_capability_stale', 'Ladefreigabe des Geräts veraltet'], ['discharge_capability_stale', 'Entladefreigabe des Geräts veraltet'],
83
+ ['soc_below_discharge_floor', 'Mindest-SoC erreicht'], ['soc_at_or_below_discharge_floor', 'Mindest-SoC erreicht'],
84
+ ['soc_missing', 'SoC für diese Verteilung fehlt'],
85
+ ['farm-limited', 'Verteilung begrenzt'], ['farm-write-failed', 'Schreibauftrag fehlgeschlagen'],
86
+ ['farm-partial', 'Schreibauftrag teilweise angenommen'], ['farm-stop', 'Nullvorgabe angenommen'],
87
+ ['farm-stop-failed', 'Nullvorgabe nicht vollständig angenommen'], ['fenecon-handover-wait', 'Übergabe wartet auf Watchdog'],
88
+ ['direct-ess-watchdog-active', 'Direkter ESS-Watchdog noch aktiv'], ['fenecon-farm-config-invalid', 'Farmkonfiguration ungültig'],
89
+ ['missing', 'Zuordnung fehlt'], ['command-dp-mismatch', 'Sollwert-Rücklesung weicht ab'],
90
+ ['pending-ack', 'Treiberquittierung ausstehend'], ['driver-acknowledged', 'Vom Treiber quittiert, Gerätewirkung separat prüfen'],
91
+ ]);
92
+ const reason = (code) => labels.get(code) ?? code;
93
+ function power(input) {
94
+ const n = number(input);
95
+ if (n === null)
96
+ return '—';
97
+ const abs = Math.abs(n);
98
+ return (abs >= 1000 ? (n / 1000).toLocaleString('de-DE', { maximumFractionDigits: 2 }) + ' kW' : Math.round(n).toLocaleString('de-DE') + ' W');
99
+ }
100
+ function signed(input) {
101
+ const n = number(input);
102
+ return n === null ? '—' : n > 0 ? 'Entladen ' + power(n) : n < 0 ? 'Laden ' + power(-n) : power(0);
103
+ }
104
+ function capability(input, direction) {
105
+ if (!record(input))
106
+ return 'Nicht mitgeteilt';
107
+ if (input.configured === false)
108
+ return 'Nicht zugeordnet';
109
+ if (input.configured !== true)
110
+ return 'Zuordnung unbekannt';
111
+ const status = text(input.status, 40), allowed = number(input.valueW);
112
+ if (status === 'valid' && allowed !== null && allowed >= 0)
113
+ return power(allowed) + (allowed === 0 ? ' · ' + reason(direction + '_capability_zero') : ' · aktuelle Gerätefreigabe');
114
+ if (['missing', 'invalid', 'stale'].includes(status))
115
+ return reason(direction + '_capability_' + status);
116
+ return 'Gerätefreigabe nicht bestätigt';
117
+ }
118
+ function set(id, content) { const el = document.getElementById(id); if (el)
119
+ el.textContent = content; }
120
+ function status(row) {
121
+ if (!record(row))
122
+ return 'Status unbekannt';
123
+ if (row.licenseBlocked === true)
124
+ return 'Gesperrt: Lizenzgrenze';
125
+ const discharge = codes(row.dischargeBlockedReasons), charge = codes(row.chargeBlockedReasons), common = codes(row.dispatchBlockedReasons);
126
+ if (common.length)
127
+ return 'Gesperrt: ' + common.map(reason).join(' · ');
128
+ if (discharge.length && charge.length)
129
+ return 'Laden / Entladen eingeschränkt';
130
+ if (discharge.length)
131
+ return 'Entladen gesperrt: ' + discharge.map(reason).join(' · ');
132
+ if (charge.length)
133
+ return 'Laden gesperrt: ' + charge.map(reason).join(' · ');
134
+ if (row.online === true)
135
+ return 'Messung online · Regelauftrag siehe unten';
136
+ if (row.online === false)
137
+ return 'Messung nicht aktuell';
138
+ return 'Messstatus unbekannt';
139
+ }
140
+ function match(row, members, results) {
141
+ const key = text(row.dispatchKey, 512);
142
+ if (key) {
143
+ if (members.filter(member => text(member.dispatchKey, 512) === key).length !== 1)
144
+ return null;
145
+ const same = results.filter(result => text(result.dispatchKey, 512) === key);
146
+ if (same.length === 1)
147
+ return same.at(0) ?? null;
148
+ if (same.length > 1 || results.some(result => text(result.dispatchKey, 512)))
149
+ return null;
150
+ }
151
+ const name = text(row.name);
152
+ if (!name || members.filter(member => text(member.name) === name).length !== 1)
153
+ return null;
154
+ const same = results.filter(result => text(result.name) === name && !text(result.dispatchKey, 512));
155
+ return same.length === 1 ? same.at(0) ?? null : null;
156
+ }
157
+ function line(parent, label, content) {
158
+ const item = document.createElement('div'), title = document.createElement('dt'), body = document.createElement('dd');
159
+ title.textContent = label;
160
+ body.textContent = content || 'Unbekannt';
161
+ item.append(title, body);
162
+ parent.append(item);
163
+ }
164
+ function memberDiagnostics(snapshot, connected, now, diag) {
165
+ const container = document.getElementById('sf_dispatch_members');
166
+ if (!container)
167
+ return;
168
+ const expanded = new Set(Array.from(container.children).filter(item => item.hasAttribute('open')).map(item => item.getAttribute('data-member-key')));
169
+ container.replaceChildren();
170
+ const members = rows(snapshot, connected, now);
171
+ const results = diag && Array.isArray(diag.results) && diag.results.length <= 128 ? diag.results.filter(record) : [];
172
+ for (const row of members) {
173
+ const detail = document.createElement('details'), heading = document.createElement('summary'), list = document.createElement('dl');
174
+ const memberKey = text(row.dispatchKey, 512) || 'name:' + text(row.name);
175
+ detail.setAttribute('data-member-key', memberKey);
176
+ if (expanded.has(memberKey))
177
+ detail.setAttribute('open', '');
178
+ detail.className = 'nw-farm-dispatch-member';
179
+ heading.textContent = text(row.name) || 'Speicher';
180
+ list.className = 'nw-farm-dispatch-details';
181
+ detail.append(heading, list);
182
+ const result = match(row, members, results);
183
+ const blocked = [...codes(row.dispatchBlockedReasons), ...codes(row.dischargeBlockedReasons)];
184
+ line(list, 'Entladehinweise', blocked.length ? [...new Set(blocked)].map(reason).join(' · ') : 'Keine Sperre gemeldet; keine Zusage einer Zuteilung');
185
+ const hasConfiguredLimit = Object.hasOwn(row, 'configuredMaxDischargeW');
186
+ const configuredLimit = hasConfiguredLimit ? row.configuredMaxDischargeW : row.maxDischargeW;
187
+ line(list, 'Konfiguriertes Entladelimit', hasConfiguredLimit && configuredLimit === null ? 'Keine feste Grenze hinterlegt' : power(configuredLimit));
188
+ line(list, 'Gerätefreigabe Entladen', capability(row.dischargeCapability, 'discharge'));
189
+ line(list, 'Gerätefreigabe Laden', capability(row.chargeCapability, 'charge'));
190
+ line(list, 'Zuteilung der letzten Verteilung', result ? 'Laden ' + power(result.chargeW) + ' · Entladen ' + power(result.dischargeW) : 'Keine eindeutige aktuelle Zuordnung');
191
+ line(list, 'An Schreibpfad übergeben', result ? power(result.acceptedW) : '—');
192
+ if (result) {
193
+ line(list, 'Freigabe dieses Regelauftrags', result.directionDispatchAvailable === true ? 'Für diese Anforderung berücksichtigbar' : result.directionDispatchAvailable === false ? 'Für diese Anforderung ausgeschlossen' : 'Nicht mitgeteilt');
194
+ line(list, 'Mindest-SoC dieses Entladeauftrags', number(result.dischargeFloorSocPct) !== null ? String(result.dischargeFloorSocPct) + ' %' : 'Nicht mitgeteilt');
195
+ line(list, 'Effektives Limit dieses Entladeauftrags', number(result.effectiveMaxDischargeW) !== null ? power(result.effectiveMaxDischargeW) : 'Kein numerischer Grenzwert mitgeteilt');
196
+ const messages = codes(result.blockedReasons).map(reason);
197
+ const readbacks = [];
198
+ if (result.authorityBlocked === true)
199
+ messages.push('Schreibzuständigkeit blockiert');
200
+ if (result.directionSupported === false)
201
+ messages.push('Richtung nicht unterstützt');
202
+ if (result.commandAccepted === false)
203
+ messages.push('Befehl nicht angenommen');
204
+ if (result.ok === false)
205
+ messages.push('Schreibauftrag fehlgeschlagen');
206
+ if (record(result.writes))
207
+ for (const [kind, wr] of Object.entries(result.writes).slice(0, 12)) {
208
+ if (!record(wr))
209
+ continue;
210
+ const why = text(wr.reason);
211
+ if (why)
212
+ messages.push(reason(why));
213
+ const feedback = record(wr.readback) ? wr.readback : null;
214
+ const label = text(kind, 60) + ': ';
215
+ if (feedback && (feedback.ack === false || feedback.pending === true || feedback.status === 'pending-ack')) {
216
+ readbacks.push(label + 'Nur Sollwert im ioBroker-DP; Treiberquittierung ausstehend');
217
+ }
218
+ else if (feedback?.ack === true && fresh(feedback.ts, now) && feedback.ok === true && wr.readbackOk === true) {
219
+ readbacks.push(label + 'Vom Treiber quittiert; physische Umsetzung nicht bestätigt');
220
+ }
221
+ else if (feedback?.ack === true && !fresh(feedback.ts, now)) {
222
+ readbacks.push(label + 'Rücklesewert veraltet; aktuelle Quittierung unbestätigt');
223
+ }
224
+ else if (wr.readbackSupported === true && wr.readbackOk === false) {
225
+ readbacks.push(label + 'Sollwert-Rücklesung nicht bestätigt');
226
+ }
227
+ else {
228
+ readbacks.push(label + 'Quittierungsstatus nicht mitgeteilt');
229
+ }
230
+ }
231
+ line(list, 'DP-Rückmeldung', readbacks.length ? readbacks.join(' · ') : 'Keine aktuelle Quittierungsdiagnose; Gerätewirkung nur aus unabhängiger Messung ableiten');
232
+ line(list, 'Schreibdiagnose', messages.length ? [...new Set(messages)].join(' · ') : 'Keine Fehlermeldung im letzten Schreibauftrag; reale Leistung separat prüfen');
233
+ line(list, 'Statuszuordnung', reason(text(result.statusMatch)) || 'Nicht mitgeteilt');
234
+ }
235
+ container.append(detail);
236
+ }
237
+ if (!members.length) {
238
+ const note = document.createElement('p');
239
+ note.textContent = 'Keine aktuellen Einzelspeicher-Diagnosen.';
240
+ container.append(note);
241
+ }
242
+ }
243
+ function render(snapshot, connected, now = Date.now()) {
244
+ const diag = dispatch(snapshot, connected, now);
245
+ const read = (key) => value(snapshot, key, connected, now);
246
+ const emsTarget = number(read('speicher.regelung.sollW'));
247
+ const requested = diag ? number(diag.requestedW) : emsTarget;
248
+ const accepted = diag ? number(diag.acceptedDeliveredW) : null;
249
+ const overview = json(snapshot, 'storageFarm.overviewJson', connected, now);
250
+ const battery = record(overview) && overview.v === 1 && fresh(overview.updatedAt, now) && record(overview.battery) ? overview.battery : null;
251
+ const members = record(overview) && record(overview.members) ? number(overview.members.total) : null;
252
+ const measured = battery && members !== null && Number.isInteger(members) && members > 0 && members <= 128 && battery.complete === true && battery.total === members && battery.valid === members ? number(battery.netW) : null;
253
+ set('sf_dispatch_requested', signed(requested));
254
+ set('sf_dispatch_accepted', signed(accepted));
255
+ set('sf_dispatch_measured', signed(measured));
256
+ set('sf_dispatch_requested_detail', diag ? 'Anforderung der letzten aktuellen Farm-Verteilung' : emsTarget !== null ? 'Aktuelles EMS-Soll; keine aktuelle Farm-Verteilung vorhanden' : 'Kein aktueller Anforderungswert');
257
+ set('sf_dispatch_accepted_detail', 'An ioBroker-Schreibpfad übergeben; keine Treiber-, Geräte- oder Leistungsbestätigung');
258
+ set('sf_dispatch_measured_detail', measured === null ? 'Keine vollständige aktuelle Batteriemessung' : 'Unabhängige aktuelle Batteriemessung der gesamten Farm');
259
+ let summary = !connected ? 'Verbindung unterbrochen' : !diag ? 'Keine aktuelle Farm-Verteilung; Ursache nicht aus Messwerten ableitbar' : 'Aktuelle Farm-Verteilung vorhanden';
260
+ if (diag) {
261
+ const state = text(diag.status), why = text(diag.reason);
262
+ if (emsTarget !== null && requested !== null && Math.abs(emsTarget - requested) > 1)
263
+ summary = 'EMS-Ziel geändert; letzte Verteilung gehört zu einem anderen Sollwert';
264
+ else if (requested === 0)
265
+ summary = 'Aktuelle Nullvorgabe; keine Lade- oder Entladeleistung angefordert';
266
+ else if (requested !== null && accepted === 0)
267
+ summary = 'Leistung angefordert, aber kein Leistungsbefehl angenommen';
268
+ else if (requested !== null && accepted !== null && Math.sign(requested) !== Math.sign(accepted))
269
+ summary = 'Richtung der Befehlsannahme weicht von der Anforderung ab';
270
+ else if (requested !== null && accepted !== null && Math.abs(accepted) < Math.abs(requested))
271
+ summary = 'Leistungsanforderung nur teilweise angenommen';
272
+ else if (accepted !== null && accepted !== 0)
273
+ summary = 'Schreibauftrag übergeben; tatsächliche Leistung separat prüfen';
274
+ if (state)
275
+ summary += ' · ' + reason(state);
276
+ if (why)
277
+ summary += ' · ' + reason(why);
278
+ }
279
+ set('sf_dispatch_status', summary);
280
+ const active = read('speicher.regelung.aktiv'), source = text(read('speicher.regelung.quelle')), why = text(read('speicher.regelung.grund'), 260);
281
+ set('sf_dispatch_ems', 'Speicherregelung: ' + (active === true ? 'aktiv' : active === false ? 'deaktiviert' : 'Status unbekannt') + ' · EMS-Soll: ' + signed(emsTarget) + ' · Quelle: ' + (source || 'unbekannt') + ' · Grund: ' + (why || 'nicht mitgeteilt'));
282
+ set('sf_dispatch_floor', diag && number(diag.dischargeFloorSocPct) !== null ? 'Mindest-SoC dieser Verteilung: ' + String(diag.dischargeFloorSocPct) + ' %' : 'Mindest-SoC der aktuellen Verteilung: nicht mitgeteilt');
283
+ memberDiagnostics(snapshot, connected, now, diag);
284
+ }
285
+ const host = window;
286
+ host.NWStorageFarmDispatch = Object.freeze({ render, rows, status });
287
+ })();
@@ -15,3 +15,18 @@
15
15
  .nw-farm-summary__hint { color: #bacbd2; font-size: .82rem; line-height: 1.5; margin: 14px 0 0; }
16
16
  @media (max-width: 900px) { .nw-farm-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
17
17
  @media (max-width: 460px) { .nw-farm-metrics { grid-template-columns: 1fr; } .nw-farm-metric { padding: 16px; } }
18
+
19
+ /* Diagnose trennt tatsächliche Messung von Verteilung und Befehlsannahme. */
20
+ .nw-farm-dispatch { margin-top: 24px; padding-top: 20px; border-top: 1px solid #244251; }
21
+ .nw-farm-dispatch h3 { color: #e5f5f5; font-size: 1.1rem; margin: 0 0 12px; }
22
+ #sf_dispatch_status { color: #ead5a5; line-height: 1.5; overflow-wrap: anywhere; }
23
+ .nw-farm-dispatch .nw-farm-metric { border-top-color: #4e91a1; }
24
+ .nw-farm-dispatch-members { display: grid; gap: 10px; margin-top: 16px; }
25
+ .nw-farm-dispatch-member { background: #081c29; border: 1px solid #244251; border-radius: 12px; min-width: 0; }
26
+ .nw-farm-dispatch-member summary { padding: 14px 16px; cursor: pointer; color: #dcefeb; overflow-wrap: anywhere; }
27
+ .nw-farm-dispatch-member summary:focus-visible { outline: 2px solid #35d9ad; outline-offset: 2px; }
28
+ .nw-farm-dispatch-details { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0 16px 16px; }
29
+ .nw-farm-dispatch-details > div { min-width: 0; overflow-wrap: anywhere; }
30
+ .nw-farm-dispatch-details dt { color: #91acb8; font-size: .76rem; }
31
+ .nw-farm-dispatch-details dd { color: #dcefeb; font-size: .84rem; margin: 5px 0 0; line-height: 1.45; }
32
+ @media (max-width: 600px) { .nw-farm-dispatch-details { grid-template-columns: minmax(0, 1fr); } }
@@ -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>
@@ -112,10 +112,24 @@
112
112
  <div id="sf_status_rows" class="nw-storagefarm-rows"></div>
113
113
  </div>
114
114
  <small id="sf_msg" class="nw-storagefarm-msg"></small>
115
+ <section class="nw-farm-dispatch" aria-labelledby="sf_dispatch_title">
116
+ <h3 id="sf_dispatch_title">Regelauftrag &amp; Rückmeldung</h3>
117
+ <p id="sf_dispatch_status" role="status">Warte auf aktuelle Verteilungsdiagnose.</p>
118
+ <div class="nw-farm-metrics">
119
+ <article class="nw-farm-metric"><h4>Angefordert</h4><strong id="sf_dispatch_requested">—</strong><small id="sf_dispatch_requested_detail">Keine aktuelle Anforderung</small></article>
120
+ <article class="nw-farm-metric"><h4>An Schreibpfad übergeben</h4><strong id="sf_dispatch_accepted">—</strong><small id="sf_dispatch_accepted_detail">Keine Treiber-, Geräte- oder Leistungsbestätigung</small></article>
121
+ <article class="nw-farm-metric"><h4>Tatsächlich gemessen</h4><strong id="sf_dispatch_measured">—</strong><small id="sf_dispatch_measured_detail">Keine aktuelle Messung</small></article>
122
+ </div>
123
+ <p id="sf_dispatch_ems" class="nw-farm-summary__hint">EMS-Entscheidung unbekannt.</p>
124
+ <p id="sf_dispatch_floor" class="nw-farm-summary__hint">Mindest-SoC nicht mitgeteilt.</p>
125
+ <div id="sf_dispatch_members" class="nw-farm-dispatch-members"></div>
126
+ </section>
127
+
115
128
  </section>
116
129
  </main>
117
130
 
118
131
  <script src="/static/storagefarm-summary.js"></script>
132
+ <script src="/static/storagefarm-dispatch.js"></script>
119
133
  <script src="/static/storagefarm.js"></script>
120
134
  <script src="/static/cockpit-shell.js"></script>
121
135
  <script src="/static/pwa.js" defer></script>
@@ -7,7 +7,7 @@
7
7
  * AUTO-GENERATED RUNTIME FILE - NICHT MANUELL BEARBEITEN.
8
8
  *
9
9
  * Quelle: src-ts/runtime-executables/www/storagefarm.ts
10
- * Quell-Hash: sha256:2595c1640ed238436c8dc2b3bafbf815d874da8708d635668c0318ed9a91b803
10
+ * Quell-Hash: sha256:c5b60c8ff566faf606ed843959a8f43f9ef206433f5675f2dea9841233679144
11
11
  * Erzeugung: npm run sync:ts-runtime-executables
12
12
  *
13
13
  * Zweck:
@@ -143,8 +143,7 @@
143
143
  * TypeScript: Parameter, Rückgabewert und verwendete Config-/State-Objekte später explizit typisieren.
144
144
  */
145
145
  function statusList() {
146
- var list = parseJsonSafe(stateVal('storageFarm.storagesStatusJson'), []);
147
- return Array.isArray(list) ? list : [];
146
+ return window.NWStorageFarmDispatch ? window.NWStorageFarmDispatch.rows(state, liveConnected) : [];
148
147
  }
149
148
  /**
150
149
  * Code-Teil: setLive
@@ -154,7 +153,7 @@
154
153
  */
155
154
  function setLive(ok) {
156
155
  liveConnected = !!ok;
157
- if (window.NWStorageFarmSummary) window.NWStorageFarmSummary.render(state, liveConnected);
156
+ render();
158
157
  var dot = el('liveDot');
159
158
  if (dot) dot.classList.toggle('live', !!ok);
160
159
  }
@@ -175,26 +174,9 @@
175
174
  * TypeScript: Parameter, Rückgabewert und verwendete Config-/State-Objekte später explizit typisieren.
176
175
  */
177
176
  function statusText(row) {
178
- if (row && row.licenseBlocked === true) return 'Gesperrt: Lizenzgrenze';
179
- var online = !!(row && (row.online === true || row.displayOnline === true || row.dispatchAvailable === true));
180
- var degraded = !!(row && (row.degraded === true || row.state === 'degraded'));
181
- var reasons = []
182
- .concat(row && Array.isArray(row.dispatchBlockedReasons) ? row.dispatchBlockedReasons : [])
183
- .concat(row && Array.isArray(row.chargeBlockedReasons) ? row.chargeBlockedReasons : [])
184
- .concat(row && Array.isArray(row.dischargeBlockedReasons) ? row.dischargeBlockedReasons : []);
185
- var hardLock = reasons.some(function (x) {
186
- return ['available_false', 'fault_active', 'device_offline', 'charge_not_allowed', 'discharge_not_allowed'].indexOf(String(x || '')) >= 0;
187
- });
188
- var chg = num(row && row.chargePowerW) || 0;
189
- var dchg = num(row && row.dischargePowerW) || 0;
190
- var idle = Math.abs(chg) + Math.abs(dchg) < 20;
191
-
192
- if (online && row && row.dispatchAvailable === true) return degraded ? 'Degraded / Bereit' : (idle ? 'Online / Standby' : 'Online / Bereit');
193
- if (online && hardLock) return 'Gesperrt';
194
- if (online) return degraded ? 'Degraded / prüfen' : 'Online / prüfen';
195
- if (row && row.dispatchAvailable) return 'Regelbar';
196
- return 'Offline';
177
+ return window.NWStorageFarmDispatch ? window.NWStorageFarmDispatch.status(row) : 'Status unbekannt';
197
178
  }
179
+
198
180
  /**
199
181
  * Code-Teil: cell
200
182
  * Zweck: Kapselt einen lokalen Verarbeitungsschritt, damit Aufrufer nicht direkt in Detaildaten eingreifen.
@@ -262,6 +244,7 @@
262
244
  function render() {
263
245
  renderSummary();
264
246
  renderRows(statusList());
247
+ if (window.NWStorageFarmDispatch) window.NWStorageFarmDispatch.render(state, liveConnected);
265
248
  }
266
249
  /**
267
250
  * Code-Teil: loadConfig
@@ -307,7 +290,6 @@
307
290
  var snap = await fetch('/api/state', { cache: 'no-store' }).then(function (r) { return r.json(); });
308
291
  state = snap || {};
309
292
  window.latestState = state;
310
- render();
311
293
  setLive(true);
312
294
  } catch (_e) {
313
295
  setLive(false);
@@ -380,9 +362,9 @@
380
362
  loadConfig();
381
363
  loadState();
382
364
  startEvents();
383
- aggregateTimer = window.setInterval(function () { if (window.NWStorageFarmSummary) window.NWStorageFarmSummary.render(state, liveConnected); }, 5000);
365
+ aggregateTimer = window.setInterval(function () { render(); }, 5000);
384
366
  window.addEventListener('pagehide', function () { if (aggregateTimer !== null) { window.clearInterval(aggregateTimer); aggregateTimer = null; } });
385
- window.addEventListener('pageshow', function () { if (aggregateTimer === null) aggregateTimer = window.setInterval(function () { if (window.NWStorageFarmSummary) window.NWStorageFarmSummary.render(state, liveConnected); }, 5000); });
367
+ window.addEventListener('pageshow', function () { if (aggregateTimer === null) aggregateTimer = window.setInterval(function () { render(); }, 5000); });
386
368
 
387
369
  });
388
370
  })();