evcc icon indicating copy to clipboard operation
evcc copied to clipboard

eebus failed configuring eebus: invalid SKI / wallbox elli pro1

Open karo01 opened this issue 5 months ago • 34 comments

Describe the bug

Latest evcc version 0.309.2 fails to start eebus for wallbox elli pro1. The version 0.309.1 is running without problems.

Steps to reproduce

1.Install lastest version 0.309.2 2.Error: FATAL 2026/06/19 20:54:02 eebus failed configuring eebus: invalid SKI 3. Reinstall version 0.309.1 is starting without any error ...

Configuration details

chargers:
# old eli-pro geneartion 1 template
- type: template
  template: ellipro

# universal template
#- type: eebus
#  meter: true
#  chargedEnergy: false

  ski: abcd
  ip: 192.168.12.5  
  name: wallbox3

loadpoints:
- title: Carport
  charger: wallbox3
#  mode: minpv
  mode: pv

Log details

The ski mentioned below is different from the ski in the elli pro1 wallbox


[main  ] FATAL 2026/06/19 21:26:30 eebus failed configuring eebus: invalid SKI (subject: CN=EVCC_HEMS_01,OU=,O=EVCC,C=DE, SKI: 0bae4a2cd7b1be3bc0f9ad285bc99a8919572574, expected: f337e022eb15020eeddee7b

What type of operating system or environment does evcc run on?

Linux

External automation

  • [x] I have made sure that no external automation like HomeAssistant or Node-RED is active or accessing any of the mentioned devices when this issue occurs.

Nightly build

  • [x] I have verified that the issue is reproducible with the latest nightly build

Version

0.309.2

karo01 avatar Jun 19 '26 19:06 karo01

Das gleiche Problem bei mir.

Ramada2020 avatar Jun 19 '26 19:06 Ramada2020

Habe offenkundig gleiches Verhalten:

[main ] INFO 2026/06/19 22:11:21 evcc 0.309.2 [main ] INFO 2026/06/19 22:11:21 using config file: /config/evcc.yaml [main ] FATAL 2026/06/19 22:11:21 eebus failed configuring eebus: invalid SKI (subject: CN=EVCC_HEMS_01,OU=,O=EVCC,C=DE, SKI: 9ef3ef03a2792148d0cdabb2fba9fab2c2cdfc5e, expected: 8fb6095b7b29fccff2c8bf1fac3bd69432566dc4) [main ] FATAL 2026/06/19 22:11:21 will attempt restart in: 15m0s

Addendum: Der evcc läuft in einem Container als "App" in Home Assistant. Habe das automatische Backup der vorigen Version wieder reingespielt. Damit läuft es wieder.

TAEmty avatar Jun 19 '26 20:06 TAEmty

Wenn ihr noch den eebus certificate Part in der yaml habt, diesen raus löschen und eebus Gerät entkoppeln und wieder koppeln.

Ich hab den Cert Teil auskommentiert, entkoppelt, gekoppelt, danach ging es wieder.

#eebus:
#  certificate:
#      private: |
#          -----BEGIN EC PRIVATE KEY-----
#          xxxx
#          xxxx
#          xxxx
#          -----END EC PRIVATE KEY-----
#      public: |
#          -----BEGIN CERTIFICATE-----
#          MIIBvTCCAWOgAwIBAgIRAUl143zXMnObKEgR0WGr8+8wCgYIKoZIzj0EAwIwPjEL
#          MAkGA1UEBhMCREUxDTALBgNVBAoTBEVWQ0MxCTAHBgNVBAsTADEVMBMGA1UEAwwM
#          RVZDQ19IRU1TXzAxMB4XDTIzMDYyNzA5NTAyMVoXDTMzMDYyNDA5NTAyMVowPjEL
#          MAkGA1UEBhMCREUxDTALBgNVBAoTBEVWQ0MxCTAHBgNVBAsTADEVMBMGA1UEAwwM
#          RVZDQ19IRU1TXzAxMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEdw1XqsrJBx+c
#          YLuKo47bk4IeHFVhBmAf4w4Z0+cVVHj5Gc74ipXgTgoXKWsb6uY+FBZ2Lz1wFmCn
#          2VZIazVJP6NCMEAwDgYDVR0PAQH/BAQDAgeAMA8GA1UdEwEB/wQFMAMBAf8wHQYD
#          VR0OBBYEFF0K9P+EwTST0D2Y9KNvszH2kc2hMAoGCCqGSM49BAMCA0gAMEUCICmX
#          iscYyP7+ZMUrlNuhOzv+4VflsWm9ejMr5ByKpg63AiEA84/lK54ELsTHyDelBQeI
#          gyvHS93cSpF2dCdXex7+zzY=
#          -----END CERTIFICATE-----


gnujuba avatar Jun 19 '26 21:06 gnujuba

Hi, same on my side.

  • EVCC as part of HA, temporary solved by restore backup

One important hint.

From the very beginning, there have been recurring connection issues with the GEN 1 Elli wallbox and EVCC. I'm aware about the story around and the issues with this wallbox version.

On the other hand, there are a few version from EVCC that run very reliably!

In a nutshell:

  • the version 0.309.1 is loosing the connection mostly after one day > works after reboot Elli from day to day
  • one of the versions - maybe 0.308.1 ?? (I missed to notice, was expecting the issue was solved since than) works incredibly reliably for GEN 1 Elli Wallbox

How to install dedicated EVCC version on HA?

  • I'd like to find out which EVCC version works stable for GEN 1 Elli Wallbox. I haven't figured out in documentation how to role back (without app backup in HA) a dedication version in HA installation.
  • If some one could give a hint (maybe a link to documentation or just a small hint is fine) I like to find out the stable version (I guess it must be 0.308.1 or 0.309.0)

a8a41dff2c6a avatar Jun 20 '26 08:06 a8a41dff2c6a

Meine Elli 1 ist als wallbox #eebus kompatibel# mit separatem Zähler einrichtet und machte bis zum Update keine Probleme.

Die Hinterlegung des keys in der yaml kann auch nicht das Problem sein, ich habe alles über die UI konfiguriert. Die yaml ist bei mir leer.

Ist es so gewollt das die Box mit diesem Update neu gekoppelt werden muß? Danke

Ramada2020 avatar Jun 20 '26 08:06 Ramada2020

@a8a41dff2c6a (and all whom it may concern). I doubt that it is permanent solution to freeze evcc to a specific version to avoid this or other problems. Root cause IS the Elly gen1. evcc team is doing an extraordinary job bringing new features, fixing issues and doing improvements, all of that would be lost for the future, I am grateful they gave attendance to the EEBUS with that release once again. To sort things out: Firmware of Elli is crappy and obviously stays that, first hint is the more than two years old last version of fw: v3.9.0-rc3. Well, "rc" as in "release candidate". The current firmware was never finalized, programming engineer did an honest job to mark it as what it is: Almost ready to be released to the customer. So Elli (which is a Volkswagen company) management made obviously a decision, they are notorious good in this... Now the behavior of the Elly is in general erratic. It seems to be dependent from outer circumstances (as configuration, using WIFI/LAN, having the mobile radio uplink active or not, timing of the HEMS it listens to and so on). So, for example, I can NOT confirm that 0.308.1 or 0.309.0 was more stable than other versions. evcc EEBUS development reached a point, where the Elli at least run for 4 weeks before the need of attendance. If no reboot, surge of power on the box, short loss of network, or excessive charging starts happened. I will give the solution of @gnujuba a chance tonight and report the results here.

Addendum: gnujuba's strategy worked for me. evcc is booting, EEBUS builds connection.

TAEmty avatar Jun 20 '26 08:06 TAEmty

In der UI die EEBUS-Konfig löschen, Restart, dann neu mit der Elli koppeln war auch bei mir erfolgreich.

Ich vermute, dass das Cert für die Kommunikation mit der Wallbox erneuert werden musste (die Dinger haben ja auch ein Ablaufdatum...).

Irgendwann ist mal eine neue Wallbox fällig...

pencoe avatar Jun 20 '26 08:06 pencoe

Das Zertifikat, um was es hier geht, ist das EVCC Zertifikat und das ist bei mir bis 2033 gültig. Kann also nicht der Grund sein! Für mich ist das ein Fehler in dem letzten EVCC Update. Ich habe auch schon seit einigen Wochen nichts mehr in der YAML konfiguriert, sondern alles über die GUI. Wenn ich jetzt in der GUI die EEBus Konfiguration lösche und dann EVCC neu starte, dann startet EVCC bei mir gar nicht erst sondern bricht mit einer Fehlermeldung ab "keine Wallbox konfiguriert". Mir bleibt nichts anderes übrig, als auf die letzte Version zurückzugehen. Ich warte daher auf das nächste Update und hoffentlich ist dort das Problem gefixt.

PS habe gerade das Elli Pro Zertifikat angeschaut und das gilt sogar bis 2452 ziemlich optimistisch.

kloeppb avatar Jun 20 '26 09:06 kloeppb

Bei mir steht in der yaml nur noch loglevel und database drin und evcc enthält überhaupt keine Konfiguration mehr. Ich habe die letzte db Sicherung bereits geladen, aber auch das hilft nicht. 309.2 lässt sich nicht mehr starten: Fehler beim Starten. Überprüfe deine Konfiguration und starte neu. eebus: failed configuring eebus: invalid SKI (subject: CN=EVCC_HEMS_01,O=EVCC,C=DE, SKI: ad93a5ec02e328036926aef5f0a478af95d86284, expected: 23655381c4340474055e2858ce81f28f10accf54)

zur Ergänzung: Mit 0.309.1 läuft alles wieder korrekt

Kludi2019 avatar Jun 20 '26 09:06 Kludi2019

Hi @TAEmty, == 0.309.2 == Role back to 0.309.1 just temporary, until a fix is available. 0.309.1 is working, without to change EVCC config or anything else.

== 0.309.1 / GEN 1 Elli == My point is that I’m sure there’s a version that runs stably.

I just want to be able to confirm that with certainty.

I can confirm that one version from EVCC has been running stably for several weeks. Since the previous version 0.309.1, the problem with loosing connection has returned. No other changes, just the update. If this is confirmed, we may have a way to ship around the GEN 1 software issue (it’s not an EVCC error, but rather an Elli issue).

I’m aware of all the work that’s gone into this issue, and I’m grateful for it! Using EVCC since around 5 years.

a8a41dff2c6a avatar Jun 20 '26 09:06 a8a41dff2c6a

Meine Elli 1 ist als wallbox #eebus kompatibel# mit separatem Zähler einrichtet und machte bis zum Update keine Probleme.

Die Hinterlegung des keys in der yaml kann auch nicht das Problem sein, ich habe alles über die UI konfiguriert. Die yaml ist bei mir leer.

Ist es so gewollt das die Box mit diesem Update neu gekoppelt werden muß? Danke

Ich habe auch eine Elli Gen1 und musste sie entkoppeln, evcc starten und dann wieder koppeln. Meine Config ist zwar noch in der yaml aber dass sollte je egal sein.

gnujuba avatar Jun 20 '26 10:06 gnujuba

  • the version 0.309.1 is loosing the connection mostly after one day > works after reboot Elli from day to day

Are you on Wifi or LAN? I am using Elli Gen1 + evcc since 3+ years and once I switched to a LAN connection even the crappy Elli has been working without flaws. (I don't remember the last time when I had to reboot the Elli).

gnujuba avatar Jun 20 '26 10:06 gnujuba

@derandereandi not sure if you want to comment: I guess this is due to switching to the eebus dev branch. Don‘t know if this is intentional though?

andig avatar Jun 20 '26 11:06 andig

Meine Elli 1 ist als wallbox #eebus kompatibel# mit separatem Zähler einrichtet und machte bis zum Update keine Probleme.

Die Hinterlegung des keys in der yaml kann auch nicht das Problem sein, ich habe alles über die UI konfiguriert. Die yaml ist bei mir leer.

Ist es so gewollt das die Box mit diesem Update neu gekoppelt werden muß? Danke

Ich habe auch eine Elli Gen1 und musste sie entkoppeln, evcc starten und dann wieder koppeln. Meine Config ist zwar noch in der yaml aber dass sollte je egal sein.

Nur damit ich das nicht falsch verstehe und unnötig herum probiere. Was genau hast Du entkoppelt? Im Webif der Box evcc als HEMS entfernt oder die Elli aus der Config von evcc gelöscht?

CarG70 avatar Jun 20 '26 12:06 CarG70

Meine Elli 1 ist als wallbox #eebus kompatibel# mit separatem Zähler einrichtet und machte bis zum Update keine Probleme. Die Hinterlegung des keys in der yaml kann auch nicht das Problem sein, ich habe alles über die UI konfiguriert. Die yaml ist bei mir leer. Ist es so gewollt das die Box mit diesem Update neu gekoppelt werden muß? Danke

Ich habe auch eine Elli Gen1 und musste sie entkoppeln, evcc starten und dann wieder koppeln. Meine Config ist zwar noch in der yaml aber dass sollte je egal sein.

Nur damit ich das nicht falsch verstehe und unnötig herum probiere. Was genau hast Du entkoppelt? Im Webif der Box evcc als HEMS entfernt oder die Elli aus der Config von evcc gelöscht?

Genau, in der Elli die Kopplung aufheben und wieder herstellen...

Image

Ich habe alles in der yaml, daran nichts geändert. Würde mal sagen in der UI kann sie auch drin bleiben.

gnujuba avatar Jun 20 '26 12:06 gnujuba

@derandere not sure if you want to comment: I guess this is due to switching to the eebus dev branch. Don‘t know if this is intentional though?

@andig Do you wanted to tag DerAndereAndi?

StefanSchoof avatar Jun 20 '26 12:06 StefanSchoof

Guys, I left the EEBUS topic 2 months ago. I am done with it, sorry :(

DerAndereAndi avatar Jun 20 '26 12:06 DerAndereAndi

Bei mir steht in der yaml nur noch loglevel und database drin und evcc enthält überhaupt keine Konfiguration mehr. Ich habe die letzte db Sicherung bereits geladen, aber auch das hilft nicht. 309.2 lässt sich nicht mehr starten: Fehler beim Starten. Überprüfe deine Konfiguration und starte neu. eebus: failed configuring eebus: invalid SKI (subject: CN=EVCC_HEMS_01,O=EVCC,C=DE, SKI: ad93a5ec02e328036926aef5f0a478af95d86284, expected: 23655381c4340474055e2858ce81f28f10accf54)

zur Ergänzung: Mit 0.309.1 läuft alles wieder korrekt

Bei mir hat evcc den Start dann nach ein paar Minuten hinbekommen. Ich konnte dann die Wallbox neu koppeln und alles war gut. Eventuell hilft Geduld?

Das Problem könnte sein, dass evcc mit dem der neuen Version eine neue SKI generiert. Dann mag die Elli nicht mehr, das ist aber an der Stelle ausnahmsweise mal nicht ihre Schuld. Sie soll sich ja nicht einfach mit irgendwem koppeln.

schnabelewobski avatar Jun 20 '26 14:06 schnabelewobski

Interesting. controlbox and Vaillant heat pump both survived the eebus-go update without repairing.

CiNcH83 avatar Jun 20 '26 15:06 CiNcH83

Interesting. controlbox and Vaillant heat pump both survived the eebus-go update without repairing.

Ok, that's strange.

schnabelewobski avatar Jun 20 '26 15:06 schnabelewobski