I am trying to generate the certificate files to connect my Lutron Smart Bridge (L-BDF2).
I have tried running the get_lutron_cert.py
script on 2 different Windows 10 computers as well as
on Ubuntu and Raspbian.
I have run the following on windows 10 in powershell using python 3.6.5:
python -m venv env
./env/scripts/activate.ps1
pip install cryptography==2.1.3 requests==2.18.4
That all runs great. When I run the next command python get_lutron_cert.py
, it asks for the URL from the error page, when I paste that in and click enter I get the following error:
Traceback (most recent call last):
File “get_lutron_cert.py”, line 78, in
with open(‘caseta.crt’, ‘rb’) as f:
FileNotFoundError: [Errno 2] No such file or directory: ‘caseta.crt’During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “get_lutron_cert.py”, line 125, in
app_cert = pairing_response[“remote_signs_app_certificate”]
KeyError: ‘remote_signs_app_certificate’
It generates the caseta.key
file but nothing else
Does anyone have any ideas on how to get this to work?
Thanks!