SoC Mini funktioniert nicht

Alles rund um SoC (Ladezustand des Fahrzeuges). Probleme, Fragen, Fehlfunktionen gehören hier hin
Schlecht02
Beiträge: 15
Registriert: So Apr 11, 2021 2:27 pm

SoC Mini funktioniert nicht

Beitrag von Schlecht02 »

Servus,
das Anzeigen desSoC vom Mini funktioniert nicht. Die Anleitung mit dem Capture lösen habe ich mehrfach durchgeführt, ohne Erfolg. Kann mir jemand sagen was da falsch läuft und zwar ohne die ganzen Fachbegriffe.
Das Fahrzeug ist ein Mini SE von 2021, die Wallbox eine Custom1/2 auch aus 2021.Die Software ist auf dem aktuellsten Stand.
Hier wäre noch der Log:

2026-01-24 15:11:04,558 - {bimmer_connected.api.authentication:88} - {ERROR:fetch soc_ev0} - MyBMWAuthError due to HTTPStatusError: Blocked
2026-01-24 15:11:04,564 - {modules.vehicles.bmwbc.api:386} - {ERROR:fetch soc_ev0} - bmwbc.fetch_soc: requestData Error, vehicle_id: 0
2026-01-24 15:11:04,571 - {modules.common.fault_state:45} - {ERROR:fetch soc_ev0} - BMW & Mini : FaultState FaultStateLevel.ERROR, FaultStr <class 'Exception'> ('Der SoC kann nicht ausgelesen werden: SoC Request failed. Die Berechnung vom letzten bekannten Soc ist nicht möglich, weil kein Fahrzeug eingesteckt ist.',), Traceback:
Traceback (most recent call last):
File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 420, in raise_for_status_event_handler
response.raise_for_status()
File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_models.py", line 829, in raise_for_status
raise HTTPStatusError(message, request=request, response=self)
httpx.HTTPStatusError: Client error '489 Blocked' for url 'https://cocoapi.bmwgroup.com/eadrax-ucs ... uth/config'
For more information check: https://developer.mozilla.org/en-US/doc ... Status/489

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/vehicles/bmwbc/api.py", line 285, in _fetch_soc
await self._auth[user_id].login()
File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 138, in login
token_data = await self._login_row_na()
File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 165, in _login_row_na
r_oauth_settings = await client.get(
File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1768, in get
return await self.request(
File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1540, in request
return await self.send(request, auth=auth, follow_redirects=follow_redirects)
File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1629, in send
response = await self._send_handling_auth(
File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1657, in _send_handling_auth
response = await self._send_handling_redirects(
File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1715, in _send_handling_redirects
raise exc
File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1697, in _send_handling_redirects
await hook(response)
File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 422, in raise_for_status_event_handler
await handle_httpstatuserror(ex, module="AUTH", log_handler=_LOGGER)
File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/utils.py", line 91, in handle_httpstatuserror
raise _ex_to_raise(_err_message) from ex
bimmer_connected.models.MyBMWAuthError: HTTPStatusError: Blocked

The above exception was the direct cause of the following exception:

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/bmwbc/soc.py", line 20, in updater
return api.fetch_soc(
File "/var/www/html/openWB/packages/modules/vehicles/bmwbc/api.py", line 405, in fetch_soc
soc, range, soc_tsX = loop.run_until_complete(api._fetch_soc(user_id, password, vin, captcha_token, vehicle_id))
File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
return future.result()
File "/var/www/html/openWB/packages/modules/vehicles/bmwbc/api.py", line 391, in _fetch_soc
raise Exception("SoC Request failed") from err
Exception: SoC Request failed

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: SoC Request failed. Die Berechnung vom letzten bekannten Soc ist nicht möglich, weil kein Fahrzeug eingesteckt ist.

2026-01-24 15:11:16,867 - {bimmer_connected.api.authentication:88} - {ERROR:fetch soc_ev0} - MyBMWAuthError due to HTTPStatusError: Blocked
2026-01-24 15:11:16,872 - {modules.vehicles.bmwbc.api:386} - {ERROR:fetch soc_ev0} - bmwbc.fetch_soc: requestData Error, vehicle_id: 0
2026-01-24 15:11:16,880 - {modules.common.fault_state:45} - {ERROR:fetch soc_ev0} - BMW & Mini : FaultState FaultStateLevel.ERROR, FaultStr <class 'Exception'> ('Der SoC kann nicht ausgelesen werden: SoC Request failed. Die Berechnung vom letzten bekannten Soc ist nicht möglich, weil kein Fahrzeug eingesteckt ist.',), Traceback:
Traceback (most recent call last):
File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 420, in raise_for_status_event_handler
response.raise_for_status()
File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_models.py", line 829, in raise_for_status
raise HTTPStatusError(message, request=request, response=self)
httpx.HTTPStatusError: Client error '489 Blocked' for url 'https://cocoapi.bmwgroup.com/eadrax-ucs ... uth/config'
For more information check: https://developer.mozilla.org/en-US/doc ... Status/489

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/vehicles/bmwbc/api.py", line 285, in _fetch_soc
await self._auth[user_id].login()
File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 138, in login
token_data = await self._login_row_na()
File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 165, in _login_row_na
r_oauth_settings = await client.get(
File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1768, in get
return await self.request(
File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1540, in request
return await self.send(request, auth=auth, follow_redirects=follow_redirects)
File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1629, in send
response = await self._send_handling_auth(
File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1657, in _send_handling_auth
response = await self._send_handling_redirects(
File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1715, in _send_handling_redirects
raise exc
File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1697, in _send_handling_redirects
await hook(response)
File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 422, in raise_for_status_event_handler
await handle_httpstatuserror(ex, module="AUTH", log_handler=_LOGGER)
File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/utils.py", line 91, in handle_httpstatuserror
raise _ex_to_raise(_err_message) from ex
bimmer_connected.models.MyBMWAuthError: HTTPStatusError: Blocked

The above exception was the direct cause of the following exception:

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/bmwbc/soc.py", line 20, in updater
return api.fetch_soc(
File "/var/www/html/openWB/packages/modules/vehicles/bmwbc/api.py", line 405, in fetch_soc
soc, range, soc_tsX = loop.run_until_complete(api._fetch_soc(user_id, password, vin, captcha_token, vehicle_id))
File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
return future.result()
File "/var/www/html/openWB/packages/modules/vehicles/bmwbc/api.py", line 391, in _fetch_soc
raise Exception("SoC Request failed") from err
Exception: SoC Request failed

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: SoC Request failed. Die Berechnung vom letzten bekannten Soc ist nicht möglich, weil kein Fahrzeug eingesteckt ist.

2026-01-24 15:16:17,941 - {bimmer_connected.api.authentication:88} - {ERROR:fetch soc_ev0} - MyBMWAuthError due to HTTPStatusError: Blocked
2026-01-24 15:16:17,947 - {modules.vehicles.bmwbc.api:386} - {ERROR:fetch soc_ev0} - bmwbc.fetch_soc: requestData Error, vehicle_id: 0
2026-01-24 15:16:17,955 - {modules.common.fault_state:45} - {ERROR:fetch soc_ev0} - BMW & Mini : FaultState FaultStateLevel.ERROR, FaultStr <class 'Exception'> ('Der SoC kann nicht ausgelesen werden: SoC Request failed. Die Berechnung vom letzten bekannten Soc ist nicht möglich, weil kein Fahrzeug eingesteckt ist.',), Traceback:
Traceback (most recent call last):
File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 420, in raise_for_status_event_handler
response.raise_for_status()
File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_models.py", line 829, in raise_for_status
raise HTTPStatusError(message, request=request, response=self)
httpx.HTTPStatusError: Client error '489 Blocked' for url 'https://cocoapi.bmwgroup.com/eadrax-ucs ... uth/config'
For more information check: https://developer.mozilla.org/en-US/doc ... Status/489

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/vehicles/bmwbc/api.py", line 285, in _fetch_soc
await self._auth[user_id].login()
File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 138, in login
token_data = await self._login_row_na()
File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 165, in _login_row_na
r_oauth_settings = await client.get(
File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1768, in get
return await self.request(
File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1540, in request
return await self.send(request, auth=auth, follow_redirects=follow_redirects)
File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1629, in send
response = await self._send_handling_auth(
File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1657, in _send_handling_auth
response = await self._send_handling_redirects(
File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1715, in _send_handling_redirects
raise exc
File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1697, in _send_handling_redirects
await hook(response)
File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 422, in raise_for_status_event_handler
await handle_httpstatuserror(ex, module="AUTH", log_handler=_LOGGER)
File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/utils.py", line 91, in handle_httpstatuserror
raise _ex_to_raise(_err_message) from ex
bimmer_connected.models.MyBMWAuthError: HTTPStatusError: Blocked

The above exception was the direct cause of the following exception:

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/bmwbc/soc.py", line 20, in updater
return api.fetch_soc(
File "/var/www/html/openWB/packages/modules/vehicles/bmwbc/api.py", line 405, in fetch_soc
soc, range, soc_tsX = loop.run_until_complete(api._fetch_soc(user_id, password, vin, captcha_token, vehicle_id))
File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
return future.result()
File "/var/www/html/openWB/packages/modules/vehicles/bmwbc/api.py", line 391, in _fetch_soc
raise Exception("SoC Request failed") from err
Exception: SoC Request failed

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: SoC Request failed. Die Berechnung vom letzten bekannten Soc ist nicht möglich, weil kein Fahrzeug eingesteckt ist.
seaspotter
Beiträge: 485
Registriert: Do Mär 03, 2022 8:09 pm
Has thanked: 125 times
Been thanked: 102 times

Re: SoC Mini funktioniert nicht

Beitrag von seaspotter »

Schlecht02 hat geschrieben: Sa Jan 24, 2026 2:51 pm Servus,
das Anzeigen desSoC vom Mini funktioniert nicht. Die Anleitung mit dem Capture lösen habe ich mehrfach durchgeführt, ohne Erfolg. Kann mir jemand sagen was da falsch läuft und zwar ohne die ganzen Fachbegriffe.
Das Fahrzeug ist ein Mini SE von 2021, die Wallbox eine Custom1/2 auch aus 2021.Die Software ist auf dem aktuellsten Stand.
Hier wäre noch der Log:
Zum einen wärst du hier richtig aufgehoben: viewtopic.php?t=4870 und dort bitte erstmal die letzten paar Seiten im Thread lesen, dann wärst du grundsätzlich erstmal schlauer was aktueller Stand bei BWM/Mini ist

Zum anderen Code bitte auf https://paste.openwb.de/ hochladen oder die Code Funktion im Forum nehmen, damit es lesbar bleibt.
Zuletzt geändert von seaspotter am Sa Jan 24, 2026 4:08 pm, insgesamt 1-mal geändert.
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
Schlecht02
Beiträge: 15
Registriert: So Apr 11, 2021 2:27 pm

Re: SoC Mini funktioniert nicht

Beitrag von Schlecht02 »

Genau das meinte ich. Ich habe das gelesen und werde das einfach nicht schlau daraus. Dann wird von dir ein Link verschickt der nicht funktioniert und von Codefunktionen geredet die ich nicht finde.
Es gibt auch Leute die sich nicht 24/7 mit den Themen auseinandersetzen und einfache Lösungen brauchen ohne sich tagelang durch Beiträge zu wühlen.
seaspotter
Beiträge: 485
Registriert: Do Mär 03, 2022 8:09 pm
Has thanked: 125 times
Been thanked: 102 times

Re: SoC Mini funktioniert nicht

Beitrag von seaspotter »

Schlecht02 hat geschrieben: Sa Jan 24, 2026 3:52 pm Genau das meinte ich. Ich habe das gelesen und werde das einfach nicht schlau daraus. Dann wird von dir ein Link verschickt der nicht funktioniert und von Codefunktionen geredet die ich nicht finde.
Es gibt auch Leute die sich nicht 24/7 mit den Themen auseinandersetzen und einfache Lösungen brauchen ohne sich tagelang durch Beiträge zu wühlen.
Alles hier viewtopic.php?t=1526 erklärt. Aber einfacher wäre es gewesen gleich im richtigen Thread zu fragen/bleiben.
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
aiole
Beiträge: 8787
Registriert: Mo Okt 08, 2018 4:51 pm
Has thanked: 184 times
Been thanked: 211 times

Re: SoC Mini funktioniert nicht

Beitrag von aiole »

Schlecht02 hat geschrieben: Sa Jan 24, 2026 3:52 pm Es gibt auch Leute die sich nicht 24/7 mit den Themen auseinandersetzen und einfache Lösungen brauchen ohne sich tagelang durch Beiträge zu wühlen.
Verständlich, allerdings ist es auch nicht zu viel verlangt, die letzten 2 thread-Seiten zu LESEN ;) .
Hier wird gespendet, um freiwillige SoC-Programmierer:innen zu motivieren (automatischer SoC ist kein openWB-Basisfeature).
viewtopic.php?p=138774#p138774
Schlecht02
Beiträge: 15
Registriert: So Apr 11, 2021 2:27 pm

Re: SoC Mini funktioniert nicht

Beitrag von Schlecht02 »

OpenWB hatte damals mit dieser Funktion geworben. Ich finde es entäuschend dass sowas nicht offiziell läuft und das auf andere abgewälzt wird
aiole
Beiträge: 8787
Registriert: Mo Okt 08, 2018 4:51 pm
Has thanked: 184 times
Been thanked: 211 times

Re: SoC Mini funktioniert nicht

Beitrag von aiole »

Nun - es funktioniert ja auch mit der Direktauslesung der Pro-Varianten. Dies ist eine deutlich sichere Alternative im Vergleich zu den diversen Fahrzeug-Apps/API, welche sich leider im Daueränderungsmodus seitens der Hersteller befinden. DAS ist enttäuschend.
openWB
Site Admin
Beiträge: 9997
Registriert: So Okt 07, 2018 1:50 pm
Has thanked: 130 times
Been thanked: 318 times

Re: SoC Mini funktioniert nicht

Beitrag von openWB »

Schlecht02 hat geschrieben: Sa Jan 24, 2026 7:44 pm OpenWB hatte damals mit dieser Funktion geworben. Ich finde es entäuschend dass sowas nicht offiziell läuft und das auf andere abgewälzt wird
Kannst du mir bitte sagen wo damit geworben wurde und wie?

Oder meinst du unsere Werbung der Direktauslesung des SoC per Kabel (openWB Pro)?
Supportanfragen bitte NICHT per PN stellen.
Hardwareprobleme bitte über die Funktion Debug Daten senden mitteilen oder per Mail an support@openwb.de
Schlecht02
Beiträge: 15
Registriert: So Apr 11, 2021 2:27 pm

Re: SoC Mini funktioniert nicht

Beitrag von Schlecht02 »

Das ist schon 5 Jahre her aber es war mit ein Grund mich für die OpenWB zu entscheiden.
Schlecht02
Beiträge: 15
Registriert: So Apr 11, 2021 2:27 pm

Re: SoC Mini funktioniert nicht

Beitrag von Schlecht02 »

aiole hat geschrieben: Sa Jan 24, 2026 11:41 pm Nun - es funktioniert ja auch mit der Direktauslesung der Pro-Varianten. Dies ist eine deutlich sichere Alternative im Vergleich zu den diversen Fahrzeug-Apps/API, welche sich leider im Daueränderungsmodus seitens der Hersteller befinden. DAS ist enttäuschend.
Laut ihrer Liste funktioniert es eben auch nur bei bestimmten Fahrzeugen. Bei meinem Mini aus 2021 eben nicht.
Antworten