NEWS
E3DC Hauskraftwerk steuern
-
@psrelax sagte in E3DC Hauskraftwerk steuern:
Noch ein Hinweis zu deinen Einstellungen.
Bei deiner Einstellung 2 hast du als Ladeende 50% eingetragen, dieser Wert soll zum Ladeende erreicht werden.
Als Ladeschwelle hast du aber 70% eingetragen, was bedeutet, dass die Batterie bis zu diesem SoC Wert sofort mit der gesamten überschüssigen PV-Leistung geladen wird.Die Einstellung ist generell kein Problem, aber die 50% haben damit keine Wirkung mehr.
-
@arnod
Hast recht. Da war mal 80% drin gestanden. Weiß auch nicht, wie der Wert da rein kommt. Hab ich wohl mal daneben geklickt
Danke für den Hinweis. -
Ich habe parallel zu psrelax auch mal meine Notreserve unterschritten. Sie steht aktuell auf Soll 26%.
Kurz vor Mitternacht habe ist dann auf 22% SOC entladen. Es wurde dann um 1 Uhr (den Zeitpunkt habe ich bei mir eingestellt) die Batterie geladen und auch hier auf einen SOC von 28%, also 2% mehr (als Spitzenwert wird im Home Assistant ganz kurz auch 29% aufgezeichnet, aber das könnte ein Rundungsartefakt sein).
Danach wird dann (siehe Screenshot S10-Portal) auf 26% entladen und gehalten (im CC bzw. HA werden dann 25% angezeigt). -
@bluebean
Danke fürs Testen, aber ich verstehe nicht, warum genau 2% mehr geladen werden.
Der Code ist eigentlich einfach aufgebaut, while (!(Batterie_SOC_Proz >= nbr_Notstrom_SOC_Proz)) müsste bei Erreichen vom SOC die Schleife beenden. Es wird zwar nur alle 4 sek. abgefragt, aber ich kann mir nicht vorstellen das in 4 sek, der SOC um 2 % steigt.Ich denke, ich muss es bei mir mal testen, wenn meine Batterie leer ist.
Nachtrag:
Habe es soeben getestet und es funktioniert so wie es soll. Batterie wird auf SOC geladen und dann gehalten. Der Batterie SOC sinkt bei mir nach einer Zeit um 1% und wird aber nicht nachgeladen, sondern gehalten. Was auch so gewollt ist. Jetzt bin ich etwas ratlos, warum es bei euch nicht geht.Kann einer von euch mal diese log Zeilen in der Funktion einfügen und dann testen was bei euch herauskommt:
// Batterie bis auf Notstrom SOC laden async function LadeNotstromSOC(){ const nbr_Notstrom_SOC_Proz = (await getStateAsync(sID_Notstrom_akt)).val // Berechneter Notstrom SOC Batterie_SOC_Proz = (await getStateAsync(sID_Batterie_SOC)).val; // Aktueller Batterie SOC E3DC while (!(Batterie_SOC_Proz >= nbr_Notstrom_SOC_Proz)) { await BatterieLaden(); await new Promise(resolve => setTimeout(resolve, 4000)); // alle 5 Sekunde wiederholen sonst übernimmt E3DC die Regelung Batterie_SOC_Proz = (await getStateAsync(sID_Batterie_SOC)).val; log(`Batterie_SOC_Proz = ${Batterie_SOC_Proz} nbr_Notstrom_SOC_Proz = ${nbr_Notstrom_SOC_Proz}`,'warn') if ((await getStateAsync(sID_Notrom_Status)).val == 4 || (await getStateAsync(sID_Notrom_Status)).val == 1){break;} } log(`Ende der Schleife Batterie_SOC_Proz = ${Batterie_SOC_Proz} nbr_Notstrom_SOC_Proz = ${nbr_Notstrom_SOC_Proz}`,'warn') bLadenAufNotstromSOC=false }
Im LOG sollte dann diese Einträge kommen:
javascript.0 17:06:00.029 warn script.js.Charge-Control.Charge_Control: ##{"from":"Charge-Control", "message":" -==== Batterie wird bis NotstromSOC aus dem Netz geladen ====- "}## javascript.0 17:06:03.095 warn script.js.Charge-Control.Charge_Control: ##{"from":"Charge-Control", "message":" -==== EMS Laden/Entladen der Batterie ist eingeschaltet ====- "}## javascript.0 17:06:04.119 warn script.js.Charge-Control.Charge_Control: Batterie_SOC_Proz = 19 nbr_Notstrom_SOC_Proz = 20 javascript.0 17:06:08.164 warn script.js.Charge-Control.Charge_Control: Batterie_SOC_Proz = 19 nbr_Notstrom_SOC_Proz = 20 javascript.0 17:06:12.210 warn script.js.Charge-Control.Charge_Control: Batterie_SOC_Proz = 19 nbr_Notstrom_SOC_Proz = 20 javascript.0 17:06:16.257 warn script.js.Charge-Control.Charge_Control: Batterie_SOC_Proz = 19 nbr_Notstrom_SOC_Proz = 20 javascript.0 17:06:20.304 warn script.js.Charge-Control.Charge_Control: Batterie_SOC_Proz = 19 nbr_Notstrom_SOC_Proz = 20 javascript.0 17:06:24.434 warn script.js.Charge-Control.Charge_Control: Batterie_SOC_Proz = 19 nbr_Notstrom_SOC_Proz = 20 javascript.0 17:06:28.526 warn script.js.Charge-Control.Charge_Control: Batterie_SOC_Proz = 19 nbr_Notstrom_SOC_Proz = 20 javascript.0 17:06:32.572 warn script.js.Charge-Control.Charge_Control: Batterie_SOC_Proz = 19 nbr_Notstrom_SOC_Proz = 20 javascript.0 17:06:36.619 warn script.js.Charge-Control.Charge_Control: Batterie_SOC_Proz = 19 nbr_Notstrom_SOC_Proz = 20 javascript.0 17:06:40.665 warn script.js.Charge-Control.Charge_Control: Batterie_SOC_Proz = 19 nbr_Notstrom_SOC_Proz = 20 javascript.0 17:06:44.713 warn script.js.Charge-Control.Charge_Control: Batterie_SOC_Proz = 19 nbr_Notstrom_SOC_Proz = 20 javascript.0 17:06:48.759 warn script.js.Charge-Control.Charge_Control: Batterie_SOC_Proz = 19 nbr_Notstrom_SOC_Proz = 20 javascript.0 17:06:52.809 warn script.js.Charge-Control.Charge_Control: Batterie_SOC_Proz = 20 nbr_Notstrom_SOC_Proz = 20 javascript.0 17:06:52.812 warn script.js.Charge-Control.Charge_Control: Ende der Schleife Batterie_SOC_Proz = 20 nbr_Notstrom_SOC_Proz = 20 javascript.0 17:06:54.096 warn script.js.Charge-Control.Charge_Control: ##{"from":"Charge-Control", "message":" -==== Notstrom Reserve erreicht, Laden/Entladen der Batterie ist ausgeschaltet ====- "}##
-
Ich habs bei mir eingefügt.
Ausgegeben wird allerdings nichts.
-
@arnod said in E3DC Hauskraftwerk steuern:
Im LOG sollte dann diese Einträge kommen:
Strange... - jetzt versteh ich auch nix mehr.
Hab's bei mir gerade durchgespielt. Notstrom-Soll auf 68% gesetzt, angezeigter SOC lag bei 62%.
Und jetzt lief es genau wie Du erwartest (außer, dass seit dem Ladeende nach 15min immer noch 68% angezeigt werden und nicht um 1% reduziert wird):2024-10-30 18:18:27.097 - warn: javascript.0 (207) script.js.common.Charge_Control: ##{"from":"Charge-Control", "message":" -==== Notstrom Reserve erreicht, Laden/Entladen der Batterie ist ausgeschaltet ====- "}## 2024-10-30 18:20:00.099 - warn: javascript.0 (207) script.js.common.Charge_Control: ##{"from":"Charge-Control", "message":" -==== Batterie wird bis NotstromSOC aus dem Netz geladen ====- "}## 2024-10-30 18:20:03.089 - warn: javascript.0 (207) script.js.common.Charge_Control: ##{"from":"Charge-Control", "message":" -==== EMS Laden/Entladen der Batterie ist eingeschaltet ====- "}## 2024-10-30 18:20:04.187 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 63 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:20:08.232 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 63 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:20:12.277 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 63 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:20:16.324 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 64 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:20:20.368 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 64 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:20:24.414 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 64 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:20:28.461 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 64 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:20:32.509 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 64 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:20:36.557 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 64 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:20:40.603 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 64 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:20:44.641 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 64 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:20:48.687 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 64 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:20:52.734 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 64 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:20:56.782 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 64 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:21:00.830 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 64 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:21:04.877 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 64 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:21:08.926 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 64 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:21:12.972 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 64 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:21:17.020 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 64 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:21:21.066 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 64 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:21:25.113 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 64 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:21:29.160 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 64 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:21:33.206 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 64 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:21:37.253 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 64 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:21:41.301 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 64 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:21:45.348 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 64 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:21:49.395 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 64 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:21:53.441 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 64 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:21:57.488 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 64 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:22:01.535 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 64 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:22:05.584 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 64 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:22:09.631 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 64 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:22:13.679 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 64 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:22:17.725 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 64 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:22:21.771 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 64 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:22:25.817 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 65 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:22:29.863 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 65 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:22:33.910 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 65 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:22:37.958 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 65 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:22:42.006 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 65 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:22:46.175 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 65 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:22:50.223 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 65 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:22:54.270 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 65 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:22:58.318 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 65 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:23:02.366 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 65 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:23:06.413 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 65 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:23:10.461 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 65 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:23:14.508 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 65 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:23:18.555 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 65 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:23:22.603 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 65 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:23:26.649 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 65 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:23:30.741 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 65 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:23:34.788 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 65 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:23:38.834 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 65 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:23:42.882 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 65 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:23:46.929 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 65 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:23:50.976 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 65 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:23:55.004 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 65 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:23:59.052 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 65 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:24:03.099 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 65 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:24:07.146 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 65 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:24:11.193 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 65 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:24:15.240 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 65 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:24:19.286 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 65 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:24:23.334 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 65 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:24:27.381 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 65 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:24:31.427 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 65 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:24:35.474 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 65 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:24:39.521 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 65 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:24:43.568 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 66 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:24:47.617 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 66 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:24:51.664 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 66 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:24:55.710 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 66 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:24:59.756 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 66 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:25:03.802 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 66 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:25:07.847 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 66 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:25:11.892 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 66 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:25:15.935 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 66 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:25:19.980 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 66 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:25:24.025 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 66 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:25:28.154 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 66 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:25:32.201 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 66 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:25:36.248 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 66 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:25:40.294 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 66 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:25:44.339 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 66 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:25:48.387 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 66 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:25:52.433 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 66 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:25:56.480 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 66 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:26:00.527 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 66 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:26:04.574 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 66 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:26:08.620 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 66 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:26:12.668 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 66 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:26:16.715 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 66 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:26:20.728 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 66 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:26:24.774 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 66 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:26:28.821 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 66 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:26:32.869 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 66 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:26:36.917 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 66 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:26:40.964 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 66 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:26:45.013 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 66 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:26:49.101 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 67 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:26:53.149 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 67 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:26:57.196 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 67 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:27:01.242 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 67 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:27:05.289 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 67 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:27:09.336 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 67 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:27:13.387 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 67 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:27:17.435 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 67 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:27:21.483 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 67 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:27:25.530 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 67 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:27:29.578 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 67 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:27:33.625 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 67 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:27:37.674 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 67 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:27:41.721 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 67 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:27:45.768 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 67 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:27:49.815 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 67 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:27:53.860 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 67 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:27:57.907 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 67 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:28:01.955 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 67 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:28:06.002 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 67 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:28:10.131 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 67 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:28:14.179 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 67 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:28:18.226 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 67 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:28:22.273 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 67 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:28:26.320 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 67 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:28:30.366 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 67 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:28:34.412 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 67 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:28:38.458 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 67 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:28:42.506 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 67 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:28:46.553 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 67 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:28:50.600 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 67 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:28:54.647 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 67 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:28:58.694 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 67 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:29:02.740 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 67 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:29:06.786 - warn: javascript.0 (207) script.js.common.Charge_Control: Batterie_SOC_Proz = 68 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:29:06.802 - warn: javascript.0 (207) script.js.common.Charge_Control: Ende der Schleife Batterie_SOC_Proz = 68 nbr_Notstrom_SOC_Proz = 68 2024-10-30 18:29:09.098 - warn: javascript.0 (207) script.js.common.Charge_Control: ##{"from":"Charge-Control", "message":" -==== Notstrom Reserve erreicht, Laden/Entladen der Batterie ist ausgeschaltet ====- "}##
-
Obwohl im HA/CC weiterhin konstant 68% angezeigt werden, sehe ich im Portal nach Ende des Ladens (das war 18:30 Uhr) noch einen leichten Anstieg auf 69% um 18:45 Uhr, siehe Screenshot.
-
@bluebean
Ich habe keine Erfahrung mit den Werten im Portal, da diese nur alle 15 min. übertragen werden.
Vermutlich zeigt das Diagramm dort nicht reale Werte, sondern geglättet Kurven. -
@psrelax
Die log Einträge werden nur ausgegeben, wenn die Batterie über die Funktion geladen wird. -
@arnod said in E3DC Hauskraftwerk steuern:
Vermutlich zeigt das Diagramm dort nicht reale Werte, sondern geglättet Kurven.
Das scheint mir auch so zu sein bei den "runden" Kurven.
Allerdings verstehe ich nicht, warum in der Nacht zuvor offenbar ja tatsächlich 2% mehr geladen wurde, das hatte ja auch HA so aufgezeichnet.
Ich werde die Log-Zeilen mal im Skript lassen, vllt wiederholt sich das ja nochmal. -
@ArnoD
Anscheinend waren die paar Prozent aus meinem letzten Test zu wenig, so dass es nicht ganz so funktioniert hat.Heute Nacht hat es funktioniert, nachdem ich ein paar Prozent mehr eingestellt hatte.
Auch wenn das Script nur 7% anzeigt, zeigt das E3DC Portal 8-9% an. Sehe ich aber nicht als Fehler. Scheint alles einwandfrei zu funktionieren.2024-10-31 02:00:00.079 - [33mwarn[39m: javascript.0 (271) script.js.E3DC_ChargeControl.Charge_Control: ##{"from":"Charge-Control", "message":" -==== Batterie wird bis NotstromSOC aus dem Netz geladen ====- "}## 2024-10-31 02:00:00.074 - [32minfo[39m: e3dc-rscp.0 (926) queueSetValue( e3dc-rscp.0.EMS.POWER_LIMITS_USED, true ) 2024-10-31 02:00:03.044 - [32minfo[39m: javascript.0 (271) script.js.E3DC_ChargeControl.Charge_Control: Verbrauch für night am Donnerstag: 746 Wh 2024-10-31 02:00:03.090 - [32minfo[39m: e3dc-rscp.0 (926) queueSetValue( e3dc-rscp.0.EMS.POWER_LIMITS_USED, true ) 2024-10-31 02:00:03.092 - [32minfo[39m: e3dc-rscp.0 (926) queueSetValue( e3dc-rscp.0.EMS.MAX_DISCHARGE_POWER, 9000 ) 2024-10-31 02:00:03.094 - [32minfo[39m: e3dc-rscp.0 (926) queueSetValue( e3dc-rscp.0.EMS.DISCHARGE_START_POWER, 65 ) 2024-10-31 02:00:03.096 - [32minfo[39m: e3dc-rscp.0 (926) queueSetValue( e3dc-rscp.0.EMS.MAX_CHARGE_POWER, 9000 ) 2024-10-31 02:00:03.096 - [33mwarn[39m: javascript.0 (271) script.js.E3DC_ChargeControl.Charge_Control: ##{"from":"Charge-Control", "message":" -==== EMS Laden/Entladen der Batterie ist eingeschaltet ====- "}## 2024-10-31 02:00:04.166 - [33mwarn[39m: javascript.0 (271) script.js.E3DC_ChargeControl.Charge_Control: Batterie_SOC_Proz = 4 nbr_Notstrom_SOC_Proz = 7
2024-10-31 02:05:18.464 - [33mwarn[39m: javascript.0 (271) script.js.E3DC_ChargeControl.Charge_Control: Ende der Schleife Batterie_SOC_Proz = 7 nbr_Notstrom_SOC_Proz = 7 2024-10-31 02:05:21.044 - [32minfo[39m: javascript.0 (271) script.js.E3DC_ChargeControl.Charge_Control: Verbrauch für night am Donnerstag: 846 Wh 2024-10-31 02:05:21.088 - [32minfo[39m: e3dc-rscp.0 (926) queueSetValue( e3dc-rscp.0.EMS.POWER_LIMITS_USED, true ) 2024-10-31 02:05:21.092 - [32minfo[39m: e3dc-rscp.0 (926) queueSetValue( e3dc-rscp.0.EMS.DISCHARGE_START_POWER, 0 ) 2024-10-31 02:05:21.093 - [32minfo[39m: e3dc-rscp.0 (926) queueSetValue( e3dc-rscp.0.EMS.MAX_DISCHARGE_POWER, 0 ) 2024-10-31 02:05:21.096 - [32minfo[39m: e3dc-rscp.0 (926) queueSetValue( e3dc-rscp.0.EMS.MAX_CHARGE_POWER, 0 )
-
Tibber Skript,
Version: 1.2.0 auf Github hochgeladen.Wer Lust hat, kann diese Version mal testen.
In der View hat sich die Statuszeile geändert, um längere Texte anzeigen zu können.