iobroker.eos-admin 9.0.34 → 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 (234) hide show
  1. package/NEXOWATT_EOS_BUILD_INFO.json +10 -10
  2. package/README.md +16 -4
  3. package/adminWww/.vite/manifest.json +39 -39
  4. package/adminWww/NEXOWATT_EOS_FRONTEND_MANIFEST.json +107 -107
  5. package/adminWww/assets/{AdapterUpdateDialog-5L75o18m.js → AdapterUpdateDialog-D2nDWE_N.js} +1 -1
  6. package/adminWww/assets/{Adapters-FcghjF7E.js → Adapters-D0sVqNBU.js} +1 -1
  7. package/adminWww/assets/{ConfigManager-BnHarBfH.js → ConfigManager-Zm7UoaaN.js} +1 -1
  8. package/adminWww/assets/{Enums-BjLbLLQL.js → Enums-BGL7pR-O.js} +1 -1
  9. package/adminWww/assets/{Fields-DDE1hVOa.js → Fields-A8J3u1yq.js} +1 -1
  10. package/adminWww/assets/{Files-CDjnR4q6.js → Files-CQPjCvW6.js} +1 -1
  11. package/adminWww/assets/{Hosts-CJKQaNrD.js → Hosts-CxzkkNBj.js} +1 -1
  12. package/adminWww/assets/{Instances-DZNl369k.js → Instances-eEbEukDh.js} +1 -1
  13. package/adminWww/assets/{Intro-CjAmMGDB.js → Intro-I_Tknp0E.js} +1 -1
  14. package/adminWww/assets/{Logs-rUAV7SwM.js → Logs-C3GPz61Q.js} +1 -1
  15. package/adminWww/assets/{Objects-CqOH6rT_.js → Objects-DDnisxNB.js} +1 -1
  16. package/adminWww/assets/{Overview-BOtXqsMy.js → Overview-BpZFdEmp.js} +1 -1
  17. package/adminWww/assets/{State-C8ncThop.js → State-DY6Nw0SB.js} +1 -1
  18. package/adminWww/assets/{UsedResources-lUYJqy4F.js → UsedResources-CtUpdP2b.js} +1 -1
  19. package/adminWww/assets/{Users-CK1Cax82.js → Users-DcqlSfc5.js} +1 -1
  20. package/adminWww/assets/{bootstrap-CC0Qr-kr.js → bootstrap-Didkuj-F.js} +3 -3
  21. package/adminWww/assets/{hostInit-DqGL6nY8.js → hostInit-Chrs-wsg.js} +1 -1
  22. package/adminWww/assets/{icons-material-07rWS63O.js → icons-material-SqwOQW6y.js} +1 -1
  23. package/adminWww/assets/{index-BhhkToP2.js → index-CpDo61Mz.js} +2 -2
  24. package/adminWww/assets/{installSVGRenderer-B4-7lSQZ.js → installSVGRenderer-DZMZ3pJw.js} +1 -1
  25. package/adminWww/assets/{mf-entry-bootstrap-0-1afd2287.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.34.js → remoteEntry-eos-9.0.36.js} +1 -1
  30. package/adminWww/remoteEntry.js +1 -1
  31. package/build/lib/eosDashboardProcessStatus.js +199 -0
  32. package/build/lib/eosDashboardProcessStatus.js.map +1 -0
  33. package/build/lib/eosKiosk.js +1 -0
  34. package/build/lib/eosKiosk.js.map +1 -1
  35. package/build/lib/eosLegacyMigration.js +142 -49
  36. package/build/lib/eosLegacyMigration.js.map +1 -1
  37. package/build/lib/eosLicenseService.js +9 -0
  38. package/build/lib/eosLicenseService.js.map +1 -1
  39. package/build/lib/eosModuleConfigStore.js +21 -8
  40. package/build/lib/eosModuleConfigStore.js.map +1 -1
  41. package/build/lib/eosModuleHost.js +284 -106
  42. package/build/lib/eosModuleHost.js.map +1 -1
  43. package/build/lib/eosModuleHttp.js +41 -8
  44. package/build/lib/eosModuleHttp.js.map +1 -1
  45. package/build/lib/eosModuleProcess.js +34 -6
  46. package/build/lib/eosModuleProcess.js.map +1 -1
  47. package/build/lib/eosModuleProcessWorker.js +56 -2
  48. package/build/lib/eosModuleProcessWorker.js.map +1 -1
  49. package/build/lib/eosRuntimeControl.js +54 -14
  50. package/build/lib/eosRuntimeControl.js.map +1 -1
  51. package/build/lib/eosRuntimeHealth.js +84 -7
  52. package/build/lib/eosRuntimeHealth.js.map +1 -1
  53. package/build/lib/eosSupervisorNotifications.js +169 -0
  54. package/build/lib/eosSupervisorNotifications.js.map +1 -0
  55. package/build/lib/eosUiProcess.js +43 -4
  56. package/build/lib/eosUiProcess.js.map +1 -1
  57. package/build/lib/eosUiProcessWorker.js +21 -0
  58. package/build/lib/eosUiProcessWorker.js.map +1 -1
  59. package/build/lib/eosUnifiedOwnership.js +10 -8
  60. package/build/lib/eosUnifiedOwnership.js.map +1 -1
  61. package/build/lib/web.js +33 -24
  62. package/build/lib/web.js.map +1 -1
  63. package/build/main.js +35 -0
  64. package/build/main.js.map +1 -1
  65. package/docs/README.md +2 -0
  66. package/docs/reports/unified-9.0.35/PRUEFBERICHT.md +51 -0
  67. package/docs/reports/unified-9.0.35/PRUEFERGEBNISSE.json +112 -0
  68. package/docs/reports/unified-9.0.35/raw/INDEX.json +282 -0
  69. package/docs/reports/unified-9.0.35/raw/backend.log +5 -0
  70. package/docs/reports/unified-9.0.35/raw/browser-lp-detail.log +1 -0
  71. package/docs/reports/unified-9.0.35/raw/browser-lp-feedback.log +1 -0
  72. package/docs/reports/unified-9.0.35/raw/cold-ocpp-22.log +108 -0
  73. package/docs/reports/unified-9.0.35/raw/cold-ocpp-24.log +24 -0
  74. package/docs/reports/unified-9.0.35/raw/core-final-node22.log +1439 -0
  75. package/docs/reports/unified-9.0.35/raw/core-final-node24.log +1381 -0
  76. package/docs/reports/unified-9.0.35/raw/dashboard-de-en-nl.json +716 -0
  77. package/docs/reports/unified-9.0.35/raw/device-chain-closed-fixed.json +98 -0
  78. package/docs/reports/unified-9.0.35/raw/device-chain-rst-fixed.json +98 -0
  79. package/docs/reports/unified-9.0.35/raw/device-chain.json +93 -0
  80. package/docs/reports/unified-9.0.35/raw/ee-fusion-final.log +12 -0
  81. package/docs/reports/unified-9.0.35/raw/eebus-monitor-browser.json +1 -0
  82. package/docs/reports/unified-9.0.35/raw/eebus-monitor-node22.log +206 -0
  83. package/docs/reports/unified-9.0.35/raw/eebus-monitor-node24.log +39 -0
  84. package/docs/reports/unified-9.0.35/raw/fixtures-verification.log +44 -0
  85. package/docs/reports/unified-9.0.35/raw/frontend.log +152 -0
  86. package/docs/reports/unified-9.0.35/raw/installer.log +26 -0
  87. package/docs/reports/unified-9.0.35/raw/legacy-mail-setup-browser.log +1 -0
  88. package/docs/reports/unified-9.0.35/raw/lint.log +45 -0
  89. package/docs/reports/unified-9.0.35/raw/live-ems-loss.log +10 -0
  90. package/docs/reports/unified-9.0.35/raw/modules.log +5 -0
  91. package/docs/reports/unified-9.0.35/raw/node22-mira-reconnect-integrity.log +452 -0
  92. package/docs/reports/unified-9.0.35/raw/node22-mira.log +222 -0
  93. package/docs/reports/unified-9.0.35/raw/node22-system-status.log +213 -0
  94. package/docs/reports/unified-9.0.35/raw/node22-tests-final.log +18137 -0
  95. package/docs/reports/unified-9.0.35/raw/node22-version.log +1 -0
  96. package/docs/reports/unified-9.0.35/raw/node24-mira-reconnect-integrity.log +79 -0
  97. package/docs/reports/unified-9.0.35/raw/node24-mira.log +41 -0
  98. package/docs/reports/unified-9.0.35/raw/node24-system-status.log +40 -0
  99. package/docs/reports/unified-9.0.35/raw/node24-tests-final.log +3019 -0
  100. package/docs/reports/unified-9.0.35/raw/node24-version.log +1 -0
  101. package/docs/reports/unified-9.0.35/raw/notifications-legacy-node22.log +1 -0
  102. package/docs/reports/unified-9.0.35/raw/notifications-legacy-node24.log +1 -0
  103. package/docs/reports/unified-9.0.35/raw/notifications-node22.log +67 -0
  104. package/docs/reports/unified-9.0.35/raw/notifications-node24.log +17 -0
  105. package/docs/reports/unified-9.0.35/raw/npm-runtime-audit.json +77 -0
  106. package/docs/reports/unified-9.0.35/raw/ocpp-dashboard-stations-node22.log +110 -0
  107. package/docs/reports/unified-9.0.35/raw/ocpp-dashboard-stations-node24.log +106 -0
  108. package/docs/reports/unified-9.0.35/raw/ocpp-history-node22.log +561 -0
  109. package/docs/reports/unified-9.0.35/raw/ocpp-history-node24.log +98 -0
  110. package/docs/reports/unified-9.0.35/raw/poll-life-node22.log +38 -0
  111. package/docs/reports/unified-9.0.35/raw/poll-life-node24.log +12 -0
  112. package/docs/reports/unified-9.0.35/raw/qa-source-check.log +2 -0
  113. package/docs/reports/unified-9.0.35/raw/release-metadata.log +13 -0
  114. package/docs/reports/unified-9.0.35/raw/sbom.log +8 -0
  115. package/docs/reports/unified-9.0.35/raw/typecheck.log +5 -0
  116. package/docs/reports/unified-9.0.35/raw/ui-runtime.log +8 -0
  117. package/docs/reports/unified-9.0.35/raw/vergleich-9.0.33.json +29 -0
  118. package/docs/reports/unified-9.0.35/raw/vergleich-9.0.34.json +249 -0
  119. package/docs/reports/unified-9.0.35/raw/vorher-9.0.33-chromium.json +286 -0
  120. package/docs/reports/unified-9.0.35/raw/vorher-9.0.34-chromium.json +291 -0
  121. package/docs/reports/unified-9.0.36/MIGRATION.md +25 -0
  122. package/docs/reports/unified-9.0.36/PRUEFBERICHT.md +61 -0
  123. package/docs/reports/unified-9.0.36/PRUEFERGEBNISSE.json +112 -0
  124. package/docs/reports/unified-9.0.36/raw/INDEX.json +262 -0
  125. package/docs/reports/unified-9.0.36/raw/admin-934-legacy-ui-reproduction.json +66 -0
  126. package/docs/reports/unified-9.0.36/raw/admin-936-legacy-ui-reproduction.json +64 -0
  127. package/docs/reports/unified-9.0.36/raw/admin-health-browser22.json +49 -0
  128. package/docs/reports/unified-9.0.36/raw/admin-health-browser24.json +49 -0
  129. package/docs/reports/unified-9.0.36/raw/admin-runtime-migration-browser22.json +80 -0
  130. package/docs/reports/unified-9.0.36/raw/admin-runtime-migration-browser24.json +80 -0
  131. package/docs/reports/unified-9.0.36/raw/backend.log +6 -0
  132. package/docs/reports/unified-9.0.36/raw/core-final-node22.log +1439 -0
  133. package/docs/reports/unified-9.0.36/raw/core-final-node24.log +1381 -0
  134. package/docs/reports/unified-9.0.36/raw/customer-934-node22-final.log +78 -0
  135. package/docs/reports/unified-9.0.36/raw/customer-934-node22-repeat.log +78 -0
  136. package/docs/reports/unified-9.0.36/raw/customer-935-node24-final.log +74 -0
  137. package/docs/reports/unified-9.0.36/raw/customer-935-node24-repeat.log +74 -0
  138. package/docs/reports/unified-9.0.36/raw/customer-admin-six-controls24.log +24 -0
  139. package/docs/reports/unified-9.0.36/raw/customer-earlier-pid-stop.log +22 -0
  140. package/docs/reports/unified-9.0.36/raw/customer-six-process-restart-node22.log +28 -0
  141. package/docs/reports/unified-9.0.36/raw/customer-six-process-restart-node24.log +24 -0
  142. package/docs/reports/unified-9.0.36/raw/dashboard-de-en-nl.json +728 -0
  143. package/docs/reports/unified-9.0.36/raw/fixtures-verification.log +44 -0
  144. package/docs/reports/unified-9.0.36/raw/frontend.log +152 -0
  145. package/docs/reports/unified-9.0.36/raw/installer.log +26 -0
  146. package/docs/reports/unified-9.0.36/raw/legacy-migration-node22.log +630 -0
  147. package/docs/reports/unified-9.0.36/raw/legacy-migration-node24.log +109 -0
  148. package/docs/reports/unified-9.0.36/raw/lint.log +45 -0
  149. package/docs/reports/unified-9.0.36/raw/module-standby-drain22.log +446 -0
  150. package/docs/reports/unified-9.0.36/raw/module-standby-drain24.log +80 -0
  151. package/docs/reports/unified-9.0.36/raw/module-standby-linux-memory.log +6 -0
  152. package/docs/reports/unified-9.0.36/raw/modules.log +5 -0
  153. package/docs/reports/unified-9.0.36/raw/node22-migration.log +1329 -0
  154. package/docs/reports/unified-9.0.36/raw/node22-mira.log +222 -0
  155. package/docs/reports/unified-9.0.36/raw/node22-system-status.log +225 -0
  156. package/docs/reports/unified-9.0.36/raw/node22-tests-final.log +18358 -0
  157. package/docs/reports/unified-9.0.36/raw/node22-version.log +1 -0
  158. package/docs/reports/unified-9.0.36/raw/node24-migration.log +1301 -0
  159. package/docs/reports/unified-9.0.36/raw/node24-mira.log +41 -0
  160. package/docs/reports/unified-9.0.36/raw/node24-system-status.log +42 -0
  161. package/docs/reports/unified-9.0.36/raw/node24-tests-final.log +3058 -0
  162. package/docs/reports/unified-9.0.36/raw/node24-version.log +1 -0
  163. package/docs/reports/unified-9.0.36/raw/npm-runtime-audit.json +77 -0
  164. package/docs/reports/unified-9.0.36/raw/ocpp-owner-isolation22.log +109 -0
  165. package/docs/reports/unified-9.0.36/raw/ocpp-owner-isolation24.log +24 -0
  166. package/docs/reports/unified-9.0.36/raw/qa-source-check.log +2 -0
  167. package/docs/reports/unified-9.0.36/raw/release-metadata.log +13 -0
  168. package/docs/reports/unified-9.0.36/raw/sbom.log +9 -0
  169. package/docs/reports/unified-9.0.36/raw/standby-independent-drain.log +4 -0
  170. package/docs/reports/unified-9.0.36/raw/standby-independent-sockets.log +3 -0
  171. package/docs/reports/unified-9.0.36/raw/typecheck.log +5 -0
  172. package/docs/reports/unified-9.0.36/raw/ui-runtime.log +8 -0
  173. package/docs/start/START_HIER_9.0.35.md +27 -0
  174. package/docs/start/START_HIER_9.0.36.md +32 -0
  175. package/docs/unified/ARCHITECTURE.md +6 -0
  176. package/io-package.json +12 -12
  177. package/modules/devices/contracts.d.ts +1 -0
  178. package/modules/devices/index.js +20 -1
  179. package/modules/devices/lib/deviceRuntime.js +19 -0
  180. package/modules/devices/lib/drivers/modbus.js +11 -6
  181. package/modules/devices/lib/drivers/ovumMira.js +7 -3
  182. package/modules/devices/test/ovumMiraTransport.test.js +40 -1
  183. package/modules/eebus/README.md +8 -0
  184. package/modules/eebus/admin/index.js +29 -2
  185. package/modules/eebus/build/index.js +28 -3
  186. package/modules/eebus/build/lib/eebusRuntime.js +17 -2
  187. package/modules/eebus/build/lib/partnerMonitor.js +160 -0
  188. package/modules/eebus/build/lib/shipEndpoint.js +4 -0
  189. package/modules/eebus/build/lib/stateDefinitions.js +1 -0
  190. package/modules/eebus/src/index.ts +23 -3
  191. package/modules/eebus/src/lib/eebusRuntime.ts +20 -2
  192. package/modules/eebus/src/lib/partnerMonitor.ts +127 -0
  193. package/modules/eebus/src/lib/shipEndpoint.ts +5 -0
  194. package/modules/eebus/src/lib/stateDefinitions.ts +1 -0
  195. package/modules/eebus/test/partner-monitor.test.js +82 -0
  196. package/modules/eebus/test/security.test.js +17 -0
  197. package/modules/ocpp/README.md +9 -1
  198. package/modules/ocpp/build/index.js +137 -10
  199. package/modules/ocpp/build/stationHistory.js +113 -0
  200. package/modules/ocpp/ocpp/freshness.d.ts +3 -0
  201. package/modules/ocpp/ocpp/freshness.js +6 -0
  202. package/modules/ocpp/provenance.json +3 -2
  203. package/modules/ocpp/runtime.d.ts +1 -0
  204. package/modules/ocpp/runtime.js +23 -1
  205. package/modules/ocpp/src/index.ts +163 -12
  206. package/modules/ocpp/src/stationHistory.ts +119 -0
  207. package/modules/ocpp/test/hosted.test.cjs +161 -0
  208. package/package.json +9 -5
  209. package/public/eos-migration/index.html +1 -1
  210. package/public/eos-migration/index.js +23 -7
  211. package/public/eos-runtime/index.js +82 -15
  212. package/release-manifests/unified/build-environment.cdx.json +6 -6
  213. package/release-manifests/unified/files.json +318 -181
  214. package/release-manifests/unified/frontend.cdx.json +6 -6
  215. package/release-manifests/unified/installer.cdx.json +6 -6
  216. package/release-manifests/unified/obsolete-admin-assets.json +166 -0
  217. package/release-manifests/unified/runtime.cdx.json +30 -30
  218. package/release-manifests/unified/validation.json +15 -15
  219. package/tools/eos-release-manifest.cjs +1 -1
  220. package/ui/io-package.json +9 -1
  221. package/ui/lib/hosted-startup-status.js +2 -2
  222. package/ui/lib/notification-mail.js +235 -40
  223. package/ui/lib/notification-policy.js +41 -14
  224. package/ui/package.json +2 -1
  225. package/ui/www/app.js +91 -11
  226. package/ui/www/dashboard-lp-status.js +4 -11
  227. package/ui/www/dashboard-process-status.js +205 -0
  228. package/ui/www/i18n/en.json +24 -0
  229. package/ui/www/i18n/nl.json +21 -0
  230. package/ui/www/index.html +10 -5
  231. package/ui/www/live-display.js +106 -9
  232. package/ui/www/manifest.webmanifest +2 -2
  233. package/ui/www/settings.html +2 -2
  234. package/ui/www/styles.css +4 -0
@@ -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,27 @@
1
+ # NexoWatt EOS 9.0.35 · Systemstatus und Benachrichtigungen
2
+
3
+ ## Was im Dashboard steht
4
+
5
+ „Alle Systeme normal“ erscheint bei bestätigter Verbindung, laufendem EMS, aktueller Netzpunktmeldung und unauffälliger Diagnose der für die Anlage aktiven Prozesse und Geräte. Ein Verbindungsaufbau, ein abgelaufener Messwert oder eine noch ausstehende Diagnose haben eigene Meldungen. Während eines erneuten Datenabgleichs innerhalb einer laufenden Live-Verbindung bleibt der aktuelle Status sichtbar.
6
+
7
+ Die Prozessüberwachung umfasst Oberfläche, EMS, Geräte, EEBus, Sicherung und OCPP der integrierten EOS-Instanz. Fällt ein freigegebener Prozess aus, nennt die Anzeige das betroffene Modul. Bewusst pausierte Module lösen keinen Ausfallalarm aus. Eine absichtlich pausierte EMS-Regelung wird als solche angezeigt. Der weiter erreichbare Administrationsprozess kann einen Ausfall auch dann bestätigen, wenn der Live-Datenstrom unterbrochen ist.
8
+
9
+ Bestätigt ein überwachtes Gerät einen Verbindungsverlust über seine Geräteanbindung, zeigt die Statuszeile den Gerätenamen. Bei mehreren Offlinegeräten nennt sie die ersten beiden und die Anzahl weiterer Geräte. Mit **Betroffene Geräte** lässt sich die Liste auch am Wandtablet aufklappen. Die Anzeige liefert bis zu zwölf Namen und die Gesamtzahl. Die integrierte Geräteanbindung überwacht eingerichtete, aktive Geräte über deren Kommunikation. Bei OCPP muss die Ladestation dem EOS bekannt und freigegeben sein. Eine nicht belegte, erreichbare Ladestation gilt als betriebsbereit. Nach einem OCPP-Neustart erkennt EOS zuvor bestätigte Stationen an ihrer lokalen Historie. Für Stationen ohne bestätigte Trennung erscheint bis zur Anmeldung oder zum Ablauf des konfigurierten OCPP-Zeitfensters der Zustand unbekannt. Eine bereits bestätigte Trennung bleibt sichtbar. Meldet eine Überwachungsquelle keine verwertbare Beobachtung, bleibt die Erreichbarkeit unbekannt.
10
+
11
+ **OVUM MIRA.** Wird eine TCP-Verbindung während des Lesens zurückgesetzt, kann EOS nach der Wiederverbindung wieder messen. Ein Verbindungsabbruch sperrt das Register für die elektrische Aufnahmeleistung nicht mehr als vermeintlich nicht unterstütztes Register.
12
+
13
+ **EEBus-Partner.** Bei einem gekoppelten Partner im EEBus-Gerätedialog die Überwachung aktivieren und einen verständlichen Namen vergeben. Voraussetzung sind eine bestätigte lokale Vertrauensstellung und ein erfolgreicher Datenaustausch. Nach einem Neustart hat der Partner 120 Sekunden Zeit zum Wiederverbinden. Manuelles Trennen und ein Vertrauenswiderruf pausieren die Überwachung dauerhaft. Sobald wieder eine vertrauenswürdige Verbindung mit Datenaustausch besteht, kann die Überwachung im Pairingdialog erneut aktiviert werden.
14
+
15
+ ## Benachrichtigungen
16
+
17
+ Unter **Einstellungen → Benachrichtigungen** den Versand aktivieren und die gewünschte E-Mail-Adresse eintragen. **System, Adapter und EOS-Prozesse** steuert Systemmeldungen. **Kommunikationsausfälle von Geräten und Ladestationen** steuert Geräteausfälle. Für Wiederherstellungen gibt es den Schalter **Entwarnungen in Tageszusammenfassung**. SMTP richtet der Installateur im EOS-Admin ein. Die Alarmierung läuft auf der Anlage auch bei geschlossenem Dashboard. Bestätigte neue Prozess- und Geräteausfälle werden im nächsten verfügbaren Versandlauf berücksichtigt. Für eine Entwarnung in der Tageszusammenfassung muss die Erreichbarkeit mindestens fünf Minuten bestätigt sein. Eine absichtliche Deaktivierung gilt als Pause.
18
+
19
+ ## Installation und Vor-Ort-Test
20
+
21
+ 1. Die Instanzkonfiguration vor dem Pilotupdate sichern. Für Git den Inhalt von `iobroker.eos-admin` aus der Repository-ZIP in den bestehenden Checkout übernehmen. Die vom Projekt mitgelieferten Git- und npm-Belege liegen daneben unter `docs/Liefernachweise`.
22
+ 2. TGZ zuerst auf der eigenen Pilotanlage prüfen. Für die Veröffentlichung den bestehenden npm-Ablauf verwenden und das öffentliche Archiv überprüfen, bevor der ioBroker-Repositoryeintrag auf 9.0.35 zeigt. Das Werkzeug `node tools/nexowatt-patch-repo.cjs "/Pfad/zu/repo-nexowatt.json"` übernimmt diese Integritätsprüfung.
23
+ 3. Bei gesundem Betrieb das Dashboard über mehrere Anzeigeperioden beobachten. Dann an einem dafür vorgesehenen Testgerät die Kommunikation unterbrechen und wiederherstellen. Gerätebezeichnung, Anzahl der Meldungen und Wiedereintritt in den Normalzustand prüfen. Auch bei einem bereits per VPN geöffneten Browser kontrollieren.
24
+ 4. Eine Prozessstörung und eine absichtliche Modul-Pause getrennt prüfen. Der Funktionstest an einer Betriebseinrichtung mit laufender Regelung gehört auf die Pilotanlage. Die Benachrichtigungseinstellungen, Zustellung über den eingesetzten SMTP-Server und den Versandzeitpunkt für die gewählte Kategorie prüfen.
25
+ 5. Für einen Rückfall den vorigen geprüften Paketstand und die dazu passende Instanzsicherung bereithalten. Die bereits in der Anlage betriebenen Funktionen, zum Beispiel die lokale Wärmepumpenregelung, vor und nach dem Update vergleichen.
26
+
27
+ [Softwareprüfungen und Grenzen](../reports/unified-9.0.35/PRUEFBERICHT.md) · [Einrichtung der OVUM MIRA](START_HIER_9.0.34.md)
@@ -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.34",
4
+ "version": "9.0.36",
5
5
  "titleLang": {
6
6
  "en": "NexoWatt EOS",
7
7
  "de": "NexoWatt EOS",
@@ -18,6 +18,14 @@
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
+ },
25
+ "9.0.35": {
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.",
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."
28
+ },
21
29
  "9.0.34": {
22
30
  "de": "OVUM MIRA ab Firmware 1.1.3 über Modbus einrichten, elektrische Wärmepumpenleistung im Energiefluss anzeigen und die PV-Anforderung an den Hydraulikregler übergeben.",
23
31
  "en": "Connect OVUM MIRA from firmware 1.1.3 via Modbus, display electrical heat-pump power in the energy flow and send PV requests to the hydraulic controller."
@@ -89,14 +97,6 @@
89
97
  "9.0.17": {
90
98
  "de": "EOS-Sitzungen vom ioBroker Admin getrennt; automatische Änderungen fremder Rechte und Metadaten entfernt; Parallelbetrieb mit Standard-Backitup abgesichert.",
91
99
  "en": "Isolate EOS sessions from ioBroker Admin; remove automatic foreign permission and metadata changes; preserve standard Backitup coexistence."
92
- },
93
- "9.0.16": {
94
- "de": "Geräte speichern und vorhandene Einstellungen beim Start erhalten; alte Installer-Dateien für npm-Publish sichern; Abmeldung nach zehn Minuten ohne Bedienung.",
95
- "en": "Fix device saving and preserve settings during startup; quarantine old Installer files for npm publishing; log out after ten idle minutes."
96
- },
97
- "9.0.15": {
98
- "en": "Unified NexoWatt EOS smartphone app identity; clearly named legacy migration entry in administration and settings.",
99
- "de": "Einheitliches NexoWatt EOS App-Symbol für Smartphones; sichtbarer Zugang zur Bestandsübernahme in Administration und Einstellungen."
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.34/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.34/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.34/LICENSE"
160
+ "link": "https://unpkg.com/iobroker.eos-admin@9.0.36/LICENSE"
161
161
  },
162
162
  "logTransporter": true,
163
163
  "stopBeforeUpdate": true,
@@ -45,6 +45,7 @@ export interface Driver {
45
45
  export interface HostedRuntime {
46
46
  started: boolean;
47
47
  _hbOnline?: boolean;
48
+ getDashboardReachability?(now: number): 'online' | 'offline' | 'unknown';
48
49
  driver?: Driver | null;
49
50
  _writeQueue?: Map<unknown, unknown>;
50
51
  _stopWriteLoop?(): void;
@@ -12,6 +12,7 @@
12
12
  */
13
13
  const fs = require('node:fs/promises');
14
14
  const path = require('node:path');
15
+ const { createHash } = require('node:crypto');
15
16
  const { isDeepStrictEqual } = require('node:util');
16
17
  const { guardDriver } = require('./operation-guard');
17
18
  const SOURCE_VERSION = '0.5.176';
@@ -242,6 +243,24 @@ function createHostedModule({ adapter, canOperate, config = {}, runtimeFactory }
242
243
  let lastConnection;
243
244
  /** @type {Map<string, HostedRuntime>} */
244
245
  const runtimes = new Map();
246
+ // Keep stable customer labels and opaque notification keys outside the hot polling loop.
247
+ const dashboardDevices = settings.devices.map((device, index) => {
248
+ const label = typeof device.name === 'string' ? device.name.trim() : '';
249
+ const endpoints = Object.values(device.connection || {}).filter(value => typeof value === 'string' && value.length >= 4);
250
+ const safeLabel = label.length <= 64 && /^[\p{L}\p{M}\p{N} ()_–·-]+$/u.test(label) && !/\d{6,}|[a-f\d]{16,}|(?:[a-f\d]{2}-){5}[a-f\d]{2}/i.test(label)
251
+ && label !== device.id && !endpoints.some(value => label.includes(String(value)));
252
+ return {id:device.id, enabled:device.enabled !== false, name:safeLabel ? label : `Gerät ${index + 1}`,
253
+ key:createHash('sha256').update(device.id).digest('hex')};
254
+ });
255
+ function getDashboardDeviceHealth() {
256
+ if (state !== 'running' || !permitted()) return {state:'unknown',offline:[],totalOffline:0,tracked:[],complete:false};
257
+ const now = Date.now();
258
+ const tracked = dashboardDevices.map(({id,enabled,name,key}) => ({key, name,
259
+ state: enabled ? runtimes.get(id)?.getDashboardReachability?.(now) || 'unknown' : 'disabled'}));
260
+ const lost = tracked.filter(entry => entry.state === 'offline');
261
+ return {state:lost.length ? 'fault' : tracked.some(entry => entry.state === 'unknown') ? 'unknown' : 'ok',
262
+ offline:lost.slice(0,12).map(({name}) => ({name})),totalOffline:lost.length,tracked,complete:true};
263
+ }
245
264
  function permitted() { try { return active && !stopping && canOperate() === true; } catch { return false; } }
246
265
  /** @param {boolean} connected */
247
266
  async function writeConnection(connected) {
@@ -376,6 +395,6 @@ function createHostedModule({ adapter, canOperate, config = {}, runtimeFactory }
376
395
  }
377
396
  }
378
397
  function getStatus() { return { state, sourceVersion: SOURCE_VERSION, configured: settings.devices.length, running: runtimes.size, connected: lastConnection === true, lastError }; }
379
- return { start, stop, onStateChange, getStatus, getCatalog, command };
398
+ return { start, stop, onStateChange, getStatus, getCatalog, command, getDashboardDeviceHealth };
380
399
  }
381
400
  module.exports = { createHostedModule, validateConfig, preflightLegacyConfig, migrateLegacyConfig: preflightLegacyConfig, normalizeConfig: validateConfig, DEFAULTS, SOURCE_VERSION, command, getCatalog };
@@ -217,6 +217,8 @@ class DeviceRuntime {
217
217
  this._hbLastSeen = 0;
218
218
  this._hbOnline = false;
219
219
  this._hbTimeoutMs = 0;
220
+ this._dashboardMonitoringAt = 0;
221
+ this._dashboardTransportFailed = false;
220
222
  this._hbLastWriteAt = 0;
221
223
  this._hbCheckTimer = null;
222
224
  this._hbLastSourceStamp = 0;
@@ -956,6 +958,18 @@ class DeviceRuntime {
956
958
  }
957
959
  }
958
960
 
961
+ // Only a physical sample clears a transport failure. The initial false heartbeat
962
+ // denotes an unobserved device until its configured reporting window expires.
963
+ getDashboardReachability(now = Date.now()) {
964
+ if (!this.started || !this._dashboardMonitoringAt) return 'unknown';
965
+ if (this._dashboardTransportFailed) return 'offline';
966
+ const seen = Number(this._hbLastSeen) || 0;
967
+ const age = now - (seen || this._dashboardMonitoringAt);
968
+ if (age < 0 || this._hbTimeoutMs <= 0) return 'unknown';
969
+ if (age > this._hbTimeoutMs) return 'offline';
970
+ return this._hbOnline && seen > 0 ? 'online' : 'unknown';
971
+ }
972
+
959
973
  async _setHeartbeatOnline(nextOnline, offlineReason) {
960
974
  const b = !!nextOnline;
961
975
  if (!b) await this._resetAblEmh1LiveMeasurements();
@@ -999,6 +1013,7 @@ class DeviceRuntime {
999
1013
  this._hbLastSeen = now;
1000
1014
  }
1001
1015
 
1016
+ this._dashboardTransportFailed = false;
1002
1017
  // Flip online immediately when we see the device alive
1003
1018
  if (!this._hbOnline) {
1004
1019
  await this._setHeartbeatOnline(true);
@@ -6658,6 +6673,7 @@ class DeviceRuntime {
6658
6673
  return;
6659
6674
  }
6660
6675
 
6676
+ this._dashboardTransportFailed = true;
6661
6677
  const message = String(errorMessage || 'MQTT disconnected');
6662
6678
  await this._setStateCached(`${this.baseId}.info.connection`, false, true);
6663
6679
  await this._setStateCached(`${this.baseId}.info.lastError`, message, true);
@@ -6782,6 +6798,8 @@ class DeviceRuntime {
6782
6798
  // (We still keep the counter monotonic across restarts.)
6783
6799
  await this._loadHeartbeatStateFromDb().catch(() => {});
6784
6800
  this._hbLastSeen = 0;
6801
+ this._dashboardMonitoringAt = Date.now();
6802
+ this._dashboardTransportFailed = false;
6785
6803
  this._hbLastSourceStamp = 0;
6786
6804
  this._hbLastWriteAt = 0;
6787
6805
  this._hbOnline = false;
@@ -7233,6 +7251,7 @@ class DeviceRuntime {
7233
7251
  // should not make a busy wallbox flap online/offline. Transport errors still mark the
7234
7252
  // device offline immediately, and repeated read failures go offline once the grace expires.
7235
7253
  if (!keepConnectionState) this._connOk = false;
7254
+ if (isTransport && !keepConnectionState) this._dashboardTransportFailed = true;
7236
7255
 
7237
7256
  const host = this.cfg?.connection?.host;
7238
7257
  const port = Number(this.cfg?.connection?.port || 502);
@@ -2867,6 +2867,11 @@ async readDatapoints(datapoints) {
2867
2867
  this._busy = true;
2868
2868
  this._busySince = Date.now();
2869
2869
 
2870
+ // A MIRA session loss affects every register. Only a device response can
2871
+ // identify an unsupported register for the optional-group cooldown.
2872
+ const mustAbortPoll = error => isReadOperationBoundaryError(error) ||
2873
+ (this.abortPollOnTransportLoss === true && isTransportError(error));
2874
+
2870
2875
  const out = {};
2871
2876
 
2872
2877
  // Keep numeric raw values separate so we can apply dynamic scale factors after all reads.
@@ -2938,7 +2943,7 @@ async readDatapoints(datapoints) {
2938
2943
  };
2939
2944
 
2940
2945
  const handleGroupReadError = async (fc, g, e, unitId) => {
2941
- if (isReadOperationBoundaryError(e)) throw e;
2946
+ if (mustAbortPoll(e)) throw e;
2942
2947
  const isRequired = groupHasRequiredDp(g);
2943
2948
 
2944
2949
  if (isTransportError(e)) {
@@ -3077,7 +3082,7 @@ async readDatapoints(datapoints) {
3077
3082
  success += 1;
3078
3083
  }
3079
3084
  } catch (e) {
3080
- if (isReadOperationBoundaryError(e)) throw e;
3085
+ if (mustAbortPoll(e)) throw e;
3081
3086
  lastErr = e;
3082
3087
  if (groupHasRequiredDp(ig)) {
3083
3088
  requiredFailure = e;
@@ -3109,7 +3114,7 @@ async readDatapoints(datapoints) {
3109
3114
  return s && s.sunspecModel !== undefined && s.sunspecModel !== null;
3110
3115
  });
3111
3116
  if (needsSunSpec) {
3112
- try { await this._maybeScanSunSpecModels(); } catch (error) { if (isReadOperationBoundaryError(error)) throw error; }
3117
+ try { await this._maybeScanSunSpecModels(); } catch (error) { if (mustAbortPoll(error)) throw error; }
3113
3118
  }
3114
3119
 
3115
3120
  const readItems = (datapoints || []).map(dp => {
@@ -3209,7 +3214,7 @@ async readDatapoints(datapoints) {
3209
3214
  try {
3210
3215
  regs = await readRegisterGroupRaw(fc, g.start, len, unitId);
3211
3216
  } catch (e) {
3212
- if (isReadOperationBoundaryError(e)) throw e;
3217
+ if (mustAbortPoll(e)) throw e;
3213
3218
  let fallbackReadOk = false;
3214
3219
  if (isModbusIllegalAddressOrValue(e)) {
3215
3220
  for (const off of groupFallbackOffsets(g)) {
@@ -3221,7 +3226,7 @@ async readDatapoints(datapoints) {
3221
3226
  this._cacheAlfenReadVariantForGroup(g, unitId, off);
3222
3227
  break;
3223
3228
  } catch (fallbackError) {
3224
- if (isReadOperationBoundaryError(fallbackError)) throw fallbackError;
3229
+ if (mustAbortPoll(fallbackError)) throw fallbackError;
3225
3230
  // Try the next explicitly configured fallback offset, if any.
3226
3231
  }
3227
3232
  }
@@ -4466,4 +4471,4 @@ async readDatapoints(datapoints) {
4466
4471
  }
4467
4472
  }
4468
4473
 
4469
- module.exports = { ModbusDriver };
4474
+ module.exports = { ModbusDriver, isTransportError };
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const { ModbusDriver } = require('./modbus');
3
+ const { ModbusDriver, isTransportError } = require('./modbus');
4
4
  const { assertOperationAllowed } = require('../operationContext');
5
5
 
6
6
  // OVUM MIRA 1.1.3 START, physical 0-based holding-register addresses.
@@ -33,6 +33,7 @@ class OvumMiraDriver extends ModbusDriver {
33
33
  this._disableAddressFallbackOffsets = true;
34
34
  this.wordOrder = this.byteOrder = 'be';
35
35
  this.strictContiguousReads = true;
36
+ this.abortPollOnTransportLoss = true;
36
37
  this.loginCode = code;
37
38
  this.needStatus = true;
38
39
  this.sessionClient = null;
@@ -78,8 +79,11 @@ class OvumMiraDriver extends ModbusDriver {
78
79
  await client.writeRegisters(101, this.loginCode.slice());
79
80
  } catch (error) {
80
81
  // Never propagate a library exception that may contain a request dump.
81
- const safe = new Error('MIRA: Übertragung der Anmeldung fehlgeschlagen.');
82
- if (['ETIMEDOUT', 'ECONNRESET', 'EPIPE', 'ERR_SOCKET_CLOSED'].includes(error?.code)) safe.code = error.code;
82
+ const safe = rejectLogin('MIRA: Übertragung der Anmeldung fehlgeschlagen.');
83
+ if (isTransportError(error)) {
84
+ safe.code = ['ETIMEDOUT', 'ECONNRESET', 'EPIPE', 'ERR_SOCKET_CLOSED'].includes(error?.code)
85
+ ? error.code : 'ERR_SOCKET_CLOSED';
86
+ }
83
87
  throw safe;
84
88
  }
85
89
  if (await status() !== 1) {