iobroker.eos-admin 9.0.19 → 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 +4 -4
- package/README.md +5 -3
- package/START_HIER_9.0.20.md +65 -0
- package/adminWww/.vite/manifest.json +39 -39
- package/adminWww/NEXOWATT_EOS_FRONTEND_MANIFEST.json +110 -109
- package/adminWww/assets/{AdapterUpdateDialog-JOf2z4Vg.js → AdapterUpdateDialog-CRD3XVom.js} +1 -1
- package/adminWww/assets/{Adapters-C9fcSdWm.js → Adapters-Cuf0X0CU.js} +1 -1
- package/adminWww/assets/{ConfigManager-BeeLlT6D.js → ConfigManager-B8ycQt1C.js} +1 -1
- package/adminWww/assets/{Enums-FqnXWl8U.js → Enums-CctVCgZX.js} +1 -1
- package/adminWww/assets/{Fields-DMgrt5Pi.js → Fields-onm4DfoO.js} +1 -1
- package/adminWww/assets/{Files-CIHtt12g.js → Files-OLP3Rwc7.js} +1 -1
- package/adminWww/assets/{Hosts-fPLBzvTy.js → Hosts-C31oqMcW.js} +1 -1
- package/adminWww/assets/{Instances-4XaVQlrT.js → Instances-DFdvJ9pa.js} +1 -1
- package/adminWww/assets/{Intro-5TKriiLO.js → Intro-DvsFJxU0.js} +1 -1
- package/adminWww/assets/{Logs-33zcIds-.js → Logs-Zqg2Bqv6.js} +1 -1
- package/adminWww/assets/{Objects-CNQPVbNG.js → Objects-CpWZp6yp.js} +1 -1
- package/adminWww/assets/{Overview-BskXGOc8.js → Overview-BsKUo298.js} +1 -1
- package/adminWww/assets/{State-C8SJ_Iqo.js → State-D_xwlhhb.js} +1 -1
- package/adminWww/assets/{UsedResources-CgqRa9ei.js → UsedResources-C79N6yZx.js} +1 -1
- package/adminWww/assets/{Users-0JVYWR9u.js → Users-WgC0O8P0.js} +1 -1
- package/adminWww/assets/{bootstrap-D16lu6rd.js → bootstrap-BcfBoIoa.js} +3 -3
- package/adminWww/assets/{hostInit-C8YZJuzi.js → hostInit-B7bBV7cH.js} +1 -1
- package/adminWww/assets/icons/nexowatt-180.png +0 -0
- package/adminWww/assets/{icons-material-CiNJ_6Ur.js → icons-material-D1JYmRTj.js} +1 -1
- package/adminWww/assets/{index-DA9Sphgh.js → index-DbiuoDjo.js} +2 -2
- package/adminWww/assets/{installSVGRenderer-DPdkRa_d.js → installSVGRenderer-BAY-Pzp-.js} +1 -1
- package/adminWww/assets/{mf-entry-bootstrap-0-a7ab91de.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.20.js +12 -0
- package/adminWww/remoteEntry.js +1 -1
- package/build/lib/eosDeviceEmsPlan.js +18 -5
- package/build/lib/eosDeviceEmsPlan.js.map +1 -1
- package/build/lib/eosDeviceEmsService.js +52 -2
- 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 +40 -0
- 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 +3 -0
- package/build/lib/web.js.map +1 -1
- 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 +8 -8
- package/modules/devices/lib/device-alias-semantics-v1.json +22 -1
- package/modules/devices/lib/deviceAliasFreshness.js +1 -0
- package/modules/devices/lib/deviceAliasSemantics.js +13 -3
- package/modules/devices/lib/deviceRuntime.js +79 -8
- package/modules/devices/lib/drivers/modbus.js +90 -21
- 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/modbusReadEvidence.js +29 -0
- package/modules/devices/test/deviceAliasFreshness.test.js +7 -2
- package/modules/devices/test/modbusConnectLifecycle.test.js +148 -0
- package/modules/devices/test/modbusSerialLifecycle.test.js +91 -0
- package/modules/devices/test/serialOperationGate.test.js +3 -3
- package/modules/devices/test/solaxReadbackContext.test.js +472 -0
- package/modules/devices/tsconfig.alias-semantics.json +1 -1
- package/modules/devices/tsconfig.serial-lifecycle.json +18 -0
- package/package.json +9 -7
- package/release-manifests/unified/build-environment.cdx.json +6 -6
- package/release-manifests/unified/files.json +551 -140
- package/release-manifests/unified/obsolete-admin-assets.json +88 -6
- package/release-manifests/unified/runtime.cdx.json +23 -23
- 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/modules/energy-wallet.js +9 -3
- package/ui/ems/modules/storage-control.js +60 -19
- package/ui/io-package.json +1 -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/ui-access-policy.js +2 -2
- package/ui/main.js +550 -222
- package/ui/package.json +12 -6
- package/ui/www/app.js +150 -202
- package/ui/www/ems-apps.html +2 -1
- package/ui/www/ems-apps.js +8 -1
- 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 +2 -1
- 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/settings.html +2 -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 +15 -0
- package/ui/www/storagefarm.html +15 -1
- package/ui/www/storagefarm.js +8 -26
- package/ui/www/tariff-report.js +43 -25
- package/adminWww/remoteEntry-eos-9.0.19.js +0 -12
- package/ui/admin/react/assets/index-Bq5IupDw.js +0 -13
package/ui/www/logic.html
CHANGED
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
<link rel="manifest" href="/manifest.webmanifest">
|
|
27
27
|
<link rel="icon" type="image/png" sizes="32x32" href="/assets/icons/nexowatt-32.png">
|
|
28
28
|
<link rel="icon" type="image/png" sizes="192x192" href="/assets/icons/nexowatt-192.png">
|
|
29
|
-
<link rel="apple-touch-icon" sizes="
|
|
29
|
+
<link rel="apple-touch-icon" type="image/png" sizes="180x180" href="/assets/icons/nexowatt-180.png?v=083e11ab28ec">
|
|
30
30
|
<!-- Gemeinsamer direkter/Proxy-Bootstrap: Sitzung und CSRF vor der Bedienlogik. -->
|
|
31
31
|
<script src="/static/runtime-base.js"></script>
|
|
32
32
|
<script src="/static/auth.js"></script>
|
package/ui/www/login.css
CHANGED
|
@@ -29,6 +29,7 @@ button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #22b8
|
|
|
29
29
|
.nw-login-orbit-dot--one{top:3px;left:87px}.nw-login-orbit-dot--two{top:104px;left:21px}.nw-login-orbit-dot--three{top:104px;left:151px}
|
|
30
30
|
.nw-login-panel{display:grid;place-items:center;padding:56px 32px;background:#061526}
|
|
31
31
|
.nw-login-card{width:min(100%,390px)}
|
|
32
|
+
.nw-login-app-icon{display:block;width:64px;height:64px;max-width:100%;object-fit:contain;margin:0 0 18px}
|
|
32
33
|
.nw-login-card h2{margin:0 0 12px;font-size:32px;line-height:1.2;font-weight:590;letter-spacing:-1.1px}
|
|
33
34
|
.nw-login-description{margin:0 0 24px;color:var(--login-muted);font-size:14px;line-height:1.7}
|
|
34
35
|
.nw-login-status{margin:0 0 22px;border-left:3px solid #00e676;padding:10px 12px;background:#0d2937;border-radius:0 6px 6px 0;color:#c0d8e5;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
|
package/ui/www/login.html
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<link rel="manifest" href="/manifest.webmanifest">
|
|
13
13
|
<link rel="icon" type="image/png" sizes="32x32" href="/assets/icons/nexowatt-32.png">
|
|
14
14
|
<link rel="icon" type="image/png" sizes="192x192" href="/assets/icons/nexowatt-192.png">
|
|
15
|
-
<link rel="apple-touch-icon" sizes="
|
|
15
|
+
<link rel="apple-touch-icon" type="image/png" sizes="180x180" href="/assets/icons/nexowatt-180.png?v=083e11ab28ec">
|
|
16
16
|
|
|
17
17
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
18
18
|
<meta name="referrer" content="no-referrer">
|
|
@@ -43,6 +43,7 @@
|
|
|
43
43
|
|
|
44
44
|
<section class="nw-login-panel" id="anmeldung" aria-labelledby="loginTitle">
|
|
45
45
|
<div class="nw-login-card">
|
|
46
|
+
<img class="nw-login-app-icon" src="/assets/icons/nexowatt-192.png" alt="NexoWatt EOS" width="64" height="64" decoding="async" loading="eager">
|
|
46
47
|
<h2 id="loginTitle">Willkommen zurück.</h2>
|
|
47
48
|
<p class="nw-login-description" id="loginDescription">Dein Anmeldezugang wird geprüft.</p>
|
|
48
49
|
<div class="nw-login-status" id="loginStatus" role="status" aria-live="polite">Verbindung wird hergestellt …</div>
|
package/ui/www/settings.html
CHANGED
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
<link rel="manifest" href="/manifest.webmanifest">
|
|
27
27
|
<link rel="icon" type="image/png" sizes="32x32" href="/assets/icons/nexowatt-32.png">
|
|
28
28
|
<link rel="icon" type="image/png" sizes="192x192" href="/assets/icons/nexowatt-192.png">
|
|
29
|
-
<link rel="apple-touch-icon" sizes="
|
|
29
|
+
<link rel="apple-touch-icon" type="image/png" sizes="180x180" href="/assets/icons/nexowatt-180.png?v=083e11ab28ec">
|
|
30
30
|
<!-- Gemeinsamer direkter/Proxy-Bootstrap: Sitzung und CSRF vor der Bedienlogik. -->
|
|
31
31
|
<script src="/static/runtime-base.js"></script>
|
|
32
32
|
<script src="/static/auth.js"></script>
|
|
@@ -76,6 +76,7 @@
|
|
|
76
76
|
|
|
77
77
|
<script src="/static/power-measurements.js"></script>
|
|
78
78
|
<script src="/static/tariff-display.js"></script>
|
|
79
|
+
<script src="/static/live-display.js"></script>
|
|
79
80
|
<script src="/static/app.js"></script>
|
|
80
81
|
|
|
81
82
|
<section class="settings-wrap nw-page-shell nw-settings-page-shell" data-tab-content="settings" data-settings-page="general">
|
package/ui/www/simulation.html
CHANGED
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
<link rel="manifest" href="/manifest.webmanifest">
|
|
27
27
|
<link rel="icon" type="image/png" sizes="32x32" href="/assets/icons/nexowatt-32.png">
|
|
28
28
|
<link rel="icon" type="image/png" sizes="192x192" href="/assets/icons/nexowatt-192.png">
|
|
29
|
-
<link rel="apple-touch-icon" sizes="
|
|
29
|
+
<link rel="apple-touch-icon" type="image/png" sizes="180x180" href="/assets/icons/nexowatt-180.png?v=083e11ab28ec">
|
|
30
30
|
|
|
31
31
|
<meta content="width=device-width, initial-scale=1" name="viewport"/>
|
|
32
32
|
<title>NexoWatt EOS – Simulation</title>
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
<link rel="manifest" href="/manifest.webmanifest">
|
|
28
28
|
<link rel="icon" type="image/png" sizes="32x32" href="/assets/icons/nexowatt-32.png">
|
|
29
29
|
<link rel="icon" type="image/png" sizes="192x192" href="/assets/icons/nexowatt-192.png">
|
|
30
|
-
<link rel="apple-touch-icon" sizes="
|
|
30
|
+
<link rel="apple-touch-icon" type="image/png" sizes="180x180" href="/assets/icons/nexowatt-180.png?v=083e11ab28ec">
|
|
31
31
|
<!-- Gemeinsamer direkter/Proxy-Bootstrap: Sitzung und CSRF vor der Bedienlogik. -->
|
|
32
32
|
<script src="/static/runtime-base.js"></script>
|
|
33
33
|
<script src="/static/auth.js"></script>
|
package/ui/www/smarthome.html
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
<link rel="manifest" href="/manifest.webmanifest">
|
|
26
26
|
<link rel="icon" type="image/png" sizes="32x32" href="/assets/icons/nexowatt-32.png">
|
|
27
27
|
<link rel="icon" type="image/png" sizes="192x192" href="/assets/icons/nexowatt-192.png">
|
|
28
|
-
<link rel="apple-touch-icon" sizes="
|
|
28
|
+
<link rel="apple-touch-icon" type="image/png" sizes="180x180" href="/assets/icons/nexowatt-180.png?v=083e11ab28ec">
|
|
29
29
|
<!-- Gemeinsamer direkter/Proxy-Bootstrap: Sitzung und CSRF vor der Bedienlogik. -->
|
|
30
30
|
<script src="/static/runtime-base.js"></script>
|
|
31
31
|
<script src="/static/auth.js"></script>
|
|
@@ -0,0 +1,287 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2026 NexoWatt. All rights reserved.
|
|
3
|
+
* Confidential and Proprietary.
|
|
4
|
+
* Use, modification or distribution without express written permission is prohibited.
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* AUTO-GENERATED RUNTIME FILE - NICHT MANUELL BEARBEITEN.
|
|
8
|
+
*
|
|
9
|
+
* Quelle: src-ts/runtime-executables/www/storagefarm-dispatch.ts
|
|
10
|
+
* Quell-Hash: sha256:e26c3d9415d04f12110cd94c8d1d6eb47d46725d191789641aa1cc8ff357cb1f
|
|
11
|
+
* Erzeugung: npm run sync:ts-runtime-executables
|
|
12
|
+
*
|
|
13
|
+
* Zweck:
|
|
14
|
+
* Diese JavaScript-Datei ist das ausführbare Build-Artefakt für www/storagefarm-dispatch.js.
|
|
15
|
+
* Die fachliche Bearbeitung erfolgt ab 0.7.131 in der TypeScript-Quelle.
|
|
16
|
+
* Ab 0.7.132 sind doppelte Legacy-JS-Bäume wie .nwcore entfernt.
|
|
17
|
+
*
|
|
18
|
+
* Pflege-Regel:
|
|
19
|
+
* 1. Änderung zuerst in src-ts/runtime-executables/ vornehmen.
|
|
20
|
+
* 2. npm run sync:ts-runtime-executables ausführen.
|
|
21
|
+
* 3. npm run test:runtime-executables prüfen.
|
|
22
|
+
*/
|
|
23
|
+
/**
|
|
24
|
+
* NexoWatt Quellcode-Erklärung (DE)
|
|
25
|
+
* Aufgabe: Trennt Farm-Anforderung, Befehlsannahme und tatsächliche Messung.
|
|
26
|
+
* Daten und Wirkung: Liest vorhandene Diagnose-Snapshots; keine Konfigurations-,
|
|
27
|
+
* Freigabe- oder Geräteschreibzugriffe. Unbekannte Ursachen bleiben unbekannt.
|
|
28
|
+
* Bei Änderungen: Zuordnungsschlüssel, veraltete JSON-Zeitstempel, Teilannahme,
|
|
29
|
+
* Nullwerte und fehlende Statusdaten mit dem echten Renderer prüfen.
|
|
30
|
+
*/
|
|
31
|
+
(() => {
|
|
32
|
+
const ageMs = 30000;
|
|
33
|
+
const record = (value) => !!value && typeof value === 'object' && !Array.isArray(value);
|
|
34
|
+
const number = (value) => typeof value === 'number' && Number.isFinite(value) ? value : null;
|
|
35
|
+
const text = (value, max = 180) => typeof value === 'string' ? value.trim().slice(0, max) : '';
|
|
36
|
+
function entry(snapshot, key) {
|
|
37
|
+
if (!record(snapshot) || !Object.hasOwn(snapshot, key))
|
|
38
|
+
return null;
|
|
39
|
+
const value = Reflect.get(snapshot, key);
|
|
40
|
+
return record(value) ? value : null;
|
|
41
|
+
}
|
|
42
|
+
function fresh(ts, now) {
|
|
43
|
+
const value = number(ts);
|
|
44
|
+
return value !== null && value > 0 && value <= now + 5000 && now - value <= ageMs;
|
|
45
|
+
}
|
|
46
|
+
function value(snapshot, key, connected, now) {
|
|
47
|
+
const row = entry(snapshot, key);
|
|
48
|
+
return connected && row && fresh(row.ts, now) ? row.value : undefined;
|
|
49
|
+
}
|
|
50
|
+
function json(snapshot, key, connected, now) {
|
|
51
|
+
const raw = value(snapshot, key, connected, now);
|
|
52
|
+
if (typeof raw !== 'string' || raw.length > 262144)
|
|
53
|
+
return null;
|
|
54
|
+
try {
|
|
55
|
+
const result = JSON.parse(raw);
|
|
56
|
+
return result;
|
|
57
|
+
}
|
|
58
|
+
catch {
|
|
59
|
+
return null;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
function rows(snapshot, connected, now = Date.now()) {
|
|
63
|
+
const data = json(snapshot, 'storageFarm.storagesStatusJson', connected, now);
|
|
64
|
+
return Array.isArray(data) && data.length <= 128 ? data.filter(record) : [];
|
|
65
|
+
}
|
|
66
|
+
function dispatch(snapshot, connected, now) {
|
|
67
|
+
const data = json(snapshot, 'storageFarm.lastDispatchJson', connected, now);
|
|
68
|
+
return record(data) && fresh(data.ts, now) ? data : null;
|
|
69
|
+
}
|
|
70
|
+
function codes(value) {
|
|
71
|
+
return Array.isArray(value) ? value.slice(0, 20).map(item => text(item, 120)).filter(Boolean) : [];
|
|
72
|
+
}
|
|
73
|
+
const labels = new Map([
|
|
74
|
+
['available_false', 'Gerät nicht freigegeben'], ['fault_active', 'Gerätestörung'],
|
|
75
|
+
['device_offline', 'Gerät offline'], ['license_storage_limit', 'Lizenzgrenze'],
|
|
76
|
+
['charge_not_allowed', 'Laden nicht freigegeben'], ['discharge_not_allowed', 'Entladen nicht freigegeben'],
|
|
77
|
+
['charge_setpoint_missing', 'Lade-Sollwert fehlt'], ['discharge_setpoint_missing', 'Entlade-Sollwert fehlt'],
|
|
78
|
+
['charge_limit_zero', 'Ladelimit 0 W'], ['discharge_limit_zero', 'Entladelimit 0 W'],
|
|
79
|
+
['charge_capability_zero', 'Gerät sperrt Laden'], ['discharge_capability_zero', 'Gerät sperrt Entladen'],
|
|
80
|
+
['charge_capability_missing', 'Ladefreigabe des Geräts fehlt'], ['discharge_capability_missing', 'Entladefreigabe des Geräts fehlt'],
|
|
81
|
+
['charge_capability_invalid', 'Ladefreigabe des Geräts ungültig'], ['discharge_capability_invalid', 'Entladefreigabe des Geräts ungültig'],
|
|
82
|
+
['charge_capability_stale', 'Ladefreigabe des Geräts veraltet'], ['discharge_capability_stale', 'Entladefreigabe des Geräts veraltet'],
|
|
83
|
+
['soc_below_discharge_floor', 'Mindest-SoC erreicht'], ['soc_at_or_below_discharge_floor', 'Mindest-SoC erreicht'],
|
|
84
|
+
['soc_missing', 'SoC für diese Verteilung fehlt'],
|
|
85
|
+
['farm-limited', 'Verteilung begrenzt'], ['farm-write-failed', 'Schreibauftrag fehlgeschlagen'],
|
|
86
|
+
['farm-partial', 'Schreibauftrag teilweise angenommen'], ['farm-stop', 'Nullvorgabe angenommen'],
|
|
87
|
+
['farm-stop-failed', 'Nullvorgabe nicht vollständig angenommen'], ['fenecon-handover-wait', 'Übergabe wartet auf Watchdog'],
|
|
88
|
+
['direct-ess-watchdog-active', 'Direkter ESS-Watchdog noch aktiv'], ['fenecon-farm-config-invalid', 'Farmkonfiguration ungültig'],
|
|
89
|
+
['missing', 'Zuordnung fehlt'], ['command-dp-mismatch', 'Sollwert-Rücklesung weicht ab'],
|
|
90
|
+
['pending-ack', 'Treiberquittierung ausstehend'], ['driver-acknowledged', 'Vom Treiber quittiert, Gerätewirkung separat prüfen'],
|
|
91
|
+
]);
|
|
92
|
+
const reason = (code) => labels.get(code) ?? code;
|
|
93
|
+
function power(input) {
|
|
94
|
+
const n = number(input);
|
|
95
|
+
if (n === null)
|
|
96
|
+
return '—';
|
|
97
|
+
const abs = Math.abs(n);
|
|
98
|
+
return (abs >= 1000 ? (n / 1000).toLocaleString('de-DE', { maximumFractionDigits: 2 }) + ' kW' : Math.round(n).toLocaleString('de-DE') + ' W');
|
|
99
|
+
}
|
|
100
|
+
function signed(input) {
|
|
101
|
+
const n = number(input);
|
|
102
|
+
return n === null ? '—' : n > 0 ? 'Entladen ' + power(n) : n < 0 ? 'Laden ' + power(-n) : power(0);
|
|
103
|
+
}
|
|
104
|
+
function capability(input, direction) {
|
|
105
|
+
if (!record(input))
|
|
106
|
+
return 'Nicht mitgeteilt';
|
|
107
|
+
if (input.configured === false)
|
|
108
|
+
return 'Nicht zugeordnet';
|
|
109
|
+
if (input.configured !== true)
|
|
110
|
+
return 'Zuordnung unbekannt';
|
|
111
|
+
const status = text(input.status, 40), allowed = number(input.valueW);
|
|
112
|
+
if (status === 'valid' && allowed !== null && allowed >= 0)
|
|
113
|
+
return power(allowed) + (allowed === 0 ? ' · ' + reason(direction + '_capability_zero') : ' · aktuelle Gerätefreigabe');
|
|
114
|
+
if (['missing', 'invalid', 'stale'].includes(status))
|
|
115
|
+
return reason(direction + '_capability_' + status);
|
|
116
|
+
return 'Gerätefreigabe nicht bestätigt';
|
|
117
|
+
}
|
|
118
|
+
function set(id, content) { const el = document.getElementById(id); if (el)
|
|
119
|
+
el.textContent = content; }
|
|
120
|
+
function status(row) {
|
|
121
|
+
if (!record(row))
|
|
122
|
+
return 'Status unbekannt';
|
|
123
|
+
if (row.licenseBlocked === true)
|
|
124
|
+
return 'Gesperrt: Lizenzgrenze';
|
|
125
|
+
const discharge = codes(row.dischargeBlockedReasons), charge = codes(row.chargeBlockedReasons), common = codes(row.dispatchBlockedReasons);
|
|
126
|
+
if (common.length)
|
|
127
|
+
return 'Gesperrt: ' + common.map(reason).join(' · ');
|
|
128
|
+
if (discharge.length && charge.length)
|
|
129
|
+
return 'Laden / Entladen eingeschränkt';
|
|
130
|
+
if (discharge.length)
|
|
131
|
+
return 'Entladen gesperrt: ' + discharge.map(reason).join(' · ');
|
|
132
|
+
if (charge.length)
|
|
133
|
+
return 'Laden gesperrt: ' + charge.map(reason).join(' · ');
|
|
134
|
+
if (row.online === true)
|
|
135
|
+
return 'Messung online · Regelauftrag siehe unten';
|
|
136
|
+
if (row.online === false)
|
|
137
|
+
return 'Messung nicht aktuell';
|
|
138
|
+
return 'Messstatus unbekannt';
|
|
139
|
+
}
|
|
140
|
+
function match(row, members, results) {
|
|
141
|
+
const key = text(row.dispatchKey, 512);
|
|
142
|
+
if (key) {
|
|
143
|
+
if (members.filter(member => text(member.dispatchKey, 512) === key).length !== 1)
|
|
144
|
+
return null;
|
|
145
|
+
const same = results.filter(result => text(result.dispatchKey, 512) === key);
|
|
146
|
+
if (same.length === 1)
|
|
147
|
+
return same.at(0) ?? null;
|
|
148
|
+
if (same.length > 1 || results.some(result => text(result.dispatchKey, 512)))
|
|
149
|
+
return null;
|
|
150
|
+
}
|
|
151
|
+
const name = text(row.name);
|
|
152
|
+
if (!name || members.filter(member => text(member.name) === name).length !== 1)
|
|
153
|
+
return null;
|
|
154
|
+
const same = results.filter(result => text(result.name) === name && !text(result.dispatchKey, 512));
|
|
155
|
+
return same.length === 1 ? same.at(0) ?? null : null;
|
|
156
|
+
}
|
|
157
|
+
function line(parent, label, content) {
|
|
158
|
+
const item = document.createElement('div'), title = document.createElement('dt'), body = document.createElement('dd');
|
|
159
|
+
title.textContent = label;
|
|
160
|
+
body.textContent = content || 'Unbekannt';
|
|
161
|
+
item.append(title, body);
|
|
162
|
+
parent.append(item);
|
|
163
|
+
}
|
|
164
|
+
function memberDiagnostics(snapshot, connected, now, diag) {
|
|
165
|
+
const container = document.getElementById('sf_dispatch_members');
|
|
166
|
+
if (!container)
|
|
167
|
+
return;
|
|
168
|
+
const expanded = new Set(Array.from(container.children).filter(item => item.hasAttribute('open')).map(item => item.getAttribute('data-member-key')));
|
|
169
|
+
container.replaceChildren();
|
|
170
|
+
const members = rows(snapshot, connected, now);
|
|
171
|
+
const results = diag && Array.isArray(diag.results) && diag.results.length <= 128 ? diag.results.filter(record) : [];
|
|
172
|
+
for (const row of members) {
|
|
173
|
+
const detail = document.createElement('details'), heading = document.createElement('summary'), list = document.createElement('dl');
|
|
174
|
+
const memberKey = text(row.dispatchKey, 512) || 'name:' + text(row.name);
|
|
175
|
+
detail.setAttribute('data-member-key', memberKey);
|
|
176
|
+
if (expanded.has(memberKey))
|
|
177
|
+
detail.setAttribute('open', '');
|
|
178
|
+
detail.className = 'nw-farm-dispatch-member';
|
|
179
|
+
heading.textContent = text(row.name) || 'Speicher';
|
|
180
|
+
list.className = 'nw-farm-dispatch-details';
|
|
181
|
+
detail.append(heading, list);
|
|
182
|
+
const result = match(row, members, results);
|
|
183
|
+
const blocked = [...codes(row.dispatchBlockedReasons), ...codes(row.dischargeBlockedReasons)];
|
|
184
|
+
line(list, 'Entladehinweise', blocked.length ? [...new Set(blocked)].map(reason).join(' · ') : 'Keine Sperre gemeldet; keine Zusage einer Zuteilung');
|
|
185
|
+
const hasConfiguredLimit = Object.hasOwn(row, 'configuredMaxDischargeW');
|
|
186
|
+
const configuredLimit = hasConfiguredLimit ? row.configuredMaxDischargeW : row.maxDischargeW;
|
|
187
|
+
line(list, 'Konfiguriertes Entladelimit', hasConfiguredLimit && configuredLimit === null ? 'Keine feste Grenze hinterlegt' : power(configuredLimit));
|
|
188
|
+
line(list, 'Gerätefreigabe Entladen', capability(row.dischargeCapability, 'discharge'));
|
|
189
|
+
line(list, 'Gerätefreigabe Laden', capability(row.chargeCapability, 'charge'));
|
|
190
|
+
line(list, 'Zuteilung der letzten Verteilung', result ? 'Laden ' + power(result.chargeW) + ' · Entladen ' + power(result.dischargeW) : 'Keine eindeutige aktuelle Zuordnung');
|
|
191
|
+
line(list, 'An Schreibpfad übergeben', result ? power(result.acceptedW) : '—');
|
|
192
|
+
if (result) {
|
|
193
|
+
line(list, 'Freigabe dieses Regelauftrags', result.directionDispatchAvailable === true ? 'Für diese Anforderung berücksichtigbar' : result.directionDispatchAvailable === false ? 'Für diese Anforderung ausgeschlossen' : 'Nicht mitgeteilt');
|
|
194
|
+
line(list, 'Mindest-SoC dieses Entladeauftrags', number(result.dischargeFloorSocPct) !== null ? String(result.dischargeFloorSocPct) + ' %' : 'Nicht mitgeteilt');
|
|
195
|
+
line(list, 'Effektives Limit dieses Entladeauftrags', number(result.effectiveMaxDischargeW) !== null ? power(result.effectiveMaxDischargeW) : 'Kein numerischer Grenzwert mitgeteilt');
|
|
196
|
+
const messages = codes(result.blockedReasons).map(reason);
|
|
197
|
+
const readbacks = [];
|
|
198
|
+
if (result.authorityBlocked === true)
|
|
199
|
+
messages.push('Schreibzuständigkeit blockiert');
|
|
200
|
+
if (result.directionSupported === false)
|
|
201
|
+
messages.push('Richtung nicht unterstützt');
|
|
202
|
+
if (result.commandAccepted === false)
|
|
203
|
+
messages.push('Befehl nicht angenommen');
|
|
204
|
+
if (result.ok === false)
|
|
205
|
+
messages.push('Schreibauftrag fehlgeschlagen');
|
|
206
|
+
if (record(result.writes))
|
|
207
|
+
for (const [kind, wr] of Object.entries(result.writes).slice(0, 12)) {
|
|
208
|
+
if (!record(wr))
|
|
209
|
+
continue;
|
|
210
|
+
const why = text(wr.reason);
|
|
211
|
+
if (why)
|
|
212
|
+
messages.push(reason(why));
|
|
213
|
+
const feedback = record(wr.readback) ? wr.readback : null;
|
|
214
|
+
const label = text(kind, 60) + ': ';
|
|
215
|
+
if (feedback && (feedback.ack === false || feedback.pending === true || feedback.status === 'pending-ack')) {
|
|
216
|
+
readbacks.push(label + 'Nur Sollwert im ioBroker-DP; Treiberquittierung ausstehend');
|
|
217
|
+
}
|
|
218
|
+
else if (feedback?.ack === true && fresh(feedback.ts, now) && feedback.ok === true && wr.readbackOk === true) {
|
|
219
|
+
readbacks.push(label + 'Vom Treiber quittiert; physische Umsetzung nicht bestätigt');
|
|
220
|
+
}
|
|
221
|
+
else if (feedback?.ack === true && !fresh(feedback.ts, now)) {
|
|
222
|
+
readbacks.push(label + 'Rücklesewert veraltet; aktuelle Quittierung unbestätigt');
|
|
223
|
+
}
|
|
224
|
+
else if (wr.readbackSupported === true && wr.readbackOk === false) {
|
|
225
|
+
readbacks.push(label + 'Sollwert-Rücklesung nicht bestätigt');
|
|
226
|
+
}
|
|
227
|
+
else {
|
|
228
|
+
readbacks.push(label + 'Quittierungsstatus nicht mitgeteilt');
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
line(list, 'DP-Rückmeldung', readbacks.length ? readbacks.join(' · ') : 'Keine aktuelle Quittierungsdiagnose; Gerätewirkung nur aus unabhängiger Messung ableiten');
|
|
232
|
+
line(list, 'Schreibdiagnose', messages.length ? [...new Set(messages)].join(' · ') : 'Keine Fehlermeldung im letzten Schreibauftrag; reale Leistung separat prüfen');
|
|
233
|
+
line(list, 'Statuszuordnung', reason(text(result.statusMatch)) || 'Nicht mitgeteilt');
|
|
234
|
+
}
|
|
235
|
+
container.append(detail);
|
|
236
|
+
}
|
|
237
|
+
if (!members.length) {
|
|
238
|
+
const note = document.createElement('p');
|
|
239
|
+
note.textContent = 'Keine aktuellen Einzelspeicher-Diagnosen.';
|
|
240
|
+
container.append(note);
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
function render(snapshot, connected, now = Date.now()) {
|
|
244
|
+
const diag = dispatch(snapshot, connected, now);
|
|
245
|
+
const read = (key) => value(snapshot, key, connected, now);
|
|
246
|
+
const emsTarget = number(read('speicher.regelung.sollW'));
|
|
247
|
+
const requested = diag ? number(diag.requestedW) : emsTarget;
|
|
248
|
+
const accepted = diag ? number(diag.acceptedDeliveredW) : null;
|
|
249
|
+
const overview = json(snapshot, 'storageFarm.overviewJson', connected, now);
|
|
250
|
+
const battery = record(overview) && overview.v === 1 && fresh(overview.updatedAt, now) && record(overview.battery) ? overview.battery : null;
|
|
251
|
+
const members = record(overview) && record(overview.members) ? number(overview.members.total) : null;
|
|
252
|
+
const measured = battery && members !== null && Number.isInteger(members) && members > 0 && members <= 128 && battery.complete === true && battery.total === members && battery.valid === members ? number(battery.netW) : null;
|
|
253
|
+
set('sf_dispatch_requested', signed(requested));
|
|
254
|
+
set('sf_dispatch_accepted', signed(accepted));
|
|
255
|
+
set('sf_dispatch_measured', signed(measured));
|
|
256
|
+
set('sf_dispatch_requested_detail', diag ? 'Anforderung der letzten aktuellen Farm-Verteilung' : emsTarget !== null ? 'Aktuelles EMS-Soll; keine aktuelle Farm-Verteilung vorhanden' : 'Kein aktueller Anforderungswert');
|
|
257
|
+
set('sf_dispatch_accepted_detail', 'An ioBroker-Schreibpfad übergeben; keine Treiber-, Geräte- oder Leistungsbestätigung');
|
|
258
|
+
set('sf_dispatch_measured_detail', measured === null ? 'Keine vollständige aktuelle Batteriemessung' : 'Unabhängige aktuelle Batteriemessung der gesamten Farm');
|
|
259
|
+
let summary = !connected ? 'Verbindung unterbrochen' : !diag ? 'Keine aktuelle Farm-Verteilung; Ursache nicht aus Messwerten ableitbar' : 'Aktuelle Farm-Verteilung vorhanden';
|
|
260
|
+
if (diag) {
|
|
261
|
+
const state = text(diag.status), why = text(diag.reason);
|
|
262
|
+
if (emsTarget !== null && requested !== null && Math.abs(emsTarget - requested) > 1)
|
|
263
|
+
summary = 'EMS-Ziel geändert; letzte Verteilung gehört zu einem anderen Sollwert';
|
|
264
|
+
else if (requested === 0)
|
|
265
|
+
summary = 'Aktuelle Nullvorgabe; keine Lade- oder Entladeleistung angefordert';
|
|
266
|
+
else if (requested !== null && accepted === 0)
|
|
267
|
+
summary = 'Leistung angefordert, aber kein Leistungsbefehl angenommen';
|
|
268
|
+
else if (requested !== null && accepted !== null && Math.sign(requested) !== Math.sign(accepted))
|
|
269
|
+
summary = 'Richtung der Befehlsannahme weicht von der Anforderung ab';
|
|
270
|
+
else if (requested !== null && accepted !== null && Math.abs(accepted) < Math.abs(requested))
|
|
271
|
+
summary = 'Leistungsanforderung nur teilweise angenommen';
|
|
272
|
+
else if (accepted !== null && accepted !== 0)
|
|
273
|
+
summary = 'Schreibauftrag übergeben; tatsächliche Leistung separat prüfen';
|
|
274
|
+
if (state)
|
|
275
|
+
summary += ' · ' + reason(state);
|
|
276
|
+
if (why)
|
|
277
|
+
summary += ' · ' + reason(why);
|
|
278
|
+
}
|
|
279
|
+
set('sf_dispatch_status', summary);
|
|
280
|
+
const active = read('speicher.regelung.aktiv'), source = text(read('speicher.regelung.quelle')), why = text(read('speicher.regelung.grund'), 260);
|
|
281
|
+
set('sf_dispatch_ems', 'Speicherregelung: ' + (active === true ? 'aktiv' : active === false ? 'deaktiviert' : 'Status unbekannt') + ' · EMS-Soll: ' + signed(emsTarget) + ' · Quelle: ' + (source || 'unbekannt') + ' · Grund: ' + (why || 'nicht mitgeteilt'));
|
|
282
|
+
set('sf_dispatch_floor', diag && number(diag.dischargeFloorSocPct) !== null ? 'Mindest-SoC dieser Verteilung: ' + String(diag.dischargeFloorSocPct) + ' %' : 'Mindest-SoC der aktuellen Verteilung: nicht mitgeteilt');
|
|
283
|
+
memberDiagnostics(snapshot, connected, now, diag);
|
|
284
|
+
}
|
|
285
|
+
const host = window;
|
|
286
|
+
host.NWStorageFarmDispatch = Object.freeze({ render, rows, status });
|
|
287
|
+
})();
|
|
@@ -15,3 +15,18 @@
|
|
|
15
15
|
.nw-farm-summary__hint { color: #bacbd2; font-size: .82rem; line-height: 1.5; margin: 14px 0 0; }
|
|
16
16
|
@media (max-width: 900px) { .nw-farm-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
|
|
17
17
|
@media (max-width: 460px) { .nw-farm-metrics { grid-template-columns: 1fr; } .nw-farm-metric { padding: 16px; } }
|
|
18
|
+
|
|
19
|
+
/* Diagnose trennt tatsächliche Messung von Verteilung und Befehlsannahme. */
|
|
20
|
+
.nw-farm-dispatch { margin-top: 24px; padding-top: 20px; border-top: 1px solid #244251; }
|
|
21
|
+
.nw-farm-dispatch h3 { color: #e5f5f5; font-size: 1.1rem; margin: 0 0 12px; }
|
|
22
|
+
#sf_dispatch_status { color: #ead5a5; line-height: 1.5; overflow-wrap: anywhere; }
|
|
23
|
+
.nw-farm-dispatch .nw-farm-metric { border-top-color: #4e91a1; }
|
|
24
|
+
.nw-farm-dispatch-members { display: grid; gap: 10px; margin-top: 16px; }
|
|
25
|
+
.nw-farm-dispatch-member { background: #081c29; border: 1px solid #244251; border-radius: 12px; min-width: 0; }
|
|
26
|
+
.nw-farm-dispatch-member summary { padding: 14px 16px; cursor: pointer; color: #dcefeb; overflow-wrap: anywhere; }
|
|
27
|
+
.nw-farm-dispatch-member summary:focus-visible { outline: 2px solid #35d9ad; outline-offset: 2px; }
|
|
28
|
+
.nw-farm-dispatch-details { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0 16px 16px; }
|
|
29
|
+
.nw-farm-dispatch-details > div { min-width: 0; overflow-wrap: anywhere; }
|
|
30
|
+
.nw-farm-dispatch-details dt { color: #91acb8; font-size: .76rem; }
|
|
31
|
+
.nw-farm-dispatch-details dd { color: #dcefeb; font-size: .84rem; margin: 5px 0 0; line-height: 1.45; }
|
|
32
|
+
@media (max-width: 600px) { .nw-farm-dispatch-details { grid-template-columns: minmax(0, 1fr); } }
|
package/ui/www/storagefarm.html
CHANGED
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
<link rel="manifest" href="/manifest.webmanifest">
|
|
27
27
|
<link rel="icon" type="image/png" sizes="32x32" href="/assets/icons/nexowatt-32.png">
|
|
28
28
|
<link rel="icon" type="image/png" sizes="192x192" href="/assets/icons/nexowatt-192.png">
|
|
29
|
-
<link rel="apple-touch-icon" sizes="
|
|
29
|
+
<link rel="apple-touch-icon" type="image/png" sizes="180x180" href="/assets/icons/nexowatt-180.png?v=083e11ab28ec">
|
|
30
30
|
<!-- Gemeinsamer direkter/Proxy-Bootstrap: Sitzung und CSRF vor der Bedienlogik. -->
|
|
31
31
|
<script src="/static/runtime-base.js"></script>
|
|
32
32
|
<script src="/static/auth.js"></script>
|
|
@@ -112,10 +112,24 @@
|
|
|
112
112
|
<div id="sf_status_rows" class="nw-storagefarm-rows"></div>
|
|
113
113
|
</div>
|
|
114
114
|
<small id="sf_msg" class="nw-storagefarm-msg"></small>
|
|
115
|
+
<section class="nw-farm-dispatch" aria-labelledby="sf_dispatch_title">
|
|
116
|
+
<h3 id="sf_dispatch_title">Regelauftrag & Rückmeldung</h3>
|
|
117
|
+
<p id="sf_dispatch_status" role="status">Warte auf aktuelle Verteilungsdiagnose.</p>
|
|
118
|
+
<div class="nw-farm-metrics">
|
|
119
|
+
<article class="nw-farm-metric"><h4>Angefordert</h4><strong id="sf_dispatch_requested">—</strong><small id="sf_dispatch_requested_detail">Keine aktuelle Anforderung</small></article>
|
|
120
|
+
<article class="nw-farm-metric"><h4>An Schreibpfad übergeben</h4><strong id="sf_dispatch_accepted">—</strong><small id="sf_dispatch_accepted_detail">Keine Treiber-, Geräte- oder Leistungsbestätigung</small></article>
|
|
121
|
+
<article class="nw-farm-metric"><h4>Tatsächlich gemessen</h4><strong id="sf_dispatch_measured">—</strong><small id="sf_dispatch_measured_detail">Keine aktuelle Messung</small></article>
|
|
122
|
+
</div>
|
|
123
|
+
<p id="sf_dispatch_ems" class="nw-farm-summary__hint">EMS-Entscheidung unbekannt.</p>
|
|
124
|
+
<p id="sf_dispatch_floor" class="nw-farm-summary__hint">Mindest-SoC nicht mitgeteilt.</p>
|
|
125
|
+
<div id="sf_dispatch_members" class="nw-farm-dispatch-members"></div>
|
|
126
|
+
</section>
|
|
127
|
+
|
|
115
128
|
</section>
|
|
116
129
|
</main>
|
|
117
130
|
|
|
118
131
|
<script src="/static/storagefarm-summary.js"></script>
|
|
132
|
+
<script src="/static/storagefarm-dispatch.js"></script>
|
|
119
133
|
<script src="/static/storagefarm.js"></script>
|
|
120
134
|
<script src="/static/cockpit-shell.js"></script>
|
|
121
135
|
<script src="/static/pwa.js" defer></script>
|
package/ui/www/storagefarm.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* AUTO-GENERATED RUNTIME FILE - NICHT MANUELL BEARBEITEN.
|
|
8
8
|
*
|
|
9
9
|
* Quelle: src-ts/runtime-executables/www/storagefarm.ts
|
|
10
|
-
* Quell-Hash: sha256:
|
|
10
|
+
* Quell-Hash: sha256:c5b60c8ff566faf606ed843959a8f43f9ef206433f5675f2dea9841233679144
|
|
11
11
|
* Erzeugung: npm run sync:ts-runtime-executables
|
|
12
12
|
*
|
|
13
13
|
* Zweck:
|
|
@@ -143,8 +143,7 @@
|
|
|
143
143
|
* TypeScript: Parameter, Rückgabewert und verwendete Config-/State-Objekte später explizit typisieren.
|
|
144
144
|
*/
|
|
145
145
|
function statusList() {
|
|
146
|
-
|
|
147
|
-
return Array.isArray(list) ? list : [];
|
|
146
|
+
return window.NWStorageFarmDispatch ? window.NWStorageFarmDispatch.rows(state, liveConnected) : [];
|
|
148
147
|
}
|
|
149
148
|
/**
|
|
150
149
|
* Code-Teil: setLive
|
|
@@ -154,7 +153,7 @@
|
|
|
154
153
|
*/
|
|
155
154
|
function setLive(ok) {
|
|
156
155
|
liveConnected = !!ok;
|
|
157
|
-
|
|
156
|
+
render();
|
|
158
157
|
var dot = el('liveDot');
|
|
159
158
|
if (dot) dot.classList.toggle('live', !!ok);
|
|
160
159
|
}
|
|
@@ -175,26 +174,9 @@
|
|
|
175
174
|
* TypeScript: Parameter, Rückgabewert und verwendete Config-/State-Objekte später explizit typisieren.
|
|
176
175
|
*/
|
|
177
176
|
function statusText(row) {
|
|
178
|
-
|
|
179
|
-
var online = !!(row && (row.online === true || row.displayOnline === true || row.dispatchAvailable === true));
|
|
180
|
-
var degraded = !!(row && (row.degraded === true || row.state === 'degraded'));
|
|
181
|
-
var reasons = []
|
|
182
|
-
.concat(row && Array.isArray(row.dispatchBlockedReasons) ? row.dispatchBlockedReasons : [])
|
|
183
|
-
.concat(row && Array.isArray(row.chargeBlockedReasons) ? row.chargeBlockedReasons : [])
|
|
184
|
-
.concat(row && Array.isArray(row.dischargeBlockedReasons) ? row.dischargeBlockedReasons : []);
|
|
185
|
-
var hardLock = reasons.some(function (x) {
|
|
186
|
-
return ['available_false', 'fault_active', 'device_offline', 'charge_not_allowed', 'discharge_not_allowed'].indexOf(String(x || '')) >= 0;
|
|
187
|
-
});
|
|
188
|
-
var chg = num(row && row.chargePowerW) || 0;
|
|
189
|
-
var dchg = num(row && row.dischargePowerW) || 0;
|
|
190
|
-
var idle = Math.abs(chg) + Math.abs(dchg) < 20;
|
|
191
|
-
|
|
192
|
-
if (online && row && row.dispatchAvailable === true) return degraded ? 'Degraded / Bereit' : (idle ? 'Online / Standby' : 'Online / Bereit');
|
|
193
|
-
if (online && hardLock) return 'Gesperrt';
|
|
194
|
-
if (online) return degraded ? 'Degraded / prüfen' : 'Online / prüfen';
|
|
195
|
-
if (row && row.dispatchAvailable) return 'Regelbar';
|
|
196
|
-
return 'Offline';
|
|
177
|
+
return window.NWStorageFarmDispatch ? window.NWStorageFarmDispatch.status(row) : 'Status unbekannt';
|
|
197
178
|
}
|
|
179
|
+
|
|
198
180
|
/**
|
|
199
181
|
* Code-Teil: cell
|
|
200
182
|
* Zweck: Kapselt einen lokalen Verarbeitungsschritt, damit Aufrufer nicht direkt in Detaildaten eingreifen.
|
|
@@ -262,6 +244,7 @@
|
|
|
262
244
|
function render() {
|
|
263
245
|
renderSummary();
|
|
264
246
|
renderRows(statusList());
|
|
247
|
+
if (window.NWStorageFarmDispatch) window.NWStorageFarmDispatch.render(state, liveConnected);
|
|
265
248
|
}
|
|
266
249
|
/**
|
|
267
250
|
* Code-Teil: loadConfig
|
|
@@ -307,7 +290,6 @@
|
|
|
307
290
|
var snap = await fetch('/api/state', { cache: 'no-store' }).then(function (r) { return r.json(); });
|
|
308
291
|
state = snap || {};
|
|
309
292
|
window.latestState = state;
|
|
310
|
-
render();
|
|
311
293
|
setLive(true);
|
|
312
294
|
} catch (_e) {
|
|
313
295
|
setLive(false);
|
|
@@ -380,9 +362,9 @@
|
|
|
380
362
|
loadConfig();
|
|
381
363
|
loadState();
|
|
382
364
|
startEvents();
|
|
383
|
-
aggregateTimer = window.setInterval(function () {
|
|
365
|
+
aggregateTimer = window.setInterval(function () { render(); }, 5000);
|
|
384
366
|
window.addEventListener('pagehide', function () { if (aggregateTimer !== null) { window.clearInterval(aggregateTimer); aggregateTimer = null; } });
|
|
385
|
-
window.addEventListener('pageshow', function () { if (aggregateTimer === null) aggregateTimer = window.setInterval(function () {
|
|
367
|
+
window.addEventListener('pageshow', function () { if (aggregateTimer === null) aggregateTimer = window.setInterval(function () { render(); }, 5000); });
|
|
386
368
|
|
|
387
369
|
});
|
|
388
370
|
})();
|