anyone using Home Assistant for their i4 with BMW connected drive? | Page 2 | BMW i4 Forum
BMW i4 Forum banner
21 - 31 of 31 Posts
There is a way, its a little messy, do you know how to run python scripts? Linux machine preferable but can also be done with Chrome on developer mode by intersecting traffic for the bearer token... When am back home tomorrow we can PM the detail s
Can you share the steps on how to find client ID? Thank you.
 
Discussion starter · #22 ·
Luckily it has gotten simpler, try it out

Using Browser Developer Tools:

Login: Go to the BMW ConnectedDrive website and log in to your account.
Developer Tools:
Chrome/Edge: Press Ctrl+Shift+I (Windows) or Cmd+Option+I (Mac).
Firefox: Right-click and select "Inspect Element"
Network Tab: Click on the "Network" tab in the developer tools panel.
Filter: Type "gcdm" in the filter box to refine the list of network requests.
Request Headers: Click on one of the filtered requests, then look for the "gcdm-api-key" in the "Request Headers" section. The value next to it is your Client ID.
 
Luckily it has gotten simpler, try it out

Using Browser Developer Tools:

Login: Go to the BMW ConnectedDrive website and log in to your account.
Developer Tools:
Chrome/Edge: Press Ctrl+Shift+I (Windows) or Cmd+Option+I (Mac).
Firefox: Right-click and select "Inspect Element"
Network Tab: Click on the "Network" tab in the developer tools panel.
Filter: Type "gcdm" in the filter box to refine the list of network requests.
Request Headers: Click on one of the filtered requests, then look for the "gcdm-api-key" in the "Request Headers" section. The value next to it is your Client ID.
I must be blind. When I look at GCDM under network and headers, I only have one. Opening it up and going under request headers I only see
Accept:
Accept-Ending:
Accept Language:
Authorization where I see a GCID,
Connection:
Cookies:
From:
Host:
Referer:
Sec-Cha-Ua:

Really disappointed in myself I can’t find it.
 
Luckily it has gotten simpler, try it out

Using Browser Developer Tools:

Login: Go to the BMW ConnectedDrive website and log in to your account.
Developer Tools:
Chrome/Edge: Press Ctrl+Shift+I (Windows) or Cmd+Option+I (Mac).
Firefox: Right-click and select "Inspect Element"
Network Tab: Click on the "Network" tab in the developer tools panel.
Filter: Type "gcdm" in the filter box to refine the list of network requests.
Request Headers: Click on one of the filtered requests, then look for the "gcdm-api-key" in the "Request Headers" section. The value next to it is your Client ID.
This is through mygarage.bmwusa.com/connected-drive-store
 
Digging up this post.

Anyone find their HA and bmw died this week?

I removed the integration and after 20 mins i can add it back, but then all entities are unavailable are a few minutes.

I presume this is related to BMW preventing 3rd party use of its APi’s? Which is really annoying as the wifes audi still works fine.

Will be even more annoying in winter when i can get My automation of preconditioning with my coffee machine to defrost!
 
Digging up this post.

Anyone find their HA and bmw died this week?

I removed the integration and after 20 mins i can add it back, but then all entities are unavailable are a few minutes.

I presume this is related to BMW preventing 3rd party use of its APi’s? Which is really annoying as the wifes audi still works fine.

Will be even more annoying in winter when i can get My automation of preconditioning with my coffee machine to defrost!
Yes, BMW have closed their API to everyone other than approved energy suppliers.
they have a new API coming in the autumn but we don’t yet know any of the details about this.
 
Yes, BMW have closed their API to everyone other than approved energy suppliers.
they have a new API coming in the autumn but we don’t yet know any of the details about this.
Gutted!

seen someone has managed to get it to work again by making up a device id - i presume to trick the api.
 
Its the user agent hack i’ve done on mine.. and so far its working!
 
Discussion starter · #30 ·
mine is working fine, just checked now, I know a couple of weeks ago I had to re-login with an HA generated QR code and scan with the bmwapp....I am in the US thou so maybe is different in EU
 
21 - 31 of 31 Posts