Core: August Lock error on startup.

Created on 11 Apr 2018  路  24Comments  路  Source: home-assistant/core

Home Assistant release with the issue:
ou are currently running version 0.66.0

Last working Home Assistant release (if known):

Operating environment (Hass.io/Docker/Windows/etc.):
Hass.io
RPi 3

Component/platform:

Description of problem:
I added august lock to configuration.yaml.
Once it came up the first time, I was asked for confirmation key from august as expected.
I used configurator to enter the code I received via txt from august.

After that I still could not see august lock on the HA GUI, so I restarted HA once again.

Still do not see august lock on the GUI.

Next thing I looked at the log and saw an error I posted below.
I seem to have a valid key generated for access (I reducted my API key from the log)

I use August lock with Apple HomeKit . NOT using zwave for the lock.

If I hit the URL from the log directly in my browser,

https://api-production.august.com/locks/D6D...my-api-key/status

I get this error from august:

{"code":"MissingParameter","message":"x-august-api-key header is required"}

But it maybe irrelevant as code maybe sending correct header. But it could also be useful info, so I include it.

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

august:
  login_method: phone
  username: !secret user1_phone
  password: !secret august_password

Traceback (if applicable):

2018-04-11 07:16:53 INFO (MainThread) [homeassistant.components.lock] Setting up lock.august
2018-04-11 07:16:54 ERROR (MainThread) [homeassistant.components.lock] august: Error on device update!
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 188, in _async_add_entity
    await entity.async_device_update(warning=False)
  File "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 327, in async_device_update
    yield from self.hass.async_add_job(self.update)
  File "/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/lib/python3.6/site-packages/homeassistant/components/lock/august.py", line 50, in update
    self._lock_status = self._data.get_lock_status(self._lock.device_id)
  File "/usr/lib/python3.6/site-packages/homeassistant/components/august.py", line 229, in get_lock_status
    self._update_locks()
  File "/usr/lib/python3.6/site-packages/homeassistant/util/__init__.py", line 319, in wrapper
    result = method(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/homeassistant/components/august.py", line 244, in _update_locks
    self._access_token, lock.device_id)
  File "/usr/lib/python3.6/site-packages/august/api.py", line 204, in get_lock_status
    access_token=access_token).json()
  File "/usr/lib/python3.6/site-packages/august/api.py", line 243, in _call_api
    response.raise_for_status()
  File "/usr/lib/python3.6/site-packages/requests/models.py", line 935, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 409 Client Error: Conflict for url: https://api-production.august.com/locks/D6DA2278....mykey/status
2018-04-11 07:16:54 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: timestamp=1523402214.8573093, level=ERROR, message=august: Error on device update!, exception=Traceback (most recen
  File "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 188, in _async_add_entity
    await entity.async_device_update(warning=False)
  File "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 327, in async_device_update
    yield from self.hass.async_add_job(self.update)
  File "/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/lib/python3.6/site-packages/homeassistant/components/lock/august.py", line 50, in update
    self._lock_status = self._data.get_lock_status(self._lock.device_id)
  File "/usr/lib/python3.6/site-packages/homeassistant/components/august.py", line 229, in get_lock_status
    self._update_locks()
  File "/usr/lib/python3.6/site-packages/homeassistant/util/__init__.py", line 319, in wrapper
    result = method(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/homeassistant/components/august.py", line 244, in _update_locks
    self._access_token, lock.device_id)
  File "/usr/lib/python3.6/site-packages/august/api.py", line 204, in get_lock_status
    access_token=access_token).json()
  File "/usr/lib/python3.6/site-packages/august/api.py", line 243, in _call_api
    response.raise_for_status()
  File "/usr/lib/python3.6/site-packages/requests/models.py", line 935, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 409 Client Error: Conflict for url: https://api-production.august.com/locks/D6DA2278....mykey/status
, source=components/august.py>
2018-04-11 07:16:54 INFO (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=group, service=set, service_data=object_id=all_locks, name=all locks, entities=[], visible=False, service_call_i
2018-04-11 07:16:54 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=group.all_locks, old_state=None, new_state=<state group.all_locks=unknown; entity_id=(), order=4, auto=True,
2018-04-11 07:16:54 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_executed[L]: service_call_id=1968328496-4>
2018-04-11 07:16:57 INFO (MainThread) [homeassistant.setup] Setting up emulated_hue

Additional information:

august stale

Most helpful comment

@RyanCozy That's great!

I think the relevant info is this (which I'll leave it here so I can address it in the code ... one day (-: )

About to call https://api-production.august.com/locks/7458B4FA5FF846F3BC3EC9AB0F32EAFE/status with header={'Accept-Version': '0.0.1', 'x-august-api-key': '79fd0eb6-381d-4adf-95a0-47721289d1d9', 'x-kease-api-key': '79fd0eb6-381d-4adf-95a0-47721289d1d9', 'Content-Type': 'application/json', 'User-Agent': 'August/Luna-3.2.2', 'x-august-access-token': '....'} and payload=None

Received API response: 409, b'{"code":"ConflictError","message":"no bridge or incompatible bridge type"}'

btw, I could be wrong but I think "'x-august-access-token" is the token that can be used to control your august devices. I'd suggest you to edit the .august.conf file and replace "state" value "authenticated" with "requires_authentication". That way your old access token will be invalid when you re-authenticate.

All 24 comments

Do you have August Connect or August Doorbell in your setup? You'll need either of those to be able to use August APIs

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.

Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment :+1:

Hello, I am having the same issue.
I have an August connect.
After entering the code I got this error:
august: Error on device update.
I have one lock not connected to the august connect, and another one connected

Hi all,
My Hassio is up to date and still getting error for August lock. I read that this was a issue that Home Assistant is looking into. Has anyone heard anymore on this issue?
"The following components and platforms could not be setup."

I have deleted the August file, and double, triple checked my config. I have removed August in config and re-added. Nothing seems to be working.

As of Sept 13, with a clean install of HA, August is still not working on HA.

@cullenchris @RyanCozy can you add this to your configuration and post some logs?

logger:
  default: info
  logs:
    august.api: debug

Please remove sensitive info when posting logs

@cullenchris @RyanCozy can you add this to your configuration and post some logs?

logger:
  default: info
  logs:
    august.api: debug

Please remove sensitive info when posting logs

august: Error on device update!
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 251, in _async_add_entity
    await entity.async_device_update(warning=False)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 353, in async_device_update
    yield from self.hass.async_add_job(self.update)
  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/lock/august.py", line 50, in update
    self._lock_status = self._data.get_lock_status(self._lock.device_id)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/august.py", line 229, in get_lock_status
    self._update_locks()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/util/__init__.py", line 325, in wrapper
    result = method(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/august.py", line 244, in _update_locks
    self._access_token, lock.device_id)
  File "/usr/local/lib/python3.6/site-packages/august/api.py", line 214, in get_lock_status
    access_token=access_token).json()
  File "/usr/local/lib/python3.6/site-packages/august/api.py", line 261, in _call_api
    response.raise_for_status()
  File "/usr/local/lib/python3.6/site-packages/requests/models.py", line 939, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 409 Client Error: Conflict for url: https://api-production.august.com/locks/7458B4FA5FF846F3BC3EC9AB0F32EAFE/status`

Hmm so it鈥檚 august that returns 409 for some reason, never seen this

Can you also post the August request and response payload prior to this error?

Also can you share your August setup? For example do you use connect or doorbell for remote access, how many locks, etc ...

2018-09-14 10:35:29 INFO (MainThread) [homeassistant.loader] Loaded august from homeassistant.components.august
2018-09-14 10:35:32 INFO (MainThread) [homeassistant.setup] Setting up august
2018-09-14 10:35:32 DEBUG (SyncWorker_2) [august.api] About to call https://api-production.august.com/users/doorbells/mine with header={'Accept-Version': '0.0.1', 'x-august-api-key': '79fd0eb6-381d-4adf-95a0-47721289d1d9', 'x-kease-api-key': '79fd0eb6-381d-4adf-95a0-47721289d1d9', 'Content-Type': 'application/json', 'User-Agent': 'August/Luna-3.2.2', 'x-august-access-token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpbnN0YWxsSWQiOiI5MjJmNzNkYi0yZjQ2LTQ3ODQtYWRjOS02YjNlNTgwNmY4NzAiLCJhcHBsaWNhdGlvbklkIjoiIiwidXNlcklkIjoiNzFiNzFlYTgtZGM1Mi00NTdkLTg4YTMtMjYwYWVkNGRiMmRhIiwidkluc3RhbGxJZCI6dHJ1ZSwidlBhc3N3b3JkIjp0cnVlLCJ2RW1haWwiOmZhbHNlLCJ2UGhvbmUiOmZhbHNlLCJoYXNJbnN0YWxsSWQiOnRydWUsImhhc1Bhc3N3b3JkIjp0cnVlLCJoYXNFbWFpbCI6dHJ1ZSwiaGFzUGhvbmUiOnRydWUsImlzTG9ja2VkT3V0IjpmYWxzZSwiY2FwdGNoYSI6IiIsImVtYWlsIjpbXSwicGhvbmUiOltdLCJleHBpcmVzQXQiOiIyMDE5LTAxLTExVDA2OjI4OjE1LjM0NFoiLCJ0ZW1wb3JhcnlBY2NvdW50Q3JlYXRpb25QYXNzd29yZExpbmsiOiIiLCJpYXQiOjE1MzY4MjAwOTUsImV4cCI6bnVsbCwiTGFzdE5hbWUiOiJDb3NzZXkiLCJGaXJzdE5hbWUiOiJSeWFuIn0._G1hqoq_V4sOlo1xUGP8wIW0HsI8PxVHb-JELtOGPvc'} and payload=None
2018-09-14 10:35:32 DEBUG (SyncWorker_2) [august.api] Received API response: 200, b'{}'
2018-09-14 10:35:32 DEBUG (SyncWorker_2) [august.api] About to call https://api-production.august.com/users/locks/mine with header={'Accept-Version': '0.0.1', 'x-august-api-key': '79fd0eb6-381d-4adf-95a0-47721289d1d9', 'x-kease-api-key': '79fd0eb6-381d-4adf-95a0-47721289d1d9', 'Content-Type': 'application/json', 'User-Agent': 'August/Luna-3.2.2', 'x-august-access-token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpbnN0YWxsSWQiOiI5MjJmNzNkYi0yZjQ2LTQ3ODQtYWRjOS02YjNlNTgwNmY4NzAiLCJhcHBsaWNhdGlvbklkIjoiIiwidXNlcklkIjoiNzFiNzFlYTgtZGM1Mi00NTdkLTg4YTMtMjYwYWVkNGRiMmRhIiwidkluc3RhbGxJZCI6dHJ1ZSwidlBhc3N3b3JkIjp0cnVlLCJ2RW1haWwiOmZhbHNlLCJ2UGhvbmUiOmZhbHNlLCJoYXNJbnN0YWxsSWQiOnRydWUsImhhc1Bhc3N3b3JkIjp0cnVlLCJoYXNFbWFpbCI6dHJ1ZSwiaGFzUGhvbmUiOnRydWUsImlzTG9ja2VkT3V0IjpmYWxzZSwiY2FwdGNoYSI6IiIsImVtYWlsIjpbXSwicGhvbmUiOltdLCJleHBpcmVzQXQiOiIyMDE5LTAxLTExVDA2OjI4OjE1LjM0NFoiLCJ0ZW1wb3JhcnlBY2NvdW50Q3JlYXRpb25QYXNzd29yZExpbmsiOiIiLCJpYXQiOjE1MzY4MjAwOTUsImV4cCI6bnVsbCwiTGFzdE5hbWUiOiJDb3NzZXkiLCJGaXJzdE5hbWUiOiJSeWFuIn0._G1hqoq_V4sOlo1xUGP8wIW0HsI8PxVHb-JELtOGPvc'} and payload=None
2018-09-14 10:35:33 DEBUG (SyncWorker_2) [august.api] Received API response: 200, b'{"7458B4FA5FF846F3BC3EC9AB0F32EAFE":{"LockName":"Front Door","UserType":"superuser","macAddress":"*Deleted*","HouseID":"*Deleted*","HouseName":"Cindy&apos;s House"},"7CC1DF81C05F490181E2C57B5DEAD365":{"LockName":"Front Door","UserType":"superuser","macAddress":"*Deleted*","HouseID":"*Deleted*","HouseName":"Cozy House"}}'
2018-09-14 10:35:33 INFO (MainThread) [homeassistant.setup] Setup of domain august took 1.3 seconds.
2018-09-14 10:35:33 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=august>
2018-09-14 10:35:33 INFO (MainThread) [homeassistant.core] Bus:Handling <Event platform_discovered[L]: service=load_platform.binary_sensor, platform=august, discovered=>
2018-09-14 10:35:33 INFO (MainThread) [homeassistant.loader] Loaded binary_sensor.august from homeassistant.components.binary_sensor.august
2018-09-14 10:35:33 INFO (MainThread) [homeassistant.core] Bus:Handling <Event platform_discovered[L]: service=load_platform.camera, platform=august, discovered=>
2018-09-14 10:35:33 INFO (MainThread) [homeassistant.core] Bus:Handling <Event platform_discovered[L]: service=load_platform.lock, platform=august, discovered=>
2018-09-14 10:35:33 INFO (MainThread) [homeassistant.loader] Loaded camera.august from homeassistant.components.camera.august
2018-09-14 10:35:33 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.august
2018-09-14 10:35:33 INFO (MainThread) [homeassistant.loader] Loaded lock.august from homeassistant.components.lock.august
2018-09-14 10:35:33 INFO (MainThread) [homeassistant.components.camera] Setting up camera.august
2018-09-14 10:35:33 INFO (MainThread) [homeassistant.components.lock] Setting up lock.august
2018-09-14 10:35:33 DEBUG (SyncWorker_11) [august.api] About to call https://api-production.august.com/locks/7458B4FA5FF846F3BC3EC9AB0F32EAFE/status with header={'Accept-Version': '0.0.1', 'x-august-api-key': '79fd0eb6-381d-4adf-95a0-47721289d1d9', 'x-kease-api-key': '79fd0eb6-381d-4adf-95a0-47721289d1d9', 'Content-Type': 'application/json', 'User-Agent': 'August/Luna-3.2.2', 'x-august-access-token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpbnN0YWxsSWQiOiI5MjJmNzNkYi0yZjQ2LTQ3ODQtYWRjOS02YjNlNTgwNmY4NzAiLCJhcHBsaWNhdGlvbklkIjoiIiwidXNlcklkIjoiNzFiNzFlYTgtZGM1Mi00NTdkLTg4YTMtMjYwYWVkNGRiMmRhIiwidkluc3RhbGxJZCI6dHJ1ZSwidlBhc3N3b3JkIjp0cnVlLCJ2RW1haWwiOmZhbHNlLCJ2UGhvbmUiOmZhbHNlLCJoYXNJbnN0YWxsSWQiOnRydWUsImhhc1Bhc3N3b3JkIjp0cnVlLCJoYXNFbWFpbCI6dHJ1ZSwiaGFzUGhvbmUiOnRydWUsImlzTG9ja2VkT3V0IjpmYWxzZSwiY2FwdGNoYSI6IiIsImVtYWlsIjpbXSwicGhvbmUiOltdLCJleHBpcmVzQXQiOiIyMDE5LTAxLTExVDA2OjI4OjE1LjM0NFoiLCJ0ZW1wb3JhcnlBY2NvdW50Q3JlYXRpb25QYXNzd29yZExpbmsiOiIiLCJpYXQiOjE1MzY4MjAwOTUsImV4cCI6bnVsbCwiTGFzdE5hbWUiOiJDb3NzZXkiLCJGaXJzdE5hbWUiOiJSeWFuIn0._G1hqoq_V4sOlo1xUGP8wIW0HsI8PxVHb-JELtOGPvc'} and payload=None
2018-09-14 10:35:34 DEBUG (SyncWorker_11) [august.api] Received API response: 409, b'{"code":"ConflictError","message":"no bridge or incompatible bridge type"}'
2018-09-14 10:35:34 ERROR (MainThread) [homeassistant.components.lock] august: Error on device update!
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 251, in _async_add_entity
    await entity.async_device_update(warning=False)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 353, in async_device_update
    yield from self.hass.async_add_job(self.update)
  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/lock/august.py", line 50, in update
    self._lock_status = self._data.get_lock_status(self._lock.device_id)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/august.py", line 229, in get_lock_status
    self._update_locks()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/util/__init__.py", line 325, in wrapper
    result = method(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/august.py", line 244, in _update_locks
    self._access_token, lock.device_id)
  File "/usr/local/lib/python3.6/site-packages/august/api.py", line 214, in get_lock_status
    access_token=access_token).json()
  File "/usr/local/lib/python3.6/site-packages/august/api.py", line 261, in _call_api
    response.raise_for_status()
  File "/usr/local/lib/python3.6/site-packages/requests/models.py", line 939, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 409 Client Error: Conflict for url: https://api-production.august.com/locks/7458B4FA5FF846F3BC3EC9AB0F32EAFE/status
2018-09-14 10:35:34 DEBUG (SyncWorker_12) [august.api] About to call https://api-production.august.com/locks/7458B4FA5FF846F3BC3EC9AB0F32EAFE/status with header={'Accept-Version': '0.0.1', 'x-august-api-key': '79fd0eb6-381d-4adf-95a0-47721289d1d9', 'x-kease-api-key': '79fd0eb6-381d-4adf-95a0-47721289d1d9', 'Content-Type': 'application/json', 'User-Agent': 'August/Luna-3.2.2', 'x-august-access-token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpbnN0YWxsSWQiOiI5MjJmNzNkYi0yZjQ2LTQ3ODQtYWRjOS02YjNlNTgwNmY4NzAiLCJhcHBsaWNhdGlvbklkIjoiIiwidXNlcklkIjoiNzFiNzFlYTgtZGM1Mi00NTdkLTg4YTMtMjYwYWVkNGRiMmRhIiwidkluc3RhbGxJZCI6dHJ1ZSwidlBhc3N3b3JkIjp0cnVlLCJ2RW1haWwiOmZhbHNlLCJ2UGhvbmUiOmZhbHNlLCJoYXNJbnN0YWxsSWQiOnRydWUsImhhc1Bhc3N3b3JkIjp0cnVlLCJoYXNFbWFpbCI6dHJ1ZSwiaGFzUGhvbmUiOnRydWUsImlzTG9ja2VkT3V0IjpmYWxzZSwiY2FwdGNoYSI6IiIsImVtYWlsIjpbXSwicGhvbmUiOltdLCJleHBpcmVzQXQiOiIyMDE5LTAxLTExVDA2OjI4OjE1LjM0NFoiLCJ0ZW1wb3JhcnlBY2NvdW50Q3JlYXRpb25QYXNzd29yZExpbmsiOiIiLCJpYXQiOjE1MzY4MjAwOTUsImV4cCI6bnVsbCwiTGFzdE5hbWUiOiJDb3NzZXkiLCJGaXJzdE5hbWUiOiJSeWFuIn0._G1hqoq_V4sOlo1xUGP8wIW0HsI8PxVHb-JELtOGPvc'} and payload=None
2018-09-14 10:35:34 DEBUG (SyncWorker_12) [august.api] Received API response: 409, b'{"code":"ConflictError","message":"no bridge or incompatible bridge type"}'
2018-09-14 10:35:34 ERROR (MainThread) [homeassistant.components.lock] august: Error on device update!
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 251, in _async_add_entity
    await entity.async_device_update(warning=False)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 353, in async_device_update
    yield from self.hass.async_add_job(self.update)
  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/lock/august.py", line 50, in update
    self._lock_status = self._data.get_lock_status(self._lock.device_id)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/august.py", line 229, in get_lock_status
    self._update_locks()
  File "/usr/local/lib/python3.6/site-packages/homeassistant/util/__init__.py", line 325, in wrapper
    result = method(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/august.py", line 244, in _update_locks
    self._access_token, lock.device_id)
  File "/usr/local/lib/python3.6/site-packages/august/api.py", line 214, in get_lock_status
    access_token=access_token).json()
  File "/usr/local/lib/python3.6/site-packages/august/api.py", line 261, in _call_api
    response.raise_for_status()
  File "/usr/local/lib/python3.6/site-packages/requests/models.py", line 939, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 409 Client Error: Conflict for url: https://api-production.august.com/locks/7458B4FA5FF846F3BC3EC9AB0F32EAFE/status

Setup:
August 3rd Gen door lock w/ wifi bridge & keypad.

When overlooking the log before i submitted it, I noticed the 409: "ConflictError","message":"no bridge or incompatible bridge type". I do have a bridge for my August lock, but I also am a user for another house that does NOT have a bridge. I'm wondering if having access to 2 different houses is creating a conflict.

@snjoetw I removed the 2nd house I had access to on the August App and everything works again on HomeAssistant. I hope this helps others that run into this issue in the future.

If you need any further information, I'd be glad to help.

@RyanCozy That's great!

I think the relevant info is this (which I'll leave it here so I can address it in the code ... one day (-: )

About to call https://api-production.august.com/locks/7458B4FA5FF846F3BC3EC9AB0F32EAFE/status with header={'Accept-Version': '0.0.1', 'x-august-api-key': '79fd0eb6-381d-4adf-95a0-47721289d1d9', 'x-kease-api-key': '79fd0eb6-381d-4adf-95a0-47721289d1d9', 'Content-Type': 'application/json', 'User-Agent': 'August/Luna-3.2.2', 'x-august-access-token': '....'} and payload=None

Received API response: 409, b'{"code":"ConflictError","message":"no bridge or incompatible bridge type"}'

btw, I could be wrong but I think "'x-august-access-token" is the token that can be used to control your august devices. I'd suggest you to edit the .august.conf file and replace "state" value "authenticated" with "requires_authentication". That way your old access token will be invalid when you re-authenticate.

@snjoetw Thanks!

I usually delete the august file in HA before restarting HA so I get a new Verification code and token.

I'm affected by this, no August function for the last day or so.

I'd suggest you to edit the .august.conf file and replace "state" value "authenticated" with "requires_authentication". That way your old access token will be invalid when you re-authenticate.

I had an issue with my token being expired but HASS just giving me an error with August setup rather than re-authenticating. Seems to be a longstanding issue with old posts in the forum. @snjoetw is there no easy way to detect an expired token and change the state automatically from "authenticated" to "requires_authentication"? Just doing that in my config got me going again with no further need to enter a password re-authenticate in the UI.

@sreknob do you have the response august returned when your token expired? I don't own any august devices now so I couldn't test this but if have the logs I should be able to add change the state when it happens

No, @snjoetw but I will be sure to keep them next time for debugging!
As it looks right now, I may be bugging you shortly after 2019-05-11T19:56:29.625Z
:-D

Is this still an issue you are experiencing? Can you please try upgrading to the latest version of Home Assistant (0.90) and report back if this is still a problem? Thanks!

I resolved mine, IIRC by @sreknob's requires_authentication of Jan 11 or some other hard reset.

My current auth token is still good till May 11, won't know till then....

@snjoetw - The clock ran out my authentication has expired - getting "error during setup of component august"
What logs/info do you need? I will keep it unauthenticated until I hear from you!

This the the traceback:

Sat May 11 2019 19:24:12 GMT-0400 (Eastern Daylight Time)
Error during setup of component august
Traceback (most recent call last):
  File "/usr/src/app/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/src/app/homeassistant/components/august/__init__.py", line 166, in setup
    return setup_august(hass, config, api, authenticator)
  File "/usr/src/app/homeassistant/components/august/__init__.py", line 113, in setup_august
    hass, api, authentication.access_token)
  File "/usr/src/app/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

Is there a code owner for august anymore that is willing to take this on?
It continues to be a thorn in the side of August platform users here on GitHub and the forums

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 馃憤
This issue now has been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

neonandu picture neonandu  路  3Comments

moskovskiy82 picture moskovskiy82  路  3Comments

Elmardus picture Elmardus  路  3Comments

arangates picture arangates  路  3Comments

sibbl picture sibbl  路  3Comments