From 65766a5d3aa4ec5b29ae070b08c0859f8f82238c Mon Sep 17 00:00:00 2001 From: Anubhaw Arya Date: Sun, 26 Mar 2017 16:36:50 -0700 Subject: [PATCH 1/2] Lockitron page --- .gitignore | 2 ++ source/_components/lock.lockitron.markdown | 30 +++++++++++++++++++ source/images/supported_brands/lockitron.png | Bin 0 -> 2506 bytes 3 files changed, 32 insertions(+) create mode 100644 source/_components/lock.lockitron.markdown create mode 100644 source/images/supported_brands/lockitron.png diff --git a/.gitignore b/.gitignore index bc734ac2e592..ec8690ad29c5 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,5 @@ source/stylesheets/screen.css vendor node_modules source/.jekyll-metadata +*.iml +.idea/ \ No newline at end of file diff --git a/source/_components/lock.lockitron.markdown b/source/_components/lock.lockitron.markdown new file mode 100644 index 000000000000..7edbb5331d47 --- /dev/null +++ b/source/_components/lock.lockitron.markdown @@ -0,0 +1,30 @@ +--- +layout: page +title: "Lockitron Lock" +description: "Instructions how to integrate Lockitron locks into Home Assistant." +date: 2017-03-24 00:00 +sidebar: true +comments: false +sharing: true +footer: true +logo: lockitron.png +ha_category: Lock +ha_iot_class: "Cloud Polling" +ha_release: "0.42" +--- + +The `lockitron` platform allows you to control your [Lockitron](https://lockitron.com/) lock from within Home Assistant. +In order to get the correct `access_token` and `id`, log on to their [developer page](https://api.lockitron.com/), create a new app, and get the access_token they give you. +Then, call the retrieve all locks function on the page and get the id of your lock (make sure you get your lock's id and not the virtual lock they create for you). + +```yaml +lock: + - platform: lockitron + access_token: asdf + id: fdsa +``` + +| Service data attribute | Optional | Description | +| ---------------------- | -------- | ----------- | +| `access_token` | no | The security token provided by Lockitron to lock and unlock your lock +| `id` | no | The lock id given by Lockitron (should be a GUID) \ No newline at end of file diff --git a/source/images/supported_brands/lockitron.png b/source/images/supported_brands/lockitron.png new file mode 100644 index 0000000000000000000000000000000000000000..93237dbf13134ed3cc62d389fed1fd93aff37ae6 GIT binary patch literal 2506 zcmbW3XE+;*8pq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yzj z^D073%Q8nT-~ks*1j6|X1VO%ka1|rz^y$&)eq~7f-eP($#NSfCEaUssZxa{Ra}vlc z211B(I}rs$kaIkPUEh&@J*S$1xyU#&Qgk zV`V1-rr+0D)*q3ALJE|gaxy@n>C2sCbDqdBpHy(MU!_A}h$f0@e>yTc!$TS00Q#wW z{g1*1-Uv~*H_ZWI#1A;dY^1WH6keYNrtcZ3+VyY$W#`F+AV+vrSpg|BPOdcII)}{I zm^8@JvJ?TT7@lA1Lp&DdIYv{UsLiQkN_C|v?2Z=OuHMz+_7&)RW=HPRCzCMyVH`wl`0vQwcx~P13 zIAq*1UrO~S8u$2_wOL4PirX&{ZJWLIuRn}?RQs8d(w86Xrxh7>!#kIPX8*#i4Pv@R zm+nW9Z~d6AZvbq)_++}okuM zvQwE+9tZVfRHiI@IZi-xTN-Q*ULXazey~ogv2-UQVw%?jCmVzCpDv4yf zuSzxs}rYCkuVUBWz45UvGYy(v6X3& zX1bthS7%rv<~i8n%V~NJP{lNtr1`a5D?aeP=!V+RyAM;Hj_GW7>0Yq0f7W5ma)V01 zv*VZwMbLIHX$Mba|8unA;i0S8Xzhxco)(j7y8A`k>m|@xD;D}~i)12FvV2wN+6r#* z{8T1EP;z9E5|_qhq>wZhb5B7?>Cmp$B<`efm5|W-t*>O1o=4^@@~^>?S$mF7bM_qG(Gfu3!vi{v7enGEH^A%y{`UQZFEd0Ud8t+&QRok`*SufADx2$To#ht>gD}a P|GjGtgPYX+?h^YialpLt literal 0 HcmV?d00001 From 803cab4c4fa41f470331db80c8e7d98d46ecaf7e Mon Sep 17 00:00:00 2001 From: Anubhaw Arya Date: Tue, 28 Mar 2017 19:17:56 -0700 Subject: [PATCH 2/2] Configuration variables instead of service data attributes --- source/_components/lock.lockitron.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_components/lock.lockitron.markdown b/source/_components/lock.lockitron.markdown index 7edbb5331d47..c26a16be5f8a 100644 --- a/source/_components/lock.lockitron.markdown +++ b/source/_components/lock.lockitron.markdown @@ -24,7 +24,7 @@ lock: id: fdsa ``` -| Service data attribute | Optional | Description | +| Configuration variables| Optional | Description | | ---------------------- | -------- | ----------- | | `access_token` | no | The security token provided by Lockitron to lock and unlock your lock | `id` | no | The lock id given by Lockitron (should be a GUID) \ No newline at end of file