Seite 118 von 118

Re: Support: EVCC

Verfasst: Mo Dez 01, 2025 6:42 am
von seaspotter
Kilian83 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://openwb.de/main/?page_id=628
https://www.youtube.com/@openwbwallbox9101/videos

Re: Support: EVCC

Verfasst: Mi Dez 03, 2025 8:48 pm
von Kilian83
OK, hab mir jetzt die sd Karte mit dem Software Update bestellt. Kann ich das als Laie einstecken? Ist der SD Slot leicht zugĂ€ngig? Ich hoffe ich bekomme das Update hin, liest sich nicht so easy wie erhofft 😅
VG Kilian

Re: Support: EVCC

Verfasst: Do Dez 04, 2025 6:49 pm
von aiole
Einfach Schritt fĂŒr Schritt der Anleitung folgen. Bei openWB mit Display kommst du leichter an die SD-Karte als bei denen ohne Display (im Netz gibt's viele Bilder zum RPi3-SD-Kartenslot).
FĂŒr ev. Fragen beim Umstieg -> Bitte neuen thread aufmachen, um diesen hier nicht zu "verschmutzen".

Re: Support: EVCC

Verfasst: Do Dez 04, 2025 7:01 pm
von Kilian83
Super, danke.
Nochmal zu diesem topic hier: bei meinen EUP mit EVCC token geht die SOC Abfrage nun wieder, auch bei der alten Software (1.9.304.0 nightly).
VG Kilian

Re: Support: EVCC

Verfasst: Do Dez 18, 2025 9:15 am
von Extrahirn
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.



Re: Support: EVCC

Verfasst: Sa Dez 20, 2025 11:54 am
von HansR
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
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?

Re: Support: EVCC

Verfasst: Do Dez 25, 2025 9:00 pm
von gerstengarbe
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.


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.
Den Stream habe ich auch aktiviert und dort erhÀlt am separate API Stream Zugangsdaten, die aber im OpenWB EVCC Konfig Feldern nirgends hinterlegt werden können.
Hat es schon jemand zum Laufen gebracht und könnte eine Anleitung posten?