Skip to content

Commit

Permalink
Lockitron page (home-assistant#2339)
Browse files Browse the repository at this point in the history
* Lockitron page

* Configuration variables instead of service data attributes
  • Loading branch information
aarya123 authored and fabaff committed Mar 31, 2017
1 parent 03c579a commit 527a888
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ source/stylesheets/screen.css
vendor
node_modules
source/.jekyll-metadata
*.iml
.idea/
30 changes: 30 additions & 0 deletions source/_components/lock.lockitron.markdown
Original file line number Diff line number Diff line change
@@ -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
```
| 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)
Binary file added source/images/supported_brands/lockitron.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 527a888

Please sign in to comment.