evcc-io / evcc

Sonne tanken ☀️🚘
https://evcc.io
MIT License
3.32k stars 606 forks source link

Nissan Leaf pre 2019 (carwings) shows constantly 1% SOC #2702

Closed coolchip closed 2 years ago

coolchip commented 2 years ago

Instead of the current SOC, evcc shows constantly 1%. No matter what the current charging state of the car is. The Nissan Connect EV an the "My Leaf" mobile app are showing the right value. The remaining range and the activity of the heater are correctly displayed in evcc.

I expect to see the right SOC in the evcc web ui.

Show evcc configuration file evcc.yaml:
vehicles:
- type: template
  template: carwings
  title: Nissan Leaf  # Wird in der Benutzeroberfläche angezeigt
  user: xxxx # Benutzername um auf das Gerät zuzugreifen
  password: xxxx # Passwort des Benutzerkontos
  vin: xxxx  # Erforderlich, wenn mehrere Fahrzeuge des Herstellers vorhanden sind
  #  minSoC: 25  # Lade sofort mit maximaler Geschwindigkeit bis zu dem angegeben Ladestand, wenn der Lademodus nicht auf 'Aus' steht  # Optional
  targetSoC: 80  # Bis zu welchem Ladestand (SoC) soll das Fahrzeug geladen werden  # Optional
  capacity: 24  # Akku-Kapazität in kWh
  name: ev4
Show evcc log output with --log debug:
Feb 25 08:17:23 odroid evcc[25321]: [main  ] INFO 2022/02/25 08:17:23 evcc 0.83 (7a99de71)
Feb 25 08:17:23 odroid evcc[25321]: [main  ] INFO 2022/02/25 08:17:23 using config file /etc/evcc.yaml
Feb 25 08:17:23 odroid evcc[25321]: [main  ] INFO 2022/02/25 08:17:23 listening at 0.0.0.0:7070
[...]
Feb 25 08:17:30 odroid evcc[25321]: [lp-1  ] INFO 2022/02/25 08:17:30 vehicle updated: unknown -> Nissan Leaf
[...]
Feb 25 08:18:09 odroid evcc[25321]: [lp-1  ] DEBUG 2022/02/25 08:18:09 vehicle soc: 1%
andig commented 2 years ago

Meld Dich mal bitte mit Zugangsdaten bei info@evcc.io

coolchip commented 2 years ago

Fehler steckt offensichtlich im Modul für carwings

https://github.com/joeshaw/carwings/issues/45

andig commented 2 years ago

Der ist aber auch wirklich prähistorisch ;)

andig commented 2 years ago

Fixed in https://github.com/evcc-io/evcc/commit/e0a75d14131d8aa4b0bf04a1b6e4de4b1282241d

coolchip commented 2 years ago

Danke für den schnellen Fix. Jetzt funktioniert alles. ❤️