iobroker.eos-admin 9.0.30 → 9.0.33
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 +11 -12
- package/README.md +11 -11
- package/adminWww/.vite/manifest.json +39 -39
- package/adminWww/NEXOWATT_EOS_FRONTEND_MANIFEST.json +111 -110
- package/adminWww/apple-touch-icon-eos-v2.png +0 -0
- package/adminWww/apple-touch-icon.png +0 -0
- package/adminWww/assets/{AdapterUpdateDialog-qC6MANmq.js → AdapterUpdateDialog-DBUqmmyD.js} +1 -1
- package/adminWww/assets/{Adapters-C8quekd0.js → Adapters-dDEp7o5h.js} +1 -1
- package/adminWww/assets/{ConfigManager-hRZCAWRy.js → ConfigManager-DbqTWi2N.js} +1 -1
- package/adminWww/assets/{Enums-Dd0Z2KfV.js → Enums-DjldGElU.js} +1 -1
- package/adminWww/assets/{Fields-WfHFtdYw.js → Fields-0GsPCJeU.js} +1 -1
- package/adminWww/assets/{Files-DyG14v5-.js → Files-COnUtEbg.js} +1 -1
- package/adminWww/assets/{Hosts-3pSXVMxW.js → Hosts-CwU1LujG.js} +1 -1
- package/adminWww/assets/{Instances-DT6fp_TN.js → Instances-CUX5mxMQ.js} +1 -1
- package/adminWww/assets/{Intro-C6pMFhbu.js → Intro-BhQmHn3A.js} +1 -1
- package/adminWww/assets/{Logs-suepwNkZ.js → Logs-B5SpNqHq.js} +1 -1
- package/adminWww/assets/{Objects-CpjVeEjv.js → Objects-COg_cFkz.js} +1 -1
- package/adminWww/assets/{Overview-CxZJgF7X.js → Overview-CitzUjBF.js} +1 -1
- package/adminWww/assets/{State-CUsia7sz.js → State-D5ljzf-T.js} +1 -1
- package/adminWww/assets/{UsedResources-C3zr7pM8.js → UsedResources-BY_NF2wB.js} +1 -1
- package/adminWww/assets/{Users-BoBSUBkO.js → Users-Cu93_-VF.js} +1 -1
- package/adminWww/assets/{bootstrap-CM9qXoc1.js → bootstrap-Dwfxhm2V.js} +3 -3
- package/adminWww/assets/{hostInit-BQPg9kSQ.js → hostInit-3BbTwhaZ.js} +1 -1
- package/adminWww/assets/{icons-material-CDhwkQ0o.js → icons-material-DjqX0l_7.js} +1 -1
- package/adminWww/assets/{index-BrXN_pu2.js → index-nddph2Sl.js} +2 -2
- package/adminWww/assets/{installSVGRenderer-BEgWxsNI.js → installSVGRenderer-CPDIwFAL.js} +1 -1
- package/adminWww/assets/{mf-entry-bootstrap-0-3ef6056c.js → mf-entry-bootstrap-0-d1f0f40f.js} +2 -2
- package/adminWww/index.html +24 -24
- package/adminWww/mf-manifest.json +1 -1
- package/adminWww/mf-stats.json +1 -1
- package/adminWww/remoteEntry-eos-9.0.33.js +12 -0
- package/adminWww/remoteEntry.js +1 -1
- package/build/lib/eosUiProcess.js +31 -14
- package/build/lib/eosUiProcess.js.map +1 -1
- package/build/lib/eosUiProcessRpc.js +3 -1
- package/build/lib/eosUiProcessRpc.js.map +1 -1
- package/build/lib/eosUiProcessWorker.js +6 -4
- package/build/lib/eosUiProcessWorker.js.map +1 -1
- package/build/lib/web.js +9 -8
- package/build/lib/web.js.map +1 -1
- package/docs/README.md +3 -2
- package/docs/reports/unified-9.0.31/PRUEFBERICHT.md +22 -0
- package/docs/reports/unified-9.0.31/PRUEFERGEBNISSE.json +112 -0
- package/docs/reports/unified-9.0.31/raw/INDEX.json +102 -0
- package/docs/reports/unified-9.0.31/raw/backend.log +5 -0
- package/docs/reports/unified-9.0.31/raw/branding-build-node22.log +59 -0
- package/docs/reports/unified-9.0.31/raw/branding-node24.log +17 -0
- package/docs/reports/unified-9.0.31/raw/frontend.log +151 -0
- package/docs/reports/unified-9.0.31/raw/https-build-node22.log +235 -0
- package/docs/reports/unified-9.0.31/raw/https-node24.log +46 -0
- package/docs/reports/unified-9.0.31/raw/installer.log +26 -0
- package/docs/reports/unified-9.0.31/raw/lint.log +5 -0
- package/docs/reports/unified-9.0.31/raw/modules.log +5 -0
- package/docs/reports/unified-9.0.31/raw/node22-tests-final.log +17170 -0
- package/docs/reports/unified-9.0.31/raw/node22-version.log +1 -0
- package/docs/reports/unified-9.0.31/raw/node24-tests-final.log +2862 -0
- package/docs/reports/unified-9.0.31/raw/node24-version.log +1 -0
- package/docs/reports/unified-9.0.31/raw/typecheck.log +5 -0
- package/docs/reports/unified-9.0.31/raw/ui-runtime.log +8 -0
- package/docs/reports/unified-9.0.31/raw/web-lint.log +0 -0
- package/docs/reports/unified-9.0.32/PRUEFBERICHT.md +34 -0
- package/docs/reports/unified-9.0.32/PRUEFERGEBNISSE.json +112 -0
- package/docs/reports/unified-9.0.32/raw/INDEX.json +102 -0
- package/docs/reports/unified-9.0.32/raw/backend.log +5 -0
- package/docs/reports/unified-9.0.32/raw/browser-cadence-headless.json +63 -0
- package/docs/reports/unified-9.0.32/raw/browser-flow-headless.json +328 -0
- package/docs/reports/unified-9.0.32/raw/focused.log +67 -0
- package/docs/reports/unified-9.0.32/raw/frontend.log +151 -0
- package/docs/reports/unified-9.0.32/raw/installer.log +26 -0
- package/docs/reports/unified-9.0.32/raw/lint.log +5 -0
- package/docs/reports/unified-9.0.32/raw/modules.log +5 -0
- package/docs/reports/unified-9.0.32/raw/node22-tests-final.log +17212 -0
- package/docs/reports/unified-9.0.32/raw/node22-version.log +1 -0
- package/docs/reports/unified-9.0.32/raw/node24-tests-final.log +2869 -0
- package/docs/reports/unified-9.0.32/raw/node24-version.log +1 -0
- package/docs/reports/unified-9.0.32/raw/sbom.log +2 -0
- package/docs/reports/unified-9.0.32/raw/typecheck.log +5 -0
- package/docs/reports/unified-9.0.32/raw/ui-runtime.log +8 -0
- package/docs/reports/unified-9.0.32/raw/version-parity-928-929.log +6 -0
- package/docs/reports/unified-9.0.33/PRUEFBERICHT.md +60 -0
- package/docs/reports/unified-9.0.33/PRUEFERGEBNISSE.json +112 -0
- package/docs/reports/unified-9.0.33/raw/INDEX.json +272 -0
- package/docs/reports/unified-9.0.33/raw/backend.log +5 -0
- package/docs/reports/unified-9.0.33/raw/browser/UI_REVIEW.json +147 -0
- package/docs/reports/unified-9.0.33/raw/browser/admin-bundle.log +136 -0
- package/docs/reports/unified-9.0.33/raw/browser/eos-backup-settings-browser.log +67 -0
- package/docs/reports/unified-9.0.33/raw/browser/eos-customer-tariff-startup-browser.log +43 -0
- package/docs/reports/unified-9.0.33/raw/browser/eos-energyflow-browser-smoke.log +438 -0
- package/docs/reports/unified-9.0.33/raw/browser/eos-energyflow-cadence-browser-10s.log +108 -0
- package/docs/reports/unified-9.0.33/raw/browser/eos-evcs-delete-browser.log +1 -0
- package/docs/reports/unified-9.0.33/raw/browser/eos-history-setup-browser-smoke.log +49 -0
- package/docs/reports/unified-9.0.33/raw/browser/eos-kiosk-browser.log +59 -0
- package/docs/reports/unified-9.0.33/raw/browser/eos-ocpp-admin-browser.log +71 -0
- package/docs/reports/unified-9.0.33/raw/browser/eos-ocpp-installer-discovery-browser.log +11 -0
- package/docs/reports/unified-9.0.33/raw/browser/eos-pwa-trust-browser.log +35 -0
- package/docs/reports/unified-9.0.33/raw/browser/eos-runtime-controls-browser.log +78 -0
- package/docs/reports/unified-9.0.33/raw/browser/eos-runtime-health-browser.log +49 -0
- package/docs/reports/unified-9.0.33/raw/browser/eos-runtime-login-browser.log +34 -0
- package/docs/reports/unified-9.0.33/raw/browser/smarthome.log +46 -0
- package/docs/reports/unified-9.0.33/raw/browser-ten-seconds.json +108 -0
- package/docs/reports/unified-9.0.33/raw/changed-test-coverage.json +116 -0
- package/docs/reports/unified-9.0.33/raw/connected-control-node22.jsonl +42 -0
- package/docs/reports/unified-9.0.33/raw/connected-control-summary-node22.json +103 -0
- package/docs/reports/unified-9.0.33/raw/connected-control-summary.json +103 -0
- package/docs/reports/unified-9.0.33/raw/connected-control.jsonl +42 -0
- package/docs/reports/unified-9.0.33/raw/display-ui-node22.log +162 -0
- package/docs/reports/unified-9.0.33/raw/display-ui.log +35 -0
- package/docs/reports/unified-9.0.33/raw/frontend.log +151 -0
- package/docs/reports/unified-9.0.33/raw/git-delivery-fix.log +10 -0
- package/docs/reports/unified-9.0.33/raw/installer.log +26 -0
- package/docs/reports/unified-9.0.33/raw/license-central-node24.log +173 -0
- package/docs/reports/unified-9.0.33/raw/lint-final.log +45 -0
- package/docs/reports/unified-9.0.33/raw/modules.log +5 -0
- package/docs/reports/unified-9.0.33/raw/node22-npm-version.log +1 -0
- package/docs/reports/unified-9.0.33/raw/node22-tests-final.log +17646 -0
- package/docs/reports/unified-9.0.33/raw/node22-version.log +1 -0
- package/docs/reports/unified-9.0.33/raw/node24-npm-version.log +1 -0
- package/docs/reports/unified-9.0.33/raw/node24-tests-final.log +2941 -0
- package/docs/reports/unified-9.0.33/raw/node24-version.log +1 -0
- package/docs/reports/unified-9.0.33/raw/process-final-node22.log +220 -0
- package/docs/reports/unified-9.0.33/raw/process-final-node24.log +110 -0
- package/docs/reports/unified-9.0.33/raw/ram-picker.jsonl +12 -0
- package/docs/reports/unified-9.0.33/raw/reg-combined-node22.log +622 -0
- package/docs/reports/unified-9.0.33/raw/reg-combined.log +108 -0
- package/docs/reports/unified-9.0.33/raw/sbom-final.log +8 -0
- package/docs/reports/unified-9.0.33/raw/tariff-update-all-final-node22.log +1185 -0
- package/docs/reports/unified-9.0.33/raw/typecheck-final.log +5 -0
- package/docs/reports/unified-9.0.33/raw/ui-functional-node24.log +430 -0
- package/docs/reports/unified-9.0.33/raw/ui-runtime-final-verification.log +1 -0
- package/docs/reports/unified-9.0.33/raw/update-controller-standard-7-2-5.log +4 -0
- package/docs/reports/unified-9.0.33/raw/worker-memory-eos933.log +12 -0
- package/docs/reports/unified-9.0.33/raw/worker-memory-flow932.log +12 -0
- package/docs/start/START_HIER_9.0.31.md +16 -0
- package/docs/start/START_HIER_9.0.32.md +16 -0
- package/docs/start/START_HIER_9.0.33.md +32 -0
- package/io-package.json +16 -16
- package/package.json +10 -5
- package/public/eos-tls/trust.html +1 -1
- package/release-manifests/unified/build-environment.cdx.json +6 -6
- package/release-manifests/unified/files.json +259 -157
- 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 +341 -88
- package/release-manifests/unified/runtime.cdx.json +26 -26
- package/release-manifests/unified/validation.json +15 -15
- package/tools/eos-release-manifest.cjs +2 -2
- package/ui/ems/consumers/sg-ready.js +26 -6
- package/ui/ems/datapoints.js +12 -4
- package/ui/ems/modules/charging-management.js +58 -67
- package/ui/ems/modules/core-limits.js +59 -36
- package/ui/ems/modules/prime-mover-control.js +141 -29
- package/ui/ems/modules/storage-control.js +31 -38
- package/ui/ems/modules/storage-mapping.js +14 -13
- package/ui/ems/modules/tarif-vis.js +38 -56
- package/ui/ems/services/measurement-freshness.js +58 -21
- package/ui/ems/services/safety-envelope.js +13 -6
- package/ui/io-package.json +13 -1
- package/ui/lib/datapoint-picker.js +27 -20
- package/ui/lib/eos-presentation-routes.js +2 -5
- package/ui/lib/tariff-price.js +7 -1
- package/ui/lib/ts-mirrors/ems/core-limits/core-runtime.js +5 -1
- package/ui/lib/ui-access-policy.js +12 -3
- package/ui/main.js +280 -190
- package/ui/package.json +4 -3
- package/ui/www/app.js +207 -87
- package/ui/www/ems-apps.html +1 -1
- package/ui/www/ems-apps.js +3 -2
- package/ui/www/energy-ledger.html +1 -1
- package/ui/www/evcs.html +1 -1
- package/ui/www/history.html +1 -1
- package/ui/www/index.html +2 -1
- package/ui/www/live-display.js +38 -4
- package/ui/www/logic.html +1 -1
- package/ui/www/login.html +1 -1
- package/ui/www/manifest.webmanifest +2 -2
- package/ui/www/power-measurements.js +28 -3
- package/ui/www/settings.html +1 -1
- package/ui/www/simulation.html +1 -1
- package/ui/www/smarthome-config.html +1 -1
- package/ui/www/smarthome.html +1 -1
- package/ui/www/storagefarm.html +1 -1
- package/adminWww/remoteEntry-eos-9.0.30.js +0 -12
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"$schema": "http://cyclonedx.org/schema/bom-1.5.schema.json",
|
|
3
3
|
"bomFormat": "CycloneDX",
|
|
4
4
|
"specVersion": "1.5",
|
|
5
|
-
"serialNumber": "urn:uuid:
|
|
5
|
+
"serialNumber": "urn:uuid:f241324e-fb78-49ad-a12f-7f63ab355f10",
|
|
6
6
|
"version": 2,
|
|
7
7
|
"metadata": {
|
|
8
|
-
"timestamp": "2026-11-
|
|
8
|
+
"timestamp": "2026-11-26T12:44:24.927Z",
|
|
9
9
|
"lifecycles": [
|
|
10
10
|
{
|
|
11
11
|
"phase": "pre-build"
|
|
@@ -19,14 +19,14 @@
|
|
|
19
19
|
}
|
|
20
20
|
],
|
|
21
21
|
"component": {
|
|
22
|
-
"bom-ref": "iobroker.eos-admin@9.0.
|
|
22
|
+
"bom-ref": "iobroker.eos-admin@9.0.33",
|
|
23
23
|
"type": "library",
|
|
24
24
|
"name": "iobroker.eos-admin",
|
|
25
|
-
"version": "9.0.
|
|
25
|
+
"version": "9.0.33",
|
|
26
26
|
"scope": "required",
|
|
27
27
|
"author": "NexoWatt",
|
|
28
28
|
"description": "NexoWatt EOS: licensed local energy management, dashboard and ioBroker system administration in one adapter.",
|
|
29
|
-
"purl": "pkg:npm/iobroker.eos-admin@9.0.
|
|
29
|
+
"purl": "pkg:npm/iobroker.eos-admin@9.0.33",
|
|
30
30
|
"properties": [],
|
|
31
31
|
"externalReferences": []
|
|
32
32
|
}
|
|
@@ -11922,10 +11922,10 @@
|
|
|
11922
11922
|
]
|
|
11923
11923
|
},
|
|
11924
11924
|
{
|
|
11925
|
-
"bom-ref": "nexowatt:vendored:webserver@3.4.0+nexowatt.9.0.
|
|
11925
|
+
"bom-ref": "nexowatt:vendored:webserver@3.4.0+nexowatt.9.0.33",
|
|
11926
11926
|
"type": "library",
|
|
11927
11927
|
"name": "@iobroker/webserver",
|
|
11928
|
-
"version": "3.4.0+nexowatt.9.0.
|
|
11928
|
+
"version": "3.4.0+nexowatt.9.0.33",
|
|
11929
11929
|
"scope": "required",
|
|
11930
11930
|
"description": "Locally vendored @iobroker/webserver 3.4.0 with two reviewed certificate-material logging replacements; not an unmodified registry release.",
|
|
11931
11931
|
"licenses": [
|
|
@@ -12002,9 +12002,9 @@
|
|
|
12002
12002
|
},
|
|
12003
12003
|
{
|
|
12004
12004
|
"type": "library",
|
|
12005
|
-
"bom-ref": "nexowatt:integrated:devices@9.0.
|
|
12005
|
+
"bom-ref": "nexowatt:integrated:devices@9.0.33",
|
|
12006
12006
|
"name": "NexoWatt EOS integrated devices",
|
|
12007
|
-
"version": "9.0.
|
|
12007
|
+
"version": "9.0.33",
|
|
12008
12008
|
"scope": "required",
|
|
12009
12009
|
"licenses": [
|
|
12010
12010
|
{
|
|
@@ -12046,9 +12046,9 @@
|
|
|
12046
12046
|
},
|
|
12047
12047
|
{
|
|
12048
12048
|
"type": "library",
|
|
12049
|
-
"bom-ref": "nexowatt:integrated:eebus@9.0.
|
|
12049
|
+
"bom-ref": "nexowatt:integrated:eebus@9.0.33",
|
|
12050
12050
|
"name": "NexoWatt EOS integrated eebus",
|
|
12051
|
-
"version": "9.0.
|
|
12051
|
+
"version": "9.0.33",
|
|
12052
12052
|
"scope": "required",
|
|
12053
12053
|
"licenses": [
|
|
12054
12054
|
{
|
|
@@ -12090,9 +12090,9 @@
|
|
|
12090
12090
|
},
|
|
12091
12091
|
{
|
|
12092
12092
|
"type": "library",
|
|
12093
|
-
"bom-ref": "nexowatt:integrated:backup@9.0.
|
|
12093
|
+
"bom-ref": "nexowatt:integrated:backup@9.0.33",
|
|
12094
12094
|
"name": "NexoWatt EOS integrated backup",
|
|
12095
|
-
"version": "9.0.
|
|
12095
|
+
"version": "9.0.33",
|
|
12096
12096
|
"scope": "required",
|
|
12097
12097
|
"licenses": [
|
|
12098
12098
|
{
|
|
@@ -12141,9 +12141,9 @@
|
|
|
12141
12141
|
},
|
|
12142
12142
|
{
|
|
12143
12143
|
"type": "library",
|
|
12144
|
-
"bom-ref": "nexowatt:integrated:ocpp@9.0.
|
|
12144
|
+
"bom-ref": "nexowatt:integrated:ocpp@9.0.33",
|
|
12145
12145
|
"name": "NexoWatt EOS integrated ocpp",
|
|
12146
|
-
"version": "9.0.
|
|
12146
|
+
"version": "9.0.33",
|
|
12147
12147
|
"scope": "required",
|
|
12148
12148
|
"licenses": [
|
|
12149
12149
|
{
|
|
@@ -12193,7 +12193,7 @@
|
|
|
12193
12193
|
],
|
|
12194
12194
|
"dependencies": [
|
|
12195
12195
|
{
|
|
12196
|
-
"ref": "iobroker.eos-admin@9.0.
|
|
12196
|
+
"ref": "iobroker.eos-admin@9.0.33",
|
|
12197
12197
|
"dependsOn": [
|
|
12198
12198
|
"@iobroker/adapter-core@3.4.3",
|
|
12199
12199
|
"@iobroker/plugin-docker@1.2.1",
|
|
@@ -12230,11 +12230,11 @@
|
|
|
12230
12230
|
"tar-fs@3.1.3",
|
|
12231
12231
|
"ws@8.22.0",
|
|
12232
12232
|
"ocpp-rpc@2.2.1",
|
|
12233
|
-
"nexowatt:vendored:webserver@3.4.0+nexowatt.9.0.
|
|
12234
|
-
"nexowatt:integrated:devices@9.0.
|
|
12235
|
-
"nexowatt:integrated:eebus@9.0.
|
|
12236
|
-
"nexowatt:integrated:backup@9.0.
|
|
12237
|
-
"nexowatt:integrated:ocpp@9.0.
|
|
12233
|
+
"nexowatt:vendored:webserver@3.4.0+nexowatt.9.0.33",
|
|
12234
|
+
"nexowatt:integrated:devices@9.0.33",
|
|
12235
|
+
"nexowatt:integrated:eebus@9.0.33",
|
|
12236
|
+
"nexowatt:integrated:backup@9.0.33",
|
|
12237
|
+
"nexowatt:integrated:ocpp@9.0.33"
|
|
12238
12238
|
]
|
|
12239
12239
|
},
|
|
12240
12240
|
{
|
|
@@ -14815,7 +14815,7 @@
|
|
|
14815
14815
|
"dependsOn": []
|
|
14816
14816
|
},
|
|
14817
14817
|
{
|
|
14818
|
-
"ref": "nexowatt:vendored:webserver@3.4.0+nexowatt.9.0.
|
|
14818
|
+
"ref": "nexowatt:vendored:webserver@3.4.0+nexowatt.9.0.33",
|
|
14819
14819
|
"dependsOn": [
|
|
14820
14820
|
"@node-oauth/oauth2-server@5.3.1",
|
|
14821
14821
|
"jsonwebtoken@9.0.3",
|
|
@@ -14823,7 +14823,7 @@
|
|
|
14823
14823
|
]
|
|
14824
14824
|
},
|
|
14825
14825
|
{
|
|
14826
|
-
"ref": "nexowatt:integrated:devices@9.0.
|
|
14826
|
+
"ref": "nexowatt:integrated:devices@9.0.33",
|
|
14827
14827
|
"dependsOn": [
|
|
14828
14828
|
"axios@1.20.0",
|
|
14829
14829
|
"modbus-serial@8.0.25",
|
|
@@ -14832,14 +14832,14 @@
|
|
|
14832
14832
|
]
|
|
14833
14833
|
},
|
|
14834
14834
|
{
|
|
14835
|
-
"ref": "nexowatt:integrated:eebus@9.0.
|
|
14835
|
+
"ref": "nexowatt:integrated:eebus@9.0.33",
|
|
14836
14836
|
"dependsOn": [
|
|
14837
14837
|
"ws@8.22.0",
|
|
14838
14838
|
"bonjour-service@1.4.4"
|
|
14839
14839
|
]
|
|
14840
14840
|
},
|
|
14841
14841
|
{
|
|
14842
|
-
"ref": "nexowatt:integrated:backup@9.0.
|
|
14842
|
+
"ref": "nexowatt:integrated:backup@9.0.33",
|
|
14843
14843
|
"dependsOn": [
|
|
14844
14844
|
"tar-fs@3.1.3",
|
|
14845
14845
|
"cron-parser@5.10.6",
|
|
@@ -14851,7 +14851,7 @@
|
|
|
14851
14851
|
]
|
|
14852
14852
|
},
|
|
14853
14853
|
{
|
|
14854
|
-
"ref": "nexowatt:integrated:ocpp@9.0.
|
|
14854
|
+
"ref": "nexowatt:integrated:ocpp@9.0.33",
|
|
14855
14855
|
"dependsOn": [
|
|
14856
14856
|
"ocpp-rpc@2.2.1"
|
|
14857
14857
|
]
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": 1,
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.33",
|
|
4
4
|
"snapshot": {
|
|
5
5
|
"algorithm": "SHA-256",
|
|
6
|
-
"files":
|
|
7
|
-
"sha256": "
|
|
6
|
+
"files": 6156,
|
|
7
|
+
"sha256": "2456cacac3549f4fd19dbc56a160ff1299f03e8bcaf48aced00dd65a5e16c28c"
|
|
8
8
|
},
|
|
9
9
|
"evidence": {
|
|
10
10
|
"index": {
|
|
11
|
-
"path": "docs/reports/unified-9.0.
|
|
12
|
-
"sha256": "
|
|
11
|
+
"path": "docs/reports/unified-9.0.33/raw/INDEX.json",
|
|
12
|
+
"sha256": "3a5d2ed28e28d31c6a2ad022acc73faf432d714972e44e0119a5cbac1a20aa75"
|
|
13
13
|
},
|
|
14
14
|
"runs": [
|
|
15
15
|
{
|
|
@@ -17,18 +17,18 @@
|
|
|
17
17
|
"nodeVersion": "v22.23.4",
|
|
18
18
|
"command": "npm test",
|
|
19
19
|
"result": {
|
|
20
|
-
"tests":
|
|
21
|
-
"pass":
|
|
20
|
+
"tests": 2818,
|
|
21
|
+
"pass": 2816,
|
|
22
22
|
"fail": 0,
|
|
23
23
|
"skipped": 2,
|
|
24
24
|
"cancelled": 0
|
|
25
25
|
},
|
|
26
26
|
"log": {
|
|
27
|
-
"path": "docs/reports/unified-9.0.
|
|
28
|
-
"sha256": "
|
|
27
|
+
"path": "docs/reports/unified-9.0.33/raw/node22-tests-final.log",
|
|
28
|
+
"sha256": "9fff0172129db7f96e03ba15a592ef6db05846a882ead973e1a4af2efe562d19"
|
|
29
29
|
},
|
|
30
30
|
"runtime": {
|
|
31
|
-
"path": "docs/reports/unified-9.0.
|
|
31
|
+
"path": "docs/reports/unified-9.0.33/raw/node22-version.log",
|
|
32
32
|
"sha256": "2266957ed9a639bd7264d714bfa798a961510bf2e50695c668ab8fc0c3f4e906"
|
|
33
33
|
}
|
|
34
34
|
},
|
|
@@ -37,18 +37,18 @@
|
|
|
37
37
|
"nodeVersion": "v24.22.3",
|
|
38
38
|
"command": "npm test",
|
|
39
39
|
"result": {
|
|
40
|
-
"tests":
|
|
41
|
-
"pass":
|
|
40
|
+
"tests": 2818,
|
|
41
|
+
"pass": 2816,
|
|
42
42
|
"fail": 0,
|
|
43
43
|
"skipped": 2,
|
|
44
44
|
"cancelled": 0
|
|
45
45
|
},
|
|
46
46
|
"log": {
|
|
47
|
-
"path": "docs/reports/unified-9.0.
|
|
48
|
-
"sha256": "
|
|
47
|
+
"path": "docs/reports/unified-9.0.33/raw/node24-tests-final.log",
|
|
48
|
+
"sha256": "216fcd798241431af4d7f41299f17543ea2df3cd4df09bd0e9b25acd12245d46"
|
|
49
49
|
},
|
|
50
50
|
"runtime": {
|
|
51
|
-
"path": "docs/reports/unified-9.0.
|
|
51
|
+
"path": "docs/reports/unified-9.0.33/raw/node24-version.log",
|
|
52
52
|
"sha256": "4409d3bfa08b82f385bd424eeda65fc63b756129f0e89e82df77f1fecafccc14"
|
|
53
53
|
}
|
|
54
54
|
}
|
|
@@ -5,11 +5,11 @@ const path = require('node:path');
|
|
|
5
5
|
const crypto = require('node:crypto');
|
|
6
6
|
const root = path.resolve(__dirname, '..');
|
|
7
7
|
const manifestPath = path.join(root, 'release-manifests/unified/files.json');
|
|
8
|
-
const roots = ['docs/start/START_HIER_9.0.30.md', 'docs/reports/unified-9.0.30', 'nexowatt-eos-admin-repository-entry-v9-0-30.json', 'docs/start/START_HIER_9.0.29.md', 'docs/reports/unified-9.0.29', 'nexowatt-eos-admin-repository-entry-v9-0-29.json', 'docs/changelog-archive.json', 'docs/start/START_HIER_9.0.28.md', 'docs/reports/unified-9.0.28', 'nexowatt-eos-admin-repository-entry-v9-0-28.json', 'docs/README.md', 'docs/DOKUMENTATION_9.0.27.md', 'docs/UMSORTIERTE_DATEIEN.tsv', 'docs/archive', 'docs/start', 'docs/start/START_HIER_9.0.27.md', 'docs/reports/unified-9.0.27', 'nexowatt-eos-admin-repository-entry-v9-0-27.json', 'tsconfig.eos-repository-tools.json', 'tools/nexowatt-generate-eos-admin-repo-entry.cjs', 'tools/nexowatt-patch-repo.cjs', 'tools/nexowatt-repair-eos-admin-update.cjs', 'docs/NEXOWATT_EOS_UI_V28_UPDATE_FIX_DE.md', 'tsconfig.eos-backup-admin.json', 'eslint.backup-admin.config.mjs', 'tools/eos-lifecycle-benchmark.cjs', 'docs/start/START_HIER_9.0.26.md', 'docs/reports/unified-9.0.26', 'nexowatt-eos-admin-repository-entry-v9-0-26.json', 'tsconfig.eos-runtime-control.json', 'docs/start/START_HIER_9.0.25.md', 'docs/reports/unified-9.0.25', 'nexowatt-eos-admin-repository-entry-v9-0-25.json', 'reports/security/KIOSK_BACKEND_924.md', 'tsconfig.eos-ocpp-admin.json', 'eslint.ocpp-admin.config.mjs', 'docs/start/START_HIER_9.0.24.md', 'docs/reports/unified-9.0.24', 'nexowatt-eos-admin-repository-entry-v9-0-24.json', 'docs/MODULE_PROCESS_RUNTIME.md', 'tsconfig.eos-module-process.json', 'tsconfig.ui-process.json', 'docs/start/START_HIER_9.0.23.md', 'docs/reports/unified-9.0.23', 'nexowatt-eos-admin-repository-entry-v9-0-23.json', 'ui/tsconfig.ocpp-limit-feedback.json', 'ui/eslint.ocpp-limit-feedback.config.mjs', 'ui/tsconfig.ocpp-auto-discovery.json', 'ui/eslint.ocpp-auto-discovery.config.mjs', 'tsconfig.eos-runtime-health.json', 'eslint.runtime-health.config.mjs', 'ui/tsconfig.flow-measurement.json', 'ui/eslint.flow-measurement.config.mjs', 'ui/tsconfig.postgres-history.json', 'ui/eslint.postgres-history.config.mjs', 'ui/tsconfig.ems-control-values.json', 'ui/eslint.ems-control-values.config.mjs', 'docs/QA-9.0.22-INDEPENDENT.md', 'docs/9.0.22', 'nexowatt-eos-admin-repository-entry-v9-0-22.json', 'package.json', 'package-lock.json', 'io-package.json', '.npmrc', '.gitignore', '.gitattributes', 'LICENSE', 'LICENSE-NEXOWATT.md',
|
|
8
|
+
const roots = ['docs/start/START_HIER_9.0.33.md', 'docs/reports/unified-9.0.33', 'nexowatt-eos-admin-repository-entry-v9-0-33.json', 'docs/start/START_HIER_9.0.32.md', 'docs/reports/unified-9.0.32', 'nexowatt-eos-admin-repository-entry-v9-0-32.json', 'docs/start/START_HIER_9.0.31.md', 'docs/reports/unified-9.0.31', 'nexowatt-eos-admin-repository-entry-v9-0-31.json', 'docs/start/START_HIER_9.0.30.md', 'docs/reports/unified-9.0.30', 'nexowatt-eos-admin-repository-entry-v9-0-30.json', 'docs/start/START_HIER_9.0.29.md', 'docs/reports/unified-9.0.29', 'nexowatt-eos-admin-repository-entry-v9-0-29.json', 'docs/changelog-archive.json', 'docs/start/START_HIER_9.0.28.md', 'docs/reports/unified-9.0.28', 'nexowatt-eos-admin-repository-entry-v9-0-28.json', 'docs/README.md', 'docs/DOKUMENTATION_9.0.27.md', 'docs/UMSORTIERTE_DATEIEN.tsv', 'docs/archive', 'docs/start', 'docs/start/START_HIER_9.0.27.md', 'docs/reports/unified-9.0.27', 'nexowatt-eos-admin-repository-entry-v9-0-27.json', 'tsconfig.eos-repository-tools.json', 'tools/nexowatt-generate-eos-admin-repo-entry.cjs', 'tools/nexowatt-patch-repo.cjs', 'tools/nexowatt-repair-eos-admin-update.cjs', 'docs/NEXOWATT_EOS_UI_V28_UPDATE_FIX_DE.md', 'tsconfig.eos-backup-admin.json', 'eslint.backup-admin.config.mjs', 'tools/eos-lifecycle-benchmark.cjs', 'docs/start/START_HIER_9.0.26.md', 'docs/reports/unified-9.0.26', 'nexowatt-eos-admin-repository-entry-v9-0-26.json', 'tsconfig.eos-runtime-control.json', 'docs/start/START_HIER_9.0.25.md', 'docs/reports/unified-9.0.25', 'nexowatt-eos-admin-repository-entry-v9-0-25.json', 'reports/security/KIOSK_BACKEND_924.md', 'tsconfig.eos-ocpp-admin.json', 'eslint.ocpp-admin.config.mjs', 'docs/start/START_HIER_9.0.24.md', 'docs/reports/unified-9.0.24', 'nexowatt-eos-admin-repository-entry-v9-0-24.json', 'docs/MODULE_PROCESS_RUNTIME.md', 'tsconfig.eos-module-process.json', 'tsconfig.ui-process.json', 'docs/start/START_HIER_9.0.23.md', 'docs/reports/unified-9.0.23', 'nexowatt-eos-admin-repository-entry-v9-0-23.json', 'ui/tsconfig.ocpp-limit-feedback.json', 'ui/eslint.ocpp-limit-feedback.config.mjs', 'ui/tsconfig.ocpp-auto-discovery.json', 'ui/eslint.ocpp-auto-discovery.config.mjs', 'tsconfig.eos-runtime-health.json', 'eslint.runtime-health.config.mjs', 'ui/tsconfig.flow-measurement.json', 'ui/eslint.flow-measurement.config.mjs', 'ui/tsconfig.postgres-history.json', 'ui/eslint.postgres-history.config.mjs', 'ui/tsconfig.ems-control-values.json', 'ui/eslint.ems-control-values.config.mjs', 'docs/QA-9.0.22-INDEPENDENT.md', 'docs/9.0.22', 'nexowatt-eos-admin-repository-entry-v9-0-22.json', 'package.json', 'package-lock.json', 'io-package.json', '.npmrc', '.gitignore', '.gitattributes', 'LICENSE', 'LICENSE-NEXOWATT.md',
|
|
9
9
|
'docs/start/START_HIER_9.0.1.md', 'docs/start/START_HIER_9.0.2.md', 'docs/start/START_HIER_9.0.3.md', 'docs/start/START_HIER_9.0.4.md', 'docs/start/START_HIER_9.0.5.md', 'docs/start/START_HIER_9.0.6.md', 'docs/start/START_HIER_9.0.7.md', 'docs/start/START_HIER_9.0.8.md', 'docs/start/START_HIER_9.0.9.md', 'docs/start/START_HIER_9.0.10.md', 'docs/start/START_HIER_9.0.11.md', 'docs/start/START_HIER_9.0.12.md', 'docs/start/START_HIER_9.0.13.md', 'docs/start/START_HIER_9.0.14.md', 'docs/start/START_HIER_9.0.15.md', 'docs/start/START_HIER_9.0.16.md', 'docs/start/START_HIER_9.0.17.md', 'docs/start/START_HIER_9.0.18.md', 'docs/start/START_HIER_9.0.19.md', 'docs/start/START_HIER_9.0.20.md','docs/start/START_HIER_9.0.21.md', 'docs/start/START_HIER_9.0.22.md', 'THIRD-PARTY-NOTICES.md', 'THIRD_PARTY_NOTICES.md', 'NEXOWATT_PROPRIETARY_LICENSE.md', 'README.md', 'NEXOWATT_EOS_BUILD_INFO.json',
|
|
10
10
|
'tasks.mts', 'tsconfig.eos-customer-updates.json', 'ui/tsconfig.eos-updates-ui.json', 'ui/eslint.eos-updates-ui.config.mjs', 'ui/eslint.influx-history-runtime.config.mjs', 'ui/eslint.history-setup-ui.config.mjs', 'ui/tsconfig.influx-history-runtime.json', 'ui/eslint.influx-security.config.mjs', 'ui/tsconfig.influx-security.json', 'ui/eslint.influx-direct.config.mjs', 'ui/tsconfig.influx-direct.json', 'tsconfig.eos-device-ems.json', 'ui/tsconfig.customer-tariff.json', 'ui/tsconfig.customer-tariff-ui.json', 'ui/eslint.customer-tariff.config.mjs', 'ui/eslint.customer-tariff-ui.config.mjs', 'ui/tsconfig.installer-lifecycle.json', 'ui/tsconfig.live-display-ui.json', 'ui/eslint.live-display-ui.config.mjs', 'ui/tsconfig.tariff-display-ui.json', 'ui/eslint.tariff-display-ui.config.mjs', 'ui/tsconfig.storagefarm-dispatch-ui.json', 'ui/eslint.storagefarm-dispatch-ui.config.mjs', 'ui/tsconfig.storagefarm-summary-ui.json', 'ui/eslint.storagefarm-summary-ui.config.mjs', 'ui/tsconfig.power-measurements.json', 'ui/eslint.power-measurements.config.mjs', 'ui/eslint.installer-lifecycle.config.mjs', 'tsconfig.build.json', 'eslint.config.mjs', 'eslint.unified.config.mjs', '.github/workflows/test-and-release.yml',
|
|
11
11
|
'AGENTS.md', 'modules', 'test', 'src-admin/test', 'src', 'build', 'admin', 'adminWww', 'public', 'packages/eos-license-client', 'deploy',
|
|
12
|
-
'ui/release-manifests', 'ui/main.js', 'ui/lib', 'ui/ems', 'ui/backend', 'ui/
|
|
12
|
+
'ui/release-manifests', 'ui/main.js', 'ui/lib', 'ui/ems', 'ui/backend', 'ui/www', 'ui/admin',
|
|
13
13
|
'ui/src-ts', 'ui/src-admin-tab/src', 'ui/src-admin-tab/package.json', 'ui/src-admin-tab/package-lock.json',
|
|
14
14
|
'ui/io-package.json', 'ui/package.json', 'ui/package-lock.json', 'src-admin/src', 'src-admin/public', 'src-admin/package.json',
|
|
15
15
|
'src-admin/package-lock.json', 'src-admin/build-tools', 'tools/nexowatt-sync-release-version.cjs', 'tools/nexowatt-version-sync-selftest.cjs', 'tools/eos-release-manifest.cjs', 'tools/eos-release-check.cjs', 'tools/eos-prepare-publish.cjs', 'tools/eos-release-evidence.cjs', 'tools/eos-migration-plan.cjs', 'tools/eos-access-diagnostics.cjs', 'tools/eos-coexistence-recovery.cjs',
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* AUTO-GENERATED RUNTIME FILE - NICHT MANUELL BEARBEITEN.
|
|
8
8
|
*
|
|
9
9
|
* Quelle: src-ts/runtime-executables/ems/consumers/sg-ready.ts
|
|
10
|
-
* Quell-Hash: sha256:
|
|
10
|
+
* Quell-Hash: sha256:2fecfb6edca7b71ce554a784fa8d794c840959a7062d7e587b57d4cf735a5b6c
|
|
11
11
|
* Erzeugung: npm run sync:ts-runtime-executables
|
|
12
12
|
*
|
|
13
13
|
* Zweck:
|
|
@@ -163,11 +163,31 @@ async function applySgReady(ctx, consumer, target) {
|
|
|
163
163
|
/** @type {true|false|null} */
|
|
164
164
|
let wroteEn = null;
|
|
165
165
|
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
if (!
|
|
170
|
-
|
|
166
|
+
// null means the registry already holds the requested physical value.
|
|
167
|
+
const write = async (key, present, value) => {
|
|
168
|
+
if (!key) return null;
|
|
169
|
+
if (!present) return false;
|
|
170
|
+
try { return await dp.writeBoolean(key, value, false); }
|
|
171
|
+
catch (_error) { return false; }
|
|
172
|
+
};
|
|
173
|
+
const changingContacts = (sg1Key && dp.getBoolean?.(sg1Key, null) !== sg1)
|
|
174
|
+
|| (sg2Key && dp.getBoolean?.(sg2Key, null) !== sg2);
|
|
175
|
+
if (enableKey && (!enable || changingContacts)) wroteEn = await write(enableKey, hasEn, false);
|
|
176
|
+
|
|
177
|
+
if (!enable || wroteEn !== false) {
|
|
178
|
+
wrote1 = await write(sg1Key, has1, sg1);
|
|
179
|
+
// For an energising request never advance to a second contact after an error.
|
|
180
|
+
if (!enable || wrote1 !== false) wrote2 = await write(sg2Key, has2, sg2);
|
|
181
|
+
if (enable && wrote1 !== false && wrote2 !== false && enableKey) {
|
|
182
|
+
wroteEn = await write(enableKey, hasEn, true);
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
if (enable && (wrote1 === false || wrote2 === false || wroteEn === false)) {
|
|
186
|
+
// Withdraw the release and the boost request, including the case without a separate release relay.
|
|
187
|
+
// Preserve the failed result even when the fallback writes succeeded.
|
|
188
|
+
await write(enableKey, hasEn, false);
|
|
189
|
+
await write(sg1Key, has1, inv1);
|
|
190
|
+
await write(sg2Key, has2, inv2);
|
|
171
191
|
}
|
|
172
192
|
const results = [wrote1, wrote2, wroteEn].filter(v => v !== null && v !== undefined);
|
|
173
193
|
const anyFalse = results.some(v => v === false);
|
package/ui/ems/datapoints.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* AUTO-GENERATED RUNTIME FILE - NICHT MANUELL BEARBEITEN.
|
|
8
8
|
*
|
|
9
9
|
* Quelle: src-ts/runtime-executables/ems/datapoints.ts
|
|
10
|
-
* Quell-Hash: sha256:
|
|
10
|
+
* Quell-Hash: sha256:7ef72a2e28ad92af2cebf854183d7a956e937d882398774352c3cc4a1101e742
|
|
11
11
|
* Erzeugung: npm run sync:ts-runtime-executables
|
|
12
12
|
*
|
|
13
13
|
* Zweck:
|
|
@@ -726,11 +726,11 @@ class DatapointRegistry {
|
|
|
726
726
|
this.cacheByObjectId.set(id, {
|
|
727
727
|
val: state.val,
|
|
728
728
|
q: state.q,
|
|
729
|
-
sourceTs: Number.isFinite(
|
|
729
|
+
sourceTs: Number.isFinite(state.ts) && state.ts > 0 ? state.ts : 0,
|
|
730
730
|
ts: Number.isFinite(stateTs) && stateTs > 0 ? stateTs : receivedTs,
|
|
731
731
|
lc: Number.isFinite(changeTs) && changeTs > 0 ? changeTs : (Number.isFinite(stateTs) && stateTs > 0 ? stateTs : receivedTs),
|
|
732
732
|
receivedTs,
|
|
733
|
-
ack:
|
|
733
|
+
ack: state.ack === true,
|
|
734
734
|
});
|
|
735
735
|
}
|
|
736
736
|
|
|
@@ -782,7 +782,15 @@ class DatapointRegistry {
|
|
|
782
782
|
return c ? c.val : null;
|
|
783
783
|
}
|
|
784
784
|
|
|
785
|
-
/**
|
|
785
|
+
/** Nur bestätigte Gerätemessungen mit brauchbarer Qualität dürfen Stellleistung freigeben. */
|
|
786
|
+
getVerifiedMeasurementTimestampMs(key, now = Date.now()) {
|
|
787
|
+
const entry = this.getEntry(key);
|
|
788
|
+
const sample = entry && this.cacheByObjectId.get(entry.srcObjectId || entry.objectId);
|
|
789
|
+
if (!sample || sample.ack !== true || (sample.q !== undefined && sample.q !== 0)) return null;
|
|
790
|
+
return sample.sourceTs > 0 && sample.sourceTs <= now ? sample.sourceTs : null;
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
/** Allgemeiner Cache-Zeitstempel für bestehende Verbraucher. */
|
|
786
794
|
getMeasurementTimestampMs(key) {
|
|
787
795
|
const e = this.getEntry(key);
|
|
788
796
|
if (!e) return null;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* AUTO-GENERATED RUNTIME FILE - NICHT MANUELL BEARBEITEN.
|
|
8
8
|
*
|
|
9
9
|
* Quelle: src-ts/runtime-executables/ems/modules/charging-management.ts
|
|
10
|
-
* Quell-Hash: sha256:
|
|
10
|
+
* Quell-Hash: sha256:52f80d763e27fa9547b52142ae16a79e63485d77d4f8b693a2f625c98966bd15
|
|
11
11
|
* Erzeugung: npm run sync:ts-runtime-executables
|
|
12
12
|
*
|
|
13
13
|
* Zweck:
|
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
'use strict';
|
|
36
36
|
|
|
37
37
|
const { BaseModule } = require('./base');
|
|
38
|
+
const { tariffPriceNumber, verifiedTariffAgeMs } = require('../../lib/tariff-price');
|
|
38
39
|
const { EMS_CONTROL_FIELDS, checkedEmsControlState } = require('../../lib/ems-control-values');
|
|
39
40
|
const { readFlowMeasurement } = require('../../lib/flow-measurement');
|
|
40
41
|
const { resolveOcppLimitFeedback, resolveOcppRuntimeAlive, ocppConnectionConfirmed, ocppLeaseCapability, OcppControlLeases } = require('../../lib/ocpp-limit-feedback');
|
|
@@ -1119,8 +1120,8 @@ function resolveChargingPvBudgetControl({
|
|
|
1119
1120
|
const localRaw = Math.max(0, Number(localRawW) || 0);
|
|
1120
1121
|
const localEffective = Math.max(0, Number(localEffectiveW) || 0);
|
|
1121
1122
|
const rt = centralBudget && typeof centralBudget === 'object' ? centralBudget : null;
|
|
1122
|
-
const ts = rt
|
|
1123
|
-
const ageMs = Number.isFinite(ts) && ts > 0
|
|
1123
|
+
const ts = rt?.ts;
|
|
1124
|
+
const ageMs = Number.isFinite(ts) && ts > 0 && ts <= now ? now - ts : null;
|
|
1124
1125
|
const fresh = ageMs !== null && ageMs <= Math.max(1000, Number(maxAgeMs) || 30000);
|
|
1125
1126
|
const pvGate = rt && rt.gates && rt.gates.pv && typeof rt.gates.pv === 'object'
|
|
1126
1127
|
? rt.gates.pv
|
|
@@ -1129,15 +1130,15 @@ function resolveChargingPvBudgetControl({
|
|
|
1129
1130
|
? rt.gates.pvAllocation
|
|
1130
1131
|
: null;
|
|
1131
1132
|
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
const allocationLimitedW =
|
|
1133
|
+
const unverifiedStorage = rt?.raw?.pvBudgetPhysicalSource === 'storage-flow-unverified';
|
|
1134
|
+
const nonnegativeWatts = value => Number.isFinite(value) && value >= 0;
|
|
1135
|
+
const validGrant = pvGate && nonnegativeWatts(pvGate.effectiveW)
|
|
1136
|
+
&& (pvGate.rawW === undefined || (nonnegativeWatts(pvGate.rawW) && pvGate.effectiveW <= pvGate.rawW))
|
|
1137
|
+
&& (!allocation || (nonnegativeWatts(allocation.totalW) && nonnegativeWatts(allocation.evcsCapW)));
|
|
1138
|
+
if (fresh && validGrant && !unverifiedStorage) {
|
|
1139
|
+
const gateEffectiveW = pvGate.effectiveW;
|
|
1140
|
+
const allocationTotalW = allocation ? Math.min(gateEffectiveW, allocation.totalW) : gateEffectiveW;
|
|
1141
|
+
const allocationLimitedW = allocation ? Math.min(allocationTotalW, allocation.evcsCapW) : allocationTotalW;
|
|
1141
1142
|
|
|
1142
1143
|
// Zwei zentrale PV-Grants sind absichtlich getrennt:
|
|
1143
1144
|
// - physicalGrantW: gesamtes aktuell physikalisch verfuegbares PV-Budget.
|
|
@@ -1192,44 +1193,24 @@ function resolveChargingPvBudgetControl({
|
|
|
1192
1193
|
};
|
|
1193
1194
|
}
|
|
1194
1195
|
|
|
1195
|
-
//
|
|
1196
|
-
//
|
|
1197
|
-
// bei einem kurzzeitig fehlenden/stalen Snapshot die einzige Quelle. Ein
|
|
1198
|
-
// Rueckfall auf die lokale EVCS-PV-Rekonstruktion wuerde genau das zweite
|
|
1199
|
-
// Parallelbudget erzeugen, das Speicher und Wallbox gegeneinander regeln
|
|
1200
|
-
// laesst. In diesem Fehlerfall wird PV-Laden sicher blockiert, bis der Core
|
|
1201
|
-
// wieder einen frischen Grant liefert.
|
|
1202
|
-
if (rt) {
|
|
1203
|
-
return {
|
|
1204
|
-
authoritative: true,
|
|
1205
|
-
blocked: true,
|
|
1206
|
-
source: fresh ? 'central-ems-budget-missing-pv-gate' : 'central-ems-budget-stale-blocked',
|
|
1207
|
-
ageMs,
|
|
1208
|
-
rawW: 0,
|
|
1209
|
-
totalW: 0,
|
|
1210
|
-
evcsCapW: 0,
|
|
1211
|
-
allocation: allocation || null,
|
|
1212
|
-
localRawW: localRaw,
|
|
1213
|
-
localEffectiveW: localEffective,
|
|
1214
|
-
mismatchW: -localEffective,
|
|
1215
|
-
centralGrantW: 0,
|
|
1216
|
-
};
|
|
1217
|
-
}
|
|
1218
|
-
|
|
1219
|
-
// Nur fuer sehr alte Laufzeiten ohne Core-Limits bleibt der lokale Wert als
|
|
1220
|
-
// Kompatibilitaetsfallback erhalten. Im regulaeren NexoWatt-EMS wird dieser
|
|
1221
|
-
// Zweig wegen der festen Modulreihenfolge nicht verwendet.
|
|
1196
|
+
// Only the current shared grant can reserve PV for a controllable load.
|
|
1197
|
+
// A local house estimate cannot replace it during startup or recovery.
|
|
1222
1198
|
return {
|
|
1223
|
-
authoritative:
|
|
1224
|
-
|
|
1199
|
+
authoritative: true,
|
|
1200
|
+
blocked: true,
|
|
1201
|
+
source: !rt ? 'central-ems-budget-missing'
|
|
1202
|
+
: !fresh ? 'central-ems-budget-stale-blocked'
|
|
1203
|
+
: unverifiedStorage ? 'storage-flow-unverified'
|
|
1204
|
+
: pvGate ? 'central-ems-budget-invalid-pv-grant' : 'central-ems-budget-missing-pv-gate',
|
|
1225
1205
|
ageMs,
|
|
1226
|
-
rawW:
|
|
1227
|
-
totalW:
|
|
1228
|
-
evcsCapW:
|
|
1229
|
-
allocation
|
|
1206
|
+
rawW: 0,
|
|
1207
|
+
totalW: 0,
|
|
1208
|
+
evcsCapW: 0,
|
|
1209
|
+
allocation,
|
|
1230
1210
|
localRawW: localRaw,
|
|
1231
1211
|
localEffectiveW: localEffective,
|
|
1232
|
-
mismatchW:
|
|
1212
|
+
mismatchW: -localEffective,
|
|
1213
|
+
centralGrantW: 0,
|
|
1233
1214
|
};
|
|
1234
1215
|
}
|
|
1235
1216
|
/** Code-Teil: toBool – Kapselt einen lokalen Verarbeitungsschritt, damit Aufrufer nicht direkt in Detaildaten eingreifen. */
|
|
@@ -8284,8 +8265,7 @@ class ChargingManagementModule extends BaseModule {
|
|
|
8284
8265
|
tariffActive = stTariffActive ? !!stTariffActive.val : false;
|
|
8285
8266
|
tariffDynamicStale = stTariffStale ? !!stTariffStale.val : false;
|
|
8286
8267
|
tariffCurrentState = stTariffState ? String(stTariffState.val || 'unknown').trim().toLowerCase().replace(/ü/g, 'ue') : 'unknown';
|
|
8287
|
-
|
|
8288
|
-
tariffCurrentPriceEurKwh = Number.isFinite(currentPrice) ? currentPrice : null;
|
|
8268
|
+
tariffCurrentPriceEurKwh = tariffPriceNumber(stTariffPrice?.val);
|
|
8289
8269
|
tariffCurrentPriceFresh = stTariffFresh ? !!stTariffFresh.val : (tariffCurrentPriceEurKwh !== null && !tariffDynamicStale);
|
|
8290
8270
|
if (nfEnabled && nfMode === 'HT') gridChargeAllowedRaw = false;
|
|
8291
8271
|
else if (nfEnabled && nfMode === 'NT') {
|
|
@@ -8431,13 +8411,14 @@ class ChargingManagementModule extends BaseModule {
|
|
|
8431
8411
|
const delta = (ref !== null && exp !== null) ? Math.max(0, exp - ref) : null;
|
|
8432
8412
|
const cheapManual = (ref !== null && delta !== null) ? (ref - delta) : null;
|
|
8433
8413
|
|
|
8434
|
-
//
|
|
8435
|
-
|
|
8436
|
-
|
|
8437
|
-
|
|
8438
|
-
|
|
8439
|
-
|
|
8440
|
-
|
|
8414
|
+
// The deadline planner accepts the same priced inputs as the
|
|
8415
|
+
// active tariff policy, including each curve's source timestamp.
|
|
8416
|
+
const ageLimit = this.adapter._tarifVis?.curveMaxAgeMs;
|
|
8417
|
+
const readCurve = key => Number.isFinite(ageLimit) && verifiedTariffAgeMs(this.dp, key, now) <= ageLimit
|
|
8418
|
+
? this.dp.getRaw(key) : null;
|
|
8419
|
+
const rawToday = readCurve('tarif.pricesTodayJson');
|
|
8420
|
+
const rawTomorrow = readCurve('tarif.pricesTomorrowJson');
|
|
8421
|
+
const hasCurrentPrice = active && tariffCurrentPriceFresh && !tariffDynamicStale && tariffCurrentPriceEurKwh !== null;
|
|
8441
8422
|
|
|
8442
8423
|
const curve = [
|
|
8443
8424
|
...parsePriceCurve(rawToday),
|
|
@@ -8453,6 +8434,10 @@ class ChargingManagementModule extends BaseModule {
|
|
|
8453
8434
|
if (!Number.isFinite(startMs) || !Number.isFinite(endMs) || endMs <= now) continue;
|
|
8454
8435
|
if (startMs >= horizonEndMs) break;
|
|
8455
8436
|
|
|
8437
|
+
if (hasCurrentPrice && startMs <= now) {
|
|
8438
|
+
segs.push({ startMs, endMs, priceEurKwh: tariffCurrentPriceEurKwh, state: tariffCurrentState, allowGrid: gridChargeAllowedRaw });
|
|
8439
|
+
continue;
|
|
8440
|
+
}
|
|
8456
8441
|
const p = it.priceEurKwh;
|
|
8457
8442
|
|
|
8458
8443
|
// Approximate tariff state for planning (no hysteresis; conservative enough).
|
|
@@ -8475,8 +8460,9 @@ class ChargingManagementModule extends BaseModule {
|
|
|
8475
8460
|
segs.push({ startMs, endMs, priceEurKwh: p, state, allowGrid });
|
|
8476
8461
|
}
|
|
8477
8462
|
|
|
8478
|
-
if (
|
|
8479
|
-
|
|
8463
|
+
if (hasCurrentPrice && !segs.some(segment => segment.startMs <= now)) {
|
|
8464
|
+
const endMs = Math.min(horizonEndMs, now + 15 * 60000, segs[0]?.startMs ?? Infinity);
|
|
8465
|
+
segs.unshift({ startMs: now, endMs, priceEurKwh: tariffCurrentPriceEurKwh, state: tariffCurrentState, allowGrid: gridChargeAllowedRaw });
|
|
8480
8466
|
}
|
|
8481
8467
|
tariffForecast = {
|
|
8482
8468
|
active,
|
|
@@ -8600,7 +8586,7 @@ class ChargingManagementModule extends BaseModule {
|
|
|
8600
8586
|
// Der nächste Core-Zyklus liest diese ORIGINALEN Leistungsmesswerte.
|
|
8601
8587
|
// Für PV-Rekonstruktion braucht er die volle Aufnahme, auch im Boost:
|
|
8602
8588
|
// Der Netzanteil wird bereits einmal über den signierten NVP abgezogen.
|
|
8603
|
-
this.adapter._zeroExportEvcsMeters = { ts: now,
|
|
8589
|
+
this.adapter._zeroExportEvcsMeters = { ts: now, pvBaseByKey: new Map(),
|
|
8604
8590
|
keys: wbList.filter(w => w.controlAvailable === true && w.actualPowerWId).map(w => `cm.wb.${w.safe}.pW`) };
|
|
8605
8591
|
for (const w of wbList) {
|
|
8606
8592
|
let override = normalizeWallboxModeOverride(w.userMode);
|
|
@@ -8878,6 +8864,7 @@ class ChargingManagementModule extends BaseModule {
|
|
|
8878
8864
|
let pvBudgetLocalEstimateWState = 0;
|
|
8879
8865
|
let pvBudgetMismatchWState = 0;
|
|
8880
8866
|
let pvBudgetCentralAuthoritative = false;
|
|
8867
|
+
let centralPvInputsUsable = false;
|
|
8881
8868
|
|
|
8882
8869
|
if (needPvBudget || needPvDiagnostics) {
|
|
8883
8870
|
// PV-Überschuss sauber ermitteln:
|
|
@@ -8924,12 +8911,16 @@ class ChargingManagementModule extends BaseModule {
|
|
|
8924
8911
|
// Boost bleibt ausserhalb der Kundenaufteilung. Kommandowerte werden hier bewusst
|
|
8925
8912
|
// nicht verwendet; der NVP bildet den realen Leistungsfluss ab.
|
|
8926
8913
|
const effectiveMode = String(w.effectiveMode || '').trim().toLowerCase();
|
|
8914
|
+
const meterKey = `cm.wb.${w.safe}.pW`;
|
|
8915
|
+
const pvBases = this.adapter._zeroExportEvcsMeters.pvBaseByKey;
|
|
8927
8916
|
if ((effectiveMode === 'normal' || effectiveMode === 'auto')
|
|
8928
8917
|
&& normalizeWallboxModeOverride(w.userMode) === 'auto' && w.meterStale !== true) {
|
|
8929
8918
|
pvEvcsPhysicalPvManagedW += a;
|
|
8930
8919
|
pvEvcsAutoPriorityMeasuredW += a;
|
|
8920
|
+
pvBases.set(meterKey, { id: w.actualPowerWId, baseW: 0 });
|
|
8931
8921
|
} else if (effectiveMode === 'pv') {
|
|
8932
8922
|
pvEvcsPhysicalPvManagedW += a;
|
|
8923
|
+
pvBases.set(meterKey, { id: w.actualPowerWId, baseW: 0 });
|
|
8933
8924
|
} else if (effectiveMode === 'minpv') {
|
|
8934
8925
|
// Min+PV-Grundlast kommt aus dem normalen Gesamt-/Netzbudget.
|
|
8935
8926
|
// Nur der Anteil oberhalb der technischen Mindestleistung darf
|
|
@@ -8943,6 +8934,7 @@ class ChargingManagementModule extends BaseModule {
|
|
|
8943
8934
|
: 0,
|
|
8944
8935
|
);
|
|
8945
8936
|
pvEvcsPhysicalPvManagedW += Math.max(0, a - Math.min(a, minPvPhysicalBaseW));
|
|
8937
|
+
pvBases.set(meterKey, { id: w.actualPowerWId, baseW: minPvPhysicalBaseW });
|
|
8946
8938
|
}
|
|
8947
8939
|
|
|
8948
8940
|
const prevCmd = (this._lastCmdTargetW && typeof this._lastCmdTargetW.get === 'function')
|
|
@@ -9001,7 +8993,7 @@ class ChargingManagementModule extends BaseModule {
|
|
|
9001
8993
|
let centralStorageFlowUsed = false;
|
|
9002
8994
|
try {
|
|
9003
8995
|
const flow = (this.adapter && typeof this.adapter._nwResolveBatteryFlowFromCache === 'function')
|
|
9004
|
-
? this.adapter._nwResolveBatteryFlowFromCache({ maxAgeMs: storageFlowMaxAgeMs, deadbandW: 25 })
|
|
8996
|
+
? this.adapter._nwResolveBatteryFlowFromCache({ now, maxAgeMs: storageFlowMaxAgeMs, deadbandW: 25, observe: true, strictStale: true })
|
|
9005
8997
|
: null;
|
|
9006
8998
|
if (flow && typeof flow === 'object') {
|
|
9007
8999
|
centralStorageFlowUsed = true;
|
|
@@ -9105,14 +9097,12 @@ class ChargingManagementModule extends BaseModule {
|
|
|
9105
9097
|
: pvEvcsActualW;
|
|
9106
9098
|
const baseLoadNoEvW = Math.max(0, loadTotalDirectW - evcsForLoadW);
|
|
9107
9099
|
pvSurplusNoEvW = Math.max(0, pvDirectW - baseLoadNoEvW);
|
|
9108
|
-
gridImportNoEvW = Math.max(0, baseLoadNoEvW - pvDirectW);
|
|
9109
9100
|
} else if (typeof gridW === 'number' && Number.isFinite(gridW)) {
|
|
9110
9101
|
// Fallback-Rekonstruktion ohne direkte PV-/Verbrauchs-DPs. Wir rechnen
|
|
9111
9102
|
// sowohl EVCS als auch die aktuelle Speicherladung zum sichtbaren Export
|
|
9112
9103
|
// zurueck. Batterie-Entladung wird abgezogen, weil sie kein PV-Ueberschuss
|
|
9113
9104
|
// ist und das Wallbox-Budget niemals kuenstlich vergroessern darf.
|
|
9114
9105
|
pvSurplusNoEvW = Math.max(0, (-gridW) + pvEvcsUsedW + storageChargeNowW - storageDischargeNowW);
|
|
9115
|
-
gridImportNoEvW = Math.max(0, gridW - pvEvcsUsedW - storageChargeNowW + storageDischargeNowW);
|
|
9116
9106
|
} else if (typeof pvSurplusCfgW === 'number' && Number.isFinite(pvSurplusCfgW)) {
|
|
9117
9107
|
// Fallback wenn kein Grid-DP verfügbar (z. B. nur PV-Surplus DP konfiguriert)
|
|
9118
9108
|
pvSurplusNoEvW = Math.max(0, pvSurplusCfgW);
|
|
@@ -9169,6 +9159,7 @@ class ChargingManagementModule extends BaseModule {
|
|
|
9169
9159
|
});
|
|
9170
9160
|
const allocationGate = pvBudgetControl.allocation;
|
|
9171
9161
|
pvBudgetCentralAuthoritative = pvBudgetControl.authoritative === true;
|
|
9162
|
+
centralPvInputsUsable = pvBudgetControl.blocked !== true;
|
|
9172
9163
|
pvBudgetSourceState = String(pvBudgetControl.source || '');
|
|
9173
9164
|
pvBudgetCentralAgeMsState = pvBudgetControl.ageMs;
|
|
9174
9165
|
pvBudgetCentralTotalWState = Math.max(0, Number(pvBudgetControl.totalW) || 0);
|
|
@@ -9219,11 +9210,11 @@ class ChargingManagementModule extends BaseModule {
|
|
|
9219
9210
|
&& Number.isFinite(Number(w.pvStartupHoldUntilMs)) && Number(w.pvStartupHoldUntilMs) > now);
|
|
9220
9211
|
|
|
9221
9212
|
gridImportW = (typeof gridW === 'number' && Number.isFinite(gridW)) ? Math.max(0, gridW) : 0;
|
|
9222
|
-
|
|
9223
|
-
|
|
9224
|
-
|
|
9225
|
-
|
|
9226
|
-
|
|
9213
|
+
// The abort threshold describes import at the physical connection.
|
|
9214
|
+
// A building estimate or an outstanding EV command is not a meter reading.
|
|
9215
|
+
gridImportNoEvW = Number.isFinite(gridW)
|
|
9216
|
+
? Math.max(0, gridW - pvEvcsActualW - storageChargeNowW + storageDischargeNowW)
|
|
9217
|
+
: 0;
|
|
9227
9218
|
|
|
9228
9219
|
let pvAvail = purePvHysteresisActive ? !!this._pvAvailable : false;
|
|
9229
9220
|
if (purePvHysteresisActive) {
|
|
@@ -11530,7 +11521,7 @@ if (components.length) {
|
|
|
11530
11521
|
const probeActualFresh = !!(w.actualPowerWId && typeof probeMeasurementAgeMs === 'number'
|
|
11531
11522
|
&& Number.isFinite(probeMeasurementAgeMs) && probeMeasurementAgeMs >= 0
|
|
11532
11523
|
&& probeMeasurementAgeMs <= 5000 && !w.meterStale && !w.staleAny);
|
|
11533
|
-
const probeEligible = !!(isPvOnly && zeroMode.active && w.enabled && w.online && w.controlAvailable
|
|
11524
|
+
const probeEligible = !!(isPvOnly && centralPvInputsUsable && zeroMode.active && w.enabled && w.online && w.controlAvailable
|
|
11534
11525
|
&& w.electricalLimitsValid !== false && w.vehiclePlugged === true
|
|
11535
11526
|
&& (w.vehicleDemandConfirmed === true || w.vehicleStartEligible === true)
|
|
11536
11527
|
&& !w.faultActive && !w.unavailableActive && !w.operationalBlocked && !w.rfidLockActive
|