Closed VolckaertAchiel closed 1 year ago
Hey there @gerard33, @rikroe, mind taking a look at this issue as it has been labeled with an integration (bmw_connected_drive
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
bmw_connected_drive documentation bmw_connected_drive source (message by IssueLinks)
Your Home Assistant version is unfortunately too old. You'll need to upgrade to at least HA 2023.1 for minimal functionality from the library.
I have the same problem, cannot login anymore since 3-7 and all my HA stuff is up to date? I tried to reinstall, same problem
Do you get the same error with v2
in the URL? If yes, something is out of date. Gave you used the custom component once?
Same problem here since a week or so...
I have similar problem, since 5th July (HA 2023.6.3). Here are my log entries when it stopped working.
Logger: bimmer_connected.api.authentication Source: components/bmw_connected_drive/coordinator.py:61 First occurred: July 5, 2023 at 12:06:14 PM (2 occurrences) Last logged: July 5, 2023 at 12:06:17 PM
MyBMWAPIError due to HTTPStatusError: invalid_request - The request is missing a required parameter, includes an unsupported parameter value (other than grant type), repeats a parameter, includes multiple credentials, utilizes more than one mechanism for authenticating the client, or is otherwise malformed
MyBMWAuthError due to HTTPStatusError: invalid_client - Client authentication failed (e.g., login failure, unknown client, no client authentication included or unsupported authentication method)
HA is now asking me to reconfigure the integration and when submittIng the credentials, a authentication error message is displayed.
Are you still able to log in on the MyBMW website (not the app)? We saw that a password change was forced, but not displayed in the app, only the website.
Checking a little more, I have an automation which sends a message when the car is unlocked. This automation was trigged 11 times just before it stopped working, the last 6 were almost exactly 10 minute intervals. After that it looks like something happened with credentials (assuming some kind of automated restriction by BMW) as I can no longer log into the MyBMW website either.The fact it was exactly every 10 mins suggests this was something automated causing the events to trigger. Is there anything in your code that could run at 10min intervals and send an unlock trigger? (Trying to identify the cause before resetting the account, I have not changed anything in HA over the last week but noticed a new Supervisor 2023.7.1 has been installed around the same time)On 6 Jul 2023, at 17:50, Richard Kroegel @.***> wrote: Are you still able to log in on the MyBMW website (not the app)? We saw that a password change was forced, but not displayed in the app, only the website.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>
With HA 2023.7, we changed the refresh time for north America to every 10 minutes. For all other regions, it is still 5 minutes.
The only thing the integration does on a regular basis is getting the current vehicle state.
This could of course also change your lock state in HA if it is triggered externally.
Looking further in the Logbook, the integration seems to be have been looping before being cut off. Here’s what the window logbook looks like https://ibb.co/HYwmMdW the door lock is the same.
Not sure where I check the exact date/time Supervisor was updated to see if it was related?
Had the same error as of some days ago. Just upgraded HomeAssistant to version 2023.7.1 Added the BMW connection again. Everything works again.
@21Development what you seeing there is not the integration behaving weirdly, but the BMW API. After you get an error from the api, the integration'system state will turn to unknown. On the next regular scheduling interval, it becomes available again and shows the correct value.
This evening I was unable to login to the north_america servers and as another commenter mentioned I was required to change my password. The iOS app was still letting me use the already established session but HomeAssistant's session must have ended.
Resetting my password on https://login.bmwusa.com allowed me to reconfigure the integration successfully.
My car lost connection too (last connetion in 6 of July). As I tryed to login to BMW site, I recieved a popup message saying that the terms and conditions changed in february and I need to redefine a new password. After that (I define a new pass and change it in HA too), all works again.
Glad it's working again for you. Closing this as I'm cleaning up and as far as I know all should be well again. Please create a new issue if you still face problems.
@home-assistant close
The problem
i consistently get a 404, tried reinstalling and checked my credentials multiple times
Error communicating with BMW API: Client error '404 Resource Not Found' for url 'https://cocoapi.bmwgroup.com/eadrax-vcs/v2/vehicles' For more information check: https://httpstatuses.com/404
What version of Home Assistant Core has the issue?
core-2022.11.5
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Core
Integration causing the issue
BMW Connected Drive
Link to integration documentation on our website
https://www.home-assistant.io/integrations/bmw_connected_drive
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response