bimmerconnected / bimmer_connected

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

hass v0.79.3 could not connect BMW ConnectedDrive. #93

Closed plutosherry closed 5 years ago

plutosherry commented 6 years ago

hass v0.79.3 could not connect BMW ConnectedDrive. there are error logs: (PS: my account & password canbe login in the BMW ConnectedDrive website)

`Error during setup of component bmw_connected_drive Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/bimmer_connected/account.py", line 89, in _get_oauth_token expected_response=200, post=True) File "/usr/local/lib/python3.6/site-packages/bimmer_connected/account.py", line 134, in send_request raise IOError(msg) OSError: Unknown status code 400, expected 200

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/homeassistant/setup.py", line 148, in _async_setup_component component.setup, hass, processed_config) # type: ignore File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.6/site-packages/homeassistant/components/bmw_connected_drive/init.py", line 61, in setup accounts.append(setup_account(account_config, hass, name)) File "/usr/local/lib/python3.6/site-packages/homeassistant/components/bmw_connected_drive/init.py", line 90, in setup_account read_only) File "/usr/local/lib/python3.6/site-packages/homeassistant/components/bmw_connected_drive/init.py", line 137, in init self.account = ConnectedDriveAccount(username, password, region) File "/usr/local/lib/python3.6/site-packages/bimmer_connected/account.py", line 55, in init self._get_vehicles() File "/usr/local/lib/python3.6/site-packages/bimmer_connected/account.py", line 188, in _get_vehicles self._get_oauth_token() File "/usr/local/lib/python3.6/site-packages/bimmer_connected/account.py", line 94, in _get_oauth_token raise OSError(msg) from exception OSError: Authentication failed. Maybe your password is invalid?`

gerard33 commented 6 years ago

This error can happen every now and then. Can you please update this issue when the problem is still there or otherwise close it?

lock[bot] commented 4 years ago

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.