iobroker.eos-admin 9.0.18 → 9.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NEXOWATT_EOS_BUILD_INFO.json +8 -9
- package/README.md +7 -3
- package/START_HIER_9.0.19.md +52 -0
- package/START_HIER_9.0.20.md +65 -0
- package/adminWww/.vite/manifest.json +114 -114
- package/adminWww/NEXOWATT_EOS_FRONTEND_MANIFEST.json +13762 -13761
- package/adminWww/assets/{AdapterUpdateDialog-ByJk9Cxj.js → AdapterUpdateDialog-CRD3XVom.js} +1 -1
- package/adminWww/assets/{Adapters-V2JtEPZX.js → Adapters-Cuf0X0CU.js} +1 -1
- package/adminWww/assets/{ConfigManager-BKcdyJnN.js → ConfigManager-B8ycQt1C.js} +1 -1
- package/adminWww/assets/{Enums-ChbfAWzp.js → Enums-CctVCgZX.js} +1 -1
- package/adminWww/assets/{Fields-DzaVXEvg.js → Fields-onm4DfoO.js} +1 -1
- package/adminWww/assets/{Files-CRpIXj4X.js → Files-OLP3Rwc7.js} +1 -1
- package/adminWww/assets/{Hosts-rOgfd2wo.js → Hosts-C31oqMcW.js} +1 -1
- package/adminWww/assets/{Instances-BxLhJ6Pb.js → Instances-DFdvJ9pa.js} +1 -1
- package/adminWww/assets/{Intro-BOql527d.js → Intro-DvsFJxU0.js} +1 -1
- package/adminWww/assets/{Logs-WUUDY7a4.js → Logs-Zqg2Bqv6.js} +1 -1
- package/adminWww/assets/{Objects-DYaZkCK7.js → Objects-CpWZp6yp.js} +1 -1
- package/adminWww/assets/{Overview-C6hiiPbm.js → Overview-BsKUo298.js} +1 -1
- package/adminWww/assets/{State-AH43l7fG.js → State-D_xwlhhb.js} +1 -1
- package/adminWww/assets/{UsedResources-jhsRMH4X.js → UsedResources-C79N6yZx.js} +1 -1
- package/adminWww/assets/{Users-D9wyLyJ1.js → Users-WgC0O8P0.js} +1 -1
- package/adminWww/assets/{bootstrap-gVLo1K_2.js → bootstrap-BcfBoIoa.js} +3 -3
- package/adminWww/assets/{hostInit-Dt_M-NAC.js → hostInit-B7bBV7cH.js} +1 -1
- package/adminWww/assets/icons/nexowatt-180.png +0 -0
- package/adminWww/assets/{icons-material-DuVW_EUA.js → icons-material-D1JYmRTj.js} +1 -1
- package/adminWww/assets/{index-B1cnPkSO.js → index-DbiuoDjo.js} +2 -2
- package/adminWww/assets/{installSVGRenderer-GvgHjubR.js → installSVGRenderer-BAY-Pzp-.js} +1 -1
- package/adminWww/assets/{mf-entry-bootstrap-0-6b32b635.js → mf-entry-bootstrap-0-33384c20.js} +2 -2
- package/adminWww/index.html +24 -24
- package/adminWww/mf-manifest.json +1 -1
- package/adminWww/mf-stats.json +1 -1
- package/adminWww/{remoteEntry-eos-9.0.18.js → remoteEntry-eos-9.0.20.js} +1 -1
- package/adminWww/remoteEntry.js +1 -1
- package/build/lib/eosCookieNamespace.js +12 -2
- package/build/lib/eosCookieNamespace.js.map +1 -1
- package/build/lib/eosDeviceEmsPlan.js +449 -28
- package/build/lib/eosDeviceEmsPlan.js.map +1 -1
- package/build/lib/eosDeviceEmsService.js +158 -12
- package/build/lib/eosDeviceEmsService.js.map +1 -1
- package/build/lib/eosLegacyMigration.js +26 -1
- package/build/lib/eosLegacyMigration.js.map +1 -1
- package/build/lib/eosModuleHost.js +218 -53
- package/build/lib/eosModuleHost.js.map +1 -1
- package/build/lib/eosStateSubscriptions.js +59 -2
- package/build/lib/eosStateSubscriptions.js.map +1 -1
- package/build/lib/web.js +22 -3
- package/build/lib/web.js.map +1 -1
- package/docs/reports/unified-9.0.19/ALIAS_MESSWERTFRISCHE.md +31 -0
- package/docs/reports/unified-9.0.19/COMMISSIONING_PLAN_REVIEW.md +56 -0
- package/docs/reports/unified-9.0.19/EMS_ABSCHLUSSREVIEW.md +43 -0
- package/docs/reports/unified-9.0.19/EMS_KATEGORIEN_ABDECKUNG.md +66 -0
- package/docs/reports/unified-9.0.19/EMS_VERGLEICH_UND_KOPPLUNG.md +25 -0
- package/docs/reports/unified-9.0.19/EVCS_STATE_OBJECTS.md +47 -0
- package/docs/reports/unified-9.0.19/GERAETE_EMS_EINRICHTUNG.md +100 -0
- package/docs/reports/unified-9.0.19/GERAETE_STARTAUSFALL.md +37 -0
- package/docs/reports/unified-9.0.19/INSTALLER_LIFECYCLE_REVIEW.md +59 -0
- package/docs/reports/unified-9.0.19/LEGACY_REGRESSION_REVIEW.md +42 -0
- package/docs/reports/unified-9.0.19/MODBUS_AUTHORIZATION_READS.md +25 -0
- package/docs/reports/unified-9.0.19/PRUEFBERICHT.md +56 -0
- package/docs/reports/unified-9.0.19/RUNTIME_START_UEBERNAHME.md +33 -0
- package/docs/reports/unified-9.0.19/SMA_RECEIVER_LIFECYCLE.md +42 -0
- package/docs/reports/unified-9.0.19/STATIC_REVIEW_DE.md +11 -0
- package/docs/reports/unified-9.0.19/TARIFF_PRICE_VALUES_REVIEW.md +31 -0
- package/docs/reports/unified-9.0.19/TARIF_VIERTELSTUNDEN_RUNTIME.md +17 -0
- package/docs/reports/unified-9.0.19/UNABHAENGIGER_REVIEW.md +49 -0
- package/docs/reports/unified-9.0.19/raw/INDEX.json +751 -0
- package/docs/reports/unified-9.0.19/raw/audit-full.log +345 -0
- package/docs/reports/unified-9.0.19/raw/audit-full.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/audit-runtime.log +23 -0
- package/docs/reports/unified-9.0.19/raw/audit-runtime.result.json +15 -0
- package/docs/reports/unified-9.0.19/raw/backend-final.log +5 -0
- package/docs/reports/unified-9.0.19/raw/backend-final.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/devices-hosted-typecheck-node22.log +0 -0
- package/docs/reports/unified-9.0.19/raw/devices-hosted-typecheck-node22.result.json +15 -0
- package/docs/reports/unified-9.0.19/raw/devices-hosted-typecheck-node24.log +0 -0
- package/docs/reports/unified-9.0.19/raw/devices-hosted-typecheck-node24.result.json +15 -0
- package/docs/reports/unified-9.0.19/raw/devices-incident-build.log +5 -0
- package/docs/reports/unified-9.0.19/raw/devices-incident-host-final.log +70 -0
- package/docs/reports/unified-9.0.19/raw/devices-incident-lease-918-before.log +26 -0
- package/docs/reports/unified-9.0.19/raw/devices-incident-lease-after.log +9 -0
- package/docs/reports/unified-9.0.19/raw/devices-incident-metadata-after.log +11 -0
- package/docs/reports/unified-9.0.19/raw/devices-incident-metadata-before.log +28 -0
- package/docs/reports/unified-9.0.19/raw/devices-incident-web-pipeline.log +22 -0
- package/docs/reports/unified-9.0.19/raw/frontend-build.log +152 -0
- package/docs/reports/unified-9.0.19/raw/frontend-build.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/installer-build.log +26 -0
- package/docs/reports/unified-9.0.19/raw/installer-build.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/keygen-source.json +6 -0
- package/docs/reports/unified-9.0.19/raw/legacy-auto-pv.log +6 -0
- package/docs/reports/unified-9.0.19/raw/legacy-auto-pv.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-charging-grid-cap-clamp.log +6 -0
- package/docs/reports/unified-9.0.19/raw/legacy-charging-grid-cap-clamp.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-charging-grid-cap-safe.log +6 -0
- package/docs/reports/unified-9.0.19/raw/legacy-charging-grid-cap-safe.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-charging-mode-recovery.log +539 -0
- package/docs/reports/unified-9.0.19/raw/legacy-charging-mode-recovery.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-core-limits-phase1.log +6 -0
- package/docs/reports/unified-9.0.19/raw/legacy-core-limits-phase1.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-core-limits-phase2.log +6 -0
- package/docs/reports/unified-9.0.19/raw/legacy-core-limits-phase2.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-core-limits-tariff-final.log +6 -0
- package/docs/reports/unified-9.0.19/raw/legacy-core-limits-tariff-final.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-energy-wallet-final.log +6 -0
- package/docs/reports/unified-9.0.19/raw/legacy-energy-wallet-final.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-farm-dispatch-loader-current.log +2 -0
- package/docs/reports/unified-9.0.19/raw/legacy-farm-dispatch-loader-current.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-final-write-envelope.log +6 -0
- package/docs/reports/unified-9.0.19/raw/legacy-final-write-envelope.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-history-http.log +39 -0
- package/docs/reports/unified-9.0.19/raw/legacy-history-http.result.json +15 -0
- package/docs/reports/unified-9.0.19/raw/legacy-import-grid-budget.log +30 -0
- package/docs/reports/unified-9.0.19/raw/legacy-import-grid-budget.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-import-grid-contract-current.log +2 -0
- package/docs/reports/unified-9.0.19/raw/legacy-import-grid-contract-current.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-live-mode-loader-current.log +203 -0
- package/docs/reports/unified-9.0.19/raw/legacy-live-mode-loader-current.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-load-grid-sanity.log +6 -0
- package/docs/reports/unified-9.0.19/raw/legacy-load-grid-sanity.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-ocpp-stability.log +6 -0
- package/docs/reports/unified-9.0.19/raw/legacy-ocpp-stability.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-ocpp21-storage-safety.log +6 -0
- package/docs/reports/unified-9.0.19/raw/legacy-ocpp21-storage-safety.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-permanent-grid-protection.log +18 -0
- package/docs/reports/unified-9.0.19/raw/legacy-permanent-grid-protection.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-storage-dp-persistence.log +6 -0
- package/docs/reports/unified-9.0.19/raw/legacy-storage-dp-persistence.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-storage-farm-dispatch-recovery.log +16 -0
- package/docs/reports/unified-9.0.19/raw/legacy-storage-farm-dispatch-recovery.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-storage-functional-safety.log +6 -0
- package/docs/reports/unified-9.0.19/raw/legacy-storage-functional-safety.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-storage-topology-loader-current.log +2 -0
- package/docs/reports/unified-9.0.19/raw/legacy-storage-topology-loader-current.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/legacy-test-loader.cjs +47 -0
- package/docs/reports/unified-9.0.19/raw/lint-final.log +16 -0
- package/docs/reports/unified-9.0.19/raw/lint-final.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/modules-build.log +5 -0
- package/docs/reports/unified-9.0.19/raw/modules-build.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/node22-tests-final.log +10719 -0
- package/docs/reports/unified-9.0.19/raw/node22-tests-final.result.json +13 -0
- package/docs/reports/unified-9.0.19/raw/node22-typecheck-final.log +7 -0
- package/docs/reports/unified-9.0.19/raw/node22-typecheck-final.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/node22-version.log +1 -0
- package/docs/reports/unified-9.0.19/raw/node24-tests-final.log +1805 -0
- package/docs/reports/unified-9.0.19/raw/node24-tests-final.result.json +13 -0
- package/docs/reports/unified-9.0.19/raw/node24-typecheck-final.log +5 -0
- package/docs/reports/unified-9.0.19/raw/node24-typecheck-final.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/node24-version.log +1 -0
- package/docs/reports/unified-9.0.19/raw/sbom-runtime.log +7 -0
- package/docs/reports/unified-9.0.19/raw/sbom-runtime.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/sbom-vendor-check.log +1 -0
- package/docs/reports/unified-9.0.19/raw/sbom-vendor-check.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/tariff-price-chain-919.log +11 -0
- package/docs/reports/unified-9.0.19/raw/tariff-price-chain-919.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/tariff-price-chain-old-918.log +68 -0
- package/docs/reports/unified-9.0.19/raw/tariff-price-chain-old-918.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/ui-docs-check.log +6 -0
- package/docs/reports/unified-9.0.19/raw/ui-docs-check.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/ui-runtime-final.log +7 -0
- package/docs/reports/unified-9.0.19/raw/ui-runtime-final.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/ui-runtime-sync.log +6 -0
- package/docs/reports/unified-9.0.19/raw/ui-runtime-sync.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/ui-sbom-check.log +6 -0
- package/docs/reports/unified-9.0.19/raw/ui-sbom-check.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/ui-sbom-final.log +6 -0
- package/docs/reports/unified-9.0.19/raw/ui-sbom-final.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/ui-secret-final.log +6 -0
- package/docs/reports/unified-9.0.19/raw/ui-secret-final.result.json +14 -0
- package/docs/reports/unified-9.0.19/raw/ui-security-final.log +8 -0
- package/docs/reports/unified-9.0.19/raw/ui-security-final.result.json +14 -0
- package/docs/reports/unified-9.0.20/ANFORDERUNGEN_UND_INBETRIEBNAHME.md +159 -0
- package/docs/reports/unified-9.0.20/DEVICE_COMMAND_DELIVERY_REVIEW.md +82 -0
- package/docs/reports/unified-9.0.20/DEVICE_LIFECYCLE_REVIEW.md +46 -0
- package/docs/reports/unified-9.0.20/DEVICE_PLAN_REVIEW.md +33 -0
- package/docs/reports/unified-9.0.20/DEVICE_POWER_CAPABILITY_REVIEW.md +25 -0
- package/docs/reports/unified-9.0.20/FARM_CONTROLLER_REVIEW.md +27 -0
- package/docs/reports/unified-9.0.20/FARM_DIAGNOSE_UI.md +81 -0
- package/docs/reports/unified-9.0.20/FARM_DISPATCH_REVIEW.md +47 -0
- package/docs/reports/unified-9.0.20/HISTORY_REVIEW.md +68 -0
- package/docs/reports/unified-9.0.20/INFLUXDB2_INSTALLER_UI.md +39 -0
- package/docs/reports/unified-9.0.20/INFLUX_CREDENTIAL_NETWORK_REVIEW.md +38 -0
- package/docs/reports/unified-9.0.20/INFLUX_DIRECT_UNABHAENGIGE_PRUEFUNG.md +64 -0
- package/docs/reports/unified-9.0.20/INFLUX_RUNTIME_INTEGRATION_REVIEW.md +53 -0
- package/docs/reports/unified-9.0.20/INFLUX_RUNTIME_UNABHAENGIGE_PRUEFUNG.md +34 -0
- package/docs/reports/unified-9.0.20/INFLUX_TRANSPORT_ABSCHLUSSPRUEFUNG.md +55 -0
- package/docs/reports/unified-9.0.20/LOGIN_WEBAPP_LOGO.md +29 -0
- package/docs/reports/unified-9.0.20/MIGRATION_REVIEW.md +35 -0
- package/docs/reports/unified-9.0.20/PRUEFBERICHT.md +54 -0
- package/docs/reports/unified-9.0.20/PWA_ANONYMOUS_HTTPS_REVIEW.md +28 -0
- package/docs/reports/unified-9.0.20/PWA_ICON_UNABHAENGIGE_PRUEFUNG.md +60 -0
- package/docs/reports/unified-9.0.20/SERIAL_LIFECYCLE_REVIEW.md +37 -0
- package/docs/reports/unified-9.0.20/SOLAX_READBACK_REVIEW.md +43 -0
- package/docs/reports/unified-9.0.20/SOLAX_READBACK_UNABHAENGIGE_PRUEFUNG.md +34 -0
- package/docs/reports/unified-9.0.20/STATIC_REVIEW_DE.md +175 -0
- package/docs/reports/unified-9.0.20/STORAGE_COMMAND_ACK_REVIEW.md +36 -0
- package/docs/reports/unified-9.0.20/TARIFF_REPORT_REVIEW.md +29 -0
- package/docs/reports/unified-9.0.20/VISUALISIERUNG.md +64 -0
- package/docs/reports/unified-9.0.20/history-setup-navigation-proxy.txt +26 -0
- package/docs/reports/unified-9.0.20/history-setup-navigation-ssr.txt +7 -0
- package/docs/reports/unified-9.0.20/history-setup-ui-lint.txt +0 -0
- package/docs/reports/unified-9.0.20/history-setup-ui-node22.txt +102 -0
- package/docs/reports/unified-9.0.20/history-setup-ui-node24.txt +23 -0
- package/docs/reports/unified-9.0.20/history-setup-ui-security.txt +0 -0
- package/docs/reports/unified-9.0.20/history-setup-ui-typecheck.txt +0 -0
- package/docs/reports/unified-9.0.20/login-pwa-branding-hashes.txt +9 -0
- package/docs/reports/unified-9.0.20/login-pwa-branding-node22.txt +42 -0
- package/docs/reports/unified-9.0.20/login-pwa-branding-node24.txt +13 -0
- package/docs/reports/unified-9.0.20/raw/INDEX.json +1913 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/device/baseline-node22.log +16 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/device/baseline-node24.log +14 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/device/lint-after.json +1 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/device/lint-before.json +1 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/device/modbus-stop-backoff.cjs +22 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/device/node22-control-review.log +29 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/device/node22-modbus-final.json +18 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/device/node22-modbus-final.log +325 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/device/node22-modbus-review.log +278 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/device/node24-modbus-final.json +18 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/device/node24-modbus-final.log +58 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/device/node24-modbus-review.log +51 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/api-gaps-before.log +64 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/api-negative-before.log +46 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/chart-gaps-before.log +127 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/device-command-subscriptions-after.log +67 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/device-command-subscriptions-before.log +61 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/device-command-subscriptions-eslint-js.log +0 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/device-command-subscriptions-eslint-ts.log +0 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/device-command-subscriptions-node22.log +442 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/device-command-subscriptions-node24.log +78 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/fix.py +73 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/history-eslint-final.json +7 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/history-final-node22.log +279 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/history-final-node24.log +52 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/history-followup-node22.log +223 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/history-followup-node24.log +43 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/history-own-cache.log +17 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/negative-pricing-before.log +96 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/node22-after.log +66 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/node22-repro.log +8 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/node24-after.log +17 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/node24-repro.log +8 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/history/repro.cjs +39 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/visuals/chromium-probe.log +3 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/visuals/patch-live.py +101 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/visuals/repro-live-display.cjs +26 -0
- package/docs/reports/unified-9.0.20/raw/additional-audit/visuals/repro-live-display.log +36 -0
- package/docs/reports/unified-9.0.20/raw/audit-full.log +345 -0
- package/docs/reports/unified-9.0.20/raw/audit-full.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/audit-runtime.log +23 -0
- package/docs/reports/unified-9.0.20/raw/audit-runtime.result.json +15 -0
- package/docs/reports/unified-9.0.20/raw/backend-final.log +5 -0
- package/docs/reports/unified-9.0.20/raw/backend-final.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/baseline-919-coverage-tests-node22.result.json +20 -0
- package/docs/reports/unified-9.0.20/raw/baseline-919-coverage-tests-node22.tap +721 -0
- package/docs/reports/unified-9.0.20/raw/baseline-919-coverage-tests-node24.result.json +20 -0
- package/docs/reports/unified-9.0.20/raw/baseline-919-coverage-tests-node24.tap +127 -0
- package/docs/reports/unified-9.0.20/raw/commissioning-evidence.json +69 -0
- package/docs/reports/unified-9.0.20/raw/commissioning-failed-init-drain-919-before.log +14 -0
- package/docs/reports/unified-9.0.20/raw/commissioning-final-node22.log +882 -0
- package/docs/reports/unified-9.0.20/raw/commissioning-final-node24.log +149 -0
- package/docs/reports/unified-9.0.20/raw/commissioning-lint.log +0 -0
- package/docs/reports/unified-9.0.20/raw/commissioning-planner-919-before.log +70 -0
- package/docs/reports/unified-9.0.20/raw/commissioning-retained-readiness-before.log +34 -0
- package/docs/reports/unified-9.0.20/raw/commissioning-runtime-retry-919-before.log +46 -0
- package/docs/reports/unified-9.0.20/raw/commissioning-types-node24.log +0 -0
- package/docs/reports/unified-9.0.20/raw/device-farm-protocol/DEVICE_FARM_READONLY_REVIEW.md +66 -0
- package/docs/reports/unified-9.0.20/raw/device-farm-protocol/run-readback-tests.cjs +13 -0
- package/docs/reports/unified-9.0.20/raw/device-farm-protocol/solax-control-chain.test.cjs +58 -0
- package/docs/reports/unified-9.0.20/raw/device-lifecycle-baseline-node22.log +16 -0
- package/docs/reports/unified-9.0.20/raw/device-lifecycle-baseline-node24.log +14 -0
- package/docs/reports/unified-9.0.20/raw/device-lifecycle-evidence.json +55 -0
- package/docs/reports/unified-9.0.20/raw/device-lifecycle-lint-after.json +1 -0
- package/docs/reports/unified-9.0.20/raw/device-lifecycle-lint-before.json +1 -0
- package/docs/reports/unified-9.0.20/raw/device-lifecycle-modbus-stop-backoff.cjs +22 -0
- package/docs/reports/unified-9.0.20/raw/device-lifecycle-node22-control-review.log +29 -0
- package/docs/reports/unified-9.0.20/raw/device-lifecycle-node22-modbus-final.json +18 -0
- package/docs/reports/unified-9.0.20/raw/device-lifecycle-node22-modbus-final.log +325 -0
- package/docs/reports/unified-9.0.20/raw/device-lifecycle-node22-modbus-review.log +278 -0
- package/docs/reports/unified-9.0.20/raw/device-lifecycle-node24-modbus-final.json +18 -0
- package/docs/reports/unified-9.0.20/raw/device-lifecycle-node24-modbus-final.log +58 -0
- package/docs/reports/unified-9.0.20/raw/device-lifecycle-node24-modbus-review.log +51 -0
- package/docs/reports/unified-9.0.20/raw/devices-hosted-typecheck-node22.log +0 -0
- package/docs/reports/unified-9.0.20/raw/devices-hosted-typecheck-node22.result.json +15 -0
- package/docs/reports/unified-9.0.20/raw/devices-hosted-typecheck-node24.log +0 -0
- package/docs/reports/unified-9.0.20/raw/devices-hosted-typecheck-node24.result.json +15 -0
- package/docs/reports/unified-9.0.20/raw/farm-controller/controller-node22.log +110 -0
- package/docs/reports/unified-9.0.20/raw/farm-controller/controller-node24.log +24 -0
- package/docs/reports/unified-9.0.20/raw/farm-controller/evidence.json +33 -0
- package/docs/reports/unified-9.0.20/raw/farm-diagnostics-ui-lint.txt +0 -0
- package/docs/reports/unified-9.0.20/raw/farm-diagnostics-ui-node22.txt +113 -0
- package/docs/reports/unified-9.0.20/raw/farm-diagnostics-ui-node24.txt +26 -0
- package/docs/reports/unified-9.0.20/raw/farm-diagnostics-ui-security.txt +0 -0
- package/docs/reports/unified-9.0.20/raw/farm-diagnostics-ui-typecheck.txt +0 -0
- package/docs/reports/unified-9.0.20/raw/farm-dispatch/allocator-baseline.jsonl +6 -0
- package/docs/reports/unified-9.0.20/raw/farm-dispatch/diagnostics-before.log +138 -0
- package/docs/reports/unified-9.0.20/raw/farm-dispatch/diagnostics-main-delta.patch +77 -0
- package/docs/reports/unified-9.0.20/raw/farm-dispatch/diagnostics-main-lint.json +7 -0
- package/docs/reports/unified-9.0.20/raw/farm-dispatch/diagnostics-node22.log +64 -0
- package/docs/reports/unified-9.0.20/raw/farm-dispatch/diagnostics-node22.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/farm-dispatch/diagnostics-node24.log +18 -0
- package/docs/reports/unified-9.0.20/raw/farm-dispatch/diagnostics-node24.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/final-ui-independent-review.json +194 -0
- package/docs/reports/unified-9.0.20/raw/frontend-build.log +152 -0
- package/docs/reports/unified-9.0.20/raw/frontend-build.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/independent-influx/parser-after-node22.json +35 -0
- package/docs/reports/unified-9.0.20/raw/independent-influx/parser-after-node22.result.json +17 -0
- package/docs/reports/unified-9.0.20/raw/independent-influx/parser-after-node24.json +31 -0
- package/docs/reports/unified-9.0.20/raw/independent-influx/parser-after-node24.result.json +17 -0
- package/docs/reports/unified-9.0.20/raw/independent-influx/parser-before.json +31 -0
- package/docs/reports/unified-9.0.20/raw/independent-influx/parser-reproducer.cjs +9 -0
- package/docs/reports/unified-9.0.20/raw/independent-influx/transport-extra-node22.result.json +18 -0
- package/docs/reports/unified-9.0.20/raw/independent-influx/transport-extra-node22.tap +34 -0
- package/docs/reports/unified-9.0.20/raw/independent-influx/transport-extra-node24.result.json +18 -0
- package/docs/reports/unified-9.0.20/raw/independent-influx/transport-extra-node24.tap +11 -0
- package/docs/reports/unified-9.0.20/raw/independent-influx/transport-extra.test.cjs +9 -0
- package/docs/reports/unified-9.0.20/raw/independent-solax/node22-focused.log +165 -0
- package/docs/reports/unified-9.0.20/raw/independent-solax/node24-focused.log +35 -0
- package/docs/reports/unified-9.0.20/raw/independent-solax/review-receipt.json +57 -0
- package/docs/reports/unified-9.0.20/raw/independent-solax/split-response-after.log +1 -0
- package/docs/reports/unified-9.0.20/raw/independent-solax/split-response-before.log +1 -0
- package/docs/reports/unified-9.0.20/raw/independent-solax/split-response.cjs +16 -0
- package/docs/reports/unified-9.0.20/raw/independent-solax/stop-race-generation-guard.log +1 -0
- package/docs/reports/unified-9.0.20/raw/independent-solax/stop-race.cjs +13 -0
- package/docs/reports/unified-9.0.20/raw/influx-direct/eslint.log +0 -0
- package/docs/reports/unified-9.0.20/raw/influx-direct/node22.log +112 -0
- package/docs/reports/unified-9.0.20/raw/influx-direct/node24.log +24 -0
- package/docs/reports/unified-9.0.20/raw/influx-direct/typecheck.log +0 -0
- package/docs/reports/unified-9.0.20/raw/influx-direct-review/hosted-module-history.test.cjs +85 -0
- package/docs/reports/unified-9.0.20/raw/influx-direct-review/independent-node22.json +12 -0
- package/docs/reports/unified-9.0.20/raw/influx-direct-review/independent-node22.log +100 -0
- package/docs/reports/unified-9.0.20/raw/influx-direct-review/independent-node24.json +12 -0
- package/docs/reports/unified-9.0.20/raw/influx-direct-review/independent-node24.log +21 -0
- package/docs/reports/unified-9.0.20/raw/influx-direct-review/runtime-after.test.cjs +15 -0
- package/docs/reports/unified-9.0.20/raw/influx-direct-review/runtime-loss-before.test.cjs +9 -0
- package/docs/reports/unified-9.0.20/raw/influx-direct-review/security-scan.cjs +15 -0
- package/docs/reports/unified-9.0.20/raw/influx-direct-review/transport-extra.test.cjs +9 -0
- package/docs/reports/unified-9.0.20/raw/influx-independent/legacy-history-node22.log +227 -0
- package/docs/reports/unified-9.0.20/raw/influx-independent/legacy-history-node22.result.json +11 -0
- package/docs/reports/unified-9.0.20/raw/influx-independent/legacy-history-node24.log +44 -0
- package/docs/reports/unified-9.0.20/raw/influx-independent/legacy-history-node24.result.json +11 -0
- package/docs/reports/unified-9.0.20/raw/influx-independent/node22.log +112 -0
- package/docs/reports/unified-9.0.20/raw/influx-independent/node22.result.json +12 -0
- package/docs/reports/unified-9.0.20/raw/influx-independent/node24.log +23 -0
- package/docs/reports/unified-9.0.20/raw/influx-independent/node24.result.json +12 -0
- package/docs/reports/unified-9.0.20/raw/influx-independent/runtime-after.test.cjs +15 -0
- package/docs/reports/unified-9.0.20/raw/influx-independent/transport-extra.test.cjs +9 -0
- package/docs/reports/unified-9.0.20/raw/influx-runtime/evidence.json +24 -0
- package/docs/reports/unified-9.0.20/raw/influx-runtime/final-node22.log +326 -0
- package/docs/reports/unified-9.0.20/raw/influx-runtime/final-node24.log +59 -0
- package/docs/reports/unified-9.0.20/raw/influx-runtime/runtime-node22.log +62 -0
- package/docs/reports/unified-9.0.20/raw/influx-runtime/runtime-node24.log +16 -0
- package/docs/reports/unified-9.0.20/raw/influx-security/security-influx-lint.log +0 -0
- package/docs/reports/unified-9.0.20/raw/influx-security/security-influx-lint.result.json +17 -0
- package/docs/reports/unified-9.0.20/raw/influx-security/security-influx-node22.log +112 -0
- package/docs/reports/unified-9.0.20/raw/influx-security/security-influx-node22.result.json +15 -0
- package/docs/reports/unified-9.0.20/raw/influx-security/security-influx-node24.log +106 -0
- package/docs/reports/unified-9.0.20/raw/influx-security/security-influx-node24.result.json +15 -0
- package/docs/reports/unified-9.0.20/raw/influx-security/security-influx-typecheck.log +0 -0
- package/docs/reports/unified-9.0.20/raw/influx-security/security-influx-typecheck.result.json +15 -0
- package/docs/reports/unified-9.0.20/raw/influx-security/source-sha256.json +5 -0
- package/docs/reports/unified-9.0.20/raw/influx-transport-final/influx-transport-lint-final.log +0 -0
- package/docs/reports/unified-9.0.20/raw/influx-transport-final/influx-transport-lint-final.result.json +16 -0
- package/docs/reports/unified-9.0.20/raw/influx-transport-final/influx-transport-node22-final.log +124 -0
- package/docs/reports/unified-9.0.20/raw/influx-transport-final/influx-transport-node22-final.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/influx-transport-final/influx-transport-node24-final.log +26 -0
- package/docs/reports/unified-9.0.20/raw/influx-transport-final/influx-transport-node24-final.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/influx-transport-final/influx-transport-type-node22-final.log +0 -0
- package/docs/reports/unified-9.0.20/raw/influx-transport-final/influx-transport-type-node22-final.result.json +15 -0
- package/docs/reports/unified-9.0.20/raw/influx-transport-final/influx-transport-type-node24-final.log +0 -0
- package/docs/reports/unified-9.0.20/raw/influx-transport-final/influx-transport-type-node24-final.result.json +15 -0
- package/docs/reports/unified-9.0.20/raw/influx-ui-independent-review-final.json +285 -0
- package/docs/reports/unified-9.0.20/raw/influx-ui-independent-review-intermediate.json +285 -0
- package/docs/reports/unified-9.0.20/raw/installer-build.log +26 -0
- package/docs/reports/unified-9.0.20/raw/installer-build.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/isolation/INDEX.json +332 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-family-final.log +3 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-family-final.result.json +13 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-family-hosted.log +6 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-family-hosted.result.json +13 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-family-verified.log +1 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-family-verified.result.json +13 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-family.log +11 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-family.result.json +13 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-fenecon-hybrid-final.log +3 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-fenecon-hybrid-final.result.json +13 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-fenecon-hybrid-hosted.log +3 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-fenecon-hybrid-hosted.result.json +13 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-fenecon-hybrid-verified.log +1 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-fenecon-hybrid-verified.result.json +13 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-fenecon-hybrid.log +11 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-fenecon-hybrid.result.json +13 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-final-node22.log +296 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-final-node22.result.json +16 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-final-node24.log +56 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-final-node24.result.json +16 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-node24.log +54 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-node24.result.json +16 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-output-modes.log +1 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-output-modes.result.json +13 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-release-final-node22.log +332 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-release-final-node22.result.json +16 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-release-final-node24.log +62 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-release-final-node24.result.json +16 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-release-node22.log +342 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-release-node22.result.json +16 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-release-node24.log +72 -0
- package/docs/reports/unified-9.0.20/raw/isolation/command-ack-release-node24.result.json +16 -0
- package/docs/reports/unified-9.0.20/raw/isolation/isolation-node22.log +482 -0
- package/docs/reports/unified-9.0.20/raw/isolation/isolation-node22.result.json +19 -0
- package/docs/reports/unified-9.0.20/raw/isolation/isolation-node24.log +87 -0
- package/docs/reports/unified-9.0.20/raw/isolation/migration-lint.log +0 -0
- package/docs/reports/unified-9.0.20/raw/isolation/migration-lint.result.json +16 -0
- package/docs/reports/unified-9.0.20/raw/isolation/migration-node22.log +330 -0
- package/docs/reports/unified-9.0.20/raw/isolation/migration-node22.result.json +16 -0
- package/docs/reports/unified-9.0.20/raw/isolation/migration-node24-before.log +72 -0
- package/docs/reports/unified-9.0.20/raw/isolation/migration-node24-before.result.json +16 -0
- package/docs/reports/unified-9.0.20/raw/isolation/migration-node24.log +60 -0
- package/docs/reports/unified-9.0.20/raw/isolation/migration-node24.result.json +16 -0
- package/docs/reports/unified-9.0.20/raw/isolation/repro-migration-start-budget.cjs +49 -0
- package/docs/reports/unified-9.0.20/raw/isolation/repro-serial-release.cjs +21 -0
- package/docs/reports/unified-9.0.20/raw/isolation/repro-sunspec-discovery.cjs +11 -0
- package/docs/reports/unified-9.0.20/raw/isolation/serial-before-repro.log +1 -0
- package/docs/reports/unified-9.0.20/raw/isolation/serial-before-repro.result.json +13 -0
- package/docs/reports/unified-9.0.20/raw/isolation/serial-gates-node22.log +32 -0
- package/docs/reports/unified-9.0.20/raw/isolation/serial-gates-node22.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/isolation/serial-gates-node24.log +11 -0
- package/docs/reports/unified-9.0.20/raw/isolation/serial-gates-node24.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/isolation/serial-helper-typecheck-final.log +0 -0
- package/docs/reports/unified-9.0.20/raw/isolation/serial-helper-typecheck-final.result.json +28 -0
- package/docs/reports/unified-9.0.20/raw/isolation/serial-helper-typecheck.log +2 -0
- package/docs/reports/unified-9.0.20/raw/isolation/serial-helper-typecheck.result.json +26 -0
- package/docs/reports/unified-9.0.20/raw/isolation/serial-lint.log +0 -0
- package/docs/reports/unified-9.0.20/raw/isolation/serial-lint.result.json +18 -0
- package/docs/reports/unified-9.0.20/raw/isolation/serial-node22.log +344 -0
- package/docs/reports/unified-9.0.20/raw/isolation/serial-node22.result.json +17 -0
- package/docs/reports/unified-9.0.20/raw/isolation/serial-node24.log +62 -0
- package/docs/reports/unified-9.0.20/raw/isolation/serial-node24.result.json +17 -0
- package/docs/reports/unified-9.0.20/raw/isolation/sunspec-review-after.log +3 -0
- package/docs/reports/unified-9.0.20/raw/isolation/sunspec-review-after.result.json +13 -0
- package/docs/reports/unified-9.0.20/raw/isolation/sunspec-review-before.log +3 -0
- package/docs/reports/unified-9.0.20/raw/isolation/sunspec-review-before.result.json +15 -0
- package/docs/reports/unified-9.0.20/raw/keygen-source.json +6 -0
- package/docs/reports/unified-9.0.20/raw/legacy-mirror-debt/check-919.log +70 -0
- package/docs/reports/unified-9.0.20/raw/legacy-mirror-debt/check-920.log +71 -0
- package/docs/reports/unified-9.0.20/raw/legacy-mirror-debt/diff.json +82 -0
- package/docs/reports/unified-9.0.20/raw/legacy-mirror-debt/receipt.json +48 -0
- package/docs/reports/unified-9.0.20/raw/lint-final.log +16 -0
- package/docs/reports/unified-9.0.20/raw/lint-final.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/main-individual-review-before-cache-boundary-fix.json +112 -0
- package/docs/reports/unified-9.0.20/raw/main-individual-review-before-capability-ack.json +103 -0
- package/docs/reports/unified-9.0.20/raw/main-individual-review-before-farm-diagnostics.json +102 -0
- package/docs/reports/unified-9.0.20/raw/main-individual-review-final.json +103 -0
- package/docs/reports/unified-9.0.20/raw/main-individual-review.json +93 -0
- package/docs/reports/unified-9.0.20/raw/modules-build.log +5 -0
- package/docs/reports/unified-9.0.20/raw/modules-build.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/node22-tests-final.log +12471 -0
- package/docs/reports/unified-9.0.20/raw/node22-tests-final.result.json +13 -0
- package/docs/reports/unified-9.0.20/raw/node22-typecheck-final.log +7 -0
- package/docs/reports/unified-9.0.20/raw/node22-typecheck-final.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/node22-version.log +1 -0
- package/docs/reports/unified-9.0.20/raw/node24-tests-final.log +2093 -0
- package/docs/reports/unified-9.0.20/raw/node24-tests-final.result.json +13 -0
- package/docs/reports/unified-9.0.20/raw/node24-typecheck-final.log +5 -0
- package/docs/reports/unified-9.0.20/raw/node24-typecheck-final.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/node24-version.log +1 -0
- package/docs/reports/unified-9.0.20/raw/power-capability/evidence.json +69 -0
- package/docs/reports/unified-9.0.20/raw/power-capability/power-capability-existing-regressions-node24.log +94 -0
- package/docs/reports/unified-9.0.20/raw/power-capability/power-capability-lint.log +0 -0
- package/docs/reports/unified-9.0.20/raw/power-capability/power-capability-node22.log +304 -0
- package/docs/reports/unified-9.0.20/raw/power-capability/power-capability-node24.log +56 -0
- package/docs/reports/unified-9.0.20/raw/power-capability/power-capability-typecheck.log +0 -0
- package/docs/reports/unified-9.0.20/raw/pwa-https/evidence.json +45 -0
- package/docs/reports/unified-9.0.20/raw/pwa-https/node22-build.log +21 -0
- package/docs/reports/unified-9.0.20/raw/pwa-https/node22-source.log +23 -0
- package/docs/reports/unified-9.0.20/raw/pwa-https/node24-build.log +11 -0
- package/docs/reports/unified-9.0.20/raw/pwa-https/node24-source.log +11 -0
- package/docs/reports/unified-9.0.20/raw/pwa-independent/policy-boundaries.test.cjs +45 -0
- package/docs/reports/unified-9.0.20/raw/pwa-independent/policy-receipt.json +71 -0
- package/docs/reports/unified-9.0.20/raw/pwa-independent/policy-v22.23.4.tap +34 -0
- package/docs/reports/unified-9.0.20/raw/pwa-independent/policy-v24.22.3.tap +11 -0
- package/docs/reports/unified-9.0.20/raw/pwa-ui-independent-review-final.json +348 -0
- package/docs/reports/unified-9.0.20/raw/repro-failed-init-drain-before.cjs +15 -0
- package/docs/reports/unified-9.0.20/raw/repro-profile-replacement-after-unmapped.cjs +15 -0
- package/docs/reports/unified-9.0.20/raw/repro-runtime-retry-before.cjs +18 -0
- package/docs/reports/unified-9.0.20/raw/sbom-runtime.log +7 -0
- package/docs/reports/unified-9.0.20/raw/sbom-runtime.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/sbom-vendor-check.log +1 -0
- package/docs/reports/unified-9.0.20/raw/sbom-vendor-check.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/solax-readback-node22.json +30 -0
- package/docs/reports/unified-9.0.20/raw/solax-readback-node22.log +542 -0
- package/docs/reports/unified-9.0.20/raw/solax-readback-node24.json +30 -0
- package/docs/reports/unified-9.0.20/raw/solax-readback-node24.log +97 -0
- package/docs/reports/unified-9.0.20/raw/tariff-report-before.log +147 -0
- package/docs/reports/unified-9.0.20/raw/tariff-report-evidence.json +48 -0
- package/docs/reports/unified-9.0.20/raw/tariff-report-final-node22.log +151 -0
- package/docs/reports/unified-9.0.20/raw/tariff-report-final-node24.log +32 -0
- package/docs/reports/unified-9.0.20/raw/ui-docs-check.log +6 -0
- package/docs/reports/unified-9.0.20/raw/ui-docs-check.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/ui-runtime-final.log +7 -0
- package/docs/reports/unified-9.0.20/raw/ui-runtime-final.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/ui-runtime-sync.log +6 -0
- package/docs/reports/unified-9.0.20/raw/ui-runtime-sync.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/ui-sbom-check.log +6 -0
- package/docs/reports/unified-9.0.20/raw/ui-sbom-check.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/ui-sbom-final.log +6 -0
- package/docs/reports/unified-9.0.20/raw/ui-sbom-final.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/ui-secret-final.log +6 -0
- package/docs/reports/unified-9.0.20/raw/ui-secret-final.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/ui-security-final.log +8 -0
- package/docs/reports/unified-9.0.20/raw/ui-security-final.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/visuals-baseline-919.txt +36 -0
- package/docs/reports/unified-9.0.20/raw/visuals-browser-limit.txt +3 -0
- package/docs/reports/unified-9.0.20/raw/visuals-lint.txt +0 -0
- package/docs/reports/unified-9.0.20/raw/visuals-node22.txt +258 -0
- package/docs/reports/unified-9.0.20/raw/visuals-node24.txt +51 -0
- package/docs/reports/unified-9.0.20/raw/visuals-security.txt +0 -0
- package/docs/reports/unified-9.0.20/raw/visuals-typecheck.txt +0 -0
- package/docs/reports/unified-9.0.20/raw/wallet-freshness-after.log +19 -0
- package/docs/reports/unified-9.0.20/raw/wallet-freshness-after.result.json +16 -0
- package/docs/reports/unified-9.0.20/raw/wallet-freshness-before.log +31 -0
- package/docs/reports/unified-9.0.20/raw/wallet-freshness-before.result.json +14 -0
- package/docs/reports/unified-9.0.20/raw/wallet-freshness-independent.result.json +13 -0
- package/docs/reports/unified-9.0.20/raw/wallet-freshness-independent.tap +10 -0
- package/io-package.json +12 -12
- package/modules/devices/admin/ems-assignment.d.ts +8 -2
- package/modules/devices/admin/ems-assignment.js +192 -30
- package/modules/devices/admin/host-bridge.js +36 -11
- package/modules/devices/admin/index.html +26 -5
- package/modules/devices/admin/index_m.js +87 -3
- package/modules/devices/admin/style.css +17 -4
- package/modules/devices/checks/emsAssignment.check.js +10 -6
- package/modules/devices/contracts.d.ts +1 -1
- package/modules/devices/index.js +54 -17
- package/modules/devices/lib/device-alias-semantics-v1.json +22 -1
- package/modules/devices/lib/deviceAliasFreshness.js +66 -0
- package/modules/devices/lib/deviceAliasSemantics.js +13 -3
- package/modules/devices/lib/deviceRuntime.js +278 -133
- package/modules/devices/lib/drivers/modbus.js +107 -23
- package/modules/devices/lib/drivers/modbusAsciiBus.js +47 -31
- package/modules/devices/lib/drivers/modbusRtuBus.js +33 -9
- package/modules/devices/lib/drivers/modbusSerialLease.js +29 -0
- package/modules/devices/lib/drivers/speedwire.js +42 -22
- package/modules/devices/lib/modbusReadEvidence.js +29 -0
- package/modules/devices/test/deviceAliasFreshness.test.js +154 -0
- package/modules/devices/test/emsAssignmentUi.test.js +119 -11
- package/modules/devices/test/modbusAuthorizationReads.test.js +112 -0
- package/modules/devices/test/modbusConnectLifecycle.test.js +148 -0
- package/modules/devices/test/modbusSerialLifecycle.test.js +91 -0
- package/modules/devices/test/runtimeLiveness.test.js +1 -1
- package/modules/devices/test/serialOperationGate.test.js +3 -3
- package/modules/devices/test/solaxReadbackContext.test.js +472 -0
- package/modules/devices/test/speedwireLifecycle.test.js +118 -0
- package/modules/devices/tsconfig.alias-semantics.json +1 -1
- package/modules/devices/tsconfig.hosted.json +1 -1
- package/modules/devices/tsconfig.serial-lifecycle.json +18 -0
- package/package.json +11 -7
- package/release-manifests/unified/build-environment.cdx.json +1483 -7370
- package/release-manifests/unified/files.json +758 -185
- package/release-manifests/unified/frontend.cdx.json +2688 -5952
- package/release-manifests/unified/installer.cdx.json +2053 -821
- package/release-manifests/unified/obsolete-admin-assets.json +170 -6
- package/release-manifests/unified/runtime.cdx.json +40 -3283
- package/release-manifests/unified/validation.json +15 -15
- package/tools/eos-release-check.cjs +2 -2
- package/tools/eos-release-manifest.cjs +3 -3
- package/ui/admin/react/assets/index-BJO3q7oe.js +13 -0
- package/ui/admin/react/assets/{index-CuquHlsY.css → index-ofLP_Y7y.css} +1 -1
- package/ui/admin/react/index.html +2 -2
- package/ui/docs/security/eslint-reviewed-findings.json +26 -26
- package/ui/ems/engine.js +54 -7
- package/ui/ems/module-manager.js +44 -21
- package/ui/ems/modules/core-limits.js +5 -3
- package/ui/ems/modules/energy-wallet.js +38 -33
- package/ui/ems/modules/storage-control.js +64 -22
- package/ui/ems/modules/tarif-vis.js +36 -24
- package/ui/ems/modules/tariff-provider.js +28 -6
- package/ui/ems/services/tariff-provider-registry.js +11 -8
- package/ui/io-package.json +1 -1
- package/ui/lib/customer-tariff.js +5 -1
- package/ui/lib/influx-config.js +204 -0
- package/ui/lib/influx-direct.js +527 -0
- package/ui/lib/influx-history-runtime.js +326 -0
- package/ui/lib/influx-network-policy.js +112 -0
- package/ui/lib/installer-lifecycle.js +134 -1
- package/ui/lib/storage-farm-overview.js +115 -0
- package/ui/lib/tariff-price.js +115 -0
- package/ui/lib/ui-access-policy.js +2 -2
- package/ui/main.js +743 -264
- package/ui/package.json +18 -6
- package/ui/www/app.js +195 -334
- package/ui/www/ems-apps.html +4 -1
- package/ui/www/ems-apps.js +21 -2
- package/ui/www/energy-ledger.html +1 -1
- package/ui/www/evcs.html +1 -1
- package/ui/www/history.html +1 -1
- package/ui/www/history.js +114 -74
- package/ui/www/index.html +4 -1
- package/ui/www/licenses/smarthome-markdown-components.json +156 -156
- package/ui/www/live-display.js +115 -0
- package/ui/www/logic.html +1 -1
- package/ui/www/login.css +1 -0
- package/ui/www/login.html +2 -1
- package/ui/www/manifest.webmanifest +2 -2
- package/ui/www/power-measurements.js +62 -0
- package/ui/www/settings.html +4 -1
- package/ui/www/simulation.html +1 -1
- package/ui/www/smarthome-config.html +1 -1
- package/ui/www/smarthome.html +1 -1
- package/ui/www/storagefarm-dispatch.js +287 -0
- package/ui/www/storagefarm-summary.css +32 -0
- package/ui/www/storagefarm-summary.js +136 -0
- package/ui/www/storagefarm.html +31 -2
- package/ui/www/storagefarm.js +14 -44
- package/ui/www/tariff-display.js +161 -0
- package/ui/www/tariff-report.js +43 -25
- package/ui/admin/react/assets/index-Bq5IupDw.js +0 -13
|
@@ -10,6 +10,8 @@
|
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
12
|
const ModbusRTU = require('modbus-serial');
|
|
13
|
+
const { assertOperationAllowed } = require('../operationContext');
|
|
14
|
+
const { recordReadResponse } = require('../modbusReadEvidence');
|
|
13
15
|
const { acquireBus, releaseBus } = require('./modbusRtuBus');
|
|
14
16
|
const { acquireBus: acquireAsciiBus, releaseBus: releaseAsciiBus } = require('./modbusAsciiBus');
|
|
15
17
|
const { applyScale, removeScale, bigIntToNumberOrString } = require('../utils');
|
|
@@ -27,6 +29,14 @@ function _errMsg(err) {
|
|
|
27
29
|
try { return (err && err.message) ? String(err.message) : String(err); } catch (_) { return ''; }
|
|
28
30
|
}
|
|
29
31
|
|
|
32
|
+
// Hosted authorization and lifecycle boundaries are not device/register errors.
|
|
33
|
+
// They must abort the whole snapshot without marking valid optional registers
|
|
34
|
+
// unsupported for the subsequent permitted poll.
|
|
35
|
+
function isReadOperationBoundaryError(err) {
|
|
36
|
+
return ['EOS_DEVICES_NOT_AUTHORIZED', 'EOS_DEVICES_STOPPED', 'EOS_MODULE_STOPPED', 'EOS_OWNERSHIP_REQUIRED', 'E_MODBUS_CONNECT_CANCELLED']
|
|
37
|
+
.includes(_errCode(err) || _errMsg(err));
|
|
38
|
+
}
|
|
39
|
+
|
|
30
40
|
function isTransportError(err) {
|
|
31
41
|
const code = _errCode(err);
|
|
32
42
|
const msg = _errMsg(err);
|
|
@@ -573,6 +583,7 @@ class ModbusDriver {
|
|
|
573
583
|
}
|
|
574
584
|
this.connected = false;
|
|
575
585
|
this.connecting = false;
|
|
586
|
+
this._connectGeneration = 0;
|
|
576
587
|
this._busy = false;
|
|
577
588
|
|
|
578
589
|
// Cache for dynamic scale factors (e.g. SunSpec *_SF registers)
|
|
@@ -775,6 +786,7 @@ class ModbusDriver {
|
|
|
775
786
|
this._sunSpecScanUnitIds = Array.isArray(hints.sunSpecScanUnitIds) ? hints.sunSpecScanUnitIds.map(Number) : null;
|
|
776
787
|
this._sunSpecScanFcs = Array.isArray(hints.sunSpecScanFunctionCodes) ? hints.sunSpecScanFunctionCodes.map(Number) : null;
|
|
777
788
|
this._sunSpecDiscovered = false;
|
|
789
|
+
this._sunSpecDiscoveryPending = null;
|
|
778
790
|
this._sunSpecFc = null; // FC used for SunSpec registers (3/4)
|
|
779
791
|
this._sunSpecFoundBase = null; // discovered base register for 'SunS'
|
|
780
792
|
this._sunSpecModelsById = new Map(); // modelId -> [{offset,len}]
|
|
@@ -1079,6 +1091,13 @@ class ModbusDriver {
|
|
|
1079
1091
|
}
|
|
1080
1092
|
|
|
1081
1093
|
async connect() {
|
|
1094
|
+
const generation = this._connectGeneration;
|
|
1095
|
+
const cancelled = () => Object.assign(new Error('Modbus connect cancelled after disconnect'), { code: 'E_MODBUS_CONNECT_CANCELLED' });
|
|
1096
|
+
const assertCurrent = () => {
|
|
1097
|
+
if (generation !== this._connectGeneration) throw cancelled();
|
|
1098
|
+
assertOperationAllowed();
|
|
1099
|
+
};
|
|
1100
|
+
assertCurrent();
|
|
1082
1101
|
if (this.connected) return;
|
|
1083
1102
|
|
|
1084
1103
|
// If another caller is already connecting, wait for it instead of returning early.
|
|
@@ -1089,7 +1108,9 @@ class ModbusDriver {
|
|
|
1089
1108
|
const maxWait = Math.max(Number(this.connectTimeoutMs || 0), Number(this.operationTimeoutMs || 0), 5000);
|
|
1090
1109
|
while (this.connecting && !this.connected && (Date.now() - started) < maxWait) {
|
|
1091
1110
|
await sleep(50);
|
|
1111
|
+
assertCurrent();
|
|
1092
1112
|
}
|
|
1113
|
+
assertCurrent();
|
|
1093
1114
|
if (this.connected) return;
|
|
1094
1115
|
if (this.connecting) {
|
|
1095
1116
|
const err = this._makeTimeoutError('Modbus TCP connect wait', maxWait, 'E_MODBUS_CONNECT_TIMEOUT');
|
|
@@ -1110,8 +1131,12 @@ class ModbusDriver {
|
|
|
1110
1131
|
// ignore
|
|
1111
1132
|
}
|
|
1112
1133
|
|
|
1134
|
+
// A stop can complete while reconnect backoff is sleeping. Never create a
|
|
1135
|
+
// transport afterwards, even when a later session has become authorized.
|
|
1136
|
+
let connectingClient = null;
|
|
1113
1137
|
const c = this.device.connection || {};
|
|
1114
1138
|
try {
|
|
1139
|
+
assertCurrent();
|
|
1115
1140
|
if (this.protocol === 'modbusTcp') {
|
|
1116
1141
|
const host = c.host;
|
|
1117
1142
|
const port = Number(c.port || 502);
|
|
@@ -1123,6 +1148,7 @@ class ModbusDriver {
|
|
|
1123
1148
|
} catch (_) {}
|
|
1124
1149
|
|
|
1125
1150
|
const tcpClient = new ModbusRTU();
|
|
1151
|
+
connectingClient = tcpClient;
|
|
1126
1152
|
this.client = tcpClient;
|
|
1127
1153
|
|
|
1128
1154
|
const connectPromise = new Promise((resolve, reject) => {
|
|
@@ -1139,6 +1165,7 @@ class ModbusDriver {
|
|
|
1139
1165
|
}
|
|
1140
1166
|
);
|
|
1141
1167
|
|
|
1168
|
+
assertCurrent();
|
|
1142
1169
|
// The connection may have completed after a timeout and been replaced/closed.
|
|
1143
1170
|
if (this.client !== tcpClient) {
|
|
1144
1171
|
const err = new Error('Modbus TCP connect completed on stale client');
|
|
@@ -1189,6 +1216,7 @@ class ModbusDriver {
|
|
|
1189
1216
|
throw new Error(`Unsupported Modbus protocol: ${this.protocol}`);
|
|
1190
1217
|
}
|
|
1191
1218
|
|
|
1219
|
+
assertCurrent();
|
|
1192
1220
|
this.connected = true;
|
|
1193
1221
|
this._failStreak = 0;
|
|
1194
1222
|
this._nextConnectAt = 0;
|
|
@@ -1198,24 +1226,28 @@ class ModbusDriver {
|
|
|
1198
1226
|
try {
|
|
1199
1227
|
await this._maybeDiscoverSunSpec();
|
|
1200
1228
|
} catch (e) {
|
|
1201
|
-
|
|
1229
|
+
if (isReadOperationBoundaryError(e)) throw e;
|
|
1230
|
+
// Discovery must never break connectivity for ordinary unsupported models.
|
|
1202
1231
|
this.adapter.log.debug(`[${this.device.id}] SunSpec discovery error: ${e && e.message ? e.message : e}`);
|
|
1203
1232
|
}
|
|
1233
|
+
assertCurrent();
|
|
1204
1234
|
} catch (e) {
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
this._markDisconnected(e);
|
|
1235
|
+
if (generation !== this._connectGeneration) {
|
|
1236
|
+
// Late completion belongs to the old attempt. Its cleanup must never
|
|
1237
|
+
// close or mark disconnected the replacement session's TCP client.
|
|
1238
|
+
if (connectingClient && connectingClient !== this.client) this._forceCloseTcpClient(connectingClient);
|
|
1239
|
+
throw cancelled();
|
|
1211
1240
|
}
|
|
1241
|
+
// Ensure we always reset the internal state on this attempt's failure.
|
|
1242
|
+
this._markDisconnected(e);
|
|
1212
1243
|
throw e;
|
|
1213
1244
|
} finally {
|
|
1214
|
-
this.connecting = false;
|
|
1245
|
+
if (generation === this._connectGeneration) this.connecting = false;
|
|
1215
1246
|
}
|
|
1216
1247
|
}
|
|
1217
1248
|
|
|
1218
1249
|
async disconnect() {
|
|
1250
|
+
++this._connectGeneration;
|
|
1219
1251
|
try {
|
|
1220
1252
|
if (this.protocol === 'modbusTcp') {
|
|
1221
1253
|
if (this.client) {
|
|
@@ -1224,13 +1256,13 @@ class ModbusDriver {
|
|
|
1224
1256
|
}
|
|
1225
1257
|
} else if (this.protocol === 'modbusRtu') {
|
|
1226
1258
|
if (this.rtuBusKey) {
|
|
1227
|
-
releaseBus(this.rtuBusKey);
|
|
1259
|
+
await releaseBus(this.rtuBusKey);
|
|
1228
1260
|
}
|
|
1229
1261
|
this.rtuBus = null;
|
|
1230
1262
|
this.rtuBusKey = null;
|
|
1231
1263
|
} else if (this.protocol === 'modbusAscii') {
|
|
1232
1264
|
if (this.asciiBusKey) {
|
|
1233
|
-
releaseAsciiBus(this.asciiBusKey);
|
|
1265
|
+
await releaseAsciiBus(this.asciiBusKey);
|
|
1234
1266
|
}
|
|
1235
1267
|
this.asciiBus = null;
|
|
1236
1268
|
this.asciiBusKey = null;
|
|
@@ -1244,6 +1276,7 @@ class ModbusDriver {
|
|
|
1244
1276
|
}
|
|
1245
1277
|
|
|
1246
1278
|
async ensureConnected() {
|
|
1279
|
+
const generation = this._connectGeneration;
|
|
1247
1280
|
if (this.connected) {
|
|
1248
1281
|
if (this.protocol === 'modbusTcp' && !this._isTcpOpen()) {
|
|
1249
1282
|
this._markDisconnected(new Error('Port Not Open'));
|
|
@@ -1255,7 +1288,8 @@ class ModbusDriver {
|
|
|
1255
1288
|
await this.connect();
|
|
1256
1289
|
return this.connected;
|
|
1257
1290
|
} catch (e) {
|
|
1258
|
-
|
|
1291
|
+
// An older caller may finish after disconnect and successful replacement.
|
|
1292
|
+
if (generation === this._connectGeneration) this.connected = false;
|
|
1259
1293
|
throw e;
|
|
1260
1294
|
}
|
|
1261
1295
|
}
|
|
@@ -2273,10 +2307,29 @@ class ModbusDriver {
|
|
|
2273
2307
|
|
|
2274
2308
|
async _maybeDiscoverSunSpec() {
|
|
2275
2309
|
if (!this._autoSunSpec) return false;
|
|
2310
|
+
assertOperationAllowed();
|
|
2276
2311
|
if (this._sunSpecDiscovered) return true;
|
|
2312
|
+
const generation = this._connectGeneration;
|
|
2313
|
+
if (this._sunSpecDiscoveryPending?.generation === generation) return this._sunSpecDiscoveryPending.promise;
|
|
2314
|
+
const pending = { generation, promise: null };
|
|
2315
|
+
pending.promise = this._discoverSunSpec(generation).finally(() => {
|
|
2316
|
+
if (this._sunSpecDiscoveryPending === pending) this._sunSpecDiscoveryPending = null;
|
|
2317
|
+
});
|
|
2318
|
+
this._sunSpecDiscoveryPending = pending;
|
|
2319
|
+
return pending.promise;
|
|
2320
|
+
}
|
|
2277
2321
|
|
|
2278
|
-
|
|
2279
|
-
|
|
2322
|
+
async _discoverSunSpec(generation) {
|
|
2323
|
+
const client = this.client;
|
|
2324
|
+
const originalUnitId = this.unitId;
|
|
2325
|
+
const assertCurrent = () => {
|
|
2326
|
+
if (generation !== this._connectGeneration || (this.protocol === 'modbusTcp' && client !== this.client)) {
|
|
2327
|
+
throw Object.assign(new Error('Modbus discovery cancelled after disconnect'), { code: 'E_MODBUS_CONNECT_CANCELLED' });
|
|
2328
|
+
}
|
|
2329
|
+
assertOperationAllowed();
|
|
2330
|
+
};
|
|
2331
|
+
assertCurrent();
|
|
2332
|
+
// Cache only a completed scan. A cancelled scan remains retryable.
|
|
2280
2333
|
|
|
2281
2334
|
// Candidates (kept intentionally small to avoid long connect delays)
|
|
2282
2335
|
const templateBase = Number.isFinite(this._sunSpecTemplateBase) ? this._sunSpecTemplateBase : 40000;
|
|
@@ -2319,6 +2372,7 @@ class ModbusDriver {
|
|
|
2319
2372
|
}
|
|
2320
2373
|
|
|
2321
2374
|
for (const uid of unitCandidates) {
|
|
2375
|
+
assertCurrent();
|
|
2322
2376
|
this._setUnitId(uid);
|
|
2323
2377
|
|
|
2324
2378
|
for (const fc of fcCandidates) {
|
|
@@ -2329,6 +2383,7 @@ class ModbusDriver {
|
|
|
2329
2383
|
if (testAddr < 0 || testAddr > 65535) continue;
|
|
2330
2384
|
|
|
2331
2385
|
try {
|
|
2386
|
+
assertCurrent();
|
|
2332
2387
|
let regs;
|
|
2333
2388
|
if (fc === 3) {
|
|
2334
2389
|
regs = (await this._mbReadHoldingRegisters(testAddr, 2)).data || [];
|
|
@@ -2338,10 +2393,12 @@ class ModbusDriver {
|
|
|
2338
2393
|
continue;
|
|
2339
2394
|
}
|
|
2340
2395
|
|
|
2396
|
+
assertCurrent();
|
|
2341
2397
|
const sig = this._sunSpecSignatureInfo(regs);
|
|
2342
2398
|
if (sig) {
|
|
2343
2399
|
// Compute only the *additional* offset beyond the manual offset.
|
|
2344
2400
|
const autoOff = b - templateBase - this.manualAddressOffset;
|
|
2401
|
+
this._sunSpecDiscovered = true;
|
|
2345
2402
|
this.autoAddressOffset = autoOff;
|
|
2346
2403
|
this.autoUnitId = uid;
|
|
2347
2404
|
this._sunSpecFc = fc;
|
|
@@ -2370,21 +2427,27 @@ class ModbusDriver {
|
|
|
2370
2427
|
return true;
|
|
2371
2428
|
}
|
|
2372
2429
|
} catch (e) {
|
|
2430
|
+
if (isReadOperationBoundaryError(e)) throw e;
|
|
2373
2431
|
// Ignore probe errors and continue scanning.
|
|
2374
2432
|
}
|
|
2375
2433
|
}
|
|
2376
2434
|
}
|
|
2377
2435
|
}
|
|
2378
2436
|
|
|
2437
|
+
assertCurrent();
|
|
2438
|
+
this._sunSpecDiscovered = true;
|
|
2379
2439
|
this.adapter.log.debug(
|
|
2380
2440
|
`[${this.device.id}] SunSpec discovery: signature not found. ` +
|
|
2381
2441
|
`Keeping unitId=${this.unitId} and addressOffset(manual)=${this.manualAddressOffset}.`
|
|
2382
2442
|
);
|
|
2383
2443
|
return false;
|
|
2444
|
+
} catch (error) {
|
|
2445
|
+
if (generation === this._connectGeneration && this.client === client) this._setUnitId(originalUnitId);
|
|
2446
|
+
throw error;
|
|
2384
2447
|
} finally {
|
|
2385
|
-
//
|
|
2386
|
-
if (this.protocol === 'modbusTcp' && this.client && typeof
|
|
2387
|
-
try {
|
|
2448
|
+
// A late old scan must not change the replacement client's timeout.
|
|
2449
|
+
if (generation === this._connectGeneration && this.protocol === 'modbusTcp' && this.client === client && client && typeof client.setTimeout === 'function') {
|
|
2450
|
+
try { client.setTimeout(originalTimeout); } catch (_) {}
|
|
2388
2451
|
}
|
|
2389
2452
|
}
|
|
2390
2453
|
}
|
|
@@ -2393,12 +2456,20 @@ class ModbusDriver {
|
|
|
2393
2456
|
|
|
2394
2457
|
async _maybeScanSunSpecModels() {
|
|
2395
2458
|
if (!this._autoSunSpec) return false;
|
|
2459
|
+
const generation = this._connectGeneration;
|
|
2460
|
+
const client = this.client;
|
|
2461
|
+
const assertCurrent = () => {
|
|
2462
|
+
if (generation !== this._connectGeneration || (this.protocol === 'modbusTcp' && client !== this.client)) throw Object.assign(new Error('Modbus model scan cancelled after disconnect'), { code: 'E_MODBUS_CONNECT_CANCELLED' });
|
|
2463
|
+
assertOperationAllowed();
|
|
2464
|
+
};
|
|
2465
|
+
assertCurrent();
|
|
2396
2466
|
if (this._sunSpecModelsScanned) return true;
|
|
2397
2467
|
|
|
2398
2468
|
// Ensure discovery has run so we know the correct unitId/base/fc/endian.
|
|
2399
2469
|
try {
|
|
2400
2470
|
await this._maybeDiscoverSunSpec();
|
|
2401
|
-
} catch (
|
|
2471
|
+
} catch (error) {
|
|
2472
|
+
if (isReadOperationBoundaryError(error)) throw error;
|
|
2402
2473
|
// ignore
|
|
2403
2474
|
}
|
|
2404
2475
|
|
|
@@ -2409,8 +2480,10 @@ class ModbusDriver {
|
|
|
2409
2480
|
if (!Number.isFinite(base) || base < 0 || base > 65535) return false;
|
|
2410
2481
|
|
|
2411
2482
|
const readRegs = async (addr, len) => {
|
|
2412
|
-
|
|
2413
|
-
|
|
2483
|
+
assertCurrent();
|
|
2484
|
+
const result = fc === 4 ? await this._mbReadInputRegisters(addr, len) : await this._mbReadHoldingRegisters(addr, len);
|
|
2485
|
+
assertCurrent();
|
|
2486
|
+
return result.data || [];
|
|
2414
2487
|
};
|
|
2415
2488
|
|
|
2416
2489
|
const modelsById = new Map();
|
|
@@ -2428,6 +2501,7 @@ class ModbusDriver {
|
|
|
2428
2501
|
try {
|
|
2429
2502
|
hdr = await readRegs(base + off, 2);
|
|
2430
2503
|
} catch (e) {
|
|
2504
|
+
if (isReadOperationBoundaryError(e)) throw e;
|
|
2431
2505
|
break;
|
|
2432
2506
|
}
|
|
2433
2507
|
|
|
@@ -2445,6 +2519,7 @@ class ModbusDriver {
|
|
|
2445
2519
|
off += 2 + len;
|
|
2446
2520
|
}
|
|
2447
2521
|
|
|
2522
|
+
assertCurrent();
|
|
2448
2523
|
this._sunSpecModelsById = modelsById;
|
|
2449
2524
|
this._sunSpecModelsScanned = true;
|
|
2450
2525
|
|
|
@@ -2863,6 +2938,7 @@ async readDatapoints(datapoints) {
|
|
|
2863
2938
|
};
|
|
2864
2939
|
|
|
2865
2940
|
const handleGroupReadError = async (fc, g, e, unitId) => {
|
|
2941
|
+
if (isReadOperationBoundaryError(e)) throw e;
|
|
2866
2942
|
const isRequired = groupHasRequiredDp(g);
|
|
2867
2943
|
|
|
2868
2944
|
if (isTransportError(e)) {
|
|
@@ -2996,8 +3072,12 @@ async readDatapoints(datapoints) {
|
|
|
2996
3072
|
if (shouldSkipGroup(fc, ig, unitId)) { skippedReadGroupCount += 1; continue; }
|
|
2997
3073
|
try {
|
|
2998
3074
|
const regs = await readRegisterGroupRaw(fc, item.addr, Number(item.len || item.src.length || 1), unitId);
|
|
2999
|
-
if (storeRegisterItemValue(item, regs, item.addr))
|
|
3075
|
+
if (storeRegisterItemValue(item, regs, item.addr)) {
|
|
3076
|
+
recordReadResponse(out, [item.dp.id]);
|
|
3077
|
+
success += 1;
|
|
3078
|
+
}
|
|
3000
3079
|
} catch (e) {
|
|
3080
|
+
if (isReadOperationBoundaryError(e)) throw e;
|
|
3001
3081
|
lastErr = e;
|
|
3002
3082
|
if (groupHasRequiredDp(ig)) {
|
|
3003
3083
|
requiredFailure = e;
|
|
@@ -3029,7 +3109,7 @@ async readDatapoints(datapoints) {
|
|
|
3029
3109
|
return s && s.sunspecModel !== undefined && s.sunspecModel !== null;
|
|
3030
3110
|
});
|
|
3031
3111
|
if (needsSunSpec) {
|
|
3032
|
-
try { await this._maybeScanSunSpecModels(); } catch (
|
|
3112
|
+
try { await this._maybeScanSunSpecModels(); } catch (error) { if (isReadOperationBoundaryError(error)) throw error; }
|
|
3033
3113
|
}
|
|
3034
3114
|
|
|
3035
3115
|
const readItems = (datapoints || []).map(dp => {
|
|
@@ -3129,6 +3209,7 @@ async readDatapoints(datapoints) {
|
|
|
3129
3209
|
try {
|
|
3130
3210
|
regs = await readRegisterGroupRaw(fc, g.start, len, unitId);
|
|
3131
3211
|
} catch (e) {
|
|
3212
|
+
if (isReadOperationBoundaryError(e)) throw e;
|
|
3132
3213
|
let fallbackReadOk = false;
|
|
3133
3214
|
if (isModbusIllegalAddressOrValue(e)) {
|
|
3134
3215
|
for (const off of groupFallbackOffsets(g)) {
|
|
@@ -3139,7 +3220,8 @@ async readDatapoints(datapoints) {
|
|
|
3139
3220
|
fallbackReadOk = true;
|
|
3140
3221
|
this._cacheAlfenReadVariantForGroup(g, unitId, off);
|
|
3141
3222
|
break;
|
|
3142
|
-
} catch (
|
|
3223
|
+
} catch (fallbackError) {
|
|
3224
|
+
if (isReadOperationBoundaryError(fallbackError)) throw fallbackError;
|
|
3143
3225
|
// Try the next explicitly configured fallback offset, if any.
|
|
3144
3226
|
}
|
|
3145
3227
|
}
|
|
@@ -3155,9 +3237,11 @@ async readDatapoints(datapoints) {
|
|
|
3155
3237
|
}
|
|
3156
3238
|
}
|
|
3157
3239
|
|
|
3240
|
+
const sampledIds = [];
|
|
3158
3241
|
for (const item of g.items) {
|
|
3159
|
-
storeRegisterItemValue(item, regs, g.start);
|
|
3242
|
+
if (storeRegisterItemValue(item, regs, g.start)) sampledIds.push(item.dp.id);
|
|
3160
3243
|
}
|
|
3244
|
+
recordReadResponse(out, sampledIds);
|
|
3161
3245
|
}
|
|
3162
3246
|
}
|
|
3163
3247
|
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
const { assertOperationAllowed } = require('../operationContext');
|
|
3
|
+
const { claimSerialPort, boundedSerialClose, serialError } = require('./modbusSerialLease');
|
|
3
4
|
|
|
4
5
|
const { SerialPort } = require('serialport');
|
|
5
6
|
|
|
@@ -156,6 +157,7 @@ class ModbusAsciiBus {
|
|
|
156
157
|
this.port = null;
|
|
157
158
|
this.connected = false;
|
|
158
159
|
this.connecting = false;
|
|
160
|
+
this.closing = false;
|
|
159
161
|
|
|
160
162
|
// Serialize all operations on this bus
|
|
161
163
|
this._queue = Promise.resolve();
|
|
@@ -191,7 +193,7 @@ class ModbusAsciiBus {
|
|
|
191
193
|
const msg = `${event}${value ? ` ${String(value)}` : ''}`;
|
|
192
194
|
this._debugTrace.push(msg);
|
|
193
195
|
if (this._debugTrace.length > 12) this._debugTrace.splice(0, this._debugTrace.length - 12);
|
|
194
|
-
} catch (_) {}
|
|
196
|
+
} catch (_) { /* Diagnostic failure does not restore transport authority. */ }
|
|
195
197
|
}
|
|
196
198
|
|
|
197
199
|
_extractNextDelimitedLine() {
|
|
@@ -251,6 +253,7 @@ class ModbusAsciiBus {
|
|
|
251
253
|
}
|
|
252
254
|
|
|
253
255
|
async ensureConnected() {
|
|
256
|
+
if (this.closing) throw serialError('E_MODBUS_SERIAL_CLOSING');
|
|
254
257
|
if (this.connected) return true;
|
|
255
258
|
if (this.connecting) {
|
|
256
259
|
await this._queue;
|
|
@@ -261,6 +264,7 @@ class ModbusAsciiBus {
|
|
|
261
264
|
|
|
262
265
|
return await this._enqueue(async () => {
|
|
263
266
|
try {
|
|
267
|
+
if (this.closing) throw serialError('E_MODBUS_SERIAL_CLOSING');
|
|
264
268
|
if (this.connected) return true;
|
|
265
269
|
if (!this.opts.path) throw new Error('Modbus ASCII: missing serial path');
|
|
266
270
|
|
|
@@ -276,21 +280,19 @@ class ModbusAsciiBus {
|
|
|
276
280
|
autoOpen: false,
|
|
277
281
|
});
|
|
278
282
|
|
|
279
|
-
await new Promise((resolve, reject) => {
|
|
280
|
-
port.open((err) => (err ? reject(err) : resolve()));
|
|
281
|
-
});
|
|
282
|
-
|
|
283
283
|
this.port = port;
|
|
284
|
-
this.connected = true;
|
|
285
|
-
|
|
286
284
|
port.on('data', (d) => this._onData(d));
|
|
287
285
|
port.on('error', (err) => {
|
|
288
286
|
this.connected = false;
|
|
289
|
-
try { this.adapter.log.warn(`[modbusAsciiBus] serial error ${this.opts.path}: ${err && err.message ? err.message : err}`); }
|
|
287
|
+
try { this.adapter.log.warn(`[modbusAsciiBus] serial error ${this.opts.path}: ${err && err.message ? err.message : err}`); }
|
|
288
|
+
catch (_) { /* Diagnostic failure does not restore transport authority. */ }
|
|
290
289
|
});
|
|
291
|
-
port.on('close', () => {
|
|
292
|
-
|
|
290
|
+
port.on('close', () => { this.connected = false; });
|
|
291
|
+
await new Promise((resolve, reject) => {
|
|
292
|
+
port.open((err) => (err ? reject(err) : resolve()));
|
|
293
293
|
});
|
|
294
|
+
if (this.closing) throw serialError('E_MODBUS_SERIAL_CLOSING');
|
|
295
|
+
this.connected = true;
|
|
294
296
|
|
|
295
297
|
this.adapter.log.info(`[modbusAsciiBus] connected ${this.opts.path} @${this.opts.baudRate} ${this.opts.parity} ${this.opts.dataBits}${this.opts.stopBits} resp=${this.opts.responseStart}`);
|
|
296
298
|
return true;
|
|
@@ -304,34 +306,32 @@ class ModbusAsciiBus {
|
|
|
304
306
|
}
|
|
305
307
|
|
|
306
308
|
async _closePortInternal() {
|
|
309
|
+
const port = this.port;
|
|
307
310
|
try {
|
|
308
|
-
if (
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
this.port = null;
|
|
316
|
-
await new Promise((resolve) => {
|
|
317
|
-
try {
|
|
318
|
-
if (p.isOpen) p.close(() => resolve());
|
|
319
|
-
else resolve();
|
|
320
|
-
} catch (_) {
|
|
321
|
-
resolve();
|
|
322
|
-
}
|
|
311
|
+
if (port) {
|
|
312
|
+
// Keep the error listener until close is confirmed; a failed close
|
|
313
|
+
// retains the port reference and the manager's exclusive lease.
|
|
314
|
+
port.removeAllListeners('data');
|
|
315
|
+
if (port.isOpen) await new Promise((resolve, reject) => {
|
|
316
|
+
try { port.close(error => error ? reject(error) : resolve()); }
|
|
317
|
+
catch (error) { reject(error); }
|
|
323
318
|
});
|
|
319
|
+
port.removeAllListeners('error');
|
|
320
|
+
port.removeAllListeners('close');
|
|
321
|
+
if (this.port === port) this.port = null;
|
|
324
322
|
}
|
|
325
323
|
} finally {
|
|
326
324
|
this.connected = false;
|
|
327
325
|
this._rxText = '';
|
|
328
326
|
this._frameQueue = [];
|
|
327
|
+
for (const pending of this._pending) pending.reject(serialError('E_MODBUS_SERIAL_CLOSING'));
|
|
329
328
|
this._pending = [];
|
|
330
329
|
this._debugTrace = [];
|
|
331
330
|
}
|
|
332
331
|
}
|
|
333
332
|
|
|
334
333
|
async close() {
|
|
334
|
+
this.closing = true;
|
|
335
335
|
return await this._enqueue(async () => {
|
|
336
336
|
await this._closePortInternal();
|
|
337
337
|
});
|
|
@@ -372,6 +372,7 @@ class ModbusAsciiBus {
|
|
|
372
372
|
await this.ensureConnected();
|
|
373
373
|
return await this._enqueue(async () => {
|
|
374
374
|
assertOperationAllowed();
|
|
375
|
+
if (this.closing) throw serialError('E_MODBUS_SERIAL_CLOSING');
|
|
375
376
|
if (!this.connected) throw new Error('Serial transport disconnected before dispatch');
|
|
376
377
|
if (!this.port || !this.connected) throw new Error('Modbus ASCII: not connected');
|
|
377
378
|
|
|
@@ -514,22 +515,37 @@ function acquireBus(adapter, opts) {
|
|
|
514
515
|
|
|
515
516
|
const existing = buses.get(key);
|
|
516
517
|
if (existing) {
|
|
518
|
+
if (existing.closing) throw serialError('E_MODBUS_SERIAL_CLOSING');
|
|
517
519
|
existing.refs++;
|
|
518
520
|
return { key, bus: existing.bus };
|
|
519
521
|
}
|
|
520
522
|
|
|
521
|
-
const
|
|
522
|
-
|
|
523
|
+
const releasePort = claimSerialPort((opts.path || '').toString().trim());
|
|
524
|
+
let bus;
|
|
525
|
+
try { bus = new ModbusAsciiBus(adapter, opts); }
|
|
526
|
+
catch (error) { releasePort(); throw error; }
|
|
527
|
+
buses.set(key, { bus, refs: 1, closing: false, closePromise: null, releasePort });
|
|
523
528
|
return { key, bus };
|
|
524
529
|
}
|
|
525
530
|
|
|
526
|
-
function releaseBus(key) {
|
|
531
|
+
async function releaseBus(key) {
|
|
527
532
|
const entry = buses.get(key);
|
|
528
533
|
if (!entry) return;
|
|
534
|
+
if (entry.closePromise) return await boundedSerialClose(entry.closePromise);
|
|
529
535
|
entry.refs--;
|
|
530
|
-
if (entry.refs
|
|
531
|
-
|
|
532
|
-
|
|
536
|
+
if (entry.refs > 0) return;
|
|
537
|
+
entry.closing = true;
|
|
538
|
+
entry.closePromise = entry.bus.close().then(() => {
|
|
539
|
+
// Late completion may release only this exact entry, never a replacement.
|
|
540
|
+
if (buses.get(key) === entry) {
|
|
541
|
+
buses.delete(key);
|
|
542
|
+
entry.releasePort();
|
|
543
|
+
}
|
|
544
|
+
});
|
|
545
|
+
try { await boundedSerialClose(entry.closePromise); }
|
|
546
|
+
catch (error) {
|
|
547
|
+
try { entry.bus.adapter.log.warn('EOS_MODBUS_SERIAL_STOP_UNCONFIRMED'); } catch (_) { /* Diagnostic failure does not restore transport authority. */ }
|
|
548
|
+
throw error;
|
|
533
549
|
}
|
|
534
550
|
}
|
|
535
551
|
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
const { assertOperationAllowed } = require('../operationContext');
|
|
3
|
+
const { claimSerialPort, boundedSerialClose, serialError } = require('./modbusSerialLease');
|
|
3
4
|
|
|
4
5
|
const ModbusRTU = require('modbus-serial');
|
|
5
6
|
|
|
@@ -38,6 +39,7 @@ class ModbusRtuBus {
|
|
|
38
39
|
this.client = new ModbusRTU();
|
|
39
40
|
this.connected = false;
|
|
40
41
|
this.connecting = false;
|
|
42
|
+
this.closing = false;
|
|
41
43
|
|
|
42
44
|
// Serialize all operations on this bus
|
|
43
45
|
this._queue = Promise.resolve();
|
|
@@ -52,6 +54,7 @@ class ModbusRtuBus {
|
|
|
52
54
|
}
|
|
53
55
|
|
|
54
56
|
async ensureConnected() {
|
|
57
|
+
if (this.closing) throw serialError('E_MODBUS_SERIAL_CLOSING');
|
|
55
58
|
if (this.connected) return true;
|
|
56
59
|
if (this.connecting) {
|
|
57
60
|
// Wait for current connect attempt
|
|
@@ -63,6 +66,7 @@ class ModbusRtuBus {
|
|
|
63
66
|
|
|
64
67
|
return await this._enqueue(async () => {
|
|
65
68
|
try {
|
|
69
|
+
if (this.closing) throw serialError('E_MODBUS_SERIAL_CLOSING');
|
|
66
70
|
if (this.connected) return true;
|
|
67
71
|
await new Promise((resolve, reject) => {
|
|
68
72
|
assertOperationAllowed();
|
|
@@ -77,6 +81,7 @@ class ModbusRtuBus {
|
|
|
77
81
|
(err) => (err ? reject(err) : resolve())
|
|
78
82
|
);
|
|
79
83
|
});
|
|
84
|
+
if (this.closing) throw serialError('E_MODBUS_SERIAL_CLOSING');
|
|
80
85
|
this.connected = true;
|
|
81
86
|
this.adapter.log.info(`[modbusRtuBus] connected ${this.opts.path} @${this.opts.baudRate} ${this.opts.parity} ${this.opts.dataBits}${this.opts.stopBits}`);
|
|
82
87
|
return true;
|
|
@@ -90,10 +95,14 @@ class ModbusRtuBus {
|
|
|
90
95
|
}
|
|
91
96
|
|
|
92
97
|
async close() {
|
|
98
|
+
this.closing = true;
|
|
93
99
|
return await this._enqueue(async () => {
|
|
94
100
|
try {
|
|
95
|
-
if (this.client) {
|
|
96
|
-
|
|
101
|
+
if (this.client && this.client.isOpen !== false) {
|
|
102
|
+
await new Promise((resolve, reject) => {
|
|
103
|
+
try { this.client.close(error => error ? reject(error) : resolve()); }
|
|
104
|
+
catch (error) { reject(error); }
|
|
105
|
+
});
|
|
97
106
|
}
|
|
98
107
|
} finally {
|
|
99
108
|
this.connected = false;
|
|
@@ -108,6 +117,7 @@ class ModbusRtuBus {
|
|
|
108
117
|
await this.ensureConnected();
|
|
109
118
|
return await this._enqueue(async () => {
|
|
110
119
|
assertOperationAllowed();
|
|
120
|
+
if (this.closing) throw serialError('E_MODBUS_SERIAL_CLOSING');
|
|
111
121
|
if (!this.connected) throw new Error('Serial transport disconnected before dispatch');
|
|
112
122
|
this.client.setID(Number(unitId || 1));
|
|
113
123
|
this.client.setTimeout(Number(timeoutMs || 2000));
|
|
@@ -158,23 +168,37 @@ function acquireBus(adapter, opts) {
|
|
|
158
168
|
|
|
159
169
|
const existing = buses.get(key);
|
|
160
170
|
if (existing) {
|
|
171
|
+
if (existing.closing) throw serialError('E_MODBUS_SERIAL_CLOSING');
|
|
161
172
|
existing.refs++;
|
|
162
173
|
return { key, bus: existing.bus };
|
|
163
174
|
}
|
|
164
175
|
|
|
165
|
-
const
|
|
166
|
-
|
|
176
|
+
const releasePort = claimSerialPort((opts.path || '').toString().trim());
|
|
177
|
+
let bus;
|
|
178
|
+
try { bus = new ModbusRtuBus(adapter, opts); }
|
|
179
|
+
catch (error) { releasePort(); throw error; }
|
|
180
|
+
buses.set(key, { bus, refs: 1, closing: false, closePromise: null, releasePort });
|
|
167
181
|
return { key, bus };
|
|
168
182
|
}
|
|
169
183
|
|
|
170
|
-
function releaseBus(key) {
|
|
184
|
+
async function releaseBus(key) {
|
|
171
185
|
const entry = buses.get(key);
|
|
172
186
|
if (!entry) return;
|
|
187
|
+
if (entry.closePromise) return await boundedSerialClose(entry.closePromise);
|
|
173
188
|
entry.refs--;
|
|
174
|
-
if (entry.refs
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
entry
|
|
189
|
+
if (entry.refs > 0) return;
|
|
190
|
+
entry.closing = true;
|
|
191
|
+
entry.closePromise = entry.bus.close().then(() => {
|
|
192
|
+
// Late completion may release only this exact entry, never a replacement.
|
|
193
|
+
if (buses.get(key) === entry) {
|
|
194
|
+
buses.delete(key);
|
|
195
|
+
entry.releasePort();
|
|
196
|
+
}
|
|
197
|
+
});
|
|
198
|
+
try { await boundedSerialClose(entry.closePromise); }
|
|
199
|
+
catch (error) {
|
|
200
|
+
try { entry.bus.adapter.log.warn('EOS_MODBUS_SERIAL_STOP_UNCONFIRMED'); } catch (_) { /* Diagnostic failure does not restore transport authority. */ }
|
|
201
|
+
throw error;
|
|
178
202
|
}
|
|
179
203
|
}
|
|
180
204
|
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// @ts-check
|
|
2
|
+
/* Copyright (c) 2026 NexoWatt. Confidential and proprietary. */
|
|
3
|
+
'use strict';
|
|
4
|
+
const { resolve } = require('node:path');
|
|
5
|
+
/** In-process ownership only; OS permissions/locks still govern other processes. */
|
|
6
|
+
/** @type {Map<string, symbol>} */
|
|
7
|
+
const leases = new Map();
|
|
8
|
+
/** @param {string} code */
|
|
9
|
+
function serialError(code) { return Object.assign(new Error(code), { code }); }
|
|
10
|
+
/** @param {string} path */
|
|
11
|
+
function claimSerialPort(path) {
|
|
12
|
+
const key = process.platform === 'win32' ? resolve(path).toLowerCase() : resolve(path);
|
|
13
|
+
if (leases.has(key)) throw serialError('E_MODBUS_SERIAL_PORT_BUSY');
|
|
14
|
+
const token = Symbol('modbus-serial-lease');
|
|
15
|
+
leases.set(key, token);
|
|
16
|
+
return () => { if (leases.get(key) === token) leases.delete(key); };
|
|
17
|
+
}
|
|
18
|
+
/** The original close may finish late; only its successful completion releases ownership. */
|
|
19
|
+
/** @param {Promise<void>} operation */
|
|
20
|
+
async function boundedSerialClose(operation) {
|
|
21
|
+
/** @type {ReturnType<typeof setTimeout> | undefined} */
|
|
22
|
+
let timer;
|
|
23
|
+
try {
|
|
24
|
+
await Promise.race([operation, new Promise((_, reject) => {
|
|
25
|
+
timer = setTimeout(() => reject(serialError('E_MODBUS_SERIAL_STOP_TIMEOUT')), 2500);
|
|
26
|
+
})]);
|
|
27
|
+
} finally { clearTimeout(timer); }
|
|
28
|
+
}
|
|
29
|
+
module.exports = { claimSerialPort, boundedSerialClose, serialError };
|