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
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
✖ quarter-hour negative, zero and positive EUR quotes retain signed costs and fixed fee split (7.150436ms)
|
|
2
|
+
✔ manual positive tariff behavior and zero quotation remain exact (42.48389ms)
|
|
3
|
+
✔ time-weighted chart quote and energy-weighted summary keep their distinct existing definitions (7.124248ms)
|
|
4
|
+
✖ known gross price derives a negative base without altering nonnegative fee semantics (2.561998ms)
|
|
5
|
+
✖ unknown quotes stay unknown and do not become free interval prices (18.328838ms)
|
|
6
|
+
✖ price and cost Canvas axes include negative values instead of clipping them to zero (8.948014ms)
|
|
7
|
+
ℹ tests 6
|
|
8
|
+
ℹ suites 0
|
|
9
|
+
ℹ pass 2
|
|
10
|
+
ℹ fail 4
|
|
11
|
+
ℹ cancelled 0
|
|
12
|
+
ℹ skipped 0
|
|
13
|
+
ℹ todo 0
|
|
14
|
+
ℹ duration_ms 898.255199
|
|
15
|
+
|
|
16
|
+
✖ failing tests:
|
|
17
|
+
|
|
18
|
+
test at test/eos-history-negative-pricing.test.cjs:44:1
|
|
19
|
+
✖ quarter-hour negative, zero and positive EUR quotes retain signed costs and fixed fee split (7.150436ms)
|
|
20
|
+
AssertionError [ERR_ASSERTION]: 0 !== -0.2
|
|
21
|
+
at close (/workspace/scratch/741f792566ea/source-920/iobroker.eos-admin/test/eos-history-negative-pricing.test.cjs:42:44)
|
|
22
|
+
at /workspace/scratch/741f792566ea/source-920/iobroker.eos-admin/test/eos-history-negative-pricing.test.cjs:49:32
|
|
23
|
+
at Array.forEach (<anonymous>)
|
|
24
|
+
at TestContext.<anonymous> (/workspace/scratch/741f792566ea/source-920/iobroker.eos-admin/test/eos-history-negative-pricing.test.cjs:49:9)
|
|
25
|
+
at Test.runInAsyncScope (node:async_hooks:227:14)
|
|
26
|
+
at Test.run (node:internal/test_runner/test:1402:25)
|
|
27
|
+
at Test.start (node:internal/test_runner/test:1262:17)
|
|
28
|
+
at startSubtestAfterBootstrap (node:internal/test_runner/harness:387:17) {
|
|
29
|
+
generatedMessage: false,
|
|
30
|
+
code: 'ERR_ASSERTION',
|
|
31
|
+
actual: false,
|
|
32
|
+
expected: true,
|
|
33
|
+
operator: '==',
|
|
34
|
+
diff: 'simple'
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
test at test/eos-history-negative-pricing.test.cjs:80:1
|
|
38
|
+
✖ known gross price derives a negative base without altering nonnegative fee semantics (2.561998ms)
|
|
39
|
+
AssertionError [ERR_ASSERTION]: 0 !== -0.1
|
|
40
|
+
at close (/workspace/scratch/741f792566ea/source-920/iobroker.eos-admin/test/eos-history-negative-pricing.test.cjs:42:44)
|
|
41
|
+
at TestContext.<anonymous> (/workspace/scratch/741f792566ea/source-920/iobroker.eos-admin/test/eos-history-negative-pricing.test.cjs:84:5)
|
|
42
|
+
at Test.runInAsyncScope (node:async_hooks:227:14)
|
|
43
|
+
at Test.run (node:internal/test_runner/test:1402:25)
|
|
44
|
+
at Test.processPendingSubtests (node:internal/test_runner/test:974:18)
|
|
45
|
+
at Test.postRun (node:internal/test_runner/test:1542:19)
|
|
46
|
+
at Test.run (node:internal/test_runner/test:1467:12)
|
|
47
|
+
at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
|
|
48
|
+
generatedMessage: false,
|
|
49
|
+
code: 'ERR_ASSERTION',
|
|
50
|
+
actual: false,
|
|
51
|
+
expected: true,
|
|
52
|
+
operator: '==',
|
|
53
|
+
diff: 'simple'
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
test at test/eos-history-negative-pricing.test.cjs:87:1
|
|
57
|
+
✖ unknown quotes stay unknown and do not become free interval prices (18.328838ms)
|
|
58
|
+
AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
|
|
59
|
+
|
|
60
|
+
assert.ok(raw.every(iv => !Number.isFinite(iv.total) && !Number.isFinite(iv.costEur)))
|
|
61
|
+
|
|
62
|
+
at TestContext.<anonymous> (/workspace/scratch/741f792566ea/source-920/iobroker.eos-admin/test/eos-history-negative-pricing.test.cjs:89:12)
|
|
63
|
+
at Test.runInAsyncScope (node:async_hooks:227:14)
|
|
64
|
+
at Test.run (node:internal/test_runner/test:1402:25)
|
|
65
|
+
at Test.processPendingSubtests (node:internal/test_runner/test:974:18)
|
|
66
|
+
at Test.postRun (node:internal/test_runner/test:1542:19)
|
|
67
|
+
at Test.run (node:internal/test_runner/test:1467:12)
|
|
68
|
+
at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
|
|
69
|
+
generatedMessage: true,
|
|
70
|
+
code: 'ERR_ASSERTION',
|
|
71
|
+
actual: false,
|
|
72
|
+
expected: true,
|
|
73
|
+
operator: '==',
|
|
74
|
+
diff: 'simple'
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
test at test/eos-history-negative-pricing.test.cjs:98:1
|
|
78
|
+
✖ price and cost Canvas axes include negative values instead of clipping them to zero (8.948014ms)
|
|
79
|
+
AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
|
|
80
|
+
|
|
81
|
+
assert.ok(chart.leftMin < -0.4)
|
|
82
|
+
|
|
83
|
+
at TestContext.<anonymous> (/workspace/scratch/741f792566ea/source-920/iobroker.eos-admin/test/eos-history-negative-pricing.test.cjs:104:12)
|
|
84
|
+
at Test.runInAsyncScope (node:async_hooks:227:14)
|
|
85
|
+
at Test.run (node:internal/test_runner/test:1402:25)
|
|
86
|
+
at Test.processPendingSubtests (node:internal/test_runner/test:974:18)
|
|
87
|
+
at Test.postRun (node:internal/test_runner/test:1542:19)
|
|
88
|
+
at Test.run (node:internal/test_runner/test:1467:12)
|
|
89
|
+
at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
|
|
90
|
+
generatedMessage: true,
|
|
91
|
+
code: 'ERR_ASSERTION',
|
|
92
|
+
actual: false,
|
|
93
|
+
expected: true,
|
|
94
|
+
operator: '==',
|
|
95
|
+
diff: 'simple'
|
|
96
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
TAP version 13
|
|
2
|
+
# (node:27) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time.
|
|
3
|
+
# (Use `node --trace-warnings ...` to show where the warning was created)
|
|
4
|
+
# Subtest: History uses real PV/load fallbacks when derived states are absent or stale; fresh zero stays zero
|
|
5
|
+
ok 1 - History uses real PV/load fallbacks when derived states are absent or stale; fresh zero stays zero
|
|
6
|
+
---
|
|
7
|
+
duration_ms: 2.976873
|
|
8
|
+
type: 'test'
|
|
9
|
+
...
|
|
10
|
+
# Subtest: History never adds DC PV to the already merged canonical derived total
|
|
11
|
+
ok 2 - History never adds DC PV to the already merged canonical derived total
|
|
12
|
+
---
|
|
13
|
+
duration_ms: 0.899525
|
|
14
|
+
type: 'test'
|
|
15
|
+
...
|
|
16
|
+
# Subtest: Farm PV fallback merges once and missing/stale farm SoC is not recorded as zero
|
|
17
|
+
ok 3 - Farm PV fallback merges once and missing/stale farm SoC is not recorded as zero
|
|
18
|
+
---
|
|
19
|
+
duration_ms: 0.475375
|
|
20
|
+
type: 'test'
|
|
21
|
+
...
|
|
22
|
+
# Subtest: missing/null/boolean prices never create a free provider price; configured manual fallback is retained
|
|
23
|
+
ok 4 - missing/null/boolean prices never create a free provider price; configured manual fallback is retained
|
|
24
|
+
---
|
|
25
|
+
duration_ms: 0.662888
|
|
26
|
+
type: 'test'
|
|
27
|
+
...
|
|
28
|
+
# Subtest: provider price freshness flag, age, quality and timestamp are respected without changing manual tariff mode
|
|
29
|
+
ok 5 - provider price freshness flag, age, quality and timestamp are respected without changing manual tariff mode
|
|
30
|
+
---
|
|
31
|
+
duration_ms: 0.443057
|
|
32
|
+
type: 'test'
|
|
33
|
+
...
|
|
34
|
+
# Subtest: zero and negative canonical EUR prices and net-fee decomposition retain exact values
|
|
35
|
+
ok 6 - zero and negative canonical EUR prices and net-fee decomposition retain exact values
|
|
36
|
+
---
|
|
37
|
+
duration_ms: 0.436537
|
|
38
|
+
type: 'test'
|
|
39
|
+
...
|
|
40
|
+
# Subtest: missing grid/battery/PV measurements produce gaps, never fresh invented zeros
|
|
41
|
+
ok 7 - missing grid/battery/PV measurements produce gaps, never fresh invented zeros
|
|
42
|
+
---
|
|
43
|
+
duration_ms: 0.331829
|
|
44
|
+
type: 'test'
|
|
45
|
+
...
|
|
46
|
+
# Subtest: stale raw observations and farm aggregate are not re-stamped as new History samples
|
|
47
|
+
ok 8 - stale raw observations and farm aggregate are not re-stamped as new History samples
|
|
48
|
+
---
|
|
49
|
+
duration_ms: 0.288394
|
|
50
|
+
type: 'test'
|
|
51
|
+
...
|
|
52
|
+
# Subtest: the History sink rejects invalid data and retains real zero/negative measurements
|
|
53
|
+
ok 9 - the History sink rejects invalid data and retains real zero/negative measurements
|
|
54
|
+
---
|
|
55
|
+
duration_ms: 0.510459
|
|
56
|
+
type: 'test'
|
|
57
|
+
...
|
|
58
|
+
1..9
|
|
59
|
+
# tests 9
|
|
60
|
+
# suites 0
|
|
61
|
+
# pass 9
|
|
62
|
+
# fail 0
|
|
63
|
+
# cancelled 0
|
|
64
|
+
# skipped 0
|
|
65
|
+
# todo 0
|
|
66
|
+
# duration_ms 688.509707
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
{"name":"missing-derived ignores valid PV=5000/load=6000","writes":{"historie.core.grid.buyW":{"value":1000,"stamp":1795543200000},"historie.core.grid.sellW":{"value":0,"stamp":1795543200000},"historie.core.grid.netW":{"value":1000,"stamp":1795543200000},"historie.core.pv.totalW":{"value":0,"stamp":1795543200000},"historie.core.building.loadTotalW":{"value":0,"stamp":1795543200000},"historie.core.building.loadRestW":{"value":0,"stamp":1795543200000},"historie.core.storage.chargeW":{"value":0,"stamp":1795543200000},"historie.core.storage.dischargeW":{"value":0,"stamp":1795543200000},"historie.core.ev.totalW":{"value":0,"stamp":1795543200000},"historie.tariff.baseEurPerKwh":{"value":0.25,"stamp":1795543200000},"historie.tariff.netFeeEurPerKwh":{"value":0,"stamp":1795543200000},"historie.tariff.totalEurPerKwh":{"value":0.25,"stamp":1795543200000},"historie.tariff.providerCurrentEurPerKwh":{"value":0,"stamp":1795543200000},"historie.tariff.providerAverageEurPerKwh":{"value":0,"stamp":1795543200000}}}
|
|
2
|
+
{"name":"derived PV=5000 already includes DC=3000, counted again","writes":{"historie.core.grid.buyW":{"value":1000,"stamp":1795543200000},"historie.core.grid.sellW":{"value":0,"stamp":1795543200000},"historie.core.grid.netW":{"value":1000,"stamp":1795543200000},"historie.core.pv.totalW":{"value":8000,"stamp":1795543200000},"historie.core.building.loadTotalW":{"value":6000,"stamp":1795543200000},"historie.core.building.loadRestW":{"value":6000,"stamp":1795543200000},"historie.core.storage.chargeW":{"value":0,"stamp":1795543200000},"historie.core.storage.dischargeW":{"value":0,"stamp":1795543200000},"historie.core.ev.totalW":{"value":0,"stamp":1795543200000},"historie.tariff.baseEurPerKwh":{"value":0,"stamp":1795543200000},"historie.tariff.netFeeEurPerKwh":{"value":0,"stamp":1795543200000},"historie.tariff.totalEurPerKwh":{"value":0,"stamp":1795543200000},"historie.tariff.providerCurrentEurPerKwh":{"value":0,"stamp":1795543200000},"historie.tariff.providerAverageEurPerKwh":{"value":0,"stamp":1795543200000}}}
|
|
3
|
+
{"name":"missing provider price becomes zero instead of unavailable","writes":{"historie.core.grid.buyW":{"value":1000,"stamp":1795543200000},"historie.core.grid.sellW":{"value":0,"stamp":1795543200000},"historie.core.grid.netW":{"value":1000,"stamp":1795543200000},"historie.core.pv.totalW":{"value":0,"stamp":1795543200000},"historie.core.building.loadTotalW":{"value":0,"stamp":1795543200000},"historie.core.building.loadRestW":{"value":0,"stamp":1795543200000},"historie.core.storage.chargeW":{"value":0,"stamp":1795543200000},"historie.core.storage.dischargeW":{"value":0,"stamp":1795543200000},"historie.core.ev.totalW":{"value":0,"stamp":1795543200000},"historie.tariff.baseEurPerKwh":{"value":0,"stamp":1795543200000},"historie.tariff.netFeeEurPerKwh":{"value":0,"stamp":1795543200000},"historie.tariff.totalEurPerKwh":{"value":0,"stamp":1795543200000},"historie.tariff.providerCurrentEurPerKwh":{"value":0,"stamp":1795543200000},"historie.tariff.providerAverageEurPerKwh":{"value":0,"stamp":1795543200000}}}
|
|
4
|
+
{"name":"known stale provider still recorded","writes":{"historie.core.grid.buyW":{"value":1000,"stamp":1795543200000},"historie.core.grid.sellW":{"value":0,"stamp":1795543200000},"historie.core.grid.netW":{"value":1000,"stamp":1795543200000},"historie.core.pv.totalW":{"value":0,"stamp":1795543200000},"historie.core.building.loadTotalW":{"value":0,"stamp":1795543200000},"historie.core.building.loadRestW":{"value":0,"stamp":1795543200000},"historie.core.storage.chargeW":{"value":0,"stamp":1795543200000},"historie.core.storage.dischargeW":{"value":0,"stamp":1795543200000},"historie.core.ev.totalW":{"value":0,"stamp":1795543200000},"historie.tariff.baseEurPerKwh":{"value":0.89,"stamp":1795543200000},"historie.tariff.netFeeEurPerKwh":{"value":0,"stamp":1795543200000},"historie.tariff.totalEurPerKwh":{"value":0.89,"stamp":1795543200000},"historie.tariff.providerCurrentEurPerKwh":{"value":0.89,"stamp":1795543200000},"historie.tariff.providerAverageEurPerKwh":{"value":0,"stamp":1795543200000}}}
|
|
5
|
+
{"name":"missing farmSoC becomes zero","writes":{"historie.core.grid.buyW":{"value":1000,"stamp":1795543200000},"historie.core.grid.sellW":{"value":0,"stamp":1795543200000},"historie.core.grid.netW":{"value":1000,"stamp":1795543200000},"historie.core.pv.totalW":{"value":0,"stamp":1795543200000},"historie.core.building.loadTotalW":{"value":0,"stamp":1795543200000},"historie.core.building.loadRestW":{"value":0,"stamp":1795543200000},"historie.core.storage.chargeW":{"value":0,"stamp":1795543200000},"historie.core.storage.dischargeW":{"value":0,"stamp":1795543200000},"historie.core.storage.socPct":{"value":0,"stamp":1795543200000},"historie.core.ev.totalW":{"value":0,"stamp":1795543200000},"historie.tariff.baseEurPerKwh":{"value":0,"stamp":1795543200000},"historie.tariff.netFeeEurPerKwh":{"value":0,"stamp":1795543200000},"historie.tariff.totalEurPerKwh":{"value":0,"stamp":1795543200000},"historie.tariff.providerCurrentEurPerKwh":{"value":0,"stamp":1795543200000},"historie.tariff.providerAverageEurPerKwh":{"value":0,"stamp":1795543200000}}}
|
|
6
|
+
{"name":"missing grid/battery readings become valid zeros","writes":{"historie.core.grid.buyW":{"value":0,"stamp":1795543200000},"historie.core.grid.sellW":{"value":0,"stamp":1795543200000},"historie.core.grid.netW":{"value":0,"stamp":1795543200000},"historie.core.pv.totalW":{"value":0,"stamp":1795543200000},"historie.core.building.loadTotalW":{"value":0,"stamp":1795543200000},"historie.core.building.loadRestW":{"value":0,"stamp":1795543200000},"historie.core.storage.chargeW":{"value":0,"stamp":1795543200000},"historie.core.storage.dischargeW":{"value":0,"stamp":1795543200000},"historie.core.ev.totalW":{"value":0,"stamp":1795543200000},"historie.tariff.baseEurPerKwh":{"value":0,"stamp":1795543200000},"historie.tariff.netFeeEurPerKwh":{"value":0,"stamp":1795543200000},"historie.tariff.totalEurPerKwh":{"value":0,"stamp":1795543200000},"historie.tariff.providerCurrentEurPerKwh":{"value":0,"stamp":1795543200000},"historie.tariff.providerAverageEurPerKwh":{"value":0,"stamp":1795543200000}}}
|
|
7
|
+
{"name":"sink coerces null","writes":{"test.null":{"value":0,"stamp":1795543200000}}}
|
|
8
|
+
CONFIRMED 7 issue scenarios with actual shipped method bodies, simulated cache/sink context. No source changes.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
✔ History uses real PV/load fallbacks when derived states are absent or stale; fresh zero stays zero (2.520365ms)
|
|
2
|
+
✔ History never adds DC PV to the already merged canonical derived total (0.421995ms)
|
|
3
|
+
✔ Farm PV fallback merges once and missing/stale farm SoC is not recorded as zero (0.414744ms)
|
|
4
|
+
✔ missing/null/boolean prices never create a free provider price; configured manual fallback is retained (0.614556ms)
|
|
5
|
+
✔ provider price freshness flag, age, quality and timestamp are respected without changing manual tariff mode (0.545021ms)
|
|
6
|
+
✔ zero and negative canonical EUR prices and net-fee decomposition retain exact values (0.39887ms)
|
|
7
|
+
✔ missing grid/battery/PV measurements produce gaps, never fresh invented zeros (0.224758ms)
|
|
8
|
+
✔ stale raw observations and farm aggregate are not re-stamped as new History samples (0.239541ms)
|
|
9
|
+
✔ the History sink rejects invalid data and retains real zero/negative measurements (0.353282ms)
|
|
10
|
+
ℹ tests 9
|
|
11
|
+
ℹ suites 0
|
|
12
|
+
ℹ pass 9
|
|
13
|
+
ℹ fail 0
|
|
14
|
+
ℹ cancelled 0
|
|
15
|
+
ℹ skipped 0
|
|
16
|
+
ℹ todo 0
|
|
17
|
+
ℹ duration_ms 990.804037
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
{"name":"missing-derived ignores valid PV=5000/load=6000","writes":{"historie.core.grid.buyW":{"value":1000,"stamp":1795543200000},"historie.core.grid.sellW":{"value":0,"stamp":1795543200000},"historie.core.grid.netW":{"value":1000,"stamp":1795543200000},"historie.core.pv.totalW":{"value":0,"stamp":1795543200000},"historie.core.building.loadTotalW":{"value":0,"stamp":1795543200000},"historie.core.building.loadRestW":{"value":0,"stamp":1795543200000},"historie.core.storage.chargeW":{"value":0,"stamp":1795543200000},"historie.core.storage.dischargeW":{"value":0,"stamp":1795543200000},"historie.core.ev.totalW":{"value":0,"stamp":1795543200000},"historie.tariff.baseEurPerKwh":{"value":0.25,"stamp":1795543200000},"historie.tariff.netFeeEurPerKwh":{"value":0,"stamp":1795543200000},"historie.tariff.totalEurPerKwh":{"value":0.25,"stamp":1795543200000},"historie.tariff.providerCurrentEurPerKwh":{"value":0,"stamp":1795543200000},"historie.tariff.providerAverageEurPerKwh":{"value":0,"stamp":1795543200000}}}
|
|
2
|
+
{"name":"derived PV=5000 already includes DC=3000, counted again","writes":{"historie.core.grid.buyW":{"value":1000,"stamp":1795543200000},"historie.core.grid.sellW":{"value":0,"stamp":1795543200000},"historie.core.grid.netW":{"value":1000,"stamp":1795543200000},"historie.core.pv.totalW":{"value":8000,"stamp":1795543200000},"historie.core.building.loadTotalW":{"value":6000,"stamp":1795543200000},"historie.core.building.loadRestW":{"value":6000,"stamp":1795543200000},"historie.core.storage.chargeW":{"value":0,"stamp":1795543200000},"historie.core.storage.dischargeW":{"value":0,"stamp":1795543200000},"historie.core.ev.totalW":{"value":0,"stamp":1795543200000},"historie.tariff.baseEurPerKwh":{"value":0,"stamp":1795543200000},"historie.tariff.netFeeEurPerKwh":{"value":0,"stamp":1795543200000},"historie.tariff.totalEurPerKwh":{"value":0,"stamp":1795543200000},"historie.tariff.providerCurrentEurPerKwh":{"value":0,"stamp":1795543200000},"historie.tariff.providerAverageEurPerKwh":{"value":0,"stamp":1795543200000}}}
|
|
3
|
+
{"name":"missing provider price becomes zero instead of unavailable","writes":{"historie.core.grid.buyW":{"value":1000,"stamp":1795543200000},"historie.core.grid.sellW":{"value":0,"stamp":1795543200000},"historie.core.grid.netW":{"value":1000,"stamp":1795543200000},"historie.core.pv.totalW":{"value":0,"stamp":1795543200000},"historie.core.building.loadTotalW":{"value":0,"stamp":1795543200000},"historie.core.building.loadRestW":{"value":0,"stamp":1795543200000},"historie.core.storage.chargeW":{"value":0,"stamp":1795543200000},"historie.core.storage.dischargeW":{"value":0,"stamp":1795543200000},"historie.core.ev.totalW":{"value":0,"stamp":1795543200000},"historie.tariff.baseEurPerKwh":{"value":0,"stamp":1795543200000},"historie.tariff.netFeeEurPerKwh":{"value":0,"stamp":1795543200000},"historie.tariff.totalEurPerKwh":{"value":0,"stamp":1795543200000},"historie.tariff.providerCurrentEurPerKwh":{"value":0,"stamp":1795543200000},"historie.tariff.providerAverageEurPerKwh":{"value":0,"stamp":1795543200000}}}
|
|
4
|
+
{"name":"known stale provider still recorded","writes":{"historie.core.grid.buyW":{"value":1000,"stamp":1795543200000},"historie.core.grid.sellW":{"value":0,"stamp":1795543200000},"historie.core.grid.netW":{"value":1000,"stamp":1795543200000},"historie.core.pv.totalW":{"value":0,"stamp":1795543200000},"historie.core.building.loadTotalW":{"value":0,"stamp":1795543200000},"historie.core.building.loadRestW":{"value":0,"stamp":1795543200000},"historie.core.storage.chargeW":{"value":0,"stamp":1795543200000},"historie.core.storage.dischargeW":{"value":0,"stamp":1795543200000},"historie.core.ev.totalW":{"value":0,"stamp":1795543200000},"historie.tariff.baseEurPerKwh":{"value":0.89,"stamp":1795543200000},"historie.tariff.netFeeEurPerKwh":{"value":0,"stamp":1795543200000},"historie.tariff.totalEurPerKwh":{"value":0.89,"stamp":1795543200000},"historie.tariff.providerCurrentEurPerKwh":{"value":0.89,"stamp":1795543200000},"historie.tariff.providerAverageEurPerKwh":{"value":0,"stamp":1795543200000}}}
|
|
5
|
+
{"name":"missing farmSoC becomes zero","writes":{"historie.core.grid.buyW":{"value":1000,"stamp":1795543200000},"historie.core.grid.sellW":{"value":0,"stamp":1795543200000},"historie.core.grid.netW":{"value":1000,"stamp":1795543200000},"historie.core.pv.totalW":{"value":0,"stamp":1795543200000},"historie.core.building.loadTotalW":{"value":0,"stamp":1795543200000},"historie.core.building.loadRestW":{"value":0,"stamp":1795543200000},"historie.core.storage.chargeW":{"value":0,"stamp":1795543200000},"historie.core.storage.dischargeW":{"value":0,"stamp":1795543200000},"historie.core.storage.socPct":{"value":0,"stamp":1795543200000},"historie.core.ev.totalW":{"value":0,"stamp":1795543200000},"historie.tariff.baseEurPerKwh":{"value":0,"stamp":1795543200000},"historie.tariff.netFeeEurPerKwh":{"value":0,"stamp":1795543200000},"historie.tariff.totalEurPerKwh":{"value":0,"stamp":1795543200000},"historie.tariff.providerCurrentEurPerKwh":{"value":0,"stamp":1795543200000},"historie.tariff.providerAverageEurPerKwh":{"value":0,"stamp":1795543200000}}}
|
|
6
|
+
{"name":"missing grid/battery readings become valid zeros","writes":{"historie.core.grid.buyW":{"value":0,"stamp":1795543200000},"historie.core.grid.sellW":{"value":0,"stamp":1795543200000},"historie.core.grid.netW":{"value":0,"stamp":1795543200000},"historie.core.pv.totalW":{"value":0,"stamp":1795543200000},"historie.core.building.loadTotalW":{"value":0,"stamp":1795543200000},"historie.core.building.loadRestW":{"value":0,"stamp":1795543200000},"historie.core.storage.chargeW":{"value":0,"stamp":1795543200000},"historie.core.storage.dischargeW":{"value":0,"stamp":1795543200000},"historie.core.ev.totalW":{"value":0,"stamp":1795543200000},"historie.tariff.baseEurPerKwh":{"value":0,"stamp":1795543200000},"historie.tariff.netFeeEurPerKwh":{"value":0,"stamp":1795543200000},"historie.tariff.totalEurPerKwh":{"value":0,"stamp":1795543200000},"historie.tariff.providerCurrentEurPerKwh":{"value":0,"stamp":1795543200000},"historie.tariff.providerAverageEurPerKwh":{"value":0,"stamp":1795543200000}}}
|
|
7
|
+
{"name":"sink coerces null","writes":{"test.null":{"value":0,"stamp":1795543200000}}}
|
|
8
|
+
CONFIRMED 7 issue scenarios with actual shipped method bodies, simulated cache/sink context. No source changes.
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
const fs=require('node:fs'); const vm=require('node:vm'); const assert=require('node:assert/strict');
|
|
3
|
+
const root='/workspace/scratch/741f792566ea/source-919/iobroker.eos-admin';
|
|
4
|
+
const ts=require(root+'/node_modules/typescript');
|
|
5
|
+
const {numericMeasurement}=require(root+'/ui/lib/installer-lifecycle');
|
|
6
|
+
const source=fs.readFileSync(root+'/ui/src-ts/runtime-executables/main.ts','utf8');
|
|
7
|
+
const parsed=ts.createSourceFile('main.ts',source,ts.ScriptTarget.ES2022,true);
|
|
8
|
+
const wanted=new Set(['updateHistorieExportStates','_nwGetNumberFromCache','_nwGetNumberFromCacheFresh','_nwGetCacheAgeMs','_nwSetHistorieValue']); const methods=[];
|
|
9
|
+
const visit=n=>{if(ts.isMethodDeclaration(n)&&wanted.has(n.name?.getText(parsed)))methods.push(n.getText(parsed));ts.forEachChild(n,visit)};visit(parsed);assert.equal(methods.length,wanted.size);
|
|
10
|
+
const now=1795543200000;
|
|
11
|
+
const ctx=vm.createContext({numericMeasurement,Date:class extends Date {static now(){return now;}}});
|
|
12
|
+
const Holder=vm.runInContext('class ActualMethods {\n'+methods.join('\n')+'\n}; ActualMethods;',ctx);
|
|
13
|
+
function fixture(values={},opts={}){
|
|
14
|
+
const a=new Holder(); a.stateCache=Object.fromEntries(Object.entries(values).map(([k,v])=>[k,{value:v,ts:now}])); a.config={datapoints:{},peakShaving:{atypical:{review:{influxLogEnabled:false}}},...opts.config};a.writes={};
|
|
15
|
+
a.setLocalStateWithCache=(key,value,stamp)=>{a.writes[key]={value,stamp}};
|
|
16
|
+
a._nwResolveGridImportExportFromCache=()=>({gridBuyW:1000,gridSellW:0,...opts.grid});
|
|
17
|
+
a._nwResolveBatteryFlowFromCache=()=>({chargeW:0,dischargeW:0,...opts.battery});
|
|
18
|
+
a._nwGetStorageControlAuthority=()=>({selectedTopology:opts.topology||'none'});
|
|
19
|
+
a._nwResolveStorageFarmMetricsFromCache=()=>opts.farm||null;
|
|
20
|
+
a._nwMergeStorageFarmPvWithBase=(base)=>({totalW:base+3000});
|
|
21
|
+
return a;
|
|
22
|
+
}
|
|
23
|
+
async function run(name,values,opts={}){const a=fixture(values,opts);await a.updateHistorieExportStates();console.log(JSON.stringify({name,writes:a.writes}));return a;}
|
|
24
|
+
(async()=>{
|
|
25
|
+
let a=await run('missing-derived ignores valid PV=5000/load=6000', {pvPower:5000,consumptionTotal:6000,'settings.price':.25});
|
|
26
|
+
assert.equal(a.writes['historie.core.pv.totalW'].value,0); assert.equal(a.writes['historie.core.building.loadTotalW'].value,0);
|
|
27
|
+
a=await run('derived PV=5000 already includes DC=3000, counted again', {'derived.core.pv.totalW':5000,'derived.core.building.loadTotalW':6000,'speicher.dcPvPowerW':3000}, {topology:'single',config:{datapoints:{},storage:{coupling:'dc'},peakShaving:{atypical:{review:{influxLogEnabled:false}}}}});
|
|
28
|
+
assert.equal(a.writes['historie.core.pv.totalW'].value,8000);
|
|
29
|
+
a=await run('missing provider price becomes zero instead of unavailable',{'settings.dynamicTariff':true,'settings.price':.35,'tarif.preisAktuellEurProKwh':null,'tarif.currentPriceFresh':false});
|
|
30
|
+
assert.equal(a.writes['historie.tariff.totalEurPerKwh'].value,0);assert.equal(a.writes['historie.tariff.providerCurrentEurPerKwh'].value,0);
|
|
31
|
+
a=await run('known stale provider still recorded',{ 'settings.dynamicTariff':true,'settings.price':.35,'tarif.preisAktuellEurProKwh':.89,'tarif.currentPriceFresh':false});
|
|
32
|
+
assert.equal(a.writes['historie.tariff.totalEurPerKwh'].value,.89);
|
|
33
|
+
a=await run('missing farmSoC becomes zero',{}, {topology:'farm',farm:{active:true,soc:null}});
|
|
34
|
+
assert.equal(a.writes['historie.core.storage.socPct'].value,0);
|
|
35
|
+
a=await run('missing grid/battery readings become valid zeros',{}, {grid:{gridBuyW:null,gridSellW:null},battery:{chargeW:null,dischargeW:null}});
|
|
36
|
+
assert.equal(a.writes['historie.core.grid.netW'].value,0);assert.equal(a.writes['historie.core.storage.chargeW'].value,0);
|
|
37
|
+
a=fixture();a._nwSetHistorieValue('test.null',null,now);assert.equal(a.writes['test.null'].value,0);console.log(JSON.stringify({name:'sink coerces null',writes:a.writes}));
|
|
38
|
+
console.log('CONFIRMED 7 issue scenarios with actual shipped method bodies, simulated cache/sink context. No source changes.');
|
|
39
|
+
})().catch(e=>{console.error(e);process.exitCode=1});
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/usr/bin/chromium: 9: [: 5225713664: unexpected operator
|
|
2
|
+
[6:6:1124/200254.551482:FATAL:chrome/browser/process_singleton_posix.cc:297] Check failed: . socket() failed: Operation not permitted (1)
|
|
3
|
+
[1124/200254.551692:ERROR:third_party/crashpad/crashpad/util/linux/scoped_ptrace_attach.cc:27] ptrace: Operation not permitted (1)
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
from pathlib import Path
|
|
2
|
+
root=Path('/workspace/scratch/741f792566ea/source-920/iobroker.eos-admin')
|
|
3
|
+
p=root/'ui/src-ts/runtime-executables/www/app.ts'
|
|
4
|
+
s=p.read_text()
|
|
5
|
+
# Preserve raw engineering zero; never substitute a fabricated or indefinitely held load.
|
|
6
|
+
start=s.index(' // Anti-glitch: if the building load temporarily drops to 0 W')
|
|
7
|
+
end=s.index(' // -------- Anzeige-Werte',start)
|
|
8
|
+
s=s[:start]+' // Echte 0 W bleiben 0 W. Fehlende Messung wird unten als unbekannt gezeigt;\n // Anzeige-Glättung darf keinen Ersatzverbrauch erfinden oder Zeitstempel erneuern.\n\n'+s[end:]
|
|
9
|
+
# Strict missing distinction in canonical PV resolver.
|
|
10
|
+
s=s.replace(" const derived = Number(d('derived.core.pv.totalW'));\n if (Number.isFinite(derived) && derived >= 0) return derived;", " const derived = coerceNumber(d('derived.core.pv.totalW'));\n if (derived !== null && derived >= 0) return derived;")
|
|
11
|
+
s=s.replace(" let base = Number(d('pvPower') ?? d('productionTotal') ?? 0);\n if (!Number.isFinite(base)) base = 0;\n const baseAbs = Math.abs(base);", " const base = coerceNumber(d('pvPower') ?? d('productionTotal'));\n const baseAbs = base === null ? null : Math.abs(base);")
|
|
12
|
+
s=s.replace(" if (baseAbs <= 0) return farmTotal;\n if (farmTotal <= 0) return baseAbs;", " if (baseAbs === null || baseAbs <= 0) return farmTotal > 0 ? farmTotal : baseAbs;\n if (farmTotal <= 0) return baseAbs;")
|
|
13
|
+
# Never read stale values as stable merely because they did not change.
|
|
14
|
+
s=s.replace(" // Kern-Energiefluss-DPs dürfen nicht als fehlend gelten, nur weil ein konstanter\n // Wert (typisch 0 W bei Speicher Laden/Entladen) lange nicht geändert wurde.\n return getFreshFlowNumber(key, Object.assign({}, opts, { maxAgeMs: null }));", " // Aktualität folgt dem Messzeitstempel (ts), nicht dem Änderungszeitpunkt (lc).\n // Auch unveränderte echte Messungen werden vom Gerät regelmäßig bestätigt.\n return getFreshFlowNumber(key, opts);")
|
|
15
|
+
a=s.index('function getFreshFlowNumber(key, opts = {}) {');b=s.index('\n}',a)+2
|
|
16
|
+
s=s[:a]+'''function getFreshFlowNumber(key, opts = {}) {
|
|
17
|
+
if (opts.onlyIfMapped && !isMappedDatapoint(key)) return null;
|
|
18
|
+
return window.NexoWattLiveDisplay?.read(state, key, Date.now(), getFlowFreshMaxAgeMs(), window.__nwTariffLiveOnline !== false) ?? null;
|
|
19
|
+
}'''+s[b:]
|
|
20
|
+
# Status must not turn connection success into an unconditional system-health claim.
|
|
21
|
+
s=s.replace(" setText('sideStatusText', online ? 'Alle Systeme normal' : 'Verbindung wird aufgebaut');", " setText('sideStatusText', online ? 'Verbindung hergestellt · Betriebsstatus wird geprüft' : 'Verbindung unterbrochen');")
|
|
22
|
+
s=s.replace(" setText('sideEms', safety === 'EOS-SAFETY-STOP' ? 'Safety aktiv' : 'Aktiv');\n setText('sideGridStatus', p14Fallback ? '§14a Fallback' : (p14 ? '§14a aktiv' : (peak === 'active' ? 'Peak aktiv' : 'Stabil')));", " const health = window.NexoWattLiveDisplay?.status(window.latestState || state || {}, window.__nwTariffLiveOnline !== false, Date.now());\n setText('sideEms', safety === 'EOS-SAFETY-STOP' ? 'Safety aktiv' : health?.ems || 'Status unbekannt');\n setText('sideGridStatus', p14Fallback ? '§14a Fallback' : (p14 ? '§14a aktiv' : (peak === 'active' ? 'Peak aktiv' : health?.grid || 'Messstatus unbekannt')));\n setText('sideStatusText', health?.summary || 'Betriebsstatus unbekannt');")
|
|
23
|
+
# Shared visible measurement bundle, reused by side cards, main cards and flow.
|
|
24
|
+
insert=s.index('// Abschnitt: Haupt-Renderlauf')
|
|
25
|
+
s=s[:insert]+'''/** Anzeigeprojektion: Fehlend/veraltet/offline bleibt null, echte 0 bleibt erhalten.
|
|
26
|
+
* Keine Regelung, keine Ersatzmessung und keine Änderung der Kundenzuordnung. */
|
|
27
|
+
function getLiveMeasurementView() {
|
|
28
|
+
const fresh = key => getFreshFlowNumber(key);
|
|
29
|
+
const grid = getGridImportExport(fresh);
|
|
30
|
+
const nvp = state?.['ems.gridMeasurementFresh'];
|
|
31
|
+
const nvpUsable = !nvp || (nvp.value === true && getStateAgeMs('ems.gridMeasurementFresh') !== null && getStateAgeMs('ems.gridMeasurementFresh') <= getFlowFreshMaxAgeMs());
|
|
32
|
+
const gridAvailable = nvpUsable && (grid.rawBuy !== null || grid.rawSell !== null || grid.rawNet !== null);
|
|
33
|
+
const battery = getNormalizedBatteryFlow();
|
|
34
|
+
const batteryAvailable = !['missing', 'mapped-missing', 'storageFarm-missing-power', 'storageFarm-unavailable', 'stale-or-missing'].includes(String(battery.src)) && battery.incomplete !== true;
|
|
35
|
+
const farm = nwStorageFarmFeatureFromConfig(window.__nwCfg || {}, state || {});
|
|
36
|
+
const farmView = farm ? window.NexoWattLiveDisplay?.farm(state, Date.now(), window.__nwTariffLiveOnline !== false) : null;
|
|
37
|
+
return {
|
|
38
|
+
pv: getCanonicalPvPowerW(fresh), load: fresh('consumptionTotal'),
|
|
39
|
+
buy: gridAvailable ? grid.buy : null, sell: gridAvailable ? grid.sell : null,
|
|
40
|
+
charge: farmView ? farmView.charge : batteryAvailable ? battery.chargeW : null,
|
|
41
|
+
discharge: farmView ? farmView.discharge : batteryAvailable ? battery.dischargeW : null,
|
|
42
|
+
soc: farmView ? farmView.soc : farm ? fresh('storageFarm.totalSoc') ?? fresh('storageFarm.medianSoc') : fresh('storageSoc'),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
'''+s[insert:]
|
|
47
|
+
# Main card rendering use same view, keep geometry numeric only.
|
|
48
|
+
a=s.index('function render() {');b=s.index('\nfunction ',a+30)
|
|
49
|
+
part=s[a:b]
|
|
50
|
+
x=part.index(' // Der sichtbare PV-Wert');y=part.index(' const maxVal',x)
|
|
51
|
+
part=part[:x]+''' const measurements = getLiveMeasurementView();
|
|
52
|
+
const { pv, load, buy, sell, charge, discharge, soc } = measurements;
|
|
53
|
+
'''+part[y:]
|
|
54
|
+
for field in ['pv','buy','sell','load','charge','discharge']:
|
|
55
|
+
part=part.replace('formatPower('+field+' ?? 0)', "("+field+" === null ? '--' : formatPower("+field+"))")
|
|
56
|
+
part=part.replace("setText('storagePower', formatPower(batPower));", "setText('storagePower', charge === null || discharge === null ? '--' : formatPower(batPower));")
|
|
57
|
+
part=part.replace("formatPower(d('consumptionTotal') ?? 0)","(load === null ? '--' : formatPower(load))")
|
|
58
|
+
part=part.replace("formatPower(d('productionTotal') ?? pv ?? 0)","(pv === null ? '--' : formatPower(pv))")
|
|
59
|
+
s=s[:a]+part+s[b:]
|
|
60
|
+
# Flow takes same values and null quality before numeric-only geometry.
|
|
61
|
+
a=s.index('function updateEnergyWeb() {');b=s.index('\n\n\n\n// KI',a)
|
|
62
|
+
part=s[a:b]
|
|
63
|
+
x=part.index(' // Backend-konsolidierte');y=part.index(' // Invert toggles',x)
|
|
64
|
+
part=part[:x]+''' const measurements = getLiveMeasurementView();
|
|
65
|
+
let pv = measurements.pv ?? 0;
|
|
66
|
+
let buy = measurements.buy ?? 0, sell = measurements.sell ?? 0;
|
|
67
|
+
const load = measurements.load ?? 0;
|
|
68
|
+
const evcsPowerW = getEvcsPowerW(d);
|
|
69
|
+
let c2 = evcsPowerW ?? 0; // Nur Geometrie, niemals Ersatzmessung.
|
|
70
|
+
const batCharge = measurements.charge ?? 0, batDischarge = measurements.discharge ?? 0;
|
|
71
|
+
const soc = measurements.soc;
|
|
72
|
+
|
|
73
|
+
'''+part[y:]
|
|
74
|
+
part=part.replace("T('pvVal', formatFlowPower(pvValNum));", "T('pvVal', measurements.pv === null ? '--' : formatFlowPower(pvValNum));")
|
|
75
|
+
part=part.replace("T('gridVal', gridShowVal ?", "T('gridVal', measurements.buy === null ? '--' : gridShowVal ?")
|
|
76
|
+
part=part.replace("T('restVal', batShowVal ?", "T('restVal', measurements.charge === null || measurements.discharge === null ? '--' : batShowVal ?")
|
|
77
|
+
part=part.replace("T('centerPower', formatFlowPower(Math.max(0, loadDisplay)));", "T('centerPower', measurements.load === null || (evAvail && subEvFromLoad && evcsPowerW === null) ? '--' : formatFlowPower(Math.max(0, loadDisplay)));")
|
|
78
|
+
part=part.replace("if (soc===undefined || isNaN(Number(soc)))", "if (soc===undefined || soc===null || typeof soc === 'boolean' || !Number.isFinite(Number(soc)))")
|
|
79
|
+
s=s[:a]+part+s[b:]
|
|
80
|
+
# Side cards independently use same projection. Do not coerce null to 0.
|
|
81
|
+
a=s.index('function updateDashboardShellUi(data) {');b=s.index('// ------------------------------',a)
|
|
82
|
+
part=s[a:b]
|
|
83
|
+
x=part.index(' const pv = Number(');y=part.index(' const evcsAvailable',x)
|
|
84
|
+
part=part[:x]+''' const { pv, buy, sell, load, charge, discharge } = getLiveMeasurementView();
|
|
85
|
+
const batterySigned = charge === null || discharge === null ? null : discharge - charge;
|
|
86
|
+
'''+part[y:]
|
|
87
|
+
for name,expr in [('sideConsumptionTotal','Math.max(0, load)'),('sidePvPower','Math.abs(pv)'),('sideBuildingPower','Math.max(0, load)'),('sideGridBuyPower','Math.max(0, buy)'),('sideGridSellPower','Math.max(0, sell)')]:
|
|
88
|
+
field={'sideConsumptionTotal':'load','sidePvPower':'pv','sideBuildingPower':'load','sideGridBuyPower':'buy','sideGridSellPower':'sell'}[name]
|
|
89
|
+
part=part.replace("setText('"+name+"', formatFlowPower("+expr+"));", "setText('"+name+"', "+field+" === null ? '--' : formatFlowPower("+expr+"));")
|
|
90
|
+
part=part.replace("setText('sideBatteryPower', (batterySigned < 0 ? '-' : '') + formatFlowPower(Math.abs(batterySigned)));", "setText('sideBatteryPower', batterySigned === null ? '--' : (batterySigned < 0 ? '-' : '') + formatFlowPower(Math.abs(batterySigned)));")
|
|
91
|
+
s=s[:a]+part+s[b:]
|
|
92
|
+
# Grid getter may be called by legacy functions: use fresh values consistently.
|
|
93
|
+
s=s.replace(" const getter = (typeof read === 'function') ? read : (k) => read?.[k]?.value;", " const getter = (typeof read === 'function') ? read : (k) => read?.[k]?.value;")
|
|
94
|
+
# The recursive battery-balance fallback must also respect freshness.
|
|
95
|
+
s=s.replace(" const read = (k) => st && st[k] ? st[k].value : undefined;", " const read = (k) => getFreshFlowNumber(k);")
|
|
96
|
+
# Mark metric refresh on disconnection without recursing into full render.
|
|
97
|
+
s=s.replace(" if (dot) dot.classList.toggle('is-offline', !online);\n}", " if (dot) dot.classList.toggle('is-offline', !online);\n if (!online) {\n for (const id of ['pvPower', 'gridBuyPower', 'gridSellPower', 'storagePower', 'consumptionTotal', 'sidePvPower', 'sideBuildingPower', 'sideBatteryPower', 'sideGridBuyPower', 'sideGridSellPower', 'pvVal', 'gridVal', 'restVal', 'centerPower']) setText(id, '--');\n setText('batterySocIn', '-- %'); setText('sideStorage', '-- %'); setText('sideBatterySoc', '-- %');\n setText('sideEms', 'Verbindung unterbrochen'); setText('sideGridStatus', 'Messstatus unbekannt');\n }\n}")
|
|
98
|
+
p.write_text(s)
|
|
99
|
+
for name in ['index.html','settings.html']:
|
|
100
|
+
p=root/'ui/www'/name;html=p.read_text();needle='<script src="/static/app.js">';assert needle in html
|
|
101
|
+
html=html.replace(needle,'<script src="/static/live-display.js"></script>\n'+needle);p.write_text(html)
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
const fs=require('node:fs'), vm=require('node:vm'), path=require('node:path');
|
|
3
|
+
const root='/workspace/scratch/741f792566ea/source-919/iobroker.eos-admin';
|
|
4
|
+
const ts=require(path.join(root,'node_modules/typescript'));
|
|
5
|
+
const source=fs.readFileSync(path.join(root,'ui/www/app.js'),'utf8');
|
|
6
|
+
const ast=ts.createSourceFile('app.js',source,ts.ScriptTarget.Latest,true);
|
|
7
|
+
const functions=new Map(ast.statements.filter(ts.isFunctionDeclaration).map(n=>[n.name.text,n.getText(ast)]));
|
|
8
|
+
let now=Date.parse('2026-11-24T19:00:00Z');
|
|
9
|
+
class Clock extends Date{static now(){return now}}
|
|
10
|
+
const elements=new Map();
|
|
11
|
+
const element=id=>{ if(!elements.has(id))elements.set(id,{textContent:'',style:{},classList:{toggle(){},add(){},remove(){},contains(){return true}}});return elements.get(id); };
|
|
12
|
+
const ctx=vm.createContext({Date:Clock,console,state:{},window:{latestState:{},__nwCfg:{}},document:{getElementById:element},
|
|
13
|
+
nwStorageFarmFeatureFromConfig:()=>false,getEvcsPowerW:()=>null,getNormalizedBatteryFlow:()=>({chargeW:0,dischargeW:0}),nwEvcsFeatureFromConfig:()=>false,flowExtras:{meta:{evcsAvailable:false}},updateEnergyWebExtras:()=>0,
|
|
14
|
+
stabilizeFlowAbs:(_,n)=>n,stabilizeFlowSigned:(_,n)=>n,formatFlowPower:n=>`${n} W`,isMappedDatapoint:k=>k==='gridPointPower',
|
|
15
|
+
setText:(id,v)=>element(id).textContent=v,nwApplyCustomerFeatureVisibility(){},nwLatestStateTimestamp:()=>now,nwFormatDashboardTimestamp:String,updateEmsControlUi(){}});
|
|
16
|
+
for(const name of ['coerceNumber','getGridImportExport','getCanonicalPvPowerW','updateEnergyWeb','updateDashboardShellUi','nwSetLiveOnline'])vm.runInContext(functions.get(name),ctx);
|
|
17
|
+
function render(v){ctx.state=v;ctx.window.latestState=v;ctx.updateEnergyWeb();return Object.fromEntries(['pvVal','gridVal','restVal','centerPower','batterySocIn'].map(id=>[id,element(id).textContent]));}
|
|
18
|
+
const base={'derived.core.pv.totalW':{value:5000,ts:now},consumptionTotal:{value:0,ts:now},storageSoc:{value:null,ts:now},gridPointPower:{value:-5000,ts:now}};
|
|
19
|
+
console.log('CASE zero building while exporting, null SoC',render(base));
|
|
20
|
+
const baseline={'derived.core.pv.totalW':{value:5000,ts:now},consumptionTotal:{value:1200,ts:now},gridPointPower:{value:-3800,ts:now}};
|
|
21
|
+
console.log('CASE true 1200W before zero',render(baseline));
|
|
22
|
+
for(let i=0;i<40;i++){now+=10000;render(base)}
|
|
23
|
+
console.log('CASE after 400s of repeated true zero',render(base),'held timestamp age=',now-ctx.window.__nwLastGoodLoadDisplayTs);
|
|
24
|
+
console.log('CASE null derived PV, valid raw PV',render({'derived.core.pv.totalW':{value:null,ts:now},pvPower:{value:5000,ts:now}}));
|
|
25
|
+
ctx.state={};ctx.window.latestState={};ctx.updateDashboardShellUi({});
|
|
26
|
+
console.log('CASE no engine/no measurements sidebar',Object.fromEntries(['sideEms','sideGridStatus','sideStatusText','sidePvPower','sideBuildingPower','sideBatteryPower'].map(id=>[id,element(id).textContent])));
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
CASE zero building while exporting, null SoC {
|
|
2
|
+
pvVal: '5000 W',
|
|
3
|
+
gridVal: '-5000 W',
|
|
4
|
+
restVal: '0 W',
|
|
5
|
+
centerPower: '100 W',
|
|
6
|
+
batterySocIn: '0 %'
|
|
7
|
+
}
|
|
8
|
+
CASE true 1200W before zero {
|
|
9
|
+
pvVal: '5000 W',
|
|
10
|
+
gridVal: '-3800 W',
|
|
11
|
+
restVal: '0 W',
|
|
12
|
+
centerPower: '1200 W',
|
|
13
|
+
batterySocIn: '-- %'
|
|
14
|
+
}
|
|
15
|
+
CASE after 400s of repeated true zero {
|
|
16
|
+
pvVal: '5000 W',
|
|
17
|
+
gridVal: '-5000 W',
|
|
18
|
+
restVal: '0 W',
|
|
19
|
+
centerPower: '1200 W',
|
|
20
|
+
batterySocIn: '0 %'
|
|
21
|
+
} held timestamp age= 0
|
|
22
|
+
CASE null derived PV, valid raw PV {
|
|
23
|
+
pvVal: '0 W',
|
|
24
|
+
gridVal: '0 W',
|
|
25
|
+
restVal: '0 W',
|
|
26
|
+
centerPower: '0 W',
|
|
27
|
+
batterySocIn: '-- %'
|
|
28
|
+
}
|
|
29
|
+
CASE no engine/no measurements sidebar {
|
|
30
|
+
sideEms: 'Aktiv',
|
|
31
|
+
sideGridStatus: 'Stabil',
|
|
32
|
+
sideStatusText: 'Alle Systeme normal',
|
|
33
|
+
sidePvPower: '0 W',
|
|
34
|
+
sideBuildingPower: '0 W',
|
|
35
|
+
sideBatteryPower: '0 W'
|
|
36
|
+
}
|