bimmerconnected / bimmer_connected

🚘 Library to query the status of your BMW or Mini from the ConnectedDrive portal
Apache License 2.0
373 stars 81 forks source link

get_vehicle_image suddenly not working #603

Closed Jargendas closed 7 months ago

Jargendas commented 7 months ago

Describe the issue

Hi, I'm using bimmer_connected as a standalone library, and I suddenly cannot get a vehicle image. It worked as expected two weeks ago. The error shown is:

httpx.HTTPStatusError: Client error '404 Not Found' for url 'https://cocoapi.bmwgroup.com/eadrax-ics/v3/presentation/vehicles/<VIN>/images?carView=VehicleStatus'

The <VIN> is obviously replaced with my VIN. All other queries seem to work as expected. I think there was an update to the MyBMW app recently, could it be that they changed the API?

Expected behavior

get_vehicle_image should return a rendered image of the car.

Which Home Assistant version are you using?

none

What was the last working version of Home Assistant Core?

none

What is your region?

Rest of world

MyBMW website

Number of cars

Output of bimmer_connected fingerprint

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

Xav-74 commented 7 months ago

Hi all,

For information,

File /bimmer_connected/vehicle/vehicle.py L44 FRONTSIDE = "VehicleStatus" # also available as AngleSideViewForty

VehicleStatus is now deprecated so you have to use AngleSideViewForty

Xav

rikroe commented 7 months ago

Thanks for the hint! I'll take this as opportunity to finally create a new release with the new API endpoints from #591 that have now been waiting for a while