Is anybody successfully using August Lock with HA?
I just installed lock at home with HomeKit and tried to configure it in HA, but I get an error.
I received a code from august upon first boot of HA, but august lock never showed up in the gui.
When I examined the log, I saw errors posted below.
I raised a bug request here:
https://github.com/home-assistant/home-assistant/issues/13815
Basically here is the error log:
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>