iobroker.eos-admin 9.0.18 → 9.0.20
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 +8 -9
- package/README.md +7 -3
- package/START_HIER_9.0.19.md +52 -0
- package/START_HIER_9.0.20.md +65 -0
- package/adminWww/.vite/manifest.json +114 -114
- package/adminWww/NEXOWATT_EOS_FRONTEND_MANIFEST.json +13762 -13761
- package/adminWww/assets/{AdapterUpdateDialog-ByJk9Cxj.js → AdapterUpdateDialog-CRD3XVom.js} +1 -1
- package/adminWww/assets/{Adapters-V2JtEPZX.js → Adapters-Cuf0X0CU.js} +1 -1
- package/adminWww/assets/{ConfigManager-BKcdyJnN.js → ConfigManager-B8ycQt1C.js} +1 -1
- package/adminWww/assets/{Enums-ChbfAWzp.js → Enums-CctVCgZX.js} +1 -1
- package/adminWww/assets/{Fields-DzaVXEvg.js → Fields-onm4DfoO.js} +1 -1
- package/adminWww/assets/{Files-CRpIXj4X.js → Files-OLP3Rwc7.js} +1 -1
- package/adminWww/assets/{Hosts-rOgfd2wo.js → Hosts-C31oqMcW.js} +1 -1
- package/adminWww/assets/{Instances-BxLhJ6Pb.js → Instances-DFdvJ9pa.js} +1 -1
- package/adminWww/assets/{Intro-BOql527d.js → Intro-DvsFJxU0.js} +1 -1
- package/adminWww/assets/{Logs-WUUDY7a4.js → Logs-Zqg2Bqv6.js} +1 -1
- package/adminWww/assets/{Objects-DYaZkCK7.js → Objects-CpWZp6yp.js} +1 -1
- package/adminWww/assets/{Overview-C6hiiPbm.js → Overview-BsKUo298.js} +1 -1
- package/adminWww/assets/{State-AH43l7fG.js → State-D_xwlhhb.js} +1 -1
- package/adminWww/assets/{UsedResources-jhsRMH4X.js → UsedResources-C79N6yZx.js} +1 -1
- package/adminWww/assets/{Users-D9wyLyJ1.js → Users-WgC0O8P0.js} +1 -1
- package/adminWww/assets/{bootstrap-gVLo1K_2.js → bootstrap-BcfBoIoa.js} +3 -3
- package/adminWww/assets/{hostInit-Dt_M-NAC.js → hostInit-B7bBV7cH.js} +1 -1
- package/adminWww/assets/icons/nexowatt-180.png +0 -0
- package/adminWww/assets/{icons-material-DuVW_EUA.js → icons-material-D1JYmRTj.js} +1 -1
- package/adminWww/assets/{index-B1cnPkSO.js → index-DbiuoDjo.js} +2 -2
- package/adminWww/assets/{installSVGRenderer-GvgHjubR.js → installSVGRenderer-BAY-Pzp-.js} +1 -1
- package/adminWww/assets/{mf-entry-bootstrap-0-6b32b635.js → mf-entry-bootstrap-0-33384c20.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.18.js → remoteEntry-eos-9.0.20.js} +1 -1
- package/adminWww/remoteEntry.js +1 -1
- package/build/lib/eosCookieNamespace.js +12 -2
- package/build/lib/eosCookieNamespace.js.map +1 -1
- package/build/lib/eosDeviceEmsPlan.js +449 -28
- package/build/lib/eosDeviceEmsPlan.js.map +1 -1
- package/build/lib/eosDeviceEmsService.js +158 -12
- package/build/lib/eosDeviceEmsService.js.map +1 -1
- package/build/lib/eosLegacyMigration.js +26 -1
- package/build/lib/eosLegacyMigration.js.map +1 -1
- package/build/lib/eosModuleHost.js +218 -53
- package/build/lib/eosModuleHost.js.map +1 -1
- package/build/lib/eosStateSubscriptions.js +59 -2
- package/build/lib/eosStateSubscriptions.js.map +1 -1
- package/build/lib/web.js +22 -3
- package/build/lib/web.js.map +1 -1
- package/docs/reports/unified-9.0.19/ALIAS_MESSWERTFRISCHE.md +31 -0
- package/docs/reports/unified-9.0.19/COMMISSIONING_PLAN_REVIEW.md +56 -0
- package/docs/reports/unified-9.0.19/EMS_ABSCHLUSSREVIEW.md +43 -0
- package/docs/reports/unified-9.0.19/EMS_KATEGORIEN_ABDECKUNG.md +66 -0
- package/docs/reports/unified-9.0.19/EMS_VERGLEICH_UND_KOPPLUNG.md +25 -0
- package/docs/reports/unified-9.0.19/EVCS_STATE_OBJECTS.md +47 -0
- package/docs/reports/unified-9.0.19/GERAETE_EMS_EINRICHTUNG.md +100 -0
- package/docs/reports/unified-9.0.19/GERAETE_STARTAUSFALL.md +37 -0
- package/docs/reports/unified-9.0.19/INSTALLER_LIFECYCLE_REVIEW.md +59 -0
- package/docs/reports/unified-9.0.19/LEGACY_REGRESSION_REVIEW.md +42 -0
- package/docs/reports/unified-9.0.19/MODBUS_AUTHORIZATION_READS.md +25 -0
- package/docs/reports/unified-9.0.19/PRUEFBERICHT.md +56 -0
- package/docs/reports/unified-9.0.19/RUNTIME_START_UEBERNAHME.md +33 -0
- package/docs/reports/unified-9.0.19/SMA_RECEIVER_LIFECYCLE.md +42 -0
- package/docs/reports/unified-9.0.19/STATIC_REVIEW_DE.md +11 -0
- package/docs/reports/unified-9.0.19/TARIFF_PRICE_VALUES_REVIEW.md +31 -0
- package/docs/reports/unified-9.0.19/TARIF_VIERTELSTUNDEN_RUNTIME.md +17 -0
- package/docs/reports/unified-9.0.19/UNABHAENGIGER_REVIEW.md +49 -0
- package/docs/reports/unified-9.0.19/raw/INDEX.json +751 -0
- package/docs/reports/unified-9.0.19/raw/audit-full.log +345 -0
- package/docs/reports/unified-9.0.19/raw/audit-full.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/audit-runtime.log +23 -0
- package/docs/reports/unified-9.0.19/raw/audit-runtime.result.json +15 -0
- package/docs/reports/unified-9.0.19/raw/backend-final.log +5 -0
- package/docs/reports/unified-9.0.19/raw/backend-final.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/devices-hosted-typecheck-node22.log +0 -0
- package/docs/reports/unified-9.0.19/raw/devices-hosted-typecheck-node22.result.json +15 -0
- package/docs/reports/unified-9.0.19/raw/devices-hosted-typecheck-node24.log +0 -0
- package/docs/reports/unified-9.0.19/raw/devices-hosted-typecheck-node24.result.json +15 -0
- package/docs/reports/unified-9.0.19/raw/devices-incident-build.log +5 -0
- package/docs/reports/unified-9.0.19/raw/devices-incident-host-final.log +70 -0
- package/docs/reports/unified-9.0.19/raw/devices-incident-lease-918-before.log +26 -0
- package/docs/reports/unified-9.0.19/raw/devices-incident-lease-after.log +9 -0
- package/docs/reports/unified-9.0.19/raw/devices-incident-metadata-after.log +11 -0
- package/docs/reports/unified-9.0.19/raw/devices-incident-metadata-before.log +28 -0
- package/docs/reports/unified-9.0.19/raw/devices-incident-web-pipeline.log +22 -0
- package/docs/reports/unified-9.0.19/raw/frontend-build.log +152 -0
- package/docs/reports/unified-9.0.19/raw/frontend-build.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/installer-build.log +26 -0
- package/docs/reports/unified-9.0.19/raw/installer-build.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/keygen-source.json +6 -0
- package/docs/reports/unified-9.0.19/raw/legacy-auto-pv.log +6 -0
- package/docs/reports/unified-9.0.19/raw/legacy-auto-pv.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-charging-grid-cap-clamp.log +6 -0
- package/docs/reports/unified-9.0.19/raw/legacy-charging-grid-cap-clamp.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-charging-grid-cap-safe.log +6 -0
- package/docs/reports/unified-9.0.19/raw/legacy-charging-grid-cap-safe.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-charging-mode-recovery.log +539 -0
- package/docs/reports/unified-9.0.19/raw/legacy-charging-mode-recovery.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-core-limits-phase1.log +6 -0
- package/docs/reports/unified-9.0.19/raw/legacy-core-limits-phase1.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-core-limits-phase2.log +6 -0
- package/docs/reports/unified-9.0.19/raw/legacy-core-limits-phase2.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-core-limits-tariff-final.log +6 -0
- package/docs/reports/unified-9.0.19/raw/legacy-core-limits-tariff-final.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-energy-wallet-final.log +6 -0
- package/docs/reports/unified-9.0.19/raw/legacy-energy-wallet-final.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-farm-dispatch-loader-current.log +2 -0
- package/docs/reports/unified-9.0.19/raw/legacy-farm-dispatch-loader-current.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-final-write-envelope.log +6 -0
- package/docs/reports/unified-9.0.19/raw/legacy-final-write-envelope.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-history-http.log +39 -0
- package/docs/reports/unified-9.0.19/raw/legacy-history-http.result.json +15 -0
- package/docs/reports/unified-9.0.19/raw/legacy-import-grid-budget.log +30 -0
- package/docs/reports/unified-9.0.19/raw/legacy-import-grid-budget.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-import-grid-contract-current.log +2 -0
- package/docs/reports/unified-9.0.19/raw/legacy-import-grid-contract-current.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-live-mode-loader-current.log +203 -0
- package/docs/reports/unified-9.0.19/raw/legacy-live-mode-loader-current.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-load-grid-sanity.log +6 -0
- package/docs/reports/unified-9.0.19/raw/legacy-load-grid-sanity.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-ocpp-stability.log +6 -0
- package/docs/reports/unified-9.0.19/raw/legacy-ocpp-stability.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-ocpp21-storage-safety.log +6 -0
- package/docs/reports/unified-9.0.19/raw/legacy-ocpp21-storage-safety.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-permanent-grid-protection.log +18 -0
- package/docs/reports/unified-9.0.19/raw/legacy-permanent-grid-protection.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-storage-dp-persistence.log +6 -0
- package/docs/reports/unified-9.0.19/raw/legacy-storage-dp-persistence.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-storage-farm-dispatch-recovery.log +16 -0
- package/docs/reports/unified-9.0.19/raw/legacy-storage-farm-dispatch-recovery.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-storage-functional-safety.log +6 -0
- package/docs/reports/unified-9.0.19/raw/legacy-storage-functional-safety.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-storage-topology-loader-current.log +2 -0
- package/docs/reports/unified-9.0.19/raw/legacy-storage-topology-loader-current.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-test-loader.cjs +47 -0
- package/docs/reports/unified-9.0.19/raw/lint-final.log +16 -0
- package/docs/reports/unified-9.0.19/raw/lint-final.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/modules-build.log +5 -0
- package/docs/reports/unified-9.0.19/raw/modules-build.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/node22-tests-final.log +10719 -0
- package/docs/reports/unified-9.0.19/raw/node22-tests-final.result.json +13 -0
- package/docs/reports/unified-9.0.19/raw/node22-typecheck-final.log +7 -0
- package/docs/reports/unified-9.0.19/raw/node22-typecheck-final.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/node22-version.log +1 -0
- package/docs/reports/unified-9.0.19/raw/node24-tests-final.log +1805 -0
- package/docs/reports/unified-9.0.19/raw/node24-tests-final.result.json +13 -0
- package/docs/reports/unified-9.0.19/raw/node24-typecheck-final.log +5 -0
- package/docs/reports/unified-9.0.19/raw/node24-typecheck-final.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/node24-version.log +1 -0
- package/docs/reports/unified-9.0.19/raw/sbom-runtime.log +7 -0
- package/docs/reports/unified-9.0.19/raw/sbom-runtime.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/sbom-vendor-check.log +1 -0
- package/docs/reports/unified-9.0.19/raw/sbom-vendor-check.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/tariff-price-chain-919.log +11 -0
- package/docs/reports/unified-9.0.19/raw/tariff-price-chain-919.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/tariff-price-chain-old-918.log +68 -0
- package/docs/reports/unified-9.0.19/raw/tariff-price-chain-old-918.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/ui-docs-check.log +6 -0
- package/docs/reports/unified-9.0.19/raw/ui-docs-check.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/ui-runtime-final.log +7 -0
- package/docs/reports/unified-9.0.19/raw/ui-runtime-final.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/ui-runtime-sync.log +6 -0
- package/docs/reports/unified-9.0.19/raw/ui-runtime-sync.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/ui-sbom-check.log +6 -0
- package/docs/reports/unified-9.0.19/raw/ui-sbom-check.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/ui-sbom-final.log +6 -0
- package/docs/reports/unified-9.0.19/raw/ui-sbom-final.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/ui-secret-final.log +6 -0
- package/docs/reports/unified-9.0.19/raw/ui-secret-final.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/ui-security-final.log +8 -0
- package/docs/reports/unified-9.0.19/raw/ui-security-final.result.json +14 -0
- package/docs/reports/unified-9.0.20/ANFORDERUNGEN_UND_INBETRIEBNAHME.md +159 -0
- package/docs/reports/unified-9.0.20/DEVICE_COMMAND_DELIVERY_REVIEW.md +82 -0
- package/docs/reports/unified-9.0.20/DEVICE_LIFECYCLE_REVIEW.md +46 -0
- package/docs/reports/unified-9.0.20/DEVICE_PLAN_REVIEW.md +33 -0
- package/docs/reports/unified-9.0.20/DEVICE_POWER_CAPABILITY_REVIEW.md +25 -0
- package/docs/reports/unified-9.0.20/FARM_CONTROLLER_REVIEW.md +27 -0
- package/docs/reports/unified-9.0.20/FARM_DIAGNOSE_UI.md +81 -0
- package/docs/reports/unified-9.0.20/FARM_DISPATCH_REVIEW.md +47 -0
- package/docs/reports/unified-9.0.20/HISTORY_REVIEW.md +68 -0
- package/docs/reports/unified-9.0.20/INFLUXDB2_INSTALLER_UI.md +39 -0
- package/docs/reports/unified-9.0.20/INFLUX_CREDENTIAL_NETWORK_REVIEW.md +38 -0
- package/docs/reports/unified-9.0.20/INFLUX_DIRECT_UNABHAENGIGE_PRUEFUNG.md +64 -0
- package/docs/reports/unified-9.0.20/INFLUX_RUNTIME_INTEGRATION_REVIEW.md +53 -0
- package/docs/reports/unified-9.0.20/INFLUX_RUNTIME_UNABHAENGIGE_PRUEFUNG.md +34 -0
- package/docs/reports/unified-9.0.20/INFLUX_TRANSPORT_ABSCHLUSSPRUEFUNG.md +55 -0
- package/docs/reports/unified-9.0.20/LOGIN_WEBAPP_LOGO.md +29 -0
- package/docs/reports/unified-9.0.20/MIGRATION_REVIEW.md +35 -0
- package/docs/reports/unified-9.0.20/PRUEFBERICHT.md +54 -0
- package/docs/reports/unified-9.0.20/PWA_ANONYMOUS_HTTPS_REVIEW.md +28 -0
- package/docs/reports/unified-9.0.20/PWA_ICON_UNABHAENGIGE_PRUEFUNG.md +60 -0
- package/docs/reports/unified-9.0.20/SERIAL_LIFECYCLE_REVIEW.md +37 -0
- package/docs/reports/unified-9.0.20/SOLAX_READBACK_REVIEW.md +43 -0
- package/docs/reports/unified-9.0.20/SOLAX_READBACK_UNABHAENGIGE_PRUEFUNG.md +34 -0
- package/docs/reports/unified-9.0.20/STATIC_REVIEW_DE.md +175 -0
- package/docs/reports/unified-9.0.20/STORAGE_COMMAND_ACK_REVIEW.md +36 -0
- package/docs/reports/unified-9.0.20/TARIFF_REPORT_REVIEW.md +29 -0
- package/docs/reports/unified-9.0.20/VISUALISIERUNG.md +64 -0
- package/docs/reports/unified-9.0.20/history-setup-navigation-proxy.txt +26 -0
- package/docs/reports/unified-9.0.20/history-setup-navigation-ssr.txt +7 -0
- package/docs/reports/unified-9.0.20/history-setup-ui-lint.txt +0 -0
- package/docs/reports/unified-9.0.20/history-setup-ui-node22.txt +102 -0
- package/docs/reports/unified-9.0.20/history-setup-ui-node24.txt +23 -0
- package/docs/reports/unified-9.0.20/history-setup-ui-security.txt +0 -0
- package/docs/reports/unified-9.0.20/history-setup-ui-typecheck.txt +0 -0
- package/docs/reports/unified-9.0.20/login-pwa-branding-hashes.txt +9 -0
- package/docs/reports/unified-9.0.20/login-pwa-branding-node22.txt +42 -0
- package/docs/reports/unified-9.0.20/login-pwa-branding-node24.txt +13 -0
- package/docs/reports/unified-9.0.20/raw/INDEX.json +1913 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/device/baseline-node22.log +16 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/device/baseline-node24.log +14 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/device/lint-after.json +1 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/device/lint-before.json +1 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/device/modbus-stop-backoff.cjs +22 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/device/node22-control-review.log +29 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/device/node22-modbus-final.json +18 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/device/node22-modbus-final.log +325 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/device/node22-modbus-review.log +278 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/device/node24-modbus-final.json +18 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/device/node24-modbus-final.log +58 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/device/node24-modbus-review.log +51 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/api-gaps-before.log +64 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/api-negative-before.log +46 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/chart-gaps-before.log +127 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/device-command-subscriptions-after.log +67 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/device-command-subscriptions-before.log +61 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/device-command-subscriptions-eslint-js.log +0 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/device-command-subscriptions-eslint-ts.log +0 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/device-command-subscriptions-node22.log +442 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/device-command-subscriptions-node24.log +78 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/fix.py +73 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/history-eslint-final.json +7 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/history-final-node22.log +279 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/history-final-node24.log +52 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/history-followup-node22.log +223 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/history-followup-node24.log +43 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/history-own-cache.log +17 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/negative-pricing-before.log +96 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/node22-after.log +66 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/node22-repro.log +8 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/node24-after.log +17 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/node24-repro.log +8 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/repro.cjs +39 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/visuals/chromium-probe.log +3 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/visuals/patch-live.py +101 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/visuals/repro-live-display.cjs +26 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/visuals/repro-live-display.log +36 -0
- package/docs/reports/unified-9.0.20/raw/audit-full.log +345 -0
- package/docs/reports/unified-9.0.20/raw/audit-full.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/audit-runtime.log +23 -0
- package/docs/reports/unified-9.0.20/raw/audit-runtime.result.json +15 -0
- package/docs/reports/unified-9.0.20/raw/backend-final.log +5 -0
- package/docs/reports/unified-9.0.20/raw/backend-final.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/baseline-919-coverage-tests-node22.result.json +20 -0
- package/docs/reports/unified-9.0.20/raw/baseline-919-coverage-tests-node22.tap +721 -0
- package/docs/reports/unified-9.0.20/raw/baseline-919-coverage-tests-node24.result.json +20 -0
- package/docs/reports/unified-9.0.20/raw/baseline-919-coverage-tests-node24.tap +127 -0
- package/docs/reports/unified-9.0.20/raw/commissioning-evidence.json +69 -0
- package/docs/reports/unified-9.0.20/raw/commissioning-failed-init-drain-919-before.log +14 -0
- package/docs/reports/unified-9.0.20/raw/commissioning-final-node22.log +882 -0
- package/docs/reports/unified-9.0.20/raw/commissioning-final-node24.log +149 -0
- package/docs/reports/unified-9.0.20/raw/commissioning-lint.log +0 -0
- package/docs/reports/unified-9.0.20/raw/commissioning-planner-919-before.log +70 -0
- package/docs/reports/unified-9.0.20/raw/commissioning-retained-readiness-before.log +34 -0
- package/docs/reports/unified-9.0.20/raw/commissioning-runtime-retry-919-before.log +46 -0
- package/docs/reports/unified-9.0.20/raw/commissioning-types-node24.log +0 -0
- package/docs/reports/unified-9.0.20/raw/device-farm-protocol/DEVICE_FARM_READONLY_REVIEW.md +66 -0
- package/docs/reports/unified-9.0.20/raw/device-farm-protocol/run-readback-tests.cjs +13 -0
- package/docs/reports/unified-9.0.20/raw/device-farm-protocol/solax-control-chain.test.cjs +58 -0
- package/docs/reports/unified-9.0.20/raw/device-lifecycle-baseline-node22.log +16 -0
- package/docs/reports/unified-9.0.20/raw/device-lifecycle-baseline-node24.log +14 -0
- package/docs/reports/unified-9.0.20/raw/device-lifecycle-evidence.json +55 -0
- package/docs/reports/unified-9.0.20/raw/device-lifecycle-lint-after.json +1 -0
- package/docs/reports/unified-9.0.20/raw/device-lifecycle-lint-before.json +1 -0
- package/docs/reports/unified-9.0.20/raw/device-lifecycle-modbus-stop-backoff.cjs +22 -0
- package/docs/reports/unified-9.0.20/raw/device-lifecycle-node22-control-review.log +29 -0
- package/docs/reports/unified-9.0.20/raw/device-lifecycle-node22-modbus-final.json +18 -0
- package/docs/reports/unified-9.0.20/raw/device-lifecycle-node22-modbus-final.log +325 -0
- package/docs/reports/unified-9.0.20/raw/device-lifecycle-node22-modbus-review.log +278 -0
- package/docs/reports/unified-9.0.20/raw/device-lifecycle-node24-modbus-final.json +18 -0
- package/docs/reports/unified-9.0.20/raw/device-lifecycle-node24-modbus-final.log +58 -0
- package/docs/reports/unified-9.0.20/raw/device-lifecycle-node24-modbus-review.log +51 -0
- package/docs/reports/unified-9.0.20/raw/devices-hosted-typecheck-node22.log +0 -0
- package/docs/reports/unified-9.0.20/raw/devices-hosted-typecheck-node22.result.json +15 -0
- package/docs/reports/unified-9.0.20/raw/devices-hosted-typecheck-node24.log +0 -0
- package/docs/reports/unified-9.0.20/raw/devices-hosted-typecheck-node24.result.json +15 -0
- package/docs/reports/unified-9.0.20/raw/farm-controller/controller-node22.log +110 -0
- package/docs/reports/unified-9.0.20/raw/farm-controller/controller-node24.log +24 -0
- package/docs/reports/unified-9.0.20/raw/farm-controller/evidence.json +33 -0
- package/docs/reports/unified-9.0.20/raw/farm-diagnostics-ui-lint.txt +0 -0
- package/docs/reports/unified-9.0.20/raw/farm-diagnostics-ui-node22.txt +113 -0
- package/docs/reports/unified-9.0.20/raw/farm-diagnostics-ui-node24.txt +26 -0
- package/docs/reports/unified-9.0.20/raw/farm-diagnostics-ui-security.txt +0 -0
- package/docs/reports/unified-9.0.20/raw/farm-diagnostics-ui-typecheck.txt +0 -0
- package/docs/reports/unified-9.0.20/raw/farm-dispatch/allocator-baseline.jsonl +6 -0
- package/docs/reports/unified-9.0.20/raw/farm-dispatch/diagnostics-before.log +138 -0
- package/docs/reports/unified-9.0.20/raw/farm-dispatch/diagnostics-main-delta.patch +77 -0
- package/docs/reports/unified-9.0.20/raw/farm-dispatch/diagnostics-main-lint.json +7 -0
- package/docs/reports/unified-9.0.20/raw/farm-dispatch/diagnostics-node22.log +64 -0
- package/docs/reports/unified-9.0.20/raw/farm-dispatch/diagnostics-node22.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/farm-dispatch/diagnostics-node24.log +18 -0
- package/docs/reports/unified-9.0.20/raw/farm-dispatch/diagnostics-node24.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/final-ui-independent-review.json +194 -0
- package/docs/reports/unified-9.0.20/raw/frontend-build.log +152 -0
- package/docs/reports/unified-9.0.20/raw/frontend-build.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/independent-influx/parser-after-node22.json +35 -0
- package/docs/reports/unified-9.0.20/raw/independent-influx/parser-after-node22.result.json +17 -0
- package/docs/reports/unified-9.0.20/raw/independent-influx/parser-after-node24.json +31 -0
- package/docs/reports/unified-9.0.20/raw/independent-influx/parser-after-node24.result.json +17 -0
- package/docs/reports/unified-9.0.20/raw/independent-influx/parser-before.json +31 -0
- package/docs/reports/unified-9.0.20/raw/independent-influx/parser-reproducer.cjs +9 -0
- package/docs/reports/unified-9.0.20/raw/independent-influx/transport-extra-node22.result.json +18 -0
- package/docs/reports/unified-9.0.20/raw/independent-influx/transport-extra-node22.tap +34 -0
- package/docs/reports/unified-9.0.20/raw/independent-influx/transport-extra-node24.result.json +18 -0
- package/docs/reports/unified-9.0.20/raw/independent-influx/transport-extra-node24.tap +11 -0
- package/docs/reports/unified-9.0.20/raw/independent-influx/transport-extra.test.cjs +9 -0
- package/docs/reports/unified-9.0.20/raw/independent-solax/node22-focused.log +165 -0
- package/docs/reports/unified-9.0.20/raw/independent-solax/node24-focused.log +35 -0
- package/docs/reports/unified-9.0.20/raw/independent-solax/review-receipt.json +57 -0
- package/docs/reports/unified-9.0.20/raw/independent-solax/split-response-after.log +1 -0
- package/docs/reports/unified-9.0.20/raw/independent-solax/split-response-before.log +1 -0
- package/docs/reports/unified-9.0.20/raw/independent-solax/split-response.cjs +16 -0
- package/docs/reports/unified-9.0.20/raw/independent-solax/stop-race-generation-guard.log +1 -0
- package/docs/reports/unified-9.0.20/raw/independent-solax/stop-race.cjs +13 -0
- package/docs/reports/unified-9.0.20/raw/influx-direct/eslint.log +0 -0
- package/docs/reports/unified-9.0.20/raw/influx-direct/node22.log +112 -0
- package/docs/reports/unified-9.0.20/raw/influx-direct/node24.log +24 -0
- package/docs/reports/unified-9.0.20/raw/influx-direct/typecheck.log +0 -0
- package/docs/reports/unified-9.0.20/raw/influx-direct-review/hosted-module-history.test.cjs +85 -0
- package/docs/reports/unified-9.0.20/raw/influx-direct-review/independent-node22.json +12 -0
- package/docs/reports/unified-9.0.20/raw/influx-direct-review/independent-node22.log +100 -0
- package/docs/reports/unified-9.0.20/raw/influx-direct-review/independent-node24.json +12 -0
- package/docs/reports/unified-9.0.20/raw/influx-direct-review/independent-node24.log +21 -0
- package/docs/reports/unified-9.0.20/raw/influx-direct-review/runtime-after.test.cjs +15 -0
- package/docs/reports/unified-9.0.20/raw/influx-direct-review/runtime-loss-before.test.cjs +9 -0
- package/docs/reports/unified-9.0.20/raw/influx-direct-review/security-scan.cjs +15 -0
- package/docs/reports/unified-9.0.20/raw/influx-direct-review/transport-extra.test.cjs +9 -0
- package/docs/reports/unified-9.0.20/raw/influx-independent/legacy-history-node22.log +227 -0
- package/docs/reports/unified-9.0.20/raw/influx-independent/legacy-history-node22.result.json +11 -0
- package/docs/reports/unified-9.0.20/raw/influx-independent/legacy-history-node24.log +44 -0
- package/docs/reports/unified-9.0.20/raw/influx-independent/legacy-history-node24.result.json +11 -0
- package/docs/reports/unified-9.0.20/raw/influx-independent/node22.log +112 -0
- package/docs/reports/unified-9.0.20/raw/influx-independent/node22.result.json +12 -0
- package/docs/reports/unified-9.0.20/raw/influx-independent/node24.log +23 -0
- package/docs/reports/unified-9.0.20/raw/influx-independent/node24.result.json +12 -0
- package/docs/reports/unified-9.0.20/raw/influx-independent/runtime-after.test.cjs +15 -0
- package/docs/reports/unified-9.0.20/raw/influx-independent/transport-extra.test.cjs +9 -0
- package/docs/reports/unified-9.0.20/raw/influx-runtime/evidence.json +24 -0
- package/docs/reports/unified-9.0.20/raw/influx-runtime/final-node22.log +326 -0
- package/docs/reports/unified-9.0.20/raw/influx-runtime/final-node24.log +59 -0
- package/docs/reports/unified-9.0.20/raw/influx-runtime/runtime-node22.log +62 -0
- package/docs/reports/unified-9.0.20/raw/influx-runtime/runtime-node24.log +16 -0
- package/docs/reports/unified-9.0.20/raw/influx-security/security-influx-lint.log +0 -0
- package/docs/reports/unified-9.0.20/raw/influx-security/security-influx-lint.result.json +17 -0
- package/docs/reports/unified-9.0.20/raw/influx-security/security-influx-node22.log +112 -0
- package/docs/reports/unified-9.0.20/raw/influx-security/security-influx-node22.result.json +15 -0
- package/docs/reports/unified-9.0.20/raw/influx-security/security-influx-node24.log +106 -0
- package/docs/reports/unified-9.0.20/raw/influx-security/security-influx-node24.result.json +15 -0
- package/docs/reports/unified-9.0.20/raw/influx-security/security-influx-typecheck.log +0 -0
- package/docs/reports/unified-9.0.20/raw/influx-security/security-influx-typecheck.result.json +15 -0
- package/docs/reports/unified-9.0.20/raw/influx-security/source-sha256.json +5 -0
- package/docs/reports/unified-9.0.20/raw/influx-transport-final/influx-transport-lint-final.log +0 -0
- package/docs/reports/unified-9.0.20/raw/influx-transport-final/influx-transport-lint-final.result.json +16 -0
- package/docs/reports/unified-9.0.20/raw/influx-transport-final/influx-transport-node22-final.log +124 -0
- package/docs/reports/unified-9.0.20/raw/influx-transport-final/influx-transport-node22-final.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/influx-transport-final/influx-transport-node24-final.log +26 -0
- package/docs/reports/unified-9.0.20/raw/influx-transport-final/influx-transport-node24-final.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/influx-transport-final/influx-transport-type-node22-final.log +0 -0
- package/docs/reports/unified-9.0.20/raw/influx-transport-final/influx-transport-type-node22-final.result.json +15 -0
- package/docs/reports/unified-9.0.20/raw/influx-transport-final/influx-transport-type-node24-final.log +0 -0
- package/docs/reports/unified-9.0.20/raw/influx-transport-final/influx-transport-type-node24-final.result.json +15 -0
- package/docs/reports/unified-9.0.20/raw/influx-ui-independent-review-final.json +285 -0
- package/docs/reports/unified-9.0.20/raw/influx-ui-independent-review-intermediate.json +285 -0
- package/docs/reports/unified-9.0.20/raw/installer-build.log +26 -0
- package/docs/reports/unified-9.0.20/raw/installer-build.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/isolation/INDEX.json +332 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-family-final.log +3 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-family-final.result.json +13 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-family-hosted.log +6 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-family-hosted.result.json +13 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-family-verified.log +1 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-family-verified.result.json +13 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-family.log +11 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-family.result.json +13 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-fenecon-hybrid-final.log +3 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-fenecon-hybrid-final.result.json +13 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-fenecon-hybrid-hosted.log +3 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-fenecon-hybrid-hosted.result.json +13 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-fenecon-hybrid-verified.log +1 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-fenecon-hybrid-verified.result.json +13 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-fenecon-hybrid.log +11 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-fenecon-hybrid.result.json +13 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-final-node22.log +296 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-final-node22.result.json +16 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-final-node24.log +56 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-final-node24.result.json +16 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-node24.log +54 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-node24.result.json +16 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-output-modes.log +1 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-output-modes.result.json +13 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-release-final-node22.log +332 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-release-final-node22.result.json +16 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-release-final-node24.log +62 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-release-final-node24.result.json +16 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-release-node22.log +342 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-release-node22.result.json +16 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-release-node24.log +72 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-release-node24.result.json +16 -0
- package/docs/reports/unified-9.0.20/raw/isolation/isolation-node22.log +482 -0
- package/docs/reports/unified-9.0.20/raw/isolation/isolation-node22.result.json +19 -0
- package/docs/reports/unified-9.0.20/raw/isolation/isolation-node24.log +87 -0
- package/docs/reports/unified-9.0.20/raw/isolation/migration-lint.log +0 -0
- package/docs/reports/unified-9.0.20/raw/isolation/migration-lint.result.json +16 -0
- package/docs/reports/unified-9.0.20/raw/isolation/migration-node22.log +330 -0
- package/docs/reports/unified-9.0.20/raw/isolation/migration-node22.result.json +16 -0
- package/docs/reports/unified-9.0.20/raw/isolation/migration-node24-before.log +72 -0
- package/docs/reports/unified-9.0.20/raw/isolation/migration-node24-before.result.json +16 -0
- package/docs/reports/unified-9.0.20/raw/isolation/migration-node24.log +60 -0
- package/docs/reports/unified-9.0.20/raw/isolation/migration-node24.result.json +16 -0
- package/docs/reports/unified-9.0.20/raw/isolation/repro-migration-start-budget.cjs +49 -0
- package/docs/reports/unified-9.0.20/raw/isolation/repro-serial-release.cjs +21 -0
- package/docs/reports/unified-9.0.20/raw/isolation/repro-sunspec-discovery.cjs +11 -0
- package/docs/reports/unified-9.0.20/raw/isolation/serial-before-repro.log +1 -0
- package/docs/reports/unified-9.0.20/raw/isolation/serial-before-repro.result.json +13 -0
- package/docs/reports/unified-9.0.20/raw/isolation/serial-gates-node22.log +32 -0
- package/docs/reports/unified-9.0.20/raw/isolation/serial-gates-node22.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/isolation/serial-gates-node24.log +11 -0
- package/docs/reports/unified-9.0.20/raw/isolation/serial-gates-node24.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/isolation/serial-helper-typecheck-final.log +0 -0
- package/docs/reports/unified-9.0.20/raw/isolation/serial-helper-typecheck-final.result.json +28 -0
- package/docs/reports/unified-9.0.20/raw/isolation/serial-helper-typecheck.log +2 -0
- package/docs/reports/unified-9.0.20/raw/isolation/serial-helper-typecheck.result.json +26 -0
- package/docs/reports/unified-9.0.20/raw/isolation/serial-lint.log +0 -0
- package/docs/reports/unified-9.0.20/raw/isolation/serial-lint.result.json +18 -0
- package/docs/reports/unified-9.0.20/raw/isolation/serial-node22.log +344 -0
- package/docs/reports/unified-9.0.20/raw/isolation/serial-node22.result.json +17 -0
- package/docs/reports/unified-9.0.20/raw/isolation/serial-node24.log +62 -0
- package/docs/reports/unified-9.0.20/raw/isolation/serial-node24.result.json +17 -0
- package/docs/reports/unified-9.0.20/raw/isolation/sunspec-review-after.log +3 -0
- package/docs/reports/unified-9.0.20/raw/isolation/sunspec-review-after.result.json +13 -0
- package/docs/reports/unified-9.0.20/raw/isolation/sunspec-review-before.log +3 -0
- package/docs/reports/unified-9.0.20/raw/isolation/sunspec-review-before.result.json +15 -0
- package/docs/reports/unified-9.0.20/raw/keygen-source.json +6 -0
- package/docs/reports/unified-9.0.20/raw/legacy-mirror-debt/check-919.log +70 -0
- package/docs/reports/unified-9.0.20/raw/legacy-mirror-debt/check-920.log +71 -0
- package/docs/reports/unified-9.0.20/raw/legacy-mirror-debt/diff.json +82 -0
- package/docs/reports/unified-9.0.20/raw/legacy-mirror-debt/receipt.json +48 -0
- package/docs/reports/unified-9.0.20/raw/lint-final.log +16 -0
- package/docs/reports/unified-9.0.20/raw/lint-final.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/main-individual-review-before-cache-boundary-fix.json +112 -0
- package/docs/reports/unified-9.0.20/raw/main-individual-review-before-capability-ack.json +103 -0
- package/docs/reports/unified-9.0.20/raw/main-individual-review-before-farm-diagnostics.json +102 -0
- package/docs/reports/unified-9.0.20/raw/main-individual-review-final.json +103 -0
- package/docs/reports/unified-9.0.20/raw/main-individual-review.json +93 -0
- package/docs/reports/unified-9.0.20/raw/modules-build.log +5 -0
- package/docs/reports/unified-9.0.20/raw/modules-build.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/node22-tests-final.log +12471 -0
- package/docs/reports/unified-9.0.20/raw/node22-tests-final.result.json +13 -0
- package/docs/reports/unified-9.0.20/raw/node22-typecheck-final.log +7 -0
- package/docs/reports/unified-9.0.20/raw/node22-typecheck-final.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/node22-version.log +1 -0
- package/docs/reports/unified-9.0.20/raw/node24-tests-final.log +2093 -0
- package/docs/reports/unified-9.0.20/raw/node24-tests-final.result.json +13 -0
- package/docs/reports/unified-9.0.20/raw/node24-typecheck-final.log +5 -0
- package/docs/reports/unified-9.0.20/raw/node24-typecheck-final.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/node24-version.log +1 -0
- package/docs/reports/unified-9.0.20/raw/power-capability/evidence.json +69 -0
- package/docs/reports/unified-9.0.20/raw/power-capability/power-capability-existing-regressions-node24.log +94 -0
- package/docs/reports/unified-9.0.20/raw/power-capability/power-capability-lint.log +0 -0
- package/docs/reports/unified-9.0.20/raw/power-capability/power-capability-node22.log +304 -0
- package/docs/reports/unified-9.0.20/raw/power-capability/power-capability-node24.log +56 -0
- package/docs/reports/unified-9.0.20/raw/power-capability/power-capability-typecheck.log +0 -0
- package/docs/reports/unified-9.0.20/raw/pwa-https/evidence.json +45 -0
- package/docs/reports/unified-9.0.20/raw/pwa-https/node22-build.log +21 -0
- package/docs/reports/unified-9.0.20/raw/pwa-https/node22-source.log +23 -0
- package/docs/reports/unified-9.0.20/raw/pwa-https/node24-build.log +11 -0
- package/docs/reports/unified-9.0.20/raw/pwa-https/node24-source.log +11 -0
- package/docs/reports/unified-9.0.20/raw/pwa-independent/policy-boundaries.test.cjs +45 -0
- package/docs/reports/unified-9.0.20/raw/pwa-independent/policy-receipt.json +71 -0
- package/docs/reports/unified-9.0.20/raw/pwa-independent/policy-v22.23.4.tap +34 -0
- package/docs/reports/unified-9.0.20/raw/pwa-independent/policy-v24.22.3.tap +11 -0
- package/docs/reports/unified-9.0.20/raw/pwa-ui-independent-review-final.json +348 -0
- package/docs/reports/unified-9.0.20/raw/repro-failed-init-drain-before.cjs +15 -0
- package/docs/reports/unified-9.0.20/raw/repro-profile-replacement-after-unmapped.cjs +15 -0
- package/docs/reports/unified-9.0.20/raw/repro-runtime-retry-before.cjs +18 -0
- package/docs/reports/unified-9.0.20/raw/sbom-runtime.log +7 -0
- package/docs/reports/unified-9.0.20/raw/sbom-runtime.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/sbom-vendor-check.log +1 -0
- package/docs/reports/unified-9.0.20/raw/sbom-vendor-check.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/solax-readback-node22.json +30 -0
- package/docs/reports/unified-9.0.20/raw/solax-readback-node22.log +542 -0
- package/docs/reports/unified-9.0.20/raw/solax-readback-node24.json +30 -0
- package/docs/reports/unified-9.0.20/raw/solax-readback-node24.log +97 -0
- package/docs/reports/unified-9.0.20/raw/tariff-report-before.log +147 -0
- package/docs/reports/unified-9.0.20/raw/tariff-report-evidence.json +48 -0
- package/docs/reports/unified-9.0.20/raw/tariff-report-final-node22.log +151 -0
- package/docs/reports/unified-9.0.20/raw/tariff-report-final-node24.log +32 -0
- package/docs/reports/unified-9.0.20/raw/ui-docs-check.log +6 -0
- package/docs/reports/unified-9.0.20/raw/ui-docs-check.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/ui-runtime-final.log +7 -0
- package/docs/reports/unified-9.0.20/raw/ui-runtime-final.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/ui-runtime-sync.log +6 -0
- package/docs/reports/unified-9.0.20/raw/ui-runtime-sync.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/ui-sbom-check.log +6 -0
- package/docs/reports/unified-9.0.20/raw/ui-sbom-check.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/ui-sbom-final.log +6 -0
- package/docs/reports/unified-9.0.20/raw/ui-sbom-final.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/ui-secret-final.log +6 -0
- package/docs/reports/unified-9.0.20/raw/ui-secret-final.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/ui-security-final.log +8 -0
- package/docs/reports/unified-9.0.20/raw/ui-security-final.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/visuals-baseline-919.txt +36 -0
- package/docs/reports/unified-9.0.20/raw/visuals-browser-limit.txt +3 -0
- package/docs/reports/unified-9.0.20/raw/visuals-lint.txt +0 -0
- package/docs/reports/unified-9.0.20/raw/visuals-node22.txt +258 -0
- package/docs/reports/unified-9.0.20/raw/visuals-node24.txt +51 -0
- package/docs/reports/unified-9.0.20/raw/visuals-security.txt +0 -0
- package/docs/reports/unified-9.0.20/raw/visuals-typecheck.txt +0 -0
- package/docs/reports/unified-9.0.20/raw/wallet-freshness-after.log +19 -0
- package/docs/reports/unified-9.0.20/raw/wallet-freshness-after.result.json +16 -0
- package/docs/reports/unified-9.0.20/raw/wallet-freshness-before.log +31 -0
- package/docs/reports/unified-9.0.20/raw/wallet-freshness-before.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/wallet-freshness-independent.result.json +13 -0
- package/docs/reports/unified-9.0.20/raw/wallet-freshness-independent.tap +10 -0
- package/io-package.json +12 -12
- package/modules/devices/admin/ems-assignment.d.ts +8 -2
- package/modules/devices/admin/ems-assignment.js +192 -30
- package/modules/devices/admin/host-bridge.js +36 -11
- package/modules/devices/admin/index.html +26 -5
- package/modules/devices/admin/index_m.js +87 -3
- package/modules/devices/admin/style.css +17 -4
- package/modules/devices/checks/emsAssignment.check.js +10 -6
- package/modules/devices/contracts.d.ts +1 -1
- package/modules/devices/index.js +54 -17
- package/modules/devices/lib/device-alias-semantics-v1.json +22 -1
- package/modules/devices/lib/deviceAliasFreshness.js +66 -0
- package/modules/devices/lib/deviceAliasSemantics.js +13 -3
- package/modules/devices/lib/deviceRuntime.js +278 -133
- package/modules/devices/lib/drivers/modbus.js +107 -23
- package/modules/devices/lib/drivers/modbusAsciiBus.js +47 -31
- package/modules/devices/lib/drivers/modbusRtuBus.js +33 -9
- package/modules/devices/lib/drivers/modbusSerialLease.js +29 -0
- package/modules/devices/lib/drivers/speedwire.js +42 -22
- package/modules/devices/lib/modbusReadEvidence.js +29 -0
- package/modules/devices/test/deviceAliasFreshness.test.js +154 -0
- package/modules/devices/test/emsAssignmentUi.test.js +119 -11
- package/modules/devices/test/modbusAuthorizationReads.test.js +112 -0
- package/modules/devices/test/modbusConnectLifecycle.test.js +148 -0
- package/modules/devices/test/modbusSerialLifecycle.test.js +91 -0
- package/modules/devices/test/runtimeLiveness.test.js +1 -1
- package/modules/devices/test/serialOperationGate.test.js +3 -3
- package/modules/devices/test/solaxReadbackContext.test.js +472 -0
- package/modules/devices/test/speedwireLifecycle.test.js +118 -0
- package/modules/devices/tsconfig.alias-semantics.json +1 -1
- package/modules/devices/tsconfig.hosted.json +1 -1
- package/modules/devices/tsconfig.serial-lifecycle.json +18 -0
- package/package.json +11 -7
- package/release-manifests/unified/build-environment.cdx.json +1483 -7370
- package/release-manifests/unified/files.json +758 -185
- package/release-manifests/unified/frontend.cdx.json +2688 -5952
- package/release-manifests/unified/installer.cdx.json +2053 -821
- package/release-manifests/unified/obsolete-admin-assets.json +170 -6
- package/release-manifests/unified/runtime.cdx.json +40 -3283
- package/release-manifests/unified/validation.json +15 -15
- package/tools/eos-release-check.cjs +2 -2
- package/tools/eos-release-manifest.cjs +3 -3
- package/ui/admin/react/assets/index-BJO3q7oe.js +13 -0
- package/ui/admin/react/assets/{index-CuquHlsY.css → index-ofLP_Y7y.css} +1 -1
- package/ui/admin/react/index.html +2 -2
- package/ui/docs/security/eslint-reviewed-findings.json +26 -26
- package/ui/ems/engine.js +54 -7
- package/ui/ems/module-manager.js +44 -21
- package/ui/ems/modules/core-limits.js +5 -3
- package/ui/ems/modules/energy-wallet.js +38 -33
- package/ui/ems/modules/storage-control.js +64 -22
- package/ui/ems/modules/tarif-vis.js +36 -24
- package/ui/ems/modules/tariff-provider.js +28 -6
- package/ui/ems/services/tariff-provider-registry.js +11 -8
- package/ui/io-package.json +1 -1
- package/ui/lib/customer-tariff.js +5 -1
- package/ui/lib/influx-config.js +204 -0
- package/ui/lib/influx-direct.js +527 -0
- package/ui/lib/influx-history-runtime.js +326 -0
- package/ui/lib/influx-network-policy.js +112 -0
- package/ui/lib/installer-lifecycle.js +134 -1
- package/ui/lib/storage-farm-overview.js +115 -0
- package/ui/lib/tariff-price.js +115 -0
- package/ui/lib/ui-access-policy.js +2 -2
- package/ui/main.js +743 -264
- package/ui/package.json +18 -6
- package/ui/www/app.js +195 -334
- package/ui/www/ems-apps.html +4 -1
- package/ui/www/ems-apps.js +21 -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/history.js +114 -74
- package/ui/www/index.html +4 -1
- package/ui/www/licenses/smarthome-markdown-components.json +156 -156
- package/ui/www/live-display.js +115 -0
- package/ui/www/logic.html +1 -1
- package/ui/www/login.css +1 -0
- package/ui/www/login.html +2 -1
- package/ui/www/manifest.webmanifest +2 -2
- package/ui/www/power-measurements.js +62 -0
- package/ui/www/settings.html +4 -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-dispatch.js +287 -0
- package/ui/www/storagefarm-summary.css +32 -0
- package/ui/www/storagefarm-summary.js +136 -0
- package/ui/www/storagefarm.html +31 -2
- package/ui/www/storagefarm.js +14 -44
- package/ui/www/tariff-display.js +161 -0
- package/ui/www/tariff-report.js +43 -25
- package/ui/admin/react/assets/index-Bq5IupDw.js +0 -13
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* AUTO-GENERATED RUNTIME FILE - NICHT MANUELL BEARBEITEN.
|
|
8
8
|
*
|
|
9
9
|
* Quelle: src-ts/runtime-executables/ems/modules/core-limits.ts
|
|
10
|
-
* Quell-Hash: sha256:
|
|
10
|
+
* Quell-Hash: sha256:1b7a9c9b7f69a644713610de9afd141a124b8af89ed993c0aa5f0f9e463e61e9
|
|
11
11
|
* Erzeugung: npm run sync:ts-runtime-executables
|
|
12
12
|
*
|
|
13
13
|
* Zweck:
|
|
@@ -72,6 +72,7 @@
|
|
|
72
72
|
*/
|
|
73
73
|
|
|
74
74
|
'use strict';
|
|
75
|
+
const { readTariffPriceState } = require('../../lib/tariff-price');
|
|
75
76
|
|
|
76
77
|
|
|
77
78
|
/**
|
|
@@ -2948,10 +2949,11 @@ class CoreLimitsModule extends BaseModule {
|
|
|
2948
2949
|
|
|
2949
2950
|
const tariffActive = await readStateBool(this.adapter, 'tarif.aktiv', false);
|
|
2950
2951
|
const tariffState = await readStateString(this.adapter, 'tarif.state', '');
|
|
2951
|
-
const
|
|
2952
|
+
const tariffCurrentPriceFresh = await readStateBool(this.adapter, 'tarif.currentPriceFresh', null);
|
|
2953
|
+
const tariffCurrentPrice = tariffCurrentPriceFresh === false ? null : await readTariffPriceState(this.adapter, 'tarif.preisAktuellEurProKwh');
|
|
2952
2954
|
const tariffNegativeActive = await readStateBool(this.adapter, 'tarif.negativpreisAktiv', false);
|
|
2953
2955
|
const tariffGridImportPreferred = await readStateBool(this.adapter, 'tarif.netzbezugBevorzugt', tariffNegativeActive);
|
|
2954
|
-
const tariffNegativeMinPrice = await
|
|
2956
|
+
const tariffNegativeMinPrice = await readTariffPriceState(this.adapter, 'tarif.negativPreisMinEurProKwh');
|
|
2955
2957
|
const tariffNextNegativeFrom = await readStateString(this.adapter, 'tarif.naechstesNegativVon', '');
|
|
2956
2958
|
const tariffNextNegativeTo = await readStateString(this.adapter, 'tarif.naechstesNegativBis', '');
|
|
2957
2959
|
const tariffStatus = await readStateString(this.adapter, 'tarif.negativpreisStatus', '');
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* AUTO-GENERATED RUNTIME FILE - NICHT MANUELL BEARBEITEN.
|
|
8
8
|
*
|
|
9
9
|
* Quelle: src-ts/runtime-executables/ems/modules/energy-wallet.ts
|
|
10
|
-
* Quell-Hash: sha256:
|
|
10
|
+
* Quell-Hash: sha256:e6c23aeb59899289dab3bc6b1b3c2b0899985fdad9b81230af5b0b86c092d3f1
|
|
11
11
|
* Erzeugung: npm run sync:ts-runtime-executables
|
|
12
12
|
*
|
|
13
13
|
* Zweck:
|
|
@@ -72,6 +72,7 @@
|
|
|
72
72
|
*/
|
|
73
73
|
'use strict';
|
|
74
74
|
const { BaseModule } = require('./base');
|
|
75
|
+
const { tariffPriceNumber } = require('../../lib/tariff-price');
|
|
75
76
|
function num(v, fallback = null) {
|
|
76
77
|
const n = Number(v);
|
|
77
78
|
return Number.isFinite(n) ? n : fallback;
|
|
@@ -106,13 +107,13 @@ function yearKeyLocal(date = new Date()) {
|
|
|
106
107
|
return String(date.getFullYear());
|
|
107
108
|
}
|
|
108
109
|
|
|
109
|
-
function normalizePriceEurPerKwh(value, fallback) {
|
|
110
|
-
const n =
|
|
110
|
+
function normalizePriceEurPerKwh(value, fallback, explicitEur = false) {
|
|
111
|
+
const n = tariffPriceNumber(value);
|
|
111
112
|
if (!Number.isFinite(n)) return fallback;
|
|
112
113
|
const abs = Math.abs(n);
|
|
113
114
|
// Installer geben Preise häufig in ct/kWh ein. Werte >2 und <=500 interpretieren wir als ct/kWh.
|
|
114
|
-
const eur = abs > 2 && abs <= 500 ? n / 100 : n;
|
|
115
|
-
if (!Number.isFinite(eur) || eur < -2 || eur > 5) return fallback;
|
|
115
|
+
const eur = !explicitEur && abs > 2 && abs <= 500 ? n / 100 : n;
|
|
116
|
+
if (!Number.isFinite(eur) || (explicitEur ? Math.abs(eur) > 100 : eur < -2 || eur > 5)) return fallback;
|
|
116
117
|
return eur;
|
|
117
118
|
}
|
|
118
119
|
|
|
@@ -415,37 +416,34 @@ class EnergyWalletModule extends BaseModule {
|
|
|
415
416
|
const rec = this._cacheEntry(key);
|
|
416
417
|
if (!rec) continue;
|
|
417
418
|
const raw = rec && typeof rec === 'object' && Object.prototype.hasOwnProperty.call(rec, 'value') ? rec.value : rec;
|
|
418
|
-
const n =
|
|
419
|
-
if (
|
|
419
|
+
const n = tariffPriceNumber(raw);
|
|
420
|
+
if (n !== null) return n;
|
|
420
421
|
}
|
|
421
422
|
return fallback;
|
|
422
423
|
}
|
|
423
424
|
|
|
424
425
|
|
|
425
|
-
_readStateCandidate(keys) {
|
|
426
|
-
//
|
|
427
|
-
//
|
|
428
|
-
//
|
|
429
|
-
// und ein alter Zeittarif sauber auf den festen Preis zurückfallen.
|
|
426
|
+
_readStateCandidate(keys, maxAgeSec = 7200) {
|
|
427
|
+
// A missing derived budget price must not hide a real current provider price.
|
|
428
|
+
// Inspect every candidate's own timestamp; retain a stale candidate only for
|
|
429
|
+
// diagnosis after all fresher fallbacks have been considered.
|
|
430
430
|
const list = Array.isArray(keys) ? keys : [keys];
|
|
431
431
|
const now = Date.now();
|
|
432
|
+
let staleCandidate = null;
|
|
432
433
|
for (const key of list) {
|
|
433
|
-
const
|
|
434
|
-
|
|
434
|
+
const cached = this.adapter?.stateCache && Object.prototype.hasOwnProperty.call(this.adapter.stateCache, key) ? Reflect.get(this.adapter.stateCache, key) : null;
|
|
435
|
+
const rec = cached && typeof cached === 'object' && !Array.isArray(cached) ? cached : null;
|
|
436
|
+
if (!rec || (rec.q !== undefined && rec.q !== 0)) continue;
|
|
435
437
|
const raw = rec && typeof rec === 'object' && Object.prototype.hasOwnProperty.call(rec, 'value') ? rec.value : rec;
|
|
436
|
-
const n =
|
|
437
|
-
if (
|
|
438
|
-
const
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
value: n,
|
|
444
|
-
ts,
|
|
445
|
-
ageSec: Math.max(0, Math.round((now - ts) / 1000)),
|
|
446
|
-
};
|
|
438
|
+
const n = tariffPriceNumber(raw);
|
|
439
|
+
if (n === null) continue;
|
|
440
|
+
const ts = typeof rec.ts === 'number' ? rec.ts : null;
|
|
441
|
+
if (ts === null || !Number.isFinite(ts) || ts <= 0 || ts > now + 1000) continue;
|
|
442
|
+
const candidate = { found: true, key: String(key), value: n, ts, ageSec: Math.max(0, Math.round((now - ts) / 1000)) };
|
|
443
|
+
if (candidate.ageSec <= maxAgeSec) return candidate;
|
|
444
|
+
if (!staleCandidate) staleCandidate = candidate;
|
|
447
445
|
}
|
|
448
|
-
return { found: false, key: '', value: null, ts: 0, ageSec: 0 };
|
|
446
|
+
return staleCandidate || { found: false, key: '', value: null, ts: 0, ageSec: 0 };
|
|
449
447
|
}
|
|
450
448
|
|
|
451
449
|
|
|
@@ -611,6 +609,8 @@ class EnergyWalletModule extends BaseModule {
|
|
|
611
609
|
// - Quelle, Alter und Fallback-Grund werden veröffentlicht, damit Nutzerkarte und
|
|
612
610
|
// Installateurdiagnose nicht dieselbe Warnsprache verwenden müssen.
|
|
613
611
|
const dynamicTariffActive = this._readStateBool(['settings.dynamicTariff', 'dynamicTariff'], false);
|
|
612
|
+
const maxAgeSecRaw = cfg.dynamicTariffMaxAgeSec !== undefined ? Number(cfg.dynamicTariffMaxAgeSec) : 7200;
|
|
613
|
+
const maxAgeSec = Math.round(clamp(Number.isFinite(maxAgeSecRaw) ? maxAgeSecRaw : 7200, 60, 86400));
|
|
614
614
|
const tariffCandidate = this._readStateCandidate([
|
|
615
615
|
'ems.budget.tariff.currentPriceEurKwh',
|
|
616
616
|
'tarif.preisAktuellEurProKwh',
|
|
@@ -618,12 +618,15 @@ class EnergyWalletModule extends BaseModule {
|
|
|
618
618
|
'priceCurrent',
|
|
619
619
|
'tarif.priceCurrent',
|
|
620
620
|
'tariff.priceCurrent',
|
|
621
|
-
]);
|
|
622
|
-
const
|
|
623
|
-
const
|
|
624
|
-
const
|
|
625
|
-
|
|
626
|
-
|
|
621
|
+
], maxAgeSec);
|
|
622
|
+
const canonicalEurPrice = ['ems.budget.tariff.currentPriceEurKwh', 'tarif.preisAktuellEurProKwh', 'historie.tariff.providerCurrentEurPerKwh'].includes(tariffCandidate.key);
|
|
623
|
+
const tariffNow = tariffCandidate.found ? normalizePriceEurPerKwh(tariffCandidate.value, null, canonicalEurPrice) : null;
|
|
624
|
+
const tariffFinite = tariffCandidate.found && typeof tariffNow === 'number' && Number.isFinite(tariffNow);
|
|
625
|
+
// A recent mirror/history write is not a new valid provider observation.
|
|
626
|
+
// Preserve legacy mappings without this flag, but honour explicit revocation
|
|
627
|
+
// of the current tariff across every fallback candidate.
|
|
628
|
+
const tariffSourceFresh = this._readStateBool(['tarif.currentPriceFresh'], true);
|
|
629
|
+
const tariffFresh = tariffFinite && tariffSourceFresh && tariffCandidate.ageSec <= maxAgeSec;
|
|
627
630
|
const dynamicTariffAvailable = dynamicTariffActive && tariffFinite && tariffFresh;
|
|
628
631
|
|
|
629
632
|
const fixedInput = this._readStateNumber([
|
|
@@ -657,7 +660,9 @@ class EnergyWalletModule extends BaseModule {
|
|
|
657
660
|
);
|
|
658
661
|
|
|
659
662
|
let dynamicTariffWarning = '';
|
|
660
|
-
if (dynamicTariffActive && !
|
|
663
|
+
if (dynamicTariffActive && !tariffSourceFresh) {
|
|
664
|
+
dynamicTariffWarning = 'Die Tarifquelle meldet keinen gültigen aktuellen Preis. Das Wertkonto nutzt den festen Netzstrompreis.';
|
|
665
|
+
} else if (dynamicTariffActive && !tariffCandidate.found) {
|
|
661
666
|
dynamicTariffWarning = 'Dynamischer Zeittarif ist aktiv, aber es wurde kein aktueller Tarifpreis gefunden. Das Wertkonto nutzt den festen Netzstrompreis.';
|
|
662
667
|
} else if (dynamicTariffActive && tariffCandidate.found && !tariffFinite) {
|
|
663
668
|
dynamicTariffWarning = `Dynamischer Tarifpreis aus ${tariffCandidate.key} ist nicht plausibel. Das Wertkonto nutzt den festen Netzstrompreis.`;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* AUTO-GENERATED RUNTIME FILE - NICHT MANUELL BEARBEITEN.
|
|
8
8
|
*
|
|
9
9
|
* Quelle: src-ts/runtime-executables/ems/modules/storage-control.ts
|
|
10
|
-
* Quell-Hash: sha256:
|
|
10
|
+
* Quell-Hash: sha256:2b2fc6d9dc48f7d669636c365bf7645ffa4d9b68c7e706f6df02ebc4a412a1e2
|
|
11
11
|
* Erzeugung: npm run sync:ts-runtime-executables
|
|
12
12
|
*
|
|
13
13
|
* Zweck:
|
|
@@ -8188,9 +8188,10 @@ const _prevRampW = (typeof this._lastTargetW === 'number' && Number.isFinite(thi
|
|
|
8188
8188
|
const appsRoot = (rootCfg.emsApps && typeof rootCfg.emsApps === 'object') ? rootCfg.emsApps : {};
|
|
8189
8189
|
const apps = (appsRoot.apps && typeof appsRoot.apps === 'object') ? appsRoot.apps : {};
|
|
8190
8190
|
const singleApp = (apps.storage && typeof apps.storage === 'object') ? apps.storage : null;
|
|
8191
|
-
const
|
|
8191
|
+
const deviceAssignmentDisabled = rootCfg.storage?._eosDevice?.v === 1 && rootCfg.storage?.enabled === false;
|
|
8192
|
+
const singleAppActive = !deviceAssignmentDisabled && (singleApp
|
|
8192
8193
|
? (singleApp.installed === true && singleApp.enabled === true)
|
|
8193
|
-
: (rootCfg.enableStorageControl === true);
|
|
8194
|
+
: (rootCfg.enableStorageControl === true));
|
|
8194
8195
|
|
|
8195
8196
|
const farm = (this.adapter && typeof this.adapter._nwGetStorageFarmRuntimeInfo === 'function')
|
|
8196
8197
|
? this.adapter._nwGetStorageFarmRuntimeInfo()
|
|
@@ -8280,7 +8281,7 @@ const _prevRampW = (typeof this._lastTargetW === 'number' && Number.isFinite(thi
|
|
|
8280
8281
|
? (app.installed === true && app.enabled === true)
|
|
8281
8282
|
: (rootCfg.enableStorageFarm === true);
|
|
8282
8283
|
|
|
8283
|
-
return !!(enabledByConfig && configuredCount >=
|
|
8284
|
+
return !!(enabledByConfig && configuredCount >= 1);
|
|
8284
8285
|
} catch {
|
|
8285
8286
|
return false;
|
|
8286
8287
|
}
|
|
@@ -9038,7 +9039,7 @@ const _prevRampW = (typeof this._lastTargetW === 'number' && Number.isFinite(thi
|
|
|
9038
9039
|
], { familyChanged: true });
|
|
9039
9040
|
this._feneconGridReleasedDirectTarget = release.ok === true;
|
|
9040
9041
|
await this._setIfChanged('speicher.regelung.feneconGridReleaseStatus', release.ok
|
|
9041
|
-
? ('
|
|
9042
|
+
? ((release.pending ? 'Nullvorgaben angefordert; Treiberquittierung ausstehend' : 'Nullvorgaben vom Treiber bestätigt') + (reason ? ': ' + String(reason) : ''))
|
|
9042
9043
|
: ('Freigabe fehlgeschlagen' + (reason ? ': ' + String(reason) : '')));
|
|
9043
9044
|
return release;
|
|
9044
9045
|
}
|
|
@@ -9067,7 +9068,9 @@ const _prevRampW = (typeof this._lastTargetW === 'number' && Number.isFinite(thi
|
|
|
9067
9068
|
const verify = await this._verifyStorageCommandDatapoints([
|
|
9068
9069
|
{ key: 'st.feneconGridSetpointW', entry, type: 'number', value: valueW, role: 'fenecon-fems-grid-target' },
|
|
9069
9070
|
], { attempts: 3, delayMs: 30 });
|
|
9070
|
-
const ok = writeResult !== false && (!verify.supported || verify.ok === true);
|
|
9071
|
+
const ok = writeResult !== false && (!verify.supported || verify.ok === true || verify.pending === true);
|
|
9072
|
+
const confirmationStatus = verify.pending ? 'pending-ack'
|
|
9073
|
+
: (verify.ok && verify.supported ? 'driver-acknowledged' : 'submitted-unverified');
|
|
9071
9074
|
if (ok) {
|
|
9072
9075
|
// Ein idempotent übersprungener Write (`null`) bestätigt den aktuellen
|
|
9073
9076
|
// DP-Wert, startet den FEMS-API-Watchdog aber nicht neu. Nur ein real
|
|
@@ -9086,7 +9089,7 @@ const _prevRampW = (typeof this._lastTargetW === 'number' && Number.isFinite(thi
|
|
|
9086
9089
|
await this._setIfChanged('speicher.regelung.feneconGridSchreibOk', ok);
|
|
9087
9090
|
await this._setIfChanged(
|
|
9088
9091
|
'speicher.regelung.feneconGridSchreibStatus',
|
|
9089
|
-
ok ?
|
|
9092
|
+
ok ? confirmationStatus : (verify && verify.status ? String(verify.status) : 'write-failed'),
|
|
9090
9093
|
);
|
|
9091
9094
|
await this._setIfChanged('speicher.regelung.feneconGridTargetObjId', objectId);
|
|
9092
9095
|
await this._setIfChanged('speicher.regelung.feneconGridLastWriteRaw', valueW);
|
|
@@ -9094,7 +9097,7 @@ const _prevRampW = (typeof this._lastTargetW === 'number' && Number.isFinite(thi
|
|
|
9094
9097
|
ok,
|
|
9095
9098
|
wrote: writeResult === true,
|
|
9096
9099
|
skipped: writeResult === null,
|
|
9097
|
-
status: ok ?
|
|
9100
|
+
status: ok ? confirmationStatus : 'write-failed',
|
|
9098
9101
|
objectId,
|
|
9099
9102
|
valueW,
|
|
9100
9103
|
verify,
|
|
@@ -9181,6 +9184,7 @@ const _prevRampW = (typeof this._lastTargetW === 'number' && Number.isFinite(thi
|
|
|
9181
9184
|
reason: '',
|
|
9182
9185
|
ts: Number.isFinite(Number(state.ts)) ? Number(state.ts) : null,
|
|
9183
9186
|
ack: typeof state.ack === 'boolean' ? state.ack : null,
|
|
9187
|
+
q: state.q,
|
|
9184
9188
|
};
|
|
9185
9189
|
} catch (error) {
|
|
9186
9190
|
return {
|
|
@@ -9242,7 +9246,7 @@ const _prevRampW = (typeof this._lastTargetW === 'number' && Number.isFinite(thi
|
|
|
9242
9246
|
} else {
|
|
9243
9247
|
const actualNumber = typeof actual === 'number'
|
|
9244
9248
|
? actual
|
|
9245
|
-
:
|
|
9249
|
+
: (typeof actual === 'string' && actual.trim() ? Number(actual.trim().replace(',', '.')) : Number.NaN);
|
|
9246
9250
|
const expectedNumber = Number(expected.raw);
|
|
9247
9251
|
const tolerance = Math.max(0.000001, Math.abs(expectedNumber) * 0.000001);
|
|
9248
9252
|
ok = Number.isFinite(actualNumber) && Number.isFinite(expectedNumber)
|
|
@@ -9251,6 +9255,19 @@ const _prevRampW = (typeof this._lastTargetW === 'number' && Number.isFinite(thi
|
|
|
9251
9255
|
actual = Number.isFinite(actualNumber) ? actualNumber : current.raw;
|
|
9252
9256
|
}
|
|
9253
9257
|
|
|
9258
|
+
const matches = ok;
|
|
9259
|
+
// Record dispatch start, not the registry's completion time:
|
|
9260
|
+
// a real driver ack may arrive before writeNumber resolves.
|
|
9261
|
+
const previousWrite = this._storageCommandRequests instanceof Map
|
|
9262
|
+
? this._storageCommandRequests.get(String(item.key)) : null;
|
|
9263
|
+
const notBeforeTs = previousWrite && previousWrite.objectId === item.objectId && Number.isFinite(previousWrite.ts) ? previousWrite.ts : 0;
|
|
9264
|
+
const qualityOk = current.q === undefined || current.q === 0;
|
|
9265
|
+
const currentAck = Number.isFinite(current.ts) && current.ts > 0
|
|
9266
|
+
&& current.ts >= notBeforeTs && current.ts <= Date.now() + 1000;
|
|
9267
|
+
ok = matches && qualityOk && current.ack === true && currentAck;
|
|
9268
|
+
const pending = matches && qualityOk && !ok;
|
|
9269
|
+
if (matches && !qualityOk) reason = 'quality-invalid';
|
|
9270
|
+
else if (pending) reason = current.ack === true ? 'ack-not-current' : 'ack-not-received';
|
|
9254
9271
|
finalRows.push({
|
|
9255
9272
|
key: String(item.key || ''),
|
|
9256
9273
|
objectId: item.objectId,
|
|
@@ -9261,22 +9278,28 @@ const _prevRampW = (typeof this._lastTargetW === 'number' && Number.isFinite(thi
|
|
|
9261
9278
|
actualRaw: actual,
|
|
9262
9279
|
supported: current.supported === true,
|
|
9263
9280
|
ok,
|
|
9281
|
+
pending,
|
|
9282
|
+
confirmationLevel: ok ? 'driver-acknowledged' : (pending ? 'requested' : 'none'),
|
|
9264
9283
|
reason,
|
|
9265
9284
|
ts: current.ts || null,
|
|
9266
9285
|
ack: current.ack,
|
|
9286
|
+
q: current.q === undefined ? null : current.q,
|
|
9267
9287
|
});
|
|
9268
9288
|
}
|
|
9269
9289
|
|
|
9270
9290
|
const supportedRows = finalRows.filter((row) => row.supported);
|
|
9271
9291
|
const supportedMismatches = supportedRows.filter((row) => !row.ok);
|
|
9272
|
-
if (!supportedMismatches.length) {
|
|
9292
|
+
if (!supportedMismatches.length || supportedMismatches.every(row => row.pending === true)) {
|
|
9273
9293
|
const unsupportedRows = finalRows.filter((row) => !row.supported);
|
|
9294
|
+
const pending = supportedMismatches.length > 0 || (supportedRows.length > 0 && unsupportedRows.length > 0);
|
|
9274
9295
|
return {
|
|
9275
9296
|
supported: supportedRows.length > 0,
|
|
9276
|
-
ok:
|
|
9297
|
+
ok: !pending,
|
|
9298
|
+
pending,
|
|
9299
|
+
confirmationLevel: pending ? 'requested' : (supportedRows.length ? 'driver-acknowledged' : 'none'),
|
|
9277
9300
|
status: supportedRows.length === 0
|
|
9278
9301
|
? 'unavailable'
|
|
9279
|
-
: (unsupportedRows.length ? 'partial-
|
|
9302
|
+
: (pending ? 'pending-ack' : (unsupportedRows.length ? 'partial-driver-acknowledged' : 'driver-acknowledged')),
|
|
9280
9303
|
rows: finalRows,
|
|
9281
9304
|
attempts: attempt,
|
|
9282
9305
|
};
|
|
@@ -9289,6 +9312,8 @@ const _prevRampW = (typeof this._lastTargetW === 'number' && Number.isFinite(thi
|
|
|
9289
9312
|
return {
|
|
9290
9313
|
supported: supportedRows.length > 0,
|
|
9291
9314
|
ok: supportedRows.every((row) => row.ok),
|
|
9315
|
+
pending: false,
|
|
9316
|
+
confirmationLevel: 'none',
|
|
9292
9317
|
status: unsupportedRows.length ? 'partial-mismatch' : 'mismatch',
|
|
9293
9318
|
rows: finalRows,
|
|
9294
9319
|
attempts,
|
|
@@ -9308,9 +9333,17 @@ const _prevRampW = (typeof this._lastTargetW === 'number' && Number.isFinite(thi
|
|
|
9308
9333
|
this._clearStorageCommandWriteCache(entry);
|
|
9309
9334
|
} else {
|
|
9310
9335
|
const pre = await this._verifyStorageCommandDatapoints([{ key, entry, type: 'number', value }], { attempts: 1, delayMs: 0 });
|
|
9311
|
-
if (pre.supported && !pre.ok) this._clearStorageCommandWriteCache(entry);
|
|
9336
|
+
if (pre.supported && !pre.ok && !pre.pending) this._clearStorageCommandWriteCache(entry);
|
|
9312
9337
|
}
|
|
9313
|
-
|
|
9338
|
+
const startedAt = Date.now();
|
|
9339
|
+
const result = await this.dp.writeNumber(key, value, false);
|
|
9340
|
+
if (result === true) {
|
|
9341
|
+
if (!(this._storageCommandRequests instanceof Map)) this._storageCommandRequests = new Map();
|
|
9342
|
+
// Keys are the fixed storage command roles, not an accumulating
|
|
9343
|
+
// history of object IDs across mapping/configuration changes.
|
|
9344
|
+
this._storageCommandRequests.set(String(key), { objectId: String(entry.objectId), ts: startedAt });
|
|
9345
|
+
}
|
|
9346
|
+
return result;
|
|
9314
9347
|
}
|
|
9315
9348
|
|
|
9316
9349
|
async _writeStorageCommandBoolean(key, value, options = {}) {
|
|
@@ -9320,9 +9353,15 @@ const _prevRampW = (typeof this._lastTargetW === 'number' && Number.isFinite(thi
|
|
|
9320
9353
|
this._clearStorageCommandWriteCache(entry);
|
|
9321
9354
|
} else {
|
|
9322
9355
|
const pre = await this._verifyStorageCommandDatapoints([{ key, entry, type: 'boolean', value }], { attempts: 1, delayMs: 0 });
|
|
9323
|
-
if (pre.supported && !pre.ok) this._clearStorageCommandWriteCache(entry);
|
|
9356
|
+
if (pre.supported && !pre.ok && !pre.pending) this._clearStorageCommandWriteCache(entry);
|
|
9357
|
+
}
|
|
9358
|
+
const startedAt = Date.now();
|
|
9359
|
+
const result = await this.dp.writeBoolean(key, value, false);
|
|
9360
|
+
if (result === true) {
|
|
9361
|
+
if (!(this._storageCommandRequests instanceof Map)) this._storageCommandRequests = new Map();
|
|
9362
|
+
this._storageCommandRequests.set(String(key), { objectId: String(entry.objectId), ts: startedAt });
|
|
9324
9363
|
}
|
|
9325
|
-
return
|
|
9364
|
+
return result;
|
|
9326
9365
|
}
|
|
9327
9366
|
|
|
9328
9367
|
async _ensureStorageAlternativeTargetsNeutral(entries = [], options = {}) {
|
|
@@ -9342,8 +9381,8 @@ const _prevRampW = (typeof this._lastTargetW === 'number' && Number.isFinite(thi
|
|
|
9342
9381
|
for (const item of items) {
|
|
9343
9382
|
const expectation = { key: item.key, entry: item.entry, type: 'number', value: 0 };
|
|
9344
9383
|
const before = await this._verifyStorageCommandDatapoints([expectation], { attempts: 1, delayMs: 0 });
|
|
9345
|
-
if (before.supported && before.ok) {
|
|
9346
|
-
rows.push({ key: item.key, objectId: item.entry.objectId, action: 'already-neutral', readback: before });
|
|
9384
|
+
if (before.supported && (before.ok || before.pending)) {
|
|
9385
|
+
rows.push({ key: item.key, objectId: item.entry.objectId, action: before.pending ? 'neutral-requested' : 'already-neutral', readback: before });
|
|
9347
9386
|
continue;
|
|
9348
9387
|
}
|
|
9349
9388
|
if (!before.supported && !familyChanged) {
|
|
@@ -9358,7 +9397,7 @@ const _prevRampW = (typeof this._lastTargetW === 'number' && Number.isFinite(thi
|
|
|
9358
9397
|
writeResult = false;
|
|
9359
9398
|
}
|
|
9360
9399
|
const after = await this._verifyStorageCommandDatapoints([expectation], { attempts: 2, delayMs: 20 });
|
|
9361
|
-
const rowOk = writeResult !== false && (!after.supported || after.ok);
|
|
9400
|
+
const rowOk = writeResult !== false && (!after.supported || after.ok || after.pending);
|
|
9362
9401
|
if (!rowOk) ok = false;
|
|
9363
9402
|
rows.push({
|
|
9364
9403
|
key: item.key,
|
|
@@ -9369,7 +9408,8 @@ const _prevRampW = (typeof this._lastTargetW === 'number' && Number.isFinite(thi
|
|
|
9369
9408
|
readback: after,
|
|
9370
9409
|
});
|
|
9371
9410
|
}
|
|
9372
|
-
|
|
9411
|
+
const pending = rows.some(row => row.readback && row.readback.pending === true);
|
|
9412
|
+
return { ok, pending, status: ok ? (pending ? 'neutral-requested' : 'neutral') : 'release-failed', rows };
|
|
9373
9413
|
}
|
|
9374
9414
|
|
|
9375
9415
|
/**
|
|
@@ -9924,6 +9964,8 @@ const _prevRampW = (typeof this._lastTargetW === 'number' && Number.isFinite(thi
|
|
|
9924
9964
|
commandReadback = {
|
|
9925
9965
|
supported: farmReadbackSupported,
|
|
9926
9966
|
ok: farmReadbackOk,
|
|
9967
|
+
pending: !!(farmDispatchResult && farmDispatchResult.commandDpReadbackPending),
|
|
9968
|
+
confirmationLevel: String((farmDispatchResult && farmDispatchResult.commandConfirmationLevel) || 'none'),
|
|
9927
9969
|
status: String((farmDispatchResult && farmDispatchResult.commandDpReadbackStatus) || (farmReadbackSupported ? (farmReadbackOk ? 'confirmed' : 'mismatch') : 'farm-dispatch')),
|
|
9928
9970
|
rows: farmDispatchResult && Array.isArray(farmDispatchResult.commandDpReadbackRows)
|
|
9929
9971
|
? farmDispatchResult.commandDpReadbackRows
|
|
@@ -10308,7 +10350,7 @@ const _prevRampW = (typeof this._lastTargetW === 'number' && Number.isFinite(thi
|
|
|
10308
10350
|
}
|
|
10309
10351
|
|
|
10310
10352
|
commandReadback = await this._verifyStorageCommandDatapoints(commandExpectations, { attempts: 3, delayMs: 30 });
|
|
10311
|
-
if (commandReadback.supported && !commandReadback.ok) {
|
|
10353
|
+
if (commandReadback.supported && !commandReadback.ok && !commandReadback.pending) {
|
|
10312
10354
|
const rawStatus = commandReadback.status;
|
|
10313
10355
|
commandFailureStatus = classifyCommandReadbackFailure(commandReadback.rows);
|
|
10314
10356
|
commandReadback = { ...commandReadback, rawStatus, status: commandFailureStatus };
|
|
@@ -10592,7 +10634,7 @@ const _prevRampW = (typeof this._lastTargetW === 'number' && Number.isFinite(thi
|
|
|
10592
10634
|
await mk('speicher.regelung.dispatcherJson', 'Dispatcher Details (JSON)', 'string', 'text', '');
|
|
10593
10635
|
|
|
10594
10636
|
await mk('speicher.regelung.sollW', 'Angeforderte Sollleistung Speicher (W)', 'number', 'value.power', 0);
|
|
10595
|
-
await mk('speicher.regelung.acceptedSollW', '
|
|
10637
|
+
await mk('speicher.regelung.acceptedSollW', 'An Schreibpfad übergebene Speicher-Sollleistung (W)', 'number', 'value.power', 0);
|
|
10596
10638
|
await mk('speicher.regelung.commandEffective', 'Mindestens ein wirksamer Speicherbefehl akzeptiert', 'boolean', 'indicator', false);
|
|
10597
10639
|
await mk('speicher.regelung.safetyRequestedW', 'Sollwert vor finaler SafetyEnvelope-Prüfung', 'number', 'value.power', 0);
|
|
10598
10640
|
await mk('speicher.regelung.safetyAllowedW', 'Final durch SafetyEnvelope freigegebener Sollwert', 'number', 'value.power', 0);
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* AUTO-GENERATED RUNTIME FILE - NICHT MANUELL BEARBEITEN.
|
|
8
8
|
*
|
|
9
9
|
* Quelle: src-ts/runtime-executables/ems/modules/tarif-vis.ts
|
|
10
|
-
* Quell-Hash: sha256:
|
|
10
|
+
* Quell-Hash: sha256:2059a2f9ed5bc8d2350a4885ae37d34153bc6825549fc50d562d59470c5d9ace
|
|
11
11
|
* Erzeugung: npm run sync:ts-runtime-executables
|
|
12
12
|
*
|
|
13
13
|
* Zweck:
|
|
@@ -74,6 +74,7 @@
|
|
|
74
74
|
'use strict';
|
|
75
75
|
|
|
76
76
|
const { BaseModule } = require('./base');
|
|
77
|
+
const { tariffPriceUnit, normalizeTariffPrice } = require('../../lib/tariff-price');
|
|
77
78
|
|
|
78
79
|
/**
|
|
79
80
|
* Speicher-Netzladen ist strikt an einen frischen, aktiven und als „günstig“
|
|
@@ -528,22 +529,28 @@ class TarifVisModule extends BaseModule {
|
|
|
528
529
|
* Zusammenhang: Gehört zu EMS-Modul (Regelungs-, Diagnose- oder Beratungslogik innerhalb der EMS-Engine) und wird von benachbarten UI-/API-/EMS-Bausteinen genutzt.
|
|
529
530
|
* Wartung/TypeScript: Änderungen an Signatur oder Rückgabe können abhängige Aufrufer beeinflussen; Aufrufstellen mitprüfen. Beim TS-Umbau Parameter, Rückgabe und genutzte State-/Config-Objekte explizit typisieren.
|
|
530
531
|
*/
|
|
531
|
-
_normalizePriceEurPerKwh(v, fallback = null) {
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
532
|
+
_normalizePriceEurPerKwh(v, fallback = null, unit = 'auto') {
|
|
533
|
+
// Preserve the established locale parser, but never interpret status values as money.
|
|
534
|
+
if (typeof v !== 'number' && typeof v !== 'string') return fallback;
|
|
535
|
+
const parsed = this._num(v, null);
|
|
536
|
+
const value = normalizeTariffPrice(parsed, tariffPriceUnit(unit));
|
|
537
|
+
return value === null ? fallback : value;
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
/** Preis-Einheit aus dem tatsächlichen Mapping: eigene Provider-DPs sind EUR/kWh.
|
|
541
|
+
* Manuelle Einheiten bleiben erhalten; nicht typisierte Legacy-Quellen nutzen Auto. */
|
|
542
|
+
_priceInputUnit(key, field, providerSuffix) {
|
|
543
|
+
const entry = this.dp && typeof this.dp.getEntry === 'function' ? this.dp.getEntry(key) : null;
|
|
544
|
+
if (entry?.objectId === `${this.adapter.namespace}.tariffProvider.${providerSuffix}`) return 'EUR/kWh';
|
|
545
|
+
const units = this.adapter?.config?.units || {};
|
|
546
|
+
const configured = field === 'priceCurrent' ? units.priceCurrent : field === 'priceAverage' ? units.priceAverage
|
|
547
|
+
: field === 'priceTodayJson' ? units.priceTodayJson : field === 'priceTomorrowJson' ? units.priceTomorrowJson : '';
|
|
548
|
+
for (const candidate of [configured, entry?.unitIn, entry?.unit]) {
|
|
549
|
+
const unit = tariffPriceUnit(candidate);
|
|
550
|
+
if (unit !== 'auto') return unit;
|
|
551
|
+
}
|
|
552
|
+
return 'auto';
|
|
553
|
+
}
|
|
547
554
|
|
|
548
555
|
/**
|
|
549
556
|
* Code-Teil: Methode `_parsePriceCurve`
|
|
@@ -557,7 +564,7 @@ class TarifVisModule extends BaseModule {
|
|
|
557
564
|
* Zusammenhang: Teil von EMS-Modul: Regelung, Diagnose oder Beratung; Aufrufstellen und abhängige States/APIs beim Ändern mitprüfen.
|
|
558
565
|
* TypeScript: Parameter, Rückgabewert und verwendete Config-/State-Objekte später explizit typisieren.
|
|
559
566
|
*/
|
|
560
|
-
_parsePriceCurve(raw) {
|
|
567
|
+
_parsePriceCurve(raw, unit = 'auto') {
|
|
561
568
|
// Accepts either a JSON string or already-parsed array/object.
|
|
562
569
|
// Expected (tibber-like) schema: [{ total: 0.318, startsAt: "...", endsAt: "..." }, ...]
|
|
563
570
|
if (raw === null || raw === undefined) return [];
|
|
@@ -629,7 +636,7 @@ class TarifVisModule extends BaseModule {
|
|
|
629
636
|
continue;
|
|
630
637
|
}
|
|
631
638
|
const raw = (typeof it === 'number') ? it : Number(String(it).trim());
|
|
632
|
-
const priceEurKwh = this._normalizePriceEurPerKwh(raw, null);
|
|
639
|
+
const priceEurKwh = this._normalizePriceEurPerKwh(raw, null, unit);
|
|
633
640
|
if (!Number.isFinite(priceEurKwh)) {
|
|
634
641
|
idx++;
|
|
635
642
|
continue;
|
|
@@ -662,7 +669,12 @@ class TarifVisModule extends BaseModule {
|
|
|
662
669
|
else if (it.price.value !== undefined) pRaw = it.price.value;
|
|
663
670
|
}
|
|
664
671
|
|
|
665
|
-
|
|
672
|
+
// The normalized provider/Tibber contract is already EUR/kWh. Explicit
|
|
673
|
+
// units still take precedence for manually mapped structured curves.
|
|
674
|
+
const rowUnit = tariffPriceUnit(it.unit);
|
|
675
|
+
const curveUnit = unit !== 'auto' ? unit : rowUnit !== 'auto' ? rowUnit
|
|
676
|
+
: (typeof it.total === 'number' && typeof it.startsAt === 'string' && it.currency === 'EUR') ? 'EUR/kWh' : 'auto';
|
|
677
|
+
const price = this._normalizePriceEurPerKwh(pRaw, null, curveUnit);
|
|
666
678
|
if (typeof price !== 'number' || !Number.isFinite(price)) continue;
|
|
667
679
|
|
|
668
680
|
// Time field heuristics
|
|
@@ -1098,7 +1110,7 @@ class TarifVisModule extends BaseModule {
|
|
|
1098
1110
|
const currentPriceDirectFresh = currentPriceAgeMs === null || currentPriceAgeMs === undefined || currentPriceAgeMs <= currentPriceMaxAgeMs;
|
|
1099
1111
|
if (this.dp && typeof this.dp.getEntry === 'function' && this.dp.getEntry('tarif.preisAktuellEurProKwh')) {
|
|
1100
1112
|
const raw = this.dp.getNumberFresh('tarif.preisAktuellEurProKwh', currentPriceMaxAgeMs, null);
|
|
1101
|
-
preisAktuell = this._normalizePriceEurPerKwh(raw, null);
|
|
1113
|
+
preisAktuell = this._normalizePriceEurPerKwh(raw, null, this._priceInputUnit('tarif.preisAktuellEurProKwh', 'priceCurrent', 'currentPriceEurPerKwh'));
|
|
1102
1114
|
if (typeof preisAktuell === 'number' && Number.isFinite(preisAktuell)) preisAktuellSource = 'provider-current';
|
|
1103
1115
|
}
|
|
1104
1116
|
|
|
@@ -1108,7 +1120,7 @@ class TarifVisModule extends BaseModule {
|
|
|
1108
1120
|
: null;
|
|
1109
1121
|
if (this.dp && typeof this.dp.getEntry === 'function' && this.dp.getEntry('tarif.preisDurchschnittEurProKwh')) {
|
|
1110
1122
|
const raw = this.dp.getNumberFresh('tarif.preisDurchschnittEurProKwh', averagePriceMaxAgeMs, null);
|
|
1111
|
-
preisDurchschnitt = this._normalizePriceEurPerKwh(raw, null);
|
|
1123
|
+
preisDurchschnitt = this._normalizePriceEurPerKwh(raw, null, this._priceInputUnit('tarif.preisDurchschnittEurProKwh', 'priceAverage', 'averagePriceEurPerKwh'));
|
|
1112
1124
|
}
|
|
1113
1125
|
|
|
1114
1126
|
const preisVisOk = (typeof preisGrenzeVis === 'number' && Number.isFinite(preisGrenzeVis));
|
|
@@ -1164,8 +1176,8 @@ class TarifVisModule extends BaseModule {
|
|
|
1164
1176
|
? this.dp.getRaw('tarif.pricesTomorrowJson')
|
|
1165
1177
|
: null;
|
|
1166
1178
|
|
|
1167
|
-
const todayArr = this._parsePriceCurve(rawToday);
|
|
1168
|
-
const tomorrowArr = this._parsePriceCurve(rawTomorrow);
|
|
1179
|
+
const todayArr = this._parsePriceCurve(rawToday, this._priceInputUnit('tarif.pricesTodayJson', 'priceTodayJson', 'pricesTodayJson'));
|
|
1180
|
+
const tomorrowArr = this._parsePriceCurve(rawTomorrow, this._priceInputUnit('tarif.pricesTomorrowJson', 'priceTomorrowJson', 'pricesTomorrowJson'));
|
|
1169
1181
|
|
|
1170
1182
|
const all = [...todayArr, ...tomorrowArr]
|
|
1171
1183
|
.filter(x => x && Number.isFinite(x.startMs) && Number.isFinite(x.endMs) && Number.isFinite(x.priceEurKwh))
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* AUTO-GENERATED RUNTIME FILE - NICHT MANUELL BEARBEITEN.
|
|
8
8
|
*
|
|
9
9
|
* Quelle: src-ts/runtime-executables/ems/modules/tariff-provider.ts
|
|
10
|
-
* Quell-Hash: sha256:
|
|
10
|
+
* Quell-Hash: sha256:217202ce9ba4fde752c10636edc4f6020ecb9af79ce98d86fedde79c0738ce64
|
|
11
11
|
* Erzeugung: npm run sync:ts-runtime-executables
|
|
12
12
|
*
|
|
13
13
|
* Zweck:
|
|
@@ -244,6 +244,10 @@ class TariffProviderModule extends BaseModule {
|
|
|
244
244
|
country: String(cfg.country || this.adapter?.config?.countryProfile?.country || 'DE').toUpperCase() === 'NL' ? 'NL' : 'DE',
|
|
245
245
|
timeZone: String(cfg.timeZone || (String(cfg.country || '').toUpperCase() === 'NL' ? 'Europe/Amsterdam' : 'Europe/Berlin')),
|
|
246
246
|
...cfg,
|
|
247
|
+
// Tibber liefert die angeforderte Viertelstundenreihe auch bei einer
|
|
248
|
+
// gespeicherten älteren 60-Minuten-Auswahl. Die Einstellung anderer
|
|
249
|
+
// Provider und der persistierte Kundenstand bleiben unverändert.
|
|
250
|
+
...(this._providerSourceId(cfg) === 'tibber' ? { resolutionMinutes: 15 } : {}),
|
|
247
251
|
// Nach ...cfg begrenzen: eine gespeicherte Alt-Konfiguration darf
|
|
248
252
|
// die 5-s-Gesamtfrist einschließlich OAuth nicht überschreiben.
|
|
249
253
|
timeoutMs: Math.max(1, Math.min(5000, Math.round(Number(cfg.timeoutMs) || 5000))),
|
|
@@ -295,9 +299,10 @@ class TariffProviderModule extends BaseModule {
|
|
|
295
299
|
const split = splitTodayTomorrow(this._intervals, nowMs, cfg && cfg.timeZone);
|
|
296
300
|
const hour = this._localHour(nowMs, cfg && cfg.timeZone);
|
|
297
301
|
// Tibber recommends caching today/tomorrow and avoiding frequent
|
|
298
|
-
// price requests. Once tomorrow is available,
|
|
299
|
-
//
|
|
300
|
-
//
|
|
302
|
+
// price requests. Once tomorrow is available, prefer a six-hour
|
|
303
|
+
// cadence; _scheduleNextFetch shortens it when the customer's
|
|
304
|
+
// freshness deadline requires an earlier refresh. During the
|
|
305
|
+
// expected publication window retry hourly until tomorrow exists.
|
|
301
306
|
if (split.tomorrow.length) return Math.max(requested, 360);
|
|
302
307
|
if (hour >= 12 && hour <= 20) return Math.max(requested, 60);
|
|
303
308
|
return Math.max(requested, 180);
|
|
@@ -314,8 +319,25 @@ class TariffProviderModule extends BaseModule {
|
|
|
314
319
|
const provider = this._providerSourceId(cfg);
|
|
315
320
|
const dayKey = Math.floor(Number(nowMs) / (24 * 60 * 60 * 1000));
|
|
316
321
|
const jitter = this._stableJitterFactor(`${this.adapter && this.adapter.namespace || 'nexowatt-ui'}:${provider}:${dayKey}:${this._consecutiveErrors}`);
|
|
317
|
-
|
|
318
|
-
|
|
322
|
+
const now = Number(nowMs);
|
|
323
|
+
let delayMs = effectiveMinutes * 60 * 1000 * jitter;
|
|
324
|
+
let boundedMinutes = effectiveMinutes;
|
|
325
|
+
// A provider's economical fetch cadence must never schedule a known
|
|
326
|
+
// successful curve beyond the customer's existing freshness deadline.
|
|
327
|
+
// Leave time for the bounded request and another attempt; apply this
|
|
328
|
+
// ceiling after jitter, without extending freshness or relabeling data.
|
|
329
|
+
if (this._lastSuccessMs > 0) {
|
|
330
|
+
const freshnessMs = Math.max(30, Math.min(4320, Number(cfg?.maxStaleMinutes) || 180)) * 60 * 1000;
|
|
331
|
+
const remainingMs = this._lastSuccessMs + freshnessMs - now;
|
|
332
|
+
const reserveMs = Math.max(10000, Math.min(300000, freshnessMs * 0.1));
|
|
333
|
+
if (remainingMs > 0) {
|
|
334
|
+
const boundedDelay = Math.min(delayMs, Math.max(60000, remainingMs - reserveMs));
|
|
335
|
+
if (boundedDelay < delayMs) boundedMinutes = boundedDelay / 60000;
|
|
336
|
+
delayMs = boundedDelay;
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
this._effectiveRefreshMinutes = Math.round(boundedMinutes * 100) / 100;
|
|
340
|
+
this._nextFetchMs = Math.round(now + delayMs);
|
|
319
341
|
return this._nextFetchMs;
|
|
320
342
|
}
|
|
321
343
|
|