Closed Duell10111 closed 1 year ago
Somehow the charging session is not updated in the UI
This needs a modbus trace log of evcc running and evcc charger
both at the time the error occurs. Its hard to imagine that there is a difference over modbus.
Also note https://github.com/evcc-io/evcc/pull/8093 which is only in the nightly version for now.
Die Änderung aus #8093 müssten ja in der nightly implementiert sein. Ich habe mich auch über die angeblich geladenen kWh gewundert und daher evcc gerade mit download der aktuellen nightly komplett neu aufgesetzt (Datenbank gelöscht, evcc Image gelöscht, neu geladen und mit vorhandener evcc.yaml neu gestartet).
Obwohl zu keiner Zeit ein Fahrzeug angeschlossen war und mit der neuen Installation nie ein Ladevorgang durchgeführt wurde, zeigt er mir komischerweise eine Ladung mit 10,4 kWh an: evcc-evccnightly.csv
Nachtrag: Scheinbar nimmt er das aus einer Ladesession von gestern - zumindest wären die 10,4kWh so erklärbar. evcc charger:
/app # evcc charger
keba_garage
-----------
Power: 0W
Energy: 143.2kWh
Current L1..L3: 0A 0A 0A
Charge status: A
Enabled: false
Charged: 10.4kWh
Identifier: <none>
Obwohl zu keiner Zeit ein Fahrzeug angeschlossen war und mit der neuen Installation nie ein Ladevorgang durchgeführt wurde
Natürlich wurde ein Ladevorgang durchgeführt- mit dem Charger ;) Genau da kommen die Daten auch her:
Charged: 10.4kWh
Ja genau. Am 5.6. - habe mich nur gefragt warum die nightly Version mit Modbus Template bei Neuinstallation am 6.6. diese noch anzeigt? Test mit Neuinstallation ebenfalls heute und der Release Version und udp zeigt diese nicht an.
Aber nach deiner Rückmeldung kann ich davon ausgehen, dass dort auch alte Ladevorgänge angezeigt werden und diese beim nächsten Ladevorgang zurückgesetzt werden, richtig?
Offensichtlich- ansonsten geht die Frage an den Keba Support. Wir zeigen an was über Modbus kommt.
Was ich auch komisch finde ist, das bei den Ladevorgängen die Geladene Energie falsch dargestellt wird, aber die Zählerstände stimmen. 😅
Was ich auch komisch finde ist, das bei den Ladevorgängen die Geladene Energie falsch dargestellt wird, aber die Zählerstände stimmen. 😅
Kannst du das konkret machen? Faktor falsch? 10 zu groß? Leider sind auch die Ladestände nur deshalb richtig weil wir es anders machen als es in der Doku steht- da ist also Experiment angesagt.
Und ganz wichtig: verwendest Du schon dir Korrektur aus https://github.com/evcc-io/evcc/commit/eebdacaf338b0e2fc8307239c02bdafd1aace539?
Was ich auch komisch finde ist, das bei den Ladevorgängen die Geladene Energie falsch dargestellt wird, aber die Zählerstände stimmen. 😅
Kannst du das konkret machen? Faktor falsch? 10 zu groß? Leider sind auch die Ladestände nur deshalb richtig weil wir es anders machen als es in der Doku steht- da ist also Experiment angesagt.
Irgendwie nicht Faktor falsch, sondern manchmal übernimmt er einfach den Wert vom vorherigen Ladevorgang. 🤨
Hier ein weiteres Beispiel:
Ich bin mir auch nicht ganz sicher woran das genau liegen kann. Die Modbus Register sahen eigentlich richtig aus. 🤔
Hier wird es korrekt zurückgegeben nur steht es in der UI nicht richtig. :/
Was mir noch aufgefallen ist, das wenn ich das Auto abstecke und dann EVCC neu starte, fängt er wieder korrekt von 0 kWh an. 😅
Offensichtlich- ansonsten geht die Frage an den Keba Support. Wir zeigen an was über Modbus kommt.
Du hattest natürlich (wie immer) recht - die Anzeige wurde mit einem neuen Ladevorgang korrekt zurückgesetzt und zeigt mir jetzt zumindest mit den letzten zwei Ladungen alles korrekt an. Vielen Dank für die letzten Updates.
Was ich auch komisch finde ist, das bei den Ladevorgängen die Geladene Energie falsch dargestellt wird, aber die Zählerstände stimmen. 😅
Kannst du das konkret machen? Faktor falsch? 10 zu groß? Leider sind auch die Ladestände nur deshalb richtig weil wir es anders machen als es in der Doku steht- da ist also Experiment angesagt.
Irgendwie nicht Faktor falsch, sondern manchmal übernimmt er einfach den Wert vom vorherigen Ladevorgang. 🤨
Hier ein weiteres Beispiel:
Ich bin mir auch nicht ganz sicher woran das genau liegen kann. Die Modbus Register sahen eigentlich richtig aus. 🤔
Hier wird es korrekt zurückgegeben nur steht es in der UI nicht richtig. :/
Was mir noch aufgefallen ist, das wenn ich das Auto abstecke und dann EVCC neu starte, fängt er wieder korrekt von 0 kWh an. 😅
Ich habe vermutlich das Problem gefunden und zwar beinhaltet das ChargedEnergy Register den Wert des vorherigen Ladevorgangs solange der nächste Ladevorgang noch nicht gestartet wurde.
Vlt. kann das dass Problem bei EVCC verursachen. 🤔
Das ist Mist. Eigentlich müsste die Keba das beim Anstecken nullen.
Aber das können wir abfangen.
Ich habe mal dazu einen Workarround gebaut und der funktioniert bei mir auch gut mit meiner Keba :). Was haltet ihr davon?
Zu kompliziert. 😉
Einfach chargedEnergy()
entfernen.
Das kommt dann automatisch richtig via totalEnergy()
.
Describe the bug
Somehow the charging session is not updated in the UI, whereas the debug commands shows that evcc knows the correctly charged kWh. Therefore the reading of the value from the WB seems to work.
UI:
evcc charger command:
WB UI:
Steps to reproduce
Configuration details
Log details
What type of operating system are you running?
Linux
Version
evcc 0.117.4 (29b68abc)