Re: SOC BMW
Verfasst: Di Apr 07, 2026 5:09 pm
Das war wohl ein begrenztes Ostergeschenk von BMW
Die Ladestandübermittlung funktioniert nicht mehr.
Die Ladestandübermittlung funktioniert nicht mehr.
Hi,heidanei hat geschrieben: Do Apr 23, 2026 12:09 pm Noch ein Thema:
Ich habe zwei BMW in meinem Profil, hab beide in der OpenWB verbunden. Beim Wechsel des Fahrzeugs geht die Verbindung zum anderen Fahrzeug verloren:
fm_soc.jpg
SoC-Log: https://paste.openwb.de/Csf01fepPBrZ2HL
Danke für die schnelle Reaktion!DerDennis hat geschrieben: Do Apr 23, 2026 12:20 pm Das ist ein bisher unbekannter Bug: Wenn du das zweite Fahrzeug in openWB koppelst werden die Tokens des ersten ungültig weil BMW nur einen aktiven Token pro Account erlaubt.
Ich nehme das als Issue auf und werde das in einer nächsten Version lösen. Für jetzt leider noch kein Workaround verfügbar.
Code: Alles auswählen
2026-04-23 15:34:32,343 - {modules.common.component_context:29} - {DEBUG:fetch soc_ev1} - Update Komponente ['BMW CarData']
2026-04-23 15:34:32,358 - {modules.vehicles.bmw_cardata.soc:154} - {DEBUG:fetch soc_ev1} - BMW CarData: Container-ID aus Konfiguration: xxxxx
2026-04-23 15:34:32,374 - {modules.vehicles.bmw_cardata.soc:118} - {DEBUG:fetch soc_ev1} - BMW CarData: GET https://api-cardata.bmwgroup.com/customers/vehicles/xxxxxxxxx/telematicData?containerId=xxxxxxxxxxxxx
2026-04-23 15:34:32,399 - {urllib3.connectionpool:978} - {DEBUG:fetch soc_ev1} - Starting new HTTPS connection (1): api-cardata.bmwgroup.com:443
2026-04-23 15:34:33,021 - {urllib3.connectionpool:453} - {DEBUG:fetch soc_ev1} - https://api-cardata.bmwgroup.com:443 "GET /customers/vehicles/xxxxxxxxxxxx/telematicData?containerId=xxxxxxxxxxx HTTP/1.1" 200 1170
2026-04-23 15:34:33,059 - {modules.common.req:53} - {DEBUG:fetch soc_ev1} - Get-Response: {"telematicData":{"vehicle.powertrain.electric.battery.stateOfCharge.target":{"timestamp":"2026-02-12T12:09:46.000Z","unit":"%","value":"100"},"vehicle.vehicle.travelledDistance":{"timestamp":"2026-04-23T12:17:16.000Z","unit":"km","value":"87055"},"vehicle.drivetrain.electricEngine.kombiRemainingElectricRange":{"timestamp":"2026-04-23T12:17:16.000Z","unit":null,"value":"196"},"vehicle.vehicle.preConditioning.activity":{"timestamp":null,"unit":null,"value":null},"vehicle.drivetrain.electricEngine.charging.status":{"timestamp":"2026-04-23T12:17:16.000Z","unit":null,"value":"CHARGINGACTIVE"},"vehicle.drivetrain.electricEngine.charging.timeRemaining":{"timestamp":"2026-04-23T13:34:32.990Z","unit":"min","value":"233"},"vehicle.drivetrain.batteryManagement.header":{"timestamp":"2026-04-23T12:17:16.000Z","unit":"%","value":"70"},"vehicle.cabin.hvac.preconditioning.status.comfortState":{"timestamp":null,"unit":null,"value":null},"vehicle.body.chargingPort.status":{"timestamp":"2026-04-23T12:17:16.000Z","unit":null,"value":"CONNECTED"},"vehicle.drivetrain.electricEngine.charging.hvStatus":{"timestamp":"2026-04-23T13:34:32.990Z","unit":null,"value":"CHARGING"}}}
2026-04-23 15:34:33,116 - {modules.vehicles.bmw_cardata.soc:225} - {INFO:fetch soc_ev1} - BMW CarData: SoC=70%, Reichweite=None km, Status=CHARGINGACTIVE, Odometer=87055 km
2026-04-23 15:34:33,132 - {modules.common.configurable_vehicle:86} - {DEBUG:fetch soc_ev1} - Requested start soc from api: 70%
2026-04-23 15:34:33,150 - {modules.common.store._api:26} - {DEBUG:fetch soc_ev1} - Raw data CarState(soc=70, range=None, soc_timestamp=1776951273.132165, odometer=87055)
2026-04-23 15:34:33,511 - {modules.common.store._api:31} - {INFO:store soc_ev1} - Saving CarState(soc=70, range=None, soc_timestamp=1776951273.132165, odometer=87055)Code: Alles auswählen
2026-04-23 16:58:24,524 - {modules.common.component_context:29} - {DEBUG:fetch soc_ev1} - Update Komponente ['BMW CarData']
2026-04-23 16:58:24,545 - {modules.vehicles.bmw_cardata.soc:154} - {DEBUG:fetch soc_ev1} - BMW CarData: Container-ID aus Konfiguration: xxxxxxxxxxx
2026-04-23 16:58:24,607 - {modules.vehicles.bmw_cardata.soc:118} - {DEBUG:fetch soc_ev1} - BMW CarData: GET https://api-cardata.bmwgroup.com/customers/vehicles/xxxxxxxxxxx/telematicData?containerId=xxxxxxxxxxx
2026-04-23 16:58:24,690 - {urllib3.connectionpool:978} - {DEBUG:fetch soc_ev1} - Starting new HTTPS connection (1): api-cardata.bmwgroup.com:443
2026-04-23 16:58:25,475 - {urllib3.connectionpool:453} - {DEBUG:fetch soc_ev1} - https://api-cardata.bmwgroup.com:443 "GET /customers/vehicles/xxxxxxxxxxx/telematicData?containerId=xxxxxxxxxxx HTTP/1.1" 200 1147
2026-04-23 16:58:25,511 - {modules.common.req:53} - {DEBUG:fetch soc_ev1} - Get-Response: {"telematicData":{"vehicle.powertrain.electric.battery.stateOfCharge.target":{"timestamp":"2026-02-12T12:09:46.000Z","unit":"%","value":"100"},"vehicle.vehicle.travelledDistance":{"timestamp":"2026-04-23T14:22:14.000Z","unit":"km","value":"87055"},"vehicle.drivetrain.electricEngine.kombiRemainingElectricRange":{"timestamp":"2026-04-23T14:22:14.000Z","unit":null,"value":"233"},"vehicle.vehicle.preConditioning.activity":{"timestamp":null,"unit":null,"value":null},"vehicle.drivetrain.electricEngine.charging.status":{"timestamp":"2026-04-23T14:22:14.000Z","unit":null,"value":"NOCHARGING"},"vehicle.drivetrain.electricEngine.charging.timeRemaining":{"timestamp":null,"unit":"min","value":null},"vehicle.drivetrain.batteryManagement.header":{"timestamp":"2026-04-23T14:22:14.000Z","unit":"%","value":"81"},"vehicle.cabin.hvac.preconditioning.status.comfortState":{"timestamp":null,"unit":null,"value":null},"vehicle.body.chargingPort.status":{"timestamp":"2026-04-23T14:22:14.000Z","unit":null,"value":"CONNECTED"},"vehicle.drivetrain.electricEngine.charging.hvStatus":{"timestamp":"2026-04-23T14:58:25.300Z","unit":null,"value":"NOT_CHARGING"}}}
2026-04-23 16:58:25,611 - {modules.vehicles.bmw_cardata.soc:225} - {INFO:fetch soc_ev1} - BMW CarData: SoC=81%, Reichweite=None km, Status=NOCHARGING, Odometer=87055 km
2026-04-23 16:58:25,631 - {modules.common.configurable_vehicle:86} - {DEBUG:fetch soc_ev1} - Requested start soc from api: 81%
2026-04-23 16:58:25,654 - {modules.common.store._api:26} - {DEBUG:fetch soc_ev1} - Raw data CarState(soc=81, range=None, soc_timestamp=1776956305.630666, odometer=87055)
2026-04-23 16:58:25,968 - {modules.common.store._api:31} - {INFO:store soc_ev1} - Saving CarState(soc=81, range=None, soc_timestamp=1776956305.630666, odometer=87055)