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
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* AUTO-GENERATED RUNTIME FILE - NICHT MANUELL BEARBEITEN.
|
|
8
8
|
*
|
|
9
9
|
* Quelle: src-ts/runtime-executables/lib/customer-tariff.ts
|
|
10
|
-
* Quell-Hash: sha256:
|
|
10
|
+
* Quell-Hash: sha256:e2b8d0d70ec3bbf283c1b88aefcc6c6a6ae7b25518d1f7095b70a29d90bf9f5b
|
|
11
11
|
* Erzeugung: npm run sync:ts-runtime-executables
|
|
12
12
|
*
|
|
13
13
|
* Zweck:
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
*/
|
|
23
23
|
"use strict";
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.mergeInstallerTariffSecrets = mergeInstallerTariffSecrets;
|
|
25
26
|
exports.customerTariffView = customerTariffView;
|
|
26
27
|
exports.prepareCustomerTariffChange = prepareCustomerTariffChange;
|
|
27
28
|
/**
|
|
@@ -46,6 +47,8 @@ const PRICE_KEYS = ['priceCurrent', 'priceAverage', 'priceTodayJson', 'priceTomo
|
|
|
46
47
|
const PRICE_SUFFIXES = new Map([['priceCurrent', 'currentPriceEurPerKwh'], ['priceAverage', 'averagePriceEurPerKwh'], ['priceTodayJson', 'pricesTodayJson'], ['priceTomorrowJson', 'pricesTomorrowJson']]);
|
|
47
48
|
const FORMULA_DEFAULTS = { marketMultiplier: 1, supplierMarkupEurPerKwh: 0, gridVariableEurPerKwh: 0, taxEurPerKwh: 0, otherVariableEurPerKwh: 0, vatPct: 0, priceIncludesVat: true };
|
|
48
49
|
const RESERVED_CREDENTIAL_INPUTS = new Set(['__KEEP__']);
|
|
50
|
+
const INSTALLER_SECRET_KEYS = ['accessToken', 'securityToken', 'clientSecret', 'bearerToken', 'apiKey', 'password', 'refreshToken'];
|
|
51
|
+
const INSTALLER_PRIVATE_REQUEST_KEYS = ['headersJson', 'body'];
|
|
49
52
|
const FIELDS = new Set(['enabled', 'providerId', 'sourceId', 'providerProfileId', 'country', 'homeId', 'priceComponent', 'formula', 'credentials', 'useForTariff']);
|
|
50
53
|
function rec(value) { return value !== null && typeof value === 'object' && !Array.isArray(value) ? value : {}; }
|
|
51
54
|
function copy(value) { return JSON.parse(JSON.stringify(value)); }
|
|
@@ -76,6 +79,75 @@ function useForTariff(root, namespace) {
|
|
|
76
79
|
const expected = managedPoints(namespace);
|
|
77
80
|
return PRICE_KEYS.every(key => Reflect.get(points, key) === Reflect.get(expected, key));
|
|
78
81
|
}
|
|
82
|
+
/** Credentials are bound to their recipient, not to a selected home or price formula. */
|
|
83
|
+
function installerCredentialScope(config) {
|
|
84
|
+
const provider = storedText(config.providerId, 'manual-dp').trim().toLowerCase();
|
|
85
|
+
const resolved = provider === 'market-profile'
|
|
86
|
+
? storedText(config.sourceId, config.country === 'NL' ? 'energyzero' : 'entsoe').trim().toLowerCase() : provider;
|
|
87
|
+
const credentials = rec(config.credentials);
|
|
88
|
+
const custom = rec(config.customRest);
|
|
89
|
+
const endpoint = (value, fallback = '') => {
|
|
90
|
+
try {
|
|
91
|
+
const url = new URL(typeof value === 'string' && value.trim() ? value.trim() : fallback);
|
|
92
|
+
return url.protocol === 'https:' || url.protocol === 'http:' ? url.href : null;
|
|
93
|
+
}
|
|
94
|
+
catch {
|
|
95
|
+
return null;
|
|
96
|
+
}
|
|
97
|
+
};
|
|
98
|
+
const official = Reflect.get(ENDPOINTS, resolved);
|
|
99
|
+
if (typeof official === 'string') {
|
|
100
|
+
const target = endpoint(config.endpoint, official);
|
|
101
|
+
return target ? JSON.stringify([provider, resolved, target]) : null;
|
|
102
|
+
}
|
|
103
|
+
if (resolved === 'custom-rest') {
|
|
104
|
+
const target = endpoint(custom.url || config.pricesUrl);
|
|
105
|
+
return target ? JSON.stringify([provider, resolved, target, custom.authMode || 'none',
|
|
106
|
+
credentials.username || '', custom.apiKeyHeader || 'x-api-key']) : null;
|
|
107
|
+
}
|
|
108
|
+
if (resolved === 'ostrom') {
|
|
109
|
+
const tokenTarget = endpoint(credentials.tokenUrl || config.tokenUrl);
|
|
110
|
+
const priceTarget = endpoint(config.pricesUrl || custom.url);
|
|
111
|
+
return tokenTarget && priceTarget
|
|
112
|
+
? JSON.stringify([provider, resolved, tokenTarget, priceTarget, credentials.clientId || '']) : null;
|
|
113
|
+
}
|
|
114
|
+
return null;
|
|
115
|
+
}
|
|
116
|
+
/** Installer masks preserve only same-source secrets. Empty input remains an explicit deletion. */
|
|
117
|
+
function mergeInstallerTariffSecrets(incoming, existing) {
|
|
118
|
+
const next = copy(rec(incoming));
|
|
119
|
+
const previous = rec(existing);
|
|
120
|
+
const credentials = copy(rec(next.credentials));
|
|
121
|
+
const previousCredentials = rec(previous.credentials);
|
|
122
|
+
const clearedRequest = own(next, 'customRest') && (next.customRest === null || typeof next.customRest !== 'object' || Array.isArray(next.customRest));
|
|
123
|
+
const effective = { ...previous, ...next, credentials: { ...previousCredentials, ...credentials },
|
|
124
|
+
customRest: clearedRequest ? {} : { ...rec(previous.customRest), ...rec(next.customRest) } };
|
|
125
|
+
const previousScope = installerCredentialScope(previous);
|
|
126
|
+
const sameScope = previousScope !== null && previousScope === installerCredentialScope(effective);
|
|
127
|
+
for (const key of INSTALLER_SECRET_KEYS) {
|
|
128
|
+
const raw = Reflect.get(credentials, key);
|
|
129
|
+
if (raw !== '__KEEP__' && raw !== undefined && raw !== null)
|
|
130
|
+
continue;
|
|
131
|
+
// A plain deletion would be undone by the enclosing Installer deep merge.
|
|
132
|
+
Reflect.set(credentials, key, sameScope && Reflect.get(previousCredentials, key) !== undefined
|
|
133
|
+
? Reflect.get(previousCredentials, key) : '');
|
|
134
|
+
}
|
|
135
|
+
next.credentials = credentials;
|
|
136
|
+
const custom = copy(rec(next.customRest));
|
|
137
|
+
const previousCustom = rec(previous.customRest);
|
|
138
|
+
for (const key of INSTALLER_PRIVATE_REQUEST_KEYS) {
|
|
139
|
+
const raw = Reflect.get(custom, key);
|
|
140
|
+
if (raw !== '__KEEP__' && raw !== undefined && raw !== null)
|
|
141
|
+
continue;
|
|
142
|
+
if (!clearedRequest && sameScope && Reflect.get(previousCustom, key) !== undefined)
|
|
143
|
+
Reflect.set(custom, key, Reflect.get(previousCustom, key));
|
|
144
|
+
else if (Reflect.get(previousCustom, key) !== undefined || raw === '__KEEP__')
|
|
145
|
+
Reflect.set(custom, key, '');
|
|
146
|
+
}
|
|
147
|
+
if (Object.keys(custom).length || own(next, 'customRest'))
|
|
148
|
+
next.customRest = custom;
|
|
149
|
+
return next;
|
|
150
|
+
}
|
|
79
151
|
/** Ausschließlich freigegebene Anzeige-Daten; keine internen URLs oder Geheimnisse. */
|
|
80
152
|
function customerTariffView(root, namespace, registry, snapshot) {
|
|
81
153
|
const provider = rec(root.tariffProvider);
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* AUTO-GENERATED RUNTIME FILE - NICHT MANUELL BEARBEITEN.
|
|
8
8
|
*
|
|
9
9
|
* Quelle: src-ts/runtime-executables/lib/installer-lifecycle.ts
|
|
10
|
-
* Quell-Hash: sha256:
|
|
10
|
+
* Quell-Hash: sha256:b6fb03d371839579e04a18d6a993414a41fdca9588fd143722c6174b39eae153
|
|
11
11
|
* Erzeugung: npm run sync:ts-runtime-executables
|
|
12
12
|
*
|
|
13
13
|
* Zweck:
|
|
@@ -64,9 +64,11 @@ function installerRevision(patch) {
|
|
|
64
64
|
* Once present, a missing or stale token must never replace a newer nonempty row list. */
|
|
65
65
|
function assertInstallerRevision(expected, patch) {
|
|
66
66
|
const bindings = record(record(record(patch).eosDeviceEms).bindings);
|
|
67
|
-
const
|
|
67
|
+
const settings = record(record(patch).settingsConfig);
|
|
68
|
+
const ocppRows = settings.evcsList;
|
|
68
69
|
const required = Object.keys(bindings).length > 0 || (Array.isArray(ocppRows)
|
|
69
|
-
&& ocppRows.some(row => record(record(row).ocppDiscovery).source === 'nexowatt-ocpp21'))
|
|
70
|
+
&& ocppRows.some(row => record(record(row).ocppDiscovery).source === 'nexowatt-ocpp21'))
|
|
71
|
+
|| (Array.isArray(settings.ocppExcludedStationRoots) && settings.ocppExcludedStationRoots.length > 0);
|
|
70
72
|
if ((expected === undefined || expected === null) && !required)
|
|
71
73
|
return;
|
|
72
74
|
if (typeof expected !== 'string' || !/^[a-f0-9]{64}$/.test(expected) || expected !== installerRevision(patch)) {
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* AUTO-GENERATED RUNTIME FILE - NICHT MANUELL BEARBEITEN.
|
|
8
8
|
*
|
|
9
9
|
* Quelle: src-ts/runtime-executables/lib/ocpp-auto-discovery.ts
|
|
10
|
-
* Quell-Hash: sha256:
|
|
10
|
+
* Quell-Hash: sha256:1636f107ac3883c9b85c81d8d7420a18a269a588cc6fb986a3ea433a901720a9
|
|
11
11
|
* Erzeugung: npm run sync:ts-runtime-executables
|
|
12
12
|
*
|
|
13
13
|
* Zweck:
|
|
@@ -28,6 +28,8 @@ exports.ocppRootInScope = ocppRootInScope;
|
|
|
28
28
|
exports.ocppNamespace = ocppNamespace;
|
|
29
29
|
exports.ocppDiscoveryPatterns = ocppDiscoveryPatterns;
|
|
30
30
|
exports.collectOcppStations = collectOcppStations;
|
|
31
|
+
exports.filterOcppDiscoverySources = filterOcppDiscoverySources;
|
|
32
|
+
exports.prepareOcppDiscoveryExclusions = prepareOcppDiscoveryExclusions;
|
|
31
33
|
exports.normalizeOcppDiscovery = normalizeOcppDiscovery;
|
|
32
34
|
exports.planOcppDiscovery = planOcppDiscovery;
|
|
33
35
|
exports.OCPP_NATIVE_CONTRACT = 'nexowatt-ocpp21-0.4-native';
|
|
@@ -163,9 +165,71 @@ function collectOcppStations(objectInput, stateInput, hostNamespace) {
|
|
|
163
165
|
}
|
|
164
166
|
return stations;
|
|
165
167
|
}
|
|
168
|
+
/** Retained state objects do not prove that their standalone adapter still exists.
|
|
169
|
+
* A hosted legacy namespace is admitted only from the owning parent's current
|
|
170
|
+
* configuration, never from stale alive/hosted marker states. Offline configured
|
|
171
|
+
* adapters remain discoverable; source lifecycle is separate from station health. */
|
|
172
|
+
function filterOcppDiscoverySources(stations, sourceInput, hostNamespace) {
|
|
173
|
+
const source = record(sourceInput);
|
|
174
|
+
const rows = record(source.instances).rows;
|
|
175
|
+
if (!Array.isArray(rows) || rows.length > MAX_STATIONS)
|
|
176
|
+
throw fail('EOS_OCPP_DISCOVERY_SOURCE_INVENTORY');
|
|
177
|
+
const namespaces = new Set();
|
|
178
|
+
for (const row of rows) {
|
|
179
|
+
const instance = record(record(row).value);
|
|
180
|
+
const id = text(instance._id, 120);
|
|
181
|
+
if (instance.type !== 'instance' || !/^system\.adapter\.ocpp21\.\d{1,8}$/.test(id)) {
|
|
182
|
+
throw fail('EOS_OCPP_DISCOVERY_SOURCE_INVENTORY');
|
|
183
|
+
}
|
|
184
|
+
namespaces.add(id.slice('system.adapter.'.length));
|
|
185
|
+
}
|
|
186
|
+
if (typeof hostNamespace === 'string' && /^eos-admin\.\d+$/.test(hostNamespace)) {
|
|
187
|
+
const hosted = text(source.hostedNamespace, 120);
|
|
188
|
+
// A migrated hosted module owns its preserved namespace, not both the
|
|
189
|
+
// preserved and default trees. Old native objects may still be retained.
|
|
190
|
+
namespaces.add(/^ocpp21\.\d{1,8}$/.test(hosted) ? hosted : `${hostNamespace}.ocpp`);
|
|
191
|
+
}
|
|
192
|
+
return stations.filter(station => namespaces.has(station.adapterInstance));
|
|
193
|
+
}
|
|
166
194
|
function rootsOf(row) {
|
|
167
195
|
return [...new Set([...ID_FIELDS.map(key => ocppStationRoot(row[key])), ocppStationRoot(record(row.ocppDiscovery).stationRoot)].filter(Boolean))];
|
|
168
196
|
}
|
|
197
|
+
/** An explicit EMS removal suppresses registration, never the OCPP connection.
|
|
198
|
+
* This small persisted list survives restart. Only an explicit row re-import
|
|
199
|
+
* removes its entry; automatic scans do not modify the user's removal choice. */
|
|
200
|
+
function excludedRoots(configInput) {
|
|
201
|
+
const input = record(record(configInput).settingsConfig).ocppExcludedStationRoots;
|
|
202
|
+
if (input === undefined)
|
|
203
|
+
return new Set();
|
|
204
|
+
if (!Array.isArray(input) || input.length > MAX_STATIONS || input.some(root => typeof root !== 'string' || root.length > 200 || !root || ocppStationRoot(root) !== root)) {
|
|
205
|
+
throw fail('EOS_OCPP_EXCLUSIONS_INVALID');
|
|
206
|
+
}
|
|
207
|
+
return new Set(input);
|
|
208
|
+
}
|
|
209
|
+
/** Server-side only, inside the installer revision/mutation lock. Client-supplied
|
|
210
|
+
* exclusion metadata is ignored; previous saved rows and the explicit new rows
|
|
211
|
+
* establish deletion/re-import intent without trusting names or UI station groups. */
|
|
212
|
+
function prepareOcppDiscoveryExclusions(previousInput, nextInput) {
|
|
213
|
+
const rowsOf = (value) => {
|
|
214
|
+
const rows = record(record(value).settingsConfig).evcsList;
|
|
215
|
+
if (rows === undefined)
|
|
216
|
+
return [];
|
|
217
|
+
if (!Array.isArray(rows) || rows.length > MAX_ROWS || rows.some(row => row === null || typeof row !== 'object' || Array.isArray(row)))
|
|
218
|
+
throw fail('EOS_OCPP_CONFIG_INVALID');
|
|
219
|
+
return rows.map(record);
|
|
220
|
+
};
|
|
221
|
+
const exclusions = excludedRoots(previousInput);
|
|
222
|
+
const previous = new Set(rowsOf(previousInput).flatMap(rootsOf));
|
|
223
|
+
const next = new Set(rowsOf(nextInput).flatMap(rootsOf));
|
|
224
|
+
for (const root of previous)
|
|
225
|
+
if (!next.has(root))
|
|
226
|
+
exclusions.add(root);
|
|
227
|
+
for (const root of next)
|
|
228
|
+
exclusions.delete(root);
|
|
229
|
+
if (exclusions.size > MAX_STATIONS)
|
|
230
|
+
throw fail('EOS_OCPP_EXCLUSIONS_LIMIT');
|
|
231
|
+
return [...exclusions].sort();
|
|
232
|
+
}
|
|
169
233
|
/** Only bounded discovery metadata crosses the normalized runtime configuration. */
|
|
170
234
|
function normalizeOcppDiscovery(value) {
|
|
171
235
|
const input = record(value);
|
|
@@ -203,6 +267,7 @@ function knownAliasEquivalent(field, current, canonical, root) {
|
|
|
203
267
|
function planOcppDiscovery(configInput, stations, options = {}) {
|
|
204
268
|
const config = record(configInput);
|
|
205
269
|
const settings = record(config.settingsConfig);
|
|
270
|
+
const exclusions = excludedRoots(config);
|
|
206
271
|
const limit = options.maxRows ?? MAX_ROWS;
|
|
207
272
|
if (!Number.isInteger(limit) || limit < 0)
|
|
208
273
|
throw fail('EOS_OCPP_LICENSE_LIMIT_INVALID');
|
|
@@ -217,6 +282,12 @@ function planOcppDiscovery(configInput, stations, options = {}) {
|
|
|
217
282
|
if (stations.length > MAX_STATIONS)
|
|
218
283
|
throw fail('EOS_OCPP_DISCOVERY_STATION_LIMIT');
|
|
219
284
|
for (const station of stations) {
|
|
285
|
+
if (exclusions.has(station.root)) {
|
|
286
|
+
statuses.push({ root: station.root, adapterInstance: station.adapterInstance, rowIndex: null,
|
|
287
|
+
code: 'USER_EXCLUDED', connectorCount: station.connectorCount, evseCount: station.evseCount,
|
|
288
|
+
topologySource: station.topologySource, missing: station.missing });
|
|
289
|
+
continue;
|
|
290
|
+
}
|
|
220
291
|
const found = rows.map((row, index) => ({ row, index })).filter(item => rootsOf(item.row).includes(station.root));
|
|
221
292
|
const existing = found[0];
|
|
222
293
|
let code = station.missing.length ? 'CONTRACT_INCOMPLETE' : 'MAPPED';
|
|
@@ -230,9 +301,12 @@ function planOcppDiscovery(configInput, stations, options = {}) {
|
|
|
230
301
|
const index = existing ? existing.index : rows.length;
|
|
231
302
|
// Partial registration is visible, with every verified field filled now; retry completes it later.
|
|
232
303
|
if (!blocked) {
|
|
233
|
-
|
|
304
|
+
// stationKey belongs to the installer's station/group allocation.
|
|
305
|
+
// Physical discovery identity lives in ocppDiscovery.stationRoot;
|
|
306
|
+
// registration must not allocate a station page or electrical group.
|
|
307
|
+
const next = existing ? { ...existing.row } : { enabled: false, name: station.name, connectorNo: 1 };
|
|
234
308
|
const autoCreated = !existing || record(next.ocppDiscovery).autoCreated === true;
|
|
235
|
-
const manualMonitor = !!existing &&
|
|
309
|
+
const manualMonitor = !!existing && next.enabled !== false
|
|
236
310
|
&& empty(next.setCurrentAId) && empty(next.setPowerWId);
|
|
237
311
|
for (const [key, id] of Object.entries(station.ids)) {
|
|
238
312
|
// Discovering an existing monitor must not authorize a first command writer.
|
|
@@ -357,10 +431,14 @@ class OcppAutoDiscovery {
|
|
|
357
431
|
return;
|
|
358
432
|
}
|
|
359
433
|
try {
|
|
360
|
-
const [objects, states] = await Promise.all([this.readBounded(this.options.readObjects()),
|
|
434
|
+
const [objects, states, sources] = await Promise.all([this.readBounded(this.options.readObjects()),
|
|
435
|
+
this.readBounded(this.options.readMetadata()),
|
|
436
|
+
this.options.readSources ? this.readBounded(this.options.readSources()) : Promise.resolve(undefined)]);
|
|
361
437
|
if (this.stopped || !this.options.canRun())
|
|
362
438
|
return;
|
|
363
|
-
const
|
|
439
|
+
const collected = collectOcppStations(objects, states, this.options.hostNamespace);
|
|
440
|
+
const stations = this.options.readSources
|
|
441
|
+
? filterOcppDiscoverySources(collected, sources, this.options.hostNamespace) : collected;
|
|
364
442
|
const plan = await this.options.reconcile(stations);
|
|
365
443
|
if (this.stopped)
|
|
366
444
|
return;
|