Interner Ladepunkt lädt nicht mehr
Verfasst: Sa Aug 19, 2023 11:27 am
Leider lädt aus irgendeinem Grund die openWB (interner Ladepunkt) bei mir nicht mehr.
Im Logfile des internen Ladepunkts finde ich sowas:
[...]
Ist da irgendwas von der Hardware kaputt?
Verhalten ist sowohl mit dem 2.1.0 Release als auch mit dem aktuellen Master (2023-08-17 16:08:06 +0200 [8e5805847]).
Gleiches BEV lädt am externen Ladepunkt (smartWB) ohne Probleme.
Im Logfile des internen Ladepunkts finde ich sowas:
Code: Alles auswählen
2023-08-19 13:09:44,082 - {modules.common.evse:57} - {DEBUG:Internal Chargepoint} - FW-Version: 15
2023-08-19 13:09:44,084 - {modules.internal_chargepoint_handler.clients:48} - {DEBUG:Internal Chargepoint} - <modules.common.modbus.ModbusSerialClient_ object at 0x71b49ec8>
2023-08-19 13:09:44,085 - {modules.internal_chargepoint_handler.clients:49} - {ERROR:Internal Chargepoint} - Modbus-ID der EVSE an LP0: 1
2023-08-19 13:09:45,099 - {modules.internal_chargepoint_handler.clients:66} - {DEBUG:Internal Chargepoint} - <modules.common.modbus.ModbusSerialClient_ object at 0x71b49ec8>
2023-08-19 13:09:45,100 - {modules.internal_chargepoint_handler.clients:67} - {DEBUG:Internal Chargepoint} - Zähler <class 'modules.common.mpm3pm.Mpm3pm'> mit Modbus-ID:5 antwortet nicht.
2023-08-19 13:09:45,149 - {modules.internal_chargepoint_handler.clients:63} - {ERROR:Internal Chargepoint} - Verbauter Zähler: <class 'modules.common.sdm.Sdm630'> mit Modbus-ID: 105
2023-08-19 13:09:45,310 - {modules.common.evse:57} - {DEBUG:Internal Chargepoint} - FW-Version: 15
2023-08-19 13:09:45,501 - {modules.common.evse:57} - {DEBUG:Internal Chargepoint} - FW-Version: 15
2023-08-19 13:09:45,504 - {modules.common.component_context:24} - {DEBUG:Internal Chargepoint} - Update Komponente ['Ladepunkt 0']
2023-08-19 13:09:45,511 - {modules.common.component_context:24} - {DEBUG:Internal Chargepoint} - Update Komponente ['Ladepunkt 0']
2023-08-19 13:09:45,512 - {modules.internal_chargepoint_handler.internal_chargepoint_handler:167} - {DEBUG:Internal Chargepoint} - ***Start***
2023-08-19 13:09:45,514 - {modules.internal_chargepoint_handler.internal_chargepoint_handler:169} - {DEBUG:Internal Chargepoint} - {'cp0': InternalChargepointHandlerData(cp_interruption_duration=0, parent_cp=None, phases_to_use=0, set_current=0, trigger_phase_switch=False), 'cp1': InternalChargepointHandlerData(cp_interruption_duration=0, parent_cp=None, phases_to_use=0, set_current=0, trigger_phase_switch=False), 'global_data': GlobalHandlerData(heartbeat=0, parent_ip=None, configured=True), 'rfid_data': RfidData(last_tag='')}
2023-08-19 13:09:46,075 - {modules.common.fault_state:52} - {ERROR:Internal Chargepoint} - Ladepunkt 0: FaultState FaultStateLevel.ERROR, FaultStr <class 'KeyError'> 'debug_level', Traceback:
Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/internal_chargepoint_handler/internal_chargepoint_handler.py", line 179, in loop
_loop()
File "/var/www/html/openWB/packages/modules/internal_chargepoint_handler/internal_chargepoint_handler.py", line 170, in _loop
log.setLevel(SubData.system_data["system"].data["debug_level"])
KeyError: 'debug_level'
2023-08-19 13:09:54,380 - {modules.internal_chargepoint_handler.clients:134} - {ERROR:Internal Chargepoint} - LP0 Device: /dev/ttyUSB0
2023-08-19 13:09:54,535 - {modules.common.evse:57} - {DEBUG:Internal Chargepoint} - FW-Version: 15
2023-08-19 13:09:54,536 - {modules.internal_chargepoint_handler.clients:49} - {ERROR:Internal Chargepoint} - Modbus-ID der EVSE an LP0: 1
2023-08-19 13:09:55,605 - {modules.internal_chargepoint_handler.clients:63} - {ERROR:Internal Chargepoint} - Verbauter Zähler: <class 'modules.common.sdm.Sdm630'> mit Modbus-ID: 105
2023-08-19 13:09:55,765 - {modules.common.evse:57} - {DEBUG:Internal Chargepoint} - FW-Version: 15
2023-08-19 13:09:55,973 - {modules.common.evse:57} - {DEBUG:Internal Chargepoint} - FW-Version: 15
2023-08-19 13:09:56,441 - {modules.internal_chargepoint_handler.internal_chargepoint_handler:231} - {ERROR:Internal Chargepoint} - Heartbeat Fehler seit 166s keine Verbindung. Stoppe Ladung.
2023-08-19 13:09:58,073 - {modules.internal_chargepoint_handler.internal_chargepoint_handler:231} - {ERROR:Internal Chargepoint} - Heartbeat Fehler seit 168s keine Verbindung. Stoppe Ladung.
2023-08-19 13:09:59,676 - {modules.internal_chargepoint_handler.internal_chargepoint_handler:231} - {ERROR:Internal Chargepoint} - Heartbeat Fehler seit 169s keine Verbindung. Stoppe Ladung.
2023-08-19 13:15:29,257 - {modules.common.evse:57} - {DEBUG:Internal Chargepoint} - FW-Version: 15
2023-08-19 13:15:29,312 - {modules.common.fault_state:52} - {ERROR:Internal Chargepoint} - Ladepunkt 0: FaultState FaultStateLevel.ERROR, FaultStr modules.internal_chargepoint_handler.chargepoint_module <class 'modules.common.fault_state.FaultState'> ("modules.common.modbus <class 'modules.common.fault_state.FaultState'> ('modules.common.modbus Modbus Error: [Input/Output] Modbus Error: [Invalid Message] No response received, expected at least 2 bytes (0 received)', <FaultStateLevel.ERROR: 2>)", <FaultStateLevel.ERROR: 2>), Traceback:
Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/common/modbus.py", line 85, in __read_registers
raise FaultState.error(__name__+" "+str(response))
modules.common.fault_state.FaultState: ('modules.common.modbus Modbus Error: [Input/Output] Modbus Error: [Invalid Message] No response received, expected at least 2 bytes (0 received)', <FaultStateLevel.ERROR: 2>)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/internal_chargepoint_handler/chargepoint_module.py", line 62, in get_values
plug_state, charge_state, self.set_current_evse = self.__client.evse_client.get_plug_charge_state()
File "/var/www/html/openWB/packages/modules/common/evse.py", line 39, in get_plug_charge_state
set_current, _, state_number = self.client.read_holding_registers(
File "/var/www/html/openWB/packages/modules/common/modbus.py", line 118, in read_holding_registers
return self.__read_registers(
File "/var/www/html/openWB/packages/modules/common/modbus.py", line 100, in __read_registers
raise FaultState.error(__name__+" "+str(type(e))+" " +
modules.common.fault_state.FaultState: ("modules.common.modbus <class 'modules.common.fault_state.FaultState'> ('modules.common.modbus Modbus Error: [Input/Output] Modbus Error: [Invalid Message] No response received, expected at least 2 bytes (0 received)', <FaultStateLevel.ERROR: 2>)", <FaultStateLevel.ERROR: 2>)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/internal_chargepoint_handler/internal_chargepoint_handler.py", line 222, in update
state = self.module.get_values(phase_switch_cp_active, rfid_data.last_tag)[0]
File "/var/www/html/openWB/packages/modules/internal_chargepoint_handler/chargepoint_module.py", line 103, in get_values
raise FaultState.error(__name__ + " " + str(type(e)) + " " + str(e)) from e
modules.common.fault_state.FaultState: ('modules.internal_chargepoint_handler.chargepoint_module <class \'modules.common.fault_state.FaultState\'> ("modules.common.modbus <class \'modules.common.fault_state.FaultState\'> (\'modules.common.modbus Modbus Error: [Input/Output] Modbus Error: [Invalid Message] No response received, expected at least 2 bytes (0 received)\', <FaultStateLevel.ERROR: 2>)", <FaultStateLevel.ERROR: 2>)', <FaultStateLevel.ERROR: 2>)
Code: Alles auswählen
2023-08-19 13:31:16,288 - {modules.internal_chargepoint_handler.internal_chargepoint_handler:131} - {DEBUG:Internal Chargepoint} - Init internal chargepoint as series
2023-08-19 13:31:16,289 - {modules.common.component_context:24} - {DEBUG:Internal Chargepoint} - Update Komponente ['Interner Ladepunkt 0']
2023-08-19 13:31:16,291 - {modules.internal_chargepoint_handler.clients:121} - {DEBUG:Internal Chargepoint} - tty_devices[PosixPath('/dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0')]
2023-08-19 13:31:16,292 - {modules.internal_chargepoint_handler.clients:123} - {DEBUG:Internal Chargepoint} - resolved_devices['/dev/ttyUSB0']
2023-08-19 13:31:16,292 - {modules.internal_chargepoint_handler.clients:134} - {ERROR:Internal Chargepoint} - LP0 Device: /dev/ttyUSB0
2023-08-19 13:31:16,443 - {modules.common.evse:57} - {DEBUG:Internal Chargepoint} - FW-Version: 15
2023-08-19 13:31:16,444 - {modules.internal_chargepoint_handler.clients:48} - {DEBUG:Internal Chargepoint} - <modules.common.modbus.ModbusSerialClient_ object at 0x71b8f0b8>
2023-08-19 13:31:16,444 - {modules.internal_chargepoint_handler.clients:49} - {ERROR:Internal Chargepoint} - Modbus-ID der EVSE an LP0: 1
2023-08-19 13:31:17,456 - {modules.internal_chargepoint_handler.clients:66} - {DEBUG:Internal Chargepoint} - <modules.common.modbus.ModbusSerialClient_ object at 0x71b8f0b8>
2023-08-19 13:31:17,457 - {modules.internal_chargepoint_handler.clients:67} - {DEBUG:Internal Chargepoint} - Zähler <class 'modules.common.mpm3pm.Mpm3pm'> mit Modbus-ID:5 antwortet nicht.
2023-08-19 13:31:17,513 - {modules.internal_chargepoint_handler.clients:63} - {ERROR:Internal Chargepoint} - Verbauter Zähler: <class 'modules.common.sdm.Sdm630'> mit Modbus-ID: 105
2023-08-19 13:31:17,706 - {modules.common.evse:57} - {DEBUG:Internal Chargepoint} - FW-Version: 15
2023-08-19 13:31:17,929 - {modules.common.evse:57} - {DEBUG:Internal Chargepoint} - FW-Version: 15
2023-08-19 13:31:17,930 - {modules.common.component_context:24} - {DEBUG:Internal Chargepoint} - Update Komponente ['Ladepunkt 0']
2023-08-19 13:31:17,955 - {modules.common.component_context:24} - {DEBUG:Internal Chargepoint} - Update Komponente ['Ladepunkt 0']
2023-08-19 13:31:19,962 - {modules.internal_chargepoint_handler.internal_chargepoint_handler:131} - {DEBUG:Internal Chargepoint} - Init internal chargepoint as series
2023-08-19 13:31:19,963 - {modules.common.component_context:24} - {DEBUG:Internal Chargepoint} - Update Komponente ['Interner Ladepunkt 0']
2023-08-19 13:31:19,965 - {modules.internal_chargepoint_handler.clients:121} - {DEBUG:Internal Chargepoint} - tty_devices[PosixPath('/dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0')]
2023-08-19 13:31:19,966 - {modules.internal_chargepoint_handler.clients:123} - {DEBUG:Internal Chargepoint} - resolved_devices['/dev/ttyUSB0']
2023-08-19 13:31:19,967 - {modules.internal_chargepoint_handler.clients:134} - {ERROR:Internal Chargepoint} - LP0 Device: /dev/ttyUSB0
2023-08-19 13:31:20,137 - {modules.common.evse:57} - {DEBUG:Internal Chargepoint} - FW-Version: 15
2023-08-19 13:31:20,157 - {modules.internal_chargepoint_handler.clients:48} - {DEBUG:Internal Chargepoint} - <modules.common.modbus.ModbusSerialClient_ object at 0x71b8fee0>
2023-08-19 13:31:20,164 - {modules.internal_chargepoint_handler.clients:49} - {ERROR:Internal Chargepoint} - Modbus-ID der EVSE an LP0: 1
2023-08-19 13:31:21,217 - {modules.internal_chargepoint_handler.clients:66} - {DEBUG:Internal Chargepoint} - <modules.common.modbus.ModbusSerialClient_ object at 0x71b8fee0>
2023-08-19 13:31:21,218 - {modules.internal_chargepoint_handler.clients:67} - {DEBUG:Internal Chargepoint} - Zähler <class 'modules.common.mpm3pm.Mpm3pm'> mit Modbus-ID:5 antwortet nicht.
2023-08-19 13:31:21,270 - {modules.internal_chargepoint_handler.clients:63} - {ERROR:Internal Chargepoint} - Verbauter Zähler: <class 'modules.common.sdm.Sdm630'> mit Modbus-ID: 105
2023-08-19 13:31:21,446 - {modules.common.evse:57} - {DEBUG:Internal Chargepoint} - FW-Version: 15
2023-08-19 13:31:21,670 - {modules.common.evse:57} - {DEBUG:Internal Chargepoint} - FW-Version: 15
2023-08-19 13:31:21,671 - {modules.common.component_context:24} - {DEBUG:Internal Chargepoint} - Update Komponente ['Ladepunkt 0']
2023-08-19 13:31:21,694 - {modules.common.component_context:24} - {DEBUG:Internal Chargepoint} - Update Komponente ['Ladepunkt 0']
2023-08-19 13:31:21,695 - {modules.internal_chargepoint_handler.internal_chargepoint_handler:169} - {DEBUG:Internal Chargepoint} - ***Start***
2023-08-19 13:31:21,696 - {modules.internal_chargepoint_handler.internal_chargepoint_handler:171} - {DEBUG:Internal Chargepoint} - {'cp0': InternalChargepointHandlerData(cp_interruption_duration=0, parent_cp='3', phases_to_use=3, set_current=0, trigger_phase_switch=False), 'cp1': InternalChargepointHandlerData(cp_interruption_duration=0, parent_cp=None, phases_to_use=0, set_current=0, trigger_phase_switch=False), 'global_data': GlobalHandlerData(heartbeat=1692444680, parent_ip='localhost', configured=True), 'rfid_data': RfidData(last_tag='')}
2023-08-19 13:31:21,702 - {modules.common.fault_state:52} - {ERROR:Internal Chargepoint} - Ladepunkt 0: FaultState FaultStateLevel.ERROR, FaultStr <class 'KeyError'> 'debug_level', Traceback:
Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/internal_chargepoint_handler/internal_chargepoint_handler.py", line 181, in loop
_loop()
File "/var/www/html/openWB/packages/modules/internal_chargepoint_handler/internal_chargepoint_handler.py", line 172, in _loop
log.setLevel(SubData.system_data["system"].data["debug_level"])
KeyError: 'debug_level'
Verhalten ist sowohl mit dem 2.1.0 Release als auch mit dem aktuellen Master (2023-08-17 16:08:06 +0200 [8e5805847]).
Gleiches BEV lädt am externen Ladepunkt (smartWB) ohne Probleme.