iobroker.eos-admin 9.0.18 → 9.0.19
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 +4 -2
- package/START_HIER_9.0.19.md +52 -0
- package/adminWww/.vite/manifest.json +114 -114
- package/adminWww/NEXOWATT_EOS_FRONTEND_MANIFEST.json +13759 -13759
- package/adminWww/assets/{AdapterUpdateDialog-ByJk9Cxj.js → AdapterUpdateDialog-JOf2z4Vg.js} +1 -1
- package/adminWww/assets/{Adapters-V2JtEPZX.js → Adapters-C9fcSdWm.js} +1 -1
- package/adminWww/assets/{ConfigManager-BKcdyJnN.js → ConfigManager-BeeLlT6D.js} +1 -1
- package/adminWww/assets/{Enums-ChbfAWzp.js → Enums-FqnXWl8U.js} +1 -1
- package/adminWww/assets/{Fields-DzaVXEvg.js → Fields-DMgrt5Pi.js} +1 -1
- package/adminWww/assets/{Files-CRpIXj4X.js → Files-CIHtt12g.js} +1 -1
- package/adminWww/assets/{Hosts-rOgfd2wo.js → Hosts-fPLBzvTy.js} +1 -1
- package/adminWww/assets/{Instances-BxLhJ6Pb.js → Instances-4XaVQlrT.js} +1 -1
- package/adminWww/assets/{Intro-BOql527d.js → Intro-5TKriiLO.js} +1 -1
- package/adminWww/assets/{Logs-WUUDY7a4.js → Logs-33zcIds-.js} +1 -1
- package/adminWww/assets/{Objects-DYaZkCK7.js → Objects-CNQPVbNG.js} +1 -1
- package/adminWww/assets/{Overview-C6hiiPbm.js → Overview-BskXGOc8.js} +1 -1
- package/adminWww/assets/{State-AH43l7fG.js → State-C8SJ_Iqo.js} +1 -1
- package/adminWww/assets/{UsedResources-jhsRMH4X.js → UsedResources-CgqRa9ei.js} +1 -1
- package/adminWww/assets/{Users-D9wyLyJ1.js → Users-0JVYWR9u.js} +1 -1
- package/adminWww/assets/{bootstrap-gVLo1K_2.js → bootstrap-D16lu6rd.js} +3 -3
- package/adminWww/assets/{hostInit-Dt_M-NAC.js → hostInit-C8YZJuzi.js} +1 -1
- package/adminWww/assets/{icons-material-DuVW_EUA.js → icons-material-CiNJ_6Ur.js} +1 -1
- package/adminWww/assets/{index-B1cnPkSO.js → index-DA9Sphgh.js} +2 -2
- package/adminWww/assets/{installSVGRenderer-GvgHjubR.js → installSVGRenderer-DPdkRa_d.js} +1 -1
- package/adminWww/assets/{mf-entry-bootstrap-0-6b32b635.js → mf-entry-bootstrap-0-a7ab91de.js} +2 -2
- package/adminWww/index.html +23 -23
- package/adminWww/mf-manifest.json +1 -1
- package/adminWww/mf-stats.json +1 -1
- package/adminWww/remoteEntry-eos-9.0.19.js +12 -0
- 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 +432 -24
- package/build/lib/eosDeviceEmsPlan.js.map +1 -1
- package/build/lib/eosDeviceEmsService.js +106 -10
- package/build/lib/eosDeviceEmsService.js.map +1 -1
- package/build/lib/eosModuleHost.js +178 -53
- package/build/lib/eosModuleHost.js.map +1 -1
- package/build/lib/web.js +19 -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/io-package.json +8 -8
- 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/deviceAliasFreshness.js +65 -0
- package/modules/devices/lib/deviceRuntime.js +201 -127
- package/modules/devices/lib/drivers/modbus.js +18 -3
- package/modules/devices/lib/drivers/speedwire.js +42 -22
- package/modules/devices/test/deviceAliasFreshness.test.js +149 -0
- package/modules/devices/test/emsAssignmentUi.test.js +119 -11
- package/modules/devices/test/modbusAuthorizationReads.test.js +112 -0
- package/modules/devices/test/runtimeLiveness.test.js +1 -1
- 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/package.json +9 -7
- package/release-manifests/unified/build-environment.cdx.json +1483 -7370
- package/release-manifests/unified/files.json +295 -133
- 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 +88 -6
- package/release-manifests/unified/runtime.cdx.json +40 -3283
- package/release-manifests/unified/validation.json +15 -15
- package/tools/eos-release-manifest.cjs +3 -3
- package/ui/docs/security/eslint-reviewed-findings.json +20 -20
- 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 +31 -32
- package/ui/ems/modules/storage-control.js +5 -4
- 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/installer-lifecycle.js +134 -1
- package/ui/lib/storage-farm-overview.js +115 -0
- package/ui/lib/tariff-price.js +115 -0
- package/ui/main.js +202 -51
- package/ui/package.json +8 -2
- package/ui/www/app.js +47 -134
- package/ui/www/ems-apps.html +2 -0
- package/ui/www/ems-apps.js +14 -2
- package/ui/www/index.html +2 -0
- package/ui/www/licenses/smarthome-markdown-components.json +156 -156
- package/ui/www/manifest.webmanifest +2 -2
- package/ui/www/power-measurements.js +62 -0
- package/ui/www/settings.html +2 -0
- package/ui/www/storagefarm-summary.css +17 -0
- package/ui/www/storagefarm-summary.js +136 -0
- package/ui/www/storagefarm.html +16 -1
- package/ui/www/storagefarm.js +10 -22
- package/ui/www/tariff-display.js +161 -0
- package/adminWww/remoteEntry-eos-9.0.18.js +0 -12
package/ui/main.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* AUTO-GENERATED RUNTIME FILE - NICHT MANUELL BEARBEITEN.
|
|
8
8
|
*
|
|
9
9
|
* Quelle: src-ts/runtime-executables/main.ts
|
|
10
|
-
* Quell-Hash: sha256:
|
|
10
|
+
* Quell-Hash: sha256:29a6433294bddf757bdbe2e7ffba84bffe0fc70f2e3fbdbd63c6ea2e9dce4a16
|
|
11
11
|
* Erzeugung: npm run sync:ts-runtime-executables
|
|
12
12
|
*
|
|
13
13
|
* Zweck:
|
|
@@ -54,7 +54,9 @@ const os = require('os');
|
|
|
54
54
|
// JSON bleibt unkomprimiert: inflate:false verhindert Dekompressionsfehler auch mit älteren ioBroker-Abhängigkeitsbäumen.
|
|
55
55
|
const bodyParser = express.json({ limit: '5mb', inflate: false });
|
|
56
56
|
const crypto = require('crypto');
|
|
57
|
-
const { installerRevision, assertInstallerRevision, provisionInstallerObjects } = require('./lib/installer-lifecycle');
|
|
57
|
+
const { installerRevision, assertInstallerRevision, provisionInstallerObjects, assertDeviceAppActivations, numericMeasurement, activeDeviceProfileReferences } = require('./lib/installer-lifecycle');
|
|
58
|
+
const { buildFarmOverview } = require('./lib/storage-farm-overview');
|
|
59
|
+
const { tariffDisplayConfig } = require('./lib/tariff-price');
|
|
58
60
|
const { customerTariffView, prepareCustomerTariffChange } = require('./lib/customer-tariff');
|
|
59
61
|
const https = require('https');
|
|
60
62
|
const pkg = require('./package.json');
|
|
@@ -2566,13 +2568,14 @@ class NexoWattVis extends HostedAdapter {
|
|
|
2566
2568
|
if (!Number.isFinite(n) || n <= 0) return value;
|
|
2567
2569
|
return Math.round(hardLimitW > 0 ? Math.min(n, hardLimitW) : n);
|
|
2568
2570
|
};
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2571
|
+
// Optionale, nicht gesetzte Grenzen bleiben abwesend. Ein leeres Speicher-
|
|
2572
|
+
// Objekt darf durch die Lizenznormalisierung keine undefined-Eigenschaften
|
|
2573
|
+
// erhalten, die einen späteren Geräteplan ungültig machen; 0/null bleiben exakt erhalten.
|
|
2574
|
+
for (const key of ['ratedPowerW', 'maxChargeW', 'maxDischargeW', 'selfMaxChargeW', 'selfMaxDischargeW', 'lskMaxChargeW', 'lskMaxDischargeW']) {
|
|
2575
|
+
const value = Reflect.get(p.storage, key);
|
|
2576
|
+
if (value === undefined) Reflect.deleteProperty(p.storage, key);
|
|
2577
|
+
else Reflect.set(p.storage, key, normalizePositiveW(value));
|
|
2578
|
+
}
|
|
2576
2579
|
}
|
|
2577
2580
|
// Home: Auch Farm-Zeilen behalten die bestehende Leistungsgrenze.
|
|
2578
2581
|
// Der finale gemeinsame Speicherbefehl wird zusätzlich zentral begrenzt.
|
|
@@ -4899,8 +4902,9 @@ class NexoWattVis extends HostedAdapter {
|
|
|
4899
4902
|
await this._meshCoordinator?.syncAppLifecycle();
|
|
4900
4903
|
}
|
|
4901
4904
|
|
|
4902
|
-
/**
|
|
4903
|
-
*
|
|
4905
|
+
/** Gerätezuordnungen und ausdrücklich gespeicherte EMS-Inbetriebnahmen verwenden
|
|
4906
|
+
* denselben Mutationsschutz wie AppCenter. Der Planner verbraucht bestätigte
|
|
4907
|
+
* Einzelaufträge; Neustarts erteilen keine neue App-/Stellfreigabe. */
|
|
4904
4908
|
async reconcileDeviceEms(devices) {
|
|
4905
4909
|
const assertReady = () => {
|
|
4906
4910
|
if (this._nwShuttingDown || this._bridge.canWrite() !== true) throw new Error('EOS_UI_OWNERSHIP_REQUIRED');
|
|
@@ -4914,7 +4918,8 @@ class NexoWattVis extends HostedAdapter {
|
|
|
4914
4918
|
assertReady();
|
|
4915
4919
|
if (typeof this._bridge.deviceEmsPlan !== 'function') throw new Error('EOS_DEVICE_EMS_UNAVAILABLE');
|
|
4916
4920
|
const effective = this.nwApplyInstallerPatchToRuntimeConfig(this.config || {}, this._nwInstallerConfigPatch || {});
|
|
4917
|
-
const
|
|
4921
|
+
const allowedApps = ['charging', 'storage', 'storagefarm'].filter(id => this._nwLicenseAllowsAppId(id));
|
|
4922
|
+
const plan = await this._bridge.deviceEmsPlan({ config: effective, devices, allowedApps });
|
|
4918
4923
|
assertReady();
|
|
4919
4924
|
if (!plan.changed && !this._nwDeviceEmsApplyPending) return { changed: false, statuses: plan.statuses };
|
|
4920
4925
|
const patch = this.nwDeepMerge(this._nwDeepClone(this._nwInstallerConfigPatch || {}), plan.patch);
|
|
@@ -4922,6 +4927,9 @@ class NexoWattVis extends HostedAdapter {
|
|
|
4922
4927
|
await prepareDynamicGridInstallerPatch(this, patch, plan.patch, currentDynamicGridConfig(this).configVersion);
|
|
4923
4928
|
}
|
|
4924
4929
|
const next = this.nwApplyInstallerPatchToRuntimeConfig(this.config || {}, patch);
|
|
4930
|
+
assertDeviceAppActivations(effective, { emsApps: patch.emsApps }, id => this._nwLicenseAllowsAppId(id));
|
|
4931
|
+
const storageLicense = this._nwValidateStorageFarmLicense(next);
|
|
4932
|
+
if (!storageLicense.ok) throw new Error(String(storageLicense.error || 'EOS_EMS_STORAGE_LICENSE_REQUIRED'));
|
|
4925
4933
|
await this._nwProvisionInstallerObjects(next);
|
|
4926
4934
|
assertReady();
|
|
4927
4935
|
if (plan.changed) {
|
|
@@ -4930,6 +4938,9 @@ class NexoWattVis extends HostedAdapter {
|
|
|
4930
4938
|
this._nwInstallerConfigRawPatch = this._nwDeepClone(patch);
|
|
4931
4939
|
}
|
|
4932
4940
|
this._nwDeviceEmsApplyPending = true;
|
|
4941
|
+
this._nwEmsInitError = 'EOS_EMS_CONFIG_APPLY_PENDING';
|
|
4942
|
+
assertReady();
|
|
4943
|
+
if (this.emsEngine?.stopForReconfigure) await this.emsEngine.stopForReconfigure();
|
|
4933
4944
|
assertReady();
|
|
4934
4945
|
this.config = next;
|
|
4935
4946
|
await this._nwApplyInstallerRuntime(true, 'device-commissioning');
|
|
@@ -4940,6 +4951,51 @@ class NexoWattVis extends HostedAdapter {
|
|
|
4940
4951
|
} finally { this._nwEndInstallerConfigMutation(token); }
|
|
4941
4952
|
}
|
|
4942
4953
|
|
|
4954
|
+
/** Profil-/Protokollwechsel darf eine laufende Regelung nicht unter unveränderten
|
|
4955
|
+
* Geräte-DP-IDs auf andere Register umlenken. Derselbe Save-Token bleibt bis zum
|
|
4956
|
+
* abgeschlossenen Geräte-Commit beim Host; reine Umbenennungen rufen diesen Pfad nicht auf. */
|
|
4957
|
+
async reserveDeviceProfileChange(input) {
|
|
4958
|
+
const codeError = (code) => Object.assign(new Error(code), { code });
|
|
4959
|
+
const assertReady = () => {
|
|
4960
|
+
if (this._nwShuttingDown || this._bridge.canWrite() !== true || !['ready', 'degraded'].includes(this._hostedStartup?.state)) {
|
|
4961
|
+
throw codeError('EOS_DEVICES_PROFILE_CHECK_UNAVAILABLE');
|
|
4962
|
+
}
|
|
4963
|
+
};
|
|
4964
|
+
assertReady();
|
|
4965
|
+
const namespace = typeof input?.namespace === 'string' ? input.namespace : '';
|
|
4966
|
+
const changes = Array.isArray(input?.changes) ? input.changes : null;
|
|
4967
|
+
if (!/^[a-zA-Z0-9_-]+\.\d+$/.test(namespace) || !changes || changes.length < 1 || changes.length > 128) throw codeError('EOS_DEVICES_PROFILE_CHECK_UNAVAILABLE');
|
|
4968
|
+
const prefixes = changes.map(change => {
|
|
4969
|
+
const id = typeof change?.deviceId === 'string' ? change.deviceId : '';
|
|
4970
|
+
if (!id || id.length > 128 || !id.split('.').every(part => /^[a-zA-Z0-9_-]+$/.test(part))) throw codeError('EOS_DEVICES_PROFILE_CHECK_UNAVAILABLE');
|
|
4971
|
+
return `${namespace}.devices.${id}.`;
|
|
4972
|
+
});
|
|
4973
|
+
const token = this._nwBeginInstallerConfigMutation();
|
|
4974
|
+
if (!token) throw codeError('EOS_DEVICE_EMS_BUSY');
|
|
4975
|
+
let retained = false;
|
|
4976
|
+
try {
|
|
4977
|
+
const effective = this.nwApplyInstallerPatchToRuntimeConfig(this.config || {}, this._nwInstallerConfigPatch || {});
|
|
4978
|
+
const refs = activeDeviceProfileReferences(effective);
|
|
4979
|
+
const touches = id => typeof id === 'string' && prefixes.some(prefix => id.startsWith(prefix));
|
|
4980
|
+
if ([...refs.read, ...refs.write].some(touches)) throw codeError('EOS_DEVICES_PROFILE_IN_USE');
|
|
4981
|
+
if (refs.read.length || refs.write.length) {
|
|
4982
|
+
if (typeof this._bridge.resolveDeviceProfileReferences !== 'function') throw codeError('EOS_DEVICES_PROFILE_CHECK_UNAVAILABLE');
|
|
4983
|
+
// A small reference-only projection avoids passing unrelated optional native
|
|
4984
|
+
// fields/secrets into the strict alias resolver.
|
|
4985
|
+
const resolved = await this._bridge.resolveDeviceProfileReferences({ storage: { profileReferences: [
|
|
4986
|
+
...refs.read.map(id => ({ readObjectId: id })), ...refs.write.map(id => ({ writeObjectId: id })),
|
|
4987
|
+
] } });
|
|
4988
|
+
assertReady();
|
|
4989
|
+
if (!resolved || !resolved.readTargets || !resolved.writeTargets || typeof resolved.readTargets !== 'object' || typeof resolved.writeTargets !== 'object') throw codeError('EOS_DEVICES_PROFILE_CHECK_UNAVAILABLE');
|
|
4990
|
+
if ([...Object.values(resolved.readTargets), ...Object.values(resolved.writeTargets)].some(touches)) throw codeError('EOS_DEVICES_PROFILE_IN_USE');
|
|
4991
|
+
}
|
|
4992
|
+
assertReady();
|
|
4993
|
+
retained = true;
|
|
4994
|
+
let released = false;
|
|
4995
|
+
return () => { if (!released) { released = true; this._nwEndInstallerConfigMutation(token); } };
|
|
4996
|
+
} finally { if (!retained) this._nwEndInstallerConfigMutation(token); }
|
|
4997
|
+
}
|
|
4998
|
+
|
|
4943
4999
|
async persistInstallerConfigToState(patchObj) {
|
|
4944
5000
|
// Auch interne Save-/Importpfade dürfen verbindliche Mesh-Grenzen nicht lösen.
|
|
4945
5001
|
const nextRuntime = this.nwApplyInstallerPatchToRuntimeConfig(this.config, patchObj);
|
|
@@ -5797,6 +5853,7 @@ class NexoWattVis extends HostedAdapter {
|
|
|
5797
5853
|
feneconControlMode,
|
|
5798
5854
|
// Messwerte
|
|
5799
5855
|
socId: textFrom('socId', 'socObjectId', 'socDp', 'storageSocId', 'storageSoc'),
|
|
5856
|
+
batteryFlowPowerId: textFrom('batteryFlowPowerId'),
|
|
5800
5857
|
signedPowerId: textFrom('signedPowerId', 'batteryPowerObjectId', 'signedPowerDp', 'powerObjectId', 'powerId', 'batteryPower'),
|
|
5801
5858
|
chargePowerId: textFrom('chargePowerId', 'batteryChargePowerObjectId', 'chargePowerDp', 'chargeDp', 'storageChargePower'),
|
|
5802
5859
|
dischargePowerId: textFrom('dischargePowerId', 'batteryDischargePowerObjectId', 'dischargePowerDp', 'dischargeDp', 'storageDischargePower'),
|
|
@@ -5933,10 +5990,10 @@ class NexoWattVis extends HostedAdapter {
|
|
|
5933
5990
|
const appCenterActive = !!(app && app.installed === true && app.enabled === true);
|
|
5934
5991
|
const legacyActive = cfg.enableStorageFarm === true;
|
|
5935
5992
|
|
|
5936
|
-
// Eine Farm
|
|
5993
|
+
// Eine ausdrücklich aktivierte Farm darf mit einem real konfigurierten Speicher beginnen.
|
|
5937
5994
|
const configuredCount = configuredRows.length;
|
|
5938
5995
|
const enabledByConfig = appRecordPresent ? appCenterActive : legacyActive;
|
|
5939
|
-
const active = !!(enabledByConfig && configuredCount >=
|
|
5996
|
+
const active = !!(enabledByConfig && configuredCount >= 1);
|
|
5940
5997
|
const writableRows = configuredRows.filter((row) => this._nwStorageFarmRowHasWritableDatapoint(row));
|
|
5941
5998
|
const writableCount = writableRows.length;
|
|
5942
5999
|
return {
|
|
@@ -5998,7 +6055,8 @@ class NexoWattVis extends HostedAdapter {
|
|
|
5998
6055
|
const singleAppRecordPresent = !!singleApp;
|
|
5999
6056
|
const singleAppCenterActive = !!(singleApp && singleApp.installed === true && singleApp.enabled === true);
|
|
6000
6057
|
const singleLegacyActive = cfg.enableStorageControl === true;
|
|
6001
|
-
const
|
|
6058
|
+
const deviceAssignmentDisabled = cfg.storage?._eosDevice?.v === 1 && cfg.storage?.enabled === false;
|
|
6059
|
+
const singleAppActive = !deviceAssignmentDisabled && (singleAppRecordPresent ? singleAppCenterActive : singleLegacyActive);
|
|
6002
6060
|
|
|
6003
6061
|
const farm = (typeof this._nwGetStorageFarmRuntimeInfo === 'function')
|
|
6004
6062
|
? this._nwGetStorageFarmRuntimeInfo()
|
|
@@ -6100,6 +6158,12 @@ class NexoWattVis extends HostedAdapter {
|
|
|
6100
6158
|
socDegraded: { type: 'boolean', role: 'indicator', def: false, name: 'SoC Qualität reduziert (Debug)' },
|
|
6101
6159
|
medianSoc: { type: 'number', role: 'value', def: 0, name: 'SoC Median (%) (abgeleitet)' },
|
|
6102
6160
|
totalPowerW: { type: 'number', role: 'value.power', def: 0, name: 'Gesamtleistung Speicherfarm (W, + Entladen / - Laden)' },
|
|
6161
|
+
totalBatteryPowerW: { type: 'number', role: 'value.power', def: 0, name: 'Physischer Batteriefluss ohne durchgeleitete PV (W)' },
|
|
6162
|
+
totalBatteryChargePowerW: { type: 'number', role: 'value.power', def: 0, name: 'Physische Brutto-Ladeleistung aller Farmbatterien (W)' },
|
|
6163
|
+
totalBatteryDischargePowerW: { type: 'number', role: 'value.power', def: 0, name: 'Physische Brutto-Entladeleistung aller Farmbatterien (W)' },
|
|
6164
|
+
displayMeanSoc: { type: 'number', role: 'value', def: 0, unit: '%', name: 'Arithmetischer SoC-Mittelwert frischer Farmproben (siehe Abdeckung)' },
|
|
6165
|
+
totalCapacityKWh: { type: 'number', role: 'value', def: 0, unit: 'kWh', name: 'Vollständige konfigurierte Nennkapazität der Farm' },
|
|
6166
|
+
overviewJson: { type: 'string', role: 'json', def: '{}', name: 'Gemeinsame Farmübersicht mit Frische und Messabdeckung' },
|
|
6103
6167
|
powerSourcesTotal: { type: 'number', role: 'value', def: 0, name: 'Eindeutige Speicher-Leistungsquellen der Farm' },
|
|
6104
6168
|
powerSourcesOnline: { type: 'number', role: 'value', def: 0, name: 'Aktive Speicher-Leistungsquellen der Farm' },
|
|
6105
6169
|
totalChargePowerW: { type: 'number', role: 'value.power', def: 0, name: 'Brutto-Ladeleistung aller Speicher (W) (abgeleitet)' },
|
|
@@ -6131,7 +6195,7 @@ class NexoWattVis extends HostedAdapter {
|
|
|
6131
6195
|
read: true,
|
|
6132
6196
|
write: false,
|
|
6133
6197
|
def: c.def,
|
|
6134
|
-
...(key.endsWith('PowerW') ? { unit: 'W' } : {}),
|
|
6198
|
+
...(key.endsWith('PowerW') ? { unit: 'W' } : (c.unit ? { unit: c.unit } : {})),
|
|
6135
6199
|
},
|
|
6136
6200
|
native: {},
|
|
6137
6201
|
});
|
|
@@ -6389,7 +6453,7 @@ class NexoWattVis extends HostedAdapter {
|
|
|
6389
6453
|
try {
|
|
6390
6454
|
if (val === null || val === undefined) return NaN;
|
|
6391
6455
|
if (typeof val === 'number') return val;
|
|
6392
|
-
if (typeof val === 'boolean') return
|
|
6456
|
+
if (typeof val === 'boolean') return NaN;
|
|
6393
6457
|
if (typeof val === 'string') {
|
|
6394
6458
|
let s = val.trim();
|
|
6395
6459
|
if (!s) return NaN;
|
|
@@ -6488,6 +6552,7 @@ class NexoWattVis extends HostedAdapter {
|
|
|
6488
6552
|
|
|
6489
6553
|
const st = await getState(sid);
|
|
6490
6554
|
if (!st || st.val === undefined || st.val === null) return NaN;
|
|
6555
|
+
if (opts.display === true && ((st.q !== undefined && st.q !== 0) || !Number.isFinite(st.ts) || st.ts > now + 1000)) return NaN;
|
|
6491
6556
|
|
|
6492
6557
|
// IMPORTANT: We intentionally do NOT apply stale filtering here.
|
|
6493
6558
|
// Some devices update SoC or power only sporadically; the UI should still show
|
|
@@ -6503,13 +6568,14 @@ class NexoWattVis extends HostedAdapter {
|
|
|
6503
6568
|
let n = parseNum(st.val);
|
|
6504
6569
|
if (!Number.isFinite(n)) return NaN;
|
|
6505
6570
|
|
|
6506
|
-
if (kind === 'soc') {
|
|
6571
|
+
if (kind === 'soc' || kind === 'soc-display') {
|
|
6507
6572
|
// Accept both percent (0..100) and fraction (0..1) formats.
|
|
6508
6573
|
const unit = await getUnit(sid);
|
|
6509
6574
|
const ul = String(unit || '').toLowerCase();
|
|
6510
6575
|
if (!ul.includes('%')) {
|
|
6511
6576
|
if (n > 0 && n <= 1) n = n * 100;
|
|
6512
6577
|
}
|
|
6578
|
+
if (kind === 'soc-display' && (n < 0 || n > 100)) return NaN;
|
|
6513
6579
|
if (Number.isFinite(n)) {
|
|
6514
6580
|
if (n < 0) n = 0;
|
|
6515
6581
|
if (n > 100) n = 100;
|
|
@@ -6531,6 +6597,7 @@ class NexoWattVis extends HostedAdapter {
|
|
|
6531
6597
|
else if (sl.endsWith('w')) unit = 'W';
|
|
6532
6598
|
}
|
|
6533
6599
|
|
|
6600
|
+
if (opts.display === true && unit && !/^(?:[kmg]?w|(?:kilo|mega|giga)?watts?)$/i.test(String(unit).trim().replace(/\s+/g, ''))) return NaN;
|
|
6534
6601
|
return scalePowerToW(n, unit);
|
|
6535
6602
|
}
|
|
6536
6603
|
|
|
@@ -6539,6 +6606,7 @@ class NexoWattVis extends HostedAdapter {
|
|
|
6539
6606
|
|
|
6540
6607
|
let totalCharge = 0;
|
|
6541
6608
|
let totalDischarge = 0;
|
|
6609
|
+
const batteryFlowSources = new Set();
|
|
6542
6610
|
let totalPvAc = 0;
|
|
6543
6611
|
let totalPvDc = 0;
|
|
6544
6612
|
let totalPvUnknown = 0;
|
|
@@ -6570,6 +6638,8 @@ class NexoWattVis extends HostedAdapter {
|
|
|
6570
6638
|
let socSourcesOnline = 0;
|
|
6571
6639
|
|
|
6572
6640
|
const statusRows = [];
|
|
6641
|
+
const overviewMembers = [];
|
|
6642
|
+
const overviewPvSources = [];
|
|
6573
6643
|
const farmWritableStorageCount = list.filter((row) => this._nwStorageFarmRowHasWritableDatapoint(row)).length;
|
|
6574
6644
|
|
|
6575
6645
|
const maxLicensedStorages = this._nwLicenseMaxStorages();
|
|
@@ -7080,6 +7150,12 @@ class NexoWattVis extends HostedAdapter {
|
|
|
7080
7150
|
status.pvSourceOnline = !!pvFresh;
|
|
7081
7151
|
if (pvAgeMs !== null) status.pvSourceAgeSec = Math.floor(pvAgeMs / 1000);
|
|
7082
7152
|
if (pvFresh && Number.isFinite(pvValue)) status.pvPowerW = pvAbs;
|
|
7153
|
+
const displayPv = !explicitOffline ? await readNumber(pvSourceId, 'power', { allowStale: false, display: true }) : NaN;
|
|
7154
|
+
// Gepunktete Geräte-IDs enden erst vor `.aliases.`, nicht am ersten Punkt.
|
|
7155
|
+
// Unbekannte manuelle Pfade bleiben exakte Quellen statt geratenen Geräteklassen.
|
|
7156
|
+
const aliasDeviceBase = pvSourceId.match(/^(.*\.devices\..+?)\.aliases(?:\.|$)/)?.[1];
|
|
7157
|
+
const overviewPvKey = aliasDeviceBase || pvSourceId;
|
|
7158
|
+
overviewPvSources.push({ key: overviewPvKey, powerW: Number.isFinite(displayPv) ? Math.max(0, Math.abs(displayPv)) : null });
|
|
7083
7159
|
pvSourceRows.push({
|
|
7084
7160
|
id: pvSourceId,
|
|
7085
7161
|
physicalKey,
|
|
@@ -7092,6 +7168,27 @@ class NexoWattVis extends HostedAdapter {
|
|
|
7092
7168
|
});
|
|
7093
7169
|
}
|
|
7094
7170
|
|
|
7171
|
+
// Physischer Batteriefluss ist bei Hybridgeräten nicht die gesamte
|
|
7172
|
+
// ESS-Konverterleistung. Die vorhandenen Regler-Summen bleiben unverändert;
|
|
7173
|
+
// nur Anzeige/History erhalten bei expliziter Zuordnung die Batteriemessung.
|
|
7174
|
+
const batteryFlowId = String(row.batteryFlowPowerId || '').trim();
|
|
7175
|
+
const batteryFlowKey = batteryFlowId ? `power:${batteryFlowId}` : (signedFeedbackUsable ? `power:${signedId}` : powerSourceKey);
|
|
7176
|
+
const duplicateBatteryFlow = !!batteryFlowKey && batteryFlowSources.has(batteryFlowKey);
|
|
7177
|
+
if (batteryFlowKey) batteryFlowSources.add(batteryFlowKey);
|
|
7178
|
+
const overviewSoc = !explicitOffline && socId
|
|
7179
|
+
? await readNumber(socId, 'soc-display', { allowStale: false, display: true }) : NaN;
|
|
7180
|
+
const overviewCapacity = numericMeasurement(row.capacityKWh);
|
|
7181
|
+
const overviewMember = {
|
|
7182
|
+
key: String(batteryFlowKey || row._eosDevice?.baseId || (socId ? `soc:${socId}` : status.dispatchKey)),
|
|
7183
|
+
fresh: isFreshOnline,
|
|
7184
|
+
batteryPowerW: null,
|
|
7185
|
+
socPct: Number.isFinite(overviewSoc) ? overviewSoc : null,
|
|
7186
|
+
capacityKWh: overviewCapacity !== null && overviewCapacity > 0 ? overviewCapacity : null,
|
|
7187
|
+
};
|
|
7188
|
+
overviewMembers.push(overviewMember);
|
|
7189
|
+
status.displaySocPct = overviewMember.socPct;
|
|
7190
|
+
status.capacityKWh = overviewMember.capacityKWh;
|
|
7191
|
+
|
|
7095
7192
|
// Only fresh-online storages contribute live power values to the farm totals.
|
|
7096
7193
|
// Degraded/stale systems stay visible and may remain dispatchable, but they are
|
|
7097
7194
|
// excluded from live power aggregation to avoid reporting cached Istleistung as active power.
|
|
@@ -7159,6 +7256,29 @@ class NexoWattVis extends HostedAdapter {
|
|
|
7159
7256
|
powerSourcesOnline++;
|
|
7160
7257
|
}
|
|
7161
7258
|
|
|
7259
|
+
if (batteryFlowKey) {
|
|
7260
|
+
// Die neue Anzeige akzeptiert keinen halben Split-Messsatz als vollständige
|
|
7261
|
+
// Batteriequelle. Vorhandene Regler-Summen behalten ihre bisherigen Regeln.
|
|
7262
|
+
let physicalPower = NaN;
|
|
7263
|
+
if (batteryFlowId && !isMappedSetpointPowerId(batteryFlowId)) {
|
|
7264
|
+
physicalPower = await readNumber(batteryFlowId, 'power', { allowStale: false, display: true });
|
|
7265
|
+
} else if (!batteryFlowId && signedFeedbackUsable) {
|
|
7266
|
+
const signed = await readNumber(signedId, 'power', { allowStale: false, display: true });
|
|
7267
|
+
physicalPower = invSigned ? -signed : signed;
|
|
7268
|
+
} else if (!batteryFlowId && (chargeFeedbackUsable || dischargeFeedbackUsable)) {
|
|
7269
|
+
const charge = chargeFeedbackUsable ? await readNumber(chgId, 'power', { allowStale: false, display: true }) : 0;
|
|
7270
|
+
const discharge = dischargeFeedbackUsable ? await readNumber(dchgId, 'power', { allowStale: false, display: true }) : 0;
|
|
7271
|
+
if (Number.isFinite(charge) && Number.isFinite(discharge)) physicalPower =
|
|
7272
|
+
Math.max(0, invDchg ? -discharge : discharge) - Math.max(0, invChg ? -charge : charge);
|
|
7273
|
+
}
|
|
7274
|
+
if (Number.isFinite(physicalPower)) {
|
|
7275
|
+
status.batteryFlowPowerW = physicalPower;
|
|
7276
|
+
overviewMember.batteryPowerW = physicalPower;
|
|
7277
|
+
if (duplicateBatteryFlow) status.batteryFlowDuplicate = true;
|
|
7278
|
+
} else {
|
|
7279
|
+
status.batteryFlowMissing = true;
|
|
7280
|
+
}
|
|
7281
|
+
}
|
|
7162
7282
|
statusRows.push(status);
|
|
7163
7283
|
available++;
|
|
7164
7284
|
}
|
|
@@ -7208,6 +7328,9 @@ class NexoWattVis extends HostedAdapter {
|
|
|
7208
7328
|
const capacityWeightedSocState = Math.round(capacityWeightedSoc * 10) / 10;
|
|
7209
7329
|
const capacityWeightedSocOnlineState = Math.round(capacityWeightedSocOnline * 10) / 10;
|
|
7210
7330
|
const totalPowerState = Math.round(totalPower);
|
|
7331
|
+
const farmOverview = buildFarmOverview(overviewMembers, overviewPvSources, now);
|
|
7332
|
+
const farmOverviewJson = JSON.stringify(farmOverview);
|
|
7333
|
+
const totalBatteryPowerState = farmOverview.battery.netW;
|
|
7211
7334
|
const totalChargeState = Math.round(totalCharge);
|
|
7212
7335
|
const totalDischargeState = Math.round(totalDischarge);
|
|
7213
7336
|
const totalPvState = Math.round(totalPv);
|
|
@@ -7225,6 +7348,12 @@ class NexoWattVis extends HostedAdapter {
|
|
|
7225
7348
|
await this.setStateAsync('storageFarm.socSourcesOnline', { val: socSourcesOnline, ack: true });
|
|
7226
7349
|
await this.setStateAsync('storageFarm.socDegraded', { val: !!socDegraded, ack: true });
|
|
7227
7350
|
await this.setStateAsync('storageFarm.totalPowerW', { val: totalPowerState, ack: true });
|
|
7351
|
+
await this.setStateAsync('storageFarm.totalBatteryPowerW', { val: totalBatteryPowerState, ack: true });
|
|
7352
|
+
await this.setStateAsync('storageFarm.totalBatteryChargePowerW', { val: farmOverview.battery.chargeW, ack: true });
|
|
7353
|
+
await this.setStateAsync('storageFarm.totalBatteryDischargePowerW', { val: farmOverview.battery.dischargeW, ack: true });
|
|
7354
|
+
await this.setStateAsync('storageFarm.displayMeanSoc', { val: farmOverview.soc.meanPct, ack: true });
|
|
7355
|
+
await this.setStateAsync('storageFarm.totalCapacityKWh', { val: farmOverview.capacity.totalKWh, ack: true });
|
|
7356
|
+
await this.setStateAsync('storageFarm.overviewJson', { val: farmOverviewJson, ack: true });
|
|
7228
7357
|
await this.setStateAsync('storageFarm.powerSourcesTotal', { val: seenPowerSourceKeys.size, ack: true });
|
|
7229
7358
|
await this.setStateAsync('storageFarm.powerSourcesOnline', { val: powerSourcesOnline, ack: true });
|
|
7230
7359
|
await this.setStateAsync('storageFarm.totalChargePowerW', { val: totalChargeState, ack: true });
|
|
@@ -7259,6 +7388,12 @@ class NexoWattVis extends HostedAdapter {
|
|
|
7259
7388
|
this.updateValue('storageFarm.socSourcesOnline', socSourcesOnline, now);
|
|
7260
7389
|
this.updateValue('storageFarm.socDegraded', !!socDegraded, now);
|
|
7261
7390
|
this.updateValue('storageFarm.totalPowerW', totalPowerState, now);
|
|
7391
|
+
this.updateValue('storageFarm.totalBatteryPowerW', totalBatteryPowerState, now);
|
|
7392
|
+
this.updateValue('storageFarm.totalBatteryChargePowerW', farmOverview.battery.chargeW, now);
|
|
7393
|
+
this.updateValue('storageFarm.totalBatteryDischargePowerW', farmOverview.battery.dischargeW, now);
|
|
7394
|
+
this.updateValue('storageFarm.displayMeanSoc', farmOverview.soc.meanPct, now);
|
|
7395
|
+
this.updateValue('storageFarm.totalCapacityKWh', farmOverview.capacity.totalKWh, now);
|
|
7396
|
+
this.updateValue('storageFarm.overviewJson', farmOverviewJson, now);
|
|
7262
7397
|
this.updateValue('storageFarm.powerSourcesTotal', seenPowerSourceKeys.size, now);
|
|
7263
7398
|
this.updateValue('storageFarm.powerSourcesOnline', powerSourcesOnline, now);
|
|
7264
7399
|
this.updateValue('storageFarm.totalChargePowerW', totalChargeState, now);
|
|
@@ -7283,8 +7418,8 @@ class NexoWattVis extends HostedAdapter {
|
|
|
7283
7418
|
// keinen ausdrücklichen Einzel-Speicher-Override gesetzt hat. So bleibt eine
|
|
7284
7419
|
// Kundenanlage ohne Farm und auch eine bewusst abweichende Messquelle autoritativ.
|
|
7285
7420
|
try {
|
|
7286
|
-
const netCharge =
|
|
7287
|
-
const netDischarge =
|
|
7421
|
+
const netCharge = totalBatteryPowerState === null ? null : totalBatteryPowerState < 0 ? Math.abs(totalBatteryPowerState) : 0;
|
|
7422
|
+
const netDischarge = totalBatteryPowerState === null ? null : totalBatteryPowerState > 0 ? totalBatteryPowerState : 0;
|
|
7288
7423
|
const mapped = (this.config && this.config.datapoints && typeof this.config.datapoints === 'object')
|
|
7289
7424
|
? this.config.datapoints
|
|
7290
7425
|
: {};
|
|
@@ -7298,7 +7433,7 @@ class NexoWattVis extends HostedAdapter {
|
|
|
7298
7433
|
if (!hasPowerOverride) {
|
|
7299
7434
|
this.updateValue('storageChargePower', netCharge, now, { raw: false });
|
|
7300
7435
|
this.updateValue('storageDischargePower', netDischarge, now, { raw: false });
|
|
7301
|
-
this.updateValue('batteryPower',
|
|
7436
|
+
this.updateValue('batteryPower', totalBatteryPowerState, now, { raw: false });
|
|
7302
7437
|
}
|
|
7303
7438
|
|
|
7304
7439
|
// PV bleibt ausschließlich in storageFarm.totalPv*. Die zentrale
|
|
@@ -9223,7 +9358,7 @@ class NexoWattVis extends HostedAdapter {
|
|
|
9223
9358
|
}
|
|
9224
9359
|
|
|
9225
9360
|
_nwIsReadOnlyEvcsMirrorKey(key) {
|
|
9226
|
-
return /^evcs\.\d+\.(powerW|energyTotalKwh|vehicleSoc|status|online|active|vehicleConnected|chargeDemand|heartbeat|phaseFeedback|lock|rfidLast)$/.test(String(key || ''));
|
|
9361
|
+
return /^evcs\.\d+\.(powerW|energyTotalKwh|vehicleSoc|status|online|dataFresh|active|chargingState|vehicleConnected|chargeDemand|heartbeat|phaseFeedback|lock|rfidLast)$/.test(String(key || ''));
|
|
9227
9362
|
}
|
|
9228
9363
|
|
|
9229
9364
|
_nwEvcsMirrorValue(binding, value) {
|
|
@@ -9368,11 +9503,15 @@ class NexoWattVis extends HostedAdapter {
|
|
|
9368
9503
|
_dayBaseDate: { type: 'string', role: 'text', def: '', read: true, write: false },
|
|
9369
9504
|
status: { type: 'string', role: 'state', def: '', read: true, write: false },
|
|
9370
9505
|
online: { type: 'boolean', role: 'indicator.reachable', def: false, read: true, write: false },
|
|
9506
|
+
// Separate OCPP freshness from transport reachability. Every input
|
|
9507
|
+
// mirror needs its own object before subscription or the first read.
|
|
9508
|
+
dataFresh: { type: 'boolean', role: 'indicator', def: false, read: true, write: false },
|
|
9371
9509
|
active: { type: 'boolean', role: 'switch', def: false, read: true, write: false },
|
|
9372
9510
|
// Rohspiegel der optionalen Semantik-/Heartbeat-/Phasen-DPs. Die eigentliche
|
|
9373
9511
|
// Auswertung bleibt im Charging-Management am Original-DP; der Stringspiegel
|
|
9374
9512
|
// dient UI, Diagnose und History ohne verlustbehaftete Typkonvertierung.
|
|
9375
9513
|
vehicleConnected: { type: 'string', role: 'text', def: '', read: true, write: false },
|
|
9514
|
+
chargingState: { type: 'string', role: 'text', def: '', read: true, write: false },
|
|
9376
9515
|
chargeDemand: { type: 'string', role: 'text', def: '', read: true, write: false },
|
|
9377
9516
|
heartbeat: { type: 'string', role: 'text', def: '', read: true, write: false },
|
|
9378
9517
|
phaseFeedback: { type: 'string', role: 'text', def: '', read: true, write: false },
|
|
@@ -11969,9 +12108,12 @@ async onReady() {
|
|
|
11969
12108
|
|
|
11970
12109
|
if (this.emsEngine && !doForce) return;
|
|
11971
12110
|
|
|
11972
|
-
//
|
|
11973
|
-
|
|
11974
|
-
|
|
12111
|
+
// A replacement must never reuse the old registry or overlap an old tick.
|
|
12112
|
+
// Failure keeps the old engine paused and visible for the next apply attempt.
|
|
12113
|
+
if (doForce && this.emsEngine) {
|
|
12114
|
+
if (typeof this.emsEngine.stopForReconfigure === 'function') await this.emsEngine.stopForReconfigure();
|
|
12115
|
+
else if (typeof this.emsEngine.stop === 'function') await this.emsEngine.stop();
|
|
12116
|
+
this.emsEngine = null;
|
|
11975
12117
|
}
|
|
11976
12118
|
|
|
11977
12119
|
// Reset last error
|
|
@@ -12142,6 +12284,9 @@ async onReady() {
|
|
|
12142
12284
|
await primeKey('tarif.statusText');
|
|
12143
12285
|
await primeKey('tarif.netFeeMode');
|
|
12144
12286
|
await primeKey('tariffProvider.currentPriceEurPerKwh');
|
|
12287
|
+
await primeKey('tariffProvider.averagePriceEurPerKwh');
|
|
12288
|
+
await primeKey('tariffProvider.fresh');
|
|
12289
|
+
await primeKey('tariffProvider.statusJson');
|
|
12145
12290
|
await primeKey('chargingManagement.control.tsControlProductiveJson');
|
|
12146
12291
|
await primeKey('chargingManagement.control.tsAllocationShadowJson');
|
|
12147
12292
|
await primeKey('chargingManagement.control.tsAllocationProductivePrepJson');
|
|
@@ -15975,6 +16120,8 @@ app.get('/api/smarthome/type-detect', requireDpDiscovery, async (req, res) => {
|
|
|
15975
16120
|
// Persist an additional uninstall-proof backup into 0_userdata.0 (best-effort)
|
|
15976
16121
|
try { await this.nwWriteUserdataBackup(mergedPatch, 'config-save'); } catch (_e) {}
|
|
15977
16122
|
|
|
16123
|
+
// Pause old writers before exposing the new mappings to runtime consumers.
|
|
16124
|
+
if (restartEms && this.emsEngine?.stopForReconfigure) await this.emsEngine.stopForReconfigure();
|
|
15978
16125
|
// Apply patch to runtime config (App-Center SoT: replace installer-managed sections)
|
|
15979
16126
|
this.config = (this.config && typeof this.config === 'object') ? this.config : {};
|
|
15980
16127
|
this.config = this.nwApplyInstallerPatchToRuntimeConfig(this.config, mergedPatch);
|
|
@@ -16172,6 +16319,8 @@ app.get('/api/smarthome/type-detect', requireDpDiscovery, async (req, res) => {
|
|
|
16172
16319
|
if (await this.persistInstallerConfigToState(finalPatch) === false) throw new Error('Installer-Import konnte nicht gespeichert werden.');
|
|
16173
16320
|
this._nwInstallerConfigPatch = finalPatch;
|
|
16174
16321
|
|
|
16322
|
+
// Pause old writers before exposing the imported mappings.
|
|
16323
|
+
if (restartEms && this.emsEngine?.stopForReconfigure) await this.emsEngine.stopForReconfigure();
|
|
16175
16324
|
// Apply patch as SoT (replace installer-managed sections)
|
|
16176
16325
|
this.config = this.nwApplyInstallerPatchToRuntimeConfig(baseNative, finalPatch);
|
|
16177
16326
|
await this._nwApplyInstallerRuntime(restartEms, 'import');
|
|
@@ -22810,10 +22959,10 @@ app.get('/config', async (req, res) => {
|
|
|
22810
22959
|
: false;
|
|
22811
22960
|
// Stale Runtime-States und Legacy-enableStorageFarm dürfen die Kundenansicht
|
|
22812
22961
|
// nicht öffnen. Sichtbar ist die Farm nur bei AppCenter installed+enabled und
|
|
22813
|
-
// mindestens
|
|
22962
|
+
// mindestens einer echten Speicherzeile; dieselbe Zeilenerkennung nutzt auch
|
|
22814
22963
|
// Aggregation und Scheduler.
|
|
22815
22964
|
const storageFarmConfiguredCount = storageRowsFromConfig.filter(storageFarmRowHasRealDatapoint).length;
|
|
22816
|
-
const storageFarmConfigured = storageFarmConfiguredCount >=
|
|
22965
|
+
const storageFarmConfigured = storageFarmConfiguredCount >= 1;
|
|
22817
22966
|
const storageFarmAvailable = !!(storageFarmAppActive && storageFarmConfigured);
|
|
22818
22967
|
|
|
22819
22968
|
const smartHomeCustomerEnabled = smartHomeEnabled(cfg, this._nwNativeConfigBase);
|
|
@@ -22980,6 +23129,7 @@ app.get('/config', async (req, res) => {
|
|
|
22980
23129
|
const sess = authEnabled ? await resolveAccess(req) : null;
|
|
22981
23130
|
|
|
22982
23131
|
const nwConfigPayload = {
|
|
23132
|
+
tariffDisplay: tariffDisplayConfig(cfg, this.namespace),
|
|
22983
23133
|
locale: this._nwBuildLocaleInfo(),
|
|
22984
23134
|
countryProfile: this._nwBuildCountryProfileInfo(),
|
|
22985
23135
|
units: cfg.units || { power: 'W', energy: 'kWh' },
|
|
@@ -26947,6 +27097,7 @@ return res.json(out);
|
|
|
26947
27097
|
'totalSoc', 'medianSoc', 'totalSocOnline', 'capacityWeightedSoc', 'capacityWeightedSocOnline',
|
|
26948
27098
|
'socSourcesTotal', 'socSourcesOnline', 'socDegraded',
|
|
26949
27099
|
'totalPowerW', 'powerSourcesTotal', 'powerSourcesOnline', 'totalChargePowerW', 'totalDischargePowerW',
|
|
27100
|
+
'totalBatteryPowerW', 'totalBatteryChargePowerW', 'totalBatteryDischargePowerW', 'displayMeanSoc', 'totalCapacityKWh', 'overviewJson',
|
|
26950
27101
|
'totalPvPowerW', 'totalPvAcPowerW', 'totalPvDcPowerW', 'totalPvUnknownPowerW',
|
|
26951
27102
|
'pvSourcesTotal', 'pvSourcesOnline', 'pvSourcesJson',
|
|
26952
27103
|
'storagesOnline', 'storagesDegraded', 'storagesDispatchAvailable',
|
|
@@ -28066,8 +28217,7 @@ return res.json(out);
|
|
|
28066
28217
|
try {
|
|
28067
28218
|
const rec = this.stateCache && this.stateCache[key];
|
|
28068
28219
|
if (!rec) return null;
|
|
28069
|
-
|
|
28070
|
-
return Number.isFinite(n) ? n : null;
|
|
28220
|
+
return numericMeasurement(rec.value);
|
|
28071
28221
|
} catch (_e) {
|
|
28072
28222
|
return null;
|
|
28073
28223
|
}
|
|
@@ -28101,8 +28251,8 @@ return res.json(out);
|
|
|
28101
28251
|
try {
|
|
28102
28252
|
const rec = this.stateCache && this.stateCache[key];
|
|
28103
28253
|
if (!rec) return fallback;
|
|
28104
|
-
const n =
|
|
28105
|
-
if (
|
|
28254
|
+
const n = numericMeasurement(rec.value);
|
|
28255
|
+
if (n === null) return fallback;
|
|
28106
28256
|
const maxAge = Number(maxAgeMs);
|
|
28107
28257
|
if (Number.isFinite(maxAge) && maxAge > 0) {
|
|
28108
28258
|
const age = this._nwGetCacheAgeMs(key, now);
|
|
@@ -28124,8 +28274,8 @@ return res.json(out);
|
|
|
28124
28274
|
try {
|
|
28125
28275
|
const rec = (this._nwRawValueCache && this._nwRawValueCache[key]) || (this.stateCache && this.stateCache[key]);
|
|
28126
28276
|
if (!rec) return fallback;
|
|
28127
|
-
const n =
|
|
28128
|
-
if (
|
|
28277
|
+
const n = numericMeasurement(rec.value);
|
|
28278
|
+
if (n === null) return fallback;
|
|
28129
28279
|
const maxAge = Number(maxAgeMs);
|
|
28130
28280
|
if (Number.isFinite(maxAge) && maxAge > 0) {
|
|
28131
28281
|
const ts = Number(rec.ts);
|
|
@@ -28182,7 +28332,7 @@ return res.json(out);
|
|
|
28182
28332
|
// Runtime-States sind Ergebnisse dieser Konfiguration und dürfen sie nicht
|
|
28183
28333
|
// rückwärts durch einen alten false-/0-Wert überschreiben.
|
|
28184
28334
|
const runtimeInfo = this._nwGetStorageFarmRuntimeInfo();
|
|
28185
|
-
return !!(runtimeInfo.active && Number(runtimeInfo.configuredCount || 0) >=
|
|
28335
|
+
return !!(runtimeInfo.active && Number(runtimeInfo.configuredCount || 0) >= 1);
|
|
28186
28336
|
} catch (_e) {
|
|
28187
28337
|
return false;
|
|
28188
28338
|
}
|
|
@@ -28198,23 +28348,24 @@ return res.json(out);
|
|
|
28198
28348
|
const now = Number.isFinite(Number(opts.now)) ? Number(opts.now) : Date.now();
|
|
28199
28349
|
const active = this._nwStorageFarmIsActiveFromCache();
|
|
28200
28350
|
const read = (key) => {
|
|
28201
|
-
|
|
28202
|
-
return Number.isFinite(Number(value)) ? Number(value) : null;
|
|
28351
|
+
return this._nwGetNumberFromCache(key);
|
|
28203
28352
|
};
|
|
28204
28353
|
|
|
28205
28354
|
const grossChargeW = Math.max(0, Math.abs(read('storageFarm.totalChargePowerW') || 0));
|
|
28206
28355
|
const grossDischargeW = Math.max(0, Math.abs(read('storageFarm.totalDischargePowerW') || 0));
|
|
28207
28356
|
const powerSourcesTotal = Math.max(0, Math.round(read('storageFarm.powerSourcesTotal') || 0));
|
|
28357
|
+
const hasBatteryFlow = Object.prototype.hasOwnProperty.call(this.stateCache || {}, 'storageFarm.totalBatteryPowerW');
|
|
28358
|
+
const batteryFlowState = read('storageFarm.totalBatteryPowerW');
|
|
28208
28359
|
const signedState = read('storageFarm.totalPowerW');
|
|
28209
28360
|
|
|
28210
28361
|
// Nach einem Update kann der neu angelegte totalPowerW-State kurz 0 W enthalten,
|
|
28211
28362
|
// während die bereits vorhandenen Brutto-States noch den echten Farmfluss zeigen.
|
|
28212
28363
|
// Erst nach mindestens einer ausgewerteten Leistungsquelle ist totalPowerW führend.
|
|
28213
|
-
const signedW =
|
|
28214
|
-
|
|
28215
|
-
|
|
28216
|
-
const chargeW = signedW < 0 ? Math.abs(signedW) : 0;
|
|
28217
|
-
const dischargeW = signedW > 0 ? signedW : 0;
|
|
28364
|
+
const signedW = hasBatteryFlow ? batteryFlowState
|
|
28365
|
+
: (signedState !== null && (powerSourcesTotal > 0 || (grossChargeW <= 0 && grossDischargeW <= 0)))
|
|
28366
|
+
? signedState : (grossDischargeW - grossChargeW);
|
|
28367
|
+
const chargeW = signedW === null ? null : signedW < 0 ? Math.abs(signedW) : 0;
|
|
28368
|
+
const dischargeW = signedW === null ? null : signedW > 0 ? signedW : 0;
|
|
28218
28369
|
|
|
28219
28370
|
const pvTotalState = Math.max(0, Math.abs(read('storageFarm.totalPvPowerW') || 0));
|
|
28220
28371
|
let pvAcW = Math.max(0, Math.abs(read('storageFarm.totalPvAcPowerW') || 0));
|
|
@@ -28240,9 +28391,9 @@ return res.json(out);
|
|
|
28240
28391
|
return {
|
|
28241
28392
|
active,
|
|
28242
28393
|
soc: read('storageFarm.totalSoc'),
|
|
28243
|
-
totalPowerW: Math.round(signedW),
|
|
28244
|
-
chargeW: Math.round(chargeW),
|
|
28245
|
-
dischargeW: Math.round(dischargeW),
|
|
28394
|
+
totalPowerW: signedW === null ? null : Math.round(signedW),
|
|
28395
|
+
chargeW: chargeW === null ? null : Math.round(chargeW),
|
|
28396
|
+
dischargeW: dischargeW === null ? null : Math.round(dischargeW),
|
|
28246
28397
|
grossChargeW: Math.round(grossChargeW),
|
|
28247
28398
|
grossDischargeW: Math.round(grossDischargeW),
|
|
28248
28399
|
pvTotalW: Math.round(pvTotalW),
|
|
@@ -28251,7 +28402,7 @@ return res.json(out);
|
|
|
28251
28402
|
pvUnknownW: Math.round(pvUnknownW),
|
|
28252
28403
|
pvSources,
|
|
28253
28404
|
ageMs: {
|
|
28254
|
-
totalPowerW: this._nwGetCacheAgeMs('storageFarm.totalPowerW', now),
|
|
28405
|
+
totalPowerW: this._nwGetCacheAgeMs(hasBatteryFlow ? 'storageFarm.totalBatteryPowerW' : 'storageFarm.totalPowerW', now),
|
|
28255
28406
|
totalSoc: this._nwGetCacheAgeMs('storageFarm.totalSoc', now),
|
|
28256
28407
|
totalPvPowerW: this._nwGetCacheAgeMs('storageFarm.totalPvPowerW', now),
|
|
28257
28408
|
},
|
|
@@ -28525,8 +28676,8 @@ return res.json(out);
|
|
|
28525
28676
|
: null;
|
|
28526
28677
|
const sfEnabled = !!(farmMetrics && farmMetrics.active);
|
|
28527
28678
|
if (farmSelectedForControl) {
|
|
28528
|
-
let signed = farmMetrics ?
|
|
28529
|
-
if (Number.isFinite(signed)) {
|
|
28679
|
+
let signed = farmMetrics ? numericMeasurement(farmMetrics.totalPowerW) : null;
|
|
28680
|
+
if (signed !== null && Number.isFinite(signed)) {
|
|
28530
28681
|
// storageFarm.totalPowerW ist bereits pro Speicher normalisiert und besitzt
|
|
28531
28682
|
// eine feste Konvention (+ Entladen / - Laden). Das globale Einzel-Speicher-
|
|
28532
28683
|
// Anzeige-Invert darf diesen kanonischen Farmwert nicht ein zweites Mal drehen.
|
|
@@ -28968,8 +29119,6 @@ return res.json(out);
|
|
|
28968
29119
|
available: false,
|
|
28969
29120
|
source: 'js-mode',
|
|
28970
29121
|
mode,
|
|
28971
|
-
userMode,
|
|
28972
|
-
userEnabled,
|
|
28973
29122
|
ok: true,
|
|
28974
29123
|
mismatches: [],
|
|
28975
29124
|
runtime: runtimeValues,
|
|
@@ -29014,8 +29163,6 @@ return res.json(out);
|
|
|
29014
29163
|
available: true,
|
|
29015
29164
|
source: mode === 'ts' ? 'ts-mirror-switch-candidate' : 'ts-mirror-shadow',
|
|
29016
29165
|
mode,
|
|
29017
|
-
userMode,
|
|
29018
|
-
userEnabled,
|
|
29019
29166
|
ok: mismatches.length === 0,
|
|
29020
29167
|
mismatches,
|
|
29021
29168
|
runtime: runtimeValues,
|
|
@@ -34018,6 +34165,10 @@ function createHostedRuntime(owner, bridge) {
|
|
|
34018
34165
|
}
|
|
34019
34166
|
await startPromise;
|
|
34020
34167
|
},
|
|
34168
|
+
reserveDeviceProfileChange(input) {
|
|
34169
|
+
if (stopRequested) return Promise.reject(Object.assign(new Error('EOS_DEVICES_PROFILE_CHECK_UNAVAILABLE'), { code: 'EOS_DEVICES_PROFILE_CHECK_UNAVAILABLE' }));
|
|
34170
|
+
return runtime.reserveDeviceProfileChange(input);
|
|
34171
|
+
},
|
|
34021
34172
|
reconcileDeviceEms(devices) {
|
|
34022
34173
|
if (stopRequested) return Promise.reject(new Error('EOS_UI_STOPPING'));
|
|
34023
34174
|
return runtime.reconcileDeviceEms(devices);
|
package/ui/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nexowatt-eos-ui-internal",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.19",
|
|
4
4
|
"description": "Internal UI and EMS module hosted by iobroker.eos-admin; not an ioBroker adapter entry point.",
|
|
5
5
|
"author": "NexoWatt",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -1124,7 +1124,13 @@
|
|
|
1124
1124
|
"lib/installer-lifecycle.js",
|
|
1125
1125
|
"lib/customer-tariff.js",
|
|
1126
1126
|
"www/customer-tariff.js",
|
|
1127
|
-
"www/customer-tariff.css"
|
|
1127
|
+
"www/customer-tariff.css",
|
|
1128
|
+
"www/power-measurements.js",
|
|
1129
|
+
"lib/storage-farm-overview.js",
|
|
1130
|
+
"www/storagefarm-summary.js",
|
|
1131
|
+
"www/storagefarm-summary.css",
|
|
1132
|
+
"www/tariff-display.js",
|
|
1133
|
+
"lib/tariff-price.js"
|
|
1128
1134
|
],
|
|
1129
1135
|
"devDependencies": {
|
|
1130
1136
|
"@iobroker/adapter-dev": "^1.5.0",
|