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
Fix measuredPhases out of sync due to delayed phase switching by charger #7162
Conversation
Fix measuredPhases out of sync due to delayed phase switching by charger
Prevent phase warning due to delayed phase switching by charger
Fix compile error
Refactor measuredPhases fix and correct compile errors
Refactor measuredPhases fix and correct compile errors
if lp.guardGracePeriodElapsed() { | ||
lp.log.WARN.Printf("ignoring inconsistent phases: %dp < %dp observed active", phases, measuredPhases) | ||
} | ||
lp.resetMeasuredPhases() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ich gehe bei allem mit- nur warum sollten wir das tun? Wir messen doch bei jedem Durchlauf, die Werte sind also aktuell!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ich gehe bei allem mit- nur warum sollten wir das tun? Wir messen doch bei jedem Durchlauf, die Werte sind also aktuell!
Sind sie leider nicht - es wird nur während der Ladung gemessen. Das Problem tritt ja genau dann auf wenn das Laden geendet hat.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dann müsste da aber eigentlich ja auch sofort 0 rauskommen.
Warum tut es das nicht?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Das tut es nicht weil die alte Messung vor dem Umschaltung noch vorhanden ist. Umschaltung ist träge und kann zurück kommen, bevor umgeschaltet wurde. Dann bleibt auch der alte Messwert stehen.
Mit dieser Erklärung passt das für mich. Was meinst Du?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ja, ok, jetzt verstehe ich es auch.
Solange dann nicht nochmal ein neuer "alter" Realmesswert kommt...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dann würde ja im Fehlerfall wieder resettet.
Nightly in 20min |
Fix #7166