Zitat2. FHEMApp aufrufen (direkt über das erstellte Device unter Internals -> FHEMAPP_UI möglich)kommt dann eine weiße Seite.
usr/local/bin/i3status
Client MyBMW sending CONNECT
Client MyBMW received CONNACK (0)
MyBMWAuthError due to HTTPStatusError: invalid_client - Client authentication failed (e.
g., login failure, unknown client, no client authentication included or unsupported auth
entication method)
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/bimmer_connected/api/authentication.py",
line 389, in raise_for_status_event_handler
response.raise_for_status()
File "/usr/local/lib/python3.10/dist-packages/httpx/_models.py", line 759, in raise_fo
r_status
raise HTTPStatusError(message, request=request, response=self)
httpx.HTTPStatusError: Client error '401 Unauthorized' for url 'https://customer.bmwgrou
p.com/gcdm/oauth/authenticate'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/bin/bimmerconnected", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.10/dist-packages/bimmer_connected/cli.py", line 341, in m
ain
loop.run_until_complete(args.func(args))
File "/usr/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
return future.result()
File "/usr/local/lib/python3.10/dist-packages/bimmer_connected/cli.py", line 137, in g
et_status
await account.get_vehicles()
File "/usr/local/lib/python3.10/dist-packages/bimmer_connected/account.py", line 101,
in get_vehicles
await self._init_vehicles()
File "/usr/local/lib/python3.10/dist-packages/bimmer_connected/account.py", line 78, i
n _init_vehicles
vehicle_list_response = await client.post(
File "/usr/local/lib/python3.10/dist-packages/httpx/_client.py", line 1877, in post
return await self.request(
File "/usr/local/lib/python3.10/dist-packages/httpx/_client.py", line 1559, in request
return await self.send(request, auth=auth, follow_redirects=follow_redirects)
File "/usr/local/lib/python3.10/dist-packages/httpx/_client.py", line 1646, in send
response = await self._send_handling_auth(
File "/usr/local/lib/python3.10/dist-packages/httpx/_client.py", line 1671, in _send_h
andling_auth
request = await auth_flow.__anext__()
File "/usr/local/lib/python3.10/dist-packages/bimmer_connected/api/authentication.py",
line 81, in async_auth_flow
await self.login()
File "/usr/local/lib/python3.10/dist-packages/bimmer_connected/api/authentication.py",
line 130, in login
token_data = await self._login_row_na()
File "/usr/local/lib/python3.10/dist-packages/bimmer_connected/api/authentication.py",
line 183, in _login_row_na
response = await client.post(
File "/usr/local/lib/python3.10/dist-packages/httpx/_client.py", line 1877, in post
return await self.request(
File "/usr/local/lib/python3.10/dist-packages/httpx/_client.py", line 1559, in request
return await self.send(request, auth=auth, follow_redirects=follow_redirects)
File "/usr/local/lib/python3.10/dist-packages/httpx/_client.py", line 1646, in send
response = await self._send_handling_auth(
File "/usr/local/lib/python3.10/dist-packages/httpx/_client.py", line 1674, in _send_h
andling_auth
response = await self._send_handling_redirects(
File "/usr/local/lib/python3.10/dist-packages/httpx/_client.py", line 1732, in _send_h
andling_redirects
raise exc
File "/usr/local/lib/python3.10/dist-packages/httpx/_client.py", line 1714, in _send_h
andling_redirects
await hook(response)
File "/usr/local/lib/python3.10/dist-packages/bimmer_connected/api/authentication.py",
line 391, in raise_for_status_event_handler
await handle_httpstatuserror(ex, log_handler=_LOGGER)
File "/usr/local/lib/python3.10/dist-packages/bimmer_connected/api/utils.py", line 86,
in handle_httpstatuserror
raise _ex_to_raise(_err_message) from ex
bimmer_connected.models.MyBMWAuthError: HTTPStatusError: invalid_client - Client authent
ication failed (e.g., login failure, unknown client, no client authentication included o
r unsupported authentication method)
Client MyBMW sending DISCONNECT
Zitat von: jazzor am 24 April 2024, 21:49:32Republishen eines Attributes:Da ich nun meinen Fehler gefunden habe, möchte ich zukünftige Generationen vor dem gleichen Schicksal wie mich bewahren:
Hi zusammen, ich muss hier nochmal nach all den Jahren, die mein System doch halbwegs passabel läuft, mal eine Frage stellen:...
replacement01Mode expression
replacement01Regex %%start_tomorrow%%
replacement01Value (timelocal(localtime(time()-time()%86400+86400))-2*3600)."000"
replacement02Mode expression
replacement02Regex %%start_today%%
replacement02Value (timelocal(localtime(time()-time()%86400))-2*3600)."000"