iobroker.eos-admin 9.0.33 → 9.0.35

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 (260) hide show
  1. package/NEXOWATT_EOS_BUILD_INFO.json +13 -11
  2. package/README.md +12 -8
  3. package/adminWww/.vite/manifest.json +233 -224
  4. package/adminWww/NEXOWATT_EOS_FRONTEND_MANIFEST.json +13897 -13887
  5. package/adminWww/assets/AccessTime-CuR73YC3.js +1 -0
  6. package/adminWww/assets/{AdapterUpdateDialog-DBUqmmyD.js → AdapterUpdateDialog-DH6S-kWX.js} +5 -5
  7. package/adminWww/assets/{Adapters-dDEp7o5h.js → Adapters-CIlqSF5B.js} +5 -5
  8. package/adminWww/assets/ConfigManager-BhVBfM-q.js +1 -0
  9. package/adminWww/assets/Enums-3H97czGs.js +92 -0
  10. package/adminWww/assets/Fields-vWLKiuvO.js +1 -0
  11. package/adminWww/assets/Files-wmjjMXYM.js +1 -0
  12. package/adminWww/assets/{Hosts-CwU1LujG.js → Hosts-Bk-xmI98.js} +6 -6
  13. package/adminWww/assets/Instances-Db6Vgh62.js +4 -0
  14. package/adminWww/assets/Intro-Dc3wAG9V.js +2 -0
  15. package/adminWww/assets/KeyboardArrowRight-ifvmV1ZL.js +1 -0
  16. package/adminWww/assets/{Logs-B5SpNqHq.js → Logs-CPbEGWNq.js} +2 -2
  17. package/adminWww/assets/MoreHoriz-CS7nODK8.js +1 -0
  18. package/adminWww/assets/{Objects-COg_cFkz.js → Objects-DJB-2468.js} +4 -4
  19. package/adminWww/assets/Overview-DdvghCLQ.js +3 -0
  20. package/adminWww/assets/Pageview-wzrLQZ-j.js +1 -0
  21. package/adminWww/assets/PersonOff-YtHcY0sV.js +1 -0
  22. package/adminWww/assets/Star-D8VNXawT.js +1 -0
  23. package/adminWww/assets/State-0UzpgKYj.js +1 -0
  24. package/adminWww/assets/UsedResources-Bcmo58YD.js +2 -0
  25. package/adminWww/assets/Users-BGHf3Rox.js +1 -0
  26. package/adminWww/assets/ViewCompact-D7bHgn99.js +1 -0
  27. package/adminWww/assets/ViewSidebar-CjClbCI5.js +1 -0
  28. package/adminWww/assets/WifiTethering-DJ9VO12W.js +1 -0
  29. package/adminWww/assets/{bootstrap-Dwfxhm2V.js → bootstrap-qkrk_CAn.js} +25 -25
  30. package/adminWww/assets/date-fns-BtR4dG_j.js +1 -0
  31. package/adminWww/assets/en-US-BjjaEI6N.js +1 -0
  32. package/adminWww/assets/{hostInit-3BbTwhaZ.js → hostInit-DlGqatlv.js} +1 -1
  33. package/adminWww/assets/icons-material-CUNq6tdT.js +1 -0
  34. package/adminWww/assets/{index-nddph2Sl.js → index-BrtKq3UN.js} +2 -2
  35. package/adminWww/assets/{installSVGRenderer-CPDIwFAL.js → installSVGRenderer-DujLjpXt.js} +1 -1
  36. package/adminWww/assets/isSameWeek-WMSJR5Qs.js +1 -0
  37. package/adminWww/assets/locale-DN6Bdkdt.js +1 -0
  38. package/adminWww/assets/{mf-entry-bootstrap-0-d1f0f40f.js → mf-entry-bootstrap-0-3e1cd85c.js} +2 -2
  39. package/adminWww/assets/sentry-CPzCHrwe.js +1 -0
  40. package/adminWww/assets/setYear-DDSuW45e.js +1 -0
  41. package/adminWww/index.html +23 -23
  42. package/adminWww/mf-manifest.json +1 -1
  43. package/adminWww/mf-stats.json +1 -1
  44. package/adminWww/{remoteEntry-eos-9.0.33.js → remoteEntry-eos-9.0.35.js} +1 -1
  45. package/adminWww/remoteEntry.js +1 -1
  46. package/build/lib/eosDashboardProcessStatus.js +191 -0
  47. package/build/lib/eosDashboardProcessStatus.js.map +1 -0
  48. package/build/lib/eosDeviceEmsPlan.js +285 -9
  49. package/build/lib/eosDeviceEmsPlan.js.map +1 -1
  50. package/build/lib/eosDeviceEmsService.js +29 -2
  51. package/build/lib/eosDeviceEmsService.js.map +1 -1
  52. package/build/lib/eosKiosk.js +1 -0
  53. package/build/lib/eosKiosk.js.map +1 -1
  54. package/build/lib/eosModuleHost.js +17 -6
  55. package/build/lib/eosModuleHost.js.map +1 -1
  56. package/build/lib/eosModuleHttp.js +18 -3
  57. package/build/lib/eosModuleHttp.js.map +1 -1
  58. package/build/lib/eosModuleProcess.js +17 -0
  59. package/build/lib/eosModuleProcess.js.map +1 -1
  60. package/build/lib/eosModuleProcessWorker.js +22 -1
  61. package/build/lib/eosModuleProcessWorker.js.map +1 -1
  62. package/build/lib/eosRuntimeControl.js +6 -0
  63. package/build/lib/eosRuntimeControl.js.map +1 -1
  64. package/build/lib/eosRuntimeHealth.js +50 -1
  65. package/build/lib/eosRuntimeHealth.js.map +1 -1
  66. package/build/lib/eosSupervisorNotifications.js +169 -0
  67. package/build/lib/eosSupervisorNotifications.js.map +1 -0
  68. package/build/lib/eosUiProcess.js +1 -0
  69. package/build/lib/eosUiProcess.js.map +1 -1
  70. package/build/lib/web.js +5 -0
  71. package/build/lib/web.js.map +1 -1
  72. package/docs/README.md +3 -2
  73. package/docs/reports/unified-9.0.34/PRUEFBERICHT.md +40 -0
  74. package/docs/reports/unified-9.0.34/PRUEFERGEBNISSE.json +112 -0
  75. package/docs/reports/unified-9.0.34/raw/INDEX.json +137 -0
  76. package/docs/reports/unified-9.0.34/raw/backend.log +5 -0
  77. package/docs/reports/unified-9.0.34/raw/dashboard-interval.json +108 -0
  78. package/docs/reports/unified-9.0.34/raw/fixtures-verification.log +44 -0
  79. package/docs/reports/unified-9.0.34/raw/frontend.log +152 -0
  80. package/docs/reports/unified-9.0.34/raw/installer.log +26 -0
  81. package/docs/reports/unified-9.0.34/raw/lint.log +45 -0
  82. package/docs/reports/unified-9.0.34/raw/mira-dashboard-browser.json +1 -0
  83. package/docs/reports/unified-9.0.34/raw/mira-devices-browser.log +9 -0
  84. package/docs/reports/unified-9.0.34/raw/mira-memory-process.json +379 -0
  85. package/docs/reports/unified-9.0.34/raw/modules.log +5 -0
  86. package/docs/reports/unified-9.0.34/raw/node22-mira.log +216 -0
  87. package/docs/reports/unified-9.0.34/raw/node22-protocol-to-ems.log +8 -0
  88. package/docs/reports/unified-9.0.34/raw/node22-tests-final.log +17850 -0
  89. package/docs/reports/unified-9.0.34/raw/node22-version.log +1 -0
  90. package/docs/reports/unified-9.0.34/raw/node24-mira.log +40 -0
  91. package/docs/reports/unified-9.0.34/raw/node24-protocol-to-ems.log +6 -0
  92. package/docs/reports/unified-9.0.34/raw/node24-tests-final.log +2973 -0
  93. package/docs/reports/unified-9.0.34/raw/node24-version.log +1 -0
  94. package/docs/reports/unified-9.0.34/raw/protocol-to-ems.cjs +364 -0
  95. package/docs/reports/unified-9.0.34/raw/release-metadata.log +13 -0
  96. package/docs/reports/unified-9.0.34/raw/sbom.log +8 -0
  97. package/docs/reports/unified-9.0.34/raw/typecheck.log +5 -0
  98. package/docs/reports/unified-9.0.34/raw/ui-runtime.log +8 -0
  99. package/docs/reports/unified-9.0.35/PRUEFBERICHT.md +51 -0
  100. package/docs/reports/unified-9.0.35/PRUEFERGEBNISSE.json +112 -0
  101. package/docs/reports/unified-9.0.35/raw/INDEX.json +282 -0
  102. package/docs/reports/unified-9.0.35/raw/backend.log +5 -0
  103. package/docs/reports/unified-9.0.35/raw/browser-lp-detail.log +1 -0
  104. package/docs/reports/unified-9.0.35/raw/browser-lp-feedback.log +1 -0
  105. package/docs/reports/unified-9.0.35/raw/cold-ocpp-22.log +108 -0
  106. package/docs/reports/unified-9.0.35/raw/cold-ocpp-24.log +24 -0
  107. package/docs/reports/unified-9.0.35/raw/core-final-node22.log +1439 -0
  108. package/docs/reports/unified-9.0.35/raw/core-final-node24.log +1381 -0
  109. package/docs/reports/unified-9.0.35/raw/dashboard-de-en-nl.json +716 -0
  110. package/docs/reports/unified-9.0.35/raw/device-chain-closed-fixed.json +98 -0
  111. package/docs/reports/unified-9.0.35/raw/device-chain-rst-fixed.json +98 -0
  112. package/docs/reports/unified-9.0.35/raw/device-chain.json +93 -0
  113. package/docs/reports/unified-9.0.35/raw/ee-fusion-final.log +12 -0
  114. package/docs/reports/unified-9.0.35/raw/eebus-monitor-browser.json +1 -0
  115. package/docs/reports/unified-9.0.35/raw/eebus-monitor-node22.log +206 -0
  116. package/docs/reports/unified-9.0.35/raw/eebus-monitor-node24.log +39 -0
  117. package/docs/reports/unified-9.0.35/raw/fixtures-verification.log +44 -0
  118. package/docs/reports/unified-9.0.35/raw/frontend.log +152 -0
  119. package/docs/reports/unified-9.0.35/raw/installer.log +26 -0
  120. package/docs/reports/unified-9.0.35/raw/legacy-mail-setup-browser.log +1 -0
  121. package/docs/reports/unified-9.0.35/raw/lint.log +45 -0
  122. package/docs/reports/unified-9.0.35/raw/live-ems-loss.log +10 -0
  123. package/docs/reports/unified-9.0.35/raw/modules.log +5 -0
  124. package/docs/reports/unified-9.0.35/raw/node22-mira-reconnect-integrity.log +452 -0
  125. package/docs/reports/unified-9.0.35/raw/node22-mira.log +222 -0
  126. package/docs/reports/unified-9.0.35/raw/node22-system-status.log +213 -0
  127. package/docs/reports/unified-9.0.35/raw/node22-tests-final.log +18137 -0
  128. package/docs/reports/unified-9.0.35/raw/node22-version.log +1 -0
  129. package/docs/reports/unified-9.0.35/raw/node24-mira-reconnect-integrity.log +79 -0
  130. package/docs/reports/unified-9.0.35/raw/node24-mira.log +41 -0
  131. package/docs/reports/unified-9.0.35/raw/node24-system-status.log +40 -0
  132. package/docs/reports/unified-9.0.35/raw/node24-tests-final.log +3019 -0
  133. package/docs/reports/unified-9.0.35/raw/node24-version.log +1 -0
  134. package/docs/reports/unified-9.0.35/raw/notifications-legacy-node22.log +1 -0
  135. package/docs/reports/unified-9.0.35/raw/notifications-legacy-node24.log +1 -0
  136. package/docs/reports/unified-9.0.35/raw/notifications-node22.log +67 -0
  137. package/docs/reports/unified-9.0.35/raw/notifications-node24.log +17 -0
  138. package/docs/reports/unified-9.0.35/raw/npm-runtime-audit.json +77 -0
  139. package/docs/reports/unified-9.0.35/raw/ocpp-dashboard-stations-node22.log +110 -0
  140. package/docs/reports/unified-9.0.35/raw/ocpp-dashboard-stations-node24.log +106 -0
  141. package/docs/reports/unified-9.0.35/raw/ocpp-history-node22.log +561 -0
  142. package/docs/reports/unified-9.0.35/raw/ocpp-history-node24.log +98 -0
  143. package/docs/reports/unified-9.0.35/raw/poll-life-node22.log +38 -0
  144. package/docs/reports/unified-9.0.35/raw/poll-life-node24.log +12 -0
  145. package/docs/reports/unified-9.0.35/raw/qa-source-check.log +2 -0
  146. package/docs/reports/unified-9.0.35/raw/release-metadata.log +13 -0
  147. package/docs/reports/unified-9.0.35/raw/sbom.log +8 -0
  148. package/docs/reports/unified-9.0.35/raw/typecheck.log +5 -0
  149. package/docs/reports/unified-9.0.35/raw/ui-runtime.log +8 -0
  150. package/docs/reports/unified-9.0.35/raw/vergleich-9.0.33.json +29 -0
  151. package/docs/reports/unified-9.0.35/raw/vergleich-9.0.34.json +249 -0
  152. package/docs/reports/unified-9.0.35/raw/vorher-9.0.33-chromium.json +286 -0
  153. package/docs/reports/unified-9.0.35/raw/vorher-9.0.34-chromium.json +291 -0
  154. package/docs/start/START_HIER_9.0.34.md +25 -0
  155. package/docs/start/START_HIER_9.0.35.md +27 -0
  156. package/io-package.json +12 -12
  157. package/modules/devices/admin/alias-contract-v1.json +22 -0
  158. package/modules/devices/admin/ems-assignment.js +6 -1
  159. package/modules/devices/admin/host-bridge.js +2 -0
  160. package/modules/devices/admin/index.html +16 -0
  161. package/modules/devices/admin/index_m.js +168 -9
  162. package/modules/devices/admin/templates.json +976 -0
  163. package/modules/devices/checks/emsAssignment.check.js +52 -2
  164. package/modules/devices/contracts.d.ts +1 -0
  165. package/modules/devices/index.js +25 -2
  166. package/modules/devices/lib/alias-contract-v1.json +22 -0
  167. package/modules/devices/lib/deviceRuntime.js +36 -7
  168. package/modules/devices/lib/drivers/modbus.js +12 -7
  169. package/modules/devices/lib/drivers/modbusRtuBus.js +7 -1
  170. package/modules/devices/lib/drivers/ovumMira.js +152 -0
  171. package/modules/devices/lib/ovumMiraAliases.js +61 -0
  172. package/modules/devices/lib/ovumMiraConnection.js +32 -0
  173. package/modules/devices/lib/templates.json +976 -0
  174. package/modules/devices/test/aliasContractV1.test.js +4 -4
  175. package/modules/devices/test/deviceAliasSemantics.test.js +2 -2
  176. package/modules/devices/test/fixtures/approved-additive-templates.json +3 -1
  177. package/modules/devices/test/ovumMiraPairing.test.js +76 -0
  178. package/modules/devices/test/ovumMiraTemplates.test.js +110 -0
  179. package/modules/devices/test/ovumMiraTransport.test.js +201 -0
  180. package/modules/eebus/README.md +8 -0
  181. package/modules/eebus/admin/index.js +29 -2
  182. package/modules/eebus/build/index.js +28 -3
  183. package/modules/eebus/build/lib/eebusRuntime.js +17 -2
  184. package/modules/eebus/build/lib/partnerMonitor.js +160 -0
  185. package/modules/eebus/build/lib/shipEndpoint.js +4 -0
  186. package/modules/eebus/build/lib/stateDefinitions.js +1 -0
  187. package/modules/eebus/src/index.ts +23 -3
  188. package/modules/eebus/src/lib/eebusRuntime.ts +20 -2
  189. package/modules/eebus/src/lib/partnerMonitor.ts +127 -0
  190. package/modules/eebus/src/lib/shipEndpoint.ts +5 -0
  191. package/modules/eebus/src/lib/stateDefinitions.ts +1 -0
  192. package/modules/eebus/test/partner-monitor.test.js +82 -0
  193. package/modules/eebus/test/security.test.js +17 -0
  194. package/modules/ocpp/README.md +9 -1
  195. package/modules/ocpp/build/index.js +137 -10
  196. package/modules/ocpp/build/stationHistory.js +113 -0
  197. package/modules/ocpp/ocpp/freshness.d.ts +3 -0
  198. package/modules/ocpp/ocpp/freshness.js +6 -0
  199. package/modules/ocpp/provenance.json +3 -2
  200. package/modules/ocpp/runtime.d.ts +1 -0
  201. package/modules/ocpp/runtime.js +23 -1
  202. package/modules/ocpp/src/index.ts +163 -12
  203. package/modules/ocpp/src/stationHistory.ts +119 -0
  204. package/modules/ocpp/test/hosted.test.cjs +161 -0
  205. package/package.json +9 -5
  206. package/release-manifests/unified/build-environment.cdx.json +6 -6
  207. package/release-manifests/unified/files.json +313 -190
  208. package/release-manifests/unified/frontend.cdx.json +6 -6
  209. package/release-manifests/unified/installer.cdx.json +6 -6
  210. package/release-manifests/unified/obsolete-admin-assets.json +166 -0
  211. package/release-manifests/unified/runtime.cdx.json +30 -30
  212. package/release-manifests/unified/validation.json +15 -15
  213. package/tools/eos-release-manifest.cjs +1 -1
  214. package/ui/ems/consumers/ovum-mira.js +164 -0
  215. package/ui/ems/modules/para14a.js +3 -2
  216. package/ui/ems/modules/stage-a-diagnostics.js +4 -2
  217. package/ui/ems/modules/thermal-control.js +91 -10
  218. package/ui/io-package.json +9 -1
  219. package/ui/lib/installer-lifecycle.js +11 -2
  220. package/ui/lib/notification-mail.js +235 -40
  221. package/ui/lib/notification-policy.js +41 -14
  222. package/ui/main.js +37 -7
  223. package/ui/package.json +2 -1
  224. package/ui/www/app.js +122 -24
  225. package/ui/www/dashboard-lp-status.js +4 -11
  226. package/ui/www/dashboard-process-status.js +202 -0
  227. package/ui/www/ems-apps.js +28 -9
  228. package/ui/www/i18n/en.json +23 -0
  229. package/ui/www/i18n/nl.json +20 -0
  230. package/ui/www/index.html +10 -5
  231. package/ui/www/licenses/smarthome-markdown-components.json +156 -156
  232. package/ui/www/live-display.js +101 -9
  233. package/ui/www/manifest.webmanifest +2 -2
  234. package/ui/www/settings.html +2 -2
  235. package/ui/www/styles.css +4 -0
  236. package/adminWww/assets/AddLink-0L0E-LsA.js +0 -1
  237. package/adminWww/assets/ColorLens-DA51K29x.js +0 -1
  238. package/adminWww/assets/ConfigManager-DbqTWi2N.js +0 -1
  239. package/adminWww/assets/Enums-DjldGElU.js +0 -92
  240. package/adminWww/assets/Fields-0GsPCJeU.js +0 -1
  241. package/adminWww/assets/FileCopy-B16lEuur.js +0 -1
  242. package/adminWww/assets/Files-COnUtEbg.js +0 -1
  243. package/adminWww/assets/Instances-CUX5mxMQ.js +0 -4
  244. package/adminWww/assets/Intro-BhQmHn3A.js +0 -2
  245. package/adminWww/assets/Lens-9lkeoWGk.js +0 -1
  246. package/adminWww/assets/LinearScale-Be5h2beh.js +0 -1
  247. package/adminWww/assets/North-C2whbHM-.js +0 -1
  248. package/adminWww/assets/Overview-CitzUjBF.js +0 -3
  249. package/adminWww/assets/PersonOff-DqBq0Fho.js +0 -1
  250. package/adminWww/assets/PlaylistAdd-O8k92YBd.js +0 -1
  251. package/adminWww/assets/State-D5ljzf-T.js +0 -1
  252. package/adminWww/assets/UsedResources-BY_NF2wB.js +0 -2
  253. package/adminWww/assets/Users-Cu93_-VF.js +0 -1
  254. package/adminWww/assets/date-fns-C1dqkno9.js +0 -1
  255. package/adminWww/assets/icons-material-DjqX0l_7.js +0 -1
  256. package/adminWww/assets/isSameWeek-Crh37s7U.js +0 -1
  257. package/adminWww/assets/isWithinInterval-Bo1WiDfq.js +0 -1
  258. package/adminWww/assets/locale-hLcz_Xh2.js +0 -1
  259. package/adminWww/assets/sentry-DwQQLI7N.js +0 -1
  260. package/adminWww/assets/startOfWeek-DJph8SIW.js +0 -1
@@ -2,10 +2,10 @@
2
2
  "$schema": "http://cyclonedx.org/schema/bom-1.5.schema.json",
3
3
  "bomFormat": "CycloneDX",
4
4
  "specVersion": "1.5",
5
- "serialNumber": "urn:uuid:f241324e-fb78-49ad-a12f-7f63ab355f10",
5
+ "serialNumber": "urn:uuid:2710a4e9-f302-457b-a556-ade7f56b2d38",
6
6
  "version": 2,
7
7
  "metadata": {
8
- "timestamp": "2026-11-26T12:44:24.927Z",
8
+ "timestamp": "2026-11-26T19:41:30.327Z",
9
9
  "lifecycles": [
10
10
  {
11
11
  "phase": "pre-build"
@@ -19,14 +19,14 @@
19
19
  }
20
20
  ],
21
21
  "component": {
22
- "bom-ref": "iobroker.eos-admin@9.0.33",
22
+ "bom-ref": "iobroker.eos-admin@9.0.35",
23
23
  "type": "library",
24
24
  "name": "iobroker.eos-admin",
25
- "version": "9.0.33",
25
+ "version": "9.0.35",
26
26
  "scope": "required",
27
27
  "author": "NexoWatt",
28
28
  "description": "NexoWatt EOS: licensed local energy management, dashboard and ioBroker system administration in one adapter.",
29
- "purl": "pkg:npm/iobroker.eos-admin@9.0.33",
29
+ "purl": "pkg:npm/iobroker.eos-admin@9.0.35",
30
30
  "properties": [],
31
31
  "externalReferences": []
32
32
  }
@@ -11922,10 +11922,10 @@
11922
11922
  ]
11923
11923
  },
11924
11924
  {
11925
- "bom-ref": "nexowatt:vendored:webserver@3.4.0+nexowatt.9.0.33",
11925
+ "bom-ref": "nexowatt:vendored:webserver@3.4.0+nexowatt.9.0.35",
11926
11926
  "type": "library",
11927
11927
  "name": "@iobroker/webserver",
11928
- "version": "3.4.0+nexowatt.9.0.33",
11928
+ "version": "3.4.0+nexowatt.9.0.35",
11929
11929
  "scope": "required",
11930
11930
  "description": "Locally vendored @iobroker/webserver 3.4.0 with two reviewed certificate-material logging replacements; not an unmodified registry release.",
11931
11931
  "licenses": [
@@ -12002,9 +12002,9 @@
12002
12002
  },
12003
12003
  {
12004
12004
  "type": "library",
12005
- "bom-ref": "nexowatt:integrated:devices@9.0.33",
12005
+ "bom-ref": "nexowatt:integrated:devices@9.0.35",
12006
12006
  "name": "NexoWatt EOS integrated devices",
12007
- "version": "9.0.33",
12007
+ "version": "9.0.35",
12008
12008
  "scope": "required",
12009
12009
  "licenses": [
12010
12010
  {
@@ -12016,7 +12016,7 @@
12016
12016
  "hashes": [
12017
12017
  {
12018
12018
  "alg": "SHA-256",
12019
- "content": "620cd458e496065df040f11347eb15566817dc04c4d933481346718d881ac268"
12019
+ "content": "79fda59db55833cf5538458dfe8a7d71ea8ef798a8028aafd6708f53b8ab70c8"
12020
12020
  }
12021
12021
  ],
12022
12022
  "pedigree": {
@@ -12046,9 +12046,9 @@
12046
12046
  },
12047
12047
  {
12048
12048
  "type": "library",
12049
- "bom-ref": "nexowatt:integrated:eebus@9.0.33",
12049
+ "bom-ref": "nexowatt:integrated:eebus@9.0.35",
12050
12050
  "name": "NexoWatt EOS integrated eebus",
12051
- "version": "9.0.33",
12051
+ "version": "9.0.35",
12052
12052
  "scope": "required",
12053
12053
  "licenses": [
12054
12054
  {
@@ -12060,7 +12060,7 @@
12060
12060
  "hashes": [
12061
12061
  {
12062
12062
  "alg": "SHA-256",
12063
- "content": "670167d9dc10026948da7e3e75f67a749220388d5e000b4ce4ab97baf8a826d2"
12063
+ "content": "6da1321701bcc158f18bb32fb5758a25010d7931c132cea6b01a5dee8e3dd7ea"
12064
12064
  }
12065
12065
  ],
12066
12066
  "pedigree": {
@@ -12090,9 +12090,9 @@
12090
12090
  },
12091
12091
  {
12092
12092
  "type": "library",
12093
- "bom-ref": "nexowatt:integrated:backup@9.0.33",
12093
+ "bom-ref": "nexowatt:integrated:backup@9.0.35",
12094
12094
  "name": "NexoWatt EOS integrated backup",
12095
- "version": "9.0.33",
12095
+ "version": "9.0.35",
12096
12096
  "scope": "required",
12097
12097
  "licenses": [
12098
12098
  {
@@ -12141,9 +12141,9 @@
12141
12141
  },
12142
12142
  {
12143
12143
  "type": "library",
12144
- "bom-ref": "nexowatt:integrated:ocpp@9.0.33",
12144
+ "bom-ref": "nexowatt:integrated:ocpp@9.0.35",
12145
12145
  "name": "NexoWatt EOS integrated ocpp",
12146
- "version": "9.0.33",
12146
+ "version": "9.0.35",
12147
12147
  "scope": "required",
12148
12148
  "licenses": [
12149
12149
  {
@@ -12155,7 +12155,7 @@
12155
12155
  "hashes": [
12156
12156
  {
12157
12157
  "alg": "SHA-256",
12158
- "content": "3b57da681edc240f2e3fcea5c90647ea1ce4e2e82cec3c528764eec9096fe9d0"
12158
+ "content": "a7b988e1b126a1f27137ff65e328e0c5e0e2e753646d4437e3f1baa784141ab5"
12159
12159
  }
12160
12160
  ],
12161
12161
  "pedigree": {
@@ -12182,7 +12182,7 @@
12182
12182
  },
12183
12183
  {
12184
12184
  "name": "nexowatt:provenance:sha256",
12185
- "value": "08c7cda2d76398f60c058fb84cb6468f87468f5001d0d25ea8cbbe65e932949a"
12185
+ "value": "9ae84019d634862eba80d9282dfbe17c55d56b824d73d5ba0e6ce2c6e09e39be"
12186
12186
  },
12187
12187
  {
12188
12188
  "name": "nexowatt:tree-hash-format",
@@ -12193,7 +12193,7 @@
12193
12193
  ],
12194
12194
  "dependencies": [
12195
12195
  {
12196
- "ref": "iobroker.eos-admin@9.0.33",
12196
+ "ref": "iobroker.eos-admin@9.0.35",
12197
12197
  "dependsOn": [
12198
12198
  "@iobroker/adapter-core@3.4.3",
12199
12199
  "@iobroker/plugin-docker@1.2.1",
@@ -12230,11 +12230,11 @@
12230
12230
  "tar-fs@3.1.3",
12231
12231
  "ws@8.22.0",
12232
12232
  "ocpp-rpc@2.2.1",
12233
- "nexowatt:vendored:webserver@3.4.0+nexowatt.9.0.33",
12234
- "nexowatt:integrated:devices@9.0.33",
12235
- "nexowatt:integrated:eebus@9.0.33",
12236
- "nexowatt:integrated:backup@9.0.33",
12237
- "nexowatt:integrated:ocpp@9.0.33"
12233
+ "nexowatt:vendored:webserver@3.4.0+nexowatt.9.0.35",
12234
+ "nexowatt:integrated:devices@9.0.35",
12235
+ "nexowatt:integrated:eebus@9.0.35",
12236
+ "nexowatt:integrated:backup@9.0.35",
12237
+ "nexowatt:integrated:ocpp@9.0.35"
12238
12238
  ]
12239
12239
  },
12240
12240
  {
@@ -14815,7 +14815,7 @@
14815
14815
  "dependsOn": []
14816
14816
  },
14817
14817
  {
14818
- "ref": "nexowatt:vendored:webserver@3.4.0+nexowatt.9.0.33",
14818
+ "ref": "nexowatt:vendored:webserver@3.4.0+nexowatt.9.0.35",
14819
14819
  "dependsOn": [
14820
14820
  "@node-oauth/oauth2-server@5.3.1",
14821
14821
  "jsonwebtoken@9.0.3",
@@ -14823,7 +14823,7 @@
14823
14823
  ]
14824
14824
  },
14825
14825
  {
14826
- "ref": "nexowatt:integrated:devices@9.0.33",
14826
+ "ref": "nexowatt:integrated:devices@9.0.35",
14827
14827
  "dependsOn": [
14828
14828
  "axios@1.20.0",
14829
14829
  "modbus-serial@8.0.25",
@@ -14832,14 +14832,14 @@
14832
14832
  ]
14833
14833
  },
14834
14834
  {
14835
- "ref": "nexowatt:integrated:eebus@9.0.33",
14835
+ "ref": "nexowatt:integrated:eebus@9.0.35",
14836
14836
  "dependsOn": [
14837
14837
  "ws@8.22.0",
14838
14838
  "bonjour-service@1.4.4"
14839
14839
  ]
14840
14840
  },
14841
14841
  {
14842
- "ref": "nexowatt:integrated:backup@9.0.33",
14842
+ "ref": "nexowatt:integrated:backup@9.0.35",
14843
14843
  "dependsOn": [
14844
14844
  "tar-fs@3.1.3",
14845
14845
  "cron-parser@5.10.6",
@@ -14851,7 +14851,7 @@
14851
14851
  ]
14852
14852
  },
14853
14853
  {
14854
- "ref": "nexowatt:integrated:ocpp@9.0.33",
14854
+ "ref": "nexowatt:integrated:ocpp@9.0.35",
14855
14855
  "dependsOn": [
14856
14856
  "ocpp-rpc@2.2.1"
14857
14857
  ]
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "schema": 1,
3
- "version": "9.0.33",
3
+ "version": "9.0.35",
4
4
  "snapshot": {
5
5
  "algorithm": "SHA-256",
6
- "files": 6156,
7
- "sha256": "2456cacac3549f4fd19dbc56a160ff1299f03e8bcaf48aced00dd65a5e16c28c"
6
+ "files": 6279,
7
+ "sha256": "7a1b3f6803c2cd554ea98d731d7d955c3b5ceff4555e8c56256742ce67ff2e72"
8
8
  },
9
9
  "evidence": {
10
10
  "index": {
11
- "path": "docs/reports/unified-9.0.33/raw/INDEX.json",
12
- "sha256": "3a5d2ed28e28d31c6a2ad022acc73faf432d714972e44e0119a5cbac1a20aa75"
11
+ "path": "docs/reports/unified-9.0.35/raw/INDEX.json",
12
+ "sha256": "0c8e7565567763bfffa1f9baa050e7feb19bbe63ad9dca111293510800558ae9"
13
13
  },
14
14
  "runs": [
15
15
  {
@@ -17,18 +17,18 @@
17
17
  "nodeVersion": "v22.23.4",
18
18
  "command": "npm test",
19
19
  "result": {
20
- "tests": 2818,
21
- "pass": 2816,
20
+ "tests": 2895,
21
+ "pass": 2893,
22
22
  "fail": 0,
23
23
  "skipped": 2,
24
24
  "cancelled": 0
25
25
  },
26
26
  "log": {
27
- "path": "docs/reports/unified-9.0.33/raw/node22-tests-final.log",
28
- "sha256": "9fff0172129db7f96e03ba15a592ef6db05846a882ead973e1a4af2efe562d19"
27
+ "path": "docs/reports/unified-9.0.35/raw/node22-tests-final.log",
28
+ "sha256": "04df7ca8cb35db7f61c07383b087c16539efa6b4b43a6ca5b48a9cd7bf873f03"
29
29
  },
30
30
  "runtime": {
31
- "path": "docs/reports/unified-9.0.33/raw/node22-version.log",
31
+ "path": "docs/reports/unified-9.0.35/raw/node22-version.log",
32
32
  "sha256": "2266957ed9a639bd7264d714bfa798a961510bf2e50695c668ab8fc0c3f4e906"
33
33
  }
34
34
  },
@@ -37,18 +37,18 @@
37
37
  "nodeVersion": "v24.22.3",
38
38
  "command": "npm test",
39
39
  "result": {
40
- "tests": 2818,
41
- "pass": 2816,
40
+ "tests": 2895,
41
+ "pass": 2893,
42
42
  "fail": 0,
43
43
  "skipped": 2,
44
44
  "cancelled": 0
45
45
  },
46
46
  "log": {
47
- "path": "docs/reports/unified-9.0.33/raw/node24-tests-final.log",
48
- "sha256": "216fcd798241431af4d7f41299f17543ea2df3cd4df09bd0e9b25acd12245d46"
47
+ "path": "docs/reports/unified-9.0.35/raw/node24-tests-final.log",
48
+ "sha256": "874ed94e01a32b1be68ecceb45c3ce370e8cd98f2ae2ef7a6aefd5fcc300a64d"
49
49
  },
50
50
  "runtime": {
51
- "path": "docs/reports/unified-9.0.33/raw/node24-version.log",
51
+ "path": "docs/reports/unified-9.0.35/raw/node24-version.log",
52
52
  "sha256": "4409d3bfa08b82f385bd424eeda65fc63b756129f0e89e82df77f1fecafccc14"
53
53
  }
54
54
  }
@@ -5,7 +5,7 @@ const path = require('node:path');
5
5
  const crypto = require('node:crypto');
6
6
  const root = path.resolve(__dirname, '..');
7
7
  const manifestPath = path.join(root, 'release-manifests/unified/files.json');
8
- const roots = ['docs/start/START_HIER_9.0.33.md', 'docs/reports/unified-9.0.33', 'nexowatt-eos-admin-repository-entry-v9-0-33.json', 'docs/start/START_HIER_9.0.32.md', 'docs/reports/unified-9.0.32', 'nexowatt-eos-admin-repository-entry-v9-0-32.json', 'docs/start/START_HIER_9.0.31.md', 'docs/reports/unified-9.0.31', 'nexowatt-eos-admin-repository-entry-v9-0-31.json', 'docs/start/START_HIER_9.0.30.md', 'docs/reports/unified-9.0.30', 'nexowatt-eos-admin-repository-entry-v9-0-30.json', 'docs/start/START_HIER_9.0.29.md', 'docs/reports/unified-9.0.29', 'nexowatt-eos-admin-repository-entry-v9-0-29.json', 'docs/changelog-archive.json', 'docs/start/START_HIER_9.0.28.md', 'docs/reports/unified-9.0.28', 'nexowatt-eos-admin-repository-entry-v9-0-28.json', 'docs/README.md', 'docs/DOKUMENTATION_9.0.27.md', 'docs/UMSORTIERTE_DATEIEN.tsv', 'docs/archive', 'docs/start', 'docs/start/START_HIER_9.0.27.md', 'docs/reports/unified-9.0.27', 'nexowatt-eos-admin-repository-entry-v9-0-27.json', 'tsconfig.eos-repository-tools.json', 'tools/nexowatt-generate-eos-admin-repo-entry.cjs', 'tools/nexowatt-patch-repo.cjs', 'tools/nexowatt-repair-eos-admin-update.cjs', 'docs/NEXOWATT_EOS_UI_V28_UPDATE_FIX_DE.md', 'tsconfig.eos-backup-admin.json', 'eslint.backup-admin.config.mjs', 'tools/eos-lifecycle-benchmark.cjs', 'docs/start/START_HIER_9.0.26.md', 'docs/reports/unified-9.0.26', 'nexowatt-eos-admin-repository-entry-v9-0-26.json', 'tsconfig.eos-runtime-control.json', 'docs/start/START_HIER_9.0.25.md', 'docs/reports/unified-9.0.25', 'nexowatt-eos-admin-repository-entry-v9-0-25.json', 'reports/security/KIOSK_BACKEND_924.md', 'tsconfig.eos-ocpp-admin.json', 'eslint.ocpp-admin.config.mjs', 'docs/start/START_HIER_9.0.24.md', 'docs/reports/unified-9.0.24', 'nexowatt-eos-admin-repository-entry-v9-0-24.json', 'docs/MODULE_PROCESS_RUNTIME.md', 'tsconfig.eos-module-process.json', 'tsconfig.ui-process.json', 'docs/start/START_HIER_9.0.23.md', 'docs/reports/unified-9.0.23', 'nexowatt-eos-admin-repository-entry-v9-0-23.json', 'ui/tsconfig.ocpp-limit-feedback.json', 'ui/eslint.ocpp-limit-feedback.config.mjs', 'ui/tsconfig.ocpp-auto-discovery.json', 'ui/eslint.ocpp-auto-discovery.config.mjs', 'tsconfig.eos-runtime-health.json', 'eslint.runtime-health.config.mjs', 'ui/tsconfig.flow-measurement.json', 'ui/eslint.flow-measurement.config.mjs', 'ui/tsconfig.postgres-history.json', 'ui/eslint.postgres-history.config.mjs', 'ui/tsconfig.ems-control-values.json', 'ui/eslint.ems-control-values.config.mjs', 'docs/QA-9.0.22-INDEPENDENT.md', 'docs/9.0.22', 'nexowatt-eos-admin-repository-entry-v9-0-22.json', 'package.json', 'package-lock.json', 'io-package.json', '.npmrc', '.gitignore', '.gitattributes', 'LICENSE', 'LICENSE-NEXOWATT.md',
8
+ const roots = ['docs/start/START_HIER_9.0.35.md', 'docs/reports/unified-9.0.35', 'nexowatt-eos-admin-repository-entry-v9-0-35.json', 'docs/start/START_HIER_9.0.34.md', 'docs/reports/unified-9.0.34', 'nexowatt-eos-admin-repository-entry-v9-0-34.json', 'docs/start/START_HIER_9.0.33.md', 'docs/reports/unified-9.0.33', 'nexowatt-eos-admin-repository-entry-v9-0-33.json', 'docs/start/START_HIER_9.0.32.md', 'docs/reports/unified-9.0.32', 'nexowatt-eos-admin-repository-entry-v9-0-32.json', 'docs/start/START_HIER_9.0.31.md', 'docs/reports/unified-9.0.31', 'nexowatt-eos-admin-repository-entry-v9-0-31.json', 'docs/start/START_HIER_9.0.30.md', 'docs/reports/unified-9.0.30', 'nexowatt-eos-admin-repository-entry-v9-0-30.json', 'docs/start/START_HIER_9.0.29.md', 'docs/reports/unified-9.0.29', 'nexowatt-eos-admin-repository-entry-v9-0-29.json', 'docs/changelog-archive.json', 'docs/start/START_HIER_9.0.28.md', 'docs/reports/unified-9.0.28', 'nexowatt-eos-admin-repository-entry-v9-0-28.json', 'docs/README.md', 'docs/DOKUMENTATION_9.0.27.md', 'docs/UMSORTIERTE_DATEIEN.tsv', 'docs/archive', 'docs/start', 'docs/start/START_HIER_9.0.27.md', 'docs/reports/unified-9.0.27', 'nexowatt-eos-admin-repository-entry-v9-0-27.json', 'tsconfig.eos-repository-tools.json', 'tools/nexowatt-generate-eos-admin-repo-entry.cjs', 'tools/nexowatt-patch-repo.cjs', 'tools/nexowatt-repair-eos-admin-update.cjs', 'docs/NEXOWATT_EOS_UI_V28_UPDATE_FIX_DE.md', 'tsconfig.eos-backup-admin.json', 'eslint.backup-admin.config.mjs', 'tools/eos-lifecycle-benchmark.cjs', 'docs/start/START_HIER_9.0.26.md', 'docs/reports/unified-9.0.26', 'nexowatt-eos-admin-repository-entry-v9-0-26.json', 'tsconfig.eos-runtime-control.json', 'docs/start/START_HIER_9.0.25.md', 'docs/reports/unified-9.0.25', 'nexowatt-eos-admin-repository-entry-v9-0-25.json', 'reports/security/KIOSK_BACKEND_924.md', 'tsconfig.eos-ocpp-admin.json', 'eslint.ocpp-admin.config.mjs', 'docs/start/START_HIER_9.0.24.md', 'docs/reports/unified-9.0.24', 'nexowatt-eos-admin-repository-entry-v9-0-24.json', 'docs/MODULE_PROCESS_RUNTIME.md', 'tsconfig.eos-module-process.json', 'tsconfig.ui-process.json', 'docs/start/START_HIER_9.0.23.md', 'docs/reports/unified-9.0.23', 'nexowatt-eos-admin-repository-entry-v9-0-23.json', 'ui/tsconfig.ocpp-limit-feedback.json', 'ui/eslint.ocpp-limit-feedback.config.mjs', 'ui/tsconfig.ocpp-auto-discovery.json', 'ui/eslint.ocpp-auto-discovery.config.mjs', 'tsconfig.eos-runtime-health.json', 'eslint.runtime-health.config.mjs', 'ui/tsconfig.flow-measurement.json', 'ui/eslint.flow-measurement.config.mjs', 'ui/tsconfig.postgres-history.json', 'ui/eslint.postgres-history.config.mjs', 'ui/tsconfig.ems-control-values.json', 'ui/eslint.ems-control-values.config.mjs', 'docs/QA-9.0.22-INDEPENDENT.md', 'docs/9.0.22', 'nexowatt-eos-admin-repository-entry-v9-0-22.json', 'package.json', 'package-lock.json', 'io-package.json', '.npmrc', '.gitignore', '.gitattributes', 'LICENSE', 'LICENSE-NEXOWATT.md',
9
9
  'docs/start/START_HIER_9.0.1.md', 'docs/start/START_HIER_9.0.2.md', 'docs/start/START_HIER_9.0.3.md', 'docs/start/START_HIER_9.0.4.md', 'docs/start/START_HIER_9.0.5.md', 'docs/start/START_HIER_9.0.6.md', 'docs/start/START_HIER_9.0.7.md', 'docs/start/START_HIER_9.0.8.md', 'docs/start/START_HIER_9.0.9.md', 'docs/start/START_HIER_9.0.10.md', 'docs/start/START_HIER_9.0.11.md', 'docs/start/START_HIER_9.0.12.md', 'docs/start/START_HIER_9.0.13.md', 'docs/start/START_HIER_9.0.14.md', 'docs/start/START_HIER_9.0.15.md', 'docs/start/START_HIER_9.0.16.md', 'docs/start/START_HIER_9.0.17.md', 'docs/start/START_HIER_9.0.18.md', 'docs/start/START_HIER_9.0.19.md', 'docs/start/START_HIER_9.0.20.md','docs/start/START_HIER_9.0.21.md', 'docs/start/START_HIER_9.0.22.md', 'THIRD-PARTY-NOTICES.md', 'THIRD_PARTY_NOTICES.md', 'NEXOWATT_PROPRIETARY_LICENSE.md', 'README.md', 'NEXOWATT_EOS_BUILD_INFO.json',
10
10
  'tasks.mts', 'tsconfig.eos-customer-updates.json', 'ui/tsconfig.eos-updates-ui.json', 'ui/eslint.eos-updates-ui.config.mjs', 'ui/eslint.influx-history-runtime.config.mjs', 'ui/eslint.history-setup-ui.config.mjs', 'ui/tsconfig.influx-history-runtime.json', 'ui/eslint.influx-security.config.mjs', 'ui/tsconfig.influx-security.json', 'ui/eslint.influx-direct.config.mjs', 'ui/tsconfig.influx-direct.json', 'tsconfig.eos-device-ems.json', 'ui/tsconfig.customer-tariff.json', 'ui/tsconfig.customer-tariff-ui.json', 'ui/eslint.customer-tariff.config.mjs', 'ui/eslint.customer-tariff-ui.config.mjs', 'ui/tsconfig.installer-lifecycle.json', 'ui/tsconfig.live-display-ui.json', 'ui/eslint.live-display-ui.config.mjs', 'ui/tsconfig.tariff-display-ui.json', 'ui/eslint.tariff-display-ui.config.mjs', 'ui/tsconfig.storagefarm-dispatch-ui.json', 'ui/eslint.storagefarm-dispatch-ui.config.mjs', 'ui/tsconfig.storagefarm-summary-ui.json', 'ui/eslint.storagefarm-summary-ui.config.mjs', 'ui/tsconfig.power-measurements.json', 'ui/eslint.power-measurements.config.mjs', 'ui/eslint.installer-lifecycle.config.mjs', 'tsconfig.build.json', 'eslint.config.mjs', 'eslint.unified.config.mjs', '.github/workflows/test-and-release.yml',
11
11
  'AGENTS.md', 'modules', 'test', 'src-admin/test', 'src', 'build', 'admin', 'adminWww', 'public', 'packages/eos-license-client', 'deploy',
@@ -0,0 +1,164 @@
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/ems/consumers/ovum-mira.ts
10
+ * Quell-Hash: sha256:17cf0153c25d5b054aeab130c8f881a243a8649826396e999a0e5a1076f78640
11
+ * Erzeugung: npm run sync:ts-runtime-executables
12
+ *
13
+ * Zweck:
14
+ * Diese JavaScript-Datei ist das ausführbare Build-Artefakt für ems/consumers/ovum-mira.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
+ 'use strict';
24
+
25
+ const { withActuatorShadowContext, priorityForOwner } = require('../services/actuator-shadow-arbiter');
26
+ const { liveSafetyEnvelope, evaluateFlexibleLoadRequest, commitFlexibleLoadDecision } = require('../services/safety-envelope');
27
+
28
+ const MAX_READING_AGE_MS = 30000;
29
+
30
+ function miraBinding(row, powerId, bindings, slot) {
31
+ const ending = '.aliases.v1.ctrl.pvStatus';
32
+ if (typeof row.miraPvStatusId !== 'string' || !row.miraPvStatusId.endsWith(ending)) return null;
33
+ const base = row.miraPvStatusId.slice(0, -ending.length);
34
+ if (!base || typeof powerId !== 'string' || !powerId.endsWith('.aliases.v1.r.power')
35
+ || row.miraPowerTargetId !== base + '.aliases.v1.ctrl.pvPowerTargetW'
36
+ || row.miraPvStatusReadId !== base + '.aliases.v1.r.pvStatus'
37
+ || row.miraPowerTargetReadId !== base + '.aliases.v1.r.pvPowerTargetW') return null;
38
+ const hsm = bindings?.[base];
39
+ const wpmBase = powerId.slice(0, -'.aliases.v1.r.power'.length);
40
+ const wpm = bindings?.[wpmBase];
41
+ if (row._eosDevice?.baseId !== base || row._eosDevice?.mode !== 'mira'
42
+ || hsm?.deviceTemplateId !== 'heat.ovum.mira.hsm' || hsm?.activationRequested !== true
43
+ || !Number.isSafeInteger(hsm.miraCommissionedMaxW) || hsm.miraCommissionedMaxW <= 0
44
+ || hsm.miraCommissionedMaxW > 10000000 || wpm?.target !== 'consumer' + slot + 'Power') return null;
45
+ return { base, maxW: hsm.miraCommissionedMaxW, mode: row.miraPvStatusId, watts: row.miraPowerTargetId,
46
+ modeRead: row.miraPvStatusReadId, wattsRead: row.miraPowerTargetReadId };
47
+ }
48
+
49
+ async function registerMiraDevice(dp, d) {
50
+ if (!dp || !d.miraBinding || d.miraKeys || d.miraConflict || !d.miraSourcesConfirmed || !d.enabled) return;
51
+ const keys = {};
52
+ for (const [role, direction] of [['mode','out'], ['watts','out'], ['modeRead','in'], ['wattsRead','in']]) {
53
+ const key = 'th.' + d.id + '.mira.' + role;
54
+ await dp.upsert({ key, objectId: d.miraBinding[role], direction, unit: role.startsWith('watts') ? 'W' : '',
55
+ dataType: 'number', deadband: 0 });
56
+ keys[role] = key;
57
+ }
58
+ d.miraKeys = keys;
59
+ d.miraCommands = {};
60
+ }
61
+
62
+ // Read the original controller sample. An outgoing state or a device heartbeat is not register feedback.
63
+ function miraSample(dp, key, now) {
64
+ const ts = key && dp.getVerifiedMeasurementTimestampMs(key, now);
65
+ if (!Number.isFinite(ts) || ts <= 0 || ts > now || now - ts > MAX_READING_AGE_MS) return null;
66
+ const value = dp.getNumber(key, null);
67
+ return typeof value === 'number' && Number.isFinite(value) ? { value, ts } : null;
68
+ }
69
+
70
+ function currentRegister(d, role, sample) {
71
+ const last = d.miraCommands[role];
72
+ return sample && (!last || sample.ts >= last.ts) ? sample.value : null;
73
+ }
74
+
75
+ // One asynchronous device command per tick. Repeated writes use the existing bounded actuator contract.
76
+ async function requestRegister(thermal, d, role, value, sample, now) {
77
+ const id = 'thermal:' + d.id + ':mira:' + role;
78
+ const contract = thermal._actuatorContract;
79
+ const cfg = thermal._contractCfg(d, true);
80
+ const decision = contract.prepare(id, value, now, cfg);
81
+ const actual = currentRegister(d, role, sample);
82
+ const last = d.miraCommands[role];
83
+ if (actual === value && (!last || value === last.value)) return contract.confirmFromReadback(id, value, actual, true, now);
84
+ if (!decision.allowed) return contract.result(id, now);
85
+ const key = d.miraKeys[role];
86
+ const owner = 'thermal.' + d.id;
87
+ const result = await withActuatorShadowContext(thermal.adapter, {
88
+ owner, module: 'thermalControl', priority: priorityForOwner(owner), leaseMs: 20000,
89
+ enforceAuthority: true, releaseAuthority: role === 'mode' && value === 0, kind: 'thermal-mira',
90
+ }, () => thermal.dp.writeNumber(key, value, false));
91
+ // Includes uncertain transport failures: a late pre-command sample must never authorize boost.
92
+ d.miraCommands[role] = { value, ts: now };
93
+ return contract.complete(id, value, result === true, null, actual, now, cfg);
94
+ }
95
+
96
+ function miraSafetyGrant(thermal, d, requestedW, measuredW, now) {
97
+ const adapter = thermal.adapter;
98
+ // The productive EMS always supplies a generation and independent physical NVP measurements.
99
+ if (!adapter?._emsSafetyCycle || measuredW === null || requestedW <= 0) return null;
100
+ const envelope = liveSafetyEnvelope(adapter, thermal.dp, { now, generation: adapter._emsSafetyCycle.generation });
101
+ if (!envelope || !envelope.valid) return null;
102
+ return evaluateFlexibleLoadRequest(adapter, {
103
+ key: 'thermal:' + d.id, app: 'thermal', deviceKey: d.id, requestedW, currentActualW: measuredW,
104
+ currentActualFresh: true, phaseCount: Math.max(1, Math.min(3, Number(envelope.phase?.requiredCount) || 3)),
105
+ voltageV: Number(envelope.phase?.voltageV) || 230, deviceCapW: d.maxPowerW, now,
106
+ });
107
+ }
108
+
109
+ async function regulateMira(thermal, d, options) {
110
+ const now = Date.now();
111
+ const measured = miraSample(thermal.dp, d.pWKey, now);
112
+ const measuredW = measured && measured.value >= 0 ? measured.value : null;
113
+ const result = { applied: false, targetW: 0, usedW: measuredW ?? 0, owned: false, status: 'mira_not_commissioned' };
114
+ if (!d.miraKeys || !d.miraSourcesConfirmed || !d.enabled || d.miraConflict) return result;
115
+ // During manual operation relinquish only a boost that this worker had actually requested.
116
+ if (options.manual && !d.miraBoostIssued) return { ...result, status: 'mira_manual' };
117
+ const mode = miraSample(thermal.dp, d.miraKeys.modeRead, now);
118
+ const watts = miraSample(thermal.dp, d.miraKeys.wattsRead, now);
119
+ const actualMode = currentRegister(d, 'mode', mode);
120
+ const actualWatts = currentRegister(d, 'watts', watts);
121
+ const hasFeedback = !!mode && [0, 1, 2].includes(mode.value) && !!watts && Number.isInteger(watts.value) && watts.value >= 0;
122
+ const requestedW = Math.floor(Math.max(0, Math.min(d.maxPowerW, d.miraBinding.maxW, options.requestedW)));
123
+ const grant = hasFeedback && !options.manual && !thermal._isPara14aActive()
124
+ ? miraSafetyGrant(thermal, d, requestedW, measuredW, now) : null;
125
+ const allowedW = Math.max(0, Math.floor(Math.min(requestedW, grant?.allowedW || 0)));
126
+ const lastWatts = d.miraCommands.watts;
127
+ const lastMode = d.miraCommands.mode;
128
+ const boostPossible = actualMode === 1 || (actualMode === null && lastMode?.value === 1);
129
+ const needsReduction = boostPossible && Math.max(watts?.value || 0, lastWatts?.value || 0) > allowedW;
130
+ let r;
131
+ if (!allowedW || needsReduction) {
132
+ // 0 returns temperature control to MIRA. It neither stops the compressor nor demonstrates a load reduction.
133
+ r = await requestRegister(thermal, d, 'mode', 0, mode, now);
134
+ if (r.confirmed) d.miraBoostIssued = false;
135
+ result.status = r.confirmed ? 'mira_local_control' : 'mira_neutral_' + r.status;
136
+ if (requestedW > 0 && (!hasFeedback || measuredW === null)) result.status = 'mira_missing_feedback_' + result.status;
137
+ } else {
138
+ // A smaller confirmed target may activate while the PV grant is increasing. Never enable a target
139
+ // above the current grant. Updating an already active target still requires fresh HSM readback.
140
+ const staged = actualMode !== 1 && lastWatts?.value > 0 && lastWatts.value <= allowedW;
141
+ const desired = staged ? lastWatts.value : allowedW;
142
+ result.targetW = desired;
143
+ if (actualWatts !== desired || (lastWatts && lastWatts.value !== desired)) {
144
+ r = await requestRegister(thermal, d, 'watts', desired, watts, now);
145
+ result.status = 'mira_target_' + r.status;
146
+ } else {
147
+ d.miraBoostIssued = true;
148
+ r = await requestRegister(thermal, d, 'mode', 1, mode, now);
149
+ result.owned = r.confirmed && !options.boost;
150
+ result.applied = r.confirmed;
151
+ result.status = r.confirmed ? 'mira_pv_readback' : 'mira_pv_' + r.status;
152
+ }
153
+ // Reserve the permitted demand while the two register writes are in flight. Neither the grant
154
+ // nor the MIRA register echoes is promoted to a physical reduction in accepted-power-effects.
155
+ commitFlexibleLoadDecision(thermal.adapter, grant, true);
156
+ result.usedW = Math.max(result.usedW, desired);
157
+ }
158
+ result.accepted = r.accepted;
159
+ result.applied = result.applied || (allowedW === 0 && r.confirmed);
160
+ await thermal._publishThermalContract(d, 'thermal.' + d.id, r);
161
+ return result;
162
+ }
163
+
164
+ module.exports = { miraBinding, registerMiraDevice, regulateMira, miraSample };
@@ -7,7 +7,7 @@
7
7
  * AUTO-GENERATED RUNTIME FILE - NICHT MANUELL BEARBEITEN.
8
8
  *
9
9
  * Quelle: src-ts/runtime-executables/ems/modules/para14a.ts
10
- * Quell-Hash: sha256:331cc29ad5328e9145c5b6c73ba2951477ad95abfe360e9ce612d3329e32ae81
10
+ * Quell-Hash: sha256:9f7a9f836cb28da9b5419fc822da6b223f48f6c74421539f1448106af11998e1
11
11
  * Erzeugung: npm run sync:ts-runtime-executables
12
12
  *
13
13
  * Zweck:
@@ -1031,7 +1031,8 @@ class Para14aModule extends BaseModule {
1031
1031
  const thermalCfg = root.thermal && typeof root.thermal === 'object' ? root.thermal : {};
1032
1032
  const rows = Array.isArray(thermalCfg.devices) ? thermalCfg.devices : [];
1033
1033
  rows.forEach((row, index) => {
1034
- if (!row || row.enabled !== true) return;
1034
+ // The MIRA PV request delegates control back to its local heat curve and cannot promise a hard cap.
1035
+ if (!row || row.enabled !== true || row.ovumMira === true) return;
1035
1036
  const slot = safeSlot(row.slot ?? row.consumerSlot, index + 1);
1036
1037
  const slotCfg = flowConsumers[slot - 1] && typeof flowConsumers[slot - 1] === 'object'
1037
1038
  ? flowConsumers[slot - 1]
@@ -7,7 +7,7 @@
7
7
  * AUTO-GENERATED RUNTIME FILE - NICHT MANUELL BEARBEITEN.
8
8
  *
9
9
  * Quelle: src-ts/runtime-executables/ems/modules/stage-a-diagnostics.ts
10
- * Quell-Hash: sha256:09812af8c7c5edfbda6e5eff4e228be40351d19cf95efb39d2a4b7cc0e1c1ae0
10
+ * Quell-Hash: sha256:0ca3286ca23dbb9360f7cde905e26b38e36ddab99221175fffb4d6d9ad36e544
11
11
  * Erzeugung: npm run sync:ts-runtime-executables
12
12
  *
13
13
  * Zweck:
@@ -47,7 +47,7 @@ const ACTUATOR_FIELDS = new Set([
47
47
  'e3dcPowerLimitsUsedObjectId', 'e3dcMaxChargePowerObjectId',
48
48
  'e3dcMaxDischargePowerObjectId', 'setSignedPowerId',
49
49
  'setChargePowerId', 'setDischargePowerId', 'switchWriteId', 'setpointWriteId',
50
- 'sgReadyAWriteId', 'sgReadyBWriteId', 'sgReady1WriteId', 'sgReady2WriteId',
50
+ 'sgReadyAWriteId', 'sgReadyBWriteId', 'sgReady1WriteId', 'sgReady2WriteId', 'miraPvStatusId', 'miraPowerTargetId',
51
51
  'writeId', 'writeObjectId', 'writeDp', 'dpWriteId',
52
52
  'stageWriteId', 'setpointId', 'outputObjectId', 'commandObjectId', 'commandStateId',
53
53
  'enableId', 'startWriteId', 'stopWriteId', 'runWriteId', 'startObjectId',
@@ -89,6 +89,8 @@ function ownerFromPath(path, row) {
89
89
  return `storageFarm.${rowId || raw}`;
90
90
  if (lower.includes('storage'))
91
91
  return `storage.${rowId || raw}`;
92
+ if (lower.includes('thermal') && row?.ovumMira === true && Number.isInteger(row.slot))
93
+ return `thermal.c${row.slot}`;
92
94
  if (lower.includes('thermal'))
93
95
  return `thermal.${rowId || raw}`;
94
96
  if (lower.includes('heatingrod'))