qwik3r
February 9, 2022, 6:27pm
1
I’m having trouble connecting my Lutron bridge. It’s recognized in HASS and it asks to press the black button on the back of the bridge after submitting the phone, I do so but then it simply says failed to connect. Any help would be great, thanks.
M0E-lnx
(M0 E Lnx)
February 9, 2022, 6:37pm
2
Can you check if you see anything on homeassistant.log
about this?
Mine has been working for a while but was configured with yaml a long time ago, and it recently stopped working.
I have filed a bug report on github and they recommended I try setting up via the UI like you are doing, but I’ll have to wait until I get home to press the button on the device.
My bug report is here in case you want to follow
opened 02:25AM - 09 Feb 22 UTC
integration: lutron_caseta
### The problem
I'm experiencing an issue after moving my core install from a v… irtualenv to a docker container. I recently decided to make the change because I was seeing messages about outdated sqlite3 on my host OS, so I figured I would move my install to the official docker container while i'm at it.
The existing configuration has been working fine for at least a couple of years and has several integrations like zwavejs2mqtt, decora_wifi, tasmota, mqtt, caseta, etc.
After copying all the data and setting starting the container, everything works, except for the caseta integration.
In the logs I see this
```
homeassistant | Traceback (most recent call last):
homeassistant | File "/usr/src/homeassistant/homeassistant/config_entries.py", line 327, in async_setup
homeassistant | result = await component.async_setup_entry(hass, self)
homeassistant | File "/usr/src/homeassistant/homeassistant/components/lutron_caseta/__init__.py", line 117, in async_setup_entry
homeassistant | bridge = Smartbridge.create_tls(
homeassistant | File "/usr/local/lib/python3.9/site-packages/pylutron_caseta/smartbridge.py", line 110, in create_tls
homeassistant | ssl_context.load_verify_locations(ca_certs)
homeassistant | FileNotFoundError: [Errno 2] No such file or directory
```
I'm not sure which files it's looking for, but I know the caseta key and certificate files are present and acessible within the container, so I'm baffled.
The issue and relevant config is also discussed here: https://community.home-assistant.io/t/lutron-caseta-unable-to-find-certificates-after-moving-installation-to-docker/390087
### What version of Home Assistant Core has the issue?
core-2022.2.4 (running in official container )
### What was the last working version of Home Assistant Core?
core-2022.2.2 (running in virtualenv)
### What type of installation are you running?
Home Assistant Container
### Integration causing the issue
lutron_caseta
### Link to integration documentation on our website
https://www.home-assistant.io/integrations/lutron_caseta
### Diagnostics information
```
Logger: homeassistant.config_entries
Source: components/lutron_caseta/__init__.py:117
First occurred: 7:44:19 PM (1 occurrences)
Last logged: 7:44:19 PM
Error setting up entry Caséta bridge for lutron_caseta
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 327, in async_setup
result = await component.async_setup_entry(hass, self)
File "/usr/src/homeassistant/homeassistant/components/lutron_caseta/__init__.py", line 117, in async_setup_entry
bridge = Smartbridge.create_tls(
File "/usr/local/lib/python3.9/site-packages/pylutron_caseta/smartbridge.py", line 110, in create_tls
ssl_context.load_verify_locations(ca_certs)
FileNotFoundError: [Errno 2] No such file or directory
```
### Example YAML snippet
```yaml
lutron_caseta:
- host: 192.168.N.NN
keyfile: /app/support/lutron/caseta.key
certfile: /app/support/lutron/caseta.crt
ca_certs: /app/support/lutron/caseta-bridge.crt
```
### Anything in the logs that might be useful for us?
_No response_
### Additional information
I have tried moving the files into the `config/` directory itself, but nothing seems to work.
I’d still be interested on the output from your logs though.
qwik3r
February 11, 2022, 9:17pm
3
I wasn’t even able to get as far as connecting the device therefore I have nothing in the logs… I’m asking for help with how to actually set this up.
M0E-lnx
(M0 E Lnx)
February 11, 2022, 9:50pm
4
I ended up getting mine to work. I migrated my old yaml setup, but it turns out it wanted the files directly in config/
not in any other path, not even under there.
qwik3r
February 11, 2022, 10:34pm
5
How did you generate the files? I can’t get seem to do that.
M0E-lnx
(M0 E Lnx)
February 11, 2022, 11:35pm
6
See Lutron Caséta - Home Assistant
Scroll down to the Manual Hub Configuration section