core: BMW Connected Drive: 401 Unauthorized

The problem

Hello, my Bmw connected has stopped working a few months ago, this is the error that my home assistant gives. ERROR: Reintentando la configuración: Error communicating with BMW API: Client error ‘401 Unauthorized’ for url… Is it possible error in the API? help!!! bmw

What version of Home Assistant Core has the issue?

core

What was the last working version of Home Assistant Core?

core

What type of installation are you running?

Home Assistant OS

Integration causing the issue

BMW BMW Connected Drive

Link to integration documentation on our website

https://www.home-assistant.io/integrations/bmw_connected_drive/

Diagnostics information

2023-05-01 04:32:22.910 ERROR (MainThread) [custom_components.bmw_connected_drive] The ‘bmw_connected_drive’ option near /config/configuration.yaml:0 has been removed, please remove it from your configuration

bmw

Example YAML snippet

https://www.home-assistant.io/integrations/bmw_connected_drive/

################################################
###### BMW CONECTED DRIVE SERIE 420D         ###
################################################

bmw_connected_drive:
  name:
    username: !secret user_bmw_connected_drive
    password: !secret passd_bmw_connected_drive
    region: "rest_of_world"

SECRETS:
##############################################
#    BMW CONECTED DRIVE         SERIE 420D   #
##############################################

user_bmw_connected_drive: EMAIL
passd_bmw_connected_drive: PASSWORD

Anything in the logs that might be useful for us?

** no
2023-05-01 04:32:22.910 ERROR (MainThread) [custom_components.bmw_connected_drive] The 'bmw_connected_drive' option near /config/configuration.yaml:0 has been removed, please remove it from your configuration

Additional information

** no 2023-05-01 04:32:22.910 ERROR (MainThread) [custom_components.bmw_connected_drive] The ‘bmw_connected_drive’ option near /config/configuration.yaml:0 has been removed, please remove it from your configuration

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 15 (6 by maintainers)

Most upvoted comments

@home-assistant rename BMW Connected Drive: 401 Unauthorized

Hi

Same happens to me (Europe/World server), if you try to login again after a while on bmw website. It always asks you to reset the password. No need to change the password, just use the saved password. Now you can log back on to the car, home assistant, app, etc.

However after a day or so it stops working in home assistant. There is supposedly an update in the next version of home assistant that hopefully fix this.

Not sure if it is the BMW server that is acting up, or if it is home assistant that does something that forces us to reset the password.

Christian

On Tue, 6 Jun 2023 at 05:10, xyvyx1 @.***> wrote:

ok, scratch that. I’m pointing the finger at BMWUSA’s site. Previously, I’d changed my pw on the website, verified & logged in… all vehicle info appeared correct / intact. Yesterday, I attempted to use the BMW app on my phone and, no surprise, login failure. No problem, it was stored using my password manager. Selected those credentials and bam… but no dice! One more day later & those same credentials weren’t working anymore on the website via. the same PC I’d set it from before.

So I did the PW reset on the website again this evening. Works on the website just fine. Installed & configured via the HA integration and this time, it works!

— Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/92318#issuecomment-1577830992, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABIYBOKCIF3NKEKL4K2LQ2TXJ2NTZANCNFSM6AAAAAAXROABQQ . You are receiving this because you commented.Message ID: @.***>