After update to 0.66 Lutron components (3 dimmers) stopped working. The 3 caseta files are still in the config directory and the configuration.yaml file.
Log details: Sat Mar 31 2018 18:25:10 GMT-0400 (Eastern Daylight Time)
Error during setup of component lutron_caseta
Traceback (most recent call last):
File “/usr/lib/python3.6/site-packages/homeassistant/setup.py”, line 142, in _async_setup_component
result = await component.async_setup(hass, processed_config)
File “/usr/lib/python3.6/site-packages/homeassistant/components/lutron_caseta.py”, line 57, in async_setup
yield from bridge.connect()
File “/usr/lib/python3.6/site-packages/pylutron_caseta/smartbridge.py”, line 40, in connect
yield from self._login()
File “/usr/lib/python3.6/site-packages/pylutron_caseta/smartbridge.py”, line 281, in _login
self._reader, self._writer = yield from self._connect()
File “/usr/lib/python3.6/site-packages/pylutron_caseta/smartbridge.py”, line 58, in _connect
family=socket.AF_INET)
File “/usr/lib/python3.6/site-packages/pylutron_caseta/leap.py”, line 16, in open_connection
limit=limit, **kwds)
File “/usr/lib/python3.6/asyncio/streams.py”, line 75, in open_connection
lambda: protocol, host, port, **kwds)
File “uvloop/loop.pyx”, line 1769, in create_connection
File “/usr/lib/python3.6/asyncio/sslproto.py”, line 503, in data_received
ssldata, appdata = self._sslpipe.feed_ssldata(data)
File “/usr/lib/python3.6/asyncio/sslproto.py”, line 201, in feed_ssldata
self._sslobj.do_handshake()
File “/usr/lib/python3.6/ssl.py”, line 689, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:777)
I think it is much more likely a problem with my certificates. I have no time to troubleshoot now, but all my automations involving Lutron Caseta gear are not working, HA says “Invalid Config - The following components and platforms could not be set up: lutron-caseta”. My log shows the same as OP’s log:
“ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:777)”
(general) ~/homeio$ python ./get_lutron_cert.py
Enter the address of your Caseta bridge device: 192.168.1.xx
Traceback (most recent call last):
File "./get_lutron_cert.py", line 156, in <module>
leap_response['Body']['PingResponse']['LEAPVersion'])
KeyError: 'Body'
I did some more checking and the problem may have started before the upgrade. I was away from the house and one of the light showed as being on and would not turn off.
I was going to check on why when I saw the upgrade was available, I upgraded before checking for error messages.
Anyone know of a way to see if the firmware changed in the hub? I will call the Lutron help line tomorrow.
I hate to pay another $155 to buy a smart bridge pro on top of what I payed for the smart bridge, 3 dimmers and 3 remotes. Of course for another $4, I can get another dimmer and a remote ,
Yeah, I feel you. It is really annoying Lutron is so closed to third party development. Unfortunately as you could tell from the ‘copy this link after you get an error message’ - the previous work-around was unsupported by Lutron. So assuming another work-around is found - it can break at any time
The other annoying thing is I am sure the only difference between the non-Pro and Pro is the firmware!