From 6ceb6fb58d3f3517ec93f6a102bbdce2d3fb5430 Mon Sep 17 00:00:00 2001 From: Matthew Donoughe Date: Thu, 19 Jul 2018 20:52:54 -0400 Subject: [PATCH 1/2] update caseta docs for pylutron_caseta 0.5.0 --- source/_components/lutron_caseta.markdown | 4 ++-- source/assets/get_lutron_cert.zip | Bin 2468 -> 0 bytes 2 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 source/assets/get_lutron_cert.zip diff --git a/source/_components/lutron_caseta.markdown b/source/_components/lutron_caseta.markdown index 9783766c89d..b3de8f2abd6 100644 --- a/source/_components/lutron_caseta.markdown +++ b/source/_components/lutron_caseta.markdown @@ -25,9 +25,9 @@ The currently supported Caseta devices are: - Scenes as Home Assistant [scenes](/components/scene.lutron_caseta/) - Lutron shades as Home Assistant [covers](/components/cover.lutron_caseta/) -When configured, the `lutron_caseta` component will automatically discover the currently supported devices as setup in the Lutron Smart Bridge. The name assigned in the Lutron mobile app will be used to form the `entity_id` used in Home Assistant. e.g., a dimmer called 'Bedroom Lamp' becomes `light.bedroom_lamp` in Home Assistant. +When configured, the `lutron_caseta` component will automatically discover the currently supported devices as setup in the Lutron Smart Bridge. The name assigned in the Lutron mobile app will be used to form the `entity_id` used in Home Assistant. e.g., a dimmer called 'Lamp' in a room called 'Bedroom' becomes `light.bedroom_lamp` in Home Assistant. -To use Lutron Caseta devices in your installation, you must first log in to your Lutron account and generate a certificate that allows Home Assistant to connect to your bridge. This can be accomplished by downloading and executing [this script](/assets/get_lutron_cert.zip), which will generate three files: caseta.key, caseta.crt, caseta-bridge.crt when you run it. See the instructions at the top of the script for more information. +To use Lutron Caseta devices in your installation, you must first log in to your Lutron account and generate a certificate that allows Home Assistant to connect to your bridge. This can be accomplished by downloading and executing [get_lutron_cert.py](https://github.com/gurumitts/pylutron-caseta/blob/master/get_lutron_cert.py), which will generate three files: caseta.key, caseta.crt, caseta-bridge.crt when you run it. See the instructions at the top of the script for more information. Once you have the three necessary files, place them in your configuration directory and add the following to your `configuration.yaml`: diff --git a/source/assets/get_lutron_cert.zip b/source/assets/get_lutron_cert.zip deleted file mode 100644 index b3849e8a4120cd5d2e6eda0c985e064a715ffb89..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2468 zcmZ{m=Q|q;1I1%iP%A}^s2FY4UNK^%8mn9>YSgX}p+?oH5u1jqRvVkxs`iRqT(y;! z(57}#ZEZ2GG%dZi&-?9tpZ9z@=RD{90Y5Vn21XtR000O;cDtDX=u@|7Kmgz^9{>OX z000c~&%mHl&!L^P9eZW zo=NE)@c|QUqm^{4e2v-0YR}>{C}upRtz3%ms`u6zY+m|9utzd#^Ruc>JjPY!AG|vp zS4Mmm4v9wUE3@Q|*p4#TW($Osn z%}~gO)LeK2O~65SSi^8k&r}`-BKe*15P-31DU>3d%X>78sdzG+h;#S^xhc0WEM}(& zZfHM?oOy6hc5t*k-mm{X_8pAopx~n)FDwzOU$P6jRvYre)~=UnAzjD}#Cn|RZT@$_ zKApelCwlwFuo&dw-J-7hb}?_!Vr2pRC)S_+yRft}F=pBkl!d#NjU`S3m*Wc*^h5T) zF|(wT6Xc2HVVv%i@GqOHtciEgEjwV;D|hmwGy*;}h|3|T&Sq07J24KK=eP9;J6K!> zp_{W)8t7zIOC3YE&6t7}V|ouHCkh2_7d_4$T@L*mc@=d!9A`0xnRb_dDtSihafIvq zd@zQVE_E_c?H5uKhWEz%r$l)-Hi9q05NVi;S16A_KuyQKJVp0F1YMZhNY`+*nbQ+J z#UutAV(8qN@m|hDH6bznAZ6R+^{BPQnM_4y?!R|(yuBeA_5)cOvuhwe#@Qy+g!=8V z4MCQrQSl1W=J93-O5WgzT&A%lJ|K>ny?Po8eB53kDp8YYE;!--_d%dmp3E-AwOEDS zB7x=?IP1ezIpd*5sGm8s_aW)Pbn4q98pwOX*xv2-?t>niU|8?W7Hu-DVId#|)J1hw z!Ir0_80&K9Knv2cjC1eq)8dJ+$;UNcgS7fKRPsg&7pm1XI~I=f97!+9CC#Diq`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_@@IKFqJLS@_V)a(4-~a zP>w(At;JJ4-m7qySlQ>%bCW7CLxmU#7fE~ariTK8Z3AX3`f}SY>7%yLa<+*6a@$Wz zMCi4z!+}=4CW;MEtN_P)ADx*A9X*`k|FM$9zqIsQkZ5AeZ~tF%Vg*2c4*)s07L-*fqX2NvgKOZ`P+rL4I<#+oB%bb#c From 794aac0997c419fbe5819182037900817c27c9e2 Mon Sep 17 00:00:00 2001 From: Matthew Donoughe Date: Thu, 19 Jul 2018 21:05:36 -0400 Subject: [PATCH 2/2] update caseta docs to align with standards --- source/_components/lutron_caseta.markdown | 24 +++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/source/_components/lutron_caseta.markdown b/source/_components/lutron_caseta.markdown index b3de8f2abd6..4a42d97b16f 100644 --- a/source/_components/lutron_caseta.markdown +++ b/source/_components/lutron_caseta.markdown @@ -40,12 +40,24 @@ lutron_caseta: ca_certs: caseta-bridge.crt ``` -Configuration variables: - -- **host** (*Required*): The IP address of the Lutron Smart Bridge. -- **keyfile** (*Required*): The private key that Home Assistant will use to authenticate to the bridge. -- **certfile** (*Required*): The certificate chain that Home Assistant will use to authenticate to the bridge. -- **ca_certs** (*Required*): The list of certificate authorities (usually only one) that Home Assistant will expect when connecting to the bridge. +{% configuration %} + host: + required: true + description: The IP address of the Lutron Smart Bridge. + type: string + keyfile: + required: true + description: The private key that Home Assistant will use to authenticate to the bridge. + type: string + certfile: + required: true + description: The certificate chain that Home Assistant will use to authenticate to the bridge. + type: string + ca_certs: + required: true + description: The list of certificate authorities (usually only one) that Home Assistant will expect when connecting to the bridge. + type: string +{% endconfiguration %}

It is recommended to assign a static IP address to your Lutron Smart Bridge. This ensures that it won't change IP address, so you won't have to change the `host` if it reboots and comes up with a different IP address.