Zitat von: DS_Starter am 14 Mai 2024, 09:47:41Wenn du dir die V1.20.0 von heute früh updatest, wird beim auch planning state continuing der Einschaltbefehl bei jedem Zykuls wiederholt solange bis "on" bzw. "continued" erkannt wird.
2024.05.14 09:26:24 3: myDbLog - addLog WARNING - Device: 'mdbsSDM630M' -> Reading 'Energy_heating_year_kWh' not found - add it as new reading.
Hinweis:
The AI support is not used.
The Perl module AI::DecisionTree is missing. Please install it with e.g. "sudo apt-get install libai-decisiontree-perl" for AI support.
Zitat von: andies am 14 Mai 2024, 09:18:47Genau diese Registrierung von Fritz.box war der Anlass für die Probleme bei mir
ZitatScheinbar verschluckt das MQTT Device den on Befehl. Machst du hier nach einer Zeitlang nochmal set on? Ich habe bis jetzt immer den planning state continuingWenn du dir die V1.20.0 von heute früh updatest, wird beim auch planning state continuing der Einschaltbefehl bei jedem Zykuls wiederholt solange bis "on" bzw. "continued" erkannt wird.
Zitat von: satprofi am 14 Mai 2024, 09:38:52Ich hatte bei Entladezeit den Fehler, nicht Ladezeit.Die Berechnungen sind sehr ähnlich und basieren auf den gleichen Readings (siehe auch #362). Du übergibst auch nur ein reading, es ist entweder charge (wenn wert positiv) oder discharge (wenn wert negativ); grid-charge gibt es bei dir nicht, da du nicht direkt aus dem Netz lädst (#333).
Zitat von: satprofi am 14 Mai 2024, 09:38:52Habe jetzt deinen Code eingetragen, zumindest Entladezeit dürfte mal passen.Bitte beobachten und bei Entladung gegenprüfen.
Zitat von: yersinia am 14 Mai 2024, 07:44:07Zitat von: satprofi am 13 Mai 2024, 19:38:38Soc 86%Dann lass uns mal nachrechnen:
Power 800W
Errechnet werden 3,5h entladezeit.Zitat von: yersinia am 13 Mai 2024, 11:20:38Für die Berechnung definiert pvvis erst die basis:batmax = 28800
socbasis = batmax ohne calc-bat-remain-soc-not-percent
socbasis = 100 mit calc-bat-remain-soc-not-percent
Die Berechnung erfolgt entsprechend dann
- fürs Entladen: (batmax * ([soc] / socbasis)) / Abs([charge-discharge])
- fürs Laden: (batmax * (1- ([soc] / socbasis))) / Abs([charge-discharge])
socbasis = 100 (da soc in % vorliegt)
charge-discharge = 800 (Wert ist positiv -> Akku wird geladen)
Der Ent-/Ladewert ergibt sich auschargeval = charge + gridCharge - discharge
charge = 800
gridCharge = 0 (gibt es bei dir ja nicht)
discharge = 0 (da Wert positiv und geladen wird, ist discharge = 0)
=> chargeval = 800batremaintime = (batmax * (1- ([soc] / socbasis))) / chargeval
In diesem Fall werden 5,04h Ladezeit berechnet.
batremaintime = (28800 * (1 - (86 / 100)) / 800
batremaintime = (28800 * (1 - 0,86) / 800
batremaintime = (28800 * 0,14) / 800
batremaintime = 4032 / 800
batremaintime = 5,04
Sieht für mich, von der Berechnung her, nicht falsch aus. Dass der so errechnete Wert nur ein (sehr sehr) grober Schätzwert ist sollte klar sein. Wie schon erwähnt, hast du auch
2024.05.14 07:18:36 1: Forecast3 DEBUG> ############### consumerSwitching consumer "01" ###############
2024.05.14 07:18:36 1: Forecast3 DEBUG> consumer "01" - general switching parameters => auto mode: 1, current Consumption: 458 W, nompower: 2000, surplus: 2367 W, planstate: interrupted:, starttime: 14.05.2024 05:38:58
2024.05.14 07:18:36 1: Forecast3 DEBUG> consumer "01" - isInLocktime: 0
2024.05.14 07:18:36 1: Forecast3 DEBUG> consumer "01" - current Context is >switch on< => swoncond: 1, on-command: heater on
2024.05.14 07:18:36 1: Forecast3 DEBUG> consumer "01" - device >WhirlpoolESP< is used as switching device
2024.05.14 07:18:36 3: MQTT2_DEVICE set WhirlpoolESP heater on
2024.05.14 07:18:36 2: Forecast3 - switching Consumer 'WhirlpoolESP' to 'heater on', cause: existing surplus
2024.05.14 07:18:36 1: Forecast3 DEBUG> consumer "01" - current Context is >switch off< => swoffcond: 0, off-command: heater off
2024.05.14 07:18:36 1: Forecast3 DEBUG> consumer "01" - current planning state: continuing
2024.05.14 07:19:41 1: Forecast3 DEBUG> ############### consumerSwitching consumer "01" ###############
2024.05.14 07:19:41 1: Forecast3 DEBUG> consumer "01" - general switching parameters => auto mode: 1, current Consumption: 387 W, nompower: 2000, surplus: 2485 W, planstate: continuing:, starttime: 14.05.2024 05:38:58
2024.05.14 07:19:41 1: Forecast3 DEBUG> consumer "01" - isInLocktime: 0
2024.05.14 07:19:41 1: Forecast3 DEBUG> consumer "01" - current Context is >switch on< => swoncond: 1, on-command: heater on
2024.05.14 07:19:41 1: Forecast3 DEBUG> consumer "01" - device >WhirlpoolESP< is used as switching device
2024.05.14 07:19:41 1: Forecast3 DEBUG> consumer "01" - current Context is >switch off< => swoffcond: 0, off-command: heater off
2024.05.14 07:19:41 1: Forecast3 DEBUG> consumer "01" - current planning state: continuing
2024.05.14 07:20:46 1: Forecast3 DEBUG> ############### consumerSwitching consumer "01" ###############
2024.05.14 07:20:46 1: Forecast3 DEBUG> consumer "01" - general switching parameters => auto mode: 1, current Consumption: 452 W, nompower: 2000, surplus: 2442 W, planstate: continuing:, starttime: 14.05.2024 05:38:58
2024.05.14 07:20:46 1: Forecast3 DEBUG> consumer "01" - isInLocktime: 0
2024.05.14 07:20:46 1: Forecast3 DEBUG> consumer "01" - current Context is >switch on< => swoncond: 1, on-command: heater on
2024.05.14 07:20:46 1: Forecast3 DEBUG> consumer "01" - device >WhirlpoolESP< is used as switching device
2024.05.14 07:20:46 1: Forecast3 DEBUG> consumer "01" - current Context is >switch off< => swoffcond: 0, off-command: heater off
2024.05.14 07:20:46 1: Forecast3 DEBUG> consumer "01" - current planning state: continuing