Skip to content
This repository has been archived by the owner on Mar 3, 2022. It is now read-only.

Commit

Permalink
Rename to pykevoplus
Browse files Browse the repository at this point in the history
  • Loading branch information
Carl Seelye committed Dec 2, 2016
1 parent ff0a8ee commit 58ccd38
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# pykevo
# pykevoplus
Python module for controlling Kwikset Kevo locks

Kwikset does not provide an official API for their Kevo locks; I reverse engineered this module from the mykevo.com web app.
Expand All @@ -11,7 +11,7 @@ The Kevo.GetLocks() function will attempt to scrape the mykevo.com web site to f
find all of your locks, but scraping the HTML might break at any time if Kwikset changes the website.

```python
from pykevo import Kevo
from pykevoplus import Kevo
locks = Kevo.GetLocks("username@email.com", "password123")
for lock in locks:
print repr(lock)
Expand All @@ -23,15 +23,15 @@ A better way is to explicitly instantiate a KevoLock object using the UUID of th
logging into mykevo.com, click Details for the lock, click Settings, the lock ID is on the right.

```python
from pykevo import KevoLock
lock = KevoLock.FromLockID("8f61e0fe-8584-442f-9ea0-b2dde6ff4d5a", "username@gmail.com", "password123")
from pykevoplus import KevoLock
lock = KevoLock.FromLockID("cca7cd1d-c1d5-43ce-a087-c73b974b3529, state=Locked) ", "username@email.com", "password123")
```

#####Locking and Unlocking

```python
from pykevo import KevoLock
lock = KevoLock.FromLockID(lock_is, username, password)
from pykevoplus import KevoLock
lock = KevoLock.FromLockID(lock_id, username, password)
lock.Unlock()
print lock.GetBoltState()
lock.Lock()
Expand All @@ -43,7 +43,7 @@ print lock.GetBoltState()
##### Multiple operations in the same session
The KevoLockSession context manager allows you to perform multiple operations on a lock with a single auth session
```python
from pykevo import KevoLock, KevoLockSession
from pykevoplus import KevoLock, KevoLockSession
lock = KevoLock.FromLockID(lock_id, username, password)
with KevoLockSession(lock):
lock.Unlock()
Expand Down
File renamed without changes.
9 changes: 5 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
from setuptools import setup

setup(
name = "pykevo",
name = "pykevoplus",
version = "1.0",
author = "Carl Seelye",
author_email = "cseelye@gmail.com",
description = "Control Kwikset Kevo locks",
liscense = "MIT",
license = "MIT",
keywords = "kevo kwikset",
packages = ["pykevo"],
url = "https://github.com/cseelye/pykevo",
packages = ["pykevoplus"],
url = "https://github.com/cseelye/pykevoplus",
long_description = read("README.md")
)

0 comments on commit 58ccd38

Please sign in to comment.