Re: Support: EVCC
Verfasst: Sa Dez 07, 2024 1:53 pm
Moin,
seit ein paar Tagen zeigt die OpenWB den SoC des Skoda (via EVCC) nicht mehr an, ID3 kein Problem. Hänge mal nen Ausschnitt des SoC-log an - hat jemand einen Vorschlag für mich? Was kann ich tun?
Danke, Franz
2024-12-06 22:42:41,611 - {modules.common.configurable_vehicle:56} - {DEBUG:fetch soc_ev11} - Vehicle Instance <class 'modules.vehicles.evcc.config.EVCCVehicleSoc'>
2024-12-06 22:42:41,613 - {modules.common.configurable_vehicle:57} - {DEBUG:fetch soc_ev11} - Calculated SoC-State CalculatedSocState(imported_start=None, manual_soc=None, soc_start=50.0)
2024-12-06 22:42:41,614 - {modules.common.configurable_vehicle:58} - {DEBUG:fetch soc_ev11} - Vehicle Update Data VehicleUpdateData(plug_state=False, charge_state=False, imported=None, battery_capacity=32000, efficiency=95, soc_from_cp=None, timestamp_soc_from_cp=None)
2024-12-06 22:42:41,619 - {modules.common.configurable_vehicle:59} - {DEBUG:fetch soc_ev11} - General Config GeneralVehicleConfig(use_soc_from_cp=False, request_interval_charging=300, request_interval_not_charging=43200, request_only_plugged=False)
2024-12-06 22:42:41,620 - {modules.common.component_context:25} - {DEBUG:fetch soc_ev11} - Update Komponente ['EVCC']
2024-12-06 22:42:41,621 - {modules.vehicles.evcc.api:66} - {DEBUG:fetch soc_ev11} - Fetching EVCC SOC
2024-12-06 22:42:41,629 - {modules.vehicles.evcc.api:79} - {DEBUG:fetch soc_ev11} - Vehicle id found in config: 91
2024-12-06 22:42:41,635 - {modules.vehicles.evcc.api:81} - {DEBUG:fetch soc_ev11} - Fetching SoC for vehicle id: 91
2024-12-06 22:42:41,793 - {modules.vehicles.evcc.api:101} - {DEBUG:fetch soc_ev11} - cached vehicle 91 no longer valid, creating new vehicle
2024-12-06 22:42:42,497 - {modules.common.fault_state:49} - {ERROR:fetch soc_ev11} - EVCC: FaultState FaultStateLevel.ERROR, FaultStr <class 'grpc._channel._InactiveRpcError'> (<grpc._channel._RPCState object at 0x6af61b20>,), Traceback:
Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/vehicles/evcc/api.py", line 86, in fetch_soc
response = stub.SoC(
File "/home/openwb/.local/lib/python3.9/site-packages/grpc/_channel.py", line 1160, in __call__
return _end_unary_response_blocking(state, call, False, None)
File "/home/openwb/.local/lib/python3.9/site-packages/grpc/_channel.py", line 1003, in _end_unary_response_blocking
raise _InactiveRpcError(state) # pytype: disable=not-instantiable
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.UNKNOWN
details = "vehicle not available"
debug_error_string = "UNKNOWN:Error received from peer {grpc_message:"vehicle not available", grpc_status:2, created_time:"2024-12-06T22:42:41.791026369+01:00"}"
>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 66, in update
car_state = self._get_carstate_by_source(vehicle_update_data, source)
File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 110, in _get_carstate_by_source
return self.__component_updater(vehicle_update_data)
File "/var/www/html/openWB/packages/modules/vehicles/evcc/soc.py", line 16, in updater
return fetch_soc(vehicle_config.configuration, vehicle_update_data, vehicle)
File "/var/www/html/openWB/packages/modules/vehicles/evcc/api.py", line 102, in fetch_soc
vehicle_to_fetch = create_and_save_vehicle_id(stub, evcc_config, vehicle)
File "/var/www/html/openWB/packages/modules/vehicles/evcc/api.py", line 52, in create_and_save_vehicle_id
vehicle_to_fetch = create_vehicle(config, stub)
File "/var/www/html/openWB/packages/modules/vehicles/evcc/api.py", line 34, in create_vehicle
response = stub.New(
File "/home/openwb/.local/lib/python3.9/site-packages/grpc/_channel.py", line 1160, in __call__
return _end_unary_response_blocking(state, call, False, None)
File "/home/openwb/.local/lib/python3.9/site-packages/grpc/_channel.py", line 1003, in _end_unary_response_blocking
raise _InactiveRpcError(state) # pytype: disable=not-instantiable
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.UNKNOWN
details = "cannot create vehicle type 'skoda': missing id_token"
debug_error_string = "UNKNOWN:Error received from peer {grpc_message:"cannot create vehicle type \'skoda\': missing id_token", grpc_status:2, created_time:"2024-12-06T22:42:42.490911857+01:00"}"
>
seit ein paar Tagen zeigt die OpenWB den SoC des Skoda (via EVCC) nicht mehr an, ID3 kein Problem. Hänge mal nen Ausschnitt des SoC-log an - hat jemand einen Vorschlag für mich? Was kann ich tun?
Danke, Franz
2024-12-06 22:42:41,611 - {modules.common.configurable_vehicle:56} - {DEBUG:fetch soc_ev11} - Vehicle Instance <class 'modules.vehicles.evcc.config.EVCCVehicleSoc'>
2024-12-06 22:42:41,613 - {modules.common.configurable_vehicle:57} - {DEBUG:fetch soc_ev11} - Calculated SoC-State CalculatedSocState(imported_start=None, manual_soc=None, soc_start=50.0)
2024-12-06 22:42:41,614 - {modules.common.configurable_vehicle:58} - {DEBUG:fetch soc_ev11} - Vehicle Update Data VehicleUpdateData(plug_state=False, charge_state=False, imported=None, battery_capacity=32000, efficiency=95, soc_from_cp=None, timestamp_soc_from_cp=None)
2024-12-06 22:42:41,619 - {modules.common.configurable_vehicle:59} - {DEBUG:fetch soc_ev11} - General Config GeneralVehicleConfig(use_soc_from_cp=False, request_interval_charging=300, request_interval_not_charging=43200, request_only_plugged=False)
2024-12-06 22:42:41,620 - {modules.common.component_context:25} - {DEBUG:fetch soc_ev11} - Update Komponente ['EVCC']
2024-12-06 22:42:41,621 - {modules.vehicles.evcc.api:66} - {DEBUG:fetch soc_ev11} - Fetching EVCC SOC
2024-12-06 22:42:41,629 - {modules.vehicles.evcc.api:79} - {DEBUG:fetch soc_ev11} - Vehicle id found in config: 91
2024-12-06 22:42:41,635 - {modules.vehicles.evcc.api:81} - {DEBUG:fetch soc_ev11} - Fetching SoC for vehicle id: 91
2024-12-06 22:42:41,793 - {modules.vehicles.evcc.api:101} - {DEBUG:fetch soc_ev11} - cached vehicle 91 no longer valid, creating new vehicle
2024-12-06 22:42:42,497 - {modules.common.fault_state:49} - {ERROR:fetch soc_ev11} - EVCC: FaultState FaultStateLevel.ERROR, FaultStr <class 'grpc._channel._InactiveRpcError'> (<grpc._channel._RPCState object at 0x6af61b20>,), Traceback:
Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/vehicles/evcc/api.py", line 86, in fetch_soc
response = stub.SoC(
File "/home/openwb/.local/lib/python3.9/site-packages/grpc/_channel.py", line 1160, in __call__
return _end_unary_response_blocking(state, call, False, None)
File "/home/openwb/.local/lib/python3.9/site-packages/grpc/_channel.py", line 1003, in _end_unary_response_blocking
raise _InactiveRpcError(state) # pytype: disable=not-instantiable
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.UNKNOWN
details = "vehicle not available"
debug_error_string = "UNKNOWN:Error received from peer {grpc_message:"vehicle not available", grpc_status:2, created_time:"2024-12-06T22:42:41.791026369+01:00"}"
>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 66, in update
car_state = self._get_carstate_by_source(vehicle_update_data, source)
File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 110, in _get_carstate_by_source
return self.__component_updater(vehicle_update_data)
File "/var/www/html/openWB/packages/modules/vehicles/evcc/soc.py", line 16, in updater
return fetch_soc(vehicle_config.configuration, vehicle_update_data, vehicle)
File "/var/www/html/openWB/packages/modules/vehicles/evcc/api.py", line 102, in fetch_soc
vehicle_to_fetch = create_and_save_vehicle_id(stub, evcc_config, vehicle)
File "/var/www/html/openWB/packages/modules/vehicles/evcc/api.py", line 52, in create_and_save_vehicle_id
vehicle_to_fetch = create_vehicle(config, stub)
File "/var/www/html/openWB/packages/modules/vehicles/evcc/api.py", line 34, in create_vehicle
response = stub.New(
File "/home/openwb/.local/lib/python3.9/site-packages/grpc/_channel.py", line 1160, in __call__
return _end_unary_response_blocking(state, call, False, None)
File "/home/openwb/.local/lib/python3.9/site-packages/grpc/_channel.py", line 1003, in _end_unary_response_blocking
raise _InactiveRpcError(state) # pytype: disable=not-instantiable
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.UNKNOWN
details = "cannot create vehicle type 'skoda': missing id_token"
debug_error_string = "UNKNOWN:Error received from peer {grpc_message:"cannot create vehicle type \'skoda\': missing id_token", grpc_status:2, created_time:"2024-12-06T22:42:42.490911857+01:00"}"
>