https://openwb.de/main/?page_id=628Kilian83 hat geschrieben: Mo Dez 01, 2025 6:27 am Ahh OK das ging an mir vorbei, sorry. Wie kann ich auf 2.x umsteigen? VG Kilian
https://www.youtube.com/@openwbwallbox9101/videos
https://openwb.de/main/?page_id=628Kilian83 hat geschrieben: Mo Dez 01, 2025 6:27 am Ahh OK das ging an mir vorbei, sorry. Wie kann ich auf 2.x umsteigen? VG Kilian
Code: Alles auswählen
2025-12-18 09:43:55,346 - {modules.common.fault_state:45} - {ERROR:fetch soc_ev0} - EVCC: FaultState FaultStateLevel.ERROR, FaultStr <class 'Exception'> ('Der SoC kann nicht ausgelesen werden: <_InactiveRpcError of RPC that terminated with:\n\tstatus = StatusCode.UNKNOWN\n\tdetails = "cannot create vehicle type \'template\': cannot create vehicle type \'mini\': missing user/password credentials"\n\tdebug_error_string = "UNKNOWN:Error received from peer {grpc_message:"cannot create vehicle type \\\'template\\\': cannot create vehicle type \\\'mini\\\': missing user/password credentials", grpc_status:2, created_time:"2025-12-18T09:43:55.213232033+01:00"}"\n>. Die Berechnung vom letzten bekannten Soc ist nicht möglich, weil kein Fahrzeug eingesteckt ist.',), Traceback:
Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 131, in _get_carstate_by_source
_carState = 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 72, 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 53, 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 'template': cannot create vehicle type 'mini': missing user/password credentials"
debug_error_string = "UNKNOWN:Error received from peer {grpc_message:"cannot create vehicle type \'template\': cannot create vehicle type \'mini\': missing user/password credentials", grpc_status:2, created_time:"2025-12-18T09:43:55.213232033+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 82, 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 156, in _get_carstate_by_source
raise Exception(f"Der SoC kann nicht ausgelesen werden: {e}. {_txt1}{reason}")
Exception: Der SoC kann nicht ausgelesen werden: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.UNKNOWN
details = "cannot create vehicle type 'template': cannot create vehicle type 'mini': missing user/password credentials"
debug_error_string = "UNKNOWN:Error received from peer {grpc_message:"cannot create vehicle type \'template\': cannot create vehicle type \'mini\': missing user/password credentials", grpc_status:2, created_time:"2025-12-18T09:43:55.213232033+01:00"}"
>. Die Berechnung vom letzten bekannten Soc ist nicht möglich, weil kein Fahrzeug eingesteckt ist.
2025-12-18 09:47:07,924 - {modules.common.configurable_vehicle:68} - {DEBUG:fetch soc_ev0} - Vehicle Instance <class 'modules.vehicles.evcc.config.EVCCVehicleSoc'>
2025-12-18 09:47:07,936 - {modules.common.configurable_vehicle:69} - {DEBUG:fetch soc_ev0} - Calculated SoC-State CalculatedSocState(last_imported=0, manual_soc=None)
2025-12-18 09:47:07,944 - {modules.common.configurable_vehicle:70} - {DEBUG:fetch soc_ev0} - Vehicle Update Data VehicleUpdateData(plug_state=False, plug_time=0.0, charge_state=False, imported=7227344.73, battery_capacity=30000, efficiency=89, soc_from_cp=None, timestamp_soc_from_cp=None, last_soc_timestamp=1766038750.939454, last_soc=63)
2025-12-18 09:47:07,955 - {modules.common.configurable_vehicle:71} - {DEBUG:fetch soc_ev0} - General Config GeneralVehicleConfig(use_soc_from_cp=False, request_interval_charging=60, request_interval_not_charging=3600, request_only_plugged=True)
2025-12-18 09:47:07,962 - {modules.common.component_context:29} - {DEBUG:fetch soc_ev0} - Update Komponente ['EVCC']
2025-12-18 09:47:07,969 - {modules.vehicles.evcc.api:67} - {DEBUG:fetch soc_ev0} - Fetching EVCC SOC
2025-12-18 09:47:08,080 - {modules.vehicles.evcc.api:54} - {DEBUG:fetch soc_ev0} - Vehicle client received: 5042
2025-12-18 09:47:08,085 - {modules.vehicles.evcc.api:27} - {DEBUG:fetch soc_ev0} - saving vehicle_id: 5042
2025-12-18 09:47:08,090 - {modules.vehicles.evcc.api:82} - {DEBUG:fetch soc_ev0} - Fetching SoC for vehicle id: 5042
2025-12-18 09:47:08,130 - {modules.common.fault_state:45} - {ERROR:fetch soc_ev0} - EVCC: FaultState FaultStateLevel.ERROR, FaultStr <class 'Exception'> ('Der SoC kann nicht ausgelesen werden: <_InactiveRpcError of RPC that terminated with:\n\tstatus = StatusCode.UNKNOWN\n\tdetails = "cannot create vehicle type \'template\': cannot create vehicle type \'mini\': missing user/password credentials"\n\tdebug_error_string = "UNKNOWN:Error received from peer {created_time:"2025-12-18T09:47:08.114619254+01:00", grpc_status:2, grpc_message:"cannot create vehicle type \\\'template\\\': cannot create vehicle type \\\'mini\\\': missing user/password credentials"}"\n>. Die Berechnung vom letzten bekannten Soc ist nicht möglich, weil kein Fahrzeug eingesteckt ist.',), Traceback:
Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/vehicles/evcc/api.py", line 87, 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 = "cannot create vehicle type 'template': cannot create vehicle type 'mini': missing user/password credentials"
debug_error_string = "UNKNOWN:Error received from peer {created_time:"2025-12-18T09:47:08.114619254+01:00", grpc_status:2, grpc_message:"cannot create vehicle type \'template\': cannot create vehicle type \'mini\': missing user/password credentials"}"
>
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 131, in _get_carstate_by_source
_carState = 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 106, in fetch_soc
raise grpc.RpcError(rpc_error)
grpc.RpcError: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.UNKNOWN
details = "cannot create vehicle type 'template': cannot create vehicle type 'mini': missing user/password credentials"
debug_error_string = "UNKNOWN:Error received from peer {created_time:"2025-12-18T09:47:08.114619254+01:00", grpc_status:2, grpc_message:"cannot create vehicle type \'template\': cannot create vehicle type \'mini\': missing user/password credentials"}"
>
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 82, 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 156, in _get_carstate_by_source
raise Exception(f"Der SoC kann nicht ausgelesen werden: {e}. {_txt1}{reason}")
Exception: Der SoC kann nicht ausgelesen werden: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.UNKNOWN
details = "cannot create vehicle type 'template': cannot create vehicle type 'mini': missing user/password credentials"
debug_error_string = "UNKNOWN:Error received from peer {created_time:"2025-12-18T09:47:08.114619254+01:00", grpc_status:2, grpc_message:"cannot create vehicle type \'template\': cannot create vehicle type \'mini\': missing user/password credentials"}"
>. Die Berechnung vom letzten bekannten Soc ist nicht möglich, weil kein Fahrzeug eingesteckt ist.
Möchte mal nachfragen, keiner in der Runde der den SoC für Hyundai per EVCC ermittelt und neben den SoC auch die Reichweite in Kilometer angezeigt wird?HansR hat geschrieben: Mo Nov 24, 2025 3:40 pm Hallo,
ist es eigentlich möglich, wenn für einen Hyundai der SoC über EVCC ermittelt wird, neben dem SoC auch die Restreichweite in Kilometer anzeigen zu lassen?
Siehe Bildchen, rechts ohne EVCC für den Born, links mit EVCC für den Hyundai.
IMG_1037.jpeg
Gruß
Hans
Ja, dieselbe Frage stelle ich mir auch. Auf der EVCC Seite gibt es für Mini Cardata eine Liste der Attribute, welche im Stream aktiviert sein sollen. Leider gibt es bei Mini nicht alle zum auswählen.Extrahirn hat geschrieben: Do Dez 18, 2025 9:15 am Hi,
Kann man, nachdem BMW die Zugriffsberechtigungen geändert hat,
wieder über EVCC Auf den SoC zugreifen ?
In meinem Fall bezieht sich die Frage eigentlich auf MINI.
Username/pwd, Token, Marke und VIN sind eingegeben.
Ich erhalte folgende Fehlermeldungen:
Code: Alles auswählen
2025-12-18 09:43:55,346 - {modules.common.fault_state:45} - {ERROR:fetch soc_ev0} - EVCC: FaultState FaultStateLevel.ERROR, FaultStr <class 'Exception'> ('Der SoC kann nicht ausgelesen werden: <_InactiveRpcError of RPC that terminated with:\n\tstatus = StatusCode.UNKNOWN\n\tdetails = "cannot create vehicle type \'template\': cannot create vehicle type \'mini\': missing user/password credentials"\n\tdebug_error_string = "UNKNOWN:Error received from peer {grpc_message:"cannot create vehicle type \\\'template\\\': cannot create vehicle type \\\'mini\\\': missing user/password credentials", grpc_status:2, created_time:"2025-12-18T09:43:55.213232033+01:00"}"\n>. Die Berechnung vom letzten bekannten Soc ist nicht möglich, weil kein Fahrzeug eingesteckt ist.',), Traceback: Traceback (most recent call last): File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 131, in _get_carstate_by_source _carState = 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 72, 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 53, 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 'template': cannot create vehicle type 'mini': missing user/password credentials" debug_error_string = "UNKNOWN:Error received from peer {grpc_message:"cannot create vehicle type \'template\': cannot create vehicle type \'mini\': missing user/password credentials", grpc_status:2, created_time:"2025-12-18T09:43:55.213232033+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 82, 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 156, in _get_carstate_by_source raise Exception(f"Der SoC kann nicht ausgelesen werden: {e}. {_txt1}{reason}") Exception: Der SoC kann nicht ausgelesen werden: <_InactiveRpcError of RPC that terminated with: status = StatusCode.UNKNOWN details = "cannot create vehicle type 'template': cannot create vehicle type 'mini': missing user/password credentials" debug_error_string = "UNKNOWN:Error received from peer {grpc_message:"cannot create vehicle type \'template\': cannot create vehicle type \'mini\': missing user/password credentials", grpc_status:2, created_time:"2025-12-18T09:43:55.213232033+01:00"}" >. Die Berechnung vom letzten bekannten Soc ist nicht möglich, weil kein Fahrzeug eingesteckt ist. 2025-12-18 09:47:07,924 - {modules.common.configurable_vehicle:68} - {DEBUG:fetch soc_ev0} - Vehicle Instance <class 'modules.vehicles.evcc.config.EVCCVehicleSoc'> 2025-12-18 09:47:07,936 - {modules.common.configurable_vehicle:69} - {DEBUG:fetch soc_ev0} - Calculated SoC-State CalculatedSocState(last_imported=0, manual_soc=None) 2025-12-18 09:47:07,944 - {modules.common.configurable_vehicle:70} - {DEBUG:fetch soc_ev0} - Vehicle Update Data VehicleUpdateData(plug_state=False, plug_time=0.0, charge_state=False, imported=7227344.73, battery_capacity=30000, efficiency=89, soc_from_cp=None, timestamp_soc_from_cp=None, last_soc_timestamp=1766038750.939454, last_soc=63) 2025-12-18 09:47:07,955 - {modules.common.configurable_vehicle:71} - {DEBUG:fetch soc_ev0} - General Config GeneralVehicleConfig(use_soc_from_cp=False, request_interval_charging=60, request_interval_not_charging=3600, request_only_plugged=True) 2025-12-18 09:47:07,962 - {modules.common.component_context:29} - {DEBUG:fetch soc_ev0} - Update Komponente ['EVCC'] 2025-12-18 09:47:07,969 - {modules.vehicles.evcc.api:67} - {DEBUG:fetch soc_ev0} - Fetching EVCC SOC 2025-12-18 09:47:08,080 - {modules.vehicles.evcc.api:54} - {DEBUG:fetch soc_ev0} - Vehicle client received: 5042 2025-12-18 09:47:08,085 - {modules.vehicles.evcc.api:27} - {DEBUG:fetch soc_ev0} - saving vehicle_id: 5042 2025-12-18 09:47:08,090 - {modules.vehicles.evcc.api:82} - {DEBUG:fetch soc_ev0} - Fetching SoC for vehicle id: 5042 2025-12-18 09:47:08,130 - {modules.common.fault_state:45} - {ERROR:fetch soc_ev0} - EVCC: FaultState FaultStateLevel.ERROR, FaultStr <class 'Exception'> ('Der SoC kann nicht ausgelesen werden: <_InactiveRpcError of RPC that terminated with:\n\tstatus = StatusCode.UNKNOWN\n\tdetails = "cannot create vehicle type \'template\': cannot create vehicle type \'mini\': missing user/password credentials"\n\tdebug_error_string = "UNKNOWN:Error received from peer {created_time:"2025-12-18T09:47:08.114619254+01:00", grpc_status:2, grpc_message:"cannot create vehicle type \\\'template\\\': cannot create vehicle type \\\'mini\\\': missing user/password credentials"}"\n>. Die Berechnung vom letzten bekannten Soc ist nicht möglich, weil kein Fahrzeug eingesteckt ist.',), Traceback: Traceback (most recent call last): File "/var/www/html/openWB/packages/modules/vehicles/evcc/api.py", line 87, 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 = "cannot create vehicle type 'template': cannot create vehicle type 'mini': missing user/password credentials" debug_error_string = "UNKNOWN:Error received from peer {created_time:"2025-12-18T09:47:08.114619254+01:00", grpc_status:2, grpc_message:"cannot create vehicle type \'template\': cannot create vehicle type \'mini\': missing user/password credentials"}" > 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 131, in _get_carstate_by_source _carState = 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 106, in fetch_soc raise grpc.RpcError(rpc_error) grpc.RpcError: <_InactiveRpcError of RPC that terminated with: status = StatusCode.UNKNOWN details = "cannot create vehicle type 'template': cannot create vehicle type 'mini': missing user/password credentials" debug_error_string = "UNKNOWN:Error received from peer {created_time:"2025-12-18T09:47:08.114619254+01:00", grpc_status:2, grpc_message:"cannot create vehicle type \'template\': cannot create vehicle type \'mini\': missing user/password credentials"}" > 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 82, 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 156, in _get_carstate_by_source raise Exception(f"Der SoC kann nicht ausgelesen werden: {e}. {_txt1}{reason}") Exception: Der SoC kann nicht ausgelesen werden: <_InactiveRpcError of RPC that terminated with: status = StatusCode.UNKNOWN details = "cannot create vehicle type 'template': cannot create vehicle type 'mini': missing user/password credentials" debug_error_string = "UNKNOWN:Error received from peer {created_time:"2025-12-18T09:47:08.114619254+01:00", grpc_status:2, grpc_message:"cannot create vehicle type \'template\': cannot create vehicle type \'mini\': missing user/password credentials"}" >. Die Berechnung vom letzten bekannten Soc ist nicht möglich, weil kein Fahrzeug eingesteckt ist.