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.0.3.tar.gz
(7.2 kB
view details)
Built Distribution
File details
Details for the file aiokevoplus-4.0.3.tar.gz
.
File metadata
- Download URL: aiokevoplus-4.0.3.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e69a59a48ddba881e6b8eeedfe6b129a04373705d01f37dec40c44ebc65bfdaf |
|
MD5 | 44731185b9fba362ec0fb50e2a002ed2 |
|
BLAKE2b-256 | 40c89b8072ceba521ad06e45c8473796fe67dd38140dbc86dabad6788d078819 |
Provenance
File details
Details for the file aiokevoplus-4.0.3-py3-none-any.whl
.
File metadata
- Download URL: aiokevoplus-4.0.3-py3-none-any.whl
- Upload date:
- Size: 7.6 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 | d735af0a07a3d1eb372a831febd7662326caaea0a6eb36fe93634b654e612154 |
|
MD5 | 568af311f6f2b765df1fcdf02ef9f215 |
|
BLAKE2b-256 | 551df2c66483ea29dbd3b189e989615c8a2230cef95fbd69b7977d3140115294 |