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
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
(node:5) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time.
|
|
2
|
+
(Use `node --trace-warnings ...` to show where the warning was created)
|
|
3
|
+
TAP version 13
|
|
4
|
+
# (node:12) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time.
|
|
5
|
+
# (Use `node --trace-warnings ...` to show where the warning was created)
|
|
6
|
+
# Subtest: constant SMA grid samples stay fresh for 30 minutes; cached telegrams, failed polls and counters do not
|
|
7
|
+
ok 1 - constant SMA grid samples stay fresh for 30 minutes; cached telegrams, failed polls and counters do not
|
|
8
|
+
---
|
|
9
|
+
duration_ms: 477.55395
|
|
10
|
+
type: 'test'
|
|
11
|
+
...
|
|
12
|
+
# Subtest: FENECON real battery, SOC, PV, converter and grid samples refresh within bound while commands remain change-only
|
|
13
|
+
ok 2 - FENECON real battery, SOC, PV, converter and grid samples refresh within bound while commands remain change-only
|
|
14
|
+
---
|
|
15
|
+
duration_ms: 5.159038
|
|
16
|
+
type: 'test'
|
|
17
|
+
...
|
|
18
|
+
# Subtest: SolaX applied-target readback refreshes only from actual poll, never write acknowledgement or unrelated packet
|
|
19
|
+
ok 3 - SolaX applied-target readback refreshes only from actual poll, never write acknowledgement or unrelated packet
|
|
20
|
+
---
|
|
21
|
+
duration_ms: 2.773726
|
|
22
|
+
type: 'test'
|
|
23
|
+
...
|
|
24
|
+
# Subtest: MQTT full caches and diagnostic packets cannot refresh an old source or a partially updated computed alias
|
|
25
|
+
ok 4 - MQTT full caches and diagnostic packets cannot refresh an old source or a partially updated computed alias
|
|
26
|
+
---
|
|
27
|
+
duration_ms: 1.738667
|
|
28
|
+
type: 'test'
|
|
29
|
+
...
|
|
30
|
+
# Subtest: FENECON 780 controller block / 882 target changes only controller route and retains all verified read aliases
|
|
31
|
+
ok 5 - FENECON 780 controller block / 882 target changes only controller route and retains all verified read aliases
|
|
32
|
+
---
|
|
33
|
+
duration_ms: 2.338491
|
|
34
|
+
type: 'test'
|
|
35
|
+
...
|
|
36
|
+
# (node:13) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time.
|
|
37
|
+
# (Use `node --trace-warnings ...` to show where the warning was created)
|
|
38
|
+
# Subtest: all 195 profiles retain existing aliases; new semantics are additive, source-bound and read-only
|
|
39
|
+
ok 6 - all 195 profiles retain existing aliases; new semantics are additive, source-bound and read-only
|
|
40
|
+
---
|
|
41
|
+
duration_ms: 108.203626
|
|
42
|
+
type: 'test'
|
|
43
|
+
...
|
|
44
|
+
# Subtest: FENECON keeps battery power separate from ESS converter/DC PV and does not fabricate 706 readback
|
|
45
|
+
ok 7 - FENECON keeps battery power separate from ESS converter/DC PV and does not fabricate 706 readback
|
|
46
|
+
---
|
|
47
|
+
duration_ms: 1.026917
|
|
48
|
+
type: 'test'
|
|
49
|
+
...
|
|
50
|
+
# Subtest: both SolaX profiles share W units and signed limits, with genuine readable target and no invented grid target
|
|
51
|
+
ok 8 - both SolaX profiles share W units and signed limits, with genuine readable target and no invented grid target
|
|
52
|
+
---
|
|
53
|
+
duration_ms: 0.618391
|
|
54
|
+
type: 'test'
|
|
55
|
+
...
|
|
56
|
+
# Subtest: readback is actual polling data and cannot acknowledge queued or failed commands
|
|
57
|
+
ok 9 - readback is actual polling data and cannot acknowledge queued or failed commands
|
|
58
|
+
---
|
|
59
|
+
duration_ms: 2.396618
|
|
60
|
+
type: 'test'
|
|
61
|
+
...
|
|
62
|
+
# Subtest: VARTA sign conversion and DEYE MPPT aggregation remain canonical without new control capability
|
|
63
|
+
ok 10 - VARTA sign conversion and DEYE MPPT aggregation remain canonical without new control capability
|
|
64
|
+
---
|
|
65
|
+
duration_ms: 0.428846
|
|
66
|
+
type: 'test'
|
|
67
|
+
...
|
|
68
|
+
# Subtest: unknown, write-only, missing, remapped and differently scaled sources remain unavailable
|
|
69
|
+
ok 11 - unknown, write-only, missing, remapped and differently scaled sources remain unavailable
|
|
70
|
+
---
|
|
71
|
+
duration_ms: 1.455161
|
|
72
|
+
type: 'test'
|
|
73
|
+
...
|
|
74
|
+
# (node:19) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time.
|
|
75
|
+
# (Use `node --trace-warnings ...` to show where the warning was created)
|
|
76
|
+
# {"runtime":"v22.23.4","wireBlocks":[{"fc":16,"addr":160,"regs":[4,600,0,600,160]},{"fc":16,"addr":160,"regs":[4,64936,65535,600,160]},{"fc":16,"addr":160,"regs":[4,0,0,600,160]}],"deniedWritePackets":0}
|
|
77
|
+
# Subtest: actual SolaX AliasV1 dispatch reaches real loopback Modbus TCP as complete Mode4 block with signed W
|
|
78
|
+
ok 12 - actual SolaX AliasV1 dispatch reaches real loopback Modbus TCP as complete Mode4 block with signed W
|
|
79
|
+
---
|
|
80
|
+
duration_ms: 36.393479
|
|
81
|
+
type: 'test'
|
|
82
|
+
...
|
|
83
|
+
# {"runtime":"v22.23.4","measured":{"sOC":98,"bATTERY_POWER":600,"aLLOWED_CHARGE_POWER":5000,"aLLOWED_DISCHARGE_POWER":0},"zeroCapabilityPreserved":true}
|
|
84
|
+
# Subtest: actual read path preserves positive discharge, 98% SoC and valid zero BMS discharge capability
|
|
85
|
+
ok 13 - actual read path preserves positive discharge, 98% SoC and valid zero BMS discharge capability
|
|
86
|
+
---
|
|
87
|
+
duration_ms: 10.084705
|
|
88
|
+
type: 'test'
|
|
89
|
+
...
|
|
90
|
+
# {"runtime":"v22.23.4","rawCommandAck":700,"actualMode4Readback":600,"mode8Interpretation":null,"interpretationRequiresMode4":true}
|
|
91
|
+
# Subtest: SolaX readback uses actual mode4 poll and becomes unknown after mode8 or missing current mode
|
|
92
|
+
ok 14 - SolaX readback uses actual mode4 poll and becomes unknown after mode8 or missing current mode
|
|
93
|
+
---
|
|
94
|
+
duration_ms: 8.330133
|
|
95
|
+
type: 'test'
|
|
96
|
+
...
|
|
97
|
+
# Subtest: unknown, invalid, disconnected and expired mode context never keeps a usable target or fabricates freshness
|
|
98
|
+
ok 15 - unknown, invalid, disconnected and expired mode context never keeps a usable target or fabricates freshness
|
|
99
|
+
---
|
|
100
|
+
duration_ms: 11.553987
|
|
101
|
+
type: 'test'
|
|
102
|
+
...
|
|
103
|
+
# Subtest: only the exact verified mode descriptor enables contextual readback; the existing slow poll includes both fields
|
|
104
|
+
ok 16 - only the exact verified mode descriptor enables contextual readback; the existing slow poll includes both fields
|
|
105
|
+
---
|
|
106
|
+
duration_ms: 1.12232
|
|
107
|
+
type: 'test'
|
|
108
|
+
...
|
|
109
|
+
# Subtest: separate isolated register replies cannot combine old mode4 with mode8 target words
|
|
110
|
+
ok 17 - separate isolated register replies cannot combine old mode4 with mode8 target words
|
|
111
|
+
---
|
|
112
|
+
duration_ms: 5.347552
|
|
113
|
+
type: 'test'
|
|
114
|
+
...
|
|
115
|
+
# Subtest: separate adaptive register replies cannot combine old mode4 with mode8 target words
|
|
116
|
+
ok 18 - separate adaptive register replies cannot combine old mode4 with mode8 target words
|
|
117
|
+
---
|
|
118
|
+
duration_ms: 5.309485
|
|
119
|
+
type: 'test'
|
|
120
|
+
...
|
|
121
|
+
# Subtest: separate maxReadRegs register replies cannot combine old mode4 with mode8 target words
|
|
122
|
+
ok 19 - separate maxReadRegs register replies cannot combine old mode4 with mode8 target words
|
|
123
|
+
---
|
|
124
|
+
duration_ms: 7.795949
|
|
125
|
+
type: 'test'
|
|
126
|
+
...
|
|
127
|
+
# Subtest: even a full cached copy cannot manufacture the actual response provenance
|
|
128
|
+
ok 20 - even a full cached copy cannot manufacture the actual response provenance
|
|
129
|
+
---
|
|
130
|
+
duration_ms: 11.837123
|
|
131
|
+
type: 'test'
|
|
132
|
+
...
|
|
133
|
+
# Subtest: stop drains earlier alias work without reviving an old sample
|
|
134
|
+
ok 21 - stop drains earlier alias work without reviving an old sample
|
|
135
|
+
---
|
|
136
|
+
duration_ms: 10.335032
|
|
137
|
+
type: 'test'
|
|
138
|
+
...
|
|
139
|
+
# Subtest: stop drains submitted readback work without reviving an old sample
|
|
140
|
+
ok 22 - stop drains submitted readback work without reviving an old sample
|
|
141
|
+
---
|
|
142
|
+
duration_ms: 6.006464
|
|
143
|
+
type: 'test'
|
|
144
|
+
...
|
|
145
|
+
# Subtest: real unchanged BMS caps stay fresh beyond 60s, while failed/skipped/unrelated polls do not renew them
|
|
146
|
+
ok 23 - real unchanged BMS caps stay fresh beyond 60s, while failed/skipped/unrelated polls do not renew them
|
|
147
|
+
---
|
|
148
|
+
duration_ms: 71.261651
|
|
149
|
+
type: 'test'
|
|
150
|
+
...
|
|
151
|
+
# Subtest: runtime fast scheduler includes only the two existing numeric cap sources without speeding up the full map
|
|
152
|
+
ok 24 - runtime fast scheduler includes only the two existing numeric cap sources without speeding up the full map
|
|
153
|
+
---
|
|
154
|
+
duration_ms: 11.447417
|
|
155
|
+
type: 'test'
|
|
156
|
+
...
|
|
157
|
+
1..24
|
|
158
|
+
# tests 24
|
|
159
|
+
# suites 0
|
|
160
|
+
# pass 24
|
|
161
|
+
# fail 0
|
|
162
|
+
# cancelled 0
|
|
163
|
+
# skipped 0
|
|
164
|
+
# todo 0
|
|
165
|
+
# duration_ms 746.381588
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
✔ constant SMA grid samples stay fresh for 30 minutes; cached telegrams, failed polls and counters do not (414.978303ms)
|
|
2
|
+
✔ FENECON real battery, SOC, PV, converter and grid samples refresh within bound while commands remain change-only (4.651254ms)
|
|
3
|
+
✔ SolaX applied-target readback refreshes only from actual poll, never write acknowledgement or unrelated packet (2.328977ms)
|
|
4
|
+
✔ MQTT full caches and diagnostic packets cannot refresh an old source or a partially updated computed alias (1.416233ms)
|
|
5
|
+
✔ FENECON 780 controller block / 882 target changes only controller route and retains all verified read aliases (2.289457ms)
|
|
6
|
+
✔ all 195 profiles retain existing aliases; new semantics are additive, source-bound and read-only (92.999863ms)
|
|
7
|
+
✔ FENECON keeps battery power separate from ESS converter/DC PV and does not fabricate 706 readback (1.080757ms)
|
|
8
|
+
✔ both SolaX profiles share W units and signed limits, with genuine readable target and no invented grid target (0.871933ms)
|
|
9
|
+
✔ readback is actual polling data and cannot acknowledge queued or failed commands (2.118229ms)
|
|
10
|
+
✔ VARTA sign conversion and DEYE MPPT aggregation remain canonical without new control capability (0.57793ms)
|
|
11
|
+
✔ unknown, write-only, missing, remapped and differently scaled sources remain unavailable (1.894022ms)
|
|
12
|
+
{"runtime":"v24.22.3","wireBlocks":[{"fc":16,"addr":160,"regs":[4,600,0,600,160]},{"fc":16,"addr":160,"regs":[4,64936,65535,600,160]},{"fc":16,"addr":160,"regs":[4,0,0,600,160]}],"deniedWritePackets":0}
|
|
13
|
+
✔ actual SolaX AliasV1 dispatch reaches real loopback Modbus TCP as complete Mode4 block with signed W (81.624811ms)
|
|
14
|
+
{"runtime":"v24.22.3","measured":{"sOC":98,"bATTERY_POWER":600,"aLLOWED_CHARGE_POWER":5000,"aLLOWED_DISCHARGE_POWER":0},"zeroCapabilityPreserved":true}
|
|
15
|
+
✔ actual read path preserves positive discharge, 98% SoC and valid zero BMS discharge capability (8.388902ms)
|
|
16
|
+
{"runtime":"v24.22.3","rawCommandAck":700,"actualMode4Readback":600,"mode8Interpretation":null,"interpretationRequiresMode4":true}
|
|
17
|
+
✔ SolaX readback uses actual mode4 poll and becomes unknown after mode8 or missing current mode (5.61213ms)
|
|
18
|
+
✔ unknown, invalid, disconnected and expired mode context never keeps a usable target or fabricates freshness (14.938363ms)
|
|
19
|
+
✔ only the exact verified mode descriptor enables contextual readback; the existing slow poll includes both fields (0.971773ms)
|
|
20
|
+
✔ separate isolated register replies cannot combine old mode4 with mode8 target words (5.526952ms)
|
|
21
|
+
✔ separate adaptive register replies cannot combine old mode4 with mode8 target words (5.393922ms)
|
|
22
|
+
✔ separate maxReadRegs register replies cannot combine old mode4 with mode8 target words (3.406098ms)
|
|
23
|
+
✔ even a full cached copy cannot manufacture the actual response provenance (3.71265ms)
|
|
24
|
+
✔ stop drains earlier alias work without reviving an old sample (3.467602ms)
|
|
25
|
+
✔ stop drains submitted readback work without reviving an old sample (4.11123ms)
|
|
26
|
+
✔ real unchanged BMS caps stay fresh beyond 60s, while failed/skipped/unrelated polls do not renew them (28.668237ms)
|
|
27
|
+
✔ runtime fast scheduler includes only the two existing numeric cap sources without speeding up the full map (6.608761ms)
|
|
28
|
+
ℹ tests 24
|
|
29
|
+
ℹ suites 0
|
|
30
|
+
ℹ pass 24
|
|
31
|
+
ℹ fail 0
|
|
32
|
+
ℹ cancelled 0
|
|
33
|
+
ℹ skipped 0
|
|
34
|
+
ℹ todo 0
|
|
35
|
+
ℹ duration_ms 682.738789
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
{
|
|
2
|
+
"reviewedAt": "2026-11-24T20:07:40.481153+00:00",
|
|
3
|
+
"sourceHashes": {
|
|
4
|
+
"modules/devices/lib/deviceRuntime.js": "cde164a1f7bf2e37a8d03975aec827c2345d4afbaed69b8075d43675233e1a9b",
|
|
5
|
+
"modules/devices/lib/drivers/modbus.js": "f5781745e9e5daea54c0b2efcb8d5dc69cdaff2d744d9dd844bc19890be8f90b",
|
|
6
|
+
"modules/devices/lib/deviceAliasSemantics.js": "3da22af62c4b8f887e3d5961aea17182326c9afd9c771a73f4816f8cba18df2b",
|
|
7
|
+
"modules/devices/lib/device-alias-semantics-v1.json": "d88b7d294eb6c88779984d78dff24ddef00e554b3f030e02361d658351ef3868",
|
|
8
|
+
"modules/devices/lib/deviceAliasFreshness.js": "4061787ff9fd27f9e2b050e9e134bae71db623b362f4c265359a57d9a5b6f64e",
|
|
9
|
+
"modules/devices/lib/modbusReadEvidence.js": "36fa9af8dc99af3a97a78830527940b4fa5c5c89127864da2df844fb8b83bbd1",
|
|
10
|
+
"modules/devices/tsconfig.alias-semantics.json": "1239cc329a5f6ef1462dcf2e6a53f2b824195ecd7909fba817877c4c9ff7d574",
|
|
11
|
+
"modules/devices/test/solaxReadbackContext.test.js": "d0abae50646a271e787af33884968c1e23ba3d857248a7f8a0b51797d032fc61",
|
|
12
|
+
"modules/devices/test/deviceAliasFreshness.test.js": "fa050655fec5475a29cc8a606854bcd90b7668eba80f6116aafa3fcfefe1035a"
|
|
13
|
+
},
|
|
14
|
+
"tests": [
|
|
15
|
+
{
|
|
16
|
+
"node": "22.23.4",
|
|
17
|
+
"passed": 24,
|
|
18
|
+
"failed": 0,
|
|
19
|
+
"skipped": 0,
|
|
20
|
+
"log": "node22-focused.log"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"node": "24.22.3",
|
|
24
|
+
"passed": 24,
|
|
25
|
+
"failed": 0,
|
|
26
|
+
"skipped": 0,
|
|
27
|
+
"log": "node24-focused.log"
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"strictTypeCheck": {
|
|
31
|
+
"command": "node node_modules/typescript/bin/tsc -p modules/devices/tsconfig.alias-semantics.json",
|
|
32
|
+
"exitCode": 0
|
|
33
|
+
},
|
|
34
|
+
"securityLint": {
|
|
35
|
+
"command": "node node_modules/eslint/bin/eslint.js -c modules/devices/eslint.hosted.config.mjs modules/devices/lib/modbusReadEvidence.js modules/devices/lib/deviceAliasSemantics.js modules/devices/lib/deviceAliasFreshness.js",
|
|
36
|
+
"exitCode": 0
|
|
37
|
+
},
|
|
38
|
+
"independentSplitRepro": {
|
|
39
|
+
"beforeReadbackW": 32768001,
|
|
40
|
+
"afterReadbackW": null,
|
|
41
|
+
"hardware": false
|
|
42
|
+
},
|
|
43
|
+
"limitations": [
|
|
44
|
+
"Physical inverter response was not tested",
|
|
45
|
+
"No new control/safety/licensing bypass authorized",
|
|
46
|
+
"Narrow lint scope does not claim all historical driver/runtime findings resolved"
|
|
47
|
+
],
|
|
48
|
+
"finalFocusedRerunAt": "2026-11-24T20:11:06.335215+00:00",
|
|
49
|
+
"changesSinceOriginalReview": [
|
|
50
|
+
"modules/devices/test/solaxReadbackContext.test.js"
|
|
51
|
+
],
|
|
52
|
+
"focusedTestsRerunExitCode": {
|
|
53
|
+
"node22": 0,
|
|
54
|
+
"node24": 0
|
|
55
|
+
},
|
|
56
|
+
"note": "Repeated focused tests after fixture explicitly covered nonzero5000/9566W capability, retaining separate real0W case; no production source changed since independent review."
|
|
57
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"node":"v24.22.3","requests":[{"fc":3,"addr":416,"len":1},{"fc":3,"addr":417,"len":2},{"fc":3,"addr":419,"len":1},{"fc":3,"addr":420,"len":1}],"values":{"sET_CONTROL_MODE":4,"sET_ACTIVE_POWER":32768001,"vPP_WAIT_TIMEOUT":0,"vPP_NEXT_MOTION":0},"readback":{"val":null,"ack":true}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"node":"v24.22.3","requests":[{"fc":3,"addr":416,"len":1},{"fc":3,"addr":417,"len":2},{"fc":3,"addr":419,"len":1},{"fc":3,"addr":420,"len":1}],"values":{"sET_CONTROL_MODE":4,"sET_ACTIVE_POWER":32768001,"vPP_WAIT_TIMEOUT":0,"vPP_NEXT_MOTION":0},"readback":{"val":32768001,"ack":true}}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
const root='/workspace/scratch/741f792566ea/source-920/iobroker.eos-admin';
|
|
3
|
+
const {DeviceRuntime}=require(root+'/modules/devices/lib/deviceRuntime');
|
|
4
|
+
const {ModbusDriver}=require(root+'/modules/devices/lib/drivers/modbus');
|
|
5
|
+
const t=require(root+'/modules/devices/lib/templates.json').templates.find(t=>t.id==='ess.solax.SolaXHybridX1X3Ess');
|
|
6
|
+
(async()=>{
|
|
7
|
+
const states=new Map();const requests=[];
|
|
8
|
+
const a={namespace:'eos-admin.0',log:{info(){},warn(){},error(){},debug(){}},setObjectNotExistsAsync:async()=>{},extendObjectAsync:async()=>{},getStateAsync:async()=>null,setStateAsync:async(id,v)=>states.set(id,v)};
|
|
9
|
+
const cfg={id:'s',templateId:t.id,protocol:'modbusTcp',connection:{host:'127.0.0.1',port:502,unitId:1,isolateReadDatapoints:true}};
|
|
10
|
+
const rt=new DeviceRuntime(a,cfg,t,{});await rt.initObjects();const d=new ModbusDriver(a,cfg,t,{});rt.driver=d;
|
|
11
|
+
d.ensureConnected=async()=>{};
|
|
12
|
+
d._readRegisterWords=async(fc,addr,len)=>{requests.push({fc,addr,len});return addr===416?[4]:addr===417?[1,500]:Array(len).fill(0);};
|
|
13
|
+
const dp=t.datapoints.filter(d=>['sET_CONTROL_MODE','sET_ACTIVE_POWER','vPP_WAIT_TIMEOUT','vPP_NEXT_MOTION'].includes(d.id));
|
|
14
|
+
const values=await d.readDatapoints(dp);await rt._updateAliases(values,{connected:true});console.log(JSON.stringify({node:process.version,requests,values,readback:states.get('devices.s.aliases.v1.r.powerSetpointReadbackW')}));
|
|
15
|
+
await rt.stop();
|
|
16
|
+
})().catch(e=>{console.error(e);process.exitCode=1});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"node":"v24.22.3","afterStop":{"val":null,"ack":true},"afterDrain":{"val":null,"ack":true},"started":false}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
const assert=require('node:assert/strict');
|
|
3
|
+
const root='/workspace/scratch/741f792566ea/source-920/iobroker.eos-admin';
|
|
4
|
+
const {DeviceRuntime}=require(root+'/modules/devices/lib/deviceRuntime');
|
|
5
|
+
const t=require(root+'/modules/devices/lib/templates.json').templates.find(t=>t.id==='ess.solax.SolaXHybridX1X3Ess');
|
|
6
|
+
(async()=>{
|
|
7
|
+
const states=new Map();let entered,release;const paused=new Promise(r=>entered=r);const barrier=new Promise(r=>release=r);let intercept=false;
|
|
8
|
+
const rt=new DeviceRuntime({namespace:'eos-admin.0',log:{info(){},warn(){},error(){},debug(){}},setObjectNotExistsAsync:async()=>{},extendObjectAsync:async()=>{},getStateAsync:async()=>null,setStateAsync:async(id,v)=>{if(intercept&&id==='devices.s.aliases.r.soh'){intercept=false;entered();await barrier;}states.set(id,v);}}, {id:'s',templateId:t.id,protocol:'modbusTcp'},t,{});
|
|
9
|
+
await rt.initObjects();rt.started=true;intercept=true;
|
|
10
|
+
const pending=rt._updateAliases({sOH:99,sET_CONTROL_MODE:4,sET_ACTIVE_POWER:600},{connected:true});
|
|
11
|
+
await paused;await rt.stop();const afterStop=states.get('devices.s.aliases.v1.r.powerSetpointReadbackW');release();await pending;const afterDrain=states.get('devices.s.aliases.v1.r.powerSetpointReadbackW');
|
|
12
|
+
console.log(JSON.stringify({node:process.version,afterStop,afterDrain,started:rt.started}));assert.equal(afterDrain.val,null,'Stopped alias update must not resurrect qualified mode4 feedback');
|
|
13
|
+
})().catch(e=>{console.error(e.message);process.exitCode=1});
|
|
File without changes
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
(node:5) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time.
|
|
2
|
+
(Use `node --trace-warnings ...` to show where the warning was created)
|
|
3
|
+
TAP version 13
|
|
4
|
+
# (node:12) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time.
|
|
5
|
+
# (Use `node --trace-warnings ...` to show where the warning was created)
|
|
6
|
+
# (node:12) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time.
|
|
7
|
+
# (Use `node --trace-warnings ...` to show where the warning was created)
|
|
8
|
+
# Subtest: direct v2 check validates actual org/bucket authentication, query preserves negative and zero prices
|
|
9
|
+
ok 1 - direct v2 check validates actual org/bucket authentication, query preserves negative and zero prices
|
|
10
|
+
---
|
|
11
|
+
duration_ms: 44.653042
|
|
12
|
+
type: 'test'
|
|
13
|
+
...
|
|
14
|
+
# Subtest: reachable health port alone is insufficient and server error bodies never expose credentials
|
|
15
|
+
ok 2 - reachable health port alone is insufficient and server error bodies never expose credentials
|
|
16
|
+
---
|
|
17
|
+
duration_ms: 6.686557
|
|
18
|
+
type: 'test'
|
|
19
|
+
...
|
|
20
|
+
# Subtest: direct writes use v2 line protocol, explicit milliseconds and real204 success
|
|
21
|
+
ok 3 - direct writes use v2 line protocol, explicit milliseconds and real204 success
|
|
22
|
+
---
|
|
23
|
+
duration_ms: 3.983428
|
|
24
|
+
type: 'test'
|
|
25
|
+
...
|
|
26
|
+
# Subtest: redirects are never followed with the token and HTTP429 is bounded
|
|
27
|
+
ok 4 - redirects are never followed with the token and HTTP429 is bounded
|
|
28
|
+
---
|
|
29
|
+
duration_ms: 11.613976
|
|
30
|
+
type: 'test'
|
|
31
|
+
...
|
|
32
|
+
# Subtest: configuration rejects URL credentials, fragments, API paths and malformed trust without weakening TLS
|
|
33
|
+
ok 5 - configuration rejects URL credentials, fragments, API paths and malformed trust without weakening TLS
|
|
34
|
+
---
|
|
35
|
+
duration_ms: 0.785593
|
|
36
|
+
type: 'test'
|
|
37
|
+
...
|
|
38
|
+
# Subtest: Flux interpolation, names and line protocol cannot inject statements or rows
|
|
39
|
+
ok 6 - Flux interpolation, names and line protocol cannot inject statements or rows
|
|
40
|
+
---
|
|
41
|
+
duration_ms: 0.72384
|
|
42
|
+
type: 'test'
|
|
43
|
+
...
|
|
44
|
+
# Subtest: CSV parser preserves missing samples, string snapshots and repeated annotated tables
|
|
45
|
+
ok 7 - CSV parser preserves missing samples, string snapshots and repeated annotated tables
|
|
46
|
+
---
|
|
47
|
+
duration_ms: 3.363805
|
|
48
|
+
type: 'test'
|
|
49
|
+
...
|
|
50
|
+
# Subtest: server cannot exceed requested row limit or return an oversized body
|
|
51
|
+
ok 8 - server cannot exceed requested row limit or return an oversized body
|
|
52
|
+
---
|
|
53
|
+
duration_ms: 225.706019
|
|
54
|
+
type: 'test'
|
|
55
|
+
...
|
|
56
|
+
# Subtest: real unresponsive connection is aborted within the total5s check budget
|
|
57
|
+
ok 9 - real unresponsive connection is aborted within the total5s check budget
|
|
58
|
+
---
|
|
59
|
+
duration_ms: 5002.14194
|
|
60
|
+
type: 'test'
|
|
61
|
+
...
|
|
62
|
+
# Subtest: successful slow health and stalled query share one total5s connection-check deadline
|
|
63
|
+
ok 10 - successful slow health and stalled query share one total5s connection-check deadline
|
|
64
|
+
---
|
|
65
|
+
duration_ms: 5011.610662
|
|
66
|
+
type: 'test'
|
|
67
|
+
...
|
|
68
|
+
# Subtest: history rejects out-of-range rows while accepting the first partial aggregate window
|
|
69
|
+
ok 11 - history rejects out-of-range rows while accepting the first partial aggregate window
|
|
70
|
+
---
|
|
71
|
+
duration_ms: 11.238061
|
|
72
|
+
type: 'test'
|
|
73
|
+
...
|
|
74
|
+
# Subtest: query bounds reject unbounded history and invalid sampling options before IO
|
|
75
|
+
ok 12 - query bounds reject unbounded history and invalid sampling options before IO
|
|
76
|
+
---
|
|
77
|
+
duration_ms: 0.340803
|
|
78
|
+
type: 'test'
|
|
79
|
+
...
|
|
80
|
+
# Subtest: closing aborts outstanding queries and bounds concurrent requests
|
|
81
|
+
ok 13 - closing aborts outstanding queries and bounds concurrent requests
|
|
82
|
+
---
|
|
83
|
+
duration_ms: 5.23018
|
|
84
|
+
type: 'test'
|
|
85
|
+
...
|
|
86
|
+
# Subtest: each DNS connection uses vetted answers and rejects rebinding before credentials leave
|
|
87
|
+
ok 14 - each DNS connection uses vetted answers and rejects rebinding before credentials leave
|
|
88
|
+
---
|
|
89
|
+
duration_ms: 8.86686
|
|
90
|
+
type: 'test'
|
|
91
|
+
...
|
|
92
|
+
# Subtest: caller remaining budget includes unresolved DNS and still reserves all concurrency slots
|
|
93
|
+
ok 15 - caller remaining budget includes unresolved DNS and still reserves all concurrency slots
|
|
94
|
+
---
|
|
95
|
+
duration_ms: 31.029361
|
|
96
|
+
type: 'test'
|
|
97
|
+
...
|
|
98
|
+
# Subtest: HTTPS rejects untrusted certificates and accepts only explicitly supplied matching CA
|
|
99
|
+
ok 16 - HTTPS rejects untrusted certificates and accepts only explicitly supplied matching CA
|
|
100
|
+
---
|
|
101
|
+
duration_ms: 160.619876
|
|
102
|
+
type: 'test'
|
|
103
|
+
...
|
|
104
|
+
1..16
|
|
105
|
+
# tests 16
|
|
106
|
+
# suites 0
|
|
107
|
+
# pass 16
|
|
108
|
+
# fail 0
|
|
109
|
+
# cancelled 0
|
|
110
|
+
# skipped 0
|
|
111
|
+
# todo 0
|
|
112
|
+
# duration_ms 10900.07026
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
✔ direct v2 check validates actual org/bucket authentication, query preserves negative and zero prices (57.731774ms)
|
|
2
|
+
✔ reachable health port alone is insufficient and server error bodies never expose credentials (12.139868ms)
|
|
3
|
+
✔ direct writes use v2 line protocol, explicit milliseconds and real204 success (4.741599ms)
|
|
4
|
+
✔ redirects are never followed with the token and HTTP429 is bounded (3.512498ms)
|
|
5
|
+
✔ configuration rejects URL credentials, fragments, API paths and malformed trust without weakening TLS (0.68468ms)
|
|
6
|
+
✔ Flux interpolation, names and line protocol cannot inject statements or rows (0.603148ms)
|
|
7
|
+
✔ CSV parser preserves missing samples, string snapshots and repeated annotated tables (1.253638ms)
|
|
8
|
+
✔ server cannot exceed requested row limit or return an oversized body (125.799399ms)
|
|
9
|
+
✔ real unresponsive connection is aborted within the total5s check budget (5001.907111ms)
|
|
10
|
+
✔ successful slow health and stalled query share one total5s connection-check deadline (5013.933632ms)
|
|
11
|
+
✔ history rejects out-of-range rows while accepting the first partial aggregate window (13.960019ms)
|
|
12
|
+
✔ query bounds reject unbounded history and invalid sampling options before IO (0.408184ms)
|
|
13
|
+
✔ closing aborts outstanding queries and bounds concurrent requests (3.451857ms)
|
|
14
|
+
✔ each DNS connection uses vetted answers and rejects rebinding before credentials leave (6.926299ms)
|
|
15
|
+
✔ caller remaining budget includes unresolved DNS and still reserves all concurrency slots (32.383354ms)
|
|
16
|
+
✔ HTTPS rejects untrusted certificates and accepts only explicitly supplied matching CA (129.260938ms)
|
|
17
|
+
ℹ tests 16
|
|
18
|
+
ℹ suites 0
|
|
19
|
+
ℹ pass 16
|
|
20
|
+
ℹ fail 0
|
|
21
|
+
ℹ cancelled 0
|
|
22
|
+
ℹ skipped 0
|
|
23
|
+
ℹ todo 0
|
|
24
|
+
ℹ duration_ms 10806.665841
|
|
File without changes
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
const test = require('node:test');
|
|
3
|
+
const assert = require('node:assert/strict');
|
|
4
|
+
const fs = require('node:fs');
|
|
5
|
+
const http = require('node:http');
|
|
6
|
+
const Module = require('node:module');
|
|
7
|
+
const path = require('node:path');
|
|
8
|
+
const root = '/workspace/scratch/741f792566ea/source-920/iobroker.eos-admin';
|
|
9
|
+
const runtimePath = path.join(root, 'ui/main.js');
|
|
10
|
+
// Execute the real generated class unchanged; expose its constructor to this
|
|
11
|
+
// isolated test module only. Product exports and repository files are untouched.
|
|
12
|
+
const executable = new Module(runtimePath, module);
|
|
13
|
+
executable.filename = runtimePath;
|
|
14
|
+
executable.paths = Module._nodeModulePaths(path.dirname(runtimePath));
|
|
15
|
+
executable._compile(fs.readFileSync(runtimePath, 'utf8') + '\nmodule.exports.NexoWattVis = NexoWattVis;\n', runtimePath);
|
|
16
|
+
const { NexoWattVis } = executable.exports;
|
|
17
|
+
const { TarifVisModule } = require(path.join(root, 'ui/ems/modules/tarif-vis.js'));
|
|
18
|
+
const { Para14aModule } = require(path.join(root, 'ui/ems/modules/para14a.js'));
|
|
19
|
+
|
|
20
|
+
async function fixture(t, migrated = false) {
|
|
21
|
+
const writes = []; const states = new Map(); let canWrite = true; let failure = false;
|
|
22
|
+
const server = http.createServer(async (req, res) => {
|
|
23
|
+
let body = ''; for await (const part of req) body += part;
|
|
24
|
+
writes.push({ path: req.url, body }); res.statusCode = 204; res.end();
|
|
25
|
+
});
|
|
26
|
+
await new Promise(resolve => server.listen(0, '127.0.0.1', resolve));
|
|
27
|
+
const history = { provider: 'influxdb2', influxdb2: { url: `http://127.0.0.1:${server.address().port}`, organization: 'EOS', bucket: 'EOS', token: 'synthetic-review-only' } };
|
|
28
|
+
const owner = {
|
|
29
|
+
namespace: 'eos-admin.0', instance: 0,
|
|
30
|
+
config: { eosUi: { history }, ...(migrated ? { eosUiMigration: { preserveNamespace: true, source: 'nexowatt-ui.0' } } : {}) },
|
|
31
|
+
log: { warn() {}, error() {}, info() {}, debug() {} },
|
|
32
|
+
getStateAsync: async id => states.get(`eos-admin.0.${id}`) || null,
|
|
33
|
+
getForeignStateAsync: async id => states.get(id) || null,
|
|
34
|
+
async setForeignStateAsync(id, state, ack) {
|
|
35
|
+
if (failure) throw new Error('synthetic persistence failure');
|
|
36
|
+
states.set(id, typeof state === 'object' ? structuredClone(state) : { val: state, ack });
|
|
37
|
+
},
|
|
38
|
+
};
|
|
39
|
+
const adapter = new NexoWattVis({ owner, bridge: { canWrite: () => canWrite, originAllowed: () => true, resolveAccess: async () => ({}), getLicense: () => ({ valid: true }) } });
|
|
40
|
+
adapter._nwConfigureHistory();
|
|
41
|
+
t.after(async () => { adapter._nwDirectHistory.close(); server.closeAllConnections(); await new Promise(resolve => server.close(resolve)); });
|
|
42
|
+
return { adapter, writes, states, setPermission(value) { canWrite = value; }, failPersistence() { failure = true; } };
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
for (const migrated of [false, true]) test(`actual TarifVis → hosted adapter → HTTP history preserves negative price and namespace (migration=${migrated})`, async t => {
|
|
46
|
+
const f = await fixture(t, migrated); const { adapter } = f;
|
|
47
|
+
adapter._nwDirectHistory.register('tarif.preisAktuellEurProKwh');
|
|
48
|
+
const module = new TarifVisModule(adapter, null);
|
|
49
|
+
const before = Date.now();
|
|
50
|
+
await module._setIfChanged('tarif.preisAktuellEurProKwh', -0.125);
|
|
51
|
+
const after = Date.now();
|
|
52
|
+
await adapter._nwDirectHistory.flush();
|
|
53
|
+
assert.equal(f.writes.length, 1);
|
|
54
|
+
const expectedNamespace = migrated ? 'nexowatt-ui.0' : 'eos-admin.0';
|
|
55
|
+
const match = f.writes[0].body.match(/^(\S+) value=-0\.125 (\d+)$/);
|
|
56
|
+
assert.ok(match); assert.equal(match[1], `${expectedNamespace}.tarif.preisAktuellEurProKwh`);
|
|
57
|
+
assert.ok(Number(match[2]) >= before && Number(match[2]) <= after);
|
|
58
|
+
await module._setIfChanged('tarif.preisAktuellEurProKwh', -0.125);
|
|
59
|
+
await adapter._nwDirectHistory.flush();
|
|
60
|
+
assert.equal(f.writes.length, 1, 'unchanged module value is not duplicated');
|
|
61
|
+
assert.equal(adapter._nwDirectHistory.status().writeVerified, true);
|
|
62
|
+
});
|
|
63
|
+
|
|
64
|
+
test('actual Para14a publication retains source timestamp; denied and failed state writes never reach Influx', async t => {
|
|
65
|
+
const f = await fixture(t); const { adapter } = f;
|
|
66
|
+
adapter._nwDirectHistory.register('para14a.audit.gridPowerW');
|
|
67
|
+
const module = new Para14aModule(adapter, null);
|
|
68
|
+
const ts = Date.now() - 12345;
|
|
69
|
+
await module._setState('para14a.audit.gridPowerW', 0, { force: true, ts });
|
|
70
|
+
await adapter._nwDirectHistory.flush();
|
|
71
|
+
assert.equal(f.writes[0].body, `eos-admin.0.para14a.audit.gridPowerW value=0 ${ts}`);
|
|
72
|
+
f.setPermission(false);
|
|
73
|
+
await assert.rejects(module._setState('para14a.audit.gridPowerW', 42, { force: true, ts }), /OWNERSHIP_LOST/);
|
|
74
|
+
f.setPermission(true); f.failPersistence();
|
|
75
|
+
await assert.rejects(module._setState('para14a.audit.gridPowerW', 43, { force: true, ts }), /synthetic persistence failure/);
|
|
76
|
+
await adapter._nwDirectHistory.flush();
|
|
77
|
+
assert.equal(f.writes.length, 1);
|
|
78
|
+
});
|
|
79
|
+
|
|
80
|
+
test('unregistered physical states remain outside direct historian scope', async t => {
|
|
81
|
+
const f = await fixture(t);
|
|
82
|
+
await f.adapter.setStateAsync('devices.ess1.power', { val: 12, ack: true });
|
|
83
|
+
await f.adapter._nwDirectHistory.flush();
|
|
84
|
+
assert.equal(f.writes.length, 0);
|
|
85
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"command": [
|
|
3
|
+
"/workspace/scratch/741f792566ea/node22-runtime/package/bin/node",
|
|
4
|
+
"--test",
|
|
5
|
+
"/workspace/scratch/741f792566ea/audit-920/influx-review/runtime-after.test.cjs",
|
|
6
|
+
"/workspace/scratch/741f792566ea/audit-920/influx-review/transport-extra.test.cjs",
|
|
7
|
+
"/workspace/scratch/741f792566ea/audit-920/influx-review/hosted-module-history.test.cjs"
|
|
8
|
+
],
|
|
9
|
+
"start": "2026-11-24T20:40:00.398794+00:00",
|
|
10
|
+
"exitCode": 0,
|
|
11
|
+
"logSha256": "578648d6bc1d34d42661ee57b79e67bd757608d3acb2ba590b29b825cd1876c4"
|
|
12
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
TAP version 13
|
|
2
|
+
# (node:74) [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: actual TarifVis → hosted adapter → HTTP history preserves negative price and namespace (migration=false)
|
|
5
|
+
ok 1 - actual TarifVis → hosted adapter → HTTP history preserves negative price and namespace (migration=false)
|
|
6
|
+
---
|
|
7
|
+
duration_ms: 21.702585
|
|
8
|
+
type: 'test'
|
|
9
|
+
...
|
|
10
|
+
# Subtest: actual TarifVis → hosted adapter → HTTP history preserves negative price and namespace (migration=true)
|
|
11
|
+
ok 2 - actual TarifVis → hosted adapter → HTTP history preserves negative price and namespace (migration=true)
|
|
12
|
+
---
|
|
13
|
+
duration_ms: 9.607434
|
|
14
|
+
type: 'test'
|
|
15
|
+
...
|
|
16
|
+
# Subtest: actual Para14a publication retains source timestamp; denied and failed state writes never reach Influx
|
|
17
|
+
ok 3 - actual Para14a publication retains source timestamp; denied and failed state writes never reach Influx
|
|
18
|
+
---
|
|
19
|
+
duration_ms: 3.784697
|
|
20
|
+
type: 'test'
|
|
21
|
+
...
|
|
22
|
+
# Subtest: unregistered physical states remain outside direct historian scope
|
|
23
|
+
ok 4 - unregistered physical states remain outside direct historian scope
|
|
24
|
+
---
|
|
25
|
+
duration_ms: 1.083621
|
|
26
|
+
type: 'test'
|
|
27
|
+
...
|
|
28
|
+
# (node:75) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time.
|
|
29
|
+
# (Use `node --trace-warnings ...` to show where the warning was created)
|
|
30
|
+
# Subtest: bad string and oversized ID cannot poison a valid queued measurement
|
|
31
|
+
ok 5 - bad string and oversized ID cannot poison a valid queued measurement
|
|
32
|
+
---
|
|
33
|
+
duration_ms: 2.028915
|
|
34
|
+
type: 'test'
|
|
35
|
+
...
|
|
36
|
+
# (node:75) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time.
|
|
37
|
+
# (Use `node --trace-warnings ...` to show where the warning was created)
|
|
38
|
+
# Subtest: eight pending real HTTP history queries retain writer capacity and original sample timestamp
|
|
39
|
+
ok 6 - eight pending real HTTP history queries retain writer capacity and original sample timestamp
|
|
40
|
+
---
|
|
41
|
+
duration_ms: 25.939122
|
|
42
|
+
type: 'test'
|
|
43
|
+
...
|
|
44
|
+
# Subtest: reconfiguration fences captured old writes and late active completions from new queue accounting
|
|
45
|
+
ok 7 - reconfiguration fences captured old writes and late active completions from new queue accounting
|
|
46
|
+
---
|
|
47
|
+
duration_ms: 0.501214
|
|
48
|
+
type: 'test'
|
|
49
|
+
...
|
|
50
|
+
# Subtest: normal drain flushes queued values, rejects late captures and commits, and closes once complete
|
|
51
|
+
ok 8 - normal drain flushes queued values, rejects late captures and commits, and closes once complete
|
|
52
|
+
---
|
|
53
|
+
duration_ms: 0.519102
|
|
54
|
+
type: 'test'
|
|
55
|
+
...
|
|
56
|
+
# Subtest: drain deadline is bounded and counts the unconfirmed active point without a fake success
|
|
57
|
+
ok 9 - drain deadline is bounded and counts the unconfirmed active point without a fake success
|
|
58
|
+
---
|
|
59
|
+
duration_ms: 19.445576
|
|
60
|
+
type: 'test'
|
|
61
|
+
...
|
|
62
|
+
# Subtest: legacy default remains inert; bad quality, ackfalse, null and NaN never enter the historian
|
|
63
|
+
ok 10 - legacy default remains inert; bad quality, ackfalse, null and NaN never enter the historian
|
|
64
|
+
---
|
|
65
|
+
duration_ms: 0.343247
|
|
66
|
+
type: 'test'
|
|
67
|
+
...
|
|
68
|
+
# (node:76) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time.
|
|
69
|
+
# (Use `node --trace-warnings ...` to show where the warning was created)
|
|
70
|
+
# (node:76) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time.
|
|
71
|
+
# (Use `node --trace-warnings ...` to show where the warning was created)
|
|
72
|
+
# Subtest: truncated CSV response aborts instead of returning partial chart or fabricated values
|
|
73
|
+
ok 11 - truncated CSV response aborts instead of returning partial chart or fabricated values
|
|
74
|
+
---
|
|
75
|
+
duration_ms: 21.986822
|
|
76
|
+
type: 'test'
|
|
77
|
+
...
|
|
78
|
+
# Subtest: response byte budget aborts a real large stream and frees concurrent capacity
|
|
79
|
+
ok 12 - response byte budget aborts a real large stream and frees concurrent capacity
|
|
80
|
+
---
|
|
81
|
+
duration_ms: 56.308384
|
|
82
|
+
type: 'test'
|
|
83
|
+
...
|
|
84
|
+
# Subtest: explicit same-timestamp write retry sends byte-identical idempotent points and retains genuine zeros
|
|
85
|
+
ok 13 - explicit same-timestamp write retry sends byte-identical idempotent points and retains genuine zeros
|
|
86
|
+
---
|
|
87
|
+
duration_ms: 6.369109
|
|
88
|
+
type: 'test'
|
|
89
|
+
...
|
|
90
|
+
1..13
|
|
91
|
+
# tests 13
|
|
92
|
+
# suites 0
|
|
93
|
+
# pass 13
|
|
94
|
+
# fail 0
|
|
95
|
+
# cancelled 0
|
|
96
|
+
# skipped 0
|
|
97
|
+
# todo 0
|
|
98
|
+
# duration_ms 272.345755
|
|
99
|
+
(node:67) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time.
|
|
100
|
+
(Use `node --trace-warnings ...` to show where the warning was created)
|