iobroker.eos-admin 9.0.35 → 9.0.36

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 (139) hide show
  1. package/NEXOWATT_EOS_BUILD_INFO.json +10 -13
  2. package/README.md +9 -3
  3. package/adminWww/.vite/manifest.json +39 -39
  4. package/adminWww/NEXOWATT_EOS_FRONTEND_MANIFEST.json +107 -107
  5. package/adminWww/assets/{AdapterUpdateDialog-DH6S-kWX.js → AdapterUpdateDialog-D2nDWE_N.js} +1 -1
  6. package/adminWww/assets/{Adapters-CIlqSF5B.js → Adapters-D0sVqNBU.js} +1 -1
  7. package/adminWww/assets/{ConfigManager-BhVBfM-q.js → ConfigManager-Zm7UoaaN.js} +1 -1
  8. package/adminWww/assets/{Enums-3H97czGs.js → Enums-BGL7pR-O.js} +1 -1
  9. package/adminWww/assets/{Fields-vWLKiuvO.js → Fields-A8J3u1yq.js} +1 -1
  10. package/adminWww/assets/{Files-wmjjMXYM.js → Files-CQPjCvW6.js} +1 -1
  11. package/adminWww/assets/{Hosts-Bk-xmI98.js → Hosts-CxzkkNBj.js} +1 -1
  12. package/adminWww/assets/{Instances-Db6Vgh62.js → Instances-eEbEukDh.js} +1 -1
  13. package/adminWww/assets/{Intro-Dc3wAG9V.js → Intro-I_Tknp0E.js} +1 -1
  14. package/adminWww/assets/{Logs-CPbEGWNq.js → Logs-C3GPz61Q.js} +1 -1
  15. package/adminWww/assets/{Objects-DJB-2468.js → Objects-DDnisxNB.js} +1 -1
  16. package/adminWww/assets/{Overview-DdvghCLQ.js → Overview-BpZFdEmp.js} +1 -1
  17. package/adminWww/assets/{State-0UzpgKYj.js → State-DY6Nw0SB.js} +1 -1
  18. package/adminWww/assets/{UsedResources-Bcmo58YD.js → UsedResources-CtUpdP2b.js} +1 -1
  19. package/adminWww/assets/{Users-BGHf3Rox.js → Users-DcqlSfc5.js} +1 -1
  20. package/adminWww/assets/{bootstrap-qkrk_CAn.js → bootstrap-Didkuj-F.js} +3 -3
  21. package/adminWww/assets/{hostInit-DlGqatlv.js → hostInit-Chrs-wsg.js} +1 -1
  22. package/adminWww/assets/{icons-material-CUNq6tdT.js → icons-material-SqwOQW6y.js} +1 -1
  23. package/adminWww/assets/{index-BrtKq3UN.js → index-CpDo61Mz.js} +2 -2
  24. package/adminWww/assets/{installSVGRenderer-DujLjpXt.js → installSVGRenderer-DZMZ3pJw.js} +1 -1
  25. package/adminWww/assets/{mf-entry-bootstrap-0-3e1cd85c.js → mf-entry-bootstrap-0-b0c4981a.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 +12 -0
  30. package/adminWww/remoteEntry.js +1 -1
  31. package/build/lib/eosDashboardProcessStatus.js +11 -3
  32. package/build/lib/eosDashboardProcessStatus.js.map +1 -1
  33. package/build/lib/eosLegacyMigration.js +142 -49
  34. package/build/lib/eosLegacyMigration.js.map +1 -1
  35. package/build/lib/eosLicenseService.js +9 -0
  36. package/build/lib/eosLicenseService.js.map +1 -1
  37. package/build/lib/eosModuleConfigStore.js +21 -8
  38. package/build/lib/eosModuleConfigStore.js.map +1 -1
  39. package/build/lib/eosModuleHost.js +271 -104
  40. package/build/lib/eosModuleHost.js.map +1 -1
  41. package/build/lib/eosModuleHttp.js +23 -5
  42. package/build/lib/eosModuleHttp.js.map +1 -1
  43. package/build/lib/eosModuleProcess.js +17 -6
  44. package/build/lib/eosModuleProcess.js.map +1 -1
  45. package/build/lib/eosModuleProcessWorker.js +34 -1
  46. package/build/lib/eosModuleProcessWorker.js.map +1 -1
  47. package/build/lib/eosRuntimeControl.js +48 -14
  48. package/build/lib/eosRuntimeControl.js.map +1 -1
  49. package/build/lib/eosRuntimeHealth.js +35 -7
  50. package/build/lib/eosRuntimeHealth.js.map +1 -1
  51. package/build/lib/eosSupervisorNotifications.js +1 -1
  52. package/build/lib/eosSupervisorNotifications.js.map +1 -1
  53. package/build/lib/eosUiProcess.js +42 -4
  54. package/build/lib/eosUiProcess.js.map +1 -1
  55. package/build/lib/eosUiProcessWorker.js +21 -0
  56. package/build/lib/eosUiProcessWorker.js.map +1 -1
  57. package/build/lib/eosUnifiedOwnership.js +10 -8
  58. package/build/lib/eosUnifiedOwnership.js.map +1 -1
  59. package/build/lib/web.js +28 -24
  60. package/build/lib/web.js.map +1 -1
  61. package/build/main.js +35 -0
  62. package/build/main.js.map +1 -1
  63. package/docs/README.md +1 -0
  64. package/docs/reports/unified-9.0.36/MIGRATION.md +25 -0
  65. package/docs/reports/unified-9.0.36/PRUEFBERICHT.md +61 -0
  66. package/docs/reports/unified-9.0.36/PRUEFERGEBNISSE.json +112 -0
  67. package/docs/reports/unified-9.0.36/raw/INDEX.json +262 -0
  68. package/docs/reports/unified-9.0.36/raw/admin-934-legacy-ui-reproduction.json +66 -0
  69. package/docs/reports/unified-9.0.36/raw/admin-936-legacy-ui-reproduction.json +64 -0
  70. package/docs/reports/unified-9.0.36/raw/admin-health-browser22.json +49 -0
  71. package/docs/reports/unified-9.0.36/raw/admin-health-browser24.json +49 -0
  72. package/docs/reports/unified-9.0.36/raw/admin-runtime-migration-browser22.json +80 -0
  73. package/docs/reports/unified-9.0.36/raw/admin-runtime-migration-browser24.json +80 -0
  74. package/docs/reports/unified-9.0.36/raw/backend.log +6 -0
  75. package/docs/reports/unified-9.0.36/raw/core-final-node22.log +1439 -0
  76. package/docs/reports/unified-9.0.36/raw/core-final-node24.log +1381 -0
  77. package/docs/reports/unified-9.0.36/raw/customer-934-node22-final.log +78 -0
  78. package/docs/reports/unified-9.0.36/raw/customer-934-node22-repeat.log +78 -0
  79. package/docs/reports/unified-9.0.36/raw/customer-935-node24-final.log +74 -0
  80. package/docs/reports/unified-9.0.36/raw/customer-935-node24-repeat.log +74 -0
  81. package/docs/reports/unified-9.0.36/raw/customer-admin-six-controls24.log +24 -0
  82. package/docs/reports/unified-9.0.36/raw/customer-earlier-pid-stop.log +22 -0
  83. package/docs/reports/unified-9.0.36/raw/customer-six-process-restart-node22.log +28 -0
  84. package/docs/reports/unified-9.0.36/raw/customer-six-process-restart-node24.log +24 -0
  85. package/docs/reports/unified-9.0.36/raw/dashboard-de-en-nl.json +728 -0
  86. package/docs/reports/unified-9.0.36/raw/fixtures-verification.log +44 -0
  87. package/docs/reports/unified-9.0.36/raw/frontend.log +152 -0
  88. package/docs/reports/unified-9.0.36/raw/installer.log +26 -0
  89. package/docs/reports/unified-9.0.36/raw/legacy-migration-node22.log +630 -0
  90. package/docs/reports/unified-9.0.36/raw/legacy-migration-node24.log +109 -0
  91. package/docs/reports/unified-9.0.36/raw/lint.log +45 -0
  92. package/docs/reports/unified-9.0.36/raw/module-standby-drain22.log +446 -0
  93. package/docs/reports/unified-9.0.36/raw/module-standby-drain24.log +80 -0
  94. package/docs/reports/unified-9.0.36/raw/module-standby-linux-memory.log +6 -0
  95. package/docs/reports/unified-9.0.36/raw/modules.log +5 -0
  96. package/docs/reports/unified-9.0.36/raw/node22-migration.log +1329 -0
  97. package/docs/reports/unified-9.0.36/raw/node22-mira.log +222 -0
  98. package/docs/reports/unified-9.0.36/raw/node22-system-status.log +225 -0
  99. package/docs/reports/unified-9.0.36/raw/node22-tests-final.log +18358 -0
  100. package/docs/reports/unified-9.0.36/raw/node22-version.log +1 -0
  101. package/docs/reports/unified-9.0.36/raw/node24-migration.log +1301 -0
  102. package/docs/reports/unified-9.0.36/raw/node24-mira.log +41 -0
  103. package/docs/reports/unified-9.0.36/raw/node24-system-status.log +42 -0
  104. package/docs/reports/unified-9.0.36/raw/node24-tests-final.log +3058 -0
  105. package/docs/reports/unified-9.0.36/raw/node24-version.log +1 -0
  106. package/docs/reports/unified-9.0.36/raw/npm-runtime-audit.json +77 -0
  107. package/docs/reports/unified-9.0.36/raw/ocpp-owner-isolation22.log +109 -0
  108. package/docs/reports/unified-9.0.36/raw/ocpp-owner-isolation24.log +24 -0
  109. package/docs/reports/unified-9.0.36/raw/qa-source-check.log +2 -0
  110. package/docs/reports/unified-9.0.36/raw/release-metadata.log +13 -0
  111. package/docs/reports/unified-9.0.36/raw/sbom.log +9 -0
  112. package/docs/reports/unified-9.0.36/raw/standby-independent-drain.log +4 -0
  113. package/docs/reports/unified-9.0.36/raw/standby-independent-sockets.log +3 -0
  114. package/docs/reports/unified-9.0.36/raw/typecheck.log +5 -0
  115. package/docs/reports/unified-9.0.36/raw/ui-runtime.log +8 -0
  116. package/docs/start/START_HIER_9.0.36.md +32 -0
  117. package/docs/unified/ARCHITECTURE.md +6 -0
  118. package/io-package.json +8 -8
  119. package/package.json +5 -3
  120. package/public/eos-migration/index.html +1 -1
  121. package/public/eos-migration/index.js +23 -7
  122. package/public/eos-runtime/index.js +82 -15
  123. package/release-manifests/unified/build-environment.cdx.json +6 -6
  124. package/release-manifests/unified/files.json +199 -142
  125. package/release-manifests/unified/frontend.cdx.json +6 -6
  126. package/release-manifests/unified/installer.cdx.json +6 -6
  127. package/release-manifests/unified/obsolete-admin-assets.json +83 -0
  128. package/release-manifests/unified/runtime.cdx.json +26 -26
  129. package/release-manifests/unified/validation.json +15 -15
  130. package/tools/eos-release-manifest.cjs +1 -1
  131. package/ui/io-package.json +5 -1
  132. package/ui/lib/hosted-startup-status.js +2 -2
  133. package/ui/package.json +1 -1
  134. package/ui/www/dashboard-process-status.js +7 -4
  135. package/ui/www/i18n/en.json +1 -0
  136. package/ui/www/i18n/nl.json +1 -0
  137. package/ui/www/live-display.js +10 -5
  138. package/ui/www/manifest.webmanifest +2 -2
  139. package/adminWww/remoteEntry-eos-9.0.35.js +0 -12
@@ -0,0 +1,77 @@
1
+ {
2
+ "auditReportVersion": 2,
3
+ "vulnerabilities": {
4
+ "ajv": {
5
+ "name": "ajv",
6
+ "severity": "moderate",
7
+ "isDirect": false,
8
+ "via": [
9
+ {
10
+ "source": 1113715,
11
+ "name": "ajv",
12
+ "dependency": "ajv",
13
+ "title": "ajv has ReDoS when using `$data` option",
14
+ "url": "https://github.com/advisories/GHSA-2g4f-4pwh-qvx6",
15
+ "severity": "moderate",
16
+ "cwe": [
17
+ "CWE-400",
18
+ "CWE-1333"
19
+ ],
20
+ "cvss": {
21
+ "score": 0,
22
+ "vectorString": null
23
+ },
24
+ "range": ">=7.0.0-alpha.0 <8.18.0"
25
+ }
26
+ ],
27
+ "effects": [
28
+ "ocpp-rpc"
29
+ ],
30
+ "range": "7.0.0-alpha.0 - 8.17.1",
31
+ "nodes": [
32
+ "node_modules/ocpp-rpc/node_modules/ajv"
33
+ ],
34
+ "fixAvailable": {
35
+ "name": "ocpp-rpc",
36
+ "version": "2.1.1",
37
+ "isSemVerMajor": true
38
+ }
39
+ },
40
+ "ocpp-rpc": {
41
+ "name": "ocpp-rpc",
42
+ "severity": "moderate",
43
+ "isDirect": true,
44
+ "via": [
45
+ "ajv"
46
+ ],
47
+ "effects": [],
48
+ "range": ">=2.1.2",
49
+ "nodes": [
50
+ "node_modules/ocpp-rpc"
51
+ ],
52
+ "fixAvailable": {
53
+ "name": "ocpp-rpc",
54
+ "version": "2.1.1",
55
+ "isSemVerMajor": true
56
+ }
57
+ }
58
+ },
59
+ "metadata": {
60
+ "vulnerabilities": {
61
+ "info": 0,
62
+ "low": 0,
63
+ "moderate": 2,
64
+ "high": 0,
65
+ "critical": 0,
66
+ "total": 2
67
+ },
68
+ "dependencies": {
69
+ "prod": 373,
70
+ "dev": 477,
71
+ "optional": 68,
72
+ "peer": 362,
73
+ "peerOptional": 0,
74
+ "total": 928
75
+ }
76
+ }
77
+ }
@@ -0,0 +1,109 @@
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: UI/EMS crash, automatic restart and stop preserve Devices, EEBUS and OCPP PIDs plus the live OCPP session
7
+ ok 1 - UI/EMS crash, automatic restart and stop preserve Devices, EEBUS and OCPP PIDs plus the live OCPP session
8
+ ---
9
+ duration_ms: 8001.681938
10
+ type: 'test'
11
+ ...
12
+ # (node:13) [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: hosted OCPP facade writes local states in only its current or explicitly preserved namespace
15
+ # Subtest: embedded namespace
16
+ ok 1 - embedded namespace
17
+ ---
18
+ duration_ms: 38.812198
19
+ type: 'test'
20
+ ...
21
+ # Subtest: preserved standalone namespace
22
+ ok 2 - preserved standalone namespace
23
+ ---
24
+ duration_ms: 1.922039
25
+ type: 'test'
26
+ ...
27
+ 1..2
28
+ ok 2 - hosted OCPP facade writes local states in only its current or explicitly preserved namespace
29
+ ---
30
+ duration_ms: 42.215084
31
+ type: 'test'
32
+ ...
33
+ # Subtest: hosted OCPP scans reject foreign, oversized and malformed controller inventories without partial success
34
+ ok 3 - hosted OCPP scans reject foreign, oversized and malformed controller inventories without partial success
35
+ ---
36
+ duration_ms: 42.799241
37
+ type: 'test'
38
+ ...
39
+ # Subtest: hosted OCPP configuration views accept only bounded own-station ranges and validate both value and doc identifiers
40
+ ok 4 - hosted OCPP configuration views accept only bounded own-station ranges and validate both value and doc identifiers
41
+ ---
42
+ duration_ms: 5.836254
43
+ type: 'test'
44
+ ...
45
+ # Subtest: hosted OCPP cannot publish a late inventory or dispatch a queued write after its generation is revoked
46
+ ok 5 - hosted OCPP cannot publish a late inventory or dispatch a queued write after its generation is revoked
47
+ ---
48
+ duration_ms: 1.492982
49
+ type: 'test'
50
+ ...
51
+ # Subtest: OCPP acknowledged telemetry bursts never re-enter IPC, while the original command event is preserved
52
+ ok 6 - OCPP acknowledged telemetry bursts never re-enter IPC, while the original command event is preserved
53
+ ---
54
+ duration_ms: 5.287081
55
+ type: 'test'
56
+ ...
57
+ # (node:19) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time.
58
+ # (Use `node --trace-warnings ...` to show where the warning was created)
59
+ # Subtest: configured Devices remain startable with unsupported external OCPP version and no prior migration journal
60
+ ok 7 - configured Devices remain startable with unsupported external OCPP version and no prior migration journal
61
+ ---
62
+ duration_ms: 19.785804
63
+ type: 'test'
64
+ ...
65
+ # Subtest: configured Devices remain startable with supported external OCPP version and no prior migration journal
66
+ ok 8 - configured Devices remain startable with supported external OCPP version and no prior migration journal
67
+ ---
68
+ duration_ms: 4.645983
69
+ type: 'test'
70
+ ...
71
+ # Subtest: configured Devices remain startable with multiple external OCPP instances and no prior migration journal
72
+ ok 9 - configured Devices remain startable with multiple external OCPP instances and no prior migration journal
73
+ ---
74
+ duration_ms: 7.892493
75
+ type: 'test'
76
+ ...
77
+ # Subtest: configured Devices remain startable with external OCPP outside embedded module grant and no prior migration journal
78
+ ok 10 - configured Devices remain startable with external OCPP outside embedded module grant and no prior migration journal
79
+ ---
80
+ duration_ms: 4.739756
81
+ type: 'test'
82
+ ...
83
+ # Subtest: previously blocked optional OCPP inventory recovers on startup and actual Devices child runs
84
+ ok 11 - previously blocked optional OCPP inventory recovers on startup and actual Devices child runs
85
+ ---
86
+ duration_ms: 321.638238
87
+ type: 'test'
88
+ ...
89
+ # Subtest: optional OCPP handling does not bypass the core license gate
90
+ ok 12 - optional OCPP handling does not bypass the core license gate
91
+ ---
92
+ duration_ms: 4.751636
93
+ type: 'test'
94
+ ...
95
+ # Subtest: invalid actual Devices migration candidate still blocks startup
96
+ ok 13 - invalid actual Devices migration candidate still blocks startup
97
+ ---
98
+ duration_ms: 12.836256
99
+ type: 'test'
100
+ ...
101
+ 1..13
102
+ # tests 15
103
+ # suites 0
104
+ # pass 15
105
+ # fail 0
106
+ # cancelled 0
107
+ # skipped 0
108
+ # todo 0
109
+ # duration_ms 8514.954375
@@ -0,0 +1,24 @@
1
+ ✔ UI/EMS crash, automatic restart and stop preserve Devices, EEBUS and OCPP PIDs plus the live OCPP session (7788.18038ms)
2
+ ▶ hosted OCPP facade writes local states in only its current or explicitly preserved namespace
3
+ ✔ embedded namespace (32.066515ms)
4
+ ✔ preserved standalone namespace (3.091882ms)
5
+ ✔ hosted OCPP facade writes local states in only its current or explicitly preserved namespace (37.137138ms)
6
+ ✔ hosted OCPP scans reject foreign, oversized and malformed controller inventories without partial success (43.82656ms)
7
+ ✔ hosted OCPP configuration views accept only bounded own-station ranges and validate both value and doc identifiers (2.890011ms)
8
+ ✔ hosted OCPP cannot publish a late inventory or dispatch a queued write after its generation is revoked (1.946376ms)
9
+ ✔ OCPP acknowledged telemetry bursts never re-enter IPC, while the original command event is preserved (5.665379ms)
10
+ ✔ configured Devices remain startable with unsupported external OCPP version and no prior migration journal (29.308714ms)
11
+ ✔ configured Devices remain startable with supported external OCPP version and no prior migration journal (3.557674ms)
12
+ ✔ configured Devices remain startable with multiple external OCPP instances and no prior migration journal (7.603138ms)
13
+ ✔ configured Devices remain startable with external OCPP outside embedded module grant and no prior migration journal (5.447534ms)
14
+ ✔ previously blocked optional OCPP inventory recovers on startup and actual Devices child runs (453.090678ms)
15
+ ✔ optional OCPP handling does not bypass the core license gate (3.716312ms)
16
+ ✔ invalid actual Devices migration candidate still blocks startup (5.255144ms)
17
+ ℹ tests 15
18
+ ℹ suites 0
19
+ ℹ pass 15
20
+ ℹ fail 0
21
+ ℹ cancelled 0
22
+ ℹ skipped 0
23
+ ℹ todo 0
24
+ ℹ duration_ms 8387.337583
@@ -0,0 +1,2 @@
1
+ Node 22: 3826 current release-program, test and configuration inputs match the tested checkout byte for byte.
2
+ Node 24: 3826 current release-program, test and configuration inputs match the tested checkout byte for byte.
@@ -0,0 +1,13 @@
1
+ ✔ unified metadata validates against the unchanged upstream schema (126.763037ms)
2
+ ✔ ioBroker JSON configuration remains valid (426.862377ms)
3
+ ✔ release version synchronization preserves the ioBroker schema and news limit (89.075134ms)
4
+ ✔ own instance states have meaningful roles without changing existing state types (0.413044ms)
5
+ ✔ one installable adapter and a retained Express4 UI runtime (0.533852ms)
6
+ ℹ tests 5
7
+ ℹ suites 0
8
+ ℹ pass 5
9
+ ℹ fail 0
10
+ ℹ cancelled 0
11
+ ℹ skipped 0
12
+ ℹ todo 0
13
+ ℹ duration_ms 813.755346
@@ -0,0 +1,9 @@
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
+ 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.
3
+ 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.
4
+ {"changed":true,"component":"nexowatt:vendored:webserver@3.4.0+nexowatt.9.0.36","fullComponents":866,"runtimeDirectDependencies":35,"components":433,"bomVersion":2}
5
+ {"changed":false,"component":"nexowatt:vendored:webserver@3.4.0+nexowatt.9.0.36","fullComponents":866,"runtimeDirectDependencies":35,"components":433,"bomVersion":2}
6
+ build-environment 866
7
+ frontend 574
8
+ installer 127
9
+ {"changed":false,"component":"nexowatt:vendored:webserver@3.4.0+nexowatt.9.0.36","fullComponents":866,"runtimeDirectDependencies":35,"components":433,"bomVersion":2}
@@ -0,0 +1,4 @@
1
+ (node:6) ExperimentalWarning: stripTypeScriptTypes is an experimental feature and might change at any time
2
+ (Use `node --trace-warnings ...` to show where the warning was created)
3
+ {"runsDuringUnsettledStop":1,"oldStopCompleted":0,"activeDuringDrain":false}
4
+ {"runsAfter":2,"oldStops":1,"installed":3500,"activeConfig":3500}
@@ -0,0 +1,3 @@
1
+ (node:6) ExperimentalWarning: stripTypeScriptTypes is an experimental feature and might change at any time
2
+ (Use `node --trace-warnings ...` to show where the warning was created)
3
+ {"samePid":true,"claimedHardware":0,"controllerWrites":0,"socketsByFamily":{"tcp":0,"tcp6":0,"udp":0,"udp6":0,"raw":0,"raw6":0}}
@@ -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.36 typecheck
4
+ > tsc -p tsconfig.build.json --noEmit && tsc -p ui/tsconfig.ephemeral-cache.json && tsc -p ui/tsconfig.hosted-adapter.json && tsc -p modules/eebus/tsconfig.json --noEmit && tsc -p modules/backup/tsconfig.json --noEmit && tsc -p ui/tsconfig.smarthome-activation.json && tsc -p ui/tsconfig.ui-auth-frontend.json && tsc -p ui/tsconfig.preserved-ui-config.json && tsc -p ui/tsconfig.smarthome-feedback.json && tsc -p ui/tsconfig.smarthome-touch.json && tsc -p ui/tsconfig.smarthome-presentation.json && tsc -p ui/tsconfig.smarthome-device-controls.json && tsc -p ui/tsconfig.smarthome-device-api.json && tsc -p ui/tsconfig.smarthome-device-detection.json && tsc -p ui/tsconfig.smarthome-device-config.json && tsc -p ui/tsconfig.smarthome-device-controls-browser.json && tsc -p ui/tsconfig.smarthome-custom-views.json && tsc -p ui/tsconfig.smarthome-custom-contract.json && tsc -p ui/tsconfig.smarthome-custom-config.json && tsc -p ui/tsconfig.smarthome-device-legacy.json && tsc -p ui/tsconfig.smarthome-device-aliases.json && tsc -p ui/tsconfig.smarthome-alias-config.json && tsc -p ui/tsconfig.smarthome-device-categories.json && tsc -p ui/tsconfig.smarthome-layout-editor.json && tsc -p ui/tsconfig.hosted-runtime-stop.json && tsc -p ui/tsconfig.smarthome-setup.json && tsc -p ui/tsconfig.hosted-startup-status.json && tsc -p tsconfig.eos-device-ems.json && tsc -p modules/devices/tsconfig.ems-ui.json && tsc -p ui/tsconfig.installer-lifecycle.json && tsc -p ui/tsconfig.customer-tariff.json && tsc -p ui/tsconfig.customer-tariff-ui.json && tsc -p modules/devices/tsconfig.alias-semantics.json && tsc -p ui/tsconfig.power-measurements.json && tsc -p ui/tsconfig.storagefarm-summary-ui.json && tsc -p ui/tsconfig.tariff-display-ui.json && tsc -p ui/tsconfig.live-display-ui.json && tsc -p modules/devices/tsconfig.serial-lifecycle.json && tsc -p ui/tsconfig.storagefarm-dispatch-ui.json && tsc -p ui/tsconfig.influx-direct.json && tsc -p ui/tsconfig.influx-security.json && tsc -p ui/tsconfig.influx-history-runtime.json && tsc -p ui/src-admin-tab/tsconfig.json && tsc -p modules/devices/tsconfig.mqtt-lifecycle.json && tsc -p ui/tsconfig.eos-updates-ui.json && tsc -p tsconfig.eos-customer-updates.json && tsc -p tsconfig.eos-history-backup-scope.json && tsc -p tsconfig.eos-postgres-system.json && tsc -p ui/tsconfig.postgres-history.json && tsc -p ui/tsconfig.ems-control-values.json && tsc -p ui/tsconfig.flow-measurement.json && tsc -p ui/tsconfig.ocpp-limit-feedback.json && tsc -p ui/tsconfig.ocpp-auto-discovery.json && tsc -p tsconfig.eos-runtime-health.json && tsc -p tsconfig.eos-module-process.json && tsc -p tsconfig.ui-process.json && tsc -p modules/ocpp/tsconfig.json --noEmit && tsc -p tsconfig.eos-ocpp-admin.json && tsc -p tsconfig.eos-runtime-control.json && tsc -p tsconfig.eos-backup-admin.json && tsc -p tsconfig.eos-repository-tools.json
5
+
@@ -0,0 +1,8 @@
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.36 build:ui-runtime
4
+ > node ui/scripts/build-smarthome-markdown.cjs && node ui/scripts/build-ts-runtime-executables.js
5
+
6
+ SmartHome GFM parser: 48 existing dependency licenses retained.
7
+ [ts-runtime-executables] OK: 217 produktive Runtime-Dateien aktualisiert; TS ist die kanonische Runtime-Quelle.
8
+ [ts-runtime-executables] OK: 217 produktive Runtime-Dateien geprüft; TS ist die kanonische Runtime-Quelle.
@@ -0,0 +1,32 @@
1
+ # NexoWatt EOS 9.0.36 · Update einer Bestandsanlage
2
+
3
+ ## Bestehende Anlage aktualisieren
4
+
5
+ 1. Den aktuellen ioBroker-Stand und die EOS-Konfiguration sichern. Die vorhandene EOS-Instanz aktualisieren und die Altinstanzen mit ihren Datenpunkten und Einstellungen auf der Anlage belassen. Eine bereits deaktivierte `nexowatt-ui.0` kann für die Übernahme deaktiviert bleiben.
6
+ 2. Im EOS-Admin **Übernahmestatus** öffnen. Alternativ auf dem EOS-Host die schreibgeschützte Abfrage `iobroker state get eos-admin.0.info.legacyMigration` ausführen. Bei einer anderen Instanznummer die Null ersetzen.
7
+ 3. `TRANSFERRED` bedeutet, dass die Quellen übernommen wurden und EOS den Anlauf prüft. `COMMITTED` bestätigt den erfolgreichen Abschluss dieser Prüfung. `NOT_NEEDED` bedeutet, dass kein automatischer Transfer erforderlich war. Bei einer Sperre zeigt die Übernahmeseite den Grund und die betroffenen Quellinstanzen, soweit deren Inventur möglich war.
8
+ 4. Unter **Prozesse** die getrennten Angaben zu Prozessnummer, Heartbeat, Betriebsfreigabe und **EMS bereit** kontrollieren. Ein bewusst ausgeschalteter Prozess lässt sich dort mit **Aktivieren** einschalten. Den betrieblichen Zustand der benötigten Module anschließend mit einer frischen Messung und einer freigegebenen Rückmeldung am Gerät prüfen.
9
+
10
+ ## Der konkrete Fehler aus 9.0.34
11
+
12
+ `BLOCKED / EOS_MIGRATION_DISABLED_UI_REVIEW` bei `nexowatt-ui.0` entstand schon beim Lesen einer deaktivierten alten Oberfläche. 9.0.36 prüft jetzt die vorhandenen Einstellungen, den Zustand der Zielinstanz und die Bestätigung des Controllers. Bei einer unterstützten Quelle, freiem Ziel und bestätigtem Stopp übernimmt EOS die Zuordnungen und behält den bisherigen Namensraum. Der Altprozess bleibt ausgeschaltet. Der Installateur muss die historische Oberfläche dafür nicht noch einmal starten.
13
+
14
+ Bei einer aktiven kompatiblen Altinstanz überprüft EOS zunächst die gesamte geplante Übernahme. Erst danach fordert es den Stopp der bisherigen Schreiber an. Für eine zuvor abgeschaltete Quelle bleibt die Abschaltung auch bei einem Rückfall erhalten. Eigene bestehende Zielzuordnungen, fehlende Stoppbestätigung, unlesbare Einstellungen oder nicht unterstützte Quellstände erfordern Klärung. Altobjekte, Journale und Freigabe-Datenpunkte in dieser Situation aufbewahren.
15
+
16
+ ## Welche Prozesse bereits laufen
17
+
18
+ Die Administration, die Oberfläche, das EMS und die freigegebenen Module haben getrennte Aufgaben. Ein laufender Prozess kann auf die Freigabe für seine Hardware warten. Die Prozessübersicht zeigt dann **Läuft · wartet auf Freigabe** mit eigener PID und aktuellem Heartbeat. Unter **Übernahmestatus** steht die betroffene Altinstanz, sofern sie eindeutig ermittelt wurde. Hat der Installateur ein Modul ausdrücklich deaktiviert, kann er es in seinen Einstellungen wieder einschalten. Während ein Altsystem noch für eine Schnittstelle verantwortlich ist, zeigt EOS die Bereitschaft und den Grund an. Die aktivierte OCPP-Schnittstelle darf den Port und die Gerätebefehle erst nach gesicherter Zuständigkeit bedienen. Eine vorhandene eigenständige OCPP-Instanz kann bis zur geplanten Übernahme weiterarbeiten. Eine Gerätestörung und ein noch ausstehender Übergang haben eigene Anzeigen.
19
+
20
+ Startet die Anlage zunächst ohne gültige EOS-Kernlizenz, bleibt der Zugang zur Aktivierung erreichbar. Nach der ersten erfolgreichen Aktivierung fordert EOS einmalig den regulären Neustart dieser ioBroker-Instanz an. Die Übernahme wird mit den gespeicherten Daten geprüft, bevor die neue Regelung schreiben darf.
21
+
22
+ ## Einen Prozess wieder einschalten
23
+
24
+ Im **EOS-Admin → Prozesse** die Karte des betreffenden Prozesses öffnen und **Aktivieren** wählen. Derselbe Schalter ist nach einer gespeicherten Pause auch nach dem Neustart der Instanz erreichbar. Das gilt für Oberfläche, EMS, Geräte, EEBUS, Sicherung und OCPP. Zum Einschalten der Oberfläche den direkten EOS-Admin aufrufen, wenn das Dashboard selbst pausiert ist.
25
+
26
+ Die Prozesskarte zeigt nach erfolgreichem Start die PID und den Heartbeat. Wartet der Prozess auf einen alten Besitzer, zeigt dieselbe Karte zusätzlich den Grund. Das EMS nimmt die Regelung auf, sobald seine eigene Freigabe und die Voraussetzungen für den Betrieb vorliegen. Die Administration läuft als Zugang zur Prozessverwaltung weiter.
27
+
28
+ ## Git, npm und Pilotprüfung
29
+
30
+ Für Git den Inhalt von `NexoWatt_EOS_9.0.36/iobroker.eos-admin` in den Checkout übernehmen. Für die lokale Pilotinstallation ist das mitgelieferte `iobroker.eos-admin-9.0.36.tgz` vorgesehen. Nach einer eigenen npm-Veröffentlichung zuerst die installierbare Paketdatei prüfen und anschließend den Repositoryeintrag aktualisieren. Der [Ablauf für Git und npm](START_HIER_9.0.35.md) und der [Prüfbericht zu 9.0.36](../reports/unified-9.0.36/PRUEFBERICHT.md) ergänzen die Übergabe.
31
+
32
+ Am Kundenstand vor und nach dem Update besonders die Speicher- und Zählerzuordnungen, den ausgewählten Tarif, die Ladepunktzuordnung und die Eigentümerschaft des aktiven Gerätezugangs vergleichen. Für einen Rückfall das vorher verwendete Paket samt passender Instanzsicherung bereithalten.
@@ -37,6 +37,12 @@ benötigt zusätzlichen Speicher. Entscheidend ist, ob die Trennung einen
37
37
  messbaren Vorteil bei Ausfällen, Wartung oder Last bringt. Die Softwaretests
38
38
  und der Geräteversuch prüfen auch Ausfall und Rückkehr der Abhängigkeiten.
39
39
 
40
+ ## Übergabe von Altadaptern ab 9.0.36
41
+
42
+ Der Prozesswächter trennt die Freigabe zum Start eines Prozesses von der Freigabe zum Zugriff auf Geräte. Wartet ein freigegebenes Modul auf einen früheren Besitzer, kann es bereits als Kindprozess mit PID und Heartbeat laufen. Beim Übergang in den Betriebsmodus des Moduls bestätigt der Wächter das Ende der passiven Prozessgeneration. Für den getrennten EMS-Prozess kann die bestehende PID nach erteilter Schreibfreigabe in den Regelbetrieb wechseln. Eigens gespeicherte Prozesspausen bleiben wirksam.
43
+
44
+ [Übernahme, Startnachweise und Rückfall](../reports/unified-9.0.36/MIGRATION.md)
45
+
40
46
  ## Historischer Stand 9.0.5
41
47
 
42
48
  Die folgenden Abschnitte dokumentieren den damaligen Stand der Zusammenführung
package/io-package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "eos-admin",
4
- "version": "9.0.35",
4
+ "version": "9.0.36",
5
5
  "titleLang": {
6
6
  "en": "NexoWatt EOS",
7
7
  "de": "NexoWatt EOS",
@@ -18,6 +18,10 @@
18
18
  "connectionType": "local",
19
19
  "dataSource": "push",
20
20
  "news": {
21
+ "9.0.36": {
22
+ "de": "EOS übernimmt eine bestätigte, bereits deaktivierte Alt-UI automatisch. Die Startdiagnose und der Wiederanlauf der Module wurden überarbeitet.",
23
+ "en": "EOS automatically migrates a verified legacy UI that was already disabled. Module startup diagnostics and recovery have been revised."
24
+ },
21
25
  "9.0.35": {
22
26
  "de": "Der Live-Systemstatus berücksichtigt Messwerte, Verbindung, aktive EOS-Prozesse und Geräte. Er nennt bestätigte Störungen und respektiert bewusst pausierte Module. Konfigurierbare Benachrichtigungen melden Prozess- und Geräteausfälle. Der MIRA-Treiber unterscheidet einen Modbus-Verbindungsabbruch von einem nicht unterstützten Register.",
23
27
  "en": "Live system status covers telemetry, connection, active EOS processes and devices. It identifies confirmed faults and respects intentionally paused modules. Configurable notifications report process and device outages. The MIRA driver distinguishes a Modbus connection reset from an unsupported register."
@@ -93,10 +97,6 @@
93
97
  "9.0.17": {
94
98
  "de": "EOS-Sitzungen vom ioBroker Admin getrennt; automatische Änderungen fremder Rechte und Metadaten entfernt; Parallelbetrieb mit Standard-Backitup abgesichert.",
95
99
  "en": "Isolate EOS sessions from ioBroker Admin; remove automatic foreign permission and metadata changes; preserve standard Backitup coexistence."
96
- },
97
- "9.0.16": {
98
- "de": "Geräte speichern und vorhandene Einstellungen beim Start erhalten; alte Installer-Dateien für npm-Publish sichern; Abmeldung nach zehn Minuten ohne Bedienung.",
99
- "en": "Fix device saving and preserve settings during startup; quarantine old Installer files for npm publishing; log out after ten idle minutes."
100
100
  }
101
101
  },
102
102
  "desc": {
@@ -134,7 +134,7 @@
134
134
  "icon": "admin.svg",
135
135
  "messagebox": true,
136
136
  "enabled": true,
137
- "extIcon": "https://unpkg.com/iobroker.eos-admin@9.0.35/admin/admin.svg",
137
+ "extIcon": "https://unpkg.com/iobroker.eos-admin@9.0.36/admin/admin.svg",
138
138
  "keywords": [
139
139
  "NexoWatt",
140
140
  "EOS",
@@ -145,7 +145,7 @@
145
145
  "licensed"
146
146
  ],
147
147
  "compact": false,
148
- "readme": "https://unpkg.com/iobroker.eos-admin@9.0.35/README.md",
148
+ "readme": "https://unpkg.com/iobroker.eos-admin@9.0.36/README.md",
149
149
  "authors": [
150
150
  "NexoWatt"
151
151
  ],
@@ -157,7 +157,7 @@
157
157
  "type": "general",
158
158
  "licenseInformation": {
159
159
  "type": "paid",
160
- "link": "https://unpkg.com/iobroker.eos-admin@9.0.35/LICENSE"
160
+ "link": "https://unpkg.com/iobroker.eos-admin@9.0.36/LICENSE"
161
161
  },
162
162
  "logTransporter": true,
163
163
  "stopBeforeUpdate": true,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "iobroker.eos-admin",
3
3
  "description": "NexoWatt EOS: licensed local energy management, dashboard and ioBroker system administration in one adapter.",
4
- "version": "9.0.35",
4
+ "version": "9.0.36",
5
5
  "contributors": [
6
6
  "bluefox <dogafox@gmail.com>",
7
7
  "apollon77",
@@ -242,7 +242,9 @@
242
242
  "docs/start/START_HIER_9.0.34.md",
243
243
  "docs/reports/unified-9.0.34/",
244
244
  "docs/start/START_HIER_9.0.35.md",
245
- "docs/reports/unified-9.0.35/"
245
+ "docs/reports/unified-9.0.35/",
246
+ "docs/start/START_HIER_9.0.36.md",
247
+ "docs/reports/unified-9.0.36/"
246
248
  ],
247
249
  "scripts": {
248
250
  "start": "cd src-admin && npm run start",
@@ -281,7 +283,7 @@
281
283
  },
282
284
  "nexowattReleasePolicy": {
283
285
  "distTag": "next",
284
- "purpose": "NexoWatt EOS 9.0.35 controlled release for live dashboard telemetry, connection and supervised process status"
286
+ "purpose": "NexoWatt EOS 9.0.36 controlled release for verified disabled legacy UI migration, module startup diagnostics and recovery."
285
287
  },
286
288
  "publisher": "NexoWatt",
287
289
  "nexowattUpstream": {
@@ -27,7 +27,7 @@
27
27
  <small class="eos-eyebrow">Aktueller Stand</small><h2 id="status-heading">Übernahme wird geprüft</h2>
28
28
  <p id="phase-description"></p><p id="unchanged-notice" class="notice" hidden></p>
29
29
  <dl class="eos-detail-list"><dt>Letzte Änderung</dt><dd id="updated-at">–</dd><dt>Meldung</dt><dd id="status-code">–</dd></dl>
30
- <p id="reason-description"></p><button id="refresh" type="button">Status aktualisieren</button>
30
+ <p id="reason-description"></p><p id="scope-description" hidden></p><button id="refresh" type="button">Status aktualisieren</button>
31
31
  </section>
32
32
  <section class="eos-panel" aria-labelledby="sources-heading">
33
33
  <small class="eos-eyebrow">Bisherige Adapter</small><h2 id="sources-heading">Erfasste Instanzen</h2>
@@ -17,20 +17,20 @@
17
17
  };
18
18
  const reasons = {
19
19
  EOS_MIGRATION_LICENSE_REQUIRED: 'Die Bestandsübernahme wurde ohne gültige Systemfreigabe noch nicht geprüft. Zuerst die zentrale EOS-Lizenz aktivieren; anschließend EOS neu starten, damit die vollständige Übernahmeprüfung vor dem Betrieb ausgeführt wird.',
20
- EOS_MIGRATION_RESTART_REQUIRED: 'Die Systemfreigabe ist jetzt gültig. Bitte die EOS-Adapterinstanz neu starten, damit die Bestandsübernahme vollständig geprüft wird. Bisherige Adapter nicht löschen und keine leeren Einstellungen über den Bestand speichern.',
20
+ EOS_MIGRATION_RESTART_REQUIRED: 'EOS fordert für die Bestandsprüfung einmalig einen automatischen Adapterneustart an. Bleibt dieser Status dauerhaft bestehen, die EOS-Adapterinstanz einmal in ioBroker neu starten.',
21
21
  EOS_MIGRATION_PROTECTED_FIELDS_UNAVAILABLE: 'ioBroker gibt geschützte Zugangsdaten oder Schlüssel eines Altadapters nicht frei. Für eine vollständige Übernahme ist eine freigegebene Übergabe dieser Daten erforderlich; leere Ersatzwerte werden nicht eingesetzt.',
22
- EOS_MIGRATION_SOURCE_VERSION: 'Mindestens eine Altadapter-Version ist für die automatische Übernahme noch nicht geprüft.',
22
+ EOS_MIGRATION_SOURCE_VERSION: 'Die Version eines bisherigen Adapters ist für die automatische Übernahme noch nicht freigegeben. Die installierte Version im ioBroker mit den unterstützten Quellversionen von EOS abgleichen.',
23
23
  EOS_MIGRATION_DESTINATION_MISSING: 'Ein bereits übernommener Einstellungsbestand fehlt. Vor dem Start muss die vollständige Sicherung der gemeinsamen Konfiguration wiederhergestellt werden.',
24
24
  EOS_MIGRATION_DESTINATION_BINDING: 'Die gespeicherten Moduleinstellungen passen nicht zum bestätigten Übernahmestand. Bitte die Sicherung und Zuordnung der bisherigen Instanzen prüfen.',
25
- EOS_MIGRATION_DISABLED_UI_REVIEW: 'Die bisherige EOS-Oberfläche ist deaktiviert. Ihr bisheriger Betriebszustand muss vor einer gemeinsamen Aktivierung geprüft werden.',
26
- EOS_MIGRATION_DESTINATION_CONFIGURED: 'Im gemeinsamen EOS sind bereits Einstellungen für ein betroffenes Modul gespeichert. Diese werden nicht überschrieben.',
25
+ EOS_MIGRATION_DISABLED_UI_REVIEW: 'Die bisherige Oberfläche ist deaktiviert. In ioBroker den bestätigten Stillstand dieser Instanz und die Erreichbarkeit ihres Hosts prüfen. EOS prüft beim Adapterstart auch, ob die Zielkonfiguration frei ist.',
26
+ EOS_MIGRATION_DESTINATION_CONFIGURED: 'Für diesen Bereich bestehen bereits EOS-Einstellungen. Quell- und Zielkonfiguration anhand einer Sicherung vergleichen, bevor eine Übernahme geplant wird.',
27
27
  EOS_MIGRATION_DESTINATION_STATES: 'Im gemeinsamen EOS bestehen bereits Datenpunkte für diesen Bereich. Eine automatische Zusammenführung wird nicht vorgenommen.',
28
28
  EOS_MIGRATION_AMBIGUOUS: 'Es wurden mehrere Instanzen desselben Altadapters gefunden. Vor der Übernahme muss die gewünschte Zuordnung geklärt werden.',
29
29
  EOS_MIGRATION_SOURCE_HOST: 'Die Hostzuordnung oder Erreichbarkeit eines bisherigen Adapters konnte nicht bestätigt werden.',
30
30
  EOS_MIGRATION_MODULE_LICENSE_REQUIRED: 'Die zentrale Lizenz gibt mindestens ein zu übernehmendes Modul noch nicht frei.',
31
31
  EOS_MIGRATION_SOURCE_UNAVAILABLE: 'Eine bisherige Instanz konnte nicht vollständig gelesen werden.',
32
32
  EOS_MIGRATION_SOURCE_CHANGED: 'Ein bisheriger Adapter wurde während der Übergabe verändert. Bitte die aktuelle Konfiguration und Hostzuordnung prüfen.',
33
- EOS_MIGRATION_STOP_UNCONFIRMED: 'Die vollständige Beendigung einer bisherigen Instanz wurde nicht bestätigt.',
33
+ EOS_MIGRATION_STOP_UNCONFIRMED: 'Im ioBroker prüfen, ob der Host erreichbar ist und die bisherige Instanz nach ihrer letzten Änderung als beendet gemeldet hat.',
34
34
  EOS_MIGRATION_ROLLBACK_UNCONFIRMED: 'Die Wiederaufnahme einer bisherigen Instanz konnte nicht bestätigt werden. Bitte deren Laufzustand prüfen.',
35
35
  EOS_MIGRATION_NEW_RUNTIME_FAILED: 'Der Start des gemeinsamen Betriebs wurde nicht bestätigt; die Rücknahme wurde eingeleitet.',
36
36
  EOS_MIGRATION_INTERRUPTED: 'Die vorherige Übergabe wurde unterbrochen. EOS hat die Wiederherstellung des bisherigen Betriebs eingeleitet.',
@@ -60,7 +60,7 @@
60
60
  const phase = typeof value?.phase === 'string' && Object.hasOwn(phases, value.phase) ? value.phase : 'NOT_AVAILABLE';
61
61
  const code = typeof value?.code === 'string' && /^[A-Z][A-Z0-9_]{0,79}$/.test(value.code) ? value.code : '';
62
62
  const [heading, description] = phase === 'LICENSE_REQUIRED' && code === 'EOS_MIGRATION_RESTART_REQUIRED'
63
- ? ['Übernahmeprüfung nach Neustart erforderlich', 'Die zentrale Systemfreigabe ist gültig. Die Bestandsprüfung wurde in diesem Adapterlauf noch nicht ausgeführt.']
63
+ ? ['Automatischer Neustart zur Bestandsprüfung', 'Die zentrale Systemfreigabe ist gültig. EOS prüft den Bestand beim nächsten Adapterstart.']
64
64
  : phases[phase];
65
65
  element('status-heading').textContent = heading;
66
66
  element('phase-description').textContent = description;
@@ -71,6 +71,13 @@
71
71
  const unchanged = value?.existingAdaptersUnchanged === true && ['BLOCKED', 'DISABLED', 'LICENSE_REQUIRED', 'NOT_NEEDED'].includes(phase);
72
72
  element('unchanged-notice').hidden = !unchanged;
73
73
  element('unchanged-notice').textContent = unchanged ? 'Die automatische Übernahme hat keine bisherigen Adapter angehalten oder deren Einstellungen verändert.' : '';
74
+ const processLabels = { ui: 'Oberfläche', ems: 'EMS', devices: 'Geräte', eebus: 'EEBus', backup: 'Sicherung', ocpp: 'OCPP-Ladestationen' };
75
+ const blocked = Array.isArray(value?.blockedProcesses) ? Object.keys(processLabels).filter(id => value.blockedProcesses.includes(id)) : null;
76
+ const scope = element('scope-description');
77
+ scope.hidden = !blocked;
78
+ scope.textContent = blocked ? (blocked.length ? `Diese Bereiche warten auf die Betriebsfreigabe durch die Übernahme: ${blocked.map(id => processLabels[id]).join(', ')}.`
79
+ : 'Die Bestandsübernahme hält derzeit keine Betriebsfreigabe zurück.') : '';
80
+ const issues = Array.isArray(value?.issues) ? value.issues.slice(0, 256) : [];
74
81
  const list = element('sources'); list.replaceChildren();
75
82
  let count = 0;
76
83
  for (const source of (Array.isArray(value?.sources) ? value.sources.slice(0, 256) : [])) {
@@ -81,7 +88,15 @@
81
88
  const id = document.createElement('code'); id.textContent = source.source;
82
89
  const note = document.createElement('span');
83
90
  note.textContent = source.namespacePreserved === true ? ' · bisherige Datenpunktnamen beibehalten' : ' · bisherige Instanz erfasst';
84
- row.append(name, id, note); list.append(row); count++;
91
+ row.append(name, id, note);
92
+ const issue = issues.find(item => item?.id === source.id && item.source === source.source &&
93
+ typeof item.code === 'string' && /^[A-Z][A-Z0-9_]{0,79}$/.test(item.code));
94
+ if (issue) {
95
+ const reason = document.createElement('p'); reason.className = 'notice';
96
+ reason.textContent = issue.code === code ? `Grund: ${issue.code}` : `${issue.code}. ${reasons[issue.code] || 'Diese Instanz muss vor der Übernahme geprüft werden.'}`;
97
+ list.append(row, reason);
98
+ } else list.append(row);
99
+ count++;
85
100
  }
86
101
  if (!count) { const empty = document.createElement('p'); empty.textContent = 'Für diesen Status sind keine Instanzen erfasst.'; list.append(empty); }
87
102
  }
@@ -96,6 +111,7 @@
96
111
  if (!response.ok) throw new Error('Der Übernahmestatus ist vorübergehend nicht verfügbar.');
97
112
  render(await response.json()); message.textContent = 'Status aktualisiert. Es wurden keine Einstellungen verändert.';
98
113
  } catch (error) {
114
+ render({ phase: 'NOT_AVAILABLE' });
99
115
  message.textContent = error instanceof Error ? error.message : 'Status konnte nicht geladen werden.';
100
116
  message.className = 'eos-message is-error';
101
117
  } finally { busy = false; element('refresh').disabled = false; }