Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get_vehicle_image suddenly not working #603

Closed
3 of 4 tasks
Jargendas opened this issue Mar 27, 2024 · 2 comments · Fixed by #604
Closed
3 of 4 tasks

get_vehicle_image suddenly not working #603

Jargendas opened this issue Mar 27, 2024 · 2 comments · Fixed by #604
Labels
bug 🐛 Something isn't working

Comments

@Jargendas
Copy link

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

  • I can still successfully login to the BMW MyBMW website and the car status is available there.
  • I have MyBMW enabled for my vehicle.

Number of cars

  • I have 2 or more cars linked to the MyBMW account.
  • I have a Mini vehicle linked to my account.

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
Copy link

Xav-74 commented Mar 29, 2024

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
Copy link
Member

rikroe commented Mar 29, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants