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

Easee: panic in ProductUpdate processing #11431

Closed
GrimmiMeloni opened this issue Jan 2, 2024 · 4 comments · Fixed by #11435
Closed

Easee: panic in ProductUpdate processing #11431

GrimmiMeloni opened this issue Jan 2, 2024 · 4 comments · Fixed by #11435
Assignees
Labels
bug Something isn't working

Comments

@GrimmiMeloni
Copy link
Sponsor Collaborator

Seit Version 0.123.2 wird beim Laden weder das Auto (Tesla) erkannt noch der Ladepunkt angezeigt (Ladeleistung permanent auf 0.
Das Auto wird zwar geladen, die Anzeigen in der TeslaApp als auch auf der EaseeApp sind OK.
Ein vorhergehender Check der Installation über:
sudo systemctl status evcc
sudo evcc -l debug meter
sudo evcc -l debug charger
sudo evcc -l debug vehicle
brachte keine Fehler, alles wurde korrekt erkannt.
Nach dem Downgrade von 0.123.4 auf 0.123.1 (im log ab 17:09 zusehen) war wieder alles wie sonst.
die Config und das Log hab ich mal im Windowsformat angehängt.
config.txt
NoLoadpoint.txt
Ich habe keine Idee mehr was ich noch ausprobieren könnte

Originally posted by @JHammerschmid in #11427

@GrimmiMeloni
Copy link
Sponsor Collaborator Author

@andig diese Panic Meldung... ist das so eine Art "Catch all" im Falle von Panics in Go Routines? Oder kommt das aus der SignalR Lib?

Jan 02 17:07:57 evcc-pi3 evcc[644]: [easee ] TRACE 2024/01/02 17:07:57 level=info connection=KM-mL8l-Sf5dOMIf7ksa9w event=panic in target method error=close of closed channel name=ProductUpdate reaction=send completion with error

Das tritt immer wenn ein neuer opMode kommt auf. Deshalb dann auch kein charger Status update mehr.
Wir haben ja die Initialisierung geändert.

Das ist der Block der vorher im defer war.
// startup completed
if c.opMode != 0 {
once.Do(func() { close(c.done) })
}

Ist es korrekt, daß once innerhalb der Methode definiert ist? Muß die Referenz nicht in einen globalen Scope?

@GrimmiMeloni GrimmiMeloni self-assigned this Jan 2, 2024
@GrimmiMeloni GrimmiMeloni added the bug Something isn't working label Jan 2, 2024
@GrimmiMeloni
Copy link
Sponsor Collaborator Author

Confirmed locally. Testing a fix locally right now....

@andig
Copy link
Member

andig commented Jan 2, 2024

Ist es korrekt, daß once innerhalb der Methode definiert ist? Muß die Referenz nicht in einen globalen Scope?

Woah, ja!

@andig
Copy link
Member

andig commented Jan 2, 2024

Dafür darf der zu: 7819662

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants