Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loadpoint: add battery boost (experimental) #16599

Merged
merged 25 commits into from
Oct 13, 2024
Merged

Loadpoint: add battery boost (experimental) #16599

merged 25 commits into from
Oct 13, 2024

Conversation

andig
Copy link
Member

@andig andig commented Oct 10, 2024

Refs #12190. Depends on #16274.

If battery boost is enabled, PV modes will try to push the battery into discharging as much as possible. This happens by increasing demand by counting battery charge power as neutral and adding additional vehicle demand on top. Enabling boost will also start charging. Setting is per loadpoint and only available in PV mode.

For time being, API-only:

POST /api/loadpoints/<id>/batteryboost/[0|1]

to enable. Will be disabled when mode is changed.

TODO

  • decide if batteryBuffered should be honored
  • check PV enable timer to start charging

Out of scope

@andig andig added the enhancement New feature or request label Oct 10, 2024
@naltatis
Copy link
Member

Boost flag should be reset on disconnect.

@andig andig added the needs documentation Triggers issue creation in evcc-io/docs label Oct 11, 2024
@VolkerK62
Copy link
Contributor

decide if batteryBuffered should be honored

Yes. I would prefer, if bufferSoc would be respected

decide if (and how) residualPower should be honored

No. I guess, 100W grid consumption is a good choice for that feature.

@andig andig added the experimental Experimental feature label Oct 12, 2024
@andig andig changed the title Loadpoint: add battery boost Loadpoint: add battery boost (experimental) Oct 12, 2024
@naltatis
Copy link
Member

decide if batteryBuffered should be honored

Yes. I would prefer, if bufferSoc would be respected

I wouldn't tie it to bufferSoc. In my use cases I want to activate boost when I want to move energy from battery to the car quickly before I leave during the day. Knowing that the battery will charge back up from solar later. Maybe even discharge to 0% if i know it's a sunny day. This is not the way I use bufferSoc. For me, bufferSoC acts as the home battery soc goal I want to reach at the end of each day.

I'd think we should introduce a dedicated (optional, default 0%) boost-limit which can be configured per loadpoint or set selected when activating boost.

@andig
Copy link
Member Author

andig commented Oct 12, 2024

Leave as-is for testing. Final decision when adding UI.

@naltatis
Copy link
Member

Did a first test with my setup (tesla, go-e, sungrow battery).

  • activating boost leads to use of extra battery power, deactivating returns back to normal operations. so the basics work
  • but the battery power does not increase to the limit thats possible. my sungrow should be able to delivery nearly 10kW and the battery was above 80% (bufferSoc). it stayed in the area of 1-2kW discharge.
  • i tested 1p and 3p. in 1p i reached the current limit but did not get a "phase increase" timer as i would have expected.

Here is log and a screenshot

evcc-20241012-144921-debug.log

Bildschirmfoto 2024-10-12 um 14 46 58

@VolkerK62
Copy link
Contributor

VolkerK62 commented Oct 12, 2024

boost is always 1p-minPower (1380W) independent of active phases?
shouldn´t it be 1380W per phase?

@VolkerK62
Copy link
Contributor

VolkerK62 commented Oct 13, 2024

bzgl. bufferSoc:
Idee war, dass man eine Grenze setzen kann (falls man nicht komplett entladen will) und dann "fire and forget".
Dazu bietet sich aktuell bufferSoc an.
Erweitert etwas den Gestaltungsspielraum.

Es kann natürlich auch ein separates boost limit sein.

I'd think we should introduce a dedicated (optional, default 0%) boost-limit which can be configured per loadpoint or set selected when activating boost.

@andig andig merged commit 16c467a into master Oct 13, 2024
6 checks passed
@andig andig deleted the feat/battery-boost branch October 13, 2024 16:46
@naltatis naltatis mentioned this pull request Oct 13, 2024
5 tasks
@naltatis
Copy link
Member

Gerade mit dem Nightly getestet. Sieht gut aus. Hat schnell die Max-Entladeleistung erreicht und Phasen korrekt gewechselt.

@heatpumper
Copy link

Hallo zusammen,
das Feature gefällt mir sehr gut, vor allem der Button direkt in der UI.
ich hab gerade nochmal mit dem aktuellen Nightly getested. Der LAdevorgang hat sofort begonnen und ist auf 3,5kw hoch gegangen (15.7 A auf einer Phase).
Zwei Dinge sind mir aufgefallen:

  • Er geht nicht über in den Dreihphasigen Modus
  • Er zieht keinen Strom aus dem Netz

Danach habe ich den Boost deaktiviert und wieder aktiviert.

  • dann sprang er direkt auf 3 Phasig
  • leider war das Auto voll geladen bevor er die Chance hatte, die volle Batterie Leistung aufzunutzen

(Fronius Gen24 Plus, BYD HVS, go-echarger)
evcc-20241018-090855-debug-all.log
evcc-20241018-090827-debug-lp1.log

@andig
Copy link
Member Author

andig commented Oct 18, 2024

Könntest Du mal bitte nur die relevanten Teile exportieren- site und den lp?

@heatpumper
Copy link

Ich komme leider am die Daten nicht mehr ran. Fürs nächste Mal weiß ich das nur die beiden relevant sind.
Nur Der LP (ohne Site) hängt am letzten Post

@andig
Copy link
Member Author

andig commented Oct 18, 2024

Mhhm, das ist tricky:

[lp-1  ] DEBUG 2024/10/18 08:45:53 pv charge battery boost: -11040W = -0W battery - 11040W boost
[lp-1  ] DEBUG 2024/10/18 08:45:53 pv charge current: 50.9A = 0A + 50.9A (-11707W @ 1p)
[lp-1  ] DEBUG 2024/10/18 08:45:53 site power -11707W <= -1299W enable threshold
[lp-1  ] DEBUG 2024/10/18 08:45:53 pv enable in 0s
[lp-1  ] DEBUG 2024/10/18 08:45:53 pv enable timer elapsed
[lp-1  ] DEBUG 2024/10/18 08:45:53 max charge current: 6A
[lp-1  ] DEBUG 2024/10/18 08:45:53 charger enable

Ich denke er schaltet nicht auf 3p weil wir es mit den 230W nicht schaffen, ihn über die 3p Schwelle von 4,2kW zu kicken. Beim zweiten mal klappt das weil er schon lädt und ihm das "enable" nicht den Timer klaut:

[lp-1  ] DEBUG 2024/10/18 08:54:18 pv charge battery boost: -11317W = -277W battery - 11040W boost
[lp-1  ] DEBUG 2024/10/18 08:54:18 available power 12378W > 4140W min 3p threshold
[lp-1  ] DEBUG 2024/10/18 08:54:18 phase scale3p in 0s
[lp-1  ] DEBUG 2024/10/18 08:54:18 switched phases: 3p
[lp-1  ] DEBUG 2024/10/18 08:54:18 phase timer inactive
[lp-1  ] DEBUG 2024/10/18 08:54:18 pv charge current: 18A = 2A + 16A (-11041W @ 3p)

Wir müssen nochmal überlegen, warum ein enable eigentlich nicht die Phasen gleich "richtig" setzt- das wäre ja hier die Lösung.

Ich sehe aus dem Log leider nicht, warum der Einschaltfall diesen Weg nimmt. Eigentlich (tm) sollte er hier auch gleich die Phasen mit setzen.

@heatpumper
Copy link

Wenn es möglich ist die Phasen automatisch richtig zu setzen wäre das super, falls nicht:
Ich vermute die meisten die diese Option nutzen würden haben eher Größere Wechselrichter/Batterien und werden es wohl immer schaffen mindestens dreiphasig zu laden ( sonst lohnt es das kaum). Und vielleicht kann man eine config Option machen die vom Standard 3 Phasen auf 1 Phase für kleine Wechselrichter/ Batterien wechselt.

@andig
Copy link
Member Author

andig commented Oct 18, 2024

Das sollte funktionieren. Würdest Du nochmal einen Test machen wenn ich ein bisschen Logging ergänze?

@heatpumper
Copy link

Klar

andig added a commit that referenced this pull request Oct 18, 2024
@andig
Copy link
Member Author

andig commented Oct 18, 2024

Nightly in 20min- danke! Dann bitte nochmal ab "lädt nicht", nur für den lp reicht.

@heatpumper
Copy link

heatpumper commented Oct 18, 2024

lp1.txt

Das Verhalten war reproduzierbar.
Erst hat er nur 1phasig geladen.
um 18:52 Uhr habe ich den Batterie Boost aus und wieder an gemacht.
dann hat er 3 phasig geladen. EVCC hat deutlich schneller die ideale Ladeleistung gefunden im 3Phasigen Modus als heute morgen.

Ich hab mal einen Vorschlag für die Doku gemacht: Update battery.mdx #643 . Wenn das so passt erstelle ich es auch noch auf Englisch - wenn ich hier mehr Chaos verursache als es hilft lasst es mich wissen.
Ich habe auch ein Screenshot recipie erstellt, aber das war das erste Mal arbeiten mit Playwright und ich konnte es nicht testen, also ist es wahrscheinlich Buggy.

Noch eine Frage:

  • Ab wieviel %SOC hört der Modus auf? Ich hab es in den Go. Dateien nirgendwo gefunden - wo steht das?

@heatpumper
Copy link

Und wenn ich noch einen Vorschlag machen darf: Aus meiner Sicht wäre es Ideal wenn der minimale SOC bis zu dem die Hausbatterie sich entlädt direkt daneben eingestellt werden könnte, beispielsweise so:
Batterieboost

@heatpumper
Copy link

Nachtrag: wenn das Fahrzeug schon lädt, funktioniert es optimal wie gewollt: er geht sofort auf drei Phasen und findet schnell sein Optimum

[lp-1 ] DEBUG 2024/10/19 10:01:27 pv disable timer remaining: 2m30s
[lp-1 ] DEBUG 2024/10/19 10:01:42 charge power: 1326W
[lp-1 ] DEBUG 2024/10/19 10:01:42 charge currents: [5.89 0 0]A
[lp-1 ] DEBUG 2024/10/19 10:01:57 charge power: 1327W
[lp-1 ] DEBUG 2024/10/19 10:01:57 charge currents: [5.89 0 0]A
[lp-1 ] DEBUG 2024/10/19 10:02:12 charge power: 1328W
[lp-1 ] DEBUG 2024/10/19 10:02:12 charge currents: [5.89 0 0]A
[lp-1 ] DEBUG 2024/10/19 10:02:12 detected active phases: 1p
[lp-1 ] DEBUG 2024/10/19 10:02:12 charge total import: 1607.045kWh
[lp-1 ] DEBUG 2024/10/19 10:02:12 charger status: C
[lp-1 ] DEBUG 2024/10/19 10:02:12 soc estimated: 79.31% (vehicle: 79.00%)
[lp-1 ] DEBUG 2024/10/19 10:02:12 vehicle soc: 79%
[lp-1 ] DEBUG 2024/10/19 10:02:12 vehicle soc limit: 100%
[lp-1 ] DEBUG 2024/10/19 10:02:12 vehicle range: 311km
[lp-1 ] DEBUG 2024/10/19 10:02:12 !! pvScalePhases DOWN activePhases: 1, available power: 1088W, scalable: bool
[lp-1 ] DEBUG 2024/10/19 10:02:12 !! pvScalePhases UP maxPhases: 3, available power: 1088W, scalable: bool
[lp-1 ] DEBUG 2024/10/19 10:02:12 !! pvScalePhases EXIT
[lp-1 ] DEBUG 2024/10/19 10:02:12 pv charge current: 4.95A = 6A + -1.05A (240W @ 1p)
[lp-1 ] DEBUG 2024/10/19 10:02:12 projected site power 240W >= 200W disable threshold
[lp-1 ] DEBUG 2024/10/19 10:02:12 pv disable in 1m45s
[lp-1 ] DEBUG 2024/10/19 10:02:12 pv disable timer remaining: 1m45s
[lp-1 ] DEBUG 2024/10/19 10:02:27 charge power: 1328W
[lp-1 ] DEBUG 2024/10/19 10:02:27 charge currents: [5.89 0 0]A
[lp-1 ] DEBUG 2024/10/19 10:02:42 charge power: 1328W
[lp-1 ] DEBUG 2024/10/19 10:02:42 charge currents: [5.89 0 0]A
[lp-1 ] DEBUG 2024/10/19 10:02:57 charge power: 1327W
[lp-1 ] DEBUG 2024/10/19 10:02:57 charge currents: [5.89 0 0]A
[lp-1 ] DEBUG 2024/10/19 10:02:57 detected active phases: 1p
[lp-1 ] DEBUG 2024/10/19 10:02:57 charge total import: 1607.062kWh
[lp-1 ] DEBUG 2024/10/19 10:02:57 charger status: C
[lp-1 ] DEBUG 2024/10/19 10:02:57 soc estimated: 79.33% (vehicle: 79.00%)
[lp-1 ] DEBUG 2024/10/19 10:02:57 vehicle soc: 79%
[lp-1 ] DEBUG 2024/10/19 10:02:57 vehicle soc limit: 100%
[lp-1 ] DEBUG 2024/10/19 10:02:57 vehicle range: 311km
[lp-1 ] DEBUG 2024/10/19 10:02:57 !! pvScalePhases DOWN activePhases: 1, available power: 1216W, scalable: bool
[lp-1 ] DEBUG 2024/10/19 10:02:57 !! pvScalePhases UP maxPhases: 3, available power: 1216W, scalable: bool
[lp-1 ] DEBUG 2024/10/19 10:02:57 !! pvScalePhases EXIT
[lp-1 ] DEBUG 2024/10/19 10:02:57 pv charge current: 5.52A = 6A + -0.482A (111W @ 1p)
[lp-1 ] DEBUG 2024/10/19 10:02:57 pv disable timer reset
[lp-1 ] DEBUG 2024/10/19 10:02:57 pv timer inactive
[lp-1 ] DEBUG 2024/10/19 10:03:12 charge power: 1328W
[lp-1 ] DEBUG 2024/10/19 10:03:12 charge currents: [5.89 0 0]A
[lp-1 ] DEBUG 2024/10/19 10:03:13 set battery boost: true
[lp-1 ] DEBUG 2024/10/19 10:03:13 charge power: 1328W
[lp-1 ] DEBUG 2024/10/19 10:03:13 charge currents: [5.89 0 0]A
[lp-1 ] DEBUG 2024/10/19 10:03:14 detected active phases: 1p
[lp-1 ] DEBUG 2024/10/19 10:03:14 charge total import: 1607.068kWh
[lp-1 ] DEBUG 2024/10/19 10:03:14 charger status: C
[lp-1 ] DEBUG 2024/10/19 10:03:14 soc estimated: 79.34% (vehicle: 79.00%)
[lp-1 ] DEBUG 2024/10/19 10:03:14 vehicle soc: 79%
[lp-1 ] DEBUG 2024/10/19 10:03:14 vehicle soc limit: 100%
[lp-1 ] DEBUG 2024/10/19 10:03:14 vehicle range: 311km
[lp-1 ] DEBUG 2024/10/19 10:03:14 pv charge battery boost: -11100W = -60W battery - 11040W boost
[lp-1 ] DEBUG 2024/10/19 10:03:14 !! pvScalePhases DOWN activePhases: 1, available power: 12370W, scalable: bool
[lp-1 ] DEBUG 2024/10/19 10:03:14 !! pvScalePhases UP maxPhases: 3, available power: 12370W, scalable: bool
[lp-1 ] DEBUG 2024/10/19 10:03:14 available power 12370W > 4140W min 3p threshold
[lp-1 ] DEBUG 2024/10/19 10:03:14 phase scale3p in 0s
[lp-1 ] DEBUG 2024/10/19 10:03:14 switched phases: 3p
[lp-1 ] DEBUG 2024/10/19 10:03:14 phase timer inactive
[lp-1 ] DEBUG 2024/10/19 10:03:14 pv charge current: 18A = 2A + 16A (-11043W @ 3p)
[lp-1 ] DEBUG 2024/10/19 10:03:14 pv timer reset
[lp-1 ] DEBUG 2024/10/19 10:03:14 pv timer inactive
[lp-1 ] DEBUG 2024/10/19 10:03:14 max charge current: 16A
[lp-1 ] DEBUG 2024/10/19 10:03:27 charge power: 0W
[lp-1 ] DEBUG 2024/10/19 10:03:27 charge currents: [0 0 0]A
[lp-1 ] DEBUG 2024/10/19 10:03:42 charge power: 10558W
[lp-1 ] DEBUG 2024/10/19 10:03:42 charge currents: [15.4 15.4 15.4]A
[lp-1 ] DEBUG 2024/10/19 10:03:42 charge total import: 1607.093kWh
[lp-1 ] DEBUG 2024/10/19 10:03:42 charger status: C
[lp-1 ] DEBUG 2024/10/19 10:03:42 soc estimated: 79.38% (vehicle: 79.00%)
[lp-1 ] DEBUG 2024/10/19 10:03:42 vehicle soc: 79%
[lp-1 ] DEBUG 2024/10/19 10:03:42 vehicle soc limit: 100%
[lp-1 ] DEBUG 2024/10/19 10:03:42 vehicle range: 311km
[lp-1 ] DEBUG 2024/10/19 10:03:42 pv charge battery boost: -7564W = -6874W battery - 690W boost
[lp-1 ] DEBUG 2024/10/19 10:03:42 pv charge current: 12.1A = 16A + -3.95A (2724W @ 3p)
[lp-1 ] DEBUG 2024/10/19 10:03:42 max charge current: 12A
[lp-1 ] DEBUG 2024/10/19 10:03:57 charge power: 7908W
[lp-1 ] DEBUG 2024/10/19 10:03:57 charge currents: [11.6 11.5 11.6]A
[lp-1 ] DEBUG 2024/10/19 10:04:12 charge power: 7904W
[lp-1 ] DEBUG 2024/10/19 10:04:12 charge currents: [11.6 11.5 11.6]A
[lp-1 ] DEBUG 2024/10/19 10:04:27 charge power: 7921W
[lp-1 ] DEBUG 2024/10/19 10:04:27 charge currents: [11.6 11.5 11.6]A
[lp-1 ] DEBUG 2024/10/19 10:04:27 detected active phases: 3p
[lp-1 ] DEBUG 2024/10/19 10:04:27 charge total import: 1607.192kWh
[lp-1 ] DEBUG 2024/10/19 10:04:27 charger status: C
[lp-1 ] DEBUG 2024/10/19 10:04:27 soc estimated: 79.54% (vehicle: 79.00%)
[lp-1 ] DEBUG 2024/10/19 10:04:27 vehicle soc: 80%
[lp-1 ] DEBUG 2024/10/19 10:04:27 vehicle soc limit: 100%
[lp-1 ] DEBUG 2024/10/19 10:04:27 vehicle range: 311km
[lp-1 ] DEBUG 2024/10/19 10:04:27 pv charge battery boost: -7495W = -6805W battery - 690W boost
[lp-1 ] DEBUG 2024/10/19 10:04:27 !! pvScalePhases DOWN activePhases: 3, available power: 8437W, scalable: bool
[lp-1 ] DEBUG 2024/10/19 10:04:27 !! pvScalePhases UP maxPhases: 3, available power: 8437W, scalable: bool
[lp-1 ] DEBUG 2024/10/19 10:04:27 !! pvScalePhases EXIT
[lp-1 ] DEBUG 2024/10/19 10:04:27 pv charge current: 12.7A = 12A + 0.747A (-515W @ 3p)
[lp-1 ] DEBUG 2024/10/19 10:04:42 charge power: 0W
[lp-1 ] DEBUG 2024/10/19 10:04:42 charge currents: [0 0 0]A
[lp-1 ] DEBUG 2024/10/19 10:04:57 charge power: 0W
[lp-1 ] DEBUG 2024/10/19 10:04:57 charge currents: [0 0 0]A
[lp-1 ] DEBUG 2024/10/19 10:05:12 charge power: 0W
[lp-1 ] DEBUG 2024/10/19 10:05:12 charge currents: [0 0 0]A
[lp-1 ] DEBUG 2024/10/19 10:05:12 charge total import: 1607.201kWh
[lp-1 ] DEBUG 2024/10/19 10:05:12 charger status: B
[lp-1 ] DEBUG 2024/10/19 10:05:12 charge final energy: 2.370kWh
[lp-1 ] INFO 2024/10/19 10:05:12 stop charging <-
[lp-1 ] DEBUG 2024/10/19 10:05:12 wake-up timer: start
[lp-1 ] DEBUG 2024/10/19 10:05:12 charge total import: 1607.201kWh
[lp-1 ] DEBUG 2024/10/19 10:05:12 vehicle status: B
[lp-1 ] DEBUG 2024/10/19 10:05:12 vehicle soc: 80%
[lp-1 ] DEBUG 2024/10/19 10:05:12 vehicle soc limit: 100%
[lp-1 ] DEBUG 2024/10/19 10:05:12 vehicle range: 313km
[lp-1 ] DEBUG 2024/10/19 10:05:12 limitSoc reached: 80.0% > 80%
[lp-1 ] DEBUG 2024/10/19 10:05:12 charger disable
[lp-1 ] DEBUG 2024/10/19 10:05:12 wake-up timer: stop
[lp-1 ] DEBUG 2024/10/19 10:05:27 charge power: 0W
[lp-1 ] DEBUG 2024/10/19 10:05:27 charge currents: [0 0 0]A ```

@andig
Copy link
Member Author

andig commented Oct 19, 2024

Das Verhalten war reproduzierbar.

Leider hab ich im Log was vergessen. Es scheint aber, als würde er nicht nur die Phasen nicht umschalten sondern gar nicht in die Umschaltroutine rein gehen:

// switch phases up/down
var scaledTo int
if lp.hasPhaseSwitching() && lp.phaseSwitchCompleted() {
	scaledTo = lp.pvScalePhases(sitePower, minCurrent, maxCurrent)
}

Das könnte hier passieren wenn innerhalb der letzten 60s schon umgeschaltet wurde. Kannst Du ausschließen, dass das der Fall ist? Dann müsste ich nochmal Logging ergänzen.

@andig
Copy link
Member Author

andig commented Oct 19, 2024

Und wenn ich noch einen Vorschlag machen darf: Aus meiner Sicht wäre es Ideal wenn der minimale SOC bis zu dem die Hausbatterie sich entlädt direkt daneben eingestellt werden könnte, beispielsweise so:

zum jetzigen Zeitpunkt möchten wir nicht noch mehr Settings. Zumindest nicht bis endgültig klar ist wo wir das im UI platzieren wollen.

@VolkerK62
Copy link
Contributor

VolkerK62 commented Oct 19, 2024

Feedback:
Bei mir kommt die Batterie nicht an ihre Grenzen (max 1,2kW)
Es scheint, als würde die Batterie beim Ladestart nicht schnell genug nachregeln und dann kommt schon die Reduzierung der Ladeleistung.

[lp-1  ] DEBUG 2024/10/19 12:43:07 charge power: 3479W
[lp-1  ] DEBUG 2024/10/19 12:43:07 charge currents: [15.3 0 0]A
[site  ] DEBUG 2024/10/19 12:43:08 grid power: 1750W
[site  ] DEBUG 2024/10/19 12:43:08 battery power: 747W
[site  ] DEBUG 2024/10/19 12:43:08 site power: 2598W
[lp-1  ] DEBUG 2024/10/19 12:43:08 pv charge battery boost: -977W = -747W battery - 230W boost
[lp-1  ] DEBUG 2024/10/19 12:43:08 pv charge current: 8.95A = 16A + -7.05A (1621W @ 1p)
[lp-1  ] DEBUG 2024/10/19 12:43:08 max charge current: 8A

Die Wallbox kann nur 1A Schritte.
Durch das Abrunden von pv charge current findet dann auch keine Erhöhung mehr statt.
Außerdem spielt da dann noch residualpower mit rein.
Evtl. sollte man das bei pv charge battery boost rausrechnen.
batboost.log

@andig
Copy link
Member Author

andig commented Oct 19, 2024

Wenn deine Batterie nicht hinterher kommt passt das interval nicht würd ich sagen.

@VolkerK62
Copy link
Contributor

ok. dann probier ich mal mehr als 30s

@heatpumper
Copy link

Das Verhalten war reproduzierbar.

Leider hab ich im Log was vergessen. Es scheint aber, als würde er nicht nur die Phasen nicht umschalten sondern gar nicht in die Umschaltroutine rein gehen:

// switch phases up/down
var scaledTo int
if lp.hasPhaseSwitching() && lp.phaseSwitchCompleted() {
	scaledTo = lp.pvScalePhases(sitePower, minCurrent, maxCurrent)
}

Das könnte hier passieren wenn innerhalb der letzten 60s schon umgeschaltet wurde. Kannst Du ausschließen, dass das der Fall ist? Dann müsste ich nochmal Logging ergänzen.

Ich bin ziemlich sicher, dass er vorher nur von nicht laden zu 1p laden gewechselt hat - es fand kein 1p/3p phasenwechsel statt

@andig
Copy link
Member Author

andig commented Oct 20, 2024

Das ist wirklich komisch denn er muss die Funktion aufrufen, Dein Log zeigt aber nix davon. Habe nochmal Logging ergänzt, Nightly in 20min. Die Ursache sollte sich finden lassen...

@heatpumper
Copy link

heatpumper commented Oct 20, 2024

Jetzt hat alles bestens funktioniert
Auto angesteckt, PV Modus aktiviert, boost aktiviert:
Laden 1p, dann Wechsel auf 3p. Schnell das Optimum gefunden.

logs ```[lp-1 ] DEBUG 2024/10/20 21:10:09 charger status: B [lp-1 ] DEBUG 2024/10/20 21:10:24 charge power: 0W [lp-1 ] DEBUG 2024/10/20 21:10:24 charge currents: [0 0 0]A [lp-1 ] DEBUG 2024/10/20 21:10:32 set charge mode: pv [lp-1 ] DEBUG 2024/10/20 21:10:32 charge power: 0W [lp-1 ] DEBUG 2024/10/20 21:10:32 charge currents: [0 0 0]A [lp-1 ] DEBUG 2024/10/20 21:10:32 charge total import: 1607.201kWh [lp-1 ] DEBUG 2024/10/20 21:10:32 charger status: B [lp-1 ] DEBUG 2024/10/20 21:10:32 !! pvScalePhases DOWN activePhases: 3, available power: -313W, scalable: true [lp-1 ] DEBUG 2024/10/20 21:10:32 available power -313W < 4140W min 3p threshold [lp-1 ] DEBUG 2024/10/20 21:10:32 phase scale1p in 0s [lp-1 ] DEBUG 2024/10/20 21:10:32 switched phases: 1p [lp-1 ] DEBUG 2024/10/20 21:10:32 phase timer inactive [lp-1 ] DEBUG 2024/10/20 21:10:32 pv charge current: 0A = 0A + -1.36A (313W @ 1p) [lp-1 ] DEBUG 2024/10/20 21:10:32 pv enable timer reset [lp-1 ] DEBUG 2024/10/20 21:10:32 pv timer inactive [lp-1 ] DEBUG 2024/10/20 21:10:34 set battery boost: true [lp-1 ] DEBUG 2024/10/20 21:10:34 charge power: 0W [lp-1 ] DEBUG 2024/10/20 21:10:34 charge currents: [0 0 0]A [lp-1 ] DEBUG 2024/10/20 21:10:34 charge total import: 1607.201kWh [lp-1 ] DEBUG 2024/10/20 21:10:34 charger status: B [lp-1 ] DEBUG 2024/10/20 21:10:34 pv charge battery boost: -11352W = -312W battery - 11040W boost [lp-1 ] DEBUG 2024/10/20 21:10:34 !! pvScalePhases phasesSwitched: 2024-10-20 21:10:32.375274404 +0200 CEST m=+9118.843093989, 2.187399122s [lp-1 ] DEBUG 2024/10/20 21:10:34 pv charge current: 48A = 0A + 48A (-11039W @ 1p) [lp-1 ] DEBUG 2024/10/20 21:10:34 site power -11039W <= -1299W enable threshold [lp-1 ] DEBUG 2024/10/20 21:10:34 pv enable in 0s [lp-1 ] DEBUG 2024/10/20 21:10:34 pv enable timer elapsed [lp-1 ] DEBUG 2024/10/20 21:10:34 max charge current: 6A [lp-1 ] DEBUG 2024/10/20 21:10:34 charger enable [lp-1 ] DEBUG 2024/10/20 21:10:34 wake-up timer: start [lp-1 ] DEBUG 2024/10/20 21:10:39 charge power: 0W [lp-1 ] DEBUG 2024/10/20 21:10:39 charge currents: [0 0 0]A [lp-1 ] DEBUG 2024/10/20 21:10:54 charge power: 0W [lp-1 ] DEBUG 2024/10/20 21:10:54 charge currents: [0 0 0]A [lp-1 ] DEBUG 2024/10/20 21:10:54 charge total import: 1607.201kWh [lp-1 ] DEBUG 2024/10/20 21:10:54 charger status: B [lp-1 ] DEBUG 2024/10/20 21:10:54 pv charge battery boost: -11362W = -322W battery - 11040W boost [lp-1 ] DEBUG 2024/10/20 21:10:54 !! pvScalePhases phasesSwitched: 2024-10-20 21:10:32.375274404 +0200 CEST m=+9118.843093989, 22.576769429s [lp-1 ] DEBUG 2024/10/20 21:10:54 pv charge current: 48A = 0A + 48A (-11039W @ 1p) [lp-1 ] DEBUG 2024/10/20 21:10:54 pv timer reset [lp-1 ] DEBUG 2024/10/20 21:10:54 pv timer inactive [lp-1 ] DEBUG 2024/10/20 21:10:55 max charge current: 16A [lp-1 ] DEBUG 2024/10/20 21:11:09 charge power: 3515W [lp-1 ] DEBUG 2024/10/20 21:11:09 charge currents: [15.5 0 0]A [lp-1 ] DEBUG 2024/10/20 21:11:24 charge power: 3511W [lp-1 ] DEBUG 2024/10/20 21:11:24 charge currents: [15.6 0 0]A [lp-1 ] DEBUG 2024/10/20 21:11:39 charge power: 3511W [lp-1 ] DEBUG 2024/10/20 21:11:39 charge currents: [15.6 0 0]A [lp-1 ] DEBUG 2024/10/20 21:11:39 charge total import: 1607.231kWh [lp-1 ] DEBUG 2024/10/20 21:11:39 charger status: C [lp-1 ] DEBUG 2024/10/20 21:11:39 charge start energy: 1607.231kWh [lp-1 ] INFO 2024/10/20 21:11:39 start charging -> [lp-1 ] DEBUG 2024/10/20 21:11:39 wake-up timer: stop [lp-1 ] DEBUG 2024/10/20 21:11:39 soc estimated: 62.00% (vehicle: 62.00%) [lp-1 ] DEBUG 2024/10/20 21:11:39 vehicle soc: 62% [lp-1 ] DEBUG 2024/10/20 21:11:39 vehicle soc limit: 100% [lp-1 ] DEBUG 2024/10/20 21:11:39 vehicle range: 232km [lp-1 ] DEBUG 2024/10/20 21:11:39 pv charge battery boost: -15014W = -3974W battery - 11040W boost [lp-1 ] DEBUG 2024/10/20 21:11:39 !! pvScalePhases DOWN activePhases: 1, available power: 14538W, scalable: false [lp-1 ] DEBUG 2024/10/20 21:11:39 !! pvScalePhases UP maxPhases: 3, available power: 14538W, scalable: true [lp-1 ] DEBUG 2024/10/20 21:11:39 available power 14538W > 4140W min 3p threshold [lp-1 ] DEBUG 2024/10/20 21:11:39 phase scale3p in 0s [lp-1 ] DEBUG 2024/10/20 21:11:39 switched phases: 3p [lp-1 ] DEBUG 2024/10/20 21:11:39 phase timer inactive [lp-1 ] DEBUG 2024/10/20 21:11:39 pv charge current: 21.3A = 5.33A + 16A (-11027W @ 3p) [lp-1 ] DEBUG 2024/10/20 21:11:39 pv timer reset [lp-1 ] DEBUG 2024/10/20 21:11:39 pv timer inactive [lp-1 ] DEBUG 2024/10/20 21:11:54 charge power: 0W [lp-1 ] DEBUG 2024/10/20 21:11:54 charge currents: [0 0 0]A [lp-1 ] DEBUG 2024/10/20 21:12:09 charge power: 10527W [lp-1 ] DEBUG 2024/10/20 21:12:09 charge currents: [15.4 15.4 15.4]A [lp-1 ] DEBUG 2024/10/20 21:12:24 charge power: 10521W [lp-1 ] DEBUG 2024/10/20 21:12:24 charge currents: [15.4 15.4 15.4]A [lp-1 ] DEBUG 2024/10/20 21:12:24 charge total import: 1607.304kWh [lp-1 ] DEBUG 2024/10/20 21:12:24 charger status: C [lp-1 ] DEBUG 2024/10/20 21:12:24 soc estimated: 62.11% (vehicle: 62.00%) [lp-1 ] DEBUG 2024/10/20 21:12:24 vehicle soc: 62% [lp-1 ] DEBUG 2024/10/20 21:12:24 vehicle soc limit: 100% [lp-1 ] DEBUG 2024/10/20 21:12:24 vehicle range: 232km [lp-1 ] DEBUG 2024/10/20 21:12:24 pv charge battery boost: -7594W = -6904W battery - 690W boost [lp-1 ] DEBUG 2024/10/20 21:12:24 !! pvScalePhases phasesSwitched: 2024-10-20 21:11:39.97928743 +0200 CEST m=+9186.447106923, 44.922472299s [lp-1 ] DEBUG 2024/10/20 21:12:24 pv charge current: 10.9A = 16A + -5.13A (3537W @ 3p) [lp-1 ] DEBUG 2024/10/20 21:12:24 max charge current: 10A [lp-1 ] DEBUG 2024/10/20 21:12:39 charge power: 6512W [lp-1 ] DEBUG 2024/10/20 21:12:39 charge currents: [9.5 9.54 9.58]A [lp-1 ] DEBUG 2024/10/20 21:12:54 charge power: 6492W [lp-1 ] DEBUG 2024/10/20 21:12:54 charge currents: [9.5 9.54 9.58]A [lp-1 ] DEBUG 2024/10/20 21:13:09 charge power: 6477W [lp-1 ] DEBUG 2024/10/20 21:13:09 charge currents: [9.5 9.54 9.54]A [lp-1 ] DEBUG 2024/10/20 21:13:09 detected active phases: 3p [lp-1 ] DEBUG 2024/10/20 21:13:09 charge total import: 1607.389kWh [lp-1 ] DEBUG 2024/10/20 21:13:09 charger status: C [lp-1 ] DEBUG 2024/10/20 21:13:09 soc estimated: 62.25% (vehicle: 62.00%) [lp-1 ] DEBUG 2024/10/20 21:13:09 vehicle soc: 62% [lp-1 ] DEBUG 2024/10/20 21:13:09 vehicle soc limit: 100% [lp-1 ] DEBUG 2024/10/20 21:13:09 vehicle range: 232km [lp-1 ] DEBUG 2024/10/20 21:13:09 pv charge battery boost: -7555W = -6865W battery - 690W boost [lp-1 ] DEBUG 2024/10/20 21:13:09 !! pvScalePhases DOWN activePhases: 3, available power: 7021W, scalable: false [lp-1 ] DEBUG 2024/10/20 21:13:09 !! pvScalePhases UP maxPhases: 3, available power: 7021W, scalable: false [lp-1 ] DEBUG 2024/10/20 21:13:09 !! pvScalePhases EXIT [lp-1 ] DEBUG 2024/10/20 21:13:09 pv charge current: 10.8A = 10A + 0.788A (-544W @ 3p) [lp-1 ] DEBUG 2024/10/20 21:13:24 charge power: 6497W [lp-1 ] DEBUG 2024/10/20 21:13:24 charge currents: [9.54 9.58 9.58]A [lp-1 ] DEBUG 2024/10/20 21:13:39 charge power: 6495W [lp-1 ] DEBUG 2024/10/20 21:13:39 charge currents: [9.54 9.54 9.58]A [lp-1 ] DEBUG 2024/10/20 21:13:54 charge power: 6500W [lp-1 ] DEBUG 2024/10/20 21:13:54 charge currents: [9.5 9.54 9.58]A [lp-1 ] DEBUG 2024/10/20 21:13:54 detected active phases: 3p [lp-1 ] DEBUG 2024/10/20 21:13:54 charge total import: 1607.469kWh [lp-1 ] DEBUG 2024/10/20 21:13:54 charger status: C [lp-1 ] DEBUG 2024/10/20 21:13:54 soc estimated: 62.37% (vehicle: 62.00%) [lp-1 ] DEBUG 2024/10/20 21:13:54 vehicle soc: 62% [lp-1 ] DEBUG 2024/10/20 21:13:54 vehicle soc limit: 100% [lp-1 ] DEBUG 2024/10/20 21:13:54 vehicle range: 232km [lp-1 ] DEBUG 2024/10/20 21:13:54 pv charge battery boost: -7531W = -6841W battery - 690W boost [lp-1 ] DEBUG 2024/10/20 21:13:54 !! pvScalePhases DOWN activePhases: 3, available power: 7026W, scalable: false [lp-1 ] DEBUG 2024/10/20 21:13:54 !! pvScalePhases UP maxPhases: 3, available power: 7026W, scalable: false [lp-1 ] DEBUG 2024/10/20 21:13:54 !! pvScalePhases EXIT [lp-1 ] DEBUG 2024/10/20 21:13:54 pv charge current: 10.8A = 10A + 0.761A (-525W @ 3p) [lp-1 ] DEBUG 2024/10/20 21:14:09 charge power: 6525W [lp-1 ] DEBUG 2024/10/20 21:14:09 charge currents: [9.54 9.58 9.61]A ````

Gerade nochmal getestet:
PV war aktiv, also nur boost aktiviert, direkt 3p laden und zum Optimum

logs
[lp-1 ] DEBUG 2024/10/21 06:36:54 charge currents: [0 0 0]A
[lp-1 ] DEBUG 2024/10/21 06:36:59 set battery boost: true
[lp-1 ] DEBUG 2024/10/21 06:36:59 charge power: 0W
[lp-1 ] DEBUG 2024/10/21 06:36:59 charge currents: [0 0 0]A
[lp-1 ] DEBUG 2024/10/21 06:36:59 charge total import: 1608.747kWh
[lp-1 ] DEBUG 2024/10/21 06:36:59 charger status: B
[lp-1 ] DEBUG 2024/10/21 06:36:59 pv charge battery boost: -11290W = -250W battery - 11040W boost
[lp-1 ] DEBUG 2024/10/21 06:36:59 !! pvScalePhases DOWN activePhases: 1, available power: 11040W, scalable: false
[lp-1 ] DEBUG 2024/10/21 06:36:59 !! pvScalePhases UP maxPhases: 3, available power: 11040W, scalable: true
[lp-1 ] DEBUG 2024/10/21 06:36:59 available power 11040W > 4140W min 3p threshold
[lp-1 ] DEBUG 2024/10/21 06:36:59 phase scale3p in 0s
[lp-1 ] DEBUG 2024/10/21 06:37:00 switched phases: 3p
[lp-1 ] DEBUG 2024/10/21 06:37:00 phase timer inactive
[lp-1 ] DEBUG 2024/10/21 06:37:00 pv charge current: 16A = 0A + 16A (-11040W @ 3p)
[lp-1 ] DEBUG 2024/10/21 06:37:00 site power -11040W <= -1299W enable threshold
[lp-1 ] DEBUG 2024/10/21 06:37:00 pv enable in 0s
[lp-1 ] DEBUG 2024/10/21 06:37:00 pv enable timer elapsed
[lp-1 ] DEBUG 2024/10/21 06:37:00 max charge current: 6A
[lp-1 ] DEBUG 2024/10/21 06:37:00 charger enable
[lp-1 ] DEBUG 2024/10/21 06:37:00 wake-up timer: start
[lp-1 ] DEBUG 2024/10/21 06:37:09 charge power: 4053W
[lp-1 ] DEBUG 2024/10/21 06:37:09 charge currents: [6 6 6.04]A
[lp-1 ] DEBUG 2024/10/21 06:37:24 charge power: 4056W
[lp-1 ] DEBUG 2024/10/21 06:37:24 charge currents: [6 6 6.04]A
[lp-1 ] DEBUG 2024/10/21 06:37:24 charge total import: 1608.767kWh
[lp-1 ] DEBUG 2024/10/21 06:37:24 charger status: C
[lp-1 ] DEBUG 2024/10/21 06:37:24 charge start energy: 1608.767kWh
[lp-1 ] INFO 2024/10/21 06:37:24 start charging ->
[lp-1 ] DEBUG 2024/10/21 06:37:24 wake-up timer: stop
[lp-1 ] DEBUG 2024/10/21 06:37:25 soc estimated: 64.35% (vehicle: 62.00%)
[lp-1 ] DEBUG 2024/10/21 06:37:25 vehicle soc: 64%
[lp-1 ] DEBUG 2024/10/21 06:37:25 vehicle soc limit: 100%
[lp-1 ] DEBUG 2024/10/21 06:37:25 vehicle range: 233km
[lp-1 ] DEBUG 2024/10/21 06:37:26 pv charge battery boost: -15491W = -4451W battery - 11040W boost
[lp-1 ] DEBUG 2024/10/21 06:37:26 !! pvScalePhases phasesSwitched: 2024-10-21 06:37:00.00448493 +0200 CEST m=+43106.472304442, 26.005653173s
[lp-1 ] DEBUG 2024/10/21 06:37:26 pv charge current: 21.9A = 6A + 15.9A (-11000W @ 3p)
[lp-1 ] DEBUG 2024/10/21 06:37:26 pv timer reset
[lp-1 ] DEBUG 2024/10/21 06:37:26 pv timer inactive
[lp-1 ] DEBUG 2024/10/21 06:37:26 max charge current: 16A
[lp-1 ] DEBUG 2024/10/21 06:37:39 charge power: 10539W
[lp-1 ] DEBUG 2024/10/21 06:37:39 charge currents: [15.5 15.4 15.4]A
[lp-1 ] DEBUG 2024/10/21 06:37:54 charge power: 10556W
[lp-1 ] DEBUG 2024/10/21 06:37:54 charge currents: [15.5 15.4 15.5]A
[lp-1 ] DEBUG 2024/10/21 06:38:09 charge power: 10540W
[lp-1 ] DEBUG 2024/10/21 06:38:09 charge currents: [15.4 15.4 15.4]A
[lp-1 ] DEBUG 2024/10/21 06:38:09 detected active phases: 3p
[lp-1 ] DEBUG 2024/10/21 06:38:09 charge total import: 1608.893kWh
[lp-1 ] DEBUG 2024/10/21 06:38:09 charger status: C
[lp-1 ] DEBUG 2024/10/21 06:38:09 soc estimated: 64.55% (vehicle: 62.00%)
[lp-1 ] DEBUG 2024/10/21 06:38:09 vehicle soc: 65%
[lp-1 ] DEBUG 2024/10/21 06:38:09 vehicle soc limit: 100%
[lp-1 ] DEBUG 2024/10/21 06:38:09 vehicle range: 233km
[lp-1 ] DEBUG 2024/10/21 06:38:09 pv charge battery boost: -7465W = -6775W battery - 690W boost
[lp-1 ] DEBUG 2024/10/21 06:38:09 !! pvScalePhases DOWN activePhases: 3, available power: 6871W, scalable: true
[lp-1 ] DEBUG 2024/10/21 06:38:09 !! pvScalePhases UP maxPhases: 3, available power: 6871W, scalable: false
[lp-1 ] DEBUG 2024/10/21 06:38:09 phase timer inactive
[lp-1 ] DEBUG 2024/10/21 06:38:09 !! pvScalePhases EXIT
[lp-1 ] DEBUG 2024/10/21 06:38:09 pv charge current: 10.7A = 16A + -5.32A (3669W @ 3p)
[lp-1 ] DEBUG 2024/10/21 06:38:09 max charge current: 10A
[lp-1 ] DEBUG 2024/10/21 06:38:24 charge power: 6503W
[lp-1 ] DEBUG 2024/10/21 06:38:24 charge currents: [9.54 9.54 9.5]A
[lp-1 ] DEBUG 2024/10/21 06:38:39 charge power: 6476W
[lp-1 ] DEBUG 2024/10/21 06:38:39 charge currents: [9.58 9.42 9.5]A
[lp-1 ] DEBUG 2024/10/21 06:38:54 charge power: 6475W
[lp-1 ] DEBUG 2024/10/21 06:38:54 charge currents: [9.58 9.42 9.5]A
[lp-1 ] DEBUG 2024/10/21 06:38:54 detected active phases: 3p
[lp-1 ] DEBUG 2024/10/21 06:38:54 charge total import: 1608.975kWh
[lp-1 ] DEBUG 2024/10/21 06:38:54 charger status: C
[lp-1 ] DEBUG 2024/10/21 06:38:54 soc estimated: 64.68% (vehicle: 62.00%)
[lp-1 ] DEBUG 2024/10/21 06:38:54 vehicle soc: 65%
[lp-1 ] DEBUG 2024/10/21 06:38:54 vehicle soc limit: 100%
[lp-1 ] DEBUG 2024/10/21 06:38:54 vehicle range: 233km
[lp-1 ] DEBUG 2024/10/21 06:38:54 pv charge battery boost: -7468W = -6778W battery - 690W boost
[lp-1 ] DEBUG 2024/10/21 06:38:54 !! pvScalePhases DOWN activePhases: 3, available power: 6944W, scalable: false
[lp-1 ] DEBUG 2024/10/21 06:38:54 !! pvScalePhases UP maxPhases: 3, available power: 6944W, scalable: false
[lp-1 ] DEBUG 2024/10/21 06:38:54 !! pvScalePhases EXIT
[lp-1 ] DEBUG 2024/10/21 06:38:54 pv charge current: 10.7A = 10A + 0.68A (-469W @ 3p)
[lp-1 ] DEBUG 2024/10/21 06:39:09 charge power: 6501W
[lp-1 ] DEBUG 2024/10/21 06:39:09 charge currents: [9.54 9.5 9.5]A
[lp-1 ] DEBUG 2024/10/21 06:39:24 charge power: 6473W
[lp-1 ] DEBUG 2024/10/21 06:39:24 charge currents: [9.58 9.42 9.5]A
[lp-1 ] DEBUG 2024/10/21 06:39:39 charge power: 6498W
[lp-1 ] DEBUG 2024/10/21 06:39:39 charge currents: [9.54 9.5 9.5]A
[lp-1 ] DEBUG 2024/10/21 06:39:39 detected active phases: 3p
[lp-1 ] DEBUG 2024/10/21 06:39:39 charge total import: 1609.057kWh
[lp-1 ] DEBUG 2024/10/21 06:39:39 charger status: C
[lp-1 ] DEBUG 2024/10/21 06:39:39 soc estimated: 64.80% (vehicle: 62.00%)
[lp-1 ] DEBUG 2024/10/21 06:39:39 vehicle soc: 65%
[lp-1 ] DEBUG 2024/10/21 06:39:39 vehicle soc limit: 100%
[lp-1 ] DEBUG 2024/10/21 06:39:39 vehicle range: 233km
[lp-1 ] DEBUG 2024/10/21 06:39:39 pv charge battery boost: -7488W = -6798W battery - 690W boost
[lp-1 ] DEBUG 2024/10/21 06:39:39 !! pvScalePhases DOWN activePhases: 3, available power: 6891W, scalable: false
[lp-1 ] DEBUG 2024/10/21 06:39:39 !! pvScalePhases UP maxPhases: 3, available power: 6891W, scalable: false
[lp-1 ] DEBUG 2024/10/21 06:39:39 !! pvScalePhases EXIT
[lp-1 ] DEBUG 2024/10/21 06:39:39 pv charge current: 10.6A = 10A + 0.569A (-393W @ 3p)
[lp-1 ] DEBUG 2024/10/21 06:39:54 charge power: 6486W
[lp-1 ] DEBUG 2024/10/21 06:39:54 charge currents: [9.54 9.46 9.5]A
[lp-1 ] DEBUG 2024/10/21 06:40:09 charge power: 6481W
[lp-1 ] DEBUG 2024/10/21 06:40:09 charge currents: [9.54 9.42 9.5]A
[lp-1 ] DEBUG 2024/10/21 06:40:22 set charge mode: off
[lp-1 ] DEBUG 2024/10/21 06:40:22 charge power: 6482W
[lp-1 ] DEBUG 2024/10/21 06:40:22 charge currents: [9.54 9.42 9.5]A
[lp-1 ] DEBUG 2024/10/21 06:40:22 detected active phases: 3p
[lp-1 ] DEBUG 2024/10/21 06:40:22 charge total import: 1609.133kWh
[lp-1 ] DEBUG 2024/10/21 06:40:22 charger status: C
[lp-1 ] DEBUG 2024/10/21 06:40:22 soc estimated: 64.92% (vehicle: 62.00%)
[lp-1 ] DEBUG 2024/10/21 06:40:22 vehicle soc: 65%
[lp-1 ] DEBUG 2024/10/21 06:40:22 vehicle soc limit: 100%
[lp-1 ] DEBUG 2024/10/21 06:40:22 vehicle range: 233km
[lp-1 ] DEBUG 2024/10/21 06:40:23 charger disable
[lp-1 ] DEBUG 2024/10/21 06:40:23 wake-up timer: stop
[lp-1 ] DEBUG 2024/10/21 06:40:24 set charge mode: pv
[lp-1 ] DEBUG 2024/10/21 06:40:24 charge power: 0W
[lp-1 ] DEBUG 2024/10/21 06:40:24 charge currents: [0 0 0]A
[lp-1 ] DEBUG 2024/10/21 06:40:24 charge total import: 1609.135kWh
[lp-1 ] DEBUG 2024/10/21 06:40:24 charger status: B
[lp-1 ] DEBUG 2024/10/21 06:40:24 charge final energy: 1.884kWh
[lp-1 ] INFO 2024/10/21 06:40:24 stop charging <-
[lp-1 ] DEBUG 2024/10/21 06:40:24 charge total import: 1609.135kWh
[lp-1 ] DEBUG 2024/10/21 06:40:24 vehicle status: C
[lp-1 ] DEBUG 2024/10/21 06:40:24 vehicle soc: 64%
[lp-1 ] DEBUG 2024/10/21 06:40:24 vehicle soc limit: 100%
[lp-1 ] DEBUG 2024/10/21 06:40:24 vehicle range: 240km
[lp-1 ] DEBUG 2024/10/21 06:40:24 !! pvScalePhases DOWN activePhases: 3, available power: -7053W, scalable: true
[lp-1 ] DEBUG 2024/10/21 06:40:24 available power -7053W < 4140W min 3p threshold
[lp-1 ] DEBUG 2024/10/21 06:40:24 phase scale1p in 0s
[lp-1 ] DEBUG 2024/10/21 06:40:24 switched phases: 1p
[lp-1 ] DEBUG 2024/10/21 06:40:24 phase timer inactive
[lp-1 ] DEBUG 2024/10/21 06:40:24 pv charge current: 0A = 0A + -30.7A (7053W @ 1p)
[lp-1 ] DEBUG 2024/10/21 06:40:24 charge power: 0W
[lp-1 ] DEBUG 2024/10/21 06:40:24 charge currents: [0 0 0]A
[lp-1 ] DEBUG 2024/10/21 06:40:25 charge total import: 1609.135kWh
[lp-1 ] DEBUG 2024/10/21 06:40:25 charger status: B
[lp-1 ] DEBUG 2024/10/21 06:40:25 pv charge current: 0A = 0A + -30.8A (7079W @ 1p)
[lp-1 ] DEBUG 2024/10/21 06:40:39 charge power: 0W
[lp-1 ] DEBUG 2024/10/21 06:40:39 charge currents: [0 0 0]A
```</Details>

@andig
Copy link
Member Author

andig commented Oct 21, 2024

...dann ist hier aber etwas anders. Denn dieser Codepfad wurde in Deinen anderen Beispielen einfach nicht aufgerufen. Vorschlag: wir lassen das Logging drin bis es mal wieder nicht geht (das wird passieren). Dann wird mir das zusätzliche Logging Auskunft geben warum das der Fall ist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request experimental Experimental feature needs documentation Triggers issue creation in evcc-io/docs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants