SOC BMW

Alles rund um SoC (Ladezustand des Fahrzeuges). Probleme, Fragen, Fehlfunktionen gehören hier hin
rleidner
Beiträge: 1323
Registriert: Mo Nov 02, 2020 9:50 am
Has thanked: 31 times
Been thanked: 102 times

Re: SOC BMW

Beitrag von rleidner »

Die neue Version im Master scheint tatsächlich zu funktionieren - gerade hatte ich einen Fehler 408 der nach Token Refresh (except login) behoben wurde:

Code: Alles auswählen

2025-06-24 11:04:26,411 - {modules.vehicles.bmwbc.api:299} - {INFO:fetch soc_ev4} - PRIMARY  : reload vehicles data/5
2025-06-24 11:04:46,794 - {bimmer_connected.api.client:86} - {ERROR:fetch soc_ev4} - MyBMWAPIError due to HTTPStatusError: {"message":"Request Timeout","statusCode":408}
2025-06-24 11:04:46,802 - {bimmer_connected.account:130} - {ERROR:fetch soc_ev4} - Unable to get details for vehicle WBY8P210X07E99360 - (MyBMWAPIError) HTTPStatusError: {"message":"Request Timeout","statusCode":408}
2025-06-24 11:04:46,809 - {modules.vehicles.bmwbc.api:303} - {INFO:fetch soc_ev4} - PRIMARY  : get_vehicles err= <class 'bimmer_connected.models.MyBMWAPIError'>: HTTPStatusError: {"message":"Request Timeout","statusCode":408}
2025-06-24 11:04:46,817 - {modules.vehicles.bmwbc.api:309} - {INFO:fetch soc_ev4} - PRIMARY  : get_vehicles : Request Timeout
2025-06-24 11:04:46,821 - {modules.vehicles.bmwbc.api:311} - {INFO:fetch soc_ev4} - PRIMARY  : get_vehicles : _err=408
2025-06-24 11:04:56,835 - {modules.vehicles.bmwbc.api:314} - {INFO:fetch soc_ev4} - # before except login:2025-06-24 09:46:01.180015+00:00/********************************
2025-06-24 11:04:57,354 - {modules.vehicles.bmwbc.api:317} - {INFO:fetch soc_ev4} - # after  except login:2025-06-24 10:03:56.167446+00:00/*******************************
2025-06-24 11:04:58,749 - {modules.vehicles.bmwbc.api:355} - {INFO:fetch soc_ev4} - PRIMARY   SOC/Range: 78%/180.0KM@2025-06-24T09:04:57Z
2025-06-24 11:04:58,755 - {modules.vehicles.bmwbc.api:50} - {INFO:fetch soc_ev4} - store file action:store written
2025-06-24 11:04:58,770 - {modules.common.store._api:31} - {INFO:store soc_ev4} - Saving CarState(soc=78, range=180.0, soc_timestamp=1750748697.0)
Ich habe zur Analyse noch relativ viele logs auf level INFO - das werde ich später noch auf level DEBUG ändern.
openWB-2 Standard+ | openWB EVU Kit v2 MID| 9,9kWp mit Kostal Plenticore 8.5 plus | VW ID.3, Kia EV6, Smart EQ forfour
Extrahirn
Beiträge: 52
Registriert: Fr Dez 04, 2020 8:13 pm
Has thanked: 1 time
Been thanked: 4 times

Re: SOC BMW

Beitrag von Extrahirn »

Vielen Dank, ich werde die Version gleich mal installieren
Und testen !
Der nächste Fehler 408 oder 500 kommt bestimmt… ;)
OpenWB standard Series 2+ | MINI SE
gdfde
Beiträge: 140
Registriert: So Mär 10, 2019 1:05 pm
Has thanked: 7 times
Been thanked: 4 times

Re: SOC BMW

Beitrag von gdfde »

rleidner hat geschrieben: So Jun 22, 2025 7:40 pm
Es könnte aber sein, dass durch das Anstecken (und vermutlich den Ladebeginn) vom Fahrzeug ein Update an den CD-Server ging und sich dort etwas verändert hat, das die Neuanmeldung dann ermöglicht hat.

Wenn das wieder auftritt könntest Du versuchen ein Update vom Fahrzeug an den CD-Server zu erzwingen durch:
1) das Fahrzeug auf- und wieder abschließen und wenn das nichts ändert
2) ein paar 100 Meter fahren bis sich der SoC ändert.
hab auf die aktuelle master upgegradet, nachdem ich heute früh wieder den SOC state verloren habe.
Ich konnte aber dann wieder nicht den token erneuern, Auto war/ist nicht angesteckt.

Nachdem ich in der CD App das Auto ein paar mal auf- und zu gemacht habe, blieb der SOC weiterhin auf null.
Ich habe bemerkt, dass das Aktualisierungsdatum in der CD App nicht aktualisert wurde, obwohl die Meldungen erfolgreich ankamen.

nach 10 MInuten oder hat sich dann der Aktualisierungsstatus in der App auch upgedatet, und seitdem hab ich in der WB auch wieder den SOC status.

d.h. das hängt offensichtlich mit dem Aktualisierungstimestamp der CD App zusammen.
rleidner
Beiträge: 1323
Registriert: Mo Nov 02, 2020 9:50 am
Has thanked: 31 times
Been thanked: 102 times

Re: SOC BMW

Beitrag von rleidner »

gdfde hat geschrieben: Di Jun 24, 2025 6:09 pm hab auf die aktuelle master upgegradet, nachdem ich heute früh wieder den SOC state verloren habe.
Ich konnte aber dann wieder nicht den token erneuern, Auto war/ist nicht angesteckt.

Nachdem ich in der CD App das Auto ein paar mal auf- und zu gemacht habe, blieb der SOC weiterhin auf null.
Ich habe bemerkt, dass das Aktualisierungsdatum in der CD App nicht aktualisert wurde, obwohl die Meldungen erfolgreich ankamen.

nach 10 MInuten oder hat sich dann der Aktualisierungsstatus in der App auch upgedatet, und seitdem hab ich in der WB auch wieder den SOC status.

d.h. das hängt offensichtlich mit dem Aktualisierungstimestamp der CD App zusammen.
Das Anmelden mit neuem Captcha sollte eigentlich immer funktionieren - da hatte ich nach spätestens 2 Versuchen immer
Erfolg - das kann man aber nur im Log sehen, Desktop oder Status sagen darüber eher nichts aus.
Ich vermute fast bei Dir funktioniert das Anmelden mit neuem Captcha, in den bisherigen Versionen wurde aber kein neuer Status übernommen, da der vom CD-Server gelieferte Timestamp nicht neuer war als der im CarState der openWB vorhandene.

In der aktuellen Version wird nach Anmelden mit neuem Captcha-Token der Timestamp erst mal auf 1.1.1970 gesetzt, damit auf alle Fälle beim nächsten Update der aktuelle timestamp des Fahrzeuges im CD-Servers in den CarState der openWB übernommen wird.

Also meine Bitte: immer in den SoC-Log sehen, ob es dort Fehler gibt.

Wenn der Fix im aktuellen Master funktioniert, sollte das Problem sowieso nicht mehr auftreten - also bitte weiter beobachten und melden wie es sich verhält.
Als Nicht-BMW-Fahrer kann ich das selbst leider nicht immer sehr zeitnah beobachten.
openWB-2 Standard+ | openWB EVU Kit v2 MID| 9,9kWp mit Kostal Plenticore 8.5 plus | VW ID.3, Kia EV6, Smart EQ forfour
Extrahirn
Beiträge: 52
Registriert: Fr Dez 04, 2020 8:13 pm
Has thanked: 1 time
Been thanked: 4 times

Re: SOC BMW

Beitrag von Extrahirn »

Hier mal ein kurzer Zwischenstand nach 24 h Test:
SoC-Abfrage funktioniert.

Die Fehler 408/500 sind bei mir bislang noch nicht wieder aufgetreten.
Ich checke immer mal wieder das SoC-Log.

Melde mich, sobald es etwas Neues gibt.

Vielen Dank an rleidner, dass du den PR so schnell zur
Verfügung gestellt hast!
OpenWB standard Series 2+ | MINI SE
rleidner
Beiträge: 1323
Registriert: Mo Nov 02, 2020 9:50 am
Has thanked: 31 times
Been thanked: 102 times

Re: SOC BMW

Beitrag von rleidner »

Ich habe eben PR https://github.com/openWB/core/pull/2489 gemacht.
Die Retry-Logik in der letzten Version war noch nicht ganz sauber und wird damit korrigiert.
Bisher wurde nur 1 Retry durchgeführt.

Ich habe gestern zufällig einen Fehler 408 direkt verfolgen können der erst nach 2 Fehlversuchen erfolgreich war.
Ich habe den Eindruck, der CD-Server kommt manchmal unter Stress und wirft dann Fehler 408 bzw. 500.
Der Stresszustand kann wohl auch mal einige Sekunden/Minuten dauern, bis der CD-Server dann wieder normal antwortet.

In dem neuen PR werden bis zu 5 Versuche mit folgender Logik durchgeführt:
_loop=5
while _loop > 0:
- Fahrzeuge abfragen
- Fehler tritt auf:
- 10 sec warten
- Token Refresh
- 5 sec warten
- _loop = _loop - 1
- Fehler tritt nicht auf
- Schleife beenden: _loop = 0

Zusätzlich werden noch einige Dinge auf level INFO in den SoC-Log geschrieben.
Möglicherweise ist der Token Refresh nicht nötig, das werde ich noch mal testen.
openWB-2 Standard+ | openWB EVU Kit v2 MID| 9,9kWp mit Kostal Plenticore 8.5 plus | VW ID.3, Kia EV6, Smart EQ forfour
Placebo2210
Beiträge: 173
Registriert: So Feb 20, 2022 9:09 pm
Has thanked: 1 time
Been thanked: 1 time

Re: SOC BMW

Beitrag von Placebo2210 »

servus,

ich habe aktuell das Problem, dass der Mini den Ladevorgang abbricht.
Ich stecke den Mini ein, er startet auch den LV (SOC = 74% heute beim start), dann läd er laut app auf 77% und sagt dann angehalten.
--> wenn ich das OPENWB chart / DIagramm anschaue, steht dort allerdings auch drin SOC=100%, liegts vielleicht daran, das die WB denk der Wagen ist voll?

Wasmuss ich hier jetzt machen?
Grüße und
27062025.jpg
diag
(769.08 KiB) Noch nie heruntergeladen
Danke
rleidner
Beiträge: 1323
Registriert: Mo Nov 02, 2020 9:50 am
Has thanked: 31 times
Been thanked: 102 times

Re: SOC BMW

Beitrag von rleidner »

Placebo2210 hat geschrieben: Fr Jun 27, 2025 10:03 am servus,

ich habe aktuell das Problem, dass der Mini den Ladevorgang abbricht.
Ich stecke den Mini ein, er startet auch den LV (SOC = 74% heute beim start), dann läd er laut app auf 77% und sagt dann angehalten.
--> wenn ich das OPENWB chart / DIagramm anschaue, steht dort allerdings auch drin SOC=100%, liegts vielleicht daran, das die WB denk der Wagen ist voll?

Wasmuss ich hier jetzt machen?
Grüße und27062025.jpg Danke
Seltsam, das Problem scheint zu sein, dass SoC 100% kommt.
Trotzdem sollte die WB weiterladen, selbst wenn der SoC auf 100% steht...

Einige Fragen dazu:
Beide Ladepunkte zeigen einen Mini an, gibt es den Mini einmal oder sind es 2?
Wenn es nur einer ist kann er nur an einem LP hängen...
Welche Ladepunkte sind das genau, openWB series2 oder pro?
Welches SoC-Modul wird verwendet, BMW & Mini?
Ist SoC direkt aus Fahrzeug auslesen evtl. auf Ja - das geht nur bei der pro?
Welche openWB-SW-Version ist installiert? (Einstellungen - System - Versions-Informationen/Aktualisierung - Entwicklungszweig/Bezeichnung/installierte Version)
Was steht zu dem Fahrzeug im SoC-Log zu dem Zeitpunkt an dem die 100% aufgetaucht sind? (Einstellungen - System - Fehlersuche - SoC-Log)

Seltsam ist auch, dass der SoC von 0% auf 100% springt, das kann ich mir bei dem BMW & Mini Soc-Adapter nicht erklären.
Der hätte bei üblichen Intervallen schon auf 74% stehen müssen...

EDIT: Wenn Du den Ladepunkt in deinem Screenshot aufklappst (+) kannst Du die Begrenzung auf AUS stellen; vielleicht wird dann weiter geladen.
openWB-2 Standard+ | openWB EVU Kit v2 MID| 9,9kWp mit Kostal Plenticore 8.5 plus | VW ID.3, Kia EV6, Smart EQ forfour
Placebo2210
Beiträge: 173
Registriert: So Feb 20, 2022 9:09 pm
Has thanked: 1 time
Been thanked: 1 time

Re: SOC BMW

Beitrag von Placebo2210 »

Also fangen wir mal an:
  • 1. Es gibt den Mini 1x. Erhängt aktuell an LP2 (Da ist ja auch das Steckersymbol gelb) siehe Bild 2
    BILD2.jpg
    Bild2
    (512.66 KiB) Noch nie heruntergeladen
    2. Es sollte eine OpenWB Serie s (DUOS) sein, aber wo kann ich das nachschauen?
    3. Ja BMW & MINI SOC Mod. siehe Bild 1
    BILD1.jpg
    Bild1
    (737.34 KiB) Noch nie heruntergeladen
    4. Denke SOC auslesen passt so, oder? Siehe Bild 3
    BILD3.jpg
    Bild3
    (471.43 KiB) Noch nie heruntergeladen
    5. Version Info, siehe Bild 4
    BILD4.jpg
    Bild4
    (509.76 KiB) Noch nie heruntergeladen
    6. SoC-Limit war auf 100% (sollte ja auch eigentlich passen, oder? Habs jetzt dennoch mal auf AUS geschoben)Jetzt läd er wieder, zumindest hat er gerade mal angefangen. allerdings steht SoC auf 100%, was ja nicht stimmt / nicht so sein sollte
SOC-LOG

Code: Alles auswählen

2025-06-27 11:55:43,008 - {bimmer_connected.api.authentication:86} - {ERROR:fetch soc_ev1} - MyBMWAuthError due to HTTPStatusError: invalid_request - The request is missing a required parameter, includes an unsupported parameter value (other than grant type), repeats a parameter, includes multiple credentials, utilizes more than one mechanism for authenticating the client, or is otherwise malformed
2025-06-27 11:55:43,071 - {modules.vehicles.bmwbc.api:175} - {ERROR:fetch soc_ev1} - bmwbc.fetch_soc: requestData Error, vnum: 1 err=MyBMWCaptchaMissingError('Missing hCaptcha token for login. See https://bimmer-connected.readthedocs.io/en/stable/captcha.html'), type(err)=<class 'bimmer_connected.models.MyBMWCaptchaMissingError'>
2025-06-27 11:55:43,078 - {modules.common.fault_state:49} - {ERROR:fetch soc_ev1} - BMW & Mini : FaultState FaultStateLevel.ERROR, FaultStr <class 'bimmer_connected.models.MyBMWCaptchaMissingError'> ('Missing hCaptcha token for login. See https://bimmer-connected.readthedocs.io/en/stable/captcha.html',), Traceback: 
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 117, in _get_carstate_by_source
    return 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 188, in fetch_soc
    soc, range = loop.run_until_complete(_fetch_soc(user_id, password, vin, captcha_token, vnum))
  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 141, in _fetch_soc
    await account.get_vehicles()
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/account.py", line 114, in get_vehicles
    await self._init_vehicles()
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/account.py", line 86, in _init_vehicles
    vehicle_list_response = await client.post(
  File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1905, in post
    return await self.request(
  File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1585, 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 1674, in send
    response = await self._send_handling_auth(
  File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1720, in _send_handling_auth
    raise exc
  File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1709, in _send_handling_auth
    next_request = await auth_flow.asend(response)
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 118, in async_auth_flow
    await self.login()
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 137, in login
    token_data = await self._login_row_na()
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 159, in _login_row_na
    raise MyBMWCaptchaMissingError(
bimmer_connected.models.MyBMWCaptchaMissingError: Missing hCaptcha token for login. See https://bimmer-connected.readthedocs.io/en/stable/captcha.html

2025-06-27 12:00:44,904 - {bimmer_connected.api.authentication:86} - {ERROR:fetch soc_ev1} - MyBMWAuthError due to HTTPStatusError: invalid_request - The request is missing a required parameter, includes an unsupported parameter value (other than grant type), repeats a parameter, includes multiple credentials, utilizes more than one mechanism for authenticating the client, or is otherwise malformed
2025-06-27 12:00:44,995 - {modules.vehicles.bmwbc.api:175} - {ERROR:fetch soc_ev1} - bmwbc.fetch_soc: requestData Error, vnum: 1 err=MyBMWCaptchaMissingError('Missing hCaptcha token for login. See https://bimmer-connected.readthedocs.io/en/stable/captcha.html'), type(err)=<class 'bimmer_connected.models.MyBMWCaptchaMissingError'>
2025-06-27 12:00:45,000 - {modules.common.fault_state:49} - {ERROR:fetch soc_ev1} - BMW & Mini : FaultState FaultStateLevel.ERROR, FaultStr <class 'bimmer_connected.models.MyBMWCaptchaMissingError'> ('Missing hCaptcha token for login. See https://bimmer-connected.readthedocs.io/en/stable/captcha.html',), Traceback: 
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 117, in _get_carstate_by_source
    return 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 188, in fetch_soc
    soc, range = loop.run_until_complete(_fetch_soc(user_id, password, vin, captcha_token, vnum))
  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 141, in _fetch_soc
    await account.get_vehicles()
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/account.py", line 114, in get_vehicles
    await self._init_vehicles()
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/account.py", line 86, in _init_vehicles
    vehicle_list_response = await client.post(
  File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1905, in post
    return await self.request(
  File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1585, 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 1674, in send
    response = await self._send_handling_auth(
  File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1720, in _send_handling_auth
    raise exc
  File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1709, in _send_handling_auth
    next_request = await auth_flow.asend(response)
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 118, in async_auth_flow
    await self.login()
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 137, in login
    token_data = await self._login_row_na()
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 159, in _login_row_na
    raise MyBMWCaptchaMissingError(
bimmer_connected.models.MyBMWCaptchaMissingError: Missing hCaptcha token for login. See https://bimmer-connected.readthedocs.io/en/stable/captcha.html

2025-06-27 12:05:47,329 - {bimmer_connected.api.authentication:86} - {ERROR:fetch soc_ev1} - MyBMWAuthError due to HTTPStatusError: invalid_request - The request is missing a required parameter, includes an unsupported parameter value (other than grant type), repeats a parameter, includes multiple credentials, utilizes more than one mechanism for authenticating the client, or is otherwise malformed
2025-06-27 12:05:47,466 - {modules.vehicles.bmwbc.api:175} - {ERROR:fetch soc_ev1} - bmwbc.fetch_soc: requestData Error, vnum: 1 err=MyBMWCaptchaMissingError('Missing hCaptcha token for login. See https://bimmer-connected.readthedocs.io/en/stable/captcha.html'), type(err)=<class 'bimmer_connected.models.MyBMWCaptchaMissingError'>
2025-06-27 12:05:47,479 - {modules.common.fault_state:49} - {ERROR:fetch soc_ev1} - BMW & Mini : FaultState FaultStateLevel.ERROR, FaultStr <class 'bimmer_connected.models.MyBMWCaptchaMissingError'> ('Missing hCaptcha token for login. See https://bimmer-connected.readthedocs.io/en/stable/captcha.html',), Traceback: 
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 117, in _get_carstate_by_source
    return 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 188, in fetch_soc
    soc, range = loop.run_until_complete(_fetch_soc(user_id, password, vin, captcha_token, vnum))
  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 141, in _fetch_soc
    await account.get_vehicles()
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/account.py", line 114, in get_vehicles
    await self._init_vehicles()
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/account.py", line 86, in _init_vehicles
    vehicle_list_response = await client.post(
  File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1905, in post
    return await self.request(
  File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1585, 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 1674, in send
    response = await self._send_handling_auth(
  File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1720, in _send_handling_auth
    raise exc
  File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1709, in _send_handling_auth
    next_request = await auth_flow.asend(response)
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 118, in async_auth_flow
    await self.login()
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 137, in login
    token_data = await self._login_row_na()
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 159, in _login_row_na
    raise MyBMWCaptchaMissingError(
bimmer_connected.models.MyBMWCaptchaMissingError: Missing hCaptcha token for login. See https://bimmer-connected.readthedocs.io/en/stable/captcha.html

2025-06-27 12:10:48,367 - {modules.vehicles.common.calc_soc.calc_soc:23} - {WARNING:fetch soc_ev1} - Calculated SoC of 103.090375862069% exceeds maximum and is limited to 100%! Check your settings!
2025-06-27 12:16:33,385 - {bimmer_connected.api.authentication:86} - {ERROR:fetch soc_ev1} - MyBMWAuthError due to HTTPStatusError: invalid_request - The request is missing a required parameter, includes an unsupported parameter value (other than grant type), repeats a parameter, includes multiple credentials, utilizes more than one mechanism for authenticating the client, or is otherwise malformed
2025-06-27 12:16:33,479 - {modules.vehicles.bmwbc.api:175} - {ERROR:fetch soc_ev1} - bmwbc.fetch_soc: requestData Error, vnum: 1 err=MyBMWCaptchaMissingError('Missing hCaptcha token for login. See https://bimmer-connected.readthedocs.io/en/stable/captcha.html'), type(err)=<class 'bimmer_connected.models.MyBMWCaptchaMissingError'>
2025-06-27 12:16:33,487 - {modules.common.fault_state:49} - {ERROR:fetch soc_ev1} - BMW & Mini : FaultState FaultStateLevel.ERROR, FaultStr <class 'bimmer_connected.models.MyBMWCaptchaMissingError'> ('Missing hCaptcha token for login. See https://bimmer-connected.readthedocs.io/en/stable/captcha.html',), Traceback: 
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 117, in _get_carstate_by_source
    return 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 188, in fetch_soc
    soc, range = loop.run_until_complete(_fetch_soc(user_id, password, vin, captcha_token, vnum))
  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 141, in _fetch_soc
    await account.get_vehicles()
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/account.py", line 114, in get_vehicles
    await self._init_vehicles()
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/account.py", line 86, in _init_vehicles
    vehicle_list_response = await client.post(
  File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1905, in post
    return await self.request(
  File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1585, 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 1674, in send
    response = await self._send_handling_auth(
  File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1720, in _send_handling_auth
    raise exc
  File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1709, in _send_handling_auth
    next_request = await auth_flow.asend(response)
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 118, in async_auth_flow
    await self.login()
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 137, in login
    token_data = await self._login_row_na()
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 159, in _login_row_na
    raise MyBMWCaptchaMissingError(
bimmer_connected.models.MyBMWCaptchaMissingError: Missing hCaptcha token for login. See https://bimmer-connected.readthedocs.io/en/stable/captcha.html

2025-06-27 12:21:35,477 - {bimmer_connected.api.authentication:86} - {ERROR:fetch soc_ev1} - MyBMWAuthError due to HTTPStatusError: invalid_request - The request is missing a required parameter, includes an unsupported parameter value (other than grant type), repeats a parameter, includes multiple credentials, utilizes more than one mechanism for authenticating the client, or is otherwise malformed
2025-06-27 12:21:35,536 - {modules.vehicles.bmwbc.api:175} - {ERROR:fetch soc_ev1} - bmwbc.fetch_soc: requestData Error, vnum: 1 err=MyBMWCaptchaMissingError('Missing hCaptcha token for login. See https://bimmer-connected.readthedocs.io/en/stable/captcha.html'), type(err)=<class 'bimmer_connected.models.MyBMWCaptchaMissingError'>
2025-06-27 12:21:35,542 - {modules.common.fault_state:49} - {ERROR:fetch soc_ev1} - BMW & Mini : FaultState FaultStateLevel.ERROR, FaultStr <class 'bimmer_connected.models.MyBMWCaptchaMissingError'> ('Missing hCaptcha token for login. See https://bimmer-connected.readthedocs.io/en/stable/captcha.html',), Traceback: 
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 117, in _get_carstate_by_source
    return 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 188, in fetch_soc
    soc, range = loop.run_until_complete(_fetch_soc(user_id, password, vin, captcha_token, vnum))
  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 141, in _fetch_soc
    await account.get_vehicles()
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/account.py", line 114, in get_vehicles
    await self._init_vehicles()
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/account.py", line 86, in _init_vehicles
    vehicle_list_response = await client.post(
  File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1905, in post
    return await self.request(
  File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1585, 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 1674, in send
    response = await self._send_handling_auth(
  File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1720, in _send_handling_auth
    raise exc
  File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1709, in _send_handling_auth
    next_request = await auth_flow.asend(response)
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 118, in async_auth_flow
    await self.login()
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 137, in login
    token_data = await self._login_row_na()
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 159, in _login_row_na
    raise MyBMWCaptchaMissingError(
bimmer_connected.models.MyBMWCaptchaMissingError: Missing hCaptcha token for login. See https://bimmer-connected.readthedocs.io/en/stable/captcha.html

2025-06-27 12:26:37,172 - {bimmer_connected.api.authentication:86} - {ERROR:fetch soc_ev1} - MyBMWAuthError due to HTTPStatusError: invalid_request - The request is missing a required parameter, includes an unsupported parameter value (other than grant type), repeats a parameter, includes multiple credentials, utilizes more than one mechanism for authenticating the client, or is otherwise malformed
2025-06-27 12:26:37,250 - {modules.vehicles.bmwbc.api:175} - {ERROR:fetch soc_ev1} - bmwbc.fetch_soc: requestData Error, vnum: 1 err=MyBMWCaptchaMissingError('Missing hCaptcha token for login. See https://bimmer-connected.readthedocs.io/en/stable/captcha.html'), type(err)=<class 'bimmer_connected.models.MyBMWCaptchaMissingError'>
2025-06-27 12:26:37,259 - {modules.common.fault_state:49} - {ERROR:fetch soc_ev1} - BMW & Mini : FaultState FaultStateLevel.ERROR, FaultStr <class 'bimmer_connected.models.MyBMWCaptchaMissingError'> ('Missing hCaptcha token for login. See https://bimmer-connected.readthedocs.io/en/stable/captcha.html',), Traceback: 
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 117, in _get_carstate_by_source
    return 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 188, in fetch_soc
    soc, range = loop.run_until_complete(_fetch_soc(user_id, password, vin, captcha_token, vnum))
  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 141, in _fetch_soc
    await account.get_vehicles()
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/account.py", line 114, in get_vehicles
    await self._init_vehicles()
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/account.py", line 86, in _init_vehicles
    vehicle_list_response = await client.post(
  File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1905, in post
    return await self.request(
  File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1585, 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 1674, in send
    response = await self._send_handling_auth(
  File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1720, in _send_handling_auth
    raise exc
  File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1709, in _send_handling_auth
    next_request = await auth_flow.asend(response)
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 118, in async_auth_flow
    await self.login()
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 137, in login
    token_data = await self._login_row_na()
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 159, in _login_row_na
    raise MyBMWCaptchaMissingError(
bimmer_connected.models.MyBMWCaptchaMissingError: Missing hCaptcha token for login. See https://bimmer-connected.readthedocs.io/en/stable/captcha.html

2025-06-27 12:31:39,086 - {bimmer_connected.api.authentication:86} - {ERROR:fetch soc_ev1} - MyBMWAuthError due to HTTPStatusError: invalid_request - The request is missing a required parameter, includes an unsupported parameter value (other than grant type), repeats a parameter, includes multiple credentials, utilizes more than one mechanism for authenticating the client, or is otherwise malformed
2025-06-27 12:31:39,145 - {modules.vehicles.bmwbc.api:175} - {ERROR:fetch soc_ev1} - bmwbc.fetch_soc: requestData Error, vnum: 1 err=MyBMWCaptchaMissingError('Missing hCaptcha token for login. See https://bimmer-connected.readthedocs.io/en/stable/captcha.html'), type(err)=<class 'bimmer_connected.models.MyBMWCaptchaMissingError'>
2025-06-27 12:31:39,151 - {modules.common.fault_state:49} - {ERROR:fetch soc_ev1} - BMW & Mini : FaultState FaultStateLevel.ERROR, FaultStr <class 'bimmer_connected.models.MyBMWCaptchaMissingError'> ('Missing hCaptcha token for login. See https://bimmer-connected.readthedocs.io/en/stable/captcha.html',), Traceback: 
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 117, in _get_carstate_by_source
    return 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 188, in fetch_soc
    soc, range = loop.run_until_complete(_fetch_soc(user_id, password, vin, captcha_token, vnum))
  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 141, in _fetch_soc
    await account.get_vehicles()
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/account.py", line 114, in get_vehicles
    await self._init_vehicles()
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/account.py", line 86, in _init_vehicles
    vehicle_list_response = await client.post(
  File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1905, in post
    return await self.request(
  File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1585, 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 1674, in send
    response = await self._send_handling_auth(
  File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1720, in _send_handling_auth
    raise exc
  File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1709, in _send_handling_auth
    next_request = await auth_flow.asend(response)
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 118, in async_auth_flow
    await self.login()
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 137, in login
    token_data = await self._login_row_na()
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 159, in _login_row_na
    raise MyBMWCaptchaMissingError(
bimmer_connected.models.MyBMWCaptchaMissingError: Missing hCaptcha token for login. See https://bimmer-connected.readthedocs.io/en/stable/captcha.html

2025-06-27 12:34:21,534 - {modules.vehicles.common.calc_soc.calc_soc:23} - {WARNING:fetch soc_ev1} - Calculated SoC of 103.67068965517241% exceeds maximum and is limited to 100%! Check your settings!
2025-06-27 12:45:11,646 - {bimmer_connected.api.authentication:86} - {ERROR:fetch soc_ev1} - MyBMWAuthError due to HTTPStatusError: invalid_request - The request is missing a required parameter, includes an unsupported parameter value (other than grant type), repeats a parameter, includes multiple credentials, utilizes more than one mechanism for authenticating the client, or is otherwise malformed
2025-06-27 12:45:11,745 - {modules.vehicles.bmwbc.api:175} - {ERROR:fetch soc_ev1} - bmwbc.fetch_soc: requestData Error, vnum: 1 err=MyBMWCaptchaMissingError('Missing hCaptcha token for login. See https://bimmer-connected.readthedocs.io/en/stable/captcha.html'), type(err)=<class 'bimmer_connected.models.MyBMWCaptchaMissingError'>
2025-06-27 12:45:11,750 - {modules.common.fault_state:49} - {ERROR:fetch soc_ev1} - BMW & Mini : FaultState FaultStateLevel.ERROR, FaultStr <class 'bimmer_connected.models.MyBMWCaptchaMissingError'> ('Missing hCaptcha token for login. See https://bimmer-connected.readthedocs.io/en/stable/captcha.html',), Traceback: 
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 117, in _get_carstate_by_source
    return 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 188, in fetch_soc
    soc, range = loop.run_until_complete(_fetch_soc(user_id, password, vin, captcha_token, vnum))
  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 141, in _fetch_soc
    await account.get_vehicles()
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/account.py", line 114, in get_vehicles
    await self._init_vehicles()
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/account.py", line 86, in _init_vehicles
    vehicle_list_response = await client.post(
  File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1905, in post
    return await self.request(
  File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1585, 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 1674, in send
    response = await self._send_handling_auth(
  File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1720, in _send_handling_auth
    raise exc
  File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1709, in _send_handling_auth
    next_request = await auth_flow.asend(response)
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 118, in async_auth_flow
    await self.login()
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 137, in login
    token_data = await self._login_row_na()
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 159, in _login_row_na
    raise MyBMWCaptchaMissingError(
bimmer_connected.models.MyBMWCaptchaMissingError: Missing hCaptcha token for login. See https://bimmer-connected.readthedocs.io/en/stable/captcha.html

2025-06-27 12:50:13,679 - {bimmer_connected.api.authentication:86} - {ERROR:fetch soc_ev1} - MyBMWAuthError due to HTTPStatusError: invalid_request - The request is missing a required parameter, includes an unsupported parameter value (other than grant type), repeats a parameter, includes multiple credentials, utilizes more than one mechanism for authenticating the client, or is otherwise malformed
2025-06-27 12:50:13,740 - {modules.vehicles.bmwbc.api:175} - {ERROR:fetch soc_ev1} - bmwbc.fetch_soc: requestData Error, vnum: 1 err=MyBMWCaptchaMissingError('Missing hCaptcha token for login. See https://bimmer-connected.readthedocs.io/en/stable/captcha.html'), type(err)=<class 'bimmer_connected.models.MyBMWCaptchaMissingError'>
2025-06-27 12:50:13,746 - {modules.common.fault_state:49} - {ERROR:fetch soc_ev1} - BMW & Mini : FaultState FaultStateLevel.ERROR, FaultStr <class 'bimmer_connected.models.MyBMWCaptchaMissingError'> ('Missing hCaptcha token for login. See https://bimmer-connected.readthedocs.io/en/stable/captcha.html',), Traceback: 
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 117, in _get_carstate_by_source
    return 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 188, in fetch_soc
    soc, range = loop.run_until_complete(_fetch_soc(user_id, password, vin, captcha_token, vnum))
  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 141, in _fetch_soc
    await account.get_vehicles()
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/account.py", line 114, in get_vehicles
    await self._init_vehicles()
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/account.py", line 86, in _init_vehicles
    vehicle_list_response = await client.post(
  File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1905, in post
    return await self.request(
  File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1585, 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 1674, in send
    response = await self._send_handling_auth(
  File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1720, in _send_handling_auth
    raise exc
  File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1709, in _send_handling_auth
    next_request = await auth_flow.asend(response)
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 118, in async_auth_flow
    await self.login()
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 137, in login
    token_data = await self._login_row_na()
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 159, in _login_row_na
    raise MyBMWCaptchaMissingError(
bimmer_connected.models.MyBMWCaptchaMissingError: Missing hCaptcha token for login. See https://bimmer-connected.readthedocs.io/en/stable/captcha.html

2025-06-27 12:55:15,809 - {bimmer_connected.api.authentication:86} - {ERROR:fetch soc_ev1} - MyBMWAuthError due to HTTPStatusError: invalid_request - The request is missing a required parameter, includes an unsupported parameter value (other than grant type), repeats a parameter, includes multiple credentials, utilizes more than one mechanism for authenticating the client, or is otherwise malformed
2025-06-27 12:55:15,905 - {modules.vehicles.bmwbc.api:175} - {ERROR:fetch soc_ev1} - bmwbc.fetch_soc: requestData Error, vnum: 1 err=MyBMWCaptchaMissingError('Missing hCaptcha token for login. See https://bimmer-connected.readthedocs.io/en/stable/captcha.html'), type(err)=<class 'bimmer_connected.models.MyBMWCaptchaMissingError'>
2025-06-27 12:55:15,914 - {modules.common.fault_state:49} - {ERROR:fetch soc_ev1} - BMW & Mini : FaultState FaultStateLevel.ERROR, FaultStr <class 'bimmer_connected.models.MyBMWCaptchaMissingError'> ('Missing hCaptcha token for login. See https://bimmer-connected.readthedocs.io/en/stable/captcha.html',), Traceback: 
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 117, in _get_carstate_by_source
    return 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 188, in fetch_soc
    soc, range = loop.run_until_complete(_fetch_soc(user_id, password, vin, captcha_token, vnum))
  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 141, in _fetch_soc
    await account.get_vehicles()
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/account.py", line 114, in get_vehicles
    await self._init_vehicles()
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/account.py", line 86, in _init_vehicles
    vehicle_list_response = await client.post(
  File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1905, in post
    return await self.request(
  File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1585, 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 1674, in send
    response = await self._send_handling_auth(
  File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1720, in _send_handling_auth
    raise exc
  File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1709, in _send_handling_auth
    next_request = await auth_flow.asend(response)
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 118, in async_auth_flow
    await self.login()
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 137, in login
    token_data = await self._login_row_na()
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 159, in _login_row_na
    raise MyBMWCaptchaMissingError(
bimmer_connected.models.MyBMWCaptchaMissingError: Missing hCaptcha token for login. See https://bimmer-connected.readthedocs.io/en/stable/captcha.html

2025-06-27 12:59:54,367 - {bimmer_connected.api.authentication:86} - {ERROR:fetch soc_ev1} - MyBMWAuthError due to HTTPStatusError: invalid_request - The request is missing a required parameter, includes an unsupported parameter value (other than grant type), repeats a parameter, includes multiple credentials, utilizes more than one mechanism for authenticating the client, or is otherwise malformed
2025-06-27 12:59:54,451 - {modules.vehicles.bmwbc.api:175} - {ERROR:fetch soc_ev1} - bmwbc.fetch_soc: requestData Error, vnum: 1 err=MyBMWCaptchaMissingError('Missing hCaptcha token for login. See https://bimmer-connected.readthedocs.io/en/stable/captcha.html'), type(err)=<class 'bimmer_connected.models.MyBMWCaptchaMissingError'>
2025-06-27 12:59:54,460 - {modules.common.fault_state:49} - {ERROR:fetch soc_ev1} - BMW & Mini : FaultState FaultStateLevel.ERROR, FaultStr <class 'bimmer_connected.models.MyBMWCaptchaMissingError'> ('Missing hCaptcha token for login. See https://bimmer-connected.readthedocs.io/en/stable/captcha.html',), Traceback: 
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 117, in _get_carstate_by_source
    return 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 188, in fetch_soc
    soc, range = loop.run_until_complete(_fetch_soc(user_id, password, vin, captcha_token, vnum))
  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 141, in _fetch_soc
    await account.get_vehicles()
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/account.py", line 114, in get_vehicles
    await self._init_vehicles()
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/account.py", line 86, in _init_vehicles
    vehicle_list_response = await client.post(
  File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1905, in post
    return await self.request(
  File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1585, 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 1674, in send
    response = await self._send_handling_auth(
  File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1720, in _send_handling_auth
    raise exc
  File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1709, in _send_handling_auth
    next_request = await auth_flow.asend(response)
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 118, in async_auth_flow
    await self.login()
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 137, in login
    token_data = await self._login_row_na()
  File "/home/openwb/.local/lib/python3.9/site-packages/bimmer_connected/api/authentication.py", line 159, in _login_row_na
    raise MyBMWCaptchaMissingError(
bimmer_connected.models.MyBMWCaptchaMissingError: Missing hCaptcha token for login. See https://bimmer-connected.readthedocs.io/en/stable/captcha.html
rleidner
Beiträge: 1323
Registriert: Mo Nov 02, 2020 9:50 am
Has thanked: 31 times
Been thanked: 102 times

Re: SOC BMW

Beitrag von rleidner »

Placebo2210 hat geschrieben: Fr Jun 27, 2025 11:27 am

Code: Alles auswählen

    raise MyBMWCaptchaMissingError(
bimmer_connected.models.MyBMWCaptchaMissingError: Missing hCaptcha token for login. See https://bimmer-connected.readthedocs.io/en/stable/captcha.html
OK, das Problem ist klar und bekannt.
Du musst Dich in der Fahrzeugeinstellung mit einem neuen Captcha-Token anmelden.
Ich arbeite an einer Lösung, siehe einige Einträge weiter oben in diesem Thema.
openWB-2 Standard+ | openWB EVU Kit v2 MID| 9,9kWp mit Kostal Plenticore 8.5 plus | VW ID.3, Kia EV6, Smart EQ forfour
Antworten