iobroker.eos-admin 9.0.36 → 9.0.39

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 (202) hide show
  1. package/NEXOWATT_EOS_BUILD_INFO.json +12 -10
  2. package/README.md +23 -3
  3. package/adminWww/.vite/manifest.json +39 -39
  4. package/adminWww/NEXOWATT_EOS_FRONTEND_MANIFEST.json +107 -107
  5. package/adminWww/assets/{AdapterUpdateDialog-D2nDWE_N.js → AdapterUpdateDialog-DDmYbnK4.js} +1 -1
  6. package/adminWww/assets/{Adapters-D0sVqNBU.js → Adapters-73Uo4VUy.js} +1 -1
  7. package/adminWww/assets/{ConfigManager-Zm7UoaaN.js → ConfigManager-DoFx_j4o.js} +1 -1
  8. package/adminWww/assets/{Enums-BGL7pR-O.js → Enums-BRQSAW9I.js} +1 -1
  9. package/adminWww/assets/{Fields-A8J3u1yq.js → Fields-pcmISvLk.js} +1 -1
  10. package/adminWww/assets/{Files-CQPjCvW6.js → Files-E8-7c9Ab.js} +1 -1
  11. package/adminWww/assets/{Hosts-CxzkkNBj.js → Hosts-D4a3shrq.js} +1 -1
  12. package/adminWww/assets/{Instances-eEbEukDh.js → Instances-ByxEHRoo.js} +1 -1
  13. package/adminWww/assets/{Intro-I_Tknp0E.js → Intro-DFriWa6g.js} +1 -1
  14. package/adminWww/assets/{Logs-C3GPz61Q.js → Logs-BXR0h5Sz.js} +1 -1
  15. package/adminWww/assets/{Objects-DDnisxNB.js → Objects-h6jg_6uT.js} +1 -1
  16. package/adminWww/assets/{Overview-BpZFdEmp.js → Overview-B39PiMGJ.js} +1 -1
  17. package/adminWww/assets/{State-DY6Nw0SB.js → State-CqF2ARx_.js} +1 -1
  18. package/adminWww/assets/{UsedResources-CtUpdP2b.js → UsedResources-CnbnoF3d.js} +1 -1
  19. package/adminWww/assets/{Users-DcqlSfc5.js → Users-BQik0rIi.js} +1 -1
  20. package/adminWww/assets/{bootstrap-Didkuj-F.js → bootstrap-Dllnekqb.js} +3 -3
  21. package/adminWww/assets/{hostInit-Chrs-wsg.js → hostInit-CQbS-SCS.js} +1 -1
  22. package/adminWww/assets/{icons-material-SqwOQW6y.js → icons-material-rYFYu2DM.js} +1 -1
  23. package/adminWww/assets/{index-CpDo61Mz.js → index-BzbVZbb2.js} +2 -2
  24. package/adminWww/assets/{installSVGRenderer-DZMZ3pJw.js → installSVGRenderer-DbH6B8B8.js} +1 -1
  25. package/adminWww/assets/{mf-entry-bootstrap-0-b0c4981a.js → mf-entry-bootstrap-0-4dee1225.js} +2 -2
  26. package/adminWww/index.html +23 -23
  27. package/adminWww/mf-manifest.json +1 -1
  28. package/adminWww/mf-stats.json +1 -1
  29. package/adminWww/remoteEntry-eos-9.0.39.js +12 -0
  30. package/adminWww/remoteEntry.js +1 -1
  31. package/build/lib/eosLegacyMigration.js +351 -60
  32. package/build/lib/eosLegacyMigration.js.map +1 -1
  33. package/build/lib/eosLegacySource.js +172 -0
  34. package/build/lib/eosLegacySource.js.map +1 -0
  35. package/build/lib/eosModuleHost.js +38 -1
  36. package/build/lib/eosModuleHost.js.map +1 -1
  37. package/build/lib/eosModuleHttp.js +55 -8
  38. package/build/lib/eosModuleHttp.js.map +1 -1
  39. package/build/lib/eosRuntimeControl.js +3 -1
  40. package/build/lib/eosRuntimeControl.js.map +1 -1
  41. package/build/main.js +1 -1
  42. package/build/main.js.map +1 -1
  43. package/docs/README.md +3 -0
  44. package/docs/reports/EMS_ZIELLADEN_2026-11-28.md +45 -0
  45. package/docs/reports/unified-9.0.37/PRUEFBERICHT.md +59 -0
  46. package/docs/reports/unified-9.0.37/PRUEFERGEBNISSE.json +112 -0
  47. package/docs/reports/unified-9.0.37/raw/INDEX.json +232 -0
  48. package/docs/reports/unified-9.0.37/raw/backend.log +5 -0
  49. package/docs/reports/unified-9.0.37/raw/core-final-node22.log +1439 -0
  50. package/docs/reports/unified-9.0.37/raw/core-final-node24.log +1381 -0
  51. package/docs/reports/unified-9.0.37/raw/dashboard-935-screenshot.json +15 -0
  52. package/docs/reports/unified-9.0.37/raw/dashboard-de-en-nl.json +1059 -0
  53. package/docs/reports/unified-9.0.37/raw/ems-ui-nvp-integration.json +245 -0
  54. package/docs/reports/unified-9.0.37/raw/farm-and-dashboard-935.json +11 -0
  55. package/docs/reports/unified-9.0.37/raw/farm-tracking-source-tests.log +80 -0
  56. package/docs/reports/unified-9.0.37/raw/fixtures-verification.log +39 -0
  57. package/docs/reports/unified-9.0.37/raw/frontend.log +160 -0
  58. package/docs/reports/unified-9.0.37/raw/installer.log +26 -0
  59. package/docs/reports/unified-9.0.37/raw/lint.log +45 -0
  60. package/docs/reports/unified-9.0.37/raw/measure-storage-display.cjs +47 -0
  61. package/docs/reports/unified-9.0.37/raw/modules.log +5 -0
  62. package/docs/reports/unified-9.0.37/raw/node22-isolated-start-deadlines.log +28 -0
  63. package/docs/reports/unified-9.0.37/raw/node22-migration.log +1329 -0
  64. package/docs/reports/unified-9.0.37/raw/node22-mira.log +222 -0
  65. package/docs/reports/unified-9.0.37/raw/node22-parallel-initial.log +13278 -0
  66. package/docs/reports/unified-9.0.37/raw/node22-startzeiten.json +21 -0
  67. package/docs/reports/unified-9.0.37/raw/node22-system-status.log +639 -0
  68. package/docs/reports/unified-9.0.37/raw/node22-tests-final.log +18494 -0
  69. package/docs/reports/unified-9.0.37/raw/node22-version.log +1 -0
  70. package/docs/reports/unified-9.0.37/raw/node24-migration.log +1301 -0
  71. package/docs/reports/unified-9.0.37/raw/node24-mira.log +41 -0
  72. package/docs/reports/unified-9.0.37/raw/node24-system-status.log +111 -0
  73. package/docs/reports/unified-9.0.37/raw/node24-tests-final.log +3080 -0
  74. package/docs/reports/unified-9.0.37/raw/node24-version.log +1 -0
  75. package/docs/reports/unified-9.0.37/raw/npm-runtime-audit.json +77 -0
  76. package/docs/reports/unified-9.0.37/raw/platform-acl-node22.log +98 -0
  77. package/docs/reports/unified-9.0.37/raw/platform-acl-node24.log +22 -0
  78. package/docs/reports/unified-9.0.37/raw/platform-nginx-node22.json +21 -0
  79. package/docs/reports/unified-9.0.37/raw/platform-nginx-node24.json +21 -0
  80. package/docs/reports/unified-9.0.37/raw/qa-source-check.log +2 -0
  81. package/docs/reports/unified-9.0.37/raw/release-metadata.log +13 -0
  82. package/docs/reports/unified-9.0.37/raw/sbom.log +8 -0
  83. package/docs/reports/unified-9.0.37/raw/speicher-warnschwelle-integration.json +172 -0
  84. package/docs/reports/unified-9.0.37/raw/sse-backpressure-9.0.35.log +1 -0
  85. package/docs/reports/unified-9.0.37/raw/sse-backpressure-9.0.37.log +1 -0
  86. package/docs/reports/unified-9.0.37/raw/storage-display-memory-node22.json +19 -0
  87. package/docs/reports/unified-9.0.37/raw/storage-display-memory-node24.json +19 -0
  88. package/docs/reports/unified-9.0.37/raw/typecheck.log +5 -0
  89. package/docs/reports/unified-9.0.37/raw/ui-runtime.log +7 -0
  90. package/docs/reports/unified-9.0.38/PRUEFBERICHT.md +51 -0
  91. package/docs/reports/unified-9.0.38/PRUEFERGEBNISSE.json +112 -0
  92. package/docs/reports/unified-9.0.38/raw/INDEX.json +272 -0
  93. package/docs/reports/unified-9.0.38/raw/backend.log +5 -0
  94. package/docs/reports/unified-9.0.38/raw/core-final-node22.log +1439 -0
  95. package/docs/reports/unified-9.0.38/raw/core-final-node24.log +1381 -0
  96. package/docs/reports/unified-9.0.38/raw/dashboard-de-en-nl.json +1044 -0
  97. package/docs/reports/unified-9.0.38/raw/field-upgrade-936-node22.log +21 -0
  98. package/docs/reports/unified-9.0.38/raw/field-upgrade-936-node24.log +10 -0
  99. package/docs/reports/unified-9.0.38/raw/fixtures-verification.log +39 -0
  100. package/docs/reports/unified-9.0.38/raw/frontend.log +152 -0
  101. package/docs/reports/unified-9.0.38/raw/installer.log +26 -0
  102. package/docs/reports/unified-9.0.38/raw/legacy-historian-provenance.json +44 -0
  103. package/docs/reports/unified-9.0.38/raw/legacy-history-built-influx.log +10 -0
  104. package/docs/reports/unified-9.0.38/raw/legacy-history-misbinding-937.log +1 -0
  105. package/docs/reports/unified-9.0.38/raw/legacy-history-providers-node22.log +326 -0
  106. package/docs/reports/unified-9.0.38/raw/legacy-history-providers-node24.log +58 -0
  107. package/docs/reports/unified-9.0.38/raw/legacy-history-real-influx.log +10 -0
  108. package/docs/reports/unified-9.0.38/raw/legacy-history-source-comparison.json +12 -0
  109. package/docs/reports/unified-9.0.38/raw/legacy-template-interfaces.json +21 -0
  110. package/docs/reports/unified-9.0.38/raw/lint.log +45 -0
  111. package/docs/reports/unified-9.0.38/raw/migration-admin-browser-node22.log +86 -0
  112. package/docs/reports/unified-9.0.38/raw/migration-admin-browser-node24.log +84 -0
  113. package/docs/reports/unified-9.0.38/raw/migration-live-children-node22.log +20 -0
  114. package/docs/reports/unified-9.0.38/raw/migration-live-children-node24.log +9 -0
  115. package/docs/reports/unified-9.0.38/raw/migration-process-admin-node22.log +831 -0
  116. package/docs/reports/unified-9.0.38/raw/migration-process-admin-node24.log +144 -0
  117. package/docs/reports/unified-9.0.38/raw/modules.log +5 -0
  118. package/docs/reports/unified-9.0.38/raw/node22-initial-destination-channel.log +13298 -0
  119. package/docs/reports/unified-9.0.38/raw/node22-migration.log +1443 -0
  120. package/docs/reports/unified-9.0.38/raw/node22-mira.log +222 -0
  121. package/docs/reports/unified-9.0.38/raw/node22-system-status.log +639 -0
  122. package/docs/reports/unified-9.0.38/raw/node22-tests-final.log +18620 -0
  123. package/docs/reports/unified-9.0.38/raw/node22-version.log +1 -0
  124. package/docs/reports/unified-9.0.38/raw/node24-migration.log +1411 -0
  125. package/docs/reports/unified-9.0.38/raw/node24-mira.log +41 -0
  126. package/docs/reports/unified-9.0.38/raw/node24-system-status.log +111 -0
  127. package/docs/reports/unified-9.0.38/raw/node24-tests-final.log +3102 -0
  128. package/docs/reports/unified-9.0.38/raw/node24-version.log +1 -0
  129. package/docs/reports/unified-9.0.38/raw/npm-runtime-audit.json +77 -0
  130. package/docs/reports/unified-9.0.38/raw/platform-acl-node22.log +98 -0
  131. package/docs/reports/unified-9.0.38/raw/platform-acl-node24.log +22 -0
  132. package/docs/reports/unified-9.0.38/raw/platform-nginx-node22.json +21 -0
  133. package/docs/reports/unified-9.0.38/raw/platform-nginx-node24.json +21 -0
  134. package/docs/reports/unified-9.0.38/raw/qa-source-check.log +2 -0
  135. package/docs/reports/unified-9.0.38/raw/release-metadata.log +13 -0
  136. package/docs/reports/unified-9.0.38/raw/sbom.log +8 -0
  137. package/docs/reports/unified-9.0.38/raw/source-shape-node22.log +438 -0
  138. package/docs/reports/unified-9.0.38/raw/source-shape-node24.log +78 -0
  139. package/docs/reports/unified-9.0.38/raw/target-owner-bootstrap-node22.log +509 -0
  140. package/docs/reports/unified-9.0.38/raw/target-owner-bootstrap-node24.log +92 -0
  141. package/docs/reports/unified-9.0.38/raw/typecheck.log +5 -0
  142. package/docs/reports/unified-9.0.38/raw/ui-runtime.log +7 -0
  143. package/docs/reports/unified-9.0.39/PRUEFBERICHT.md +48 -0
  144. package/docs/reports/unified-9.0.39/raw/INDEX.json +51 -0
  145. package/docs/reports/unified-9.0.39/raw/node22-tests-final.log +18189 -0
  146. package/docs/reports/unified-9.0.39/raw/node22-version.log +1 -0
  147. package/docs/reports/unified-9.0.39/raw/node24-tests-final.log +3129 -0
  148. package/docs/reports/unified-9.0.39/raw/node24-version.log +1 -0
  149. package/docs/reports/unified-9.0.39/raw/npm-runtime-audit.json +77 -0
  150. package/docs/reports/unified-9.0.39/raw/overnight-simulation.json +117 -0
  151. package/docs/start/START_HIER_9.0.37.md +38 -0
  152. package/docs/start/START_HIER_9.0.38.md +21 -0
  153. package/docs/start/START_HIER_9.0.39.md +14 -0
  154. package/docs/unified/BESTANDSUEBERNAHME_9_0_7.md +2 -0
  155. package/docs/unified/DEVELOPMENT_FINDINGS.md +3 -1
  156. package/docs/unified/SECURITY_CRA.md +6 -0
  157. package/io-package.json +16 -16
  158. package/modules/ocpp/README.md +2 -0
  159. package/modules/ocpp/ocpp/common.js +64 -40
  160. package/modules/ocpp/ocpp/eos-contract.js +8 -3
  161. package/modules/ocpp/runtime.js +10 -5
  162. package/modules/ocpp/test/eos-contract.test.js +67 -0
  163. package/modules/ocpp/test/hosted.test.cjs +29 -1
  164. package/package.json +12 -4
  165. package/public/eos-migration/index.html +11 -4
  166. package/public/eos-migration/index.js +156 -18
  167. package/release-manifests/unified/build-environment.cdx.json +6 -6
  168. package/release-manifests/unified/files.json +290 -164
  169. package/release-manifests/unified/frontend.cdx.json +6 -6
  170. package/release-manifests/unified/installer.cdx.json +6 -6
  171. package/release-manifests/unified/obsolete-admin-assets.json +249 -0
  172. package/release-manifests/unified/runtime.cdx.json +27 -27
  173. package/release-manifests/unified/validation.json +17 -17
  174. package/tools/eos-release-manifest.cjs +3 -1
  175. package/ui/docs/STATES_AND_DATAPOINTS_DE.md +132 -0
  176. package/ui/ems/engine.js +5 -3
  177. package/ui/ems/evcs-control-mapping.js +13 -1
  178. package/ui/ems/modules/charging-management.js +40 -76
  179. package/ui/ems/modules/para14a.js +8 -3
  180. package/ui/ems/modules/storage-control.js +10 -5
  181. package/ui/ems/services/admin-overview-publisher.js +13 -7
  182. package/ui/ems/services/charging-management-audit.js +32 -1
  183. package/ui/ems/services/forecast-aware-target-planner.js +12 -5
  184. package/ui/ems/services/forecast-target-runtime-bridge.js +12 -5
  185. package/ui/io-package.json +13 -1
  186. package/ui/lib/charging-point-identity.js +91 -16
  187. package/ui/lib/hosted-adapter.js +35 -1
  188. package/ui/lib/notification-mail.js +95 -8
  189. package/ui/main.js +407 -61
  190. package/ui/package.json +1 -1
  191. package/ui/www/app.js +104 -89
  192. package/ui/www/charging-diagnostics-appcenter.js +12 -7
  193. package/ui/www/dashboard-lp-status.js +19 -12
  194. package/ui/www/evcs.js +71 -98
  195. package/ui/www/i18n/en.json +15 -0
  196. package/ui/www/i18n/nl.json +15 -0
  197. package/ui/www/live-display.js +145 -27
  198. package/ui/www/manifest.webmanifest +2 -2
  199. package/ui/www/storagefarm-dispatch.js +59 -8
  200. package/ui/www/storagefarm-summary.css +3 -1
  201. package/ui/www/storagefarm.html +2 -0
  202. package/adminWww/remoteEntry-eos-9.0.36.js +0 -12
@@ -0,0 +1,47 @@
1
+ // Offline Linux benchmark of the shipped dashboard classifier; no ioBroker, DOM or device I/O.
2
+ 'use strict';
3
+ const assert = require('node:assert/strict');
4
+ const { readFileSync } = require('node:fs');
5
+ const vm = require('node:vm');
6
+ const { setImmediate } = require('node:timers/promises');
7
+ const { performance } = require('node:perf_hooks');
8
+ const path = require('node:path');
9
+ async function main() {
10
+ const context = {window:{}};
11
+ vm.runInNewContext(readFileSync(path.join(process.argv[2], 'ui/www/live-display.js'), 'utf8'), context);
12
+ const classify = context.window.NexoWattLiveDisplay.dashboardStatus;
13
+ const healthy = { phase:'healthy' };
14
+ const supervisor = {state:'ok', failed:[], paused:[], deviceHealth:{state:'ok',offline:[],totalOffline:0}};
15
+ const members = Array.from({length:128}, (_, i) => ({dispatchKey:'unit-'+i,name:'Test '+i,online:true}));
16
+ let sampleCount = 0;
17
+ const set = () => {
18
+ for (let i=0; i<500; i++) {
19
+ const now = 1700000000000 + sampleCount++ * 10000;
20
+ supervisor.observedAt = now;
21
+ const measuredW = i % 2 === 0 ? 436 : 435;
22
+ const payload = members.map((row, index) => {
23
+ const measured = index === 127 ? measuredW : 576;
24
+ return {...row, powerComparison:{v:1, targetW:636, measuredW:measured, differenceW:636-measured,
25
+ commandAt:now-2000,sampledAt:now-500,validUntil:now+20000,warning:636-measured>200}};
26
+ });
27
+ const snapshot = { value:JSON.stringify(payload), ts:now, q:0, ack:true };
28
+ const expected = i % 2 ? 'warn' : 'ok';
29
+ for (let repeat=0; repeat<3; repeat++)
30
+ assert.equal(classify(healthy, 'ready', null, false, false, supervisor, now, snapshot).level, expected);
31
+ }
32
+ };
33
+ set();
34
+ await setImmediate(); global.gc();
35
+ const initial = process.memoryUsage().heapUsed;
36
+ const checkpoints = [];
37
+ const start = performance.now();
38
+ for (let i=0;i<6;i++) {
39
+ set(); await setImmediate(); global.gc();
40
+ checkpoints.push(process.memoryUsage().heapUsed);
41
+ }
42
+ console.log(JSON.stringify({node:process.version, platform:process.platform, arch:process.arch,
43
+ scope:'Synthetic 128-member JSON snapshots, alternating 200 W and 201 W on one member. Three real display classifications per snapshot, no DOM, EMS, or I/O.',
44
+ warmupSnapshots:500, measuredSnapshots:3000, renderingDecisions:9000, elapsedMs:Math.round(performance.now()-start),
45
+ initialHeapBytesAfterGC:initial, heapBytesAfterEvery500Snapshots:checkpoints}, null, 2));
46
+ }
47
+ main().catch(err=>{console.error(err);process.exitCode=1;});
@@ -0,0 +1,5 @@
1
+ npm warn Unknown env config "http-proxy". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
2
+
3
+ > iobroker.eos-admin@9.0.37 build:modules
4
+ > tsc -p modules/eebus/tsconfig.json && tsc -p modules/backup/tsconfig.json && tsc -p modules/ocpp/tsconfig.json
5
+
@@ -0,0 +1,28 @@
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 host starts three real device profiles while their first physical responses are still pending
7
+ ok 1 - real host starts three real device profiles while their first physical responses are still pending
8
+ ---
9
+ duration_ms: 699.378783
10
+ type: 'test'
11
+ ...
12
+ # (node:56) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time.
13
+ # (Use `node --trace-warnings ...` to show where the warning was created)
14
+ # Subtest: an EMS crash blocks manual starts until its accepted write completes, then recovers automatically
15
+ ok 2 - an EMS crash blocks manual starts until its accepted write completes, then recovers automatically
16
+ ---
17
+ duration_ms: 6290.841101
18
+ type: 'test'
19
+ ...
20
+ 1..2
21
+ # tests 2
22
+ # suites 0
23
+ # pass 2
24
+ # fail 0
25
+ # cancelled 0
26
+ # skipped 0
27
+ # todo 0
28
+ # duration_ms 7309.038853