Skip to content

A python3 version of pykevoplus by cseelye

License

Notifications You must be signed in to change notification settings

dcmeglio/pykevoplus

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aiokevoplus

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)

About

A python3 version of pykevoplus by cseelye

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%