Nachdem ich ja nun mein Verkabelnungsproblem gelöst habe, bin ich mit der .262 immer noch unglücklich. Die openWB Buchse, der nur Ladepunkt ist, hat das Kabel verriegelt und möchte es auch nicht freigeben. Ladeversuche schlagen fehl, auch wenn ich die openWB als eigenständigen Ladepunkt konfiguriere. Es kommen ganz wilde Meldungen im debug.log:
Code: Alles auswählen
AttributeError: 'ModbusIOException' object has no attribute 'registers'
llv1 = struct.unpack('>f',struct.pack('>HH',*resp.registers))
File "/var/www/html/openWB/modules/sdm120modbusll/readsdm1.py", line 18, in <module>
Traceback (most recent call last):
AttributeError: 'ModbusIOException' object has no attribute 'registers'
llv1 = struct.unpack('>f',struct.pack('>HH',*resp.registers))
File "/var/www/html/openWB/modules/sdm120modbusll/readsdm1.py", line 18, in <module>
Traceback (most recent call last):
AttributeError: 'ModbusIOException' object has no attribute 'registers'
llv1 = struct.unpack('>f',struct.pack('>HH',*resp.registers))
File "/var/www/html/openWB/modules/sdm120modbusll/readsdm1.py", line 18, in <module>
Traceback (most recent call last):
AttributeError: 'ModbusIOException' object has no attribute 'registers'
llv1 = struct.unpack('>f',struct.pack('>HH',*resp.registers))
File "/var/www/html/openWB/modules/sdm120modbusll/readsdm1.py", line 18, in <module>
Traceback (most recent call last):
AttributeError: 'ModbusIOException' object has no attribute 'registers'
llv1 = struct.unpack('>f',struct.pack('>HH',*resp.registers))
File "/var/www/html/openWB/modules/sdm120modbusll/readsdm1.py", line 18, in <module>
Traceback (most recent call last):
AttributeError: 'ModbusIOException' object has no attribute 'registers'
llv1 = struct.unpack('>f',struct.pack('>HH',*resp.registers))
File "/var/www/html/openWB/modules/sdm120modbusll/readsdm1.py", line 18, in <module>
Traceback (most recent call last):
AttributeError: 'ModbusIOException' object has no attribute 'registers'
llv1 = struct.unpack('>f',struct.pack('>HH',*resp.registers))
File "/var/www/html/openWB/modules/sdm120modbusll/readsdm1.py", line 18, in <module>
Traceback (most recent call last):
AttributeError: 'ModbusIOException' object has no attribute 'registers'
llv1 = struct.unpack('>f',struct.pack('>HH',*resp.registers))
File "/var/www/html/openWB/modules/sdm120modbusll/readsdm1.py", line 18, in <module>
Traceback (most recent call last):
AttributeError: 'ModbusIOException' object has no attribute 'registers'
llv1 = struct.unpack('>f',struct.pack('>HH',*resp.registers))
File "/var/www/html/openWB/modules/sdm120modbusll/readsdm1.py", line 18, in <module>
Traceback (most recent call last):
AttributeError: 'ModbusIOException' object has no attribute 'registers'
llv1 = struct.unpack('>f',struct.pack('>HH',*resp.registers))
File "/var/www/html/openWB/modules/sdm120modbusll/readsdm1.py", line 18, in <module>
Traceback (most recent call last):
AttributeError: 'ModbusIOException' object has no attribute 'registers'
llv1 = struct.unpack('>f',struct.pack('>HH',*resp.registers))
File "/var/www/html/openWB/modules/sdm120modbusll/readsdm1.py", line 18, in <module>
Traceback (most recent call last):
AttributeError: 'ModbusIOException' object has no attribute 'registers'
llv1 = struct.unpack('>f',struct.pack('>HH',*resp.registers))
File "/var/www/html/openWB/modules/sdm120modbusll/readsdm1.py", line 18, in <module>
Traceback (most recent call last):
AttributeError: 'ModbusIOException' object has no attribute 'registers'
llv1 = struct.unpack('>f',struct.pack('>HH',*resp.registers))
File "/var/www/html/openWB/modules/sdm120modbusll/readsdm1.py", line 18, in <module>
Traceback (most recent call last):
2022-04-03 13:25:03: PID: 10786: ##### cron5min.sh finished ##### (LV0)
2022-04-03 13:25:01: PID: 10786: ##### cron5min.sh started ##### (LV0)
AttributeError: 'ModbusIOException' object has no attribute 'registers'
llv1 = struct.unpack('>f',struct.pack('>HH',*resp.registers))
File "/var/www/html/openWB/modules/sdm120modbusll/readsdm1.py", line 18, in <module>
Traceback (most recent call last):
AttributeError: 'ModbusIOException' object has no attribute 'registers'
llv1 = struct.unpack('>f',struct.pack('>HH',*resp.registers))
File "/var/www/html/openWB/modules/sdm120modbusll/readsdm1.py", line 18, in <module>
Traceback (most recent call last):
AttributeError: 'ModbusIOException' object has no attribute 'registers'
llv1 = struct.unpack('>f',struct.pack('>HH',*resp.registers))
File "/var/www/html/openWB/modules/sdm120modbusll/readsdm1.py", line 18, in <module>
Traceback (most recent call last):
serial.serialutil.SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?)
'device reports readiness to read but returned no data '
File "/usr/local/lib/python2.7/dist-packages/serial/serialposix.py", line 501, in read
result = self.socket.read(size)
File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 555, in _recv
return self._recv(size)
File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 88, in recv
result = self.client.recv(size)
File "/usr/local/lib/python2.7/dist-packages/pymodbus/framer/rtu_framer.py", line 286, in recvPacket
read_min = self.client.framer.recvPacket(min_size)
File "/usr/local/lib/python2.7/dist-packages/pymodbus/transaction.py", line 241, in _recv
result = self._recv(response_length, full)
File "/usr/local/lib/python2.7/dist-packages/pymodbus/transaction.py", line 212, in _transact
full=full
File "/usr/local/lib/python2.7/dist-packages/pymodbus/transaction.py", line 140, in execute
return self.transaction.execute(request)
File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 108, in execute
return self.execute(request)
File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/common.py", line 125, in read_input_registers
resp = client.read_input_registers(0x00,2, unit=sdmid)
File "/var/www/html/openWB/modules/sdm120modbusll/readsdm1.py", line 17, in <module>
Traceback (most recent call last):
AttributeError: 'ModbusIOException' object has no attribute 'registers'
llv1 = struct.unpack('>f',struct.pack('>HH',*resp.registers))
File "/var/www/html/openWB/modules/sdm120modbusll/readsdm1.py", line 18, in <module>
Traceback (most recent call last):
AttributeError: 'ModbusIOException' object has no attribute 'registers'
llv1 = struct.unpack('>f',struct.pack('>HH',*resp.registers))
File "/var/www/html/openWB/modules/sdm120modbusll/readsdm1.py", line 18, in <module>
Traceback (most recent call last):
serial.serialutil.SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?)
'device reports readiness to read but returned no data '
File "/usr/local/lib/python2.7/dist-packages/serial/serialposix.py", line 501, in read
result = self.socket.read(size)
File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 555, in _recv
return self._recv(size)
File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 88, in recv
result = self.client.recv(size)
File "/usr/local/lib/python2.7/dist-packages/pymodbus/framer/rtu_framer.py", line 286, in recvPacket
read_min = self.client.framer.recvPacket(min_size)
File "/usr/local/lib/python2.7/dist-packages/pymodbus/transaction.py", line 241, in _recv
result = self._recv(response_length, full)
File "/usr/local/lib/python2.7/dist-packages/pymodbus/transaction.py", line 212, in _transact
full=full
File "/usr/local/lib/python2.7/dist-packages/pymodbus/transaction.py", line 140, in execute
return self.transaction.execute(request)
File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 108, in execute
return self.execute(request)
File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/common.py", line 125, in read_input_registers
resp = client.read_input_registers(0x00,2, unit=sdmid)
File "/var/www/html/openWB/modules/sdm120modbusll/readsdm1.py", line 17, in <module>
Traceback (most recent call last):
AttributeError: 'ModbusIOException' object has no attribute 'registers'
llv1 = struct.unpack('>f',struct.pack('>HH',*resp.registers))
File "/var/www/html/openWB/modules/sdm120modbusll/readsdm1.py", line 18, in <module>
Traceback (most recent call last):
AttributeError: 'ModbusIOException' object has no attribute 'registers'
llv1 = struct.unpack('>f',struct.pack('>HH',*resp.registers))
File "/var/www/html/openWB/modules/sdm120modbusll/readsdm1.py", line 18, in <module>
Traceback (most recent call last):
AttributeError: 'ModbusIOException' object has no attribute 'registers'
llv1 = struct.unpack('>f',struct.pack('>HH',*resp.registers))
File "/var/www/html/openWB/modules/sdm120modbusll/readsdm1.py", line 18, in <module>
Traceback (most recent call last):
AttributeError: 'ModbusIOException' object has no attribute 'registers'
llv1 = struct.unpack('>f',struct.pack('>HH',*resp.registers))
File "/var/www/html/openWB/modules/sdm120modbusll/readsdm1.py", line 18, in <module>
Traceback (most recent call last):
serial.serialutil.SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?)
'device reports readiness to read but returned no data '
File "/usr/local/lib/python2.7/dist-packages/serial/serialposix.py", line 501, in read
result = self.socket.read(size)
File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 555, in _recv
return self._recv(size)
File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 88, in recv
result = self.client.recv(size)
File "/usr/local/lib/python2.7/dist-packages/pymodbus/framer/rtu_framer.py", line 286, in recvPacket
result = self.client.framer.recvPacket(expected_response_length)
File "/usr/local/lib/python2.7/dist-packages/pymodbus/transaction.py", line 276, in _recv
result = self._recv(response_length, full)
File "/usr/local/lib/python2.7/dist-packages/pymodbus/transaction.py", line 212, in _transact
full=full
File "/usr/local/lib/python2.7/dist-packages/pymodbus/transaction.py", line 140, in execute
return self.transaction.execute(request)
File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 108, in execute
return self.execute(request)
File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/common.py", line 125, in read_input_registers
resp = client.read_input_registers(0x00,2, unit=sdmid)
File "/var/www/html/openWB/modules/sdm120modbusll/readsdm1.py", line 17, in <module>
Traceback (most recent call last):
AttributeError: 'ModbusIOException' object has no attribute 'registers'
llv1 = struct.unpack('>f',struct.pack('>HH',*resp.registers))
File "/var/www/html/openWB/modules/sdm120modbusll/readsdm1.py", line 18, in <module>
Traceback (most recent call last):
AttributeError: 'ModbusIOException' object has no attribute 'registers'
llv1 = struct.unpack('>f',struct.pack('>HH',*resp.registers))
File "/var/www/html/openWB/modules/sdm120modbusll/readsdm1.py", line 18, in <module>
Traceback (most recent call last):
AttributeError: 'ModbusIOException' object has no attribute 'registers'
llv1 = struct.unpack('>f',struct.pack('>HH',*resp.registers))
File "/var/www/html/openWB/modules/sdm120modbusll/readsdm1.py", line 18, in <module>
Traceback (most recent call last):
AttributeError: 'ModbusIOException' object has no attribute 'registers'
llv1 = struct.unpack('>f',struct.pack('>HH',*resp.registers))
File "/var/www/html/openWB/modules/sdm120modbusll/readsdm1.py", line 18, in <module>
Traceback (most recent call last):
AttributeError: 'ModbusIOException' object has no attribute 'registers'
llv1 = struct.unpack('>f',struct.pack('>HH',*resp.registers))
File "/var/www/html/openWB/modules/sdm120modbusll/readsdm1.py", line 18, in <module>
Traceback (most recent call last):
serial.serialutil.SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?)
'device reports readiness to read but returned no data '
File "/usr/local/lib/python2.7/dist-packages/serial/serialposix.py", line 501, in read
result = self.socket.read(size)
File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 555, in _recv
return self._recv(size)
File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 88, in recv
result = self.client.recv(size)
File "/usr/local/lib/python2.7/dist-packages/pymodbus/framer/rtu_framer.py", line 286, in recvPacket
read_min = self.client.framer.recvPacket(min_size)
File "/usr/local/lib/python2.7/dist-packages/pymodbus/transaction.py", line 241, in _recv
result = self._recv(response_length, full)
File "/usr/local/lib/python2.7/dist-packages/pymodbus/transaction.py", line 212, in _transact
full=full
File "/usr/local/lib/python2.7/dist-packages/pymodbus/transaction.py", line 140, in execute
return self.transaction.execute(request)
File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 108, in execute
return self.execute(request)
File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/common.py", line 125, in read_input_registers
resp = client.read_input_registers(0x00,2, unit=sdmid)
File "/var/www/html/openWB/modules/sdm120modbusll/readsdm1.py", line 17, in <module>
Traceback (most recent call last):
AttributeError: 'ModbusIOException' object has no attribute 'registers'
llv1 = struct.unpack('>f',struct.pack('>HH',*resp.registers))
File "/var/www/html/openWB/modules/sdm120modbusll/readsdm1.py", line 18, in <module>
Traceback (most recent call last):
AttributeError: 'ModbusIOException' object has no attribute 'registers'
llv1 = struct.unpack('>f',struct.pack('>HH',*resp.registers))
File "/var/www/html/openWB/modules/sdm120modbusll/readsdm1.py", line 18, in <module>
Traceback (most recent call last):
AttributeError: 'ModbusIOException' object has no attribute 'registers'
llv1 = struct.unpack('>f',struct.pack('>HH',*resp.registers))
File "/var/www/html/openWB/modules/sdm120modbusll/readsdm1.py", line 18, in <module>
Traceback (most recent call last):
AttributeError: 'ModbusIOException' object has no attribute 'registers'
llv1 = struct.unpack('>f',struct.pack('>HH',*resp.registers))
File "/var/www/html/openWB/modules/sdm120modbusll/readsdm1.py", line 18, in <module>
Traceback (most recent call last):
loadvars.sh: Zeile 1292: ((: == 1 : Syntax Fehler: Operator erwartet. (Fehlerverursachendes Zeichen ist \"== 1 \").
AttributeError: 'ModbusIOException' object has no attribute 'registers'
llv1 = struct.unpack('>f',struct.pack('>HH',*resp.registers))
File "/var/www/html/openWB/modules/sdm120modbusll/readsdm1.py", line 18, in <module>
Traceback (most recent call last):
2022-04-03 13:21:11: PID: 16798: ungültiger Wert für pv2watt: (LV0)
loadvars.sh: Zeile 502: modules//main.sh: Datei oder Verzeichnis nicht gefunden
AttributeError: 'ModbusIOException' object has no attribute 'registers'
llv1 = struct.unpack('>f',struct.pack('>HH',*resp.registers))
File "/var/www/html/openWB/modules/sdm120modbusll/readsdm1.py", line 18, in <module>
Traceback (most recent call last):
Das mit dem modbus und dem nicht vorhandenen Attribut "registers" habe ich auch im Master:
Da morgen nun wieder die Woche beginnt, gehe ich nun auf meine alte Version .249 zurück und beende den Ausflug auf die neue "stable".
Edit: mit der .249 war auch sofort das Kabel in der Buchse freigegeben. Ich habe den Eindruck, da kann die .262 noch nicht so recht mit umgehen.