habe nochmal einen neuen Token, direkt von der EVCC-Seite benutzt, geht trotzdem nicht.
Nach dem Umstellen des Logs auf "Details" (vielleicht sieht man da mehr) folgender Eintrag beim SOC-Abruf:
Code: Alles auswählen
2024-04-02 15:35:04,200 - {modules.common.configurable_vehicle:56} - {DEBUG:fetch soc_ev2} - Vehicle Instance <class 'modules.vehicles.evcc.config.EVCCVehicleSoc'>
2024-04-02 15:35:04,204 - {modules.common.configurable_vehicle:57} - {DEBUG:fetch soc_ev2} - Calculated SoC-State CalculatedSocState(imported_start=0, manual_soc=None, soc_start=0)
2024-04-02 15:35:04,207 - {modules.common.configurable_vehicle:58} - {DEBUG:fetch soc_ev2} - Vehicle Update Data VehicleUpdateData(plug_state=True, charge_state=False, imported=3969989.01, battery_capacity=86000, efficiency=90, soc_from_cp=None, timestamp_soc_from_cp=None)
2024-04-02 15:35:04,210 - {modules.common.configurable_vehicle:59} - {DEBUG:fetch soc_ev2} - General Config GeneralVehicleConfig(use_soc_from_cp=False, request_interval_charging=600, request_interval_not_charging=7200, request_only_plugged=False)
2024-04-02 15:35:04,211 - {modules.common.component_context:25} - {DEBUG:fetch soc_ev2} - Update Komponente ['EVCC']
2024-04-02 15:35:04,214 - {modules.vehicles.evcc.api:52} - {DEBUG:fetch soc_ev2} - Fetching EVCC SOC
2024-04-02 15:35:04,219 - {modules.vehicles.evcc.api:64} - {DEBUG:fetch soc_ev2} - Vehicle id found in config: 92
2024-04-02 15:35:04,219 - {modules.vehicles.evcc.api:66} - {DEBUG:fetch soc_ev2} - Fetching SoC for vehicle id: 92
2024-04-02 15:35:04,376 - {modules.common.fault_state:49} - {ERROR:fetch soc_ev2} - EVCC: FaultState FaultStateLevel.ERROR, FaultStr <class 'grpc.RpcError'> (<_InactiveRpcError of RPC that terminated with:
status = StatusCode.UNKNOWN
details = "vehicle not available"
debug_error_string = "UNKNOWN:Error received from peer {created_time:"2024-04-02T15:35:04.370226698+02:00", grpc_status:2, grpc_message:"vehicle not available"}"
>,), Traceback:
Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/vehicles/evcc/api.py", line 71, 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 {created_time:"2024-04-02T15:35:04.370226698+02:00", grpc_status:2, grpc_message:"vehicle not available"}"
>
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 109, 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 86, in fetch_soc
raise grpc.RpcError(rpc_error)
grpc.RpcError: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.UNKNOWN
details = "vehicle not available"
debug_error_string = "UNKNOWN:Error received from peer {created_time:"2024-04-02T15:35:04.370226698+02:00", grpc_status:2, grpc_message:"vehicle not available"}"
>
Grüße
Proxima