BMW-i-Remote icon indicating copy to clipboard operation
BMW-i-Remote copied to clipboard

Get misc SoC Data not working anymore

Open cp1983 opened this issue 6 years ago • 5 comments

Get misc SoC Data is not working anymore. I guess this has something to do with the link used to get it.

Error i get in from the server is: The remote server returned an error: (403) Forbidden.'

Does anyone know how to get the SoC data now.

Still get the charge percentage. However not SOCmax and SOC

cp1983 avatar Nov 20 '18 20:11 cp1983

I had that issue 1-2 weeks ago and that was a temp. issue from BMW, as you was not able to login with the browser too.

rs38 avatar Nov 21 '18 07:11 rs38

So you are able to get the State of charge now? For instance 19.3 kWh

Christian

Den ons. 21. nov. 2018, 08:26 skrev Falco <[email protected]:

I had that issue 1-2 weeks ago and that was a temp. issue from BMW, as you was not able to login with the browser too.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/edent/BMW-i-Remote/issues/47#issuecomment-440563688, or mute the thread https://github.com/notifications/unsubscribe-auth/AFGAueZn-SJAKv5Sor08yXY3nPQ9JDPXks5uxQAMgaJpZM4Yr6Fz .

cp1983 avatar Nov 21 '18 07:11 cp1983

true, currently I get 403, but can login via browser and see the SOC in the json: https://www.bmw-connecteddrive.de/api/vehicle/navigation/v1/WBxyz

rs38 avatar Nov 21 '18 07:11 rs38

there are still some issues with BMW, even their current app behaves strange, does not update. quite well known, if you google for CD problems.

rs38 avatar Nov 28 '18 12:11 rs38

it seems that BMW changed and devides the scope of their access token (which makes sense). You now need an additional token that is only used for the portal based webservice calls like the one with socmax. there are some solutions in the wild in either PHP or python. check e.g. https://github.com/sergejmueller/battery.ebiene.de/blob/master/_inc/api.class.php @cp1983

rs38 avatar Mar 09 '19 09:03 rs38