Modbus connection stopped working (KEBA + OpenWB on RPI)

Fragen zur Nutzung, Features, usw..
Antworten
Sceppi
Beiträge: 11
Registriert: So Nov 14, 2021 1:00 pm

Modbus connection stopped working (KEBA + OpenWB on RPI)

Beitrag von Sceppi »

OpenWB version: 1.9.296
Hardware: Keba P30-x charger + OpenWB running on Raspberry Pi 3B+ (stretch)

Hi,

I'm from Belgium so need to post in English.

I have been running OpenWB on my RPI succesfully for the last 2 years. It has always been working excellent! A few days ago, suddenly the communication with my Keba wallbox stopped working. In the http://192.168.2.30/openWB/ramdisk/port.log file, I get the following errors:

Code: Alles auswählen

03/09/2023, 21:59:02 check502.py ipadr 192.168.2.33 Port 502 is open 
Traceback (most recent call last):
  File "/var/www/html/openWB/modules/keballlp1/info.py", line 29, in <module>
    decoder = BinaryPayloadDecoder.fromRegisters(resp.registers,byteorder=Endian.Big,wordorder=Endian.Big)
AttributeError: 'ModbusIOException' object has no attribute 'registers'
Traceback (most recent call last):
  File "/var/www/html/openWB/modules/keballlp1/info.py", line 29, in <module>
    decoder = BinaryPayloadDecoder.fromRegisters(resp.registers,byteorder=Endian.Big,wordorder=Endian.Big)
AttributeError: 'ModbusIOException' object has no attribute 'registers'
Traceback (most recent call last):
...
As you can see, my Modbus connection is failing. Port 502 is open (it always has been the past 2 years, I have not changed this).
I cannot remember when exactly the communication stopped working. Was it related to an update of OpenWB? Perhaps... I cannot recall.

Any idea what is going on here? Any suggestions what I could do to fix?
Thanks!
Antworten