Skip to main content

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


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.3.0.tar.gz (8.2 kB view hashes)

Uploaded Source

Built Distribution

aiokevoplus-4.3.0-py3-none-any.whl (8.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page