Kathrein ac35 RFID wird nicht ausgelesen
Describe the bug
Carport: charger vehicle id: modbus: exception '2' (illegal data address), function '3'
Steps to reproduce
...
Configuration details
Mit ‚evcc charger‘ kann der Identifier nicht ermittelt werden. (Siehe Scrennshot)
Log details
site ] DEBUG 2025/09/14 10:49:01 ----
[lp-1 ] DEBUG 2025/09/14 10:49:01 charge power: 0W
[lp-1 ] DEBUG 2025/09/14 10:49:01 charge currents: [0.055 0.053 0.056]A
[lp-2 ] DEBUG 2025/09/14 10:49:01 charge power: 0W
[site ] DEBUG 2025/09/14 10:49:01 grid power: 4W
[site ] DEBUG 2025/09/14 10:49:01 grid currents: [0.96 0.48 0.96]A
[site ] DEBUG 2025/09/14 10:49:01 ext 1 power: -20W
[site ] DEBUG 2025/09/14 10:49:01 battery 1 power: -1289W
[site ] DEBUG 2025/09/14 10:49:01 pv 1 power: 1465W
[site ] DEBUG 2025/09/14 10:49:01 !! solar production: accumulate add pv1 0.000W power (was: Accumulated: 3730.332kWh updated: 2025-09-14 10:48:22 +0200 CEST)
[site ] DEBUG 2025/09/14 10:49:01 !! solar production: accumulate moved pv1 from 3730.332 to 3730.348
[site ] DEBUG 2025/09/14 10:49:02 battery 1 soc: 56%
[site ] DEBUG 2025/09/14 10:49:02 site power: -1035W
[lp-1 ] DEBUG 2025/09/14 10:49:02 vehicle odometer: 13096km
[lp-1 ] DEBUG 2025/09/14 10:49:02 charge voltages: [226 226 226]V
[lp-1 ] DEBUG 2025/09/14 10:49:02 charge total import: 332.855kWh
[lp-1 ] DEBUG 2025/09/14 10:49:02 charger status: B
[lp-1 ] ERROR 2025/09/14 10:49:02 charger vehicle id: modbus: exception '2' (illegal data address), function '3'
[site ] DEBUG 2025/09/14 10:49:02 solar forecast: accumulated -0.245Wh from 2025-09-14 10:48:22 +0200 CEST to 2025-09-14 10:49:02 +0200 CEST
[site ] DEBUG 2025/09/14 10:49:02 solar forecast: produced 3730.348
[site ] DEBUG 2025/09/14 10:49:02 solar forecast: accumulated 3409.382kWh, produced 3730.348kWh, scale 1.094
[site ] DEBUG 2025/09/14 10:49:41 ----
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.207.6
Welche Softwareversion läuft auf der wallbox?
Getestet wurde die Änderung mit 2.7.0, siehe https://docs.evcc.io/docs/devices/chargers#kwb-ac20 und https://github.com/evcc-io/evcc/pull/23349
Version 2.7.0
Spannend, was gibt evcc charger --diagnose aus?
Laut Photovoltaikforum soll man im "Web-Interface unter Einstellungen/Modbus TCP Steuerung die Register-Beschreibung runterladen" können. Kannst du da mal nachschauen und die Beschreibung hochladen?
wb1
---
Power: 0W
Energy: 353.7kWh
Current L1..L3: 0A 0A 0A
Voltage L1..L3: 227V 227V 227V
Charge status: B
Enabled: false
Charged: 0.0kWh
Duration: 13m49s
Phases: 3
Identifier: modbus: exception '2' (illegal data address), function '3'
Diagnostic dump:
Header - Mapping Version: 1
Device - Info: 1
Device - Number: 62007031
Device - Type: ACxxx
Device - Serial: G0S1408384
EVSE - Charging-State: 5
EVSE - Error-State: 0
EVSE - CP-State: 1
EVSE - Relais-State: 0
EVSE - Granted Current: 0 mA
EVSE - Granted Power: 0 W
EMS-Control - Control-Register: 128
EMS-Control - Setpoint Relais-Matrix: 7
EMS-Control - Setpoint Charging Current: 0 mA
EMS-Control - Timeout Period: 0 s
EMS-Control - Timeout Fallback Pattern: 0
EMS-Control - Timeout Fallback Current: 0 mA
Hmm, das Register 70 ist drin. Kannst du einmal evcc charger --log trace ausführen?
[main ] INFO 2025/09/14 11:47:10 using config file: /etc/evcc.yaml
[db ] INFO 2025/09/14 11:47:10 using sqlite database: /var/lib/evcc/evcc.db
.
.
.
[mqtt ] INFO 2025/09/14 11:47:11 connecting evcc at tcp://10.1.1.16:1883
[mqtt ] DEBUG 2025/09/14 11:47:11 tcp://10.1.1.16:1883 connected
[db ] TRACE 2025/09/14 11:47:11 SELECT * FROM `configs` WHERE `configs`.`class` = 1 0 <nil>
[tasmota] TRACE 2025/09/14 11:47:11 GET http://172.16.98.154/cm?cmnd=Status+0&password=47admin%2311&user=admin
[tasmota] TRACE 2025/09/14 11:47:11 {"Status":{"Module":0,"DeviceName":"wallbox-plug","FriendlyName":["Wallbox-Plug"],"Topic":"wallbox","ButtonTopic":"0","Power":"0","PowerLock":"0","PowerOnState":3,"LedState":1,"LedMask":"FFFF","SaveData":1,"SaveState":1,"SwitchTopic":"0","SwitchMode":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"ButtonRetain":0,"SwitchRetain":0,"SensorRetain":0,"PowerRetain":0,"InfoRetain":0,"StateRetain":0,"StatusRetain":0},"StatusPRM":{"Baudrate":115200,"SerialConfig":"8N1","GroupTopic":"tasmotas","OtaUrl":"http://ota.tasmota.com/tasmota/release/tasmota.bin.gz","RestartReason":"Software/System restart","Uptime":"68T21:59:17","StartupUTC":"2025-07-07T11:47:53","Sleep":50,"CfgHolder":4617,"BootCount":80,"BCResetTime":"2025-04-03T11:41:05","SaveCount":496,"SaveAddress":"F7000"},"StatusFWR":{"Version":"14.5.0(release-tasmota)","BuildDateTime":"2025-02-18T14:34:10","Boot":31,"Core":"2_7_8","SDK":"2.2.2-dev(38a443e)","CpuFrequency":80,"Hardware":"ESP8266EX","CR":"413/699"},"StatusLOG":{"SerialLog":2,"WebLog":2,"MqttLog":0,"SysLog":0,"LogHost":"","LogPort":514,"SSId":["kukiot",""],"TelePeriod":300,"Resolution":"558180C0","SetOption":["00208009","2805C80001000600003C5A0A192800000000","00000080","00006000","00004000","00000000"]},"StatusMEM":{"ProgramSize":652,"Free":348,"Heap":21,"ProgramFlashSize":1024,"FlashSize":2048,"FlashChipId":"156085","FlashFrequency":40,"FlashMode":"DOUT","Features":["0809","8F9AC787","04368001","000000CF","010013C0","C000F981","00004004","00001000","54000020","00000080","00000000"],"Drivers":"1,2,3,!4,!5,!6,7,!8,9,10,12,!16,!18,!19,!20,!21,!22,!24,26,!27,29,!30,!35,!37,!45,62,!68","Sensors":"1,2,3,4,5,6","I2CDriver":"7"},"StatusNET":{"Hostname":"wallbox-2162","IPAddress":"172.16.98.154","Gateway":"172.16.98.1","Subnetmask":"255.255.255.0","DNSServer1":"172.16.98.1","DNSServer2":"0.0.0.0","Mac":"40:91:51:64:C8:72","Webserver":2,"HTTP_API":1,"WifiConfig":4,"WifiPower":17.0},"StatusMQT":{"MqttHost":"10.1.1.16","MqttPort":1883,"MqttClientMask":"DVES_%06X","MqttClient":"DVES_64C872","MqttUser":"tasmota","MqttCount":239,"MqttTLS":0,"MAX_PACKET_SIZE":1200,"KEEPALIVE":30,"SOCKET_TIMEOUT":4},"StatusTIM":{"UTC":"2025-09-14T09:47:11Z","Local":"2025-09-14T10:47:11","StartDST":"2025-03-30T02:00:00","EndDST":"2025-10-26T03:00:00","Timezone":"+01:00","Sunrise":"06:25","Sunset":"19:05"},"StatusPTH":{"PowerDelta":0,"PowerLow":0,"PowerHigh":0,"VoltageLow":0,"VoltageHigh":0,"CurrentLow":0,"CurrentHigh":0,"MaxPower":0,"MaxPowerHold":10,"MaxPowerWindow":30,"MaxEnergy":0,"MaxEnergyStart":0},"StatusSNS":{"Time":"2025-09-14T10:47:11","ENERGY":{"TotalStartTime":"2025-04-03T11:41:05","Total":135.520,"Yesterday":0.000,"Today":0.000,"Power":0,"ApparentPower":0,"ReactivePower":0,"Factor":0.00,"Voltage":228,"Current":0.000}},"StatusSTS":{"Time":"2025-09-14T10:47:11","Uptime":"68T21:59:18","UptimeSec":5954358,"Heap":19,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":239,"POWER":"OFF","Wifi":{"AP":1,"SSId":"kukiot","BSSId":"72:D7:9A:DD:02:A2","Channel":11,"Mode":"11n","RSSI":72,"Signal":-64,"LinkCount":6,"Downtime":"0T00:58:48"}}}
wb1
---
[kathrein] TRACE 2025/09/14 11:47:11 modbus: send 00 01 00 00 00 06 01 03 00 54 00 02
[kathrein] TRACE 2025/09/14 11:47:11 modbus: recv 00 01 00 00 00 07 01 03 04 00 00 00 00
[kathrein] TRACE 2025/09/14 11:47:11 modbus: send 00 02 00 00 00 06 01 03 00 5c 00 02
[kathrein] TRACE 2025/09/14 11:47:11 modbus: recv 00 02 00 00 00 07 01 03 04 48 ac b9 60
[kathrein] TRACE 2025/09/14 11:47:11 modbus: send 00 03 00 00 00 06 01 03 00 36 00 06
[kathrein] TRACE 2025/09/14 11:47:11 modbus: recv 00 03 00 00 00 0f 01 03 0c 00 00 00 00 00 00 00 00 00 00 00 00
[kathrein] TRACE 2025/09/14 11:47:11 modbus: send 00 04 00 00 00 06 01 03 00 30 00 06
[kathrein] TRACE 2025/09/14 11:47:11 modbus: recv 00 04 00 00 00 0f 01 03 0c 43 65 03 24 43 64 90 35 43 64 92 44
[kathrein] TRACE 2025/09/14 11:47:11 modbus: send 00 05 00 00 00 06 01 03 00 63 00 01
[kathrein] TRACE 2025/09/14 11:47:11 modbus: recv 00 05 00 00 00 05 01 03 02 00 01
[kathrein] TRACE 2025/09/14 11:47:11 modbus: send 00 06 00 00 00 06 01 03 00 a2 00 01
[kathrein] TRACE 2025/09/14 11:47:11 modbus: recv 00 06 00 00 00 05 01 03 02 00 00
[kathrein] TRACE 2025/09/14 11:47:11 modbus: send 00 07 00 00 00 06 01 03 00 69 00 02
[kathrein] TRACE 2025/09/14 11:47:11 modbus: recv 00 07 00 00 00 07 01 03 04 00 00 00 00
[kathrein] TRACE 2025/09/14 11:47:11 modbus: send 00 08 00 00 00 06 01 03 00 67 00 02
[kathrein] TRACE 2025/09/14 11:47:11 modbus: recv 00 08 00 00 00 07 01 03 04 00 00 08 a7
[kathrein] TRACE 2025/09/14 11:47:11 modbus: send 00 09 00 00 00 06 01 03 00 a1 00 01
[kathrein] TRACE 2025/09/14 11:47:11 modbus: recv 00 09 00 00 00 05 01 03 02 00 07
[kathrein] TRACE 2025/09/14 11:47:11 modbus: send 00 0a 00 00 00 06 01 03 00 70 00 10
[kathrein] TRACE 2025/09/14 11:47:11 modbus: recv 00 0a 00 00 00 03 01 83 02
Power: 0W
Energy: 353.7kWh
Current L1..L3: 0A 0A 0A
Voltage L1..L3: 229V 229V 229V
Charge status: B
Enabled: false
Charged: 0.0kWh
Duration: 36m55s
Phases: 3
Identifier: modbus: exception '2' (illegal data address), function '3'
wb2
---
[tasmota] TRACE 2025/09/14 11:47:11 GET http://172.16.98.154/cm?cmnd=Status+8&password=47admin%2311&user=admin
[tasmota] TRACE 2025/09/14 11:47:12 {"StatusSNS":{"Time":"2025-09-14T10:47:11","ENERGY":{"TotalStartTime":"2025-04-03T11:41:05","Total":135.520,"Yesterday":0.000,"Today":0.000,"Power":0,"ApparentPower":0,"ReactivePower":0,"Factor":0.00,"Voltage":228,"Current":0.000}}}
Power: 0W
Energy: 135.5kWh
Charge status: B
Enabled: false
localadmin@evcc:~ $
I‘m on the current nightly build of evcc (as HA AddOn) and have the 2.7.0 Firmware on my (newly installed) AC-35.
Today I made the first charging test. I can see in evcc, that the charging is active, but I still get the errors in the log. Also I cannot stop/control the charging via evcc. The Modbus-Server is activated in the AC-35.
According the the UI, this is my installed commit: https://github.com/evcc-io/evcc/commit/858deaa2
As additional information: as this ticket is about „RFID wird nicht ausgelesen“, I have free charging activated in the Wallbox, as the Wallbox is installed in my garage and therefore does not need any „protection“. So no RFID Tag was read for this charging session.
[lp-1 ] DEBUG 2025/09/21 11:29:28 charge power: 7180W
[lp-1 ] DEBUG 2025/09/21 11:29:28 charge currents: [15.9 16 0.093]A
[lp-1 ] DEBUG 2025/09/21 11:29:28 charge voltages: [225 226 229]V
[lp-1 ] DEBUG 2025/09/21 11:29:28 detected active phases: 2p
[lp-1 ] DEBUG 2025/09/21 11:29:29 charge total import: 7.851kWh
[lp-1 ] DEBUG 2025/09/21 11:29:29 charger status: C
[lp-1 ] ERROR 2025/09/21 11:29:29 charger vehicle id: modbus: exception '2' (illegal data address), function '3'
[lp-1 ] ERROR 2025/09/21 11:29:29 charger enabled: read tcp 192.168.10.220:55530->192.168.10.222:502: read: connection reset by peer
``` `
Just for mentioning it: it’s the same with the latest nightly build: https://github.com/evcc-io/evcc/commit/dbb165eb
@Dodi1968 implemented and tested the RFID feature. You need to find out why it works on some chargers but not on others. Does it depend on settings (free vs. authentication) or are there different variants of the charger? The Modbus Specs look like it should work, the Kathrein Support should be able to clarify.
Der Fehler tritt vermutlich auf allen Kathrein-Wallboxen auf. Ich konnte das auch erst gestern testen, weil mein Auto seit drei Monaten wegen eines fehlenden Ersatzteils in der Werkstatt war. Die Doku von Kathrein erschien mir eindeutig. Der PR #23608 hat nur bewirkt, dass der Fehler erst beim Start des Ladevorgangs auftritt. Der Ladevorgang wird glücklicherweise durch diesen Fehler nicht beeinflusst. Möglicherweise wird die Anzahl der Register für die RFID-Kennung dynamisch festgelegt, je nach Anzahl der Zeichen. Wir lesen aktuell immer 16 Register aus, weil es so in der Dokumentation von Kathrein steht. Ich würde die Anzahl der Register mal testweise auf 7 reduzieren. Falls das auch nichts bringt, würde ich mich an den Support von Kathrein wenden.
Ich würde eher davon ausgehen, dass die Kathrein Firmware einen Fehler hat.
Probier es doch bitte einfach mit einem Modbus-Tool deiner Wahl selbst aus und/oder frag beim Hersteller nach. Suchespiele sind immer sehr ermüdend.
Danke für den naheliegenden Tipp mit dem Modbus-Tool. Ich denke, ich habe die Lösung gefunden. Es müssen nicht 16 sondern 24 Register ausgelesen werden. Das ist ein Fehler im Modbus-Dokument von Kathrein (ist nicht der erste). Außerdem müssen noch die Null-Bytes am Ende und das Präfix "RFID:" entfernt werden. Mit dem Modbus-Tool konnte ich die RFID auslesen und auch den VOID-Fall nachvollziehen. Einen entsprechenden PR habe ich bereits vorbereitet.
Ich hab bei Kathrein mal auf diese Forumsdiskussion verwiesen. Sie haben jetzt zugegeben, dass die Doku einen Fehler hatte und haben diese korrigiert. Die neue Doku soll demnächst veröffentlicht werden. Ich hab sie hier angehängt. @Kathrein: falls ihr noch mitlest, ich hoffe es ist ok, dass ich sie hier anhänge. Eure Mail hat zumindest nichts gegenteiliges gesagt.
Das spricht aber auch für das Team von @kathrein, dass sie so schnell reagiert haben. Ich hatte den Fehler erst vor zwei Tagen per Ticket gemeldet.