bimmer_connected icon indicating copy to clipboard operation
bimmer_connected copied to clipboard

SECURED LockState no longer available

Open turribeach opened this issue 4 years ago • 8 comments

Describe the issue

Hi,

I used to be able to see the LockState as SECURED when the doors were locked and the alarm was activated:

https://bimmer-connected.readthedocs.io/en/latest/module/vehicle.html#bimmer_connected.vehicle.doors_windows.LockState

But now it seems to be set to LOCKED instead of SECURED.

Expected behavior

LockState set as SECURED when the doors were locked and the alarm was activated

Which Home Assistant version are you using?

Not using HA

What was the last working version of Home Assistant Core?

Not using HA

What is your region?

Rest of world

MyBMW website

  • [X] I can still successfully login to the BMW MyBMW website and the car status is available there.
  • [X] 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

turribeach avatar May 26 '22 21:05 turribeach

There wasn't any change how the API values are parsed, so I guess there was a change in the BMW side.

Please provide a fingerprint using bimmerconnected fingerprint when the vehicle should provide the SECURED value so we can check against the provided values.

rikroe avatar May 27 '22 12:05 rikroe

Hi, thanks for the reply. I have checked the fingerprint values in both cases with the car "locked" and the car "secured" and it always comes as "locked" so I think you are right, they must have changed it at their side. It's a pitty really as this was very handy. I also just started to get 403 Forbidden on my calls. Not sure if I polled it too quickly (every 5mins) and they banned me or something...

turribeach avatar May 27 '22 13:05 turribeach

You're not the only one getting 403: https://github.com/bimmerconnected/bimmer_connected/discussions/443

FlyingDiver avatar May 27 '22 13:05 FlyingDiver

You're not the only one getting 403: #443

Same here. logs tells me 403 Client Error: Forbidden for url: https://cocoapi.bmwgroup.com/eadrax-ucs/v1/presentation/oauth/config

or

Error fetching bmw_connected_drive-"email address" data: Error communicating with API: 429 Client Error: Too Many Requests for url: https://cocoapi.bmwgroup.com/eadrax-vcs/v1/vehicles?apptimezone=120.0&appDateTime=......

Then it just starts working again, without changing or restarting anything Sometimes it helps to restart the integration, and sometimes restarting the integration does not help

Would presume that bmw are working on something or messed something up !

mibo-wb-gh avatar May 27 '22 14:05 mibo-wb-gh

Are you sure it's working at times for you? I have not got a successful update since ~10am BST this morning. BTW I raised this issue now:

https://github.com/bimmerconnected/bimmer_connected/issues/444

So probably best to move the discussion there.

turribeach avatar May 27 '22 16:05 turribeach

Are you sure it's working at times for you? I have not got a successful update since ~10am BST this morning. BTW I raised this issue now:

#444

So probably best to move the discussion there.

It worked for the last time for few minutes this morning at around 11:20 CET, since then the no login has been possible

mibo-wb-gh avatar May 27 '22 16:05 mibo-wb-gh

As BMW seemed to have changed the API (and the 403 error has been fixed since a month), I am closing this.

rikroe avatar Jul 09 '22 08:07 rikroe

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

github-actions[bot] avatar Aug 09 '22 04:08 github-actions[bot]