August Lock Invalid Config

Hi, is anyone having this problem of late. Everything was good and this morning I woke and noticed that my August Lock is not showing in Hass.io. In the notification tab it says ‘Invalid config’. I haven’t made any changes so I am wondering why it’s now missing.

This is the error log:

Error during setup of component august
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/homeassistant/setup.py", line 154, in _async_setup_component
    component.setup, hass, processed_config)  # type: ignore
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.7/site-packages/homeassistant/components/august/__init__.py", line 168, in setup
    return setup_august(hass, config, api, authenticator)
  File "/usr/local/lib/python3.7/site-packages/homeassistant/components/august/__init__.py", line 115, in setup_august
    hass, api, authentication.access_token)
  File "/usr/local/lib/python3.7/site-packages/homeassistant/components/august/__init__.py", line 179, in __init__
    self._doorbells = self._api.get_doorbells(self._access_token) or []
  File "/usr/local/lib/python3.7/site-packages/august/api.py", line 146, in get_doorbells
    access_token=access_token).json()
  File "/usr/local/lib/python3.7/site-packages/august/api.py", line 296, in _call_api
    response.raise_for_status()
  File "/usr/local/lib/python3.7/site-packages/requests/models.py", line 940, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://api-production.august.com/users/doorbells/mine
here is my config:

    august:
      login_method: email
      username: !secret august_usernm
      password: !secret august_passwd

The last line says it all.

HTTPError: 401 Client Error: Unauthorized for url: https://api-production.august.com/users/doorbells/mine

You have a username / password issue to resolve, it appears.

My username is my email and my password have not been changed. I still log into my august app with the same password.

I have the same problem as of a few days ago. Password and username have not changed. Perhaps this is due to an update on August’s end that breaks the existing cover.

Also, I only have locks - no doorbell.

I am having the same problem running HA 0.92. I have not changed my August username/password

Error during setup of component august
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/homeassistant/setup.py", line 156, in _async_setup_component
    component.setup, hass, processed_config)  # type: ignore
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.7/site-packages/homeassistant/components/august/__init__.py", line 166, in setup
    return setup_august(hass, config, api, authenticator)
  File "/usr/local/lib/python3.7/site-packages/homeassistant/components/august/__init__.py", line 113, in setup_august
    hass, api, authentication.access_token)
  File "/usr/local/lib/python3.7/site-packages/homeassistant/components/august/__init__.py", line 177, in __init__
    self._doorbells = self._api.get_doorbells(self._access_token) or []
  File "/usr/local/lib/python3.7/site-packages/august/api.py", line 146, in get_doorbells
    access_token=access_token).json()
  File "/usr/local/lib/python3.7/site-packages/august/api.py", line 296, in _call_api
    response.raise_for_status()
  File "/usr/local/lib/python3.7/site-packages/requests/models.py", line 940, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://api-production.august.com/users/doorbells/mine

No solutions yet?
Ecovacs was broken and it took months before we got it back up running and as soon as we got it, now my August lock is down. I hope it doesn’t take as long for this to be solved.

1 Like

Broken for me as well. Same errors.

have you tried deleting the auth token for august
this fixed the same issue you had previously

https://github.com/home-assistant/home-assistant/issues/19286

Thanks !! I deleted it as you suggested and “wa la” I am back in business.

I started having this same issue yesterday. Unfortunately, deleting the .august.conf file has not fixed it. I tried changing the login from email to phone, but no difference. I get the verification codes, enter them in configurator, but still get this error:

2020-02-06 10:19:12 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.1821574640] 429 Client Error: Too Many Requests for url: https://api-production.august.com/users/doorbells/mine

Myself is having the same issue, I thought it was just me. I also did everything you did but no change

seems like it’s widespread, and there’s a GitHub discussion:
https://github.com/home-assistant/home-assistant/issues/31472

For what it’s worth, I found a workaround for now: I only use Home Assistant to lock the door, never to unlock it. I also have August integrated with Alexa. So I made an Alexa routine to lock the door, and then used the Home Assistant Alexa Media Player to run it from within Home Assistant. I’m hoping it’s fixed soon, but in the meantime it works. Oh, I tried to directly connect the August lock with z-wave, but as others have reported, it works about half the time. So at least this way I know the door will lock at night or when I leave.

I was hoping it would be solved by the time I get home from work today but if not, I can work around it with my harmony remote integration.

This is solved in 0.105.3

Got home and everything works fine now.

Still not working for me. Suspect its an outdated authorization code but can’t find the august.conf file anywhere-any ideas?

Upgrade my HA install and on restart got a verification code text but no popup to enter it. Now no matter how many restarts can’t get a new code, same error.