iobroker.eos-admin 9.0.31 → 9.0.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (242) hide show
  1. package/NEXOWATT_EOS_BUILD_INFO.json +10 -11
  2. package/README.md +7 -7
  3. package/adminWww/.vite/manifest.json +233 -224
  4. package/adminWww/NEXOWATT_EOS_FRONTEND_MANIFEST.json +13897 -13887
  5. package/adminWww/assets/AccessTime-CuR73YC3.js +1 -0
  6. package/adminWww/assets/{AdapterUpdateDialog-UhaQHyF1.js → AdapterUpdateDialog-5L75o18m.js} +5 -5
  7. package/adminWww/assets/{Adapters-Di3sM_ky.js → Adapters-FcghjF7E.js} +5 -5
  8. package/adminWww/assets/ConfigManager-BnHarBfH.js +1 -0
  9. package/adminWww/assets/Enums-BjLbLLQL.js +92 -0
  10. package/adminWww/assets/Fields-DDE1hVOa.js +1 -0
  11. package/adminWww/assets/Files-CDjnR4q6.js +1 -0
  12. package/adminWww/assets/{Hosts-DXjTE0pX.js → Hosts-CJKQaNrD.js} +6 -6
  13. package/adminWww/assets/Instances-DZNl369k.js +4 -0
  14. package/adminWww/assets/Intro-CjAmMGDB.js +2 -0
  15. package/adminWww/assets/KeyboardArrowRight-ifvmV1ZL.js +1 -0
  16. package/adminWww/assets/{Logs-DTo6XJF_.js → Logs-rUAV7SwM.js} +2 -2
  17. package/adminWww/assets/MoreHoriz-CS7nODK8.js +1 -0
  18. package/adminWww/assets/{Objects-DyEBMDK6.js → Objects-CqOH6rT_.js} +4 -4
  19. package/adminWww/assets/Overview-BOtXqsMy.js +3 -0
  20. package/adminWww/assets/Pageview-wzrLQZ-j.js +1 -0
  21. package/adminWww/assets/PersonOff-YtHcY0sV.js +1 -0
  22. package/adminWww/assets/Star-D8VNXawT.js +1 -0
  23. package/adminWww/assets/State-C8ncThop.js +1 -0
  24. package/adminWww/assets/UsedResources-lUYJqy4F.js +2 -0
  25. package/adminWww/assets/Users-CK1Cax82.js +1 -0
  26. package/adminWww/assets/ViewCompact-D7bHgn99.js +1 -0
  27. package/adminWww/assets/ViewSidebar-CjClbCI5.js +1 -0
  28. package/adminWww/assets/WifiTethering-DJ9VO12W.js +1 -0
  29. package/adminWww/assets/{bootstrap-BQ4OzwbT.js → bootstrap-CC0Qr-kr.js} +25 -25
  30. package/adminWww/assets/date-fns-BtR4dG_j.js +1 -0
  31. package/adminWww/assets/en-US-BjjaEI6N.js +1 -0
  32. package/adminWww/assets/{hostInit-CGSSNegd.js → hostInit-DqGL6nY8.js} +1 -1
  33. package/adminWww/assets/icons-material-07rWS63O.js +1 -0
  34. package/adminWww/assets/{index-C4CShixx.js → index-BhhkToP2.js} +2 -2
  35. package/adminWww/assets/{installSVGRenderer-DeaOAT3W.js → installSVGRenderer-B4-7lSQZ.js} +1 -1
  36. package/adminWww/assets/isSameWeek-WMSJR5Qs.js +1 -0
  37. package/adminWww/assets/locale-DN6Bdkdt.js +1 -0
  38. package/adminWww/assets/{mf-entry-bootstrap-0-c5733c2d.js → mf-entry-bootstrap-0-1afd2287.js} +2 -2
  39. package/adminWww/assets/sentry-CPzCHrwe.js +1 -0
  40. package/adminWww/assets/setYear-DDSuW45e.js +1 -0
  41. package/adminWww/index.html +23 -23
  42. package/adminWww/mf-manifest.json +1 -1
  43. package/adminWww/mf-stats.json +1 -1
  44. package/adminWww/{remoteEntry-eos-9.0.31.js → remoteEntry-eos-9.0.34.js} +1 -1
  45. package/adminWww/remoteEntry.js +1 -1
  46. package/build/lib/eosDeviceEmsPlan.js +285 -9
  47. package/build/lib/eosDeviceEmsPlan.js.map +1 -1
  48. package/build/lib/eosDeviceEmsService.js +29 -2
  49. package/build/lib/eosDeviceEmsService.js.map +1 -1
  50. package/build/lib/eosUiProcess.js +31 -14
  51. package/build/lib/eosUiProcess.js.map +1 -1
  52. package/build/lib/eosUiProcessRpc.js +3 -1
  53. package/build/lib/eosUiProcessRpc.js.map +1 -1
  54. package/build/lib/eosUiProcessWorker.js +6 -4
  55. package/build/lib/eosUiProcessWorker.js.map +1 -1
  56. package/docs/README.md +3 -2
  57. package/docs/reports/unified-9.0.32/PRUEFBERICHT.md +34 -0
  58. package/docs/reports/unified-9.0.32/PRUEFERGEBNISSE.json +112 -0
  59. package/docs/reports/unified-9.0.32/raw/INDEX.json +102 -0
  60. package/docs/reports/unified-9.0.32/raw/backend.log +5 -0
  61. package/docs/reports/unified-9.0.32/raw/browser-cadence-headless.json +63 -0
  62. package/docs/reports/unified-9.0.32/raw/browser-flow-headless.json +328 -0
  63. package/docs/reports/unified-9.0.32/raw/focused.log +67 -0
  64. package/docs/reports/unified-9.0.32/raw/frontend.log +151 -0
  65. package/docs/reports/unified-9.0.32/raw/installer.log +26 -0
  66. package/docs/reports/unified-9.0.32/raw/lint.log +5 -0
  67. package/docs/reports/unified-9.0.32/raw/modules.log +5 -0
  68. package/docs/reports/unified-9.0.32/raw/node22-tests-final.log +17212 -0
  69. package/docs/reports/unified-9.0.32/raw/node22-version.log +1 -0
  70. package/docs/reports/unified-9.0.32/raw/node24-tests-final.log +2869 -0
  71. package/docs/reports/unified-9.0.32/raw/node24-version.log +1 -0
  72. package/docs/reports/unified-9.0.32/raw/sbom.log +2 -0
  73. package/docs/reports/unified-9.0.32/raw/typecheck.log +5 -0
  74. package/docs/reports/unified-9.0.32/raw/ui-runtime.log +8 -0
  75. package/docs/reports/unified-9.0.32/raw/version-parity-928-929.log +6 -0
  76. package/docs/reports/unified-9.0.33/PRUEFBERICHT.md +60 -0
  77. package/docs/reports/unified-9.0.33/PRUEFERGEBNISSE.json +112 -0
  78. package/docs/reports/unified-9.0.33/raw/INDEX.json +272 -0
  79. package/docs/reports/unified-9.0.33/raw/backend.log +5 -0
  80. package/docs/reports/unified-9.0.33/raw/browser/UI_REVIEW.json +147 -0
  81. package/docs/reports/unified-9.0.33/raw/browser/admin-bundle.log +136 -0
  82. package/docs/reports/unified-9.0.33/raw/browser/eos-backup-settings-browser.log +67 -0
  83. package/docs/reports/unified-9.0.33/raw/browser/eos-customer-tariff-startup-browser.log +43 -0
  84. package/docs/reports/unified-9.0.33/raw/browser/eos-energyflow-browser-smoke.log +438 -0
  85. package/docs/reports/unified-9.0.33/raw/browser/eos-energyflow-cadence-browser-10s.log +108 -0
  86. package/docs/reports/unified-9.0.33/raw/browser/eos-evcs-delete-browser.log +1 -0
  87. package/docs/reports/unified-9.0.33/raw/browser/eos-history-setup-browser-smoke.log +49 -0
  88. package/docs/reports/unified-9.0.33/raw/browser/eos-kiosk-browser.log +59 -0
  89. package/docs/reports/unified-9.0.33/raw/browser/eos-ocpp-admin-browser.log +71 -0
  90. package/docs/reports/unified-9.0.33/raw/browser/eos-ocpp-installer-discovery-browser.log +11 -0
  91. package/docs/reports/unified-9.0.33/raw/browser/eos-pwa-trust-browser.log +35 -0
  92. package/docs/reports/unified-9.0.33/raw/browser/eos-runtime-controls-browser.log +78 -0
  93. package/docs/reports/unified-9.0.33/raw/browser/eos-runtime-health-browser.log +49 -0
  94. package/docs/reports/unified-9.0.33/raw/browser/eos-runtime-login-browser.log +34 -0
  95. package/docs/reports/unified-9.0.33/raw/browser/smarthome.log +46 -0
  96. package/docs/reports/unified-9.0.33/raw/browser-ten-seconds.json +108 -0
  97. package/docs/reports/unified-9.0.33/raw/changed-test-coverage.json +116 -0
  98. package/docs/reports/unified-9.0.33/raw/connected-control-node22.jsonl +42 -0
  99. package/docs/reports/unified-9.0.33/raw/connected-control-summary-node22.json +103 -0
  100. package/docs/reports/unified-9.0.33/raw/connected-control-summary.json +103 -0
  101. package/docs/reports/unified-9.0.33/raw/connected-control.jsonl +42 -0
  102. package/docs/reports/unified-9.0.33/raw/display-ui-node22.log +162 -0
  103. package/docs/reports/unified-9.0.33/raw/display-ui.log +35 -0
  104. package/docs/reports/unified-9.0.33/raw/frontend.log +151 -0
  105. package/docs/reports/unified-9.0.33/raw/git-delivery-fix.log +10 -0
  106. package/docs/reports/unified-9.0.33/raw/installer.log +26 -0
  107. package/docs/reports/unified-9.0.33/raw/license-central-node24.log +173 -0
  108. package/docs/reports/unified-9.0.33/raw/lint-final.log +45 -0
  109. package/docs/reports/unified-9.0.33/raw/modules.log +5 -0
  110. package/docs/reports/unified-9.0.33/raw/node22-npm-version.log +1 -0
  111. package/docs/reports/unified-9.0.33/raw/node22-tests-final.log +17646 -0
  112. package/docs/reports/unified-9.0.33/raw/node22-version.log +1 -0
  113. package/docs/reports/unified-9.0.33/raw/node24-npm-version.log +1 -0
  114. package/docs/reports/unified-9.0.33/raw/node24-tests-final.log +2941 -0
  115. package/docs/reports/unified-9.0.33/raw/node24-version.log +1 -0
  116. package/docs/reports/unified-9.0.33/raw/process-final-node22.log +220 -0
  117. package/docs/reports/unified-9.0.33/raw/process-final-node24.log +110 -0
  118. package/docs/reports/unified-9.0.33/raw/ram-picker.jsonl +12 -0
  119. package/docs/reports/unified-9.0.33/raw/reg-combined-node22.log +622 -0
  120. package/docs/reports/unified-9.0.33/raw/reg-combined.log +108 -0
  121. package/docs/reports/unified-9.0.33/raw/sbom-final.log +8 -0
  122. package/docs/reports/unified-9.0.33/raw/tariff-update-all-final-node22.log +1185 -0
  123. package/docs/reports/unified-9.0.33/raw/typecheck-final.log +5 -0
  124. package/docs/reports/unified-9.0.33/raw/ui-functional-node24.log +430 -0
  125. package/docs/reports/unified-9.0.33/raw/ui-runtime-final-verification.log +1 -0
  126. package/docs/reports/unified-9.0.33/raw/update-controller-standard-7-2-5.log +4 -0
  127. package/docs/reports/unified-9.0.33/raw/worker-memory-eos933.log +12 -0
  128. package/docs/reports/unified-9.0.33/raw/worker-memory-flow932.log +12 -0
  129. package/docs/reports/unified-9.0.34/PRUEFBERICHT.md +40 -0
  130. package/docs/reports/unified-9.0.34/PRUEFERGEBNISSE.json +112 -0
  131. package/docs/reports/unified-9.0.34/raw/INDEX.json +137 -0
  132. package/docs/reports/unified-9.0.34/raw/backend.log +5 -0
  133. package/docs/reports/unified-9.0.34/raw/dashboard-interval.json +108 -0
  134. package/docs/reports/unified-9.0.34/raw/fixtures-verification.log +44 -0
  135. package/docs/reports/unified-9.0.34/raw/frontend.log +152 -0
  136. package/docs/reports/unified-9.0.34/raw/installer.log +26 -0
  137. package/docs/reports/unified-9.0.34/raw/lint.log +45 -0
  138. package/docs/reports/unified-9.0.34/raw/mira-dashboard-browser.json +1 -0
  139. package/docs/reports/unified-9.0.34/raw/mira-devices-browser.log +9 -0
  140. package/docs/reports/unified-9.0.34/raw/mira-memory-process.json +379 -0
  141. package/docs/reports/unified-9.0.34/raw/modules.log +5 -0
  142. package/docs/reports/unified-9.0.34/raw/node22-mira.log +216 -0
  143. package/docs/reports/unified-9.0.34/raw/node22-protocol-to-ems.log +8 -0
  144. package/docs/reports/unified-9.0.34/raw/node22-tests-final.log +17850 -0
  145. package/docs/reports/unified-9.0.34/raw/node22-version.log +1 -0
  146. package/docs/reports/unified-9.0.34/raw/node24-mira.log +40 -0
  147. package/docs/reports/unified-9.0.34/raw/node24-protocol-to-ems.log +6 -0
  148. package/docs/reports/unified-9.0.34/raw/node24-tests-final.log +2973 -0
  149. package/docs/reports/unified-9.0.34/raw/node24-version.log +1 -0
  150. package/docs/reports/unified-9.0.34/raw/protocol-to-ems.cjs +364 -0
  151. package/docs/reports/unified-9.0.34/raw/release-metadata.log +13 -0
  152. package/docs/reports/unified-9.0.34/raw/sbom.log +8 -0
  153. package/docs/reports/unified-9.0.34/raw/typecheck.log +5 -0
  154. package/docs/reports/unified-9.0.34/raw/ui-runtime.log +8 -0
  155. package/docs/start/START_HIER_9.0.32.md +16 -0
  156. package/docs/start/START_HIER_9.0.33.md +32 -0
  157. package/docs/start/START_HIER_9.0.34.md +25 -0
  158. package/io-package.json +16 -16
  159. package/modules/devices/admin/alias-contract-v1.json +22 -0
  160. package/modules/devices/admin/ems-assignment.js +6 -1
  161. package/modules/devices/admin/host-bridge.js +2 -0
  162. package/modules/devices/admin/index.html +16 -0
  163. package/modules/devices/admin/index_m.js +168 -9
  164. package/modules/devices/admin/templates.json +976 -0
  165. package/modules/devices/checks/emsAssignment.check.js +52 -2
  166. package/modules/devices/index.js +5 -1
  167. package/modules/devices/lib/alias-contract-v1.json +22 -0
  168. package/modules/devices/lib/deviceRuntime.js +17 -7
  169. package/modules/devices/lib/drivers/modbus.js +1 -1
  170. package/modules/devices/lib/drivers/modbusRtuBus.js +7 -1
  171. package/modules/devices/lib/drivers/ovumMira.js +148 -0
  172. package/modules/devices/lib/ovumMiraAliases.js +61 -0
  173. package/modules/devices/lib/ovumMiraConnection.js +32 -0
  174. package/modules/devices/lib/templates.json +976 -0
  175. package/modules/devices/test/aliasContractV1.test.js +4 -4
  176. package/modules/devices/test/deviceAliasSemantics.test.js +2 -2
  177. package/modules/devices/test/fixtures/approved-additive-templates.json +3 -1
  178. package/modules/devices/test/ovumMiraPairing.test.js +76 -0
  179. package/modules/devices/test/ovumMiraTemplates.test.js +110 -0
  180. package/modules/devices/test/ovumMiraTransport.test.js +162 -0
  181. package/package.json +10 -5
  182. package/release-manifests/unified/build-environment.cdx.json +7 -7
  183. package/release-manifests/unified/files.json +302 -180
  184. package/release-manifests/unified/frontend.cdx.json +7 -7
  185. package/release-manifests/unified/installer.cdx.json +7 -7
  186. package/release-manifests/unified/obsolete-admin-assets.json +281 -28
  187. package/release-manifests/unified/runtime.cdx.json +28 -28
  188. package/release-manifests/unified/validation.json +15 -15
  189. package/tools/eos-release-manifest.cjs +2 -2
  190. package/ui/ems/consumers/ovum-mira.js +164 -0
  191. package/ui/ems/consumers/sg-ready.js +26 -6
  192. package/ui/ems/datapoints.js +12 -4
  193. package/ui/ems/modules/charging-management.js +58 -67
  194. package/ui/ems/modules/core-limits.js +59 -36
  195. package/ui/ems/modules/para14a.js +3 -2
  196. package/ui/ems/modules/prime-mover-control.js +141 -29
  197. package/ui/ems/modules/stage-a-diagnostics.js +4 -2
  198. package/ui/ems/modules/storage-control.js +31 -38
  199. package/ui/ems/modules/storage-mapping.js +14 -13
  200. package/ui/ems/modules/tarif-vis.js +38 -56
  201. package/ui/ems/modules/thermal-control.js +91 -10
  202. package/ui/ems/services/measurement-freshness.js +58 -21
  203. package/ui/ems/services/safety-envelope.js +13 -6
  204. package/ui/io-package.json +13 -1
  205. package/ui/lib/datapoint-picker.js +27 -20
  206. package/ui/lib/installer-lifecycle.js +11 -2
  207. package/ui/lib/tariff-price.js +7 -1
  208. package/ui/lib/ts-mirrors/ems/core-limits/core-runtime.js +5 -1
  209. package/ui/main.js +313 -188
  210. package/ui/package.json +4 -3
  211. package/ui/www/app.js +238 -100
  212. package/ui/www/ems-apps.js +30 -10
  213. package/ui/www/index.html +1 -0
  214. package/ui/www/licenses/smarthome-markdown-components.json +156 -156
  215. package/ui/www/live-display.js +38 -4
  216. package/ui/www/manifest.webmanifest +2 -2
  217. package/ui/www/power-measurements.js +28 -3
  218. package/adminWww/assets/AddLink-0L0E-LsA.js +0 -1
  219. package/adminWww/assets/ColorLens-DA51K29x.js +0 -1
  220. package/adminWww/assets/ConfigManager-C2naRwDl.js +0 -1
  221. package/adminWww/assets/Enums-B9ucB-qg.js +0 -92
  222. package/adminWww/assets/Fields-DN41WFbp.js +0 -1
  223. package/adminWww/assets/FileCopy-B16lEuur.js +0 -1
  224. package/adminWww/assets/Files-C3PbbeNR.js +0 -1
  225. package/adminWww/assets/Instances-PKvEjDNQ.js +0 -4
  226. package/adminWww/assets/Intro-BnYMjDZr.js +0 -2
  227. package/adminWww/assets/Lens-9lkeoWGk.js +0 -1
  228. package/adminWww/assets/LinearScale-Be5h2beh.js +0 -1
  229. package/adminWww/assets/North-C2whbHM-.js +0 -1
  230. package/adminWww/assets/Overview-CWLYuqZx.js +0 -3
  231. package/adminWww/assets/PersonOff-DqBq0Fho.js +0 -1
  232. package/adminWww/assets/PlaylistAdd-O8k92YBd.js +0 -1
  233. package/adminWww/assets/State-Ca9_Ke_c.js +0 -1
  234. package/adminWww/assets/UsedResources-20bsoxmj.js +0 -2
  235. package/adminWww/assets/Users-yZyZX-18.js +0 -1
  236. package/adminWww/assets/date-fns-C1dqkno9.js +0 -1
  237. package/adminWww/assets/icons-material-C3PNaipj.js +0 -1
  238. package/adminWww/assets/isSameWeek-Crh37s7U.js +0 -1
  239. package/adminWww/assets/isWithinInterval-Bo1WiDfq.js +0 -1
  240. package/adminWww/assets/locale-hLcz_Xh2.js +0 -1
  241. package/adminWww/assets/sentry-DwQQLI7N.js +0 -1
  242. package/adminWww/assets/startOfWeek-DJph8SIW.js +0 -1
@@ -0,0 +1,220 @@
1
+ (node:5) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time.
2
+ (Use `node --trace-warnings ...` to show where the warning was created)
3
+ TAP version 13
4
+ # (node:12) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time.
5
+ # (Use `node --trace-warnings ...` to show where the warning was created)
6
+ # Subtest: real EMS ticks and drives one simulated relay while the GUI is frozen, stopped, and crashed
7
+ ok 1 - real EMS ticks and drives one simulated relay while the GUI is frozen, stopped, and crashed
8
+ ---
9
+ duration_ms: 9482.751811
10
+ type: 'test'
11
+ ...
12
+ # Subtest: stopping only EMS drains an accepted write before restarting, while the authorized GUI picker stays available
13
+ ok 2 - stopping only EMS drains an accepted write before restarting, while the authorized GUI picker stays available
14
+ ---
15
+ duration_ms: 9184.181366
16
+ type: 'test'
17
+ ...
18
+ # Subtest: an EMS crash blocks manual starts until its accepted write completes, then recovers automatically
19
+ ok 3 - an EMS crash blocks manual starts until its accepted write completes, then recovers automatically
20
+ ---
21
+ duration_ms: 6580.398513
22
+ type: 'test'
23
+ ...
24
+ # Subtest: automatic EMS recovery remains fenced when the outstanding write is completed after an operator pause
25
+ ok 4 - automatic EMS recovery remains fenced when the outstanding write is completed after an operator pause
26
+ ---
27
+ duration_ms: 3070.697273
28
+ type: 'test'
29
+ ...
30
+ # Subtest: automatic EMS recovery remains fenced when the outstanding write is rejected by the controller
31
+ ok 5 - automatic EMS recovery remains fenced when the outstanding write is rejected by the controller
32
+ ---
33
+ duration_ms: 4356.538472
34
+ type: 'test'
35
+ ...
36
+ # (node:13) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time.
37
+ # (Use `node --trace-warnings ...` to show where the warning was created)
38
+ # Subtest: only exact configuration IDs/methods and acknowledged string values receive the longer reply window
39
+ ok 6 - only exact configuration IDs/methods and acknowledged string values receive the longer reply window
40
+ ---
41
+ duration_ms: 2498.70153
42
+ type: 'test'
43
+ ...
44
+ # Subtest: preserved UI namespace grants the longer ACK only to its bound instance
45
+ ok 7 - preserved UI namespace grants the longer ACK only to its bound instance
46
+ ---
47
+ duration_ms: 2434.331686
48
+ type: 'test'
49
+ ...
50
+ # Subtest: unvalidated namespace text cannot widen the protected configuration ID set
51
+ ok 8 - unvalidated namespace text cannot widen the protected configuration ID set
52
+ ---
53
+ duration_ms: 2404.790522
54
+ type: 'test'
55
+ ...
56
+ # Subtest: configuration IPC delivered after two seconds is explicitly expired before any database mutation
57
+ ok 9 - configuration IPC delivered after two seconds is explicitly expired before any database mutation
58
+ ---
59
+ duration_ms: 2211.647811
60
+ type: 'test'
61
+ ...
62
+ # Subtest: late or foreign-generation RPC results cannot satisfy a newer pending call
63
+ ok 10 - late or foreign-generation RPC results cannot satisfy a newer pending call
64
+ ---
65
+ duration_ms: 86.2327
66
+ type: 'test'
67
+ ...
68
+ # (node:14) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time.
69
+ # (Use `node --trace-warnings ...` to show where the warning was created)
70
+ # Subtest: real child awaits 2.2s config ACK before runtime commit (preserved namespace=false)
71
+ ok 11 - real child awaits 2.2s config ACK before runtime commit (preserved namespace=false)
72
+ ---
73
+ duration_ms: 2906.079106
74
+ type: 'test'
75
+ ...
76
+ # Subtest: real child awaits 2.2s config ACK before runtime commit (preserved namespace=true)
77
+ ok 12 - real child awaits 2.2s config ACK before runtime commit (preserved namespace=true)
78
+ ---
79
+ duration_ms: 2769.099852
80
+ type: 'test'
81
+ ...
82
+ # Subtest: a definite controller rejection reports failure without restarting or changing saved config
83
+ ok 13 - a definite controller rejection reports failure without restarting or changing saved config
84
+ ---
85
+ duration_ms: 298.937946
86
+ type: 'test'
87
+ ...
88
+ # Subtest: pause drains a late accepted config ACK and resume reloads the committed state without replay
89
+ ok 14 - pause drains a late accepted config ACK and resume reloads the committed state without replay
90
+ ---
91
+ duration_ms: 806.27908
92
+ type: 'test'
93
+ ...
94
+ # Subtest: unknown config completion at the real 30s deadline fences the child until drain and explicit recovery
95
+ ok 15 - unknown config completion at the real 30s deadline fences the child until drain and explicit recovery
96
+ ---
97
+ duration_ms: 30661.216309
98
+ type: 'test'
99
+ ...
100
+ # (node:176) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time.
101
+ # (Use `node --trace-warnings ...` to show where the warning was created)
102
+ # Subtest: controller checkPassword callback preserves the canonical returned user
103
+ ok 16 - controller checkPassword callback preserves the canonical returned user
104
+ ---
105
+ duration_ms: 104.759081
106
+ type: 'test'
107
+ ...
108
+ # Subtest: history adapter responses beyond physical-command TTL retain their read-only callback
109
+ ok 17 - history adapter responses beyond physical-command TTL retain their read-only callback
110
+ ---
111
+ duration_ms: 2355.259554
112
+ type: 'test'
113
+ ...
114
+ # Subtest: an expired physical command is not replayed when the parent event loop recovers
115
+ ok 18 - an expired physical command is not replayed when the parent event loop recovers
116
+ ---
117
+ duration_ms: 2607.933767
118
+ type: 'test'
119
+ ...
120
+ # Subtest: completion from an old RPC generation cannot kill its replacement process
121
+ ok 19 - completion from an old RPC generation cannot kill its replacement process
122
+ ---
123
+ duration_ms: 394.861673
124
+ type: 'test'
125
+ ...
126
+ # Subtest: oversized controller response fails its read without killing the control process
127
+ ok 20 - oversized controller response fails its read without killing the control process
128
+ ---
129
+ duration_ms: 279.77891
130
+ type: 'test'
131
+ ...
132
+ # Subtest: SIGKILL of the supervising parent terminates the real runtime child
133
+ ok 21 - SIGKILL of the supervising parent terminates the real runtime child
134
+ ---
135
+ duration_ms: 127.787414
136
+ type: 'test'
137
+ ...
138
+ # (node:257) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time.
139
+ # (Use `node --trace-warnings ...` to show where the warning was created)
140
+ # Subtest: actual OS child preserves source timestamps/quality and HTTP identity is parent-bound
141
+ ok 22 - actual OS child preserves source timestamps/quality and HTTP identity is parent-bound
142
+ ---
143
+ duration_ms: 126.577593
144
+ type: 'test'
145
+ ...
146
+ # Subtest: each write rechecks live parent ownership; shutdown releases only owned subscriptions
147
+ ok 23 - each write rechecks live parent ownership; shutdown releases only owned subscriptions
148
+ ---
149
+ duration_ms: 73.071954
150
+ type: 'test'
151
+ ...
152
+ # Subtest: child exit is contained and restart uses new PID/generation without replaying measurements
153
+ ok 24 - child exit is contained and restart uses new PID/generation without replaying measurements
154
+ ---
155
+ duration_ms: 158.899784
156
+ type: 'test'
157
+ ...
158
+ # Subtest: blocked child event loop does not block parent and is killed before restart
159
+ ok 25 - blocked child event loop does not block parent and is killed before restart
160
+ ---
161
+ duration_ms: 5583.846515
162
+ type: 'test'
163
+ ...
164
+ # Subtest: real hosted UI shell retains login, origin and CSRF/role admission across private HTTP bridge
165
+ ok 26 - real hosted UI shell retains login, origin and CSRF/role admission across private HTTP bridge
166
+ ---
167
+ duration_ms: 334.158034
168
+ type: 'test'
169
+ ...
170
+ # Subtest: HTTP body streaming, fallthrough and SSE disconnect keep the public connection usable
171
+ ok 27 - HTTP body streaming, fallthrough and SSE disconnect keep the public connection usable
172
+ ---
173
+ duration_ms: 75.144112
174
+ type: 'test'
175
+ ...
176
+ # Subtest: private loopback rejects direct requests, spoofed capabilities and replay while a legitimate stream stays open
177
+ ok 28 - private loopback rejects direct requests, spoofed capabilities and replay while a legitimate stream stays open
178
+ ---
179
+ duration_ms: 117.511608
180
+ type: 'test'
181
+ ...
182
+ # Subtest: process diagnostics remove complete configured secrets before shortening
183
+ ok 29 - process diagnostics remove complete configured secrets before shortening
184
+ ---
185
+ duration_ms: 2.642788
186
+ type: 'test'
187
+ ...
188
+ # Subtest: explicit pause and resume use a new OS child while terminal stop cannot resurrect it
189
+ ok 30 - explicit pause and resume use a new OS child while terminal stop cannot resurrect it
190
+ ---
191
+ duration_ms: 263.631728
192
+ type: 'test'
193
+ ...
194
+ # Subtest: pause drains an accepted controller write before an explicit resume may create another child
195
+ ok 31 - pause drains an accepted controller write before an explicit resume may create another child
196
+ ---
197
+ duration_ms: 237.031639
198
+ type: 'test'
199
+ ...
200
+ # Subtest: after a crash every accepted write must finish before a single generation regains ownership
201
+ ok 32 - after a crash every accepted write must finish before a single generation regains ownership
202
+ ---
203
+ duration_ms: 773.972748
204
+ type: 'test'
205
+ ...
206
+ # Subtest: pause during initialization drains a late subscription acquisition before creating the next child
207
+ ok 33 - pause during initialization drains a late subscription acquisition before creating the next child
208
+ ---
209
+ duration_ms: 229.763355
210
+ type: 'test'
211
+ ...
212
+ 1..33
213
+ # tests 33
214
+ # suites 0
215
+ # pass 33
216
+ # fail 0
217
+ # cancelled 0
218
+ # skipped 0
219
+ # todo 0
220
+ # duration_ms 38412.483909
@@ -0,0 +1,110 @@
1
+ ▶ without a browser, raw, legacy and AliasV1 commands reach real hosted DeviceRuntime
2
+ ✔ EOS namespace (1335.122901ms)
3
+ ✔ retained namespace (813.311841ms)
4
+ ✔ without a browser, raw, legacy and AliasV1 commands reach real hosted DeviceRuntime (2150.739463ms)
5
+ ✔ browser subscribe/unsubscribe cannot enable or disable physical command delivery (1255.632713ms)
6
+ ✔ revoked device ownership rejects commands and stop preserves an independent host observer (776.433946ms)
7
+ ✔ failed startup waits for actual module drain, and concurrent callers cannot create a replacement (335.473062ms)
8
+ ✔ rejected failed-start cleanup retains the fenced engine and blocks nonforced and forced replacements (106.136303ms)
9
+ ✔ bounded failed-start drain timeout retains ownership and allows a later confirmed cleanup to recover (161.801288ms)
10
+ ✔ retained or stopped engine references cannot admit immediate EMS work or advertise running (111.618567ms)
11
+ ✔ real EMS ticks and drives one simulated relay while the GUI is frozen, stopped, and crashed (8890.644395ms)
12
+ ✔ stopping only EMS drains an accepted write before restarting, while the authorized GUI picker stays available (7810.411887ms)
13
+ ✔ an EMS crash blocks manual starts until its accepted write completes, then recovers automatically (6653.356697ms)
14
+ ✔ automatic EMS recovery remains fenced when the outstanding write is completed after an operator pause (3099.528579ms)
15
+ ✔ automatic EMS recovery remains fenced when the outstanding write is rejected by the controller (3860.668487ms)
16
+ ✔ UI/EMS crash, automatic restart and stop preserve Devices, EEBUS and OCPP PIDs plus the live OCPP session (6857.753018ms)
17
+ ✔ production worker has its own PID, narrow facade and filtered environment (53.15077ms)
18
+ ✔ a blocked child event loop cannot block another module or parent and is killed (2121.074248ms)
19
+ ✔ stop confirms OS exit even when the module shutdown blocks forever (1672.953983ms)
20
+ ✔ protocol rejects oversized payload, expired dispatch and stale generation replies (61.949829ms)
21
+ ✔ protocol caps concurrent unresolved requests and releases them on channel close (6.34311ms)
22
+ ✔ real host production default restarts only the crashed module with a new generation and PID (1133.293388ms)
23
+ ✔ parent drains an already accepted write before starting a replacement process (1240.602014ms)
24
+ ▶ hosted OCPP facade writes local states in only its current or explicitly preserved namespace
25
+ ✔ embedded namespace (3.765876ms)
26
+ ✔ preserved standalone namespace (0.918272ms)
27
+ ✔ hosted OCPP facade writes local states in only its current or explicitly preserved namespace (5.533748ms)
28
+ ✔ hosted OCPP scans reject foreign, oversized and malformed controller inventories without partial success (21.236041ms)
29
+ ✔ hosted OCPP configuration views accept only bounded own-station ranges and validate both value and doc identifiers (1.319337ms)
30
+ ✔ hosted OCPP cannot publish a late inventory or dispatch a queued write after its generation is revoked (0.689363ms)
31
+ ✔ OCPP acknowledged telemetry bursts never re-enter IPC, while the original command event is preserved (3.31635ms)
32
+ ✔ real CM reads atomic 0.4.3 feedback through source-metadata cache and writes native watts only (62.679797ms)
33
+ ✔ real CM atomic pending/rejected feedback cannot be confirmed by old command-success fields (20.75659ms)
34
+ ✔ real CM rejects old-session, stale, bad quality and missing-source-timestamp feedback (57.802733ms)
35
+ ✔ real CM treats valid zero as a confirmed requested profile and keeps measured charging power separate (5.963987ms)
36
+ ✔ duplicate native station rows cannot send positive limits or race the single conservative zero writer (14.780766ms)
37
+ ✔ incomplete native commissioning contract blocks positive power at the actual CM writer (13.610083ms)
38
+ ✔ two independently controlled legacy OCPP connectors are not mistaken for a native station aggregate (15.071462ms)
39
+ ✔ native lease write failure or rejection blocks positive power in the real CM final writer (8.735948ms)
40
+ ✔ native positive command awaits the lease transport promise, not just an attempted write (15.069554ms)
41
+ ✔ atomic native contract cannot bypass its lease using missing, false or invalid support metadata (27.874808ms)
42
+ ✔ real CM renews its station lease after five seconds and immediately after an OCPP session change (17.741181ms)
43
+ ✔ hosted runtime eos-admin.0.ocpp.CP_01 retains native watts, atomic feedback, zero and ordered leases (18.583036ms)
44
+ ✔ hosted runtime ocpp21.0.CP_01 retains native watts, atomic feedback, zero and ordered leases (8.609601ms)
45
+ ✔ live Admin parent never replaces missing, stale, future, bad-quality or unacknowledged OCPP worker heartbeat (31.935542ms)
46
+ ✔ invalid migrated hosted marker cannot fall back to live legacy adapter (3.333996ms)
47
+ ✔ another EOS owner cannot become a reader or writer through manual native mapping (2.196839ms)
48
+ ✔ hosted aggregate duplicates still have only one conservative zero writer and no lease (8.410175ms)
49
+ ✔ hosted connection flags with invalid source metadata cannot authorize loading via fresh status or meter fallback (15.213617ms)
50
+ ✔ manual mixed native stations cannot pair one station lease with another station actuator (2.412329ms)
51
+ ✔ only an explicitly valid false migration marker restores external adapter liveness after confirmed rollback (35.82723ms)
52
+ ✔ hosted OCPP never sends a first positive profile before lease capability arrives in the source cache (10.92794ms)
53
+ ✔ external pre-lease OCPP retains its confirmed adapter path without inventing a hosted capability (5.465598ms)
54
+ ✔ generic telemetry selection cannot bypass the native hosted OCPP process and lease contract (107.250881ms)
55
+ ▶ PV-only uses verified storage and NVP through the central budget and the hosted OCPP writer
56
+ ✔ import despite wrong house zero (25.189034ms)
57
+ ✔ charging measurement with ioBroker error (10.119181ms)
58
+ ✔ charging measurement without source time (13.569148ms)
59
+ ✔ charging measurement in future (9.76218ms)
60
+ ✔ discharge 90 seconds old (10.034525ms)
61
+ ✔ fresh discharge excluded (10.918586ms)
62
+ ✔ live export despite erroneous house import (9.101131ms)
63
+ ✔ live export with no house meter (10.113442ms)
64
+ ✔ missing central budget (9.09382ms)
65
+ ✔ stale central budget (9.172016ms)
66
+ ✔ invalid central budget power (7.643929ms)
67
+ ✔ future central budget (26.906492ms)
68
+ ✔ Boost respects connection limit (7.600975ms)
69
+ ✔ Boost respects §14a (7.140342ms)
70
+ ✔ Min+PV keeps grid minimum (8.457746ms)
71
+ ✔ PV-only uses verified storage and NVP through the central budget and the hosted OCPP writer (363.845764ms)
72
+ ✔ only exact configuration IDs/methods and acknowledged string values receive the longer reply window (2366.846473ms)
73
+ ✔ preserved UI namespace grants the longer ACK only to its bound instance (2353.805223ms)
74
+ ✔ unvalidated namespace text cannot widen the protected configuration ID set (2364.66614ms)
75
+ ✔ configuration IPC delivered after two seconds is explicitly expired before any database mutation (2195.956721ms)
76
+ ✔ late or foreign-generation RPC results cannot satisfy a newer pending call (86.465666ms)
77
+ ✔ real child awaits 2.2s config ACK before runtime commit (preserved namespace=false) (2499.585794ms)
78
+ ✔ real child awaits 2.2s config ACK before runtime commit (preserved namespace=true) (2537.986808ms)
79
+ ✔ a definite controller rejection reports failure without restarting or changing saved config (336.551205ms)
80
+ ✔ pause drains a late accepted config ACK and resume reloads the committed state without replay (1138.519587ms)
81
+ ✔ unknown config completion at the real 30s deadline fences the child until drain and explicit recovery (30783.452914ms)
82
+ ✔ real hosted UI child starts the actual EMS and charging module through the IPC owner (3222.167395ms)
83
+ ✔ late object-subscription acknowledgement is drained before stop can confirm (165.257629ms)
84
+ ✔ real UI worker rejects expired and reordered authority leases (57.017457ms)
85
+ ✔ controller checkPassword callback preserves the canonical returned user (61.272065ms)
86
+ ✔ history adapter responses beyond physical-command TTL retain their read-only callback (2366.431923ms)
87
+ ✔ an expired physical command is not replayed when the parent event loop recovers (2607.135822ms)
88
+ ✔ completion from an old RPC generation cannot kill its replacement process (429.863387ms)
89
+ ✔ oversized controller response fails its read without killing the control process (326.788837ms)
90
+ ✔ SIGKILL of the supervising parent terminates the real runtime child (303.072247ms)
91
+ ✔ actual OS child preserves source timestamps/quality and HTTP identity is parent-bound (103.060033ms)
92
+ ✔ each write rechecks live parent ownership; shutdown releases only owned subscriptions (60.847606ms)
93
+ ✔ child exit is contained and restart uses new PID/generation without replaying measurements (181.904406ms)
94
+ ✔ blocked child event loop does not block parent and is killed before restart (5643.124435ms)
95
+ ✔ real hosted UI shell retains login, origin and CSRF/role admission across private HTTP bridge (353.163854ms)
96
+ ✔ HTTP body streaming, fallthrough and SSE disconnect keep the public connection usable (70.018062ms)
97
+ ✔ private loopback rejects direct requests, spoofed capabilities and replay while a legitimate stream stays open (64.260422ms)
98
+ ✔ process diagnostics remove complete configured secrets before shortening (1.831126ms)
99
+ ✔ explicit pause and resume use a new OS child while terminal stop cannot resurrect it (255.491702ms)
100
+ ✔ pause drains an accepted controller write before an explicit resume may create another child (253.915329ms)
101
+ ✔ after a crash every accepted write must finish before a single generation regains ownership (790.948798ms)
102
+ ✔ pause during initialization drains a late subscription acquisition before creating the next child (285.563292ms)
103
+ ℹ tests 99
104
+ ℹ suites 0
105
+ ℹ pass 99
106
+ ℹ fail 0
107
+ ℹ cancelled 0
108
+ ℹ skipped 0
109
+ ℹ todo 0
110
+ ℹ duration_ms 49516.080959
@@ -0,0 +1,12 @@
1
+ {"version":"flow932","count":10000,"searchHeap":6422544,"treeHeap":6426472,"afterClose":58648,"loads":1,"search":"c90c266daad38abb3df6bb9f6f451f8c8ddba876f5d38b0fc2cdc457e95a1ee9","tree":"92419fa41c6c5be60b9c67a99b29072e037bff36b347b27755a14c03b2bd2ace"}
2
+ {"version":"flow932","count":10000,"searchHeap":6422544,"treeHeap":6426472,"afterClose":58648,"loads":1,"search":"c90c266daad38abb3df6bb9f6f451f8c8ddba876f5d38b0fc2cdc457e95a1ee9","tree":"92419fa41c6c5be60b9c67a99b29072e037bff36b347b27755a14c03b2bd2ace"}
3
+ {"version":"flow932","count":10000,"searchHeap":6422544,"treeHeap":6426472,"afterClose":58648,"loads":1,"search":"c90c266daad38abb3df6bb9f6f451f8c8ddba876f5d38b0fc2cdc457e95a1ee9","tree":"92419fa41c6c5be60b9c67a99b29072e037bff36b347b27755a14c03b2bd2ace"}
4
+ {"version":"flow932","count":50000,"searchHeap":32553480,"treeHeap":32557408,"afterClose":60232,"loads":1,"search":"c90c266daad38abb3df6bb9f6f451f8c8ddba876f5d38b0fc2cdc457e95a1ee9","tree":"92419fa41c6c5be60b9c67a99b29072e037bff36b347b27755a14c03b2bd2ace"}
5
+ {"version":"flow932","count":50000,"searchHeap":32552792,"treeHeap":32556720,"afterClose":59544,"loads":1,"search":"c90c266daad38abb3df6bb9f6f451f8c8ddba876f5d38b0fc2cdc457e95a1ee9","tree":"92419fa41c6c5be60b9c67a99b29072e037bff36b347b27755a14c03b2bd2ace"}
6
+ {"version":"flow932","count":50000,"searchHeap":32552480,"treeHeap":32556408,"afterClose":59232,"loads":1,"search":"c90c266daad38abb3df6bb9f6f451f8c8ddba876f5d38b0fc2cdc457e95a1ee9","tree":"92419fa41c6c5be60b9c67a99b29072e037bff36b347b27755a14c03b2bd2ace"}
7
+ {"version":"eos933","count":10000,"searchHeap":3327408,"treeHeap":4588824,"afterClose":61000,"loads":1,"search":"c90c266daad38abb3df6bb9f6f451f8c8ddba876f5d38b0fc2cdc457e95a1ee9","tree":"92419fa41c6c5be60b9c67a99b29072e037bff36b347b27755a14c03b2bd2ace"}
8
+ {"version":"eos933","count":10000,"searchHeap":3327408,"treeHeap":4588824,"afterClose":61000,"loads":1,"search":"c90c266daad38abb3df6bb9f6f451f8c8ddba876f5d38b0fc2cdc457e95a1ee9","tree":"92419fa41c6c5be60b9c67a99b29072e037bff36b347b27755a14c03b2bd2ace"}
9
+ {"version":"eos933","count":10000,"searchHeap":3327408,"treeHeap":4588824,"afterClose":61000,"loads":1,"search":"c90c266daad38abb3df6bb9f6f451f8c8ddba876f5d38b0fc2cdc457e95a1ee9","tree":"92419fa41c6c5be60b9c67a99b29072e037bff36b347b27755a14c03b2bd2ace"}
10
+ {"version":"eos933","count":50000,"searchHeap":17095144,"treeHeap":23359800,"afterClose":62624,"loads":1,"search":"c90c266daad38abb3df6bb9f6f451f8c8ddba876f5d38b0fc2cdc457e95a1ee9","tree":"92419fa41c6c5be60b9c67a99b29072e037bff36b347b27755a14c03b2bd2ace"}
11
+ {"version":"eos933","count":50000,"searchHeap":17094104,"treeHeap":23358912,"afterClose":61736,"loads":1,"search":"c90c266daad38abb3df6bb9f6f451f8c8ddba876f5d38b0fc2cdc457e95a1ee9","tree":"92419fa41c6c5be60b9c67a99b29072e037bff36b347b27755a14c03b2bd2ace"}
12
+ {"version":"eos933","count":50000,"searchHeap":17095352,"treeHeap":23359568,"afterClose":62392,"loads":1,"search":"c90c266daad38abb3df6bb9f6f451f8c8ddba876f5d38b0fc2cdc457e95a1ee9","tree":"92419fa41c6c5be60b9c67a99b29072e037bff36b347b27755a14c03b2bd2ace"}