iobroker.eos-admin 9.0.25 → 9.0.27
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 +12 -15
- package/README.md +6 -4
- package/START_HIER_9.0.26.md +80 -0
- package/START_HIER_9.0.27.md +33 -0
- package/adminWww/.vite/manifest.json +114 -114
- package/adminWww/NEXOWATT_EOS_FRONTEND_MANIFEST.json +13759 -13759
- package/adminWww/assets/{AdapterUpdateDialog-CLDpmxDx.js → AdapterUpdateDialog-L3aqW3ID.js} +1 -1
- package/adminWww/assets/{Adapters-BCGeX2v7.js → Adapters-Db3kbmAj.js} +1 -1
- package/adminWww/assets/{ConfigManager-B_sJf5_w.js → ConfigManager-D33l1qlC.js} +1 -1
- package/adminWww/assets/{Enums-D3n1pOtc.js → Enums-HlPEZ4AF.js} +1 -1
- package/adminWww/assets/{Fields-Bdx5gPoT.js → Fields-BWBgNDOp.js} +1 -1
- package/adminWww/assets/{Files-BPK84lYU.js → Files-BYaJp3AG.js} +1 -1
- package/adminWww/assets/{Hosts--Jr6oLf2.js → Hosts-DimiJ78g.js} +1 -1
- package/adminWww/assets/{Instances-DxTOzFus.js → Instances-C5kAjcqw.js} +1 -1
- package/adminWww/assets/{Intro-CYBGeZtu.js → Intro-B8keS0Ph.js} +1 -1
- package/adminWww/assets/{Logs-CVNC-4S8.js → Logs-D9dqF5Ag.js} +1 -1
- package/adminWww/assets/{Objects-Cqm9Rvym.js → Objects-oliB7_Se.js} +1 -1
- package/adminWww/assets/{Overview-JgjcHwlz.js → Overview-BmjcCFve.js} +1 -1
- package/adminWww/assets/{State-BV14HSwZ.js → State-DQz1O54D.js} +1 -1
- package/adminWww/assets/{UsedResources-Dz48WzEF.js → UsedResources-DOAuH0-U.js} +1 -1
- package/adminWww/assets/{Users-D19YlRCD.js → Users-Dv1iXiRk.js} +1 -1
- package/adminWww/assets/{bootstrap-a7POLSDr.js → bootstrap-BVw0diuj.js} +3 -3
- package/adminWww/assets/{hostInit-keGjwsZR.js → hostInit-C_7OBoza.js} +1 -1
- package/adminWww/assets/{icons-material-Omb_HCfb.js → icons-material-Apny8Mbp.js} +1 -1
- package/adminWww/assets/{index-DqPrQK7T.js → index-DwDSxDMx.js} +2 -2
- package/adminWww/assets/{installSVGRenderer-iWfLFoQU.js → installSVGRenderer--VTzKbml.js} +1 -1
- package/adminWww/assets/{mf-entry-bootstrap-0-2a856bb6.js → mf-entry-bootstrap-0-6f3e4c6b.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.27.js +12 -0
- package/adminWww/remoteEntry.js +1 -1
- package/build/lib/eosDeviceEmsPlan.js +24 -1
- package/build/lib/eosDeviceEmsPlan.js.map +1 -1
- package/build/lib/eosKiosk.js +11 -1
- package/build/lib/eosKiosk.js.map +1 -1
- package/build/lib/eosModuleHost.js +200 -41
- package/build/lib/eosModuleHost.js.map +1 -1
- package/build/lib/eosModuleHttp.js +9 -3
- package/build/lib/eosModuleHttp.js.map +1 -1
- package/build/lib/eosModuleLoad.js +83 -0
- package/build/lib/eosModuleLoad.js.map +1 -0
- package/build/lib/eosModuleProcess.js +16 -1
- package/build/lib/eosModuleProcess.js.map +1 -1
- package/build/lib/eosModuleProcessProtocol.js +13 -1
- package/build/lib/eosModuleProcessProtocol.js.map +1 -1
- package/build/lib/eosModuleProcessWorker.js +50 -23
- package/build/lib/eosModuleProcessWorker.js.map +1 -1
- package/build/lib/eosRuntimeControl.js +17 -6
- package/build/lib/eosRuntimeControl.js.map +1 -1
- package/build/lib/eosTlsHttp.js +84 -0
- package/build/lib/eosTlsHttp.js.map +1 -1
- package/build/lib/eosUiProcessWorker.js +1 -0
- package/build/lib/eosUiProcessWorker.js.map +1 -1
- package/build/lib/web.js +18 -1
- package/build/lib/web.js.map +1 -1
- package/docs/reports/unified-9.0.26/ACTIVATION.md +50 -0
- package/docs/reports/unified-9.0.26/BACKUP_READINESS_REVIEW.md +30 -0
- package/docs/reports/unified-9.0.26/BACKUP_UI.md +69 -0
- package/docs/reports/unified-9.0.26/CHARGING_CLIENT_REVIEW.md +24 -0
- package/docs/reports/unified-9.0.26/EVCS_DELETE_UI_REVIEW.md +120 -0
- package/docs/reports/unified-9.0.26/EVCS_IDENTITY_REVIEW.md +47 -0
- package/docs/reports/unified-9.0.26/INDEPENDENT_REVIEW.md +114 -0
- package/docs/reports/unified-9.0.26/LIFECYCLE_REVIEW.md +47 -0
- package/docs/reports/unified-9.0.26/OCPP_DELETION_REVIEW.md +49 -0
- package/docs/reports/unified-9.0.26/PIPELINE_OFFLINE_ASSERTION_REVIEW.md +71 -0
- package/docs/reports/unified-9.0.26/PRUEFBERICHT.md +71 -0
- package/docs/reports/unified-9.0.26/PWA_TLS.md +43 -0
- package/docs/reports/unified-9.0.26/TARIFF_STARTUP.md +42 -0
- package/docs/reports/unified-9.0.26/installed-package/README.md +105 -0
- package/docs/reports/unified-9.0.26/installed-package/baseline925-git-export.json +31 -0
- package/docs/reports/unified-9.0.26/installed-package/baseline925-node22-install.log +15 -0
- package/docs/reports/unified-9.0.26/installed-package/baseline925-node22-lifecycle.log +17 -0
- package/docs/reports/unified-9.0.26/installed-package/baseline925-node22.log +26 -0
- package/docs/reports/unified-9.0.26/installed-package/baseline925-node24-lifecycle.log +17 -0
- package/docs/reports/unified-9.0.26/installed-package/baseline925-node24.log +10 -0
- package/docs/reports/unified-9.0.26/installed-package/diagnostic-node22.log +26 -0
- package/docs/reports/unified-9.0.26/installed-package/diagnostic-node24.log +10 -0
- package/docs/reports/unified-9.0.26/installed-package/registry925-comparison.json +18 -0
- package/docs/reports/unified-9.0.26/raw/INDEX.json +43 -0
- package/docs/reports/unified-9.0.26/raw/activation/INTERNAL_VISUAL_CHECKS.md +1 -0
- package/docs/reports/unified-9.0.26/raw/activation/eslint.log +0 -0
- package/docs/reports/unified-9.0.26/raw/activation/node22-browser.json +74 -0
- package/docs/reports/unified-9.0.26/raw/activation/node22-browser.stderr.log +2 -0
- package/docs/reports/unified-9.0.26/raw/activation/node22-real-processes.log +40 -0
- package/docs/reports/unified-9.0.26/raw/activation/node22-unit-http.log +196 -0
- package/docs/reports/unified-9.0.26/raw/activation/node24-browser.json +74 -0
- package/docs/reports/unified-9.0.26/raw/activation/node24-browser.stderr.log +0 -0
- package/docs/reports/unified-9.0.26/raw/activation/node24-module-http.log +18 -0
- package/docs/reports/unified-9.0.26/raw/activation/node24-tests.log +43 -0
- package/docs/reports/unified-9.0.26/raw/activation/typecheck.log +0 -0
- package/docs/reports/unified-9.0.26/raw/activation/verification.json +38 -0
- package/docs/reports/unified-9.0.26/raw/backup-ui/field-map.json +497 -0
- package/docs/reports/unified-9.0.26/raw/backup-ui/node22-browser.json +67 -0
- package/docs/reports/unified-9.0.26/raw/backup-ui/node22-browser.stderr.log +2 -0
- package/docs/reports/unified-9.0.26/raw/backup-ui/node24-browser.json +67 -0
- package/docs/reports/unified-9.0.26/raw/backup-ui/node24-browser.stderr.log +0 -0
- package/docs/reports/unified-9.0.26/raw/backup-ui/verification.json +32 -0
- package/docs/reports/unified-9.0.26/raw/build-and-static/FINAL_CHECKS.json +45 -0
- package/docs/reports/unified-9.0.26/raw/build-and-static/eos926-build-backend-before-ems-tariff.log +5 -0
- package/docs/reports/unified-9.0.26/raw/build-and-static/eos926-build-backend-delivery.log +5 -0
- package/docs/reports/unified-9.0.26/raw/build-and-static/eos926-build-frontend.log +152 -0
- package/docs/reports/unified-9.0.26/raw/build-and-static/eos926-build-installer.log +26 -0
- package/docs/reports/unified-9.0.26/raw/build-and-static/eos926-build-modules.log +5 -0
- package/docs/reports/unified-9.0.26/raw/build-and-static/eos926-build-ui-runtime-delivery.log +7 -0
- package/docs/reports/unified-9.0.26/raw/build-and-static/eos926-build-ui-runtime.log +7 -0
- package/docs/reports/unified-9.0.26/raw/build-and-static/eos926-lint-complete.log +45 -0
- package/docs/reports/unified-9.0.26/raw/build-and-static/eos926-lint-delivery.log +45 -0
- package/docs/reports/unified-9.0.26/raw/build-and-static/eos926-production-audit.json +77 -0
- package/docs/reports/unified-9.0.26/raw/build-and-static/eos926-production-audit.stderr +1 -0
- package/docs/reports/unified-9.0.26/raw/build-and-static/eos926-registry-check.json +7 -0
- package/docs/reports/unified-9.0.26/raw/build-and-static/eos926-registry-check.stderr +9 -0
- package/docs/reports/unified-9.0.26/raw/build-and-static/eos926-sbom-vendored.log +1 -0
- package/docs/reports/unified-9.0.26/raw/build-and-static/eos926-typecheck-complete.log +5 -0
- package/docs/reports/unified-9.0.26/raw/build-and-static/eos926-typecheck-delivery.log +5 -0
- package/docs/reports/unified-9.0.26/raw/charging-control-client-review-hashes.json +10 -0
- package/docs/reports/unified-9.0.26/raw/charging-control-client-review-node22.log +86 -0
- package/docs/reports/unified-9.0.26/raw/charging-control-client-review-node24.log +20 -0
- package/docs/reports/unified-9.0.26/raw/charging-identity/node22.log +130 -0
- package/docs/reports/unified-9.0.26/raw/charging-identity/node24.log +27 -0
- package/docs/reports/unified-9.0.26/raw/charging-identity-review/PRODUCT_REVIEW.md +45 -0
- package/docs/reports/unified-9.0.26/raw/charging-identity-review/independent-probes.json +18 -0
- package/docs/reports/unified-9.0.26/raw/charging-identity-review/independent-probes.stderr +0 -0
- package/docs/reports/unified-9.0.26/raw/charging-identity-review/node24-tests.log +38 -0
- package/docs/reports/unified-9.0.26/raw/charging-identity-review/registry-ipc.json +24 -0
- package/docs/reports/unified-9.0.26/raw/charging-identity-review/review-probes.cjs +81 -0
- package/docs/reports/unified-9.0.26/raw/deletion-station-kiosk-node22.log +188 -0
- package/docs/reports/unified-9.0.26/raw/deletion-station-kiosk-node24.log +36 -0
- package/docs/reports/unified-9.0.26/raw/evcs-control-fence-node22.log +148 -0
- package/docs/reports/unified-9.0.26/raw/evcs-control-fence-node24.log +30 -0
- package/docs/reports/unified-9.0.26/raw/evcs-delete/browser-lint.log +0 -0
- package/docs/reports/unified-9.0.26/raw/evcs-delete/node22-browser.json +28 -0
- package/docs/reports/unified-9.0.26/raw/evcs-delete/node22-browser.log +3 -0
- package/docs/reports/unified-9.0.26/raw/evcs-delete/node22-client-handshake.log +112 -0
- package/docs/reports/unified-9.0.26/raw/evcs-delete/node22-pipeline-corrected.log +94 -0
- package/docs/reports/unified-9.0.26/raw/evcs-delete/node22-pipeline-diagnostic.log +27 -0
- package/docs/reports/unified-9.0.26/raw/evcs-delete/node22-pipeline-repro.log +94 -0
- package/docs/reports/unified-9.0.26/raw/evcs-delete/node22-pipeline-tick-probe.log +36 -0
- package/docs/reports/unified-9.0.26/raw/evcs-delete/node24-browser.json +28 -0
- package/docs/reports/unified-9.0.26/raw/evcs-delete/node24-browser.log +1 -0
- package/docs/reports/unified-9.0.26/raw/evcs-delete/node24-client-handshake.log +24 -0
- package/docs/reports/unified-9.0.26/raw/evcs-delete/node24-pipeline-corrected.log +23 -0
- package/docs/reports/unified-9.0.26/raw/evcs-delete/node24-pipeline-repro.log +23 -0
- package/docs/reports/unified-9.0.26/raw/evcs-delete/node24-pipeline-tick-probe.log +28 -0
- package/docs/reports/unified-9.0.26/raw/evcs-delete/pipeline-corrected-snapshot.json +23 -0
- package/docs/reports/unified-9.0.26/raw/evcs-delete/pipeline-lint.log +6 -0
- package/docs/reports/unified-9.0.26/raw/final-source-snapshot.json +16 -0
- package/docs/reports/unified-9.0.26/raw/git-vendor-source/node22.log +28 -0
- package/docs/reports/unified-9.0.26/raw/git-vendor-source/node24.log +10 -0
- package/docs/reports/unified-9.0.26/raw/git-vendor-source/verification.json +29 -0
- package/docs/reports/unified-9.0.26/raw/independent-review/GIT_ADDENDUM.json +20 -0
- package/docs/reports/unified-9.0.26/raw/independent-review/INDEX.json +76 -0
- package/docs/reports/unified-9.0.26/raw/independent-review/baseline925-artifacts-independent.json +16 -0
- package/docs/reports/unified-9.0.26/raw/independent-review/git-runtime-complete-node22.log +22 -0
- package/docs/reports/unified-9.0.26/raw/independent-review/git-runtime-complete-node24.log +9 -0
- package/docs/reports/unified-9.0.26/raw/independent-review/git-runtime-node24.log +9 -0
- package/docs/reports/unified-9.0.26/raw/independent-review/git-transport-independent.json +33 -0
- package/docs/reports/unified-9.0.26/raw/independent-review/npm-dry-run-file-inventory.json +16271 -0
- package/docs/reports/unified-9.0.26/raw/independent-review/npm-git-complete-inventory.json +40 -0
- package/docs/reports/unified-9.0.26/raw/independent-review/public-trust-node24.log +9 -0
- package/docs/reports/unified-9.0.26/raw/independent-review/runtime-lifecycle-import-node24.log +35 -0
- package/docs/reports/unified-9.0.26/raw/lifecycle/node22-baseline925.json +30 -0
- package/docs/reports/unified-9.0.26/raw/lifecycle/node22-candidate926.json +30 -0
- package/docs/reports/unified-9.0.26/raw/lifecycle/node24-baseline925.json +30 -0
- package/docs/reports/unified-9.0.26/raw/lifecycle/node24-candidate926.json +30 -0
- package/docs/reports/unified-9.0.26/raw/node22-tests-before-backup-git-regression.log +16035 -0
- package/docs/reports/unified-9.0.26/raw/node22-tests-before-backup-ui.log +16037 -0
- package/docs/reports/unified-9.0.26/raw/node22-tests-before-ems-tariff.log +16064 -0
- package/docs/reports/unified-9.0.26/raw/node22-tests-before-git-regression.log +16027 -0
- package/docs/reports/unified-9.0.26/raw/node22-tests-before-pipeline-fixture.log +11584 -0
- package/docs/reports/unified-9.0.26/raw/node22-tests-before-remap-noop.log +11581 -0
- package/docs/reports/unified-9.0.26/raw/node22-tests-final.log +16520 -0
- package/docs/reports/unified-9.0.26/raw/node22-version.log +1 -0
- package/docs/reports/unified-9.0.26/raw/node24-tests-before-backup-git-regression.log +2678 -0
- package/docs/reports/unified-9.0.26/raw/node24-tests-before-backup-ui.log +2678 -0
- package/docs/reports/unified-9.0.26/raw/node24-tests-before-ems-tariff.log +1860 -0
- package/docs/reports/unified-9.0.26/raw/node24-tests-before-git-regression.log +2677 -0
- package/docs/reports/unified-9.0.26/raw/node24-tests-before-pipeline-fixture.log +1925 -0
- package/docs/reports/unified-9.0.26/raw/node24-tests-before-remap-noop.log +1924 -0
- package/docs/reports/unified-9.0.26/raw/node24-tests-final.log +2757 -0
- package/docs/reports/unified-9.0.26/raw/node24-version.log +1 -0
- package/docs/reports/unified-9.0.26/raw/ocpp-deletion-node22.log +148 -0
- package/docs/reports/unified-9.0.26/raw/ocpp-deletion-node24.log +30 -0
- package/docs/reports/unified-9.0.26/raw/publish-overlay-provenance.json +10 -0
- package/docs/reports/unified-9.0.26/raw/pwa/INTERNAL_VISUAL_CHECKS.md +1 -0
- package/docs/reports/unified-9.0.26/raw/pwa/index.json +18 -0
- package/docs/reports/unified-9.0.26/raw/pwa/pwa-926-baseline.log +48 -0
- package/docs/reports/unified-9.0.26/raw/pwa/pwa-926-browser-node22.json +33 -0
- package/docs/reports/unified-9.0.26/raw/pwa/pwa-926-browser-node22.stderr +5 -0
- package/docs/reports/unified-9.0.26/raw/pwa/pwa-926-browser.json +33 -0
- package/docs/reports/unified-9.0.26/raw/pwa/pwa-926-browser.stderr +2 -0
- package/docs/reports/unified-9.0.26/raw/pwa/pwa-926-focused-node22.log +137 -0
- package/docs/reports/unified-9.0.26/raw/pwa/pwa-926-focused-node24.log +32 -0
- package/docs/reports/unified-9.0.26/raw/pwa/pwa-926-lint.log +0 -0
- package/docs/reports/unified-9.0.26/raw/pwa/pwa-926-recovery-node22.log +28 -0
- package/docs/reports/unified-9.0.26/raw/pwa/pwa-926-recovery-node24.log +10 -0
- package/docs/reports/unified-9.0.26/raw/pwa/pwa-926-tls-final.log +9 -0
- package/docs/reports/unified-9.0.26/raw/pwa/pwa-926-typecheck.log +0 -0
- package/docs/reports/unified-9.0.26/raw/tariff-deletion-station-kiosk-node22.log +250 -0
- package/docs/reports/unified-9.0.26/raw/tariff-deletion-station-kiosk-node24.log +46 -0
- package/docs/reports/unified-9.0.26/raw/tariff-startup/PRODUCT_REVIEW.md +30 -0
- package/docs/reports/unified-9.0.26/raw/tariff-startup/browser-eslint.log +0 -0
- package/docs/reports/unified-9.0.26/raw/tariff-startup/eslint.log +0 -0
- package/docs/reports/unified-9.0.26/raw/tariff-startup/independent-review-node24.log +35 -0
- package/docs/reports/unified-9.0.26/raw/tariff-startup/node22-browser.json +43 -0
- package/docs/reports/unified-9.0.26/raw/tariff-startup/node22-browser.stderr +2 -0
- package/docs/reports/unified-9.0.26/raw/tariff-startup/node22-process-final.log +26 -0
- package/docs/reports/unified-9.0.26/raw/tariff-startup/node22-tests.log +378 -0
- package/docs/reports/unified-9.0.26/raw/tariff-startup/node24-browser.json +43 -0
- package/docs/reports/unified-9.0.26/raw/tariff-startup/node24-browser.stderr +0 -0
- package/docs/reports/unified-9.0.26/raw/tariff-startup/node24-process-final.log +10 -0
- package/docs/reports/unified-9.0.26/raw/tariff-startup/node24-tests.log +66 -0
- package/docs/reports/unified-9.0.26/raw/tariff-startup/process-verification.json +41 -0
- package/docs/reports/unified-9.0.26/raw/tariff-startup/typecheck.log +0 -0
- package/docs/reports/unified-9.0.27/ABHAENGIGKEITEN.md +27 -0
- package/docs/reports/unified-9.0.27/PRUEFBERICHT.md +68 -0
- package/docs/reports/unified-9.0.27/PRUEFERGEBNISSE.json +292 -0
- package/docs/reports/unified-9.0.27/SICHERHEITSBETRACHTUNG.md +26 -0
- package/docs/reports/unified-9.0.27/TIBBER_NEUSTART.md +23 -0
- package/docs/reports/unified-9.0.27/UPDATE_WIEDERANLAUF.md +46 -0
- package/docs/reports/unified-9.0.27/raw/INDEX.json +347 -0
- package/docs/reports/unified-9.0.27/raw/admin-build-mirror-review.json +75 -0
- package/docs/reports/unified-9.0.27/raw/ajv-production-reachability.json +35 -0
- package/docs/reports/unified-9.0.27/raw/backend-build.log +5 -0
- package/docs/reports/unified-9.0.27/raw/baseline-devices.log +138 -0
- package/docs/reports/unified-9.0.27/raw/baseline-module-startup.log +82 -0
- package/docs/reports/unified-9.0.27/raw/baseline-ocpp-contract.log +93 -0
- package/docs/reports/unified-9.0.27/raw/baseline-ocpp-frontend.log +255 -0
- package/docs/reports/unified-9.0.27/raw/baseline-repository-tools.log +84 -0
- package/docs/reports/unified-9.0.27/raw/browser-blocked.log +38 -0
- package/docs/reports/unified-9.0.27/raw/controller-725-reproduction-node24.log +4 -0
- package/docs/reports/unified-9.0.27/raw/devices-child-rpc-diagnostic.log +34 -0
- package/docs/reports/unified-9.0.27/raw/devices-filter-without-readiness.log +15 -0
- package/docs/reports/unified-9.0.27/raw/devices-final-web-filtered-node22.log +107 -0
- package/docs/reports/unified-9.0.27/raw/devices-final-web-filtered-node24.log +26 -0
- package/docs/reports/unified-9.0.27/raw/eos-update-path-node24.log +52 -0
- package/docs/reports/unified-9.0.27/raw/frontend-build.log +152 -0
- package/docs/reports/unified-9.0.27/raw/influx/provenance.json +42 -0
- package/docs/reports/unified-9.0.27/raw/installer-build.log +26 -0
- package/docs/reports/unified-9.0.27/raw/lint.log +5 -0
- package/docs/reports/unified-9.0.27/raw/modules-build.log +5 -0
- package/docs/reports/unified-9.0.27/raw/node22-tests-final.log +16976 -0
- package/docs/reports/unified-9.0.27/raw/node22-version.log +1 -0
- package/docs/reports/unified-9.0.27/raw/node24-tests-final.log +2831 -0
- package/docs/reports/unified-9.0.27/raw/node24-version.log +1 -0
- package/docs/reports/unified-9.0.27/raw/npm-audit-development.json +398 -0
- package/docs/reports/unified-9.0.27/raw/npm-audit-production.json +77 -0
- package/docs/reports/unified-9.0.27/raw/npm-production-ajv-tree.json +33 -0
- package/docs/reports/unified-9.0.27/raw/npm-production-ajv-tree.stderr +1 -0
- package/docs/reports/unified-9.0.27/raw/npm926-dateivergleich.json +6 -0
- package/docs/reports/unified-9.0.27/raw/production-audit-review.json +30 -0
- package/docs/reports/unified-9.0.27/raw/release-targeted.log +118 -0
- package/docs/reports/unified-9.0.27/raw/restart-regressions-node22.log +361 -0
- package/docs/reports/unified-9.0.27/raw/sbom-generation.json +11 -0
- package/docs/reports/unified-9.0.27/raw/source-fixtures.json +30 -0
- package/docs/reports/unified-9.0.27/raw/targeted-ocpp-frontend.log +26 -0
- package/docs/reports/unified-9.0.27/raw/test-environment.json +24 -0
- package/docs/reports/unified-9.0.27/raw/tibber/backend/REVIEW.md +40 -0
- package/docs/reports/unified-9.0.27/raw/tibber/backend/appcenter-overwrite-patched-scratch.log +11 -0
- package/docs/reports/unified-9.0.27/raw/tibber/backend/appcenter-overwrite-repro.log +33 -0
- package/docs/reports/unified-9.0.27/raw/tibber/backend/customer-tariff-lint.log +0 -0
- package/docs/reports/unified-9.0.27/raw/tibber/backend/customer-tariff-typecheck.log +0 -0
- package/docs/reports/unified-9.0.27/raw/tibber/backend/process-disk-restart-node24.log +10 -0
- package/docs/reports/unified-9.0.27/raw/tibber/backend/roundtrip-built-diagnostic.log +58 -0
- package/docs/reports/unified-9.0.27/raw/tibber/backend/roundtrip-built-ipc-counts.log +45 -0
- package/docs/reports/unified-9.0.27/raw/tibber/backend/roundtrip-built-node24.log +42 -0
- package/docs/reports/unified-9.0.27/raw/tibber/backend/roundtrip-final-node22.log +134 -0
- package/docs/reports/unified-9.0.27/raw/tibber/backend/roundtrip-final-node24.log +28 -0
- package/docs/reports/unified-9.0.27/raw/tibber/backend/roundtrip-source-node22-diagnostic.log +220 -0
- package/docs/reports/unified-9.0.27/raw/tibber/independent/tariff-background-hydration-review.log +1 -0
- package/docs/reports/unified-9.0.27/raw/tibber/independent/tibber-header-object-mask-review.log +1 -0
- package/docs/reports/unified-9.0.27/raw/tibber/independent/tibber-independent-frontend-review.log +14 -0
- package/docs/reports/unified-9.0.27/raw/tibber/independent/tibber-independent-scope-review.log +1 -0
- package/docs/reports/unified-9.0.27/raw/tibber/independent/tibber-mapping-targeted-node24.log +2184 -0
- package/docs/reports/unified-9.0.27/raw/tibber/independent/tibber-parent-persistence-review.log +20 -0
- package/docs/reports/unified-9.0.27/raw/tibber/tariff-review/appcenter-tariff-roundtrip-baseline.log +57 -0
- package/docs/reports/unified-9.0.27/raw/tibber/tariff-review/customer-editor-final.log +24 -0
- package/docs/reports/unified-9.0.27/raw/tibber/tariff-review/frontend-guard-baseline.log +303 -0
- package/docs/reports/unified-9.0.27/raw/tibber/tariff-review/frontend-guard-final.log +14 -0
- package/docs/reports/unified-9.0.27/raw/tibber-appcenter-baseline.log +33 -0
- package/docs/reports/unified-9.0.27/raw/tibber-background-hydration-baseline.log +1 -0
- package/docs/reports/unified-9.0.27/raw/tibber-form-baseline.log +57 -0
- package/docs/reports/unified-9.0.27/raw/tibber-mapping-targeted-node24.log +2184 -0
- package/docs/reports/unified-9.0.27/raw/tibber-minimal-fix-isolation.log +11 -0
- package/docs/reports/unified-9.0.27/raw/typecheck.log +5 -0
- package/docs/reports/unified-9.0.27/raw/ui-build.log +7 -0
- package/docs/unified/NEXOWATT_TLS_DE.md +12 -2
- package/io-package.json +12 -13
- package/modules/backup/admin/index.html +24 -95
- package/modules/backup/admin/index.js +350 -98
- package/modules/backup/admin/style.css +40 -0
- package/modules/devices/admin/ems-assignment.js +1 -0
- package/package.json +13 -10
- package/public/eos-runtime/index.js +12 -2
- package/public/eos-tls/index.html +1 -1
- package/public/eos-tls/trust.css +19 -0
- package/public/eos-tls/trust.html +52 -0
- package/release-manifests/unified/build-environment.cdx.json +6 -6
- package/release-manifests/unified/files.json +419 -140
- package/release-manifests/unified/frontend.cdx.json +6 -6
- package/release-manifests/unified/installer.cdx.json +2 -2
- package/release-manifests/unified/obsolete-admin-assets.json +627 -463
- package/release-manifests/unified/runtime.cdx.json +28 -28
- package/release-manifests/unified/validation.json +15 -15
- package/tools/eos-lifecycle-benchmark.cjs +50 -0
- package/tools/eos-release-manifest.cjs +1 -1
- package/ui/ems/engine.js +5 -1
- package/ui/io-package.json +1 -1
- package/ui/lib/charging-point-identity.js +465 -0
- package/ui/lib/charging-station-identity.js +111 -0
- package/ui/lib/customer-tariff.js +73 -1
- package/ui/lib/installer-lifecycle.js +5 -3
- package/ui/lib/ocpp-auto-discovery.js +83 -5
- package/ui/main.js +261 -113
- package/ui/package.json +1 -1
- package/ui/www/app.js +63 -18
- package/ui/www/customer-tariff.js +67 -11
- package/ui/www/dc-station-display.js +15 -11
- package/ui/www/ems-apps.js +227 -135
- package/ui/www/evcs.js +55 -12
- package/ui/www/licenses/smarthome-markdown-components.json +156 -156
- package/ui/www/login.html +1 -0
- package/ui/www/manifest.webmanifest +2 -2
- package/adminWww/remoteEntry-eos-9.0.25.js +0 -12
package/ui/package.json
CHANGED
package/ui/www/app.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* AUTO-GENERATED RUNTIME FILE - NICHT MANUELL BEARBEITEN.
|
|
8
8
|
*
|
|
9
9
|
* Quelle: src-ts/runtime-executables/www/app.ts
|
|
10
|
-
* Quell-Hash: sha256:
|
|
10
|
+
* Quell-Hash: sha256:18104cb2b08b3c23c36643230efeb9f8a940be31f60d25193001491594db06ea
|
|
11
11
|
* Erzeugung: npm run sync:ts-runtime-executables
|
|
12
12
|
*
|
|
13
13
|
* Zweck:
|
|
@@ -3525,11 +3525,54 @@ function render() {
|
|
|
3525
3525
|
* Zusammenhang: Teil von Kunden-LIVE-Frontend: Dashboard, Energiefluss, Schnellsteuerung; Aufrufstellen und abhängige States/APIs beim Ändern mitprüfen.
|
|
3526
3526
|
* TypeScript: Parameter, Rückgabewert und verwendete Config-/State-Objekte später explizit typisieren.
|
|
3527
3527
|
*/
|
|
3528
|
+
|
|
3529
|
+
// Bind command ownership to the document's initial configuration. Automatic
|
|
3530
|
+
// telemetry/config refresh must never upgrade an already open control to another LP.
|
|
3531
|
+
let chargingControlSnapshot = null;
|
|
3532
|
+
function rememberChargingControlIdentity(config) {
|
|
3533
|
+
if (chargingControlSnapshot !== null) return;
|
|
3534
|
+
const value = config && config.chargingControlIdentity;
|
|
3535
|
+
chargingControlSnapshot = JSON.parse(JSON.stringify(value && typeof value === 'object' ? value : {}));
|
|
3536
|
+
}
|
|
3537
|
+
async function chargingControlFetch(url, options = {}) {
|
|
3538
|
+
let request = options;
|
|
3539
|
+
if (url === '/api/set' && typeof options.body === 'string') {
|
|
3540
|
+
const body = JSON.parse(options.body);
|
|
3541
|
+
if (body.scope === 'ems' || body.scope === 'evcs' || (body.scope === 'settings' && /^evcs/.test(String(body.key || '')))) {
|
|
3542
|
+
const key = String(body.key || '');
|
|
3543
|
+
const match = key.match(/^(?:evcs\.|chargingManagement\.wallboxes\.lp)([1-9]\d*)\./)
|
|
3544
|
+
|| (body.scope === 'evcs' && key.match(/^([1-9]\d*)\./));
|
|
3545
|
+
const metadata = chargingControlSnapshot;
|
|
3546
|
+
if (match && typeof metadata?.slots?.['lp' + match[1]] === 'string') body.expectedChargingIdentity = metadata.slots['lp' + match[1]];
|
|
3547
|
+
else if (!match && typeof metadata?.revision === 'string') body.expectedChargingLayoutRevision = metadata.revision;
|
|
3548
|
+
request = { ...options, body: JSON.stringify(body) };
|
|
3549
|
+
}
|
|
3550
|
+
}
|
|
3551
|
+
const response = await fetch(url, request);
|
|
3552
|
+
if (url === '/api/set' && response.status === 409) {
|
|
3553
|
+
const data = await response.clone().json().catch(() => null);
|
|
3554
|
+
if (String(data?.error || '').startsWith('EOS_EVCS_IDENTITY_')) {
|
|
3555
|
+
let notice = document.getElementById('nw-charging-identity-notice');
|
|
3556
|
+
if (!notice) {
|
|
3557
|
+
notice = document.createElement('div'); notice.id = 'nw-charging-identity-notice';
|
|
3558
|
+
notice.setAttribute('role', 'alert'); notice.className = 'nw-help';
|
|
3559
|
+
notice.textContent = 'Die Ladepunktzuordnung wurde geändert oder wird aktualisiert. Der Befehl wurde nicht ausgeführt. Bitte die Seite neu laden. ';
|
|
3560
|
+
const reload = document.createElement('button'); reload.type = 'button'; reload.textContent = 'Seite neu laden';
|
|
3561
|
+
reload.addEventListener('click', () => window.location.reload()); notice.appendChild(reload);
|
|
3562
|
+
(document.querySelector('main') || document.body).prepend(notice);
|
|
3563
|
+
}
|
|
3564
|
+
throw new Error('EOS_EVCS_IDENTITY_CHANGED');
|
|
3565
|
+
}
|
|
3566
|
+
}
|
|
3567
|
+
return response;
|
|
3568
|
+
}
|
|
3569
|
+
|
|
3528
3570
|
async function bootstrap() {
|
|
3529
3571
|
let cfg = {};
|
|
3530
3572
|
try {
|
|
3531
3573
|
const cfgRes = await fetch('/config');
|
|
3532
3574
|
cfg = await cfgRes.json();
|
|
3575
|
+
rememberChargingControlIdentity(cfg);
|
|
3533
3576
|
units = cfg.units || units;
|
|
3534
3577
|
|
|
3535
3578
|
// ioBroker-Systemsprache übernehmen: Backend liefert /config.locale aus system.config.common.language.
|
|
@@ -3591,6 +3634,7 @@ async function bootstrap() {
|
|
|
3591
3634
|
}catch(_e){}
|
|
3592
3635
|
} catch (e) {
|
|
3593
3636
|
console.warn('[config]', e);
|
|
3637
|
+
rememberChargingControlIdentity({});
|
|
3594
3638
|
}
|
|
3595
3639
|
// --- Config hot-reload ----------------------------------------------------
|
|
3596
3640
|
// If the App-Center changes "installed" flags, the backend updates installer.configJson.
|
|
@@ -3613,6 +3657,7 @@ let cfgReloadPending = false;
|
|
|
3613
3657
|
*/
|
|
3614
3658
|
const applyConfigSnapshot = (nextCfg) => {
|
|
3615
3659
|
cfg = nextCfg || {};
|
|
3660
|
+
rememberChargingControlIdentity(cfg);
|
|
3616
3661
|
try { window.__nwCfg = cfg || {}; } catch (_e) { window.__nwCfg = {}; }
|
|
3617
3662
|
try { units = cfg.units || units; } catch (_e) {}
|
|
3618
3663
|
|
|
@@ -4707,7 +4752,7 @@ function bindInputValue(el, stateKey) {
|
|
|
4707
4752
|
} catch (_e) {}
|
|
4708
4753
|
|
|
4709
4754
|
try {
|
|
4710
|
-
await
|
|
4755
|
+
await chargingControlFetch('/api/set', {
|
|
4711
4756
|
method: 'POST',
|
|
4712
4757
|
headers: { 'Content-Type': 'application/json' },
|
|
4713
4758
|
body: JSON.stringify({ scope, key, value: val })
|
|
@@ -5384,7 +5429,7 @@ function setupRfidWhitelistUi(){
|
|
|
5384
5429
|
}
|
|
5385
5430
|
const json = JSON.stringify(cleaned);
|
|
5386
5431
|
try {
|
|
5387
|
-
await
|
|
5432
|
+
await chargingControlFetch('/api/set', {
|
|
5388
5433
|
method: 'POST',
|
|
5389
5434
|
headers: { 'Content-Type': 'application/json' },
|
|
5390
5435
|
body: JSON.stringify({ scope: 'rfid', key: 'whitelistJson', value: json })
|
|
@@ -5501,7 +5546,7 @@ function setupRfidLearningUi(){
|
|
|
5501
5546
|
*/
|
|
5502
5547
|
async function setLearningActive(active){
|
|
5503
5548
|
try{
|
|
5504
|
-
await
|
|
5549
|
+
await chargingControlFetch('/api/set', {
|
|
5505
5550
|
method: 'POST',
|
|
5506
5551
|
headers: { 'Content-Type': 'application/json' },
|
|
5507
5552
|
body: JSON.stringify({ scope: 'rfid', key: 'learning.active', value: !!active })
|
|
@@ -6596,7 +6641,7 @@ function initEmsControlModal() {
|
|
|
6596
6641
|
*/
|
|
6597
6642
|
const setSetting = async (key, value) => {
|
|
6598
6643
|
try {
|
|
6599
|
-
await
|
|
6644
|
+
await chargingControlFetch('/api/set', {
|
|
6600
6645
|
method: 'POST',
|
|
6601
6646
|
headers: { 'Content-Type': 'application/json' },
|
|
6602
6647
|
credentials: 'same-origin',
|
|
@@ -6718,7 +6763,7 @@ function initThresholdModal() {
|
|
|
6718
6763
|
*/
|
|
6719
6764
|
const apiSet = async (key, value) => {
|
|
6720
6765
|
try {
|
|
6721
|
-
const resp = await
|
|
6766
|
+
const resp = await chargingControlFetch('/api/set', {
|
|
6722
6767
|
method: 'POST',
|
|
6723
6768
|
headers: { 'Content-Type': 'application/json' },
|
|
6724
6769
|
credentials: 'same-origin',
|
|
@@ -7154,7 +7199,7 @@ function initRelayModal() {
|
|
|
7154
7199
|
*/
|
|
7155
7200
|
const apiSet = async (idx, prop, value) => {
|
|
7156
7201
|
try {
|
|
7157
|
-
const resp = await
|
|
7202
|
+
const resp = await chargingControlFetch('/api/set', {
|
|
7158
7203
|
method: 'POST',
|
|
7159
7204
|
headers: { 'Content-Type': 'application/json' },
|
|
7160
7205
|
credentials: 'same-origin',
|
|
@@ -7496,7 +7541,7 @@ function initBhkwModal() {
|
|
|
7496
7541
|
*/
|
|
7497
7542
|
const apiSet = async (idx, prop, value) => {
|
|
7498
7543
|
try {
|
|
7499
|
-
const resp = await
|
|
7544
|
+
const resp = await chargingControlFetch('/api/set', {
|
|
7500
7545
|
method: 'POST',
|
|
7501
7546
|
headers: { 'Content-Type': 'application/json' },
|
|
7502
7547
|
credentials: 'same-origin',
|
|
@@ -7840,7 +7885,7 @@ function initGeneratorModal() {
|
|
|
7840
7885
|
*/
|
|
7841
7886
|
const apiSet = async (idx, prop, value) => {
|
|
7842
7887
|
try {
|
|
7843
|
-
const resp = await
|
|
7888
|
+
const resp = await chargingControlFetch('/api/set', {
|
|
7844
7889
|
method: 'POST',
|
|
7845
7890
|
headers: { 'Content-Type': 'application/json' },
|
|
7846
7891
|
credentials: 'same-origin',
|
|
@@ -9213,7 +9258,7 @@ render = function(){ try{ _renderOld(); }catch(e){ console.warn('render', e); }
|
|
|
9213
9258
|
* TypeScript: Parameter, Rückgabewert und verwendete Config-/State-Objekte später explizit typisieren.
|
|
9214
9259
|
*/
|
|
9215
9260
|
const apiSet = async (scope, key, value) => {
|
|
9216
|
-
const r = await
|
|
9261
|
+
const r = await chargingControlFetch('/api/set', {
|
|
9217
9262
|
method: 'POST',
|
|
9218
9263
|
headers: { 'Content-Type': 'application/json' },
|
|
9219
9264
|
body: JSON.stringify({ scope, key, value })
|
|
@@ -9330,7 +9375,7 @@ render = function(){ try{ _renderOld(); }catch(e){ console.warn('render', e); }
|
|
|
9330
9375
|
const controller = new AbortController();
|
|
9331
9376
|
const timer = setTimeout(() => controller.abort(), 5000);
|
|
9332
9377
|
try{
|
|
9333
|
-
const response = await
|
|
9378
|
+
const response = await chargingControlFetch(url, { ...options, credentials: 'same-origin', signal: controller.signal });
|
|
9334
9379
|
if (!response || !response.ok){
|
|
9335
9380
|
throw new Error(response && (response.status === 401 || response.status === 403) ? 'mode_auth_required' : 'mode_http_failed');
|
|
9336
9381
|
}
|
|
@@ -9641,7 +9686,7 @@ render = function(){ try{ _renderOld(); }catch(e){ console.warn('render', e); }
|
|
|
9641
9686
|
const scope = modalHasEms ? 'ems' : 'settings';
|
|
9642
9687
|
const key = modalHasEms ? 'evcs.1.stationEnabled' : 'evcsActive';
|
|
9643
9688
|
try{
|
|
9644
|
-
await
|
|
9689
|
+
await chargingControlFetch('/api/set', {method:'POST',headers:{'Content-Type':'application/json'},body:JSON.stringify({scope, key, value: desired})});
|
|
9645
9690
|
}catch(e){}
|
|
9646
9691
|
});
|
|
9647
9692
|
}
|
|
@@ -9655,7 +9700,7 @@ render = function(){ try{ _renderOld(); }catch(e){ console.warn('render', e); }
|
|
|
9655
9700
|
pendingRegUntil = Date.now() + 2500;
|
|
9656
9701
|
try { scheduleRender(); } catch(_e) {}
|
|
9657
9702
|
try{
|
|
9658
|
-
await
|
|
9703
|
+
await chargingControlFetch('/api/set', {method:'POST',headers:{'Content-Type':'application/json'},body:JSON.stringify({scope:'ems', key:'evcs.1.regEnabled', value: desired})});
|
|
9659
9704
|
}catch(e){}
|
|
9660
9705
|
});
|
|
9661
9706
|
}
|
|
@@ -10623,7 +10668,7 @@ function openFlowQc(kind, idx){
|
|
|
10623
10668
|
pendingSwitch = !!v;
|
|
10624
10669
|
showMsg('Sende…', '');
|
|
10625
10670
|
try {
|
|
10626
|
-
await
|
|
10671
|
+
await chargingControlFetch('/api/set', {
|
|
10627
10672
|
method: 'POST',
|
|
10628
10673
|
headers: { 'Content-Type': 'application/json' },
|
|
10629
10674
|
body: JSON.stringify({ scope: 'flow', key: `${ctx.kind}.${ctx.idx}.switch`, value: !!v })
|
|
@@ -10649,7 +10694,7 @@ function openFlowQc(kind, idx){
|
|
|
10649
10694
|
pendingSetpoint = n;
|
|
10650
10695
|
showMsg('Sende…', '');
|
|
10651
10696
|
try {
|
|
10652
|
-
await
|
|
10697
|
+
await chargingControlFetch('/api/set', {
|
|
10653
10698
|
method: 'POST',
|
|
10654
10699
|
headers: { 'Content-Type': 'application/json' },
|
|
10655
10700
|
body: JSON.stringify({ scope: 'flow', key: `${ctx.kind}.${ctx.idx}.setpoint`, value: n })
|
|
@@ -10673,7 +10718,7 @@ function openFlowQc(kind, idx){
|
|
|
10673
10718
|
pendingReg = !!enable;
|
|
10674
10719
|
showMsg('Sende…', '');
|
|
10675
10720
|
try {
|
|
10676
|
-
await
|
|
10721
|
+
await chargingControlFetch('/api/set', {
|
|
10677
10722
|
method: 'POST',
|
|
10678
10723
|
headers: { 'Content-Type': 'application/json' },
|
|
10679
10724
|
body: JSON.stringify({ scope: 'flow', key: `${ctx.kind}.${ctx.idx}.regEnabled`, value: !!enable })
|
|
@@ -10700,7 +10745,7 @@ function openFlowQc(kind, idx){
|
|
|
10700
10745
|
pendingMode = m;
|
|
10701
10746
|
showMsg('Sende…', '');
|
|
10702
10747
|
try {
|
|
10703
|
-
await
|
|
10748
|
+
await chargingControlFetch('/api/set', {
|
|
10704
10749
|
method: 'POST',
|
|
10705
10750
|
headers: { 'Content-Type': 'application/json' },
|
|
10706
10751
|
body: JSON.stringify({ scope: 'flow', key: `${ctx.kind}.${ctx.idx}.mode`, value: m })
|
|
@@ -10725,7 +10770,7 @@ function openFlowQc(kind, idx){
|
|
|
10725
10770
|
pendingBoost = !!enable;
|
|
10726
10771
|
showMsg(enable ? 'Boost starte…' : 'Boost stoppe…', '');
|
|
10727
10772
|
try {
|
|
10728
|
-
await
|
|
10773
|
+
await chargingControlFetch('/api/set', {
|
|
10729
10774
|
method: 'POST',
|
|
10730
10775
|
headers: { 'Content-Type': 'application/json' },
|
|
10731
10776
|
body: JSON.stringify({ scope: 'flow', key: `${ctx.kind}.${ctx.idx}.boost`, value: !!enable })
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* AUTO-GENERATED RUNTIME FILE - NICHT MANUELL BEARBEITEN.
|
|
8
8
|
*
|
|
9
9
|
* Quelle: src-ts/runtime-executables/www/customer-tariff.ts
|
|
10
|
-
* Quell-Hash: sha256:
|
|
10
|
+
* Quell-Hash: sha256:59173edf76cb8213a391c69d6d1fae03a1c43f0b2c41f2c71be55372bb6d6847
|
|
11
11
|
* Erzeugung: npm run sync:ts-runtime-executables
|
|
12
12
|
*
|
|
13
13
|
* Zweck:
|
|
@@ -63,8 +63,20 @@
|
|
|
63
63
|
return { revision: value.revision, config: value.config, credentialsPresent: { accessToken: flags.accessToken === true, securityToken: flags.securityToken === true },
|
|
64
64
|
providers: choices(value.providers).filter(provider => supported.has(provider.id)), profiles: choices(value.profiles), status: isRecord(value.status) ? value.status : {}, configuredExternally: value.configuredExternally === true };
|
|
65
65
|
}
|
|
66
|
-
|
|
67
|
-
|
|
66
|
+
class ConfigurationLoading extends Error {
|
|
67
|
+
constructor() { super('EOS lädt die gespeicherte Tarifanbindung noch. Bitte kurz warten und anschließend erneut laden.'); }
|
|
68
|
+
}
|
|
69
|
+
function retryDelay(signal) {
|
|
70
|
+
return new Promise((resolve, reject) => {
|
|
71
|
+
const abort = () => { window.clearTimeout(timer); signal.removeEventListener('abort', abort); reject(new Error('Laden abgebrochen')); };
|
|
72
|
+
const timer = window.setTimeout(() => { signal.removeEventListener('abort', abort); resolve(); }, 2000);
|
|
73
|
+
signal.addEventListener('abort', abort, { once: true });
|
|
74
|
+
if (signal.aborted)
|
|
75
|
+
abort();
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
async function request(body, signal) {
|
|
79
|
+
const options = { cache: 'no-store', credentials: 'same-origin', signal: signal ? AbortSignal.any([signal, AbortSignal.timeout(15000)]) : AbortSignal.timeout(15000) };
|
|
68
80
|
if (body) {
|
|
69
81
|
options.method = 'PUT';
|
|
70
82
|
options.headers = { 'Content-Type': 'application/json' };
|
|
@@ -77,6 +89,13 @@
|
|
|
77
89
|
throw new Error('Tarifanbindung nicht freigegeben. Bitte Anmeldung und Systemfreigabe prüfen.');
|
|
78
90
|
if (response.status === 409)
|
|
79
91
|
throw new Error('Der Tarif wurde inzwischen geändert. Deine Eingaben bleiben erhalten. Gespeicherten Tarif laden und Änderungen abgleichen.');
|
|
92
|
+
if (response.status === 503) {
|
|
93
|
+
const failure = await response.json();
|
|
94
|
+
if (!body && isRecord(failure) && failure.error === 'EOS_TARIFF_CONFIG_LOADING')
|
|
95
|
+
throw new ConfigurationLoading();
|
|
96
|
+
if (isRecord(failure) && failure.error === 'EOS_TARIFF_CONFIG_UNAVAILABLE')
|
|
97
|
+
throw new Error('Die gespeicherte Tarifanbindung konnte beim Systemstart nicht geladen werden. Bitte den Systemstatus prüfen und erneut laden. Bestehende Einstellungen bleiben gespeichert.');
|
|
98
|
+
}
|
|
80
99
|
if (!response.ok)
|
|
81
100
|
throw new Error('Die Tarifanbindung konnte nicht bestätigt werden. Anbieter, Pflichtfelder und Verbindung prüfen. Es wird nichts automatisch erneut gesendet.');
|
|
82
101
|
return decode(await response.json());
|
|
@@ -115,6 +134,7 @@
|
|
|
115
134
|
let baseline = {};
|
|
116
135
|
let busy = false;
|
|
117
136
|
let dirty = false;
|
|
137
|
+
let loadController = null;
|
|
118
138
|
function show(message, error = false) { status.textContent = message; status.dataset.error = String(error); }
|
|
119
139
|
function setOptions(target, items, selected, allowCurrent = false) {
|
|
120
140
|
target.replaceChildren();
|
|
@@ -280,19 +300,42 @@
|
|
|
280
300
|
}
|
|
281
301
|
body = { expectedRevision: view.revision, config: changes };
|
|
282
302
|
}
|
|
303
|
+
const controller = saving ? null : new AbortController();
|
|
304
|
+
if (controller)
|
|
305
|
+
loadController = controller;
|
|
283
306
|
busy = true;
|
|
284
307
|
controls();
|
|
285
308
|
show(saving ? 'Tarifanbindung wird gespeichert …' : 'Gespeicherte Tarifanbindung wird geladen …');
|
|
286
309
|
try {
|
|
287
|
-
|
|
288
|
-
|
|
310
|
+
for (let attempt = 0; attempt < 6; attempt++) {
|
|
311
|
+
try {
|
|
312
|
+
const next = await request(body, controller?.signal);
|
|
313
|
+
if (controller?.signal.aborted)
|
|
314
|
+
return;
|
|
315
|
+
render(next);
|
|
316
|
+
show(saving ? 'Tarifanbindung gespeichert. Der Preisabruf wird separat geprüft; Anlagenfreigaben bleiben unverändert.' : 'Gespeicherte Tarifanbindung geladen.');
|
|
317
|
+
break;
|
|
318
|
+
}
|
|
319
|
+
catch (error) {
|
|
320
|
+
// Only the initial read waits for hydration. Never repeat a write
|
|
321
|
+
// or replace an existing view/draft with a delayed response.
|
|
322
|
+
if (!(error instanceof ConfigurationLoading) || !controller || controller.signal.aborted || view || dirty || !panel.open || attempt >= 5)
|
|
323
|
+
throw error;
|
|
324
|
+
show('EOS startet. Die gespeicherte Tarifanbindung wird geladen …');
|
|
325
|
+
await retryDelay(controller.signal);
|
|
326
|
+
}
|
|
327
|
+
}
|
|
289
328
|
}
|
|
290
329
|
catch (error) {
|
|
291
|
-
|
|
330
|
+
if (!controller?.signal.aborted)
|
|
331
|
+
show(error instanceof Error ? error.message : 'Tarifanbindung nicht verfügbar.', true);
|
|
292
332
|
}
|
|
293
333
|
finally {
|
|
294
|
-
|
|
295
|
-
|
|
334
|
+
if (!controller || loadController === controller) {
|
|
335
|
+
loadController = null;
|
|
336
|
+
busy = false;
|
|
337
|
+
controls();
|
|
338
|
+
}
|
|
296
339
|
}
|
|
297
340
|
}
|
|
298
341
|
form.addEventListener('input', () => { if (view && !busy) {
|
|
@@ -321,9 +364,22 @@
|
|
|
321
364
|
form.addEventListener('submit', event => { event.preventDefault(); void synchronize(true); });
|
|
322
365
|
reload.addEventListener('click', () => { if (dirty && !window.confirm('Ungespeicherte Tarifänderungen verwerfen und gespeicherten Tarif laden?'))
|
|
323
366
|
return; void synchronize(false); });
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
367
|
+
function cancelRead() {
|
|
368
|
+
if (!loadController)
|
|
369
|
+
return;
|
|
370
|
+
const controller = loadController;
|
|
371
|
+
loadController = null;
|
|
372
|
+
controller.abort();
|
|
373
|
+
busy = false;
|
|
374
|
+
controls();
|
|
375
|
+
}
|
|
376
|
+
panel.addEventListener('toggle', () => {
|
|
377
|
+
if (!panel.open)
|
|
378
|
+
cancelRead();
|
|
379
|
+
else if (!view && !busy)
|
|
380
|
+
void synchronize(false);
|
|
381
|
+
});
|
|
382
|
+
window.addEventListener('pagehide', () => { cancelRead(); credential.value = ''; });
|
|
327
383
|
if (panel.open)
|
|
328
384
|
void synchronize(false);
|
|
329
385
|
}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* AUTO-GENERATED RUNTIME FILE - NICHT MANUELL BEARBEITEN.
|
|
8
8
|
*
|
|
9
9
|
* Quelle: src-ts/runtime-executables/www/dc-station-display.ts
|
|
10
|
-
* Quell-Hash: sha256:
|
|
10
|
+
* Quell-Hash: sha256:8e648c0ccac008de03407a0e2134c5e3cbb33f2a03a99a4002f659da32bca018
|
|
11
11
|
* Erzeugung: npm run sync:ts-runtime-executables
|
|
12
12
|
*
|
|
13
13
|
* Zweck:
|
|
@@ -453,7 +453,7 @@
|
|
|
453
453
|
}
|
|
454
454
|
catch (_e) { }
|
|
455
455
|
}
|
|
456
|
-
async function sendCommand(lp, action, mode, extra = {}) {
|
|
456
|
+
async function sendCommand(lp, action, mode, extra = {}, expectedChargingIdentity) {
|
|
457
457
|
if (!token || busyKey || !lastPayload)
|
|
458
458
|
return;
|
|
459
459
|
const station = lastPayload.station || {};
|
|
@@ -470,7 +470,7 @@
|
|
|
470
470
|
try {
|
|
471
471
|
const data = await fetchJson('/api/display/station/' + encodeURIComponent(token) + '/command', {
|
|
472
472
|
method: 'POST', headers: { 'Content-Type': 'application/json' },
|
|
473
|
-
body: JSON.stringify(Object.assign({ lp, action, mode }, (extra && typeof extra === 'object') ? extra : {})),
|
|
473
|
+
body: JSON.stringify(Object.assign({ lp, action, mode }, (extra && typeof extra === 'object') ? extra : {}, typeof expectedChargingIdentity === 'string' ? { expectedChargingIdentity } : {})),
|
|
474
474
|
});
|
|
475
475
|
toast(t('commandAccepted'));
|
|
476
476
|
if (data && data.payload) {
|
|
@@ -664,14 +664,18 @@
|
|
|
664
664
|
<section class="nw-lp-section"><header><strong>${escapeHtml(t('connectors'))} (${connectors.length})</strong><div class="nw-status-legend"><span data-tone="charging">● ${escapeHtml(t('charging'))}</span><span data-tone="ready">● ${escapeHtml(t('ready'))}</span><span data-tone="inactive">● ${escapeHtml(t('inactive'))}</span><span data-tone="waiting">● ${escapeHtml(t('waiting'))}</span></div></header><div class="nw-connector-grid ${countClass} ${layoutClass}">${connectors.map((c) => renderConnector(c, station)).join('') || `<section class="nw-display-status"><h1>${escapeHtml(t('unavailable'))}</h1><p>${escapeHtml(t('noConnectors'))}</p></section>`}</div></section>
|
|
665
665
|
<section class="nw-insights-grid">${renderDecisionPanel(viewPayload)}${renderWarningsPanel(viewPayload, opts)}</section>
|
|
666
666
|
<footer class="nw-display-footer"><span>NexoWatt EOS · Energy Operation System</span><span>${escapeHtml(display.apiVersion || '0.8.201')}</span><span>${escapeHtml(t('directHardwareWrite'))}</span></footer>`;
|
|
667
|
-
app.querySelectorAll('[data-command]').forEach((btn) =>
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
667
|
+
app.querySelectorAll('[data-command]').forEach((btn) => {
|
|
668
|
+
// Capture the token rendered with this exact button, not a newer poll.
|
|
669
|
+
const expectedChargingIdentity = payload.chargingControlIdentity?.slots?.[String(btn.getAttribute('data-lp'))];
|
|
670
|
+
btn.addEventListener('click', () => {
|
|
671
|
+
const extra = {};
|
|
672
|
+
if (btn.hasAttribute('data-value'))
|
|
673
|
+
extra.value = btn.getAttribute('data-value') === 'true';
|
|
674
|
+
if (btn.hasAttribute('data-enabled'))
|
|
675
|
+
extra.enabled = btn.getAttribute('data-enabled') === 'true';
|
|
676
|
+
sendCommand(btn.getAttribute('data-lp'), btn.getAttribute('data-action'), btn.getAttribute('data-mode'), extra, expectedChargingIdentity);
|
|
677
|
+
});
|
|
678
|
+
});
|
|
675
679
|
app.querySelectorAll('[data-lang]').forEach((btn) => btn.addEventListener('click', () => { manualLanguage = String(btn.getAttribute('data-lang') || '').toLowerCase(); document.documentElement.lang = manualLanguage || 'de'; render(lastPayload || payload, opts); }));
|
|
676
680
|
}
|
|
677
681
|
token = getToken();
|