Code: Alles auswählen
2024-12-15 22:45:37,066 - {modules.common.configurable_vehicle:56} - {DEBUG:fetch soc_ev0} - Vehicle Instance <class 'modules.vehicles.bmwbc.config.BMWbc'>
2024-12-15 22:45:37,069 - {modules.common.configurable_vehicle:57} - {DEBUG:fetch soc_ev0} - Calculated SoC-State CalculatedSocState(imported_start=5247404.79, manual_soc=None, soc_start=50)
2024-12-15 22:45:37,072 - {modules.common.configurable_vehicle:58} - {DEBUG:fetch soc_ev0} - Vehicle Update Data VehicleUpdateData(plug_state=False, charge_state=False, imported=None, battery_capacity=30000, efficiency=96, soc_from_cp=None, timestamp_soc_from_cp=None)
2024-12-15 22:45:37,076 - {modules.common.configurable_vehicle:59} - {DEBUG:fetch soc_ev0} - General Config GeneralVehicleConfig(use_soc_from_cp=False, request_interval_charging=300, request_interval_not_charging=3600, request_only_plugged=False)
2024-12-15 22:45:37,078 - {modules.common.component_context:26} - {DEBUG:fetch soc_ev0} - Update Komponente ['BMW (Bimmer)']
2024-12-15 22:45:37,081 - {asyncio:59} - {DEBUG:fetch soc_ev0} - Using selector: EpollSelector
2024-12-15 22:45:37,088 - {modules.vehicles.bmwbc.api:77} - {DEBUG:fetch soc_ev0} - dataPath=/var/www/html/openWB/data/modules/bmwbc
2024-12-15 22:45:37,098 - {bimmer_connected.account:111} - {DEBUG:fetch soc_ev0} - Getting vehicle list
2024-12-15 22:45:37,100 - {bimmer_connected.account:79} - {DEBUG:fetch soc_ev0} - Getting vehicle list
2024-12-15 22:45:37,226 - {httpcore.connection:85} - {DEBUG:fetch soc_ev0} - connect_tcp.started host='cocoapi.bmwgroup.com' port=443 local_address=None timeout=30.0 socket_options=None
2024-12-15 22:45:37,273 - {httpcore.connection:85} - {DEBUG:fetch soc_ev0} - connect_tcp.complete return_value=<httpcore._backends.anyio.AnyIOStream object at 0x756db1d8>
2024-12-15 22:45:37,274 - {httpcore.connection:85} - {DEBUG:fetch soc_ev0} - start_tls.started ssl_context=<ssl.SSLContext object at 0x75674c40> server_hostname='cocoapi.bmwgroup.com' timeout=30.0
2024-12-15 22:45:37,328 - {httpcore.connection:85} - {DEBUG:fetch soc_ev0} - start_tls.complete return_value=<httpcore._backends.anyio.AnyIOStream object at 0x756e2d00>
2024-12-15 22:45:37,329 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - send_request_headers.started request=<Request [b'POST']>
2024-12-15 22:45:37,332 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - send_request_headers.complete
2024-12-15 22:45:37,333 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - send_request_body.started request=<Request [b'POST']>
2024-12-15 22:45:37,333 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - send_request_body.complete
2024-12-15 22:45:37,334 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - receive_response_headers.started request=<Request [b'POST']>
2024-12-15 22:45:37,390 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - receive_response_headers.complete return_value=(b'HTTP/1.1', 401, b'Unauthorized', [(b'Date', b'Sun, 15 Dec 2024 21:45:37 GMT'), (b'Content-Length', b'0'), (b'Connection', b'keep-alive'), (b'Request-Context', b'appId=cid-v1:24f34ad2-7e62-4399-93db-3071c599c619'), (b'set-cookie', b'ASLBSA=00030ba4bee0ac881fe811bc41e69bd98c56b9cd9a538acfae5da96e9319d4ddde6e; Path=/; Secure; HttpOnly;'), (b'set-cookie', b'ASLBSACORS=00030ba4bee0ac881fe811bc41e69bd98c56b9cd9a538acfae5da96e9319d4ddde6e; SameSite=none; Path=/; Secure; HttpOnly;'), (b'x-azure-ref', b'20241215T214537Z-17964fc66b77krzqhC1DUShdyn0000000en0000000006tca'), (b'X-Cache', b'CONFIG_NOCACHE')])
2024-12-15 22:45:37,395 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - receive_response_body.started request=<Request [b'POST']>
2024-12-15 22:45:37,396 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - receive_response_body.complete
2024-12-15 22:45:37,396 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - response_closed.started
2024-12-15 22:45:37,397 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - response_closed.complete
2024-12-15 22:45:37,398 - {bimmer_connected.api.authentication:117} - {DEBUG:fetch soc_ev0} - Received unauthorized response, refreshing token.
2024-12-15 22:45:37,443 - {bimmer_connected.api.authentication:257} - {DEBUG:fetch soc_ev0} - Authenticating with refresh token for North America & Rest of World.
2024-12-15 22:45:37,446 - {httpcore.connection:85} - {DEBUG:fetch soc_ev0} - connect_tcp.started host='cocoapi.bmwgroup.com' port=443 local_address=None timeout=30.0 socket_options=None
2024-12-15 22:45:37,483 - {httpcore.connection:85} - {DEBUG:fetch soc_ev0} - connect_tcp.complete return_value=<httpcore._backends.anyio.AnyIOStream object at 0x75664fe8>
2024-12-15 22:45:37,483 - {httpcore.connection:85} - {DEBUG:fetch soc_ev0} - start_tls.started ssl_context=<ssl.SSLContext object at 0x756a2cd0> server_hostname='cocoapi.bmwgroup.com' timeout=30.0
2024-12-15 22:45:37,803 - {httpcore.connection:85} - {DEBUG:fetch soc_ev0} - start_tls.complete return_value=<httpcore._backends.anyio.AnyIOStream object at 0x756674c0>
2024-12-15 22:45:37,805 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - send_request_headers.started request=<Request [b'GET']>
2024-12-15 22:45:37,807 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - send_request_headers.complete
2024-12-15 22:45:37,807 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - send_request_body.started request=<Request [b'GET']>
2024-12-15 22:45:37,808 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - send_request_body.complete
2024-12-15 22:45:37,808 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - receive_response_headers.started request=<Request [b'GET']>
2024-12-15 22:45:37,844 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - receive_response_headers.complete return_value=(b'HTTP/1.1', 200, b'OK', [(b'Date', b'Sun, 15 Dec 2024 21:45:37 GMT'), (b'Content-Type', b'application/json; charset=utf-8'), (b'Content-Length', b'580'), (b'Connection', b'keep-alive'), (b'x-correlation-id', b'1b8182cf-7033-48cb-9514-04b6b1cf982c'), (b'bmw-correlation-id', b'1b8182cf-7033-48cb-9514-04b6b1cf982c'), (b'x-cluster-mock-used', b'false'), (b'Strict-Transport-Security', b'max-age=31536000; includeSubDomains'), (b'X-Content-Type-Options', b'nosniff'), (b'Content-Security-Policy', b"default-src 'self'"), (b'Request-Context', b'appId=cid-v1:24f34ad2-7e62-4399-93db-3071c599c619'), (b'x-azure-ref', b'20241215T214537Z-16fcb4bb965ww6wmhC1FRA856c00000009n0000000007uw5'), (b'X-Cache', b'CONFIG_NOCACHE'), (b'Accept-Ranges', b'bytes')])
2024-12-15 22:45:37,846 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - receive_response_body.started request=<Request [b'GET']>
2024-12-15 22:45:37,847 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - receive_response_body.complete
2024-12-15 22:45:37,848 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - response_closed.started
2024-12-15 22:45:37,848 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - response_closed.complete
2024-12-15 22:45:37,852 - {httpcore.connection:85} - {DEBUG:fetch soc_ev0} - connect_tcp.started host='customer.bmwgroup.com' port=443 local_address=None timeout=30.0 socket_options=None
2024-12-15 22:45:37,892 - {httpcore.connection:85} - {DEBUG:fetch soc_ev0} - connect_tcp.complete return_value=<httpcore._backends.anyio.AnyIOStream object at 0x7566d418>
2024-12-15 22:45:37,893 - {httpcore.connection:85} - {DEBUG:fetch soc_ev0} - start_tls.started ssl_context=<ssl.SSLContext object at 0x756a2cd0> server_hostname='customer.bmwgroup.com' timeout=30.0
2024-12-15 22:45:37,923 - {httpcore.connection:85} - {DEBUG:fetch soc_ev0} - start_tls.complete return_value=<httpcore._backends.anyio.AnyIOStream object at 0x7566df88>
2024-12-15 22:45:37,926 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - send_request_headers.started request=<Request [b'POST']>
2024-12-15 22:45:37,928 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - send_request_headers.complete
2024-12-15 22:45:37,929 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - send_request_body.started request=<Request [b'POST']>
2024-12-15 22:45:37,931 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - send_request_body.complete
2024-12-15 22:45:37,932 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - receive_response_headers.started request=<Request [b'POST']>
2024-12-15 22:45:37,972 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - receive_response_headers.complete return_value=(b'HTTP/1.1', 400, b'Bad Request', [(b'date', b'Sun, 15 Dec 2024 21:45:37 GMT'), (b'content-type', b'application/json'), (b'Content-Length', b'304'), (b'x-frame-options', b'SAMEORIGIN'), (b'x-content-type-options', b'nosniff'), (b'cache-control', b'no-store'), (b'pragma', b'no-cache'), (b'strict-transport-security', b'max-age=31536000; includeSubDomains'), (b'access-control-allow-headers', b'Authorization, Origin, X-c2b-Authorization, X-c2b-mTAN, X-Requested-With, X-c2b-Sender-Id, X-c2b-External-Id, Content-Type, Accept, Cache-Control, KeyId, x-dtc, deviceName, loginId, clientId, X-C2b-Api-Key, hcaptchatoken'), (b'access-control-max-age', b'3628800'), (b'access-control-allow-credentials', b'true'), (b'access-control-allow-methods', b'POST, GET, OPTIONS, PUT, DELETE, HEAD'), (b'referrer-policy', b'same-origin'), (b'x-xss-protection', b'0'), (b'x-c2b-request-id', b'f23c3766-427d-4556-86bd-39e40a732d9940262798'), (b'x-request-id', b'05a0ed64-1b62-4f3b-9534-28a430b78c65'), (b'via', b'1.1 google'), (b'Alt-Svc', b'h3=":443"; ma=2592000,h3-29=":443"; ma=2592000')])
2024-12-15 22:45:37,976 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - receive_response_body.started request=<Request [b'POST']>
2024-12-15 22:45:37,977 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - receive_response_body.complete
2024-12-15 22:45:37,978 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - response_closed.started
2024-12-15 22:45:37,980 - {httpcore.http11:85} - {DEBUG:fetch soc_ev0} - response_closed.complete
2024-12-15 22:45:37,983 - {bimmer_connected.api.authentication:86} - {ERROR:fetch soc_ev0} - 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
2024-12-15 22:45:37,985 - {httpcore.connection:85} - {DEBUG:fetch soc_ev0} - close.started
2024-12-15 22:45:37,986 - {httpcore.connection:85} - {DEBUG:fetch soc_ev0} - close.complete
2024-12-15 22:45:37,987 - {httpcore.connection:85} - {DEBUG:fetch soc_ev0} - close.started
2024-12-15 22:45:37,988 - {httpcore.connection:85} - {DEBUG:fetch soc_ev0} - close.complete
2024-12-15 22:45:37,989 - {bimmer_connected.api.authentication:288} - {DEBUG:fetch soc_ev0} - Unable to get access token using refresh token, falling back to username/password.
2024-12-15 22:45:38,049 - {bimmer_connected.api.authentication:156} - {DEBUG:fetch soc_ev0} - Authenticating with MyBMW flow for North America & Rest of World.
2024-12-15 22:45:38,051 - {httpcore.connection:85} - {DEBUG:fetch soc_ev0} - close.started
2024-12-15 22:45:38,054 - {httpcore.connection:85} - {DEBUG:fetch soc_ev0} - close.complete
2024-12-15 22:45:38,055 - {modules.vehicles.bmwbc.api:143} - {ERROR:fetch soc_ev0} - bmwbc.fetch_soc: requestData Error, vnum: 0 err=MyBMWCaptchaMissingError('Missing hCaptcha token for login. See https://bimmer-connected.readthedocs.io/en/stable/captcha.html'), type(err)=<class 'bimmer_connected.models.MyBMWCaptchaMissingError'>
2024-12-15 22:45:38,129 - {modules.common.fault_state:49} - {ERROR:fetch soc_ev0} - BMW (Bimmer): 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 110, 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 156, 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 112, 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 1892, in post
return await self.request(
File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1574, 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 1661, in send
response = await self._send_handling_auth(
File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1707, in _send_handling_auth
raise exc
File "/home/openwb/.local/lib/python3.9/site-packages/httpx/_client.py", line 1696, 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
ich kann weder Passwort noch VIN im Trace finden.