charger get phases: modbus: response data size '4' does not match request quantity '1'
Describe the bug
Dieser Fehler an einer Keba P30 X Series mit Phasenumschaltung kommt seit dem Firmwareupdate auf 0.1.17.2 mit der 0.1.17.1 lief alles tadellos. Der Fehler tritt bei mir im Büro (2 Wallboxen) und auch zu Hause auf. Bei alle drei Wallboxen wurde auf die 0.1.17.2 geupdatet. Ein downgrade der Firmware ist leider nicht möglich. Der Fehler führt zum Aufhängen der Wallboxsteuerung. Keine Regelung mehr möglich. Leider sehe ich in der debug Ausgabe unten keinen Fehler....
Steps to reproduce
1. 2. 3. ...
Configuration details
[main ] INFO 2024/04/26 11:45:15 evcc 0.125.0 (1d4e6959)
[main ] INFO 2024/04/26 11:45:15 using config file: /etc/evcc.yaml
[db ] INFO 2024/04/26 11:45:15 using sqlite database: /home/rherre/.evcc/evcc.db
[main ] ERROR 2024/04/26 11:45:48 creating vehicle my_car2porsche failed: cannot create vehicle type 'porsche': login failed: unexpected status 400
[lp-1 ] DEBUG 2024/04/26 11:45:50 charge total import: 2066.877kWh
[lp-2 ] DEBUG 2024/04/26 11:45:50 charge total import: 1842.958kWh
Konfiguration (/etc/evcc.yaml):
# open evcc at http://evcc.local:7070
network:
schema: http
host: evcc.local # .local suffix announces the hostname on MDNS
port: 7070
log: debug
levels:
cache: error
interval: 5s # control cycle interval
sponsortoken: *****
meters:
- name: grid1
type: template
template: solaredge-hybrid
id: 1
host: 192.168.0.100
port: 1502
usage: grid
modbus: tcpip
#- name: my_grid #alte Konfiguration mit Tibber als grid
# type: template
# template: tibber-pulse
# usage: grid
# token: *****
# homeid: ####### Optional
- type: template
template: solaredge-hybrid
id: 1 #bisher 1
host: 192.168.0.100
port: 1502
usage: pv
modbus: tcpip
name: pv1
- type: template
template: solaredge-hybrid
id: 2 #bisher 2
host: 192.168.0.100
port: 1502
usage: pv
modbus: tcpip
name: pv2
#- type: template
# template: solaredge-hybrid
# id: 3 #bisher nicht da
# host: 192.168.0.100
# port: 1502
# usage: pv
# modbus: tcpip
# name: pv3
- type: template
template: sma-inverter
usage: pv
host: 192.168.0.132
password: *****
name: pv3 #bisher pv3
- type: template
template: sma-inverter #neu, garage hinten
usage: pv
host: 192.168.0.173
password: *****
name: pv4 #bisher pv4
- type: template
template: solaredge-hybrid
id: 1
host: 192.168.0.100
port: 1502
usage: battery
capacity: 7
modbus: tcpip
name: battery1
- type: template
template: solaredge-hybrid
id: 3
host: 192.168.0.100
port: 1502
usage: battery
capacity: 7
modbus: tcpip
name: battery2
chargers:
- type: template
template: keba-modbus
#template: keba
host: 192.168.0.101
name: wallbox1
modbus: tcpip
id: 255
port: 502
- type: template
#template: keba
template: keba-modbus
host: 192.168.0.102
name: wallbox2
modbus: tcpip
id: 255
port: 502
vehicles:
- name: my_car1smart
type: smart
#template: smart
title: smart
user: *****
password: *****
vin: *****
icon: car
identifiers:
- '0000000000000000'
capacity: 17.6
phases: 1
onIdentify: # set defaults when vehicle is identified
mode: pv #pv # enable PV-charging when vehicle is identified off pv minpv now
mincurrent: 6 #bislang aus 6
maxcurrent: 32 #bislag aus 32
priority: 3
- name: my_car2porsche
type: porsche
#template: porsche
title: Taycan
user: *****
password: *****
vin: *****
icon: car
identifiers:
- '0000000000000000'
capacity: 93.4
phases: 3
onIdentify: # set defaults when vehicle is identified
mode: pv # enable PV-charging when vehicle is identified off pv minpv now
mincurrent: 6 #bislang aus 6
maxcurrent: 16 #bislag aus 32
priority: 1
- name: my_car3audi
type: audi
title: e-tron # Wird in der Benutzeroberfläche angezeigt (optional)
user: *****
password: *****
vin: *****
icon: car
identifiers:
- '0000000000000000'
capacity: 95 # Akkukapazität in kWh (optional)
phases: 3
onIdentify: # set defaults when vehicle is identified
mode: pv # enable PV-charging when vehicle is identified
mincurrent: 6 #bislang aus 6
maxcurrent: 16 #bislag aus 32
priority: 2
loadpoints:
- title: Garage aussen
charger: wallbox1
mode: off # charge mode (off, now, minpv, pv)
phases: 0
#mincurrent: 2 #bisher 6
#maxcurrent: 32
priority: 2
vehicle: my_car1smart
#resetOnDisconnect: true
# soc:
# poll:
# mode: charging
# interval: 60m
# estimate: true
# enable: # Definiert das Verhalten, wann im PV Modus das Laden begonnen wird. Ebenso definiert es das Verhalten bei Phasenumstellung von 1P auf 3P
# threshold: 0
# delay: 1m
# disable:
# threshold: 0 # maximum import power (W)
# delay: 3m
- title: Garage innen
charger: wallbox2
mode: off # charge mode (off, now, minpv, pv)
phases: 0
#mincurrent: 2 #bisher 6
#maxcurrent: 32
priority: 1
vehicle: my_car3audi
#resetOnDisconnect: true
# soc:
# poll:
# mode: charging
# interval: 60m
# estimate: true
# enable: # Definiert das Verhalten, wann im PV Modus das Laden begonnen wird. Ebenso definiert es das Verhalten bei Phasenumstellung von 1P auf 3P
# threshold: 0
# delay: 1m
# disable:
# threshold: 0 # maximum import power (W)
# delay: 3m
site:
title: Büro
meters:
grid: grid1 # Konfiguration mit Solaredge Wechselrichter
# grid: my_grid #tibber Konfiguration
pv:
- pv1
- pv2
- pv3
- pv4
battery:
- battery1
- battery2
residualpower: 100 #additional houshold usage margin
#prioritySoc: 50 # give home battery priority up to this soc (empty to disable)
#bufferSoc: 70 # continue charging on battery above soc (0 to disable)
#bufferStartSoc: 60 # start charging on battery above soc (0 to disable)
tariffs:
currency: EUR
grid:
type: tibber
token: *****
homeid: # # optional if multiple homes associated to account
feedin:
# rate for feeding excess (pv) energy to the grid
type: fixed
price: 0.09 # 0,09 [currency]/kWh
co2:
type: grünstromindex
zip: 73776 # For post codes with leading zeros, enclose in ""
Version: `0.125.0 (1d4e6959)`
Log details
[main ] INFO 2024/04/26 11:40:44 evcc 0.125.0 (1d4e6959)
[main ] INFO 2024/04/26 11:40:44 using config file: /etc/evcc.yaml
[main ] INFO 2024/04/26 11:40:44 starting ui and api at :7070
[db ] INFO 2024/04/26 11:40:45 using sqlite database: /home/rherre/.evcc/evcc.db
[lp-1 ] DEBUG 2024/04/26 11:40:56 charge total import: 2066.787kWh
[lp-2 ] DEBUG 2024/04/26 11:40:56 charge total import: 1842.832kWh
[site ] INFO 2024/04/26 11:40:56 site config:
[site ] INFO 2024/04/26 11:40:56 meters: grid ✓ pv ✓ battery ✓
[site ] INFO 2024/04/26 11:40:56 grid: power ✓ energy ✗ currents ✗
[site ] INFO 2024/04/26 11:40:56 pv 1: power ✓ energy ✗ currents ✗
[site ] INFO 2024/04/26 11:40:56 pv 2: power ✓ energy ✗ currents ✗
[site ] INFO 2024/04/26 11:40:56 pv 3: power ✓ energy ✓ currents ✓
[site ] INFO 2024/04/26 11:40:56 pv 4: power ✓ energy ✓ currents ✓
[site ] INFO 2024/04/26 11:40:56 battery 1: power ✓ energy ✗ currents ✗ soc ✓ capacity ✓
[site ] INFO 2024/04/26 11:40:56 battery 2: power ✓ energy ✗ currents ✗ soc ✓ capacity ✓
[site ] INFO 2024/04/26 11:40:56 vehicles:
[site ] INFO 2024/04/26 11:40:56 vehicle 1: range ✓ finish ✗ status ✓ climate ✗ wakeup ✗
[site ] INFO 2024/04/26 11:40:56 vehicle 2: range ✓ finish ✓ status ✓ climate ✓ wakeup ✓
[site ] INFO 2024/04/26 11:40:56 vehicle 3: range ✓ finish ✓ status ✓ climate ✓ wakeup ✓
[lp-1 ] INFO 2024/04/26 11:40:56 loadpoint 1:
[lp-1 ] INFO 2024/04/26 11:40:56 mode: off
[lp-1 ] INFO 2024/04/26 11:40:56 charger: power ✓ energy ✓ currents ✓ phases ✓ wakeup ✗
[lp-1 ] INFO 2024/04/26 11:40:56 meters: charge ✓
[lp-1 ] INFO 2024/04/26 11:40:56 charge: power ✓ energy ✓ currents ✓
[lp-2 ] INFO 2024/04/26 11:40:56 loadpoint 2:
[lp-2 ] INFO 2024/04/26 11:40:56 mode: off
[lp-2 ] INFO 2024/04/26 11:40:56 charger: power ✓ energy ✓ currents ✓ phases ✓ wakeup ✗
[lp-2 ] INFO 2024/04/26 11:40:56 meters: charge ✓
[lp-2 ] INFO 2024/04/26 11:40:56 charge: power ✓ energy ✓ currents ✓
[lp-1 ] DEBUG 2024/04/26 11:40:56 phase timer inactive
[lp-1 ] DEBUG 2024/04/26 11:40:56 pv timer inactive
[lp-1 ] INFO 2024/04/26 11:40:56 vehicle updated: unknown -> smart
[lp-1 ] DEBUG 2024/04/26 11:40:56 set charge mode: pv
[lp-2 ] DEBUG 2024/04/26 11:40:56 phase timer inactive
[lp-2 ] DEBUG 2024/04/26 11:40:56 pv timer inactive
[lp-2 ] INFO 2024/04/26 11:40:56 vehicle updated: unknown -> e-tron
[lp-2 ] DEBUG 2024/04/26 11:40:56 set charge mode: pv
[lp-2 ] DEBUG 2024/04/26 11:40:56 max charge current: 6A
[site ] WARN 2024/04/26 11:40:56 interval <30s can lead to unexpected behavior, see https://docs.evcc.io/docs/reference/configuration/interval
[site ] DEBUG 2024/04/26 11:40:56 ----
[lp-1 ] DEBUG 2024/04/26 11:40:56 charge power: 0W
[lp-2 ] DEBUG 2024/04/26 11:40:56 charge power: 1354W
[site ] DEBUG 2024/04/26 11:40:57 pv power: 3524W
[site ] DEBUG 2024/04/26 11:40:57 battery 1 power: -0W
[site ] DEBUG 2024/04/26 11:40:57 battery 1 soc: 19%
[site ] DEBUG 2024/04/26 11:40:57 battery 2 power: -185W
[site ] DEBUG 2024/04/26 11:40:58 battery 2 soc: 20%
[site ] DEBUG 2024/04/26 11:40:58 battery soc: 20%
[site ] DEBUG 2024/04/26 11:40:58 battery power: -185W
[site ] DEBUG 2024/04/26 11:40:58 grid meter: -503W
[site ] DEBUG 2024/04/26 11:40:58 site power: -588W
[lp-1 ] DEBUG 2024/04/26 11:40:59 vehicle odometer: 40303km
[lp-1 ] DEBUG 2024/04/26 11:40:59 charge currents: [0 0 0]A
[lp-1 ] DEBUG 2024/04/26 11:40:59 charge total import: 2066.787kWh
[lp-1 ] DEBUG 2024/04/26 11:40:59 charger status: B
[lp-1 ] DEBUG 2024/04/26 11:40:59 charge start energy: 2.07e+03kWh
[lp-1 ] INFO 2024/04/26 11:40:59 car connected
[lp-1 ] DEBUG 2024/04/26 11:40:59 pv timer elapse
[lp-1 ] DEBUG 2024/04/26 11:40:59 pv timer inactive
[lp-1 ] DEBUG 2024/04/26 11:40:59 charge total import: 2066.787kWh
[lp-1 ] DEBUG 2024/04/26 11:40:59 vehicle status: B
[lp-1 ] DEBUG 2024/04/26 11:40:59 vehicle soc: 43%
[lp-1 ] DEBUG 2024/04/26 11:40:59 vehicle range: 40km
[lp-1 ] DEBUG 2024/04/26 11:40:59 pv charge current: 2.56A = 0A + 2.56A (-588W @ 1p)
[lp-1 ] DEBUG 2024/04/26 11:40:59 pv enable timer reset
[lp-1 ] DEBUG 2024/04/26 11:40:59 pv timer inactive
[site ] DEBUG 2024/04/26 11:40:59 ----
[lp-1 ] DEBUG 2024/04/26 11:40:59 charge power: 0W
[lp-2 ] DEBUG 2024/04/26 11:40:59 charge power: 1352W
[site ] DEBUG 2024/04/26 11:41:00 pv power: 3066W
[site ] DEBUG 2024/04/26 11:41:00 battery 1 power: -0W
[site ] DEBUG 2024/04/26 11:41:00 battery 1 soc: 19%
[site ] DEBUG 2024/04/26 11:41:00 battery 2 power: -0W
[site ] DEBUG 2024/04/26 11:41:00 battery 2 soc: 20%
[site ] DEBUG 2024/04/26 11:41:00 battery soc: 20%
[site ] DEBUG 2024/04/26 11:41:00 battery power: 0W
[site ] DEBUG 2024/04/26 11:41:00 grid meter: 154W
[site ] DEBUG 2024/04/26 11:41:00 site power: 254W
[lp-1 ] DEBUG 2024/04/26 11:41:00 vehicle odometer: 40303km
[lp-1 ] DEBUG 2024/04/26 11:41:00 charge currents: [0 0 0]A
[lp-1 ] DEBUG 2024/04/26 11:41:00 charge total import: 2066.787kWh
[lp-1 ] DEBUG 2024/04/26 11:41:00 charger status: B
[lp-1 ] DEBUG 2024/04/26 11:41:00 pv charge current: 0A = 0A + -1.1A (254W @ 1p)
[site ] DEBUG 2024/04/26 11:41:01 ----
[lp-1 ] DEBUG 2024/04/26 11:41:01 charge power: 0W
[lp-2 ] DEBUG 2024/04/26 11:41:01 charge power: 1351W
[site ] DEBUG 2024/04/26 11:41:05 pv power: 3212W
[site ] DEBUG 2024/04/26 11:41:06 battery 1 power: -162W
[site ] DEBUG 2024/04/26 11:41:06 battery 1 soc: 19%
[site ] DEBUG 2024/04/26 11:41:07 battery 2 power: -408W
[site ] DEBUG 2024/04/26 11:41:07 battery 2 soc: 20%
[site ] DEBUG 2024/04/26 11:41:07 battery soc: 20%
[site ] DEBUG 2024/04/26 11:41:07 battery power: -570W
[site ] DEBUG 2024/04/26 11:41:07 grid meter: 77W
[site ] DEBUG 2024/04/26 11:41:07 site power: -393W
[lp-2 ] DEBUG 2024/04/26 11:41:09 vehicle odometer: 61911km
[lp-2 ] DEBUG 2024/04/26 11:41:09 charge currents: [5.88 0 0]A
[lp-2 ] DEBUG 2024/04/26 11:41:09 charge total import: 1842.837kWh
[lp-2 ] DEBUG 2024/04/26 11:41:09 charger status: C
[lp-2 ] DEBUG 2024/04/26 11:41:09 charge start energy: 1.84e+03kWh
[lp-2 ] INFO 2024/04/26 11:41:09 car connected
[lp-2 ] DEBUG 2024/04/26 11:41:09 pv timer elapse
[lp-2 ] DEBUG 2024/04/26 11:41:09 pv timer inactive
[lp-2 ] DEBUG 2024/04/26 11:41:09 charge total import: 1842.837kWh
[lp-2 ] DEBUG 2024/04/26 11:41:09 charge start energy: 1.84e+03kWh
[lp-2 ] INFO 2024/04/26 11:41:09 start charging ->
[lp-2 ] DEBUG 2024/04/26 11:41:09 wake-up timer: stop
[lp-2 ] DEBUG 2024/04/26 11:41:09 vehicle status: C
[lp-2 ] DEBUG 2024/04/26 11:41:09 vehicle soc: 77%
[lp-2 ] DEBUG 2024/04/26 11:41:09 vehicle soc limit: 80%
[lp-2 ] DEBUG 2024/04/26 11:41:09 vehicle range: 217km
[lp-2 ] DEBUG 2024/04/26 11:41:09 pv charge current: 6.57A = 6A + 0.57A (-393W @ 3p)
[lp-2 ] DEBUG 2024/04/26 11:41:09 pv timer reset
[lp-2 ] DEBUG 2024/04/26 11:41:09 pv timer inactive
[lp-2 ] DEBUG 2024/04/26 11:41:09 max charge current: 6.57A
[site ] DEBUG 2024/04/26 11:41:09 ----
[lp-1 ] DEBUG 2024/04/26 11:41:09 charge power: 0W
[lp-2 ] DEBUG 2024/04/26 11:41:09 charge power: 1353W
[main ] DEBUG 2024/04/26 11:41:09 lp Garage aussen at prio 3 gets additional 1353W from Garage innen at prio 2, total 1353W
[site ] DEBUG 2024/04/26 11:41:11 pv power: 3283W
[site ] DEBUG 2024/04/26 11:41:11 battery 1 power: -247W
[site ] DEBUG 2024/04/26 11:41:11 battery 1 soc: 19%
[site ] DEBUG 2024/04/26 11:41:12 battery 2 power: -334W
[site ] DEBUG 2024/04/26 11:41:12 battery 2 soc: 20%
[site ] DEBUG 2024/04/26 11:41:12 battery soc: 20%
[site ] DEBUG 2024/04/26 11:41:12 battery power: -581W
[site ] DEBUG 2024/04/26 11:41:12 grid meter: 62W
[site ] DEBUG 2024/04/26 11:41:12 giving loadpoint priority for additional: 1353W
[site ] DEBUG 2024/04/26 11:41:12 site power: -1772W
What type of operating system are you running?
Linux
Version
125.0
Dieser Fehler an einer Keba P30 X Series mit Phasenumschaltung kommt seit dem Firmwareupdate auf 0.1.17.2 mit der 0.1.17.1 lief alles tadellos.
Dann hat wohl KEBA etwas geändert- was? Gibts ein Ticket bei Keba? Kein evcc Thema...
Der Fehler führt zum Aufhängen der Wallboxsteuerung. Keine Regelung mehr möglich. Leider sehe ich in der debug Ausgabe unten keinen Fehler....
Ich auch nicht- daher nicht nachvollziehbar. Was hängt sich da auf?
Die Ansteuerung der Schalter Aus PV Min+PV bzw Schnell
Abhilfe schafft nur Evcc stoppen und neu starten..... aber dann geht es nach kurzer Zeit von vorne los.
Ich bin noch weiter am ausprobieren.....verbringe schon Stunden damit, den Fehler einzugrenzen. Er tritt aber erst seit dem neuesten FW Update von KEBA auf.
Ich glaube insbesondere dann, wenn man von PV bzw Min+PV auf Schnell umschaltet. Dann hängt sich Evcc auf. Vielleicht reagiert der Phasenumschalter S10 auf die neue FW anders. Die Meldung mit dem Wert 4 verstehe ich auch nicht.
Dann hat wohl KEBA etwas geändert- was? Gibts ein Ticket bei Keba? Kein evcc Thema...
Ich mache hier mal zu bis es dazu Klarheit gibt.
Hier nochmals ein Foto der LOGS aus der UI,anders kann ich es nicht drucken oder kopieren
Übrigens, mit dem kurzen Interval hat es nichts zu tun, habe das bereits mit über 30s und über 60s probiert. Die Fehlermeldungen und das Aufhängen der Regelung kommen immernoch, nur später.
Mach doch mal bei Keba ein Ticket dafür auf. Ich hab das Problem auch.....
Habe mit denen heute telefoniert.... bin mal gespannt, ob da was kommt. Mir würde schon helfen wenn jemand weiß wie man ein FW downgrade bei KEBA macht. Sobald ich was Neues weiß, gebe ich Bescheid.
Ich bin gespannt....
Fürs erste bleibt uns nur, die Steuerung der Wallbox über UDP zu regeln. Ich hoffe es kann uns noch jemand helfen. EVCC ist absolute Spitze 🤩🤩🤩