iobroker.eos-admin 9.0.34 → 9.0.35
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.
- package/NEXOWATT_EOS_BUILD_INFO.json +13 -10
- package/README.md +10 -4
- package/adminWww/.vite/manifest.json +39 -39
- package/adminWww/NEXOWATT_EOS_FRONTEND_MANIFEST.json +107 -107
- package/adminWww/assets/{AdapterUpdateDialog-5L75o18m.js → AdapterUpdateDialog-DH6S-kWX.js} +1 -1
- package/adminWww/assets/{Adapters-FcghjF7E.js → Adapters-CIlqSF5B.js} +1 -1
- package/adminWww/assets/{ConfigManager-BnHarBfH.js → ConfigManager-BhVBfM-q.js} +1 -1
- package/adminWww/assets/{Enums-BjLbLLQL.js → Enums-3H97czGs.js} +1 -1
- package/adminWww/assets/{Fields-DDE1hVOa.js → Fields-vWLKiuvO.js} +1 -1
- package/adminWww/assets/{Files-CDjnR4q6.js → Files-wmjjMXYM.js} +1 -1
- package/adminWww/assets/{Hosts-CJKQaNrD.js → Hosts-Bk-xmI98.js} +1 -1
- package/adminWww/assets/{Instances-DZNl369k.js → Instances-Db6Vgh62.js} +1 -1
- package/adminWww/assets/{Intro-CjAmMGDB.js → Intro-Dc3wAG9V.js} +1 -1
- package/adminWww/assets/{Logs-rUAV7SwM.js → Logs-CPbEGWNq.js} +1 -1
- package/adminWww/assets/{Objects-CqOH6rT_.js → Objects-DJB-2468.js} +1 -1
- package/adminWww/assets/{Overview-BOtXqsMy.js → Overview-DdvghCLQ.js} +1 -1
- package/adminWww/assets/{State-C8ncThop.js → State-0UzpgKYj.js} +1 -1
- package/adminWww/assets/{UsedResources-lUYJqy4F.js → UsedResources-Bcmo58YD.js} +1 -1
- package/adminWww/assets/{Users-CK1Cax82.js → Users-BGHf3Rox.js} +1 -1
- package/adminWww/assets/{bootstrap-CC0Qr-kr.js → bootstrap-qkrk_CAn.js} +3 -3
- package/adminWww/assets/{hostInit-DqGL6nY8.js → hostInit-DlGqatlv.js} +1 -1
- package/adminWww/assets/{icons-material-07rWS63O.js → icons-material-CUNq6tdT.js} +1 -1
- package/adminWww/assets/{index-BhhkToP2.js → index-BrtKq3UN.js} +2 -2
- package/adminWww/assets/{installSVGRenderer-B4-7lSQZ.js → installSVGRenderer-DujLjpXt.js} +1 -1
- package/adminWww/assets/{mf-entry-bootstrap-0-1afd2287.js → mf-entry-bootstrap-0-3e1cd85c.js} +2 -2
- package/adminWww/index.html +23 -23
- package/adminWww/mf-manifest.json +1 -1
- package/adminWww/mf-stats.json +1 -1
- package/adminWww/remoteEntry-eos-9.0.35.js +12 -0
- package/adminWww/remoteEntry.js +1 -1
- package/build/lib/eosDashboardProcessStatus.js +191 -0
- package/build/lib/eosDashboardProcessStatus.js.map +1 -0
- package/build/lib/eosKiosk.js +1 -0
- package/build/lib/eosKiosk.js.map +1 -1
- package/build/lib/eosModuleHost.js +17 -6
- package/build/lib/eosModuleHost.js.map +1 -1
- package/build/lib/eosModuleHttp.js +18 -3
- package/build/lib/eosModuleHttp.js.map +1 -1
- package/build/lib/eosModuleProcess.js +17 -0
- package/build/lib/eosModuleProcess.js.map +1 -1
- package/build/lib/eosModuleProcessWorker.js +22 -1
- package/build/lib/eosModuleProcessWorker.js.map +1 -1
- package/build/lib/eosRuntimeControl.js +6 -0
- package/build/lib/eosRuntimeControl.js.map +1 -1
- package/build/lib/eosRuntimeHealth.js +50 -1
- package/build/lib/eosRuntimeHealth.js.map +1 -1
- package/build/lib/eosSupervisorNotifications.js +169 -0
- package/build/lib/eosSupervisorNotifications.js.map +1 -0
- package/build/lib/eosUiProcess.js +1 -0
- package/build/lib/eosUiProcess.js.map +1 -1
- package/build/lib/web.js +5 -0
- package/build/lib/web.js.map +1 -1
- package/docs/README.md +1 -0
- package/docs/reports/unified-9.0.35/PRUEFBERICHT.md +51 -0
- package/docs/reports/unified-9.0.35/PRUEFERGEBNISSE.json +112 -0
- package/docs/reports/unified-9.0.35/raw/INDEX.json +282 -0
- package/docs/reports/unified-9.0.35/raw/backend.log +5 -0
- package/docs/reports/unified-9.0.35/raw/browser-lp-detail.log +1 -0
- package/docs/reports/unified-9.0.35/raw/browser-lp-feedback.log +1 -0
- package/docs/reports/unified-9.0.35/raw/cold-ocpp-22.log +108 -0
- package/docs/reports/unified-9.0.35/raw/cold-ocpp-24.log +24 -0
- package/docs/reports/unified-9.0.35/raw/core-final-node22.log +1439 -0
- package/docs/reports/unified-9.0.35/raw/core-final-node24.log +1381 -0
- package/docs/reports/unified-9.0.35/raw/dashboard-de-en-nl.json +716 -0
- package/docs/reports/unified-9.0.35/raw/device-chain-closed-fixed.json +98 -0
- package/docs/reports/unified-9.0.35/raw/device-chain-rst-fixed.json +98 -0
- package/docs/reports/unified-9.0.35/raw/device-chain.json +93 -0
- package/docs/reports/unified-9.0.35/raw/ee-fusion-final.log +12 -0
- package/docs/reports/unified-9.0.35/raw/eebus-monitor-browser.json +1 -0
- package/docs/reports/unified-9.0.35/raw/eebus-monitor-node22.log +206 -0
- package/docs/reports/unified-9.0.35/raw/eebus-monitor-node24.log +39 -0
- package/docs/reports/unified-9.0.35/raw/fixtures-verification.log +44 -0
- package/docs/reports/unified-9.0.35/raw/frontend.log +152 -0
- package/docs/reports/unified-9.0.35/raw/installer.log +26 -0
- package/docs/reports/unified-9.0.35/raw/legacy-mail-setup-browser.log +1 -0
- package/docs/reports/unified-9.0.35/raw/lint.log +45 -0
- package/docs/reports/unified-9.0.35/raw/live-ems-loss.log +10 -0
- package/docs/reports/unified-9.0.35/raw/modules.log +5 -0
- package/docs/reports/unified-9.0.35/raw/node22-mira-reconnect-integrity.log +452 -0
- package/docs/reports/unified-9.0.35/raw/node22-mira.log +222 -0
- package/docs/reports/unified-9.0.35/raw/node22-system-status.log +213 -0
- package/docs/reports/unified-9.0.35/raw/node22-tests-final.log +18137 -0
- package/docs/reports/unified-9.0.35/raw/node22-version.log +1 -0
- package/docs/reports/unified-9.0.35/raw/node24-mira-reconnect-integrity.log +79 -0
- package/docs/reports/unified-9.0.35/raw/node24-mira.log +41 -0
- package/docs/reports/unified-9.0.35/raw/node24-system-status.log +40 -0
- package/docs/reports/unified-9.0.35/raw/node24-tests-final.log +3019 -0
- package/docs/reports/unified-9.0.35/raw/node24-version.log +1 -0
- package/docs/reports/unified-9.0.35/raw/notifications-legacy-node22.log +1 -0
- package/docs/reports/unified-9.0.35/raw/notifications-legacy-node24.log +1 -0
- package/docs/reports/unified-9.0.35/raw/notifications-node22.log +67 -0
- package/docs/reports/unified-9.0.35/raw/notifications-node24.log +17 -0
- package/docs/reports/unified-9.0.35/raw/npm-runtime-audit.json +77 -0
- package/docs/reports/unified-9.0.35/raw/ocpp-dashboard-stations-node22.log +110 -0
- package/docs/reports/unified-9.0.35/raw/ocpp-dashboard-stations-node24.log +106 -0
- package/docs/reports/unified-9.0.35/raw/ocpp-history-node22.log +561 -0
- package/docs/reports/unified-9.0.35/raw/ocpp-history-node24.log +98 -0
- package/docs/reports/unified-9.0.35/raw/poll-life-node22.log +38 -0
- package/docs/reports/unified-9.0.35/raw/poll-life-node24.log +12 -0
- package/docs/reports/unified-9.0.35/raw/qa-source-check.log +2 -0
- package/docs/reports/unified-9.0.35/raw/release-metadata.log +13 -0
- package/docs/reports/unified-9.0.35/raw/sbom.log +8 -0
- package/docs/reports/unified-9.0.35/raw/typecheck.log +5 -0
- package/docs/reports/unified-9.0.35/raw/ui-runtime.log +8 -0
- package/docs/reports/unified-9.0.35/raw/vergleich-9.0.33.json +29 -0
- package/docs/reports/unified-9.0.35/raw/vergleich-9.0.34.json +249 -0
- package/docs/reports/unified-9.0.35/raw/vorher-9.0.33-chromium.json +286 -0
- package/docs/reports/unified-9.0.35/raw/vorher-9.0.34-chromium.json +291 -0
- package/docs/start/START_HIER_9.0.35.md +27 -0
- package/io-package.json +8 -8
- package/modules/devices/contracts.d.ts +1 -0
- package/modules/devices/index.js +20 -1
- package/modules/devices/lib/deviceRuntime.js +19 -0
- package/modules/devices/lib/drivers/modbus.js +11 -6
- package/modules/devices/lib/drivers/ovumMira.js +7 -3
- package/modules/devices/test/ovumMiraTransport.test.js +40 -1
- package/modules/eebus/README.md +8 -0
- package/modules/eebus/admin/index.js +29 -2
- package/modules/eebus/build/index.js +28 -3
- package/modules/eebus/build/lib/eebusRuntime.js +17 -2
- package/modules/eebus/build/lib/partnerMonitor.js +160 -0
- package/modules/eebus/build/lib/shipEndpoint.js +4 -0
- package/modules/eebus/build/lib/stateDefinitions.js +1 -0
- package/modules/eebus/src/index.ts +23 -3
- package/modules/eebus/src/lib/eebusRuntime.ts +20 -2
- package/modules/eebus/src/lib/partnerMonitor.ts +127 -0
- package/modules/eebus/src/lib/shipEndpoint.ts +5 -0
- package/modules/eebus/src/lib/stateDefinitions.ts +1 -0
- package/modules/eebus/test/partner-monitor.test.js +82 -0
- package/modules/eebus/test/security.test.js +17 -0
- package/modules/ocpp/README.md +9 -1
- package/modules/ocpp/build/index.js +137 -10
- package/modules/ocpp/build/stationHistory.js +113 -0
- package/modules/ocpp/ocpp/freshness.d.ts +3 -0
- package/modules/ocpp/ocpp/freshness.js +6 -0
- package/modules/ocpp/provenance.json +3 -2
- package/modules/ocpp/runtime.d.ts +1 -0
- package/modules/ocpp/runtime.js +23 -1
- package/modules/ocpp/src/index.ts +163 -12
- package/modules/ocpp/src/stationHistory.ts +119 -0
- package/modules/ocpp/test/hosted.test.cjs +161 -0
- package/package.json +7 -5
- package/release-manifests/unified/build-environment.cdx.json +6 -6
- package/release-manifests/unified/files.json +220 -140
- package/release-manifests/unified/frontend.cdx.json +6 -6
- package/release-manifests/unified/installer.cdx.json +6 -6
- package/release-manifests/unified/obsolete-admin-assets.json +83 -0
- package/release-manifests/unified/runtime.cdx.json +30 -30
- package/release-manifests/unified/validation.json +15 -15
- package/tools/eos-release-manifest.cjs +1 -1
- package/ui/io-package.json +5 -1
- package/ui/lib/notification-mail.js +235 -40
- package/ui/lib/notification-policy.js +41 -14
- package/ui/package.json +2 -1
- package/ui/www/app.js +91 -11
- package/ui/www/dashboard-lp-status.js +4 -11
- package/ui/www/dashboard-process-status.js +202 -0
- package/ui/www/i18n/en.json +23 -0
- package/ui/www/i18n/nl.json +20 -0
- package/ui/www/index.html +10 -5
- package/ui/www/live-display.js +101 -9
- package/ui/www/manifest.webmanifest +2 -2
- package/ui/www/settings.html +2 -2
- package/ui/www/styles.css +4 -0
- package/adminWww/remoteEntry-eos-9.0.34.js +0 -12
|
@@ -0,0 +1,291 @@
|
|
|
1
|
+
{
|
|
2
|
+
"ok": true,
|
|
3
|
+
"legacy": true,
|
|
4
|
+
"browser": "HeadlessChrome/158.0.8127.0",
|
|
5
|
+
"appSha256": "ce49c3e1c5f184a1d72dcbe1fd31f54b96a07e98625ab8e7e8df4eadbb0c88e2",
|
|
6
|
+
"scope": "Shipped dashboard, simulated HTTP/SSE backend and physical telemetry, real browser frames and DOM mutations.",
|
|
7
|
+
"results": [
|
|
8
|
+
{
|
|
9
|
+
"language": "de",
|
|
10
|
+
"steadyPollCount": 0,
|
|
11
|
+
"cases": {
|
|
12
|
+
"startup": {
|
|
13
|
+
"status": "Alle Systeme normal",
|
|
14
|
+
"panel": "card nw-panel nw-panel-status",
|
|
15
|
+
"ems": "Aktiv",
|
|
16
|
+
"grid": "Stabil",
|
|
17
|
+
"lp": "Ladepunkte bereit"
|
|
18
|
+
},
|
|
19
|
+
"stable": {
|
|
20
|
+
"status": "Alle Systeme normal",
|
|
21
|
+
"panel": "card nw-panel nw-panel-status",
|
|
22
|
+
"ems": "Aktiv",
|
|
23
|
+
"grid": "Messung aktuell",
|
|
24
|
+
"lp": "Ladepunkte bereit"
|
|
25
|
+
},
|
|
26
|
+
"disconnect": {
|
|
27
|
+
"status": "Alle Systeme normal",
|
|
28
|
+
"panel": "card nw-panel nw-panel-status",
|
|
29
|
+
"ems": "Verbindung unterbrochen",
|
|
30
|
+
"grid": "Messstatus unbekannt",
|
|
31
|
+
"lp": "Ladepunkte bereit"
|
|
32
|
+
},
|
|
33
|
+
"reconnectedWithoutSnapshot": {
|
|
34
|
+
"status": "Alle Systeme normal",
|
|
35
|
+
"panel": "card nw-panel nw-panel-status",
|
|
36
|
+
"ems": "Verbindung unterbrochen",
|
|
37
|
+
"grid": "Messstatus unbekannt",
|
|
38
|
+
"lp": "Ladepunkte bereit"
|
|
39
|
+
},
|
|
40
|
+
"staleInit": {
|
|
41
|
+
"status": "Alle Systeme normal",
|
|
42
|
+
"panel": "card nw-panel nw-panel-status",
|
|
43
|
+
"ems": "Status unbekannt",
|
|
44
|
+
"grid": "Messstatus unbekannt",
|
|
45
|
+
"lp": "Ladepunkte bereit"
|
|
46
|
+
},
|
|
47
|
+
"incomplete": {
|
|
48
|
+
"status": "Alle Systeme normal",
|
|
49
|
+
"panel": "card nw-panel nw-panel-status",
|
|
50
|
+
"ems": "Status unbekannt",
|
|
51
|
+
"grid": "Messstatus unbekannt",
|
|
52
|
+
"lp": "Ladepunkte bereit"
|
|
53
|
+
},
|
|
54
|
+
"stopped": {
|
|
55
|
+
"status": "Alle Systeme normal",
|
|
56
|
+
"panel": "card nw-panel nw-panel-status",
|
|
57
|
+
"ems": "Gestoppt",
|
|
58
|
+
"grid": "Messung aktuell",
|
|
59
|
+
"lp": "Ladepunkte bereit"
|
|
60
|
+
},
|
|
61
|
+
"lpFault": {
|
|
62
|
+
"status": "1 Ladepunkt mit Fehler",
|
|
63
|
+
"panel": "card nw-panel nw-panel-status is-error",
|
|
64
|
+
"ems": "Aktiv",
|
|
65
|
+
"grid": "Messung aktuell",
|
|
66
|
+
"lp": "1 Ladepunkt mit Fehler"
|
|
67
|
+
},
|
|
68
|
+
"lpWarning": {
|
|
69
|
+
"status": "1 Ladepunkt begrenzt oder wartend",
|
|
70
|
+
"panel": "card nw-panel nw-panel-status is-warn",
|
|
71
|
+
"ems": "Aktiv",
|
|
72
|
+
"grid": "Messung aktuell",
|
|
73
|
+
"lp": "1 Ladepunkt begrenzt oder wartend"
|
|
74
|
+
},
|
|
75
|
+
"recovery": {
|
|
76
|
+
"status": "Alle Systeme normal",
|
|
77
|
+
"panel": "card nw-panel nw-panel-status",
|
|
78
|
+
"ems": "Aktiv",
|
|
79
|
+
"grid": "Messung aktuell",
|
|
80
|
+
"lp": "Ladepunkte bereit"
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"writes": [
|
|
84
|
+
{
|
|
85
|
+
"phase": "healthy",
|
|
86
|
+
"text": "Verbindung hergestellt · Betriebsstatus wird geprüft",
|
|
87
|
+
"timeMs": 10614
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"phase": "healthy",
|
|
91
|
+
"text": "EMS aktiv · NVP-Messung aktuell",
|
|
92
|
+
"timeMs": 10614
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"phase": "healthy",
|
|
96
|
+
"text": "Alle Systeme normal",
|
|
97
|
+
"timeMs": 10614
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"phase": "repeatInit",
|
|
101
|
+
"text": "Verbindung hergestellt · Betriebsstatus wird geprüft",
|
|
102
|
+
"timeMs": 12114
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"phase": "repeatInit",
|
|
106
|
+
"text": "EMS aktiv · NVP-Messung aktuell",
|
|
107
|
+
"timeMs": 12116
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"phase": "repeatInit",
|
|
111
|
+
"text": "Alle Systeme normal",
|
|
112
|
+
"timeMs": 12116
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"phase": "repeatInit",
|
|
116
|
+
"text": "Verbindung hergestellt · Betriebsstatus wird geprüft",
|
|
117
|
+
"timeMs": 12295
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"phase": "repeatInit",
|
|
121
|
+
"text": "EMS aktiv · NVP-Messung aktuell",
|
|
122
|
+
"timeMs": 12298
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"phase": "repeatInit",
|
|
126
|
+
"text": "Alle Systeme normal",
|
|
127
|
+
"timeMs": 12298
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"phase": "disconnect",
|
|
131
|
+
"text": "Verbindung unterbrochen",
|
|
132
|
+
"timeMs": 12491
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"phase": "disconnect",
|
|
136
|
+
"text": "Alle Systeme normal",
|
|
137
|
+
"timeMs": 12501
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"phase": "staleInit",
|
|
141
|
+
"text": "Verbindung hergestellt · Betriebsstatus wird geprüft",
|
|
142
|
+
"timeMs": 15735
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"phase": "staleInit",
|
|
146
|
+
"text": "Betriebsstatus prüfen",
|
|
147
|
+
"timeMs": 15737
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"phase": "staleInit",
|
|
151
|
+
"text": "Alle Systeme normal",
|
|
152
|
+
"timeMs": 15737
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"phase": "incomplete",
|
|
156
|
+
"text": "Verbindung hergestellt · Betriebsstatus wird geprüft",
|
|
157
|
+
"timeMs": 16096
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"phase": "incomplete",
|
|
161
|
+
"text": "Betriebsstatus prüfen",
|
|
162
|
+
"timeMs": 16099
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"phase": "incomplete",
|
|
166
|
+
"text": "Alle Systeme normal",
|
|
167
|
+
"timeMs": 16099
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"phase": "stopped",
|
|
171
|
+
"text": "Verbindung hergestellt · Betriebsstatus wird geprüft",
|
|
172
|
+
"timeMs": 16454
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"phase": "stopped",
|
|
176
|
+
"text": "EMS gestoppt",
|
|
177
|
+
"timeMs": 16456
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"phase": "stopped",
|
|
181
|
+
"text": "Alle Systeme normal",
|
|
182
|
+
"timeMs": 16456
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"phase": "lpFault",
|
|
186
|
+
"text": "Verbindung hergestellt · Betriebsstatus wird geprüft",
|
|
187
|
+
"timeMs": 26455
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"phase": "lpFault",
|
|
191
|
+
"text": "EMS aktiv · NVP-Messung aktuell",
|
|
192
|
+
"timeMs": 26455
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"phase": "lpFault",
|
|
196
|
+
"text": "1 Ladepunkt mit Fehler",
|
|
197
|
+
"timeMs": 26455
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"phase": "lpWarning",
|
|
201
|
+
"text": "Verbindung hergestellt · Betriebsstatus wird geprüft",
|
|
202
|
+
"timeMs": 26495
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"phase": "lpWarning",
|
|
206
|
+
"text": "EMS aktiv · NVP-Messung aktuell",
|
|
207
|
+
"timeMs": 26497
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"phase": "lpWarning",
|
|
211
|
+
"text": "1 Ladepunkt begrenzt oder wartend",
|
|
212
|
+
"timeMs": 26497
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"phase": "recovery",
|
|
216
|
+
"text": "Verbindung hergestellt · Betriebsstatus wird geprüft",
|
|
217
|
+
"timeMs": 26518
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"phase": "recovery",
|
|
221
|
+
"text": "EMS aktiv · NVP-Messung aktuell",
|
|
222
|
+
"timeMs": 26519
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"phase": "recovery",
|
|
226
|
+
"text": "Alle Systeme normal",
|
|
227
|
+
"timeMs": 26519
|
|
228
|
+
}
|
|
229
|
+
],
|
|
230
|
+
"paints": [
|
|
231
|
+
{
|
|
232
|
+
"phase": "healthy",
|
|
233
|
+
"text": "Alle Systeme normal",
|
|
234
|
+
"timeMs": 666
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"phase": "repeatInit",
|
|
238
|
+
"text": "Alle Systeme normal",
|
|
239
|
+
"timeMs": 12125
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"phase": "disconnect",
|
|
243
|
+
"text": "Verbindung unterbrochen",
|
|
244
|
+
"timeMs": 12492
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"phase": "disconnect",
|
|
248
|
+
"text": "Alle Systeme normal",
|
|
249
|
+
"timeMs": 12516
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"phase": "staleInit",
|
|
253
|
+
"text": "Alle Systeme normal",
|
|
254
|
+
"timeMs": 15740
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"phase": "incomplete",
|
|
258
|
+
"text": "Alle Systeme normal",
|
|
259
|
+
"timeMs": 16107
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"phase": "stopped",
|
|
263
|
+
"text": "Alle Systeme normal",
|
|
264
|
+
"timeMs": 16457
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"phase": "lpFault",
|
|
268
|
+
"text": "Alle Systeme normal",
|
|
269
|
+
"timeMs": 16826
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"phase": "lpFault",
|
|
273
|
+
"text": "1 Ladepunkt mit Fehler",
|
|
274
|
+
"timeMs": 26457
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"phase": "lpWarning",
|
|
278
|
+
"text": "1 Ladepunkt begrenzt oder wartend",
|
|
279
|
+
"timeMs": 26503
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"phase": "recovery",
|
|
283
|
+
"text": "Alle Systeme normal",
|
|
284
|
+
"timeMs": 26526
|
|
285
|
+
}
|
|
286
|
+
],
|
|
287
|
+
"phase": "recovery"
|
|
288
|
+
}
|
|
289
|
+
],
|
|
290
|
+
"processResults": []
|
|
291
|
+
}
|
|
@@ -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)
|
package/io-package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "eos-admin",
|
|
4
|
-
"version": "9.0.
|
|
4
|
+
"version": "9.0.35",
|
|
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.35": {
|
|
22
|
+
"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
|
+
"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."
|
|
24
|
+
},
|
|
21
25
|
"9.0.34": {
|
|
22
26
|
"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
27
|
"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."
|
|
@@ -93,10 +97,6 @@
|
|
|
93
97
|
"9.0.16": {
|
|
94
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.",
|
|
95
99
|
"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.
|
|
137
|
+
"extIcon": "https://unpkg.com/iobroker.eos-admin@9.0.35/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.
|
|
148
|
+
"readme": "https://unpkg.com/iobroker.eos-admin@9.0.35/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.
|
|
160
|
+
"link": "https://unpkg.com/iobroker.eos-admin@9.0.35/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;
|
package/modules/devices/index.js
CHANGED
|
@@ -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 (
|
|
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 (
|
|
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 (
|
|
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 (
|
|
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 (
|
|
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 =
|
|
82
|
-
if (
|
|
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) {
|
|
@@ -31,8 +31,9 @@ async function endpoint(t) {
|
|
|
31
31
|
const words = fc === 16 ? Array.from({ length: arg }, (_, i) => frame.readUInt16BE(13 + 2*i)) : [];
|
|
32
32
|
trace.push({ uid, fc, addr, arg, words });
|
|
33
33
|
const unit = state.get(uid);
|
|
34
|
+
if (unit?.resetAt === addr) { socket.resetAndDestroy(); return; }
|
|
34
35
|
let reply;
|
|
35
|
-
if (!unit) reply = Buffer.from([fc | 128, 2]);
|
|
36
|
+
if (!unit || (fc === 3 && unit?.unsupported === addr)) reply = Buffer.from([fc | 128, 2]);
|
|
36
37
|
else if (fc === 3) {
|
|
37
38
|
const values = addr === 100 && arg === 1 ? [unit.open ? 1 : 0] :
|
|
38
39
|
unit.open ? Array.from({length: arg}, (_, i) => unit.values.get(addr+i) ?? 0) : null;
|
|
@@ -87,6 +88,44 @@ test('MIRA sends unit-specific login using FC16, reads real WPM power and confir
|
|
|
87
88
|
assert.equal(ep.trace.length,before);
|
|
88
89
|
});
|
|
89
90
|
|
|
91
|
+
test('MIRA retries the meter after a TCP reset while keeping a genuine illegal optional register on cooldown', async t => {
|
|
92
|
+
const ep = await endpoint(t);
|
|
93
|
+
const wpm = ep.unit(111, true);
|
|
94
|
+
const { driver, dp } = device('wpm', { ...ep.connection, unitId: 111, timeoutMs: 250, writePassword: '' });
|
|
95
|
+
t.after(() => driver.disconnect());
|
|
96
|
+
const meter = dp('measurement.electricalPowerW');
|
|
97
|
+
const name = dp('info.unitName');
|
|
98
|
+
const snapshot = [name, meter];
|
|
99
|
+
const watts = Buffer.alloc(4);
|
|
100
|
+
watts.writeFloatBE(1.75);
|
|
101
|
+
wpm.values.set(56021, watts.readUInt16BE(0));
|
|
102
|
+
wpm.values.set(56022, watts.readUInt16BE(2));
|
|
103
|
+
wpm.unsupported = 56000;
|
|
104
|
+
const count = addr => ep.trace.filter(r => r.fc === 3 && r.addr === addr).length;
|
|
105
|
+
|
|
106
|
+
assert.deepEqual(await driver.readDatapoints(snapshot), { [meter.id]: 1750 });
|
|
107
|
+
assert.equal(count(56000), 1);
|
|
108
|
+
|
|
109
|
+
wpm.resetAt = 56021;
|
|
110
|
+
await assert.rejects(driver.readDatapoints(snapshot));
|
|
111
|
+
assert.equal(count(56021), 2, 'one read, no in-poll retry');
|
|
112
|
+
wpm.resetAt = undefined;
|
|
113
|
+
assert.deepEqual(await driver.readDatapoints(snapshot), { [meter.id]: 1750 });
|
|
114
|
+
assert.equal(count(56021), 3, 'first subsequent poll reads the meter again');
|
|
115
|
+
assert.equal(count(56000), 1, 'the device explicitly rejected the optional register');
|
|
116
|
+
|
|
117
|
+
const secured = device('wpm', { ...ep.connection, unitId: 111, timeoutMs: 250 });
|
|
118
|
+
t.after(() => secured.driver.disconnect());
|
|
119
|
+
wpm.resetAt = 101;
|
|
120
|
+
await assert.rejects(secured.driver.readDatapoints([meter]), error => {
|
|
121
|
+
assert.ok(['ETIMEDOUT', 'ERR_SOCKET_CLOSED', 'EPIPE', 'ECONNRESET'].includes(error.code));
|
|
122
|
+
assert.doesNotMatch(error.message, /abcd|1234/i);
|
|
123
|
+
return true;
|
|
124
|
+
});
|
|
125
|
+
wpm.resetAt = undefined;
|
|
126
|
+
assert.deepEqual(await secured.driver.readDatapoints([meter]), { [meter.id]: 1750 });
|
|
127
|
+
});
|
|
128
|
+
|
|
90
129
|
test('MIRA requires each login to be confirmed, rate-limits rejection and suppresses writes after authorization loss or mismatched readback', async t => {
|
|
91
130
|
const ep=await endpoint(t), unit=ep.unit(110);
|
|
92
131
|
const bad=device('hsm',{...ep.connection,writePassword:'9876543'}), no=device('hsm',{...ep.connection,writePassword:''});
|
package/modules/eebus/README.md
CHANGED
|
@@ -11,3 +11,11 @@ Eine übernehmbare private Geräteidentität wird erst nach bestätigtem Stillst
|
|
|
11
11
|
Der manuelle Konfigurationsimport bleibt absichtlich deaktiviert, erzeugt neue IDs unter `eos-admin.N.eebus.*` und erfordert neue Kopplung. Er ist kein automatischer 1:1-Import. Nach abgeschlossener automatischer Migration nicht zusätzlich manuell importieren.
|
|
12
12
|
|
|
13
13
|
Ablauf, Journal, Fehlercodes, RPC-Grenzen, Sicherung und Rückfall: `docs/unified/BESTANDSUEBERNAHME_9_0_7.md` im Gesamt-Repository. Softwaretests prüfen tatsächliche Schlüsselpaare und lokale TLS-Verbindungen; reale Geräte-, Anlagen- und Serienabnahmen bleiben erforderlich. Diese Angaben sind keine EEBus-/CRA-Zertifizierung.
|
|
14
|
+
|
|
15
|
+
## Partner im Dashboard überwachen (ab EOS 9.0.35)
|
|
16
|
+
|
|
17
|
+
Unter **EEBus → Geräte** den Partner koppeln und den erfolgreichen SHIP-Datenaustausch abwarten. In seiner Karte einen lokalen Anzeigenamen wie „Wärmepumpe West“ eingeben und **Überwachung aktivieren** wählen. Anmeldung am Netzwerk, mDNS-Erkennung oder Kopplung alleine erzeugen keine Überwachungszuordnung. Die Aktivierung speichert eine lokale Einstellung. Sie sendet keinen Steuer- oder Verbindungsbefehl an den Partner.
|
|
18
|
+
|
|
19
|
+
Die Anzeige überwacht die autorisierte SHIP-Verbindung. Nach ihrem Verlust meldet EOS den lokal vergebenen Namen. Bei Neustart des EEBus-Moduls hat ein zuvor überwachter Partner 120 Sekunden zum Wiederverbinden. Bis dahin ist sein Verbindungsstatus unbekannt. Bei der tatsächlichen Rückkehr des Datenaustauschs bestätigt EOS die Verbindung erneut. „Trennen“, ein Widerruf der Freigabe oder eine geänderte Zertifikatsbindung pausiert die Überwachung auch über einen Neustart hinweg. Nach erneut bestätigter Kopplung mit **Überwachung aktivieren** fortsetzen. Über **Überwachung entfernen** lässt sich ein gespeicherter Partner auch ohne aktuelle Verbindung austragen.
|
|
20
|
+
|
|
21
|
+
Die Anzeige beschreibt den Verbindungszustand. Der lokale Betriebszustand des angeschlossenen Geräts kann davon abweichen.
|