iobroker.nexowatt-ui 0.8.113 → 0.8.120
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/ems/module-manager.js +20 -8
- package/ems/modules/bhkw-control.js +12 -662
- package/ems/modules/core-limits.js +554 -69
- package/ems/modules/generator-control.js +12 -662
- package/ems/modules/heating-rod-control.js +1 -13
- package/ems/modules/multi-use.js +692 -901
- package/ems/modules/nexologic-budget.js +142 -0
- package/ems/modules/para14a.js +134 -262
- package/ems/modules/peak-shaving.js +343 -111
- package/ems/modules/prime-mover-control.js +638 -0
- package/ems/modules/stage-a-diagnostics.js +58 -6
- package/ems/modules/storage-control.js +289 -165
- package/ems/modules/tarif-vis.js +94 -30
- package/ems/modules/thermal-control.js +1 -15
- package/ems/nexologic-engine.js +119 -79
- package/ems/services/actuator-command-contract.js +19 -1
- package/ems/services/nexologic-output-controller.js +607 -0
- package/ems/services/pv-source-identity.js +106 -0
- package/ems/services/storage-zero-write-policy.js +211 -0
- package/io-package.json +22 -22
- package/lib/ts-mirrors/ems/core-limits/core-budget.js +12 -1
- package/lib/ts-mirrors/ems/core-limits/core-runtime.js +1010 -0
- package/lib/ts-mirrors/ems/para14a/para14a-constraint.js +268 -0
- package/main.js +216 -77
- package/package.json +14 -3
- package/www/ems-apps.html +36 -2
- package/www/ems-apps.js +161 -27
- package/www/logic.js +39 -4
- package/www/manifest.webmanifest +2 -2
- package/www/sw.js +2 -2
package/ems/module-manager.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* AUTO-GENERATED RUNTIME FILE - NICHT MANUELL BEARBEITEN.
|
|
3
3
|
*
|
|
4
4
|
* Quelle: src-ts/runtime-executables/ems/module-manager.ts
|
|
5
|
-
* Quell-Hash: sha256:
|
|
5
|
+
* Quell-Hash: sha256:c519522b2fa6e8d16c8d74c552f413c5dbfcd8426b219444edbf6d8fa68a65fb
|
|
6
6
|
* Erzeugung: npm run sync:ts-runtime-executables
|
|
7
7
|
*
|
|
8
8
|
* Zweck:
|
|
@@ -54,6 +54,7 @@ const { Para14aModule } = require('./modules/para14a');
|
|
|
54
54
|
const { CoreLimitsModule } = require('./modules/core-limits');
|
|
55
55
|
const { ThermalControlModule } = require('./modules/thermal-control');
|
|
56
56
|
const { HeatingRodControlModule } = require('./modules/heating-rod-control');
|
|
57
|
+
const { NexoLogicBudgetModule } = require('./modules/nexologic-budget');
|
|
57
58
|
const { BhkwControlModule } = require('./modules/bhkw-control');
|
|
58
59
|
const { GeneratorControlModule } = require('./modules/generator-control');
|
|
59
60
|
const { ThresholdControlModule } = require('./modules/threshold-control');
|
|
@@ -393,6 +394,15 @@ class ModuleManager {
|
|
|
393
394
|
enabledFn: () => this._licenseAllowsApp('storage'),
|
|
394
395
|
});
|
|
395
396
|
|
|
397
|
+
// MultiUse nutzt ausschließlich den nach EVCS und Speicher verbleibenden
|
|
398
|
+
// zentralen Gesamt-/PV-Grant. Es läuft deshalb vor Thermik und Heizstab;
|
|
399
|
+
// bestätigte MultiUse-Leistung wird im selben Tick zentral reserviert.
|
|
400
|
+
this.modules.push({
|
|
401
|
+
key: 'multiUse',
|
|
402
|
+
instance: new MultiUseModule(this.adapter, this.dp),
|
|
403
|
+
enabledFn: () => this._licenseAllowsApp('multiuse') && !!this.adapter.config.enableMultiUse,
|
|
404
|
+
});
|
|
405
|
+
|
|
396
406
|
// Thermische Steuerung (Wärmepumpe/Klima)
|
|
397
407
|
// Läuft NACH dem Lademanagement, damit PV‑Restbudget (pvCapEffective - EVCS used)
|
|
398
408
|
// innerhalb des gleichen Ticks genutzt werden kann.
|
|
@@ -411,6 +421,15 @@ class ModuleManager {
|
|
|
411
421
|
enabledFn: () => this._licenseAllowsApp('heatingrod') && !!this.adapter.config.enableHeatingRodControl,
|
|
412
422
|
});
|
|
413
423
|
|
|
424
|
+
// C3.4: Budgetierte NexoLogic-Ausgaenge nutzen ausschließlich den nach
|
|
425
|
+
// EVCS, Speicher, MultiUse, Thermik und Heizstab verbleibenden zentralen
|
|
426
|
+
// Grant. Nicht budgetierte Alt-Ausgaenge bleiben ereignisgetrieben.
|
|
427
|
+
this.modules.push({
|
|
428
|
+
key: 'nexoLogicBudget',
|
|
429
|
+
instance: new NexoLogicBudgetModule(this.adapter, this.dp),
|
|
430
|
+
enabledFn: () => this.adapter?.config?.enableNexoLogic !== false,
|
|
431
|
+
});
|
|
432
|
+
|
|
414
433
|
// BHKW Steuerung (Start/Stop, SoC-geführt)
|
|
415
434
|
this.modules.push({
|
|
416
435
|
key: 'bhkwControl',
|
|
@@ -442,13 +461,6 @@ class ModuleManager {
|
|
|
442
461
|
enabledFn: () => this._licenseAllowsApp('aiAdvisor') && !!(this.adapter.config.enableAiAdvisor || this.adapter.config.enableAiOptimization),
|
|
443
462
|
});
|
|
444
463
|
|
|
445
|
-
// Multi use (future)
|
|
446
|
-
this.modules.push({
|
|
447
|
-
key: 'multiUse',
|
|
448
|
-
instance: new MultiUseModule(this.adapter, this.dp),
|
|
449
|
-
enabledFn: () => this._licenseAllowsApp('multiuse') && !!this.adapter.config.enableMultiUse,
|
|
450
|
-
});
|
|
451
|
-
|
|
452
464
|
// Stufe A ist eine rein lesende Feld-Diagnose. Sie läuft bewusst zuletzt,
|
|
453
465
|
// damit Mapping-, Owner- und Frischezustände aller Module im selben Tick
|
|
454
466
|
// vollständig sichtbar sind, ohne einen Hardware-Sollwert zu verändern.
|