Skip to content

Instantly share code, notes, and snippets.

@mdonoughe
mdonoughe / get_lutron_cert.py
Last active January 17, 2022 03:11 — forked from mhofman/get_lutron_cert.sh
Generate a signed certificate valid to connect locally to a Lutron Caseta Smart Bridge
"""Guide the user through pairing and save the necessary files."""
# `python -m venv env`
# bash: `source ./env/bin/activate`
# powershell: `./env/scripts/activate.ps1`
# `pip install cryptography==2.1.3 requests==2.18.4`
# `python get_lutron_cert.py`
# your client key -> caseta.key
# your client certificate -> caseta.crt