iobroker.eos-admin 9.0.31 → 9.0.34
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 +10 -11
- package/README.md +7 -7
- package/adminWww/.vite/manifest.json +233 -224
- package/adminWww/NEXOWATT_EOS_FRONTEND_MANIFEST.json +13897 -13887
- package/adminWww/assets/AccessTime-CuR73YC3.js +1 -0
- package/adminWww/assets/{AdapterUpdateDialog-UhaQHyF1.js → AdapterUpdateDialog-5L75o18m.js} +5 -5
- package/adminWww/assets/{Adapters-Di3sM_ky.js → Adapters-FcghjF7E.js} +5 -5
- package/adminWww/assets/ConfigManager-BnHarBfH.js +1 -0
- package/adminWww/assets/Enums-BjLbLLQL.js +92 -0
- package/adminWww/assets/Fields-DDE1hVOa.js +1 -0
- package/adminWww/assets/Files-CDjnR4q6.js +1 -0
- package/adminWww/assets/{Hosts-DXjTE0pX.js → Hosts-CJKQaNrD.js} +6 -6
- package/adminWww/assets/Instances-DZNl369k.js +4 -0
- package/adminWww/assets/Intro-CjAmMGDB.js +2 -0
- package/adminWww/assets/KeyboardArrowRight-ifvmV1ZL.js +1 -0
- package/adminWww/assets/{Logs-DTo6XJF_.js → Logs-rUAV7SwM.js} +2 -2
- package/adminWww/assets/MoreHoriz-CS7nODK8.js +1 -0
- package/adminWww/assets/{Objects-DyEBMDK6.js → Objects-CqOH6rT_.js} +4 -4
- package/adminWww/assets/Overview-BOtXqsMy.js +3 -0
- package/adminWww/assets/Pageview-wzrLQZ-j.js +1 -0
- package/adminWww/assets/PersonOff-YtHcY0sV.js +1 -0
- package/adminWww/assets/Star-D8VNXawT.js +1 -0
- package/adminWww/assets/State-C8ncThop.js +1 -0
- package/adminWww/assets/UsedResources-lUYJqy4F.js +2 -0
- package/adminWww/assets/Users-CK1Cax82.js +1 -0
- package/adminWww/assets/ViewCompact-D7bHgn99.js +1 -0
- package/adminWww/assets/ViewSidebar-CjClbCI5.js +1 -0
- package/adminWww/assets/WifiTethering-DJ9VO12W.js +1 -0
- package/adminWww/assets/{bootstrap-BQ4OzwbT.js → bootstrap-CC0Qr-kr.js} +25 -25
- package/adminWww/assets/date-fns-BtR4dG_j.js +1 -0
- package/adminWww/assets/en-US-BjjaEI6N.js +1 -0
- package/adminWww/assets/{hostInit-CGSSNegd.js → hostInit-DqGL6nY8.js} +1 -1
- package/adminWww/assets/icons-material-07rWS63O.js +1 -0
- package/adminWww/assets/{index-C4CShixx.js → index-BhhkToP2.js} +2 -2
- package/adminWww/assets/{installSVGRenderer-DeaOAT3W.js → installSVGRenderer-B4-7lSQZ.js} +1 -1
- package/adminWww/assets/isSameWeek-WMSJR5Qs.js +1 -0
- package/adminWww/assets/locale-DN6Bdkdt.js +1 -0
- package/adminWww/assets/{mf-entry-bootstrap-0-c5733c2d.js → mf-entry-bootstrap-0-1afd2287.js} +2 -2
- package/adminWww/assets/sentry-CPzCHrwe.js +1 -0
- package/adminWww/assets/setYear-DDSuW45e.js +1 -0
- 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.31.js → remoteEntry-eos-9.0.34.js} +1 -1
- package/adminWww/remoteEntry.js +1 -1
- package/build/lib/eosDeviceEmsPlan.js +285 -9
- package/build/lib/eosDeviceEmsPlan.js.map +1 -1
- package/build/lib/eosDeviceEmsService.js +29 -2
- package/build/lib/eosDeviceEmsService.js.map +1 -1
- package/build/lib/eosUiProcess.js +31 -14
- package/build/lib/eosUiProcess.js.map +1 -1
- package/build/lib/eosUiProcessRpc.js +3 -1
- package/build/lib/eosUiProcessRpc.js.map +1 -1
- package/build/lib/eosUiProcessWorker.js +6 -4
- package/build/lib/eosUiProcessWorker.js.map +1 -1
- package/docs/README.md +3 -2
- package/docs/reports/unified-9.0.32/PRUEFBERICHT.md +34 -0
- package/docs/reports/unified-9.0.32/PRUEFERGEBNISSE.json +112 -0
- package/docs/reports/unified-9.0.32/raw/INDEX.json +102 -0
- package/docs/reports/unified-9.0.32/raw/backend.log +5 -0
- package/docs/reports/unified-9.0.32/raw/browser-cadence-headless.json +63 -0
- package/docs/reports/unified-9.0.32/raw/browser-flow-headless.json +328 -0
- package/docs/reports/unified-9.0.32/raw/focused.log +67 -0
- package/docs/reports/unified-9.0.32/raw/frontend.log +151 -0
- package/docs/reports/unified-9.0.32/raw/installer.log +26 -0
- package/docs/reports/unified-9.0.32/raw/lint.log +5 -0
- package/docs/reports/unified-9.0.32/raw/modules.log +5 -0
- package/docs/reports/unified-9.0.32/raw/node22-tests-final.log +17212 -0
- package/docs/reports/unified-9.0.32/raw/node22-version.log +1 -0
- package/docs/reports/unified-9.0.32/raw/node24-tests-final.log +2869 -0
- package/docs/reports/unified-9.0.32/raw/node24-version.log +1 -0
- package/docs/reports/unified-9.0.32/raw/sbom.log +2 -0
- package/docs/reports/unified-9.0.32/raw/typecheck.log +5 -0
- package/docs/reports/unified-9.0.32/raw/ui-runtime.log +8 -0
- package/docs/reports/unified-9.0.32/raw/version-parity-928-929.log +6 -0
- package/docs/reports/unified-9.0.33/PRUEFBERICHT.md +60 -0
- package/docs/reports/unified-9.0.33/PRUEFERGEBNISSE.json +112 -0
- package/docs/reports/unified-9.0.33/raw/INDEX.json +272 -0
- package/docs/reports/unified-9.0.33/raw/backend.log +5 -0
- package/docs/reports/unified-9.0.33/raw/browser/UI_REVIEW.json +147 -0
- package/docs/reports/unified-9.0.33/raw/browser/admin-bundle.log +136 -0
- package/docs/reports/unified-9.0.33/raw/browser/eos-backup-settings-browser.log +67 -0
- package/docs/reports/unified-9.0.33/raw/browser/eos-customer-tariff-startup-browser.log +43 -0
- package/docs/reports/unified-9.0.33/raw/browser/eos-energyflow-browser-smoke.log +438 -0
- package/docs/reports/unified-9.0.33/raw/browser/eos-energyflow-cadence-browser-10s.log +108 -0
- package/docs/reports/unified-9.0.33/raw/browser/eos-evcs-delete-browser.log +1 -0
- package/docs/reports/unified-9.0.33/raw/browser/eos-history-setup-browser-smoke.log +49 -0
- package/docs/reports/unified-9.0.33/raw/browser/eos-kiosk-browser.log +59 -0
- package/docs/reports/unified-9.0.33/raw/browser/eos-ocpp-admin-browser.log +71 -0
- package/docs/reports/unified-9.0.33/raw/browser/eos-ocpp-installer-discovery-browser.log +11 -0
- package/docs/reports/unified-9.0.33/raw/browser/eos-pwa-trust-browser.log +35 -0
- package/docs/reports/unified-9.0.33/raw/browser/eos-runtime-controls-browser.log +78 -0
- package/docs/reports/unified-9.0.33/raw/browser/eos-runtime-health-browser.log +49 -0
- package/docs/reports/unified-9.0.33/raw/browser/eos-runtime-login-browser.log +34 -0
- package/docs/reports/unified-9.0.33/raw/browser/smarthome.log +46 -0
- package/docs/reports/unified-9.0.33/raw/browser-ten-seconds.json +108 -0
- package/docs/reports/unified-9.0.33/raw/changed-test-coverage.json +116 -0
- package/docs/reports/unified-9.0.33/raw/connected-control-node22.jsonl +42 -0
- package/docs/reports/unified-9.0.33/raw/connected-control-summary-node22.json +103 -0
- package/docs/reports/unified-9.0.33/raw/connected-control-summary.json +103 -0
- package/docs/reports/unified-9.0.33/raw/connected-control.jsonl +42 -0
- package/docs/reports/unified-9.0.33/raw/display-ui-node22.log +162 -0
- package/docs/reports/unified-9.0.33/raw/display-ui.log +35 -0
- package/docs/reports/unified-9.0.33/raw/frontend.log +151 -0
- package/docs/reports/unified-9.0.33/raw/git-delivery-fix.log +10 -0
- package/docs/reports/unified-9.0.33/raw/installer.log +26 -0
- package/docs/reports/unified-9.0.33/raw/license-central-node24.log +173 -0
- package/docs/reports/unified-9.0.33/raw/lint-final.log +45 -0
- package/docs/reports/unified-9.0.33/raw/modules.log +5 -0
- package/docs/reports/unified-9.0.33/raw/node22-npm-version.log +1 -0
- package/docs/reports/unified-9.0.33/raw/node22-tests-final.log +17646 -0
- package/docs/reports/unified-9.0.33/raw/node22-version.log +1 -0
- package/docs/reports/unified-9.0.33/raw/node24-npm-version.log +1 -0
- package/docs/reports/unified-9.0.33/raw/node24-tests-final.log +2941 -0
- package/docs/reports/unified-9.0.33/raw/node24-version.log +1 -0
- package/docs/reports/unified-9.0.33/raw/process-final-node22.log +220 -0
- package/docs/reports/unified-9.0.33/raw/process-final-node24.log +110 -0
- package/docs/reports/unified-9.0.33/raw/ram-picker.jsonl +12 -0
- package/docs/reports/unified-9.0.33/raw/reg-combined-node22.log +622 -0
- package/docs/reports/unified-9.0.33/raw/reg-combined.log +108 -0
- package/docs/reports/unified-9.0.33/raw/sbom-final.log +8 -0
- package/docs/reports/unified-9.0.33/raw/tariff-update-all-final-node22.log +1185 -0
- package/docs/reports/unified-9.0.33/raw/typecheck-final.log +5 -0
- package/docs/reports/unified-9.0.33/raw/ui-functional-node24.log +430 -0
- package/docs/reports/unified-9.0.33/raw/ui-runtime-final-verification.log +1 -0
- package/docs/reports/unified-9.0.33/raw/update-controller-standard-7-2-5.log +4 -0
- package/docs/reports/unified-9.0.33/raw/worker-memory-eos933.log +12 -0
- package/docs/reports/unified-9.0.33/raw/worker-memory-flow932.log +12 -0
- package/docs/reports/unified-9.0.34/PRUEFBERICHT.md +40 -0
- package/docs/reports/unified-9.0.34/PRUEFERGEBNISSE.json +112 -0
- package/docs/reports/unified-9.0.34/raw/INDEX.json +137 -0
- package/docs/reports/unified-9.0.34/raw/backend.log +5 -0
- package/docs/reports/unified-9.0.34/raw/dashboard-interval.json +108 -0
- package/docs/reports/unified-9.0.34/raw/fixtures-verification.log +44 -0
- package/docs/reports/unified-9.0.34/raw/frontend.log +152 -0
- package/docs/reports/unified-9.0.34/raw/installer.log +26 -0
- package/docs/reports/unified-9.0.34/raw/lint.log +45 -0
- package/docs/reports/unified-9.0.34/raw/mira-dashboard-browser.json +1 -0
- package/docs/reports/unified-9.0.34/raw/mira-devices-browser.log +9 -0
- package/docs/reports/unified-9.0.34/raw/mira-memory-process.json +379 -0
- package/docs/reports/unified-9.0.34/raw/modules.log +5 -0
- package/docs/reports/unified-9.0.34/raw/node22-mira.log +216 -0
- package/docs/reports/unified-9.0.34/raw/node22-protocol-to-ems.log +8 -0
- package/docs/reports/unified-9.0.34/raw/node22-tests-final.log +17850 -0
- package/docs/reports/unified-9.0.34/raw/node22-version.log +1 -0
- package/docs/reports/unified-9.0.34/raw/node24-mira.log +40 -0
- package/docs/reports/unified-9.0.34/raw/node24-protocol-to-ems.log +6 -0
- package/docs/reports/unified-9.0.34/raw/node24-tests-final.log +2973 -0
- package/docs/reports/unified-9.0.34/raw/node24-version.log +1 -0
- package/docs/reports/unified-9.0.34/raw/protocol-to-ems.cjs +364 -0
- package/docs/reports/unified-9.0.34/raw/release-metadata.log +13 -0
- package/docs/reports/unified-9.0.34/raw/sbom.log +8 -0
- package/docs/reports/unified-9.0.34/raw/typecheck.log +5 -0
- package/docs/reports/unified-9.0.34/raw/ui-runtime.log +8 -0
- package/docs/start/START_HIER_9.0.32.md +16 -0
- package/docs/start/START_HIER_9.0.33.md +32 -0
- package/docs/start/START_HIER_9.0.34.md +25 -0
- package/io-package.json +16 -16
- package/modules/devices/admin/alias-contract-v1.json +22 -0
- package/modules/devices/admin/ems-assignment.js +6 -1
- package/modules/devices/admin/host-bridge.js +2 -0
- package/modules/devices/admin/index.html +16 -0
- package/modules/devices/admin/index_m.js +168 -9
- package/modules/devices/admin/templates.json +976 -0
- package/modules/devices/checks/emsAssignment.check.js +52 -2
- package/modules/devices/index.js +5 -1
- package/modules/devices/lib/alias-contract-v1.json +22 -0
- package/modules/devices/lib/deviceRuntime.js +17 -7
- package/modules/devices/lib/drivers/modbus.js +1 -1
- package/modules/devices/lib/drivers/modbusRtuBus.js +7 -1
- package/modules/devices/lib/drivers/ovumMira.js +148 -0
- package/modules/devices/lib/ovumMiraAliases.js +61 -0
- package/modules/devices/lib/ovumMiraConnection.js +32 -0
- package/modules/devices/lib/templates.json +976 -0
- package/modules/devices/test/aliasContractV1.test.js +4 -4
- package/modules/devices/test/deviceAliasSemantics.test.js +2 -2
- package/modules/devices/test/fixtures/approved-additive-templates.json +3 -1
- package/modules/devices/test/ovumMiraPairing.test.js +76 -0
- package/modules/devices/test/ovumMiraTemplates.test.js +110 -0
- package/modules/devices/test/ovumMiraTransport.test.js +162 -0
- package/package.json +10 -5
- package/release-manifests/unified/build-environment.cdx.json +7 -7
- package/release-manifests/unified/files.json +302 -180
- package/release-manifests/unified/frontend.cdx.json +7 -7
- package/release-manifests/unified/installer.cdx.json +7 -7
- package/release-manifests/unified/obsolete-admin-assets.json +281 -28
- package/release-manifests/unified/runtime.cdx.json +28 -28
- package/release-manifests/unified/validation.json +15 -15
- package/tools/eos-release-manifest.cjs +2 -2
- package/ui/ems/consumers/ovum-mira.js +164 -0
- package/ui/ems/consumers/sg-ready.js +26 -6
- package/ui/ems/datapoints.js +12 -4
- package/ui/ems/modules/charging-management.js +58 -67
- package/ui/ems/modules/core-limits.js +59 -36
- package/ui/ems/modules/para14a.js +3 -2
- package/ui/ems/modules/prime-mover-control.js +141 -29
- package/ui/ems/modules/stage-a-diagnostics.js +4 -2
- package/ui/ems/modules/storage-control.js +31 -38
- package/ui/ems/modules/storage-mapping.js +14 -13
- package/ui/ems/modules/tarif-vis.js +38 -56
- package/ui/ems/modules/thermal-control.js +91 -10
- package/ui/ems/services/measurement-freshness.js +58 -21
- package/ui/ems/services/safety-envelope.js +13 -6
- package/ui/io-package.json +13 -1
- package/ui/lib/datapoint-picker.js +27 -20
- package/ui/lib/installer-lifecycle.js +11 -2
- package/ui/lib/tariff-price.js +7 -1
- package/ui/lib/ts-mirrors/ems/core-limits/core-runtime.js +5 -1
- package/ui/main.js +313 -188
- package/ui/package.json +4 -3
- package/ui/www/app.js +238 -100
- package/ui/www/ems-apps.js +30 -10
- package/ui/www/index.html +1 -0
- package/ui/www/licenses/smarthome-markdown-components.json +156 -156
- package/ui/www/live-display.js +38 -4
- package/ui/www/manifest.webmanifest +2 -2
- package/ui/www/power-measurements.js +28 -3
- package/adminWww/assets/AddLink-0L0E-LsA.js +0 -1
- package/adminWww/assets/ColorLens-DA51K29x.js +0 -1
- package/adminWww/assets/ConfigManager-C2naRwDl.js +0 -1
- package/adminWww/assets/Enums-B9ucB-qg.js +0 -92
- package/adminWww/assets/Fields-DN41WFbp.js +0 -1
- package/adminWww/assets/FileCopy-B16lEuur.js +0 -1
- package/adminWww/assets/Files-C3PbbeNR.js +0 -1
- package/adminWww/assets/Instances-PKvEjDNQ.js +0 -4
- package/adminWww/assets/Intro-BnYMjDZr.js +0 -2
- package/adminWww/assets/Lens-9lkeoWGk.js +0 -1
- package/adminWww/assets/LinearScale-Be5h2beh.js +0 -1
- package/adminWww/assets/North-C2whbHM-.js +0 -1
- package/adminWww/assets/Overview-CWLYuqZx.js +0 -3
- package/adminWww/assets/PersonOff-DqBq0Fho.js +0 -1
- package/adminWww/assets/PlaylistAdd-O8k92YBd.js +0 -1
- package/adminWww/assets/State-Ca9_Ke_c.js +0 -1
- package/adminWww/assets/UsedResources-20bsoxmj.js +0 -2
- package/adminWww/assets/Users-yZyZX-18.js +0 -1
- package/adminWww/assets/date-fns-C1dqkno9.js +0 -1
- package/adminWww/assets/icons-material-C3PNaipj.js +0 -1
- package/adminWww/assets/isSameWeek-Crh37s7U.js +0 -1
- package/adminWww/assets/isWithinInterval-Bo1WiDfq.js +0 -1
- package/adminWww/assets/locale-hLcz_Xh2.js +0 -1
- package/adminWww/assets/sentry-DwQQLI7N.js +0 -1
- package/adminWww/assets/startOfWeek-DJph8SIW.js +0 -1
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* AUTO-GENERATED RUNTIME FILE - NICHT MANUELL BEARBEITEN.
|
|
8
8
|
*
|
|
9
9
|
* Quelle: src-ts/runtime-executables/ems/services/safety-envelope.ts
|
|
10
|
-
* Quell-Hash: sha256:
|
|
10
|
+
* Quell-Hash: sha256:ab0f2797afcb7da70ea18c777d1d26bc02ed126c0dc0f8da20e63409afecf021
|
|
11
11
|
* Erzeugung: npm run sync:ts-runtime-executables
|
|
12
12
|
*
|
|
13
13
|
* Zweck:
|
|
@@ -253,10 +253,14 @@ function invalidateSafetyEnvelope(adapter, reason, options = {}) {
|
|
|
253
253
|
adapter._nwSafetyEnvelope = envelope;
|
|
254
254
|
return envelope;
|
|
255
255
|
}
|
|
256
|
-
function phaseAgeMs(dp, key) {
|
|
256
|
+
function phaseAgeMs(dp, key, now) {
|
|
257
257
|
if (!dp)
|
|
258
258
|
return null;
|
|
259
259
|
try {
|
|
260
|
+
if (typeof dp.getVerifiedMeasurementTimestampMs === 'function') {
|
|
261
|
+
const ts = dp.getVerifiedMeasurementTimestampMs(key, now);
|
|
262
|
+
return ts === null ? null : now - ts;
|
|
263
|
+
}
|
|
260
264
|
const age = typeof dp.getMeasurementAgeMs === 'function'
|
|
261
265
|
? dp.getMeasurementAgeMs(key)
|
|
262
266
|
: (typeof dp.getAgeMs === 'function' ? dp.getAgeMs(key) : null);
|
|
@@ -267,7 +271,7 @@ function phaseAgeMs(dp, key) {
|
|
|
267
271
|
return null;
|
|
268
272
|
}
|
|
269
273
|
}
|
|
270
|
-
function readPhase(dp, key, staleMs) {
|
|
274
|
+
function readPhase(dp, key, staleMs, now) {
|
|
271
275
|
if (!dp || typeof dp.getEntry !== 'function' || !dp.getEntry(key)) {
|
|
272
276
|
return { mapped: false, fresh: false, valueA: null, ageMs: null, connected: null, reason: 'not-mapped' };
|
|
273
277
|
}
|
|
@@ -277,7 +281,7 @@ function readPhase(dp, key, staleMs) {
|
|
|
277
281
|
}
|
|
278
282
|
catch (_e) { }
|
|
279
283
|
const valueA = strictFiniteNumber(raw, null);
|
|
280
|
-
const ageMs = phaseAgeMs(dp, key);
|
|
284
|
+
const ageMs = phaseAgeMs(dp, key, now);
|
|
281
285
|
let connected = null;
|
|
282
286
|
try {
|
|
283
287
|
connected = typeof dp.getConnectionStatus === 'function' ? dp.getConnectionStatus(key) : null;
|
|
@@ -371,9 +375,12 @@ function buildSafetyEnvelope({ adapter, dp, coreSnapshot, budgetSnapshot, now =
|
|
|
371
375
|
const headroomA = {};
|
|
372
376
|
let minHeadroomA = null;
|
|
373
377
|
let phaseValid = true;
|
|
378
|
+
let validForMs = Math.min(safetyCfg.staleMs, safetyCfg.envelopeMaxAgeMs);
|
|
374
379
|
if (phaseRequired) {
|
|
375
380
|
for (const key of phaseKeys) {
|
|
376
|
-
const sample = readPhase(dp, key, safetyCfg.staleMs);
|
|
381
|
+
const sample = readPhase(dp, key, safetyCfg.staleMs, now);
|
|
382
|
+
if (sample.fresh && sample.ageMs !== null)
|
|
383
|
+
validForMs = Math.min(validForMs, safetyCfg.staleMs - sample.ageMs);
|
|
377
384
|
const label = key.replace(/^ps\./, '').replace(/A$/i, '').toUpperCase();
|
|
378
385
|
currentsA[label] = sample.valueA;
|
|
379
386
|
// Signed headroom is intentional. If a phase is already above its
|
|
@@ -466,7 +473,7 @@ function buildSafetyEnvelope({ adapter, dp, coreSnapshot, budgetSnapshot, now =
|
|
|
466
473
|
generation: cycle.generation,
|
|
467
474
|
ts: now,
|
|
468
475
|
timestamp: now,
|
|
469
|
-
expiresAt: now +
|
|
476
|
+
expiresAt: now + validForMs,
|
|
470
477
|
valid,
|
|
471
478
|
commissioned,
|
|
472
479
|
emergencyStop: forceZero,
|
package/ui/io-package.json
CHANGED
|
@@ -1,8 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "nexowatt-ui",
|
|
4
|
-
"version": "9.0.
|
|
4
|
+
"version": "9.0.34",
|
|
5
5
|
"news": {
|
|
6
|
+
"9.0.34": {
|
|
7
|
+
"de": "OVUM MIRA ab Firmware 1.1.3 über Modbus einrichten, elektrische Wärmepumpenleistung im Energiefluss anzeigen und die PV-Anforderung an den Hydraulikregler übergeben.",
|
|
8
|
+
"en": "Connect OVUM MIRA from firmware 1.1.3 via Modbus, display electrical heat-pump power in the energy flow and send PV requests to the hydraulic controller."
|
|
9
|
+
},
|
|
10
|
+
"9.0.33": {
|
|
11
|
+
"de": "EMS prüft Bestätigung, Qualität und Alter der Netzanschlussmessung vor der Leistungsfreigabe. Verbesserungen an Energiefluss und Regelung bei Mess- und Kommunikationsstörungen.",
|
|
12
|
+
"en": "The EMS checks acknowledgement, quality and age of grid measurements before granting power. Improves energy flow and control when measurements or communications fail."
|
|
13
|
+
},
|
|
14
|
+
"9.0.32": {
|
|
15
|
+
"de": "Gebäudeverbrauch im LIVE-Energiefluss wird aus gültigen Messwerten ermittelt. Die Anzeige unterscheidet unvollständige Messdaten und unplausible Bilanzen.",
|
|
16
|
+
"en": "Calculate live building consumption from valid power measurements. Distinguish incomplete measurements from inconsistent power balances."
|
|
17
|
+
},
|
|
6
18
|
"9.0.31": {
|
|
7
19
|
"de": "Safari erhält das NexoWatt-Symbol für die iPhone-Web-App über einen eigenen PNG-Pfad. Die üblichen Apple-Icon-Adressen liefern dieselbe 180×180-Datei.",
|
|
8
20
|
"en": "Safari receives the NexoWatt Home Screen icon from a dedicated PNG path. Standard Apple icon URLs serve the same 180×180 file."
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* AUTO-GENERATED RUNTIME FILE - NICHT MANUELL BEARBEITEN.
|
|
8
8
|
*
|
|
9
9
|
* Quelle: src-ts/runtime-executables/lib/datapoint-picker.ts
|
|
10
|
-
* Quell-Hash: sha256:
|
|
10
|
+
* Quell-Hash: sha256:2395476303e197eed42fa43f1a8524351343b5cdd576ed1384d388e517360177
|
|
11
11
|
* Erzeugung: npm run sync:ts-runtime-executables
|
|
12
12
|
*
|
|
13
13
|
* Zweck:
|
|
@@ -24,6 +24,22 @@
|
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
25
|
exports.registerDatapointPicker = registerDatapointPicker;
|
|
26
26
|
const ephemeral_cache_1 = require("./ephemeral-cache");
|
|
27
|
+
function buildPickerTree(items) {
|
|
28
|
+
const root = { children: null, item: null };
|
|
29
|
+
for (const item of items) {
|
|
30
|
+
if (!item.id)
|
|
31
|
+
continue;
|
|
32
|
+
let node = root;
|
|
33
|
+
for (const segment of item.id.split('.')) {
|
|
34
|
+
if (!segment)
|
|
35
|
+
continue;
|
|
36
|
+
const children = node.children ?? (node.children = Object.create(null));
|
|
37
|
+
node = children[segment] ?? (children[segment] = { children: null, item: null });
|
|
38
|
+
}
|
|
39
|
+
node.item = item;
|
|
40
|
+
}
|
|
41
|
+
return root;
|
|
42
|
+
}
|
|
27
43
|
const SEARCH_MAX_AGE_MS = 15000;
|
|
28
44
|
const TREE_MAX_AGE_MS = 30000;
|
|
29
45
|
const ALLOWED_TYPES = new Set(['boolean', 'number', 'string']);
|
|
@@ -40,7 +56,6 @@ function csvFilter(value, maxItems, validator) {
|
|
|
40
56
|
function registerDatapointPicker(app, owner, requireDpDiscovery, time) {
|
|
41
57
|
let closed = false;
|
|
42
58
|
const snapshot = new ephemeral_cache_1.ExpiringSnapshot(async () => {
|
|
43
|
-
var _a;
|
|
44
59
|
if (closed)
|
|
45
60
|
throw new Error('EOS_UI_STOPPING');
|
|
46
61
|
const objects = (await owner.getForeignObjectsAsync?.('*', 'state')) || {};
|
|
@@ -66,18 +81,7 @@ function registerDatapointPicker(app, owner, requireDpDiscovery, time) {
|
|
|
66
81
|
});
|
|
67
82
|
}
|
|
68
83
|
items.sort((a, b) => a.idLower.localeCompare(b.idLower));
|
|
69
|
-
|
|
70
|
-
const trie = makeNode();
|
|
71
|
-
for (const item of items) {
|
|
72
|
-
if (!item.id)
|
|
73
|
-
continue;
|
|
74
|
-
let node = trie;
|
|
75
|
-
for (const segment of item.id.split('.').filter(Boolean)) {
|
|
76
|
-
node = (_a = node.children)[segment] ?? (_a[segment] = makeNode());
|
|
77
|
-
}
|
|
78
|
-
node.item = item;
|
|
79
|
-
}
|
|
80
|
-
return { items, trie };
|
|
84
|
+
return { items, trie: null };
|
|
81
85
|
}, TREE_MAX_AGE_MS, time);
|
|
82
86
|
app.get('/api/smarthome/dpsearch', requireDpDiscovery, async (req, res) => {
|
|
83
87
|
try {
|
|
@@ -145,23 +149,26 @@ function registerDatapointPicker(app, owner, requireDpDiscovery, time) {
|
|
|
145
149
|
if (typeof owner.getForeignObjectsAsync !== 'function') {
|
|
146
150
|
return void res.status(500).json({ ok: false, error: 'getForeignObjectsAsync not available' });
|
|
147
151
|
}
|
|
148
|
-
const
|
|
152
|
+
const index = await snapshot.get(false, TREE_MAX_AGE_MS);
|
|
149
153
|
const parts = prefix ? prefix.split('.').filter(Boolean) : [];
|
|
150
|
-
let node = trie;
|
|
154
|
+
let node = index.trie ?? (index.trie = buildPickerTree(index.items));
|
|
151
155
|
for (const segment of parts) {
|
|
152
|
-
const child = node.children[segment];
|
|
156
|
+
const child = node.children?.[segment];
|
|
153
157
|
if (!child)
|
|
154
158
|
return void res.json({ ok: true, prefix, children: [] });
|
|
155
159
|
node = child;
|
|
156
160
|
}
|
|
157
|
-
const
|
|
161
|
+
const branches = node.children;
|
|
162
|
+
if (!branches)
|
|
163
|
+
return void res.json({ ok: true, prefix, children: [] });
|
|
164
|
+
const labels = Object.keys(branches).sort((a, b) => a.localeCompare(b));
|
|
158
165
|
const children = labels.map(label => {
|
|
159
|
-
const child =
|
|
166
|
+
const child = branches[label];
|
|
160
167
|
const item = child?.item;
|
|
161
168
|
return {
|
|
162
169
|
id: prefix ? `${prefix}.${label}` : label,
|
|
163
170
|
label,
|
|
164
|
-
hasChildren: !!
|
|
171
|
+
hasChildren: !!child.children,
|
|
165
172
|
isState: !!item,
|
|
166
173
|
name: item ? item.name : '',
|
|
167
174
|
role: item ? item.role : '',
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* AUTO-GENERATED RUNTIME FILE - NICHT MANUELL BEARBEITEN.
|
|
8
8
|
*
|
|
9
9
|
* Quelle: src-ts/runtime-executables/lib/installer-lifecycle.ts
|
|
10
|
-
* Quell-Hash: sha256:
|
|
10
|
+
* Quell-Hash: sha256:b7631ce1e2cbbf152a346196d3f9f5e2a6cadcb731a71b99a1b91b8e9207bac8
|
|
11
11
|
* Erzeugung: npm run sync:ts-runtime-executables
|
|
12
12
|
*
|
|
13
13
|
* Zweck:
|
|
@@ -145,7 +145,7 @@ function activeDeviceProfileReferences(value) {
|
|
|
145
145
|
const singleActive = active('storage', 'enableStorageControl') && !(record(singleStorage._eosDevice).v === 1 && singleStorage.enabled === false);
|
|
146
146
|
const read = new Set();
|
|
147
147
|
const write = new Set();
|
|
148
|
-
const writeKey = /(?:write|^set|^target|^output(?:Object)?Id$|^(?:pv)?feedInLimit|^pvLimit|^runObjectId$|^maxChargeObjectId$|^maxDischargeObjectId$|^phaseSwitchId$|^chargeEnableObjectId$|^dischargeEnableObjectId$|^feneconGridSetpoint|^e3dcSetPower|^enableId$)/i;
|
|
148
|
+
const writeKey = /(?:^mira(?:PvStatus|PowerTarget)Id$|write|^set|^target|^output(?:Object)?Id$|^(?:pv)?feedInLimit|^pvLimit|^runObjectId$|^maxChargeObjectId$|^maxDischargeObjectId$|^phaseSwitchId$|^chargeEnableObjectId$|^dischargeEnableObjectId$|^feneconGridSetpoint|^e3dcSetPower|^enableId$)/i;
|
|
149
149
|
let visited = 0;
|
|
150
150
|
const walk = (item, depth = 0) => {
|
|
151
151
|
if (depth > 12 || ++visited > 20000)
|
|
@@ -203,6 +203,15 @@ function activeDeviceProfileReferences(value) {
|
|
|
203
203
|
// These global measurement keys are real runtime fallbacks for enabled
|
|
204
204
|
// battery/charging controllers, not merely display references in that case.
|
|
205
205
|
const controllerMeasurementKeys = [];
|
|
206
|
+
const thermalDevices = record(config.thermal).devices;
|
|
207
|
+
if (active('thermal', 'enableThermalControl') && Array.isArray(thermalDevices)) {
|
|
208
|
+
for (const item of thermalDevices) {
|
|
209
|
+
const row = record(item);
|
|
210
|
+
if (row.ovumMira === true && row.enabled === true && typeof row.slot === 'number' && Number.isInteger(row.slot) && row.slot >= 1 && row.slot <= 10) {
|
|
211
|
+
controllerMeasurementKeys.push(`consumer${row.slot}Power`);
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
}
|
|
206
215
|
if (singleActive)
|
|
207
216
|
controllerMeasurementKeys.push('batteryPower', 'storageChargePower', 'storageDischargePower', 'storageSoc', 'storageCapacityKwh');
|
|
208
217
|
if (singleActive || active('storagefarm', 'enableStorageFarm') || active('charging', 'enableChargingManagement'))
|
package/ui/lib/tariff-price.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* AUTO-GENERATED RUNTIME FILE - NICHT MANUELL BEARBEITEN.
|
|
8
8
|
*
|
|
9
9
|
* Quelle: src-ts/runtime-executables/lib/tariff-price.ts
|
|
10
|
-
* Quell-Hash: sha256:
|
|
10
|
+
* Quell-Hash: sha256:78d64702103606065c5c63747c842fdb52616cd9fabfdac457d557e57296ce69
|
|
11
11
|
* Erzeugung: npm run sync:ts-runtime-executables
|
|
12
12
|
*
|
|
13
13
|
* Zweck:
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
"use strict";
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
25
|
exports.tariffPriceNumber = tariffPriceNumber;
|
|
26
|
+
exports.verifiedTariffAgeMs = verifiedTariffAgeMs;
|
|
26
27
|
exports.tariffPriceUnit = tariffPriceUnit;
|
|
27
28
|
exports.normalizeTariffPrice = normalizeTariffPrice;
|
|
28
29
|
exports.readTariffPriceState = readTariffPriceState;
|
|
@@ -45,6 +46,11 @@ function tariffPriceNumber(value) {
|
|
|
45
46
|
const parsed = Number(value);
|
|
46
47
|
return Number.isFinite(parsed) ? parsed : null;
|
|
47
48
|
}
|
|
49
|
+
/** Age of a confirmed source sample, independent of connection heartbeats. */
|
|
50
|
+
function verifiedTariffAgeMs(dp, key, now) {
|
|
51
|
+
const stamp = dp?.getVerifiedMeasurementTimestampMs?.(key, now);
|
|
52
|
+
return typeof stamp === 'number' && Number.isFinite(stamp) && stamp > 0 && stamp <= now ? now - stamp : Infinity;
|
|
53
|
+
}
|
|
48
54
|
/** Nur explizite Preis-Einheiten; ohne Vertrag bleibt der bisherige Auto-Pfad. */
|
|
49
55
|
function tariffPriceUnit(value) {
|
|
50
56
|
const unit = typeof value === 'string' ? value.trim().toLowerCase().replace(/\s+/g, '') : '';
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* AUTO-GENERATED FILE - NICHT MANUELL BEARBEITEN.
|
|
10
10
|
*
|
|
11
11
|
* Quelle: src-ts/ems/core-limits/core-runtime.ts
|
|
12
|
-
* Quell-Hash: sha256:
|
|
12
|
+
* Quell-Hash: sha256:e8ca88d15ddd40116d6778bb155fe419c51e755e9eddc6ad1686f51bb1b0977d
|
|
13
13
|
* Erzeugung: npm run sync:ts-ems-mirrors
|
|
14
14
|
*
|
|
15
15
|
* Zweck:
|
|
@@ -157,6 +157,7 @@ function prepareCoreRuntimeSnapshotInput(rawInput = {}) {
|
|
|
157
157
|
importToleranceW: positive(pvRaw.importToleranceW ?? 250),
|
|
158
158
|
},
|
|
159
159
|
storage: {
|
|
160
|
+
flowUsable: storageRaw.flowUsable !== false,
|
|
160
161
|
chargeW: storageChargeW,
|
|
161
162
|
dischargeW: storageDischargeW,
|
|
162
163
|
eligible: storageRaw.eligible !== false,
|
|
@@ -228,6 +229,8 @@ function computeCorePvBudgetFlowRawW(input = {}) {
|
|
|
228
229
|
* produktiven 0.8.118-Runtime, sind hier aber vollständig typisiert und rein.
|
|
229
230
|
*/
|
|
230
231
|
function resolveCorePvBudgetPhysicalCap(input = {}) {
|
|
232
|
+
if (input.storageFlowUsable === false)
|
|
233
|
+
return { capW: 0, source: 'storage-flow-unverified', trusted: false, held: false };
|
|
231
234
|
const measuredW = positive(input.measuredPvW);
|
|
232
235
|
const measuredFresh = bool(input.measuredPvFresh, false);
|
|
233
236
|
const flowW = positive(input.flowRawW);
|
|
@@ -435,6 +438,7 @@ function buildCoreRuntimeBudgetSnapshot(rawInput = {}) {
|
|
|
435
438
|
storageDischargeW,
|
|
436
439
|
}) - positive(pv.unconfirmedProbeW));
|
|
437
440
|
const pvPhysical = resolveCorePvBudgetPhysicalCap({
|
|
441
|
+
storageFlowUsable: storage.flowUsable !== false,
|
|
438
442
|
measuredPvW: pvPowerW,
|
|
439
443
|
measuredPvFresh: pv.measuredFresh,
|
|
440
444
|
flowRawW: pvBudgetFlowRawW,
|