NEWS
Test Adapter BMW/Mini v4.x.x
-
Hallo @tombox, nur als Hinweis:
Aktuell kommen öfter Fehlermeldungen mit dem Inhalt
bmw.0 (419) MQTT error: Error: connack timeout
Diese wiederholen sich 1 mal je Minute, bis die Verbindung dann wieder steht (was in der Regel in wenigen Minuten der Fall ist und manchmal auch innerhalb der ersten Minute nach der Fehlermeldung).
Heute waren das Stand 17:15 Uhr insgesamt 24 Meldungen.@vowill
die Meldungen kommen bei mir leider auch immer häufiger in letzter Zeit. -
Hallo @tombox, nur als Hinweis:
Aktuell kommen öfter Fehlermeldungen mit dem Inhalt
bmw.0 (419) MQTT error: Error: connack timeout
Diese wiederholen sich 1 mal je Minute, bis die Verbindung dann wieder steht (was in der Regel in wenigen Minuten der Fall ist und manchmal auch innerhalb der ersten Minute nach der Fehlermeldung).
Heute waren das Stand 17:15 Uhr insgesamt 24 Meldungen. -
Hallo @tombox, nur als Hinweis:
Aktuell kommen öfter Fehlermeldungen mit dem Inhalt
bmw.0 (419) MQTT error: Error: connack timeout
Diese wiederholen sich 1 mal je Minute, bis die Verbindung dann wieder steht (was in der Regel in wenigen Minuten der Fall ist und manchmal auch innerhalb der ersten Minute nach der Fehlermeldung).
Heute waren das Stand 17:15 Uhr insgesamt 24 Meldungen. -
H Homoran verschob dieses Thema von Tester am
-
H Homoran verschob dieses Thema von ...nicht in offiziellem Repo am
-
Wie in einem früheren Beitrag hier geschrieben, nutzte ich bislang den alexa-Adapter zum Absetzen von Befehlen an das Fahrzeug (vor allem zum Einschalten von Standheizung/-Lüftung) - über die BMW-API-Schnittstelle sind ja keine Schreibzugriffe möglich. Anfang Mai hat BMW diesen Weg allerdings auch geschlossen, ebenso wie einen Umweg über Homeassistant
.
Ich habe deshalb nach einer Alternative gesucht, um meine diversen ioBroker-Skripte weiter nutzen und nicht das Handy und die myBMW-App herauskramen zu müssen. Die Lösung (mit Unterstützung von Gemini) in Kürze:- Installation der myBMW-App auf einem meiner Visualisierungs-Tablets (auf dem der Fully Kiosk Browser und vis laufen)
- dort auch Freischalten des WLAN-Debugging
- Einrichtung der Google 'Android Debug Bridge' (ADB) im ioBroker LXC-Container und Herstellung der Verbindung zum Tablet
- Skript im ioBroker, das die myBMW-App startet und (über ADB) einen Touch auf den Button "Heizen/Lüften" simuliert
Die bisherigen Versuche haben gut funktioniert. Ich hoffe mal, dass die myBMW App auf dem Tablet nicht regelmäßig eine neue Authentifizierung verlangt ...
Vermutlich ist dieses Setup auch eine Option für andere Systeme, die nur über eine App gesteuert werden können. -
Verlangt die myBMW App nicht bei jedem Start eine Authentifizierung per Biometrie oder PIN?
@tippy88 Offenbar nicht - solange die App auf dem Tablet nicht geschlossen wird.
Ich habe die Einrichtung gestern Nachmittag fertig gestellt und heute Morgen erneut das Skript gestartet. vis bzw. Fully haben dann die myBMW-App wie gewünscht in den 'Foreground' geholt, über ADB wurde der Button gedrückt - und die Standheizung lief
. -
Hallo Gemeinde,
bei mir hat ein Mini Electric Einzug gehalten. hab den Adapterthread von vorn bis hinten diagonal lesen und komme klar, Danke an den Ersteller des Adapters.
Was mir fehlt sind Infos welche Werte die Datenpunkte für den Zustand der Türen, Fenster und Hauben annehmen können. Das würde die VIS integration erleichtern.
Was mir aber fast noch wichtiger ist sind die möglichen zustände der Datenpunkte rund ums Laden. Da gibt es neben CHARGING, CONNECTED und DISCONNECTED bestimmt noch mehr mögliche Infos.
Konkret bin ich grade an einem Blockly um zu erkennen ob und wieviel Unterwegs ausserhalb der heimischen Wallbox geladen wird. -
Hallo zusammen,
ich habe mir inzwischen auch den Adapter installiert, das hat soweit auch gut geklappt.
Die Einrichtung und Verbindung hat grundsätzlich funktioniert, ich bekomme auch zumindest schonmal die Basisdaten des Wagens.
Allerdings bekomme ich beim Abruf der Telematikdaten einen Fehler (siehe Log).
Ich habe alles doppelt geprüft, ich finde keinen Fehler.
Ich hoffe jemand kann mir den richtigen Tipp geben.2026-08-10 14:14:41.493 - info: bmw.0 (359658) starting. Version 5.0.0 in /opt/iobroker/node_modules/iobroker.bmw, node: v22.23.2, js-controller: 7.2.2 2026-08-10 14:14:41.504 - info: bmw.0 (359658) Initialized 293 descriptions, 143 states 2026-08-10 14:14:41.521 - debug: bmw.0 (359658) Restored 21 API call timestamps from history 2026-08-10 14:14:41.568 - info: bmw.0 (359658) Found stored BMW CarData session 2026-08-10 14:14:41.568 - debug: bmw.0 (359658) Refreshing BMW CarData tokens 2026-08-10 14:14:41.569 - debug: bmw.0 (359658) Refresh token URL: https://customer.bmwgroup.com/gcdm/oauth/token 2026-08-10 14:14:41.569 - debug: bmw.0 (359658) Client ID: ec3e8bee-b685-4627-b02e-2e6xxxxx4f5c 2026-08-10 14:14:41.569 - debug: bmw.0 (359658) Refresh request data: {"grant_type":"refresh_token","refresh_token":"D4z0nLGxa9ibjo1r-04Uu9470Z8","client_id":"ec3e8bee-b685-4627-b02e-2e6dbe694f5c"} 2026-08-10 14:14:41.779 - debug: bmw.0 (359658) Tokens refreshed successfully - MQTT will auto-reconnect with new credentials 2026-08-10 14:14:41.779 - info: bmw.0 (359658) Starting BMW CarData vehicle discovery... 2026-08-10 14:14:41.779 - debug: bmw.0 (359658) Fetching BMW CarData vehicle mappings 2026-08-10 14:14:42.365 - debug: bmw.0 (359658) ✓ fetch vehicle mappings completed successfully 2026-08-10 14:14:42.365 - debug: bmw.0 (359658) [{"vin":"WBY31HDxxxxxxxxxx","mappedSince":"2026-05-18T13:03:36.139Z","mappingType":"PRIMARY"}] 2026-08-10 14:14:42.365 - info: bmw.0 (359658) Found 1 BMW vehicles 2026-08-10 14:14:42.365 - info: bmw.0 (359658) Added vehicle: WBY31HDxxxxxxxxxx 2026-08-10 14:14:44.458 - info: bmw.0 (359658) Setting up telematic container... 2026-08-10 14:14:44.465 - info: bmw.0 (359658) Creating container with 293 technical identifiers from telematic.json 2026-08-10 14:14:44.495 - error: bmw.0 (359658) create telematic container failed: Request failed with status code 403 2026-08-10 14:14:44.495 - error: bmw.0 (359658) Response status: 403 2026-08-10 14:14:44.495 - error: bmw.0 (359658) Response data: {"exveErrorId":"CU-403","exveErrorMsg":"Bad Request. Forbidden","exveErrorRef":"","exveNote":"This application error is raised when an invalid resource is invoked, or a valid resource is invoked incorrectly."} 2026-08-10 14:14:44.495 - error: bmw.0 (359658) Failed to create telematic container: Request failed with status code 403 2026-08-10 14:14:44.495 - error: bmw.0 (359658) Response status: 403 2026-08-10 14:14:44.496 - error: bmw.0 (359658) Response data: {"exveErrorId":"CU-403","exveErrorMsg":"Bad Request. Forbidden","exveErrorRef":"","exveNote":"This application error is raised when an invalid resource is invoked, or a valid resource is invoked incorrectly."} 2026-08-10 14:14:44.496 - error: bmw.0 (359658) Failed to setup telematic container 2026-08-10 14:14:44.579 - debug: bmw.0 (359658) Connecting to BMW MQTT: mqtts://customer.streaming-cardata.bmwgroup.com:9000 2026-08-10 14:14:44.579 - debug: bmw.0 (359658) MQTT Username: f8aa4928-7d1f-46cd-9e9a-0d15ab1200ce 2026-08-10 14:14:44.628 - info: bmw.0 (359658) Setting up periodic telematic data updates every 60 minutes for 1 vehicle(s) 2026-08-10 14:14:44.629 - info: bmw.0 (359658) BMW CarData adapter startup complete 2026-08-10 14:14:44.629 - info: bmw.0 (359658) MQTT streaming: enabled 2026-08-10 14:14:44.629 - info: bmw.0 (359658) API quota: 27/50 calls remaining for API calls. Updates via MQTT do not count against quota. 2026-08-10 14:14:44.690 - info: bmw.0 (359658) BMW MQTT stream connected 2026-08-10 14:14:44.709 - debug: bmw.0 (359658) Subscribed to MQTT topic: f8aa4928-7d1f-46cd-9e9a-0d15ab1200ce/+ 2026-08-10 14:16:19.408 - info: host.iobroker "system.adapter.bmw.0" disabled 2026-08-10 14:16:19.408 - info: host.iobroker stopInstance system.adapter.bmw.0 (force=false, process=true) 2026-08-10 14:16:19.411 - info: bmw.0 (359658) Got terminate signal TERMINATE_YOURSELF 2026-08-10 14:16:19.412 - info: bmw.0 (359658) terminating 2026-08-10 14:16:19.413 - debug: bmw.0 (359658) Plugin sentry destroyed 2026-08-10 14:16:19.413 - info: bmw.0 (359658) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2026-08-10 14:16:19.423 - info: bmw.0 (359658) MQTT connection closed 2026-08-10 14:16:19.452 - info: host.iobroker stopInstance system.adapter.bmw.0 send kill signal 2026-08-10 14:16:19.913 - info: bmw.0 (359658) terminating -
Hallo zusammen,
ich habe mir inzwischen auch den Adapter installiert, das hat soweit auch gut geklappt.
Die Einrichtung und Verbindung hat grundsätzlich funktioniert, ich bekomme auch zumindest schonmal die Basisdaten des Wagens.
Allerdings bekomme ich beim Abruf der Telematikdaten einen Fehler (siehe Log).
Ich habe alles doppelt geprüft, ich finde keinen Fehler.
Ich hoffe jemand kann mir den richtigen Tipp geben.2026-08-10 14:14:41.493 - info: bmw.0 (359658) starting. Version 5.0.0 in /opt/iobroker/node_modules/iobroker.bmw, node: v22.23.2, js-controller: 7.2.2 2026-08-10 14:14:41.504 - info: bmw.0 (359658) Initialized 293 descriptions, 143 states 2026-08-10 14:14:41.521 - debug: bmw.0 (359658) Restored 21 API call timestamps from history 2026-08-10 14:14:41.568 - info: bmw.0 (359658) Found stored BMW CarData session 2026-08-10 14:14:41.568 - debug: bmw.0 (359658) Refreshing BMW CarData tokens 2026-08-10 14:14:41.569 - debug: bmw.0 (359658) Refresh token URL: https://customer.bmwgroup.com/gcdm/oauth/token 2026-08-10 14:14:41.569 - debug: bmw.0 (359658) Client ID: ec3e8bee-b685-4627-b02e-2e6xxxxx4f5c 2026-08-10 14:14:41.569 - debug: bmw.0 (359658) Refresh request data: {"grant_type":"refresh_token","refresh_token":"D4z0nLGxa9ibjo1r-04Uu9470Z8","client_id":"ec3e8bee-b685-4627-b02e-2e6dbe694f5c"} 2026-08-10 14:14:41.779 - debug: bmw.0 (359658) Tokens refreshed successfully - MQTT will auto-reconnect with new credentials 2026-08-10 14:14:41.779 - info: bmw.0 (359658) Starting BMW CarData vehicle discovery... 2026-08-10 14:14:41.779 - debug: bmw.0 (359658) Fetching BMW CarData vehicle mappings 2026-08-10 14:14:42.365 - debug: bmw.0 (359658) ✓ fetch vehicle mappings completed successfully 2026-08-10 14:14:42.365 - debug: bmw.0 (359658) [{"vin":"WBY31HDxxxxxxxxxx","mappedSince":"2026-05-18T13:03:36.139Z","mappingType":"PRIMARY"}] 2026-08-10 14:14:42.365 - info: bmw.0 (359658) Found 1 BMW vehicles 2026-08-10 14:14:42.365 - info: bmw.0 (359658) Added vehicle: WBY31HDxxxxxxxxxx 2026-08-10 14:14:44.458 - info: bmw.0 (359658) Setting up telematic container... 2026-08-10 14:14:44.465 - info: bmw.0 (359658) Creating container with 293 technical identifiers from telematic.json 2026-08-10 14:14:44.495 - error: bmw.0 (359658) create telematic container failed: Request failed with status code 403 2026-08-10 14:14:44.495 - error: bmw.0 (359658) Response status: 403 2026-08-10 14:14:44.495 - error: bmw.0 (359658) Response data: {"exveErrorId":"CU-403","exveErrorMsg":"Bad Request. Forbidden","exveErrorRef":"","exveNote":"This application error is raised when an invalid resource is invoked, or a valid resource is invoked incorrectly."} 2026-08-10 14:14:44.495 - error: bmw.0 (359658) Failed to create telematic container: Request failed with status code 403 2026-08-10 14:14:44.495 - error: bmw.0 (359658) Response status: 403 2026-08-10 14:14:44.496 - error: bmw.0 (359658) Response data: {"exveErrorId":"CU-403","exveErrorMsg":"Bad Request. Forbidden","exveErrorRef":"","exveNote":"This application error is raised when an invalid resource is invoked, or a valid resource is invoked incorrectly."} 2026-08-10 14:14:44.496 - error: bmw.0 (359658) Failed to setup telematic container 2026-08-10 14:14:44.579 - debug: bmw.0 (359658) Connecting to BMW MQTT: mqtts://customer.streaming-cardata.bmwgroup.com:9000 2026-08-10 14:14:44.579 - debug: bmw.0 (359658) MQTT Username: f8aa4928-7d1f-46cd-9e9a-0d15ab1200ce 2026-08-10 14:14:44.628 - info: bmw.0 (359658) Setting up periodic telematic data updates every 60 minutes for 1 vehicle(s) 2026-08-10 14:14:44.629 - info: bmw.0 (359658) BMW CarData adapter startup complete 2026-08-10 14:14:44.629 - info: bmw.0 (359658) MQTT streaming: enabled 2026-08-10 14:14:44.629 - info: bmw.0 (359658) API quota: 27/50 calls remaining for API calls. Updates via MQTT do not count against quota. 2026-08-10 14:14:44.690 - info: bmw.0 (359658) BMW MQTT stream connected 2026-08-10 14:14:44.709 - debug: bmw.0 (359658) Subscribed to MQTT topic: f8aa4928-7d1f-46cd-9e9a-0d15ab1200ce/+ 2026-08-10 14:16:19.408 - info: host.iobroker "system.adapter.bmw.0" disabled 2026-08-10 14:16:19.408 - info: host.iobroker stopInstance system.adapter.bmw.0 (force=false, process=true) 2026-08-10 14:16:19.411 - info: bmw.0 (359658) Got terminate signal TERMINATE_YOURSELF 2026-08-10 14:16:19.412 - info: bmw.0 (359658) terminating 2026-08-10 14:16:19.413 - debug: bmw.0 (359658) Plugin sentry destroyed 2026-08-10 14:16:19.413 - info: bmw.0 (359658) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2026-08-10 14:16:19.423 - info: bmw.0 (359658) MQTT connection closed 2026-08-10 14:16:19.452 - info: host.iobroker stopInstance system.adapter.bmw.0 send kill signal 2026-08-10 14:16:19.913 - info: bmw.0 (359658) terminating -
Okay, hab die 5.0.1 probiert, leider im Ergebnis das gleiche:
2026-08-10 21:59:59.598 - info: bmw.0 (374181) starting. Version 5.0.1 (non-npm: TA2k/ioBroker.bmw) in /opt/iobroker/node_modules/iobroker.bmw, node: v22.23.2, js-controller: 7.2.2 2026-08-10 21:59:59.609 - info: bmw.0 (374181) Initialized 294 descriptions, 143 states 2026-08-10 21:59:59.676 - info: bmw.0 (374181) Found stored BMW CarData session 2026-08-10 21:59:59.858 - info: bmw.0 (374181) Starting BMW CarData vehicle discovery... 2026-08-10 22:00:00.237 - info: bmw.0 (374181) Found 1 BMW vehicles 2026-08-10 22:00:00.237 - info: bmw.0 (374181) Added vehicle: WBY31HDxxxxxxxxxx 2026-08-10 22:00:02.333 - info: bmw.0 (374181) Setting up telematic container... 2026-08-10 22:00:02.544 - info: bmw.0 (374181) Found 0/10 existing containers (0 ACTIVE) before creating a new one 2026-08-10 22:00:02.546 - info: bmw.0 (374181) Creating container with 294 technical identifiers from telematic.json 2026-08-10 22:00:02.580 - error: bmw.0 (374181) create telematic container failed: Request failed with status code 403 2026-08-10 22:00:02.580 - error: bmw.0 (374181) Response status: 403 2026-08-10 22:00:02.580 - error: bmw.0 (374181) Response data: {"exveErrorId":"CU-403","exveErrorMsg":"Bad Request. Forbidden","exveErrorRef":"","exveNote":"This application error is raised when an invalid resource is invoked, or a valid resource is invoked incorrectly."} 2026-08-10 22:00:02.581 - error: bmw.0 (374181) Failed to create telematic container: Request failed with status code 403 2026-08-10 22:00:02.581 - error: bmw.0 (374181) Response status: 403 2026-08-10 22:00:02.581 - error: bmw.0 (374181) Response data: {"exveErrorId":"CU-403","exveErrorMsg":"Bad Request. Forbidden","exveErrorRef":"","exveNote":"This application error is raised when an invalid resource is invoked, or a valid resource is invoked incorrectly."} 2026-08-10 22:00:02.581 - error: bmw.0 (374181) Token scope on this session: cardata:api:read openid cardata:streaming:read authenticate_user 2026-08-10 22:00:02.581 - error: bmw.0 (374181) HTTP 403 (CU-403) on container creation although the token has 'cardata:api:read'. This is a BMW-side authorization refusal on the container endpoint, not a data problem. Known checklist: (1) both CarData API AND CarData Streaming subscribed to this Client ID, (2) you are the PRIMARY user of the VIN, (3) fewer than 10 containers exist on the account. If all apply, this is likely a BMW backend/entitlement issue - report it with this log. 2026-08-10 22:00:02.581 - error: bmw.0 (374181) Failed to setup telematic container 2026-08-10 22:00:02.783 - info: bmw.0 (374181) Setting up periodic telematic data updates every 60 minutes for 1 vehicle(s) 2026-08-10 22:00:02.783 - info: bmw.0 (374181) BMW CarData adapter startup complete 2026-08-10 22:00:02.783 - info: bmw.0 (374181) MQTT streaming: enabled 2026-08-10 22:00:02.783 - info: bmw.0 (374181) API quota: 29/50 calls remaining for API calls. Updates via MQTT do not count against quota. 2026-08-10 22:00:02.884 - info: bmw.0 (374181) BMW MQTT stream connected -
Okay, hab die 5.0.1 probiert, leider im Ergebnis das gleiche:
2026-08-10 21:59:59.598 - info: bmw.0 (374181) starting. Version 5.0.1 (non-npm: TA2k/ioBroker.bmw) in /opt/iobroker/node_modules/iobroker.bmw, node: v22.23.2, js-controller: 7.2.2 2026-08-10 21:59:59.609 - info: bmw.0 (374181) Initialized 294 descriptions, 143 states 2026-08-10 21:59:59.676 - info: bmw.0 (374181) Found stored BMW CarData session 2026-08-10 21:59:59.858 - info: bmw.0 (374181) Starting BMW CarData vehicle discovery... 2026-08-10 22:00:00.237 - info: bmw.0 (374181) Found 1 BMW vehicles 2026-08-10 22:00:00.237 - info: bmw.0 (374181) Added vehicle: WBY31HDxxxxxxxxxx 2026-08-10 22:00:02.333 - info: bmw.0 (374181) Setting up telematic container... 2026-08-10 22:00:02.544 - info: bmw.0 (374181) Found 0/10 existing containers (0 ACTIVE) before creating a new one 2026-08-10 22:00:02.546 - info: bmw.0 (374181) Creating container with 294 technical identifiers from telematic.json 2026-08-10 22:00:02.580 - error: bmw.0 (374181) create telematic container failed: Request failed with status code 403 2026-08-10 22:00:02.580 - error: bmw.0 (374181) Response status: 403 2026-08-10 22:00:02.580 - error: bmw.0 (374181) Response data: {"exveErrorId":"CU-403","exveErrorMsg":"Bad Request. Forbidden","exveErrorRef":"","exveNote":"This application error is raised when an invalid resource is invoked, or a valid resource is invoked incorrectly."} 2026-08-10 22:00:02.581 - error: bmw.0 (374181) Failed to create telematic container: Request failed with status code 403 2026-08-10 22:00:02.581 - error: bmw.0 (374181) Response status: 403 2026-08-10 22:00:02.581 - error: bmw.0 (374181) Response data: {"exveErrorId":"CU-403","exveErrorMsg":"Bad Request. Forbidden","exveErrorRef":"","exveNote":"This application error is raised when an invalid resource is invoked, or a valid resource is invoked incorrectly."} 2026-08-10 22:00:02.581 - error: bmw.0 (374181) Token scope on this session: cardata:api:read openid cardata:streaming:read authenticate_user 2026-08-10 22:00:02.581 - error: bmw.0 (374181) HTTP 403 (CU-403) on container creation although the token has 'cardata:api:read'. This is a BMW-side authorization refusal on the container endpoint, not a data problem. Known checklist: (1) both CarData API AND CarData Streaming subscribed to this Client ID, (2) you are the PRIMARY user of the VIN, (3) fewer than 10 containers exist on the account. If all apply, this is likely a BMW backend/entitlement issue - report it with this log. 2026-08-10 22:00:02.581 - error: bmw.0 (374181) Failed to setup telematic container 2026-08-10 22:00:02.783 - info: bmw.0 (374181) Setting up periodic telematic data updates every 60 minutes for 1 vehicle(s) 2026-08-10 22:00:02.783 - info: bmw.0 (374181) BMW CarData adapter startup complete 2026-08-10 22:00:02.783 - info: bmw.0 (374181) MQTT streaming: enabled 2026-08-10 22:00:02.783 - info: bmw.0 (374181) API quota: 29/50 calls remaining for API calls. Updates via MQTT do not count against quota. 2026-08-10 22:00:02.884 - info: bmw.0 (374181) BMW MQTT stream connected
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden