Pulling my hair out on this one. Over the weekend I was working in the network closet and had to disconnect my lutron pro hub and move it to another port on my switch. I did not change the IP of the hub, and the port is configured for the same VLAN as my RPI3 running HA. All of my lutron switches stopped functioning though after that understandably, so I restarted HA and now I cannot get the component to load. There was no change in my configuration file and this has been working rock solid for a while. I even restarted the hub a few times.
It appears to be a connection timeout issue so I’m assuming my RPI can’t speak to the hub, which seems odd as they are both on the same VLAN and I haven’t changed any firewall rules. I understand this may be a network issue and not a HA issue, but does anyone have any ideas??
Using a unifi USG with a 16 port unifi switch if it matters. Both devices are plugged directly into the 16 port switch. One on port 2 and one on 14. IP for the hub is set in unifi controller and shows up under clients as that IP. I can connect to the lutron hub via the lutron app no problem.
Log Error:
2017-08-22 07:08:56 ERROR (MainThread) [homeassistant.setup] Error during setup of component lutron_caseta
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.4/site-packages/homeassistant/setup.py”, line 194, in _async_setup_component
component.setup, hass, processed_config)
File “/usr/lib/python3.4/asyncio/futures.py”, line 388, in iter
yield self # This tells Task to wait for completion.
File “/usr/lib/python3.4/asyncio/tasks.py”, line 286, in _wakeup
value = future.result()
File “/usr/lib/python3.4/asyncio/futures.py”, line 277, in result
raise self._exception
File “/usr/lib/python3.4/concurrent/futures/thread.py”, line 54, in run
result = self.fn(*self.args, **self.kwargs)
File “/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/lutron_caseta.py”, line 42, in setup
hostname=config[CONF_HOST]
File “/srv/homeassistant/lib/python3.4/site-packages/pylutron_caseta/smartbridge.py”, line 33, in init
self._login_ssh()
File “/srv/homeassistant/lib/python3.4/site-packages/pylutron_caseta/smartbridge.py”, line 191, in _login_ssh
username=ssh_user, pkey=ssh_key)
File “/srv/homeassistant/lib/python3.4/site-packages/paramiko/client.py”, line 310, in connect
retry_on_signal(lambda: sock.connect(addr))
File “/srv/homeassistant/lib/python3.4/site-packages/paramiko/util.py”, line 276, in retry_on_signal
return function()
File “/srv/homeassistant/lib/python3.4/site-packages/paramiko/client.py”, line 310, in
retry_on_signal(lambda: sock.connect(addr))
TimeoutError: [Errno 110] Connection timed out