iobroker.eos-admin 9.0.36 → 9.0.38

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 (173) hide show
  1. package/NEXOWATT_EOS_BUILD_INFO.json +10 -10
  2. package/README.md +15 -3
  3. package/adminWww/.vite/manifest.json +114 -114
  4. package/adminWww/NEXOWATT_EOS_FRONTEND_MANIFEST.json +13759 -13759
  5. package/adminWww/assets/{AdapterUpdateDialog-D2nDWE_N.js → AdapterUpdateDialog-D4gUYZep.js} +1 -1
  6. package/adminWww/assets/{Adapters-D0sVqNBU.js → Adapters-DLxiJc3y.js} +1 -1
  7. package/adminWww/assets/{ConfigManager-Zm7UoaaN.js → ConfigManager-D_YTKUdP.js} +1 -1
  8. package/adminWww/assets/{Enums-BGL7pR-O.js → Enums-D79rON6b.js} +1 -1
  9. package/adminWww/assets/{Fields-A8J3u1yq.js → Fields-CTOv49EU.js} +1 -1
  10. package/adminWww/assets/{Files-CQPjCvW6.js → Files-DNLzjEG5.js} +1 -1
  11. package/adminWww/assets/{Hosts-CxzkkNBj.js → Hosts-DHNboUMq.js} +1 -1
  12. package/adminWww/assets/{Instances-eEbEukDh.js → Instances-BJxYNJAC.js} +1 -1
  13. package/adminWww/assets/{Intro-I_Tknp0E.js → Intro-8R-Q7CR_.js} +1 -1
  14. package/adminWww/assets/{Logs-C3GPz61Q.js → Logs-CjAPhWuK.js} +1 -1
  15. package/adminWww/assets/{Objects-DDnisxNB.js → Objects-cvdqooGe.js} +1 -1
  16. package/adminWww/assets/{Overview-BpZFdEmp.js → Overview-JPfBOuKv.js} +1 -1
  17. package/adminWww/assets/{State-DY6Nw0SB.js → State-CGnvMceJ.js} +1 -1
  18. package/adminWww/assets/{UsedResources-CtUpdP2b.js → UsedResources-FBd9jThR.js} +1 -1
  19. package/adminWww/assets/{Users-DcqlSfc5.js → Users-BbUu3hZj.js} +1 -1
  20. package/adminWww/assets/{bootstrap-Didkuj-F.js → bootstrap-Df_WTIJg.js} +3 -3
  21. package/adminWww/assets/{hostInit-Chrs-wsg.js → hostInit-BQCRqFay.js} +1 -1
  22. package/adminWww/assets/{icons-material-SqwOQW6y.js → icons-material-DS82xOs8.js} +1 -1
  23. package/adminWww/assets/{index-CpDo61Mz.js → index-BlBZd8r8.js} +2 -2
  24. package/adminWww/assets/{installSVGRenderer-DZMZ3pJw.js → installSVGRenderer-BtlXF9y3.js} +1 -1
  25. package/adminWww/assets/{mf-entry-bootstrap-0-b0c4981a.js → mf-entry-bootstrap-0-8bb11ea2.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.36.js → remoteEntry-eos-9.0.38.js} +1 -1
  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 +2 -0
  44. package/docs/reports/unified-9.0.37/PRUEFBERICHT.md +59 -0
  45. package/docs/reports/unified-9.0.37/PRUEFERGEBNISSE.json +112 -0
  46. package/docs/reports/unified-9.0.37/raw/INDEX.json +232 -0
  47. package/docs/reports/unified-9.0.37/raw/backend.log +5 -0
  48. package/docs/reports/unified-9.0.37/raw/core-final-node22.log +1439 -0
  49. package/docs/reports/unified-9.0.37/raw/core-final-node24.log +1381 -0
  50. package/docs/reports/unified-9.0.37/raw/dashboard-935-screenshot.json +15 -0
  51. package/docs/reports/unified-9.0.37/raw/dashboard-de-en-nl.json +1059 -0
  52. package/docs/reports/unified-9.0.37/raw/ems-ui-nvp-integration.json +245 -0
  53. package/docs/reports/unified-9.0.37/raw/farm-and-dashboard-935.json +11 -0
  54. package/docs/reports/unified-9.0.37/raw/farm-tracking-source-tests.log +80 -0
  55. package/docs/reports/unified-9.0.37/raw/fixtures-verification.log +39 -0
  56. package/docs/reports/unified-9.0.37/raw/frontend.log +160 -0
  57. package/docs/reports/unified-9.0.37/raw/installer.log +26 -0
  58. package/docs/reports/unified-9.0.37/raw/lint.log +45 -0
  59. package/docs/reports/unified-9.0.37/raw/measure-storage-display.cjs +47 -0
  60. package/docs/reports/unified-9.0.37/raw/modules.log +5 -0
  61. package/docs/reports/unified-9.0.37/raw/node22-isolated-start-deadlines.log +28 -0
  62. package/docs/reports/unified-9.0.37/raw/node22-migration.log +1329 -0
  63. package/docs/reports/unified-9.0.37/raw/node22-mira.log +222 -0
  64. package/docs/reports/unified-9.0.37/raw/node22-parallel-initial.log +13278 -0
  65. package/docs/reports/unified-9.0.37/raw/node22-startzeiten.json +21 -0
  66. package/docs/reports/unified-9.0.37/raw/node22-system-status.log +639 -0
  67. package/docs/reports/unified-9.0.37/raw/node22-tests-final.log +18494 -0
  68. package/docs/reports/unified-9.0.37/raw/node22-version.log +1 -0
  69. package/docs/reports/unified-9.0.37/raw/node24-migration.log +1301 -0
  70. package/docs/reports/unified-9.0.37/raw/node24-mira.log +41 -0
  71. package/docs/reports/unified-9.0.37/raw/node24-system-status.log +111 -0
  72. package/docs/reports/unified-9.0.37/raw/node24-tests-final.log +3080 -0
  73. package/docs/reports/unified-9.0.37/raw/node24-version.log +1 -0
  74. package/docs/reports/unified-9.0.37/raw/npm-runtime-audit.json +77 -0
  75. package/docs/reports/unified-9.0.37/raw/platform-acl-node22.log +98 -0
  76. package/docs/reports/unified-9.0.37/raw/platform-acl-node24.log +22 -0
  77. package/docs/reports/unified-9.0.37/raw/platform-nginx-node22.json +21 -0
  78. package/docs/reports/unified-9.0.37/raw/platform-nginx-node24.json +21 -0
  79. package/docs/reports/unified-9.0.37/raw/qa-source-check.log +2 -0
  80. package/docs/reports/unified-9.0.37/raw/release-metadata.log +13 -0
  81. package/docs/reports/unified-9.0.37/raw/sbom.log +8 -0
  82. package/docs/reports/unified-9.0.37/raw/speicher-warnschwelle-integration.json +172 -0
  83. package/docs/reports/unified-9.0.37/raw/sse-backpressure-9.0.35.log +1 -0
  84. package/docs/reports/unified-9.0.37/raw/sse-backpressure-9.0.37.log +1 -0
  85. package/docs/reports/unified-9.0.37/raw/storage-display-memory-node22.json +19 -0
  86. package/docs/reports/unified-9.0.37/raw/storage-display-memory-node24.json +19 -0
  87. package/docs/reports/unified-9.0.37/raw/typecheck.log +5 -0
  88. package/docs/reports/unified-9.0.37/raw/ui-runtime.log +7 -0
  89. package/docs/reports/unified-9.0.38/PRUEFBERICHT.md +51 -0
  90. package/docs/reports/unified-9.0.38/PRUEFERGEBNISSE.json +112 -0
  91. package/docs/reports/unified-9.0.38/raw/INDEX.json +272 -0
  92. package/docs/reports/unified-9.0.38/raw/backend.log +5 -0
  93. package/docs/reports/unified-9.0.38/raw/core-final-node22.log +1439 -0
  94. package/docs/reports/unified-9.0.38/raw/core-final-node24.log +1381 -0
  95. package/docs/reports/unified-9.0.38/raw/dashboard-de-en-nl.json +1044 -0
  96. package/docs/reports/unified-9.0.38/raw/field-upgrade-936-node22.log +21 -0
  97. package/docs/reports/unified-9.0.38/raw/field-upgrade-936-node24.log +10 -0
  98. package/docs/reports/unified-9.0.38/raw/fixtures-verification.log +39 -0
  99. package/docs/reports/unified-9.0.38/raw/frontend.log +152 -0
  100. package/docs/reports/unified-9.0.38/raw/installer.log +26 -0
  101. package/docs/reports/unified-9.0.38/raw/legacy-historian-provenance.json +44 -0
  102. package/docs/reports/unified-9.0.38/raw/legacy-history-built-influx.log +10 -0
  103. package/docs/reports/unified-9.0.38/raw/legacy-history-misbinding-937.log +1 -0
  104. package/docs/reports/unified-9.0.38/raw/legacy-history-providers-node22.log +326 -0
  105. package/docs/reports/unified-9.0.38/raw/legacy-history-providers-node24.log +58 -0
  106. package/docs/reports/unified-9.0.38/raw/legacy-history-real-influx.log +10 -0
  107. package/docs/reports/unified-9.0.38/raw/legacy-history-source-comparison.json +12 -0
  108. package/docs/reports/unified-9.0.38/raw/legacy-template-interfaces.json +21 -0
  109. package/docs/reports/unified-9.0.38/raw/lint.log +45 -0
  110. package/docs/reports/unified-9.0.38/raw/migration-admin-browser-node22.log +86 -0
  111. package/docs/reports/unified-9.0.38/raw/migration-admin-browser-node24.log +84 -0
  112. package/docs/reports/unified-9.0.38/raw/migration-live-children-node22.log +20 -0
  113. package/docs/reports/unified-9.0.38/raw/migration-live-children-node24.log +9 -0
  114. package/docs/reports/unified-9.0.38/raw/migration-process-admin-node22.log +831 -0
  115. package/docs/reports/unified-9.0.38/raw/migration-process-admin-node24.log +144 -0
  116. package/docs/reports/unified-9.0.38/raw/modules.log +5 -0
  117. package/docs/reports/unified-9.0.38/raw/node22-initial-destination-channel.log +13298 -0
  118. package/docs/reports/unified-9.0.38/raw/node22-migration.log +1443 -0
  119. package/docs/reports/unified-9.0.38/raw/node22-mira.log +222 -0
  120. package/docs/reports/unified-9.0.38/raw/node22-system-status.log +639 -0
  121. package/docs/reports/unified-9.0.38/raw/node22-tests-final.log +18620 -0
  122. package/docs/reports/unified-9.0.38/raw/node22-version.log +1 -0
  123. package/docs/reports/unified-9.0.38/raw/node24-migration.log +1411 -0
  124. package/docs/reports/unified-9.0.38/raw/node24-mira.log +41 -0
  125. package/docs/reports/unified-9.0.38/raw/node24-system-status.log +111 -0
  126. package/docs/reports/unified-9.0.38/raw/node24-tests-final.log +3102 -0
  127. package/docs/reports/unified-9.0.38/raw/node24-version.log +1 -0
  128. package/docs/reports/unified-9.0.38/raw/npm-runtime-audit.json +77 -0
  129. package/docs/reports/unified-9.0.38/raw/platform-acl-node22.log +98 -0
  130. package/docs/reports/unified-9.0.38/raw/platform-acl-node24.log +22 -0
  131. package/docs/reports/unified-9.0.38/raw/platform-nginx-node22.json +21 -0
  132. package/docs/reports/unified-9.0.38/raw/platform-nginx-node24.json +21 -0
  133. package/docs/reports/unified-9.0.38/raw/qa-source-check.log +2 -0
  134. package/docs/reports/unified-9.0.38/raw/release-metadata.log +13 -0
  135. package/docs/reports/unified-9.0.38/raw/sbom.log +8 -0
  136. package/docs/reports/unified-9.0.38/raw/source-shape-node22.log +438 -0
  137. package/docs/reports/unified-9.0.38/raw/source-shape-node24.log +78 -0
  138. package/docs/reports/unified-9.0.38/raw/target-owner-bootstrap-node22.log +509 -0
  139. package/docs/reports/unified-9.0.38/raw/target-owner-bootstrap-node24.log +92 -0
  140. package/docs/reports/unified-9.0.38/raw/typecheck.log +5 -0
  141. package/docs/reports/unified-9.0.38/raw/ui-runtime.log +7 -0
  142. package/docs/start/START_HIER_9.0.37.md +38 -0
  143. package/docs/start/START_HIER_9.0.38.md +21 -0
  144. package/docs/unified/BESTANDSUEBERNAHME_9_0_7.md +2 -0
  145. package/docs/unified/DEVELOPMENT_FINDINGS.md +3 -1
  146. package/docs/unified/SECURITY_CRA.md +6 -0
  147. package/io-package.json +12 -12
  148. package/package.json +8 -4
  149. package/public/eos-migration/index.html +11 -4
  150. package/public/eos-migration/index.js +156 -18
  151. package/release-manifests/unified/build-environment.cdx.json +6 -6
  152. package/release-manifests/unified/files.json +229 -117
  153. package/release-manifests/unified/frontend.cdx.json +6 -6
  154. package/release-manifests/unified/installer.cdx.json +6 -6
  155. package/release-manifests/unified/obsolete-admin-assets.json +166 -0
  156. package/release-manifests/unified/runtime.cdx.json +26 -26
  157. package/release-manifests/unified/validation.json +15 -15
  158. package/tools/eos-release-manifest.cjs +1 -1
  159. package/ui/ems/modules/para14a.js +8 -3
  160. package/ui/ems/modules/storage-control.js +10 -5
  161. package/ui/io-package.json +9 -1
  162. package/ui/lib/notification-mail.js +95 -8
  163. package/ui/main.js +339 -21
  164. package/ui/package.json +1 -1
  165. package/ui/www/app.js +48 -18
  166. package/ui/www/i18n/en.json +15 -0
  167. package/ui/www/i18n/nl.json +15 -0
  168. package/ui/www/licenses/smarthome-markdown-components.json +156 -156
  169. package/ui/www/live-display.js +145 -27
  170. package/ui/www/manifest.webmanifest +2 -2
  171. package/ui/www/storagefarm-dispatch.js +59 -8
  172. package/ui/www/storagefarm-summary.css +3 -1
  173. package/ui/www/storagefarm.html +2 -0
@@ -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