Control Kwikset Kevo locks
Project description
This started as a fork of https://github.com/Bahnburner/pykevoplus but at this point is pretty much a rewrite.
This library has been converted to be compatible with asyncio and also to use the latest version of the Kevo API including support for realtime updates via websockets.
Usage
from aiokevoplus import KevoApi
def status_changed(lock):
print("Status changed for " + lock.name)
api = KevoApi()
try:
await api.login("username@email.com", "password123")
api.register_callback(status_changed)
await api.websocket_connect()
locks = api.get_locks()
for lock in locks:
lock.lock()
except Exception as e:
print("Something went wrong " + e)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
aiokevoplus-4.1.1.tar.gz
(7.9 kB
view details)
Built Distribution
File details
Details for the file aiokevoplus-4.1.1.tar.gz
.
File metadata
- Download URL: aiokevoplus-4.1.1.tar.gz
- Upload date:
- Size: 7.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d4b5cb319e81a2b3ad28e06981ebbd2d8ac2cfd47b1f3480ae38c2aebb4d05e |
|
MD5 | febda86bbb0ad5ce7dc36f86258207df |
|
BLAKE2b-256 | 699aa3a593be3ed96dc82eb9ceae5506f3556762efcd28d1562c8d6aa6c72bd5 |
Provenance
File details
Details for the file aiokevoplus-4.1.1-py3-none-any.whl
.
File metadata
- Download URL: aiokevoplus-4.1.1-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b558f0b88ef8a0a91a4230a2f8383bd67858fdae03c38adf86a9bd3484cff42 |
|
MD5 | 5ad65724dd550e5a9399d8614177d547 |
|
BLAKE2b-256 | 813ebc67ed6c03fb7236cec9846f32ef56e19ced9f8915d53bb544912506efb7 |