Support: EVCC

Alles rund um SoC (Ladezustand des Fahrzeuges). Probleme, Fragen, Fehlfunktionen gehören hier hin
seaspotter
Beiträge: 454
Registriert: Do Mär 03, 2022 8:09 pm
Has thanked: 120 times
Been thanked: 94 times

Re: Support: EVCC

Beitrag 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
15,36 kWp mit Sungrow SH10RT V112 (via LAN), 12,8 kWh Sungrow SBR128 und SMA STP6.0-3AV-40
2x OpenWB Series2 custom – 11 kW und 22kW
IDM Aero SLM Wärmepumpe
Renault Megane E-Tech EV60 - VW Golf8 Hybrid
Kilian83
Beiträge: 181
Registriert: Fr Nov 13, 2020 6:28 pm
Has thanked: 3 times
Been thanked: 1 time

Re: Support: EVCC

Beitrag 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
aiole
Beiträge: 8711
Registriert: Mo Okt 08, 2018 4:51 pm
Has thanked: 174 times
Been thanked: 201 times

Re: Support: EVCC

Beitrag 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".
Kilian83
Beiträge: 181
Registriert: Fr Nov 13, 2020 6:28 pm
Has thanked: 3 times
Been thanked: 1 time

Re: Support: EVCC

Beitrag 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
Extrahirn
Beiträge: 66
Registriert: Fr Dez 04, 2020 8:13 pm
Has thanked: 2 times
Been thanked: 7 times

Re: Support: EVCC

Beitrag 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.


OpenWB standard Series 2+ | MINI SE
HansR
Beiträge: 153
Registriert: So Jan 09, 2022 6:59 pm
Been thanked: 4 times

Re: Support: EVCC

Beitrag 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?
SolarEdge StorEdge Dreiphasen-Wechselrichter SE10K
Solarmodul Heckert Nemo 60M 2.0 320 Wp Black
12,8 kWP
BYD BATTERY-BOX PREMIUM LVS 8.0
LP1: openWB series2 standard+ 22KW => Cupra Born
LP2: openWB series2 custom 22KW => Hyundai I5
Antworten