evcc-io / evcc

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

VW ID Charger via EEBUS isn't working #3554

Closed pioneersteffen closed 2 years ago

pioneersteffen commented 2 years ago

Describe the bug

Connect VW ID Charger is not working via EEBUS:

evcc -l debug charger [main ] INFO 2022/05/31 21:56:19 evcc 0.94 [main ] INFO 2022/05/31 21:56:19 using config file /opt/loxberry/evcc.yaml [eebus ] ERROR 2022/05/31 21:56:19 eebus listen: listen tcp :4712: bind: address already in use Power: offline Current L1..L3: offline ....................SoC: timeout Charge status: offline Enabled: offline Charged: offline Identifier: offline

Steps to reproduce

restart evcc many times

Configuration details

open evcc at http://evcc.local:7070

cd /opt/loxberry/webfrontend/legacy/evcc/

sudo mv evcc.yaml /etc

sudo systemctl restart evcc

network: schema: http host: evcc.local # .local suffix announces the hostname on MDNS port: 7070

log: info levels: cache: error

interval: 10s # control cycle interval

meters:

chargers:

loadpoints:

site: title: Garage meters: grid: grid3 pvs:

eebus: certificate: private: | -----BEGIN EC PRIVATE KEY----- MHcCAQEEIPXdzlhX9X3mTr5QZ0Naz0C3mg4yUEfuQF7RgbHZ3a6DoAoGCCqGSM49 AwEHoUQDQgAEwO/9kbH+R6+TU9SEBMlRtJcqA3HDkOXEjJmBY/AocN8BOFx2RJVw flYM5eJcrdyCpnl8lfkrh/8ma0hL5NmuSA== -----END EC PRIVATE KEY----- public: | -----BEGIN CERTIFICATE----- MIIBhzCCAS2gAwIBAgIBATAKBggqhkjOPQQDAjAzMQswCQYDVQQGEwJERTENMAsG A1UEChMERVZDQzEVMBMGA1UEAwwMRVZDQ19IRU1TXzAxMB4XDTIyMDUzMTE4Mjk1 NVoXDTMyMDUyODE4Mjk1NVowMzELMAkGA1UEBhMCREUxDTALBgNVBAoTBEVWQ0Mx FTATBgNVBAMMDEVWQ0NfSEVNU18wMTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IA BMDv/ZGx/kevk1PUhATJUbSXKgNxw5DlxIyZgWPwKHDfAThcdkSVcH5WDOXiXK3c gqZ5fJX5K4f/JmtIS+TZrkijMjAwMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYE FIYInKtWXbblm2jx1RyNNDt0y01JMAoGCCqGSM49BAMCA0gAMEUCIB2hV68Szdyl hvYIHIkRfyTJN/nuys0rMPHlL6eCSD47AiEAuXzSRtY7Ivayq37daPlzVIHzpaRR bGTQAeWJtvsETtw= -----END CERTIFICATE-----

Log details

evcc --log debug [main ] INFO 2022/05/31 22:05:00 evcc 0.94 [main ] INFO 2022/05/31 22:05:00 using config file /opt/loxberry/evcc.yaml [main ] INFO 2022/05/31 22:05:00 listening at :7070 [eebus ] ERROR 2022/05/31 22:05:00 eebus listen: listen tcp :4712: bind: address already in use [site ] INFO 2022/05/31 22:05:02 site config: [site ] INFO 2022/05/31 22:05:02 meters: grid ✓ pv ✓ battery ✓ [site ] INFO 2022/05/31 22:05:02 grid: power ✓ energy ✗ currents ✗ [site ] INFO 2022/05/31 22:05:02 pv 1: power ✓ energy ✗ currents ✗ [site ] INFO 2022/05/31 22:05:02 pv 2: power ✓ energy ✗ currents ✗ [site ] INFO 2022/05/31 22:05:02 battery 1: power ✓ energy ✗ currents ✗ soc ✓ [lp-1 ] INFO 2022/05/31 22:05:02 loadpoint 1: [lp-1 ] INFO 2022/05/31 22:05:02 mode: minpv [lp-1 ] INFO 2022/05/31 22:05:02 charger: power ✓ energy ✗ currents ✓ phases ✗ wakeup ✗ [lp-1 ] INFO 2022/05/31 22:05:02 meters: charge ✓ [lp-1 ] INFO 2022/05/31 22:05:02 charge: power ✓ energy ✗ currents ✓ [lp-1 ] INFO 2022/05/31 22:05:02 vehicles: ✗ [lp-1 ] ERROR 2022/05/31 22:05:02 charger: offline [site ] DEBUG 2022/05/31 22:05:02 ---- [main ] FATAL 2022/05/31 22:05:02 listen tcp :7070: bind: address already in use

What type of operating system are you running?

Linux

Version

0.94

StefanSchoof commented 2 years ago

Ich glaube @DerAndereAndi ist schon dran: https://github.com/evcc-io/evcc/discussions/1217#discussioncomment-2857701

premultiply commented 2 years ago

[eebus ] ERROR 2022/05/31 21:56:19 eebus listen: listen tcp :4712: bind: address already in use

[main ] FATAL 2022/05/31 22:05:02 listen tcp :7070: bind: address already in use

Mehrfache Instanzen von evcc belegen die gleichen Ports. Kann nicht funktionieren. Erst den Service beenden, dann erst Testkommandos von der Konsole aus starten!