Lutron caseta stopped working

lutron casets suddenly stopped working yesterday. I get an error in the logs:

2017-10-06 20:53:34 ERROR (MainThread) [homeassistant.setup] Error during setup of component lutron_caseta
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/setup.py", line 194, in _async_setup_component
    component.setup, hass, processed_config)
  File "/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.5/asyncio/tasks.py", line 296, in _wakeup
    future.result()
  File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
    raise self._exception
  File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/lutron_caseta.py", line 42, in setup
    hostname=config[CONF_HOST]
  File "/srv/homeassistant/lib/python3.5/site-packages/pylutron_caseta/smartbridge.py", line 32, in __init__
    self._login_ssh()
  File "/srv/homeassistant/lib/python3.5/site-packages/pylutron_caseta/smartbridge.py", line 274, in _login_ssh
    username=ssh_user, pkey=ssh_key)
  File "/srv/homeassistant/lib/python3.5/site-packages/paramiko/client.py", line 416, in connect
    look_for_keys, gss_auth, gss_kex, gss_deleg_creds, t.gss_host,
  File "/srv/homeassistant/lib/python3.5/site-packages/paramiko/client.py", line 701, in _auth
    raise saved_exception
  File "/srv/homeassistant/lib/python3.5/site-packages/paramiko/client.py", line 678, in _auth
    self._transport.auth_publickey(username, key))
  File "/srv/homeassistant/lib/python3.5/site-packages/paramiko/transport.py", line 1447, in auth_publickey
    return self.auth_handler.wait_for_response(my_event)
  File "/srv/homeassistant/lib/python3.5/site-packages/paramiko/auth_handler.py", line 223, in wait_for_response
    raise e
paramiko.ssh_exception.AuthenticationException: Authentication failed.

Looks like somehow the credentials are not being accepted any longer… Anyone know how to sort this out?

Exact same issue here

Yup some more of us are having the same issue:

:frowning:

This is not well tested yet… I set this up tonight and thought I would share:

Same issue. Here’s my traceback:

2017-10-21 07:59:31 ERROR (MainThread) [homeassistant.setup] Error during setup of component lutron_caseta
Traceback (most recent call last):
  File "/usr/src/app/homeassistant/setup.py", line 194, in _async_setup_component
    component.setup, hass, processed_config)
  File "/usr/local/lib/python3.6/asyncio/futures.py", line 332, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/local/lib/python3.6/asyncio/tasks.py", line 250, in _wakeup
    future.result()
  File "/usr/local/lib/python3.6/asyncio/futures.py", line 245, in result
    raise self._exception
  File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/app/homeassistant/components/lutron_caseta.py", line 42, in setup
    hostname=config[CONF_HOST]
  File "/usr/local/lib/python3.6/site-packages/pylutron_caseta/smartbridge.py", line 32, in __init__
    self._login_ssh()
  File "/usr/local/lib/python3.6/site-packages/pylutron_caseta/smartbridge.py", line 274, in _login_ssh
    username=ssh_user, pkey=ssh_key)
  File "/usr/local/lib/python3.6/site-packages/paramiko/client.py", line 416, in connect
    look_for_keys, gss_auth, gss_kex, gss_deleg_creds, t.gss_host,
  File "/usr/local/lib/python3.6/site-packages/paramiko/client.py", line 701, in _auth
    raise saved_exception
  File "/usr/local/lib/python3.6/site-packages/paramiko/client.py", line 603, in _auth
    self._transport.auth_publickey(username, pkey))
  File "/usr/local/lib/python3.6/site-packages/paramiko/transport.py", line 1447, in auth_publickey
    return self.auth_handler.wait_for_response(my_event)
  File "/usr/local/lib/python3.6/site-packages/paramiko/auth_handler.py", line 223, in wait_for_response

If you’re interested in following along on the progress of a fix, you can keep an eye on this pull request on pylutron-caseta.

1 Like

Thank you! I’ll follow along.