=============
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
=====
.. code:: python
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)
Raw data
{
"_id": null,
"home_page": "https://github.com/dcmeglio/pykevoplus",
"name": "aiokevoplus",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "kevo kwikset",
"author": "Dominick Meglio",
"author_email": "dmeglio@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/61/a1/5c855f48e1a8cd65b79ee59f447a8d9dbda9df4221810582e7a8b204a6c7/aiokevoplus-4.3.2.tar.gz",
"platform": null,
"description": "=============\r\naiokevoplus\r\n=============\r\n\r\nThis started as a fork of https://github.com/Bahnburner/pykevoplus but at this point is pretty much a rewrite.\r\n\r\nThis library has been converted to be compatible with asyncio and also to use the latest version of the Kevo API including support for\r\nrealtime updates via websockets.\r\n\r\nUsage\r\n=====\r\n\r\n.. code:: python\r\n\r\n from aiokevoplus import KevoApi\r\n\r\n def status_changed(lock):\r\n print(\"Status changed for \" + lock.name)\r\n\r\n api = KevoApi()\r\n try:\r\n await api.login(\"username@email.com\", \"password123\")\r\n api.register_callback(status_changed)\r\n await api.websocket_connect()\r\n locks = api.get_locks()\r\n for lock in locks:\r\n lock.lock()\r\n except Exception as e:\r\n print(\"Something went wrong \" + e)\r\n\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Control Kwikset Kevo locks",
"version": "4.3.2",
"project_urls": {
"Homepage": "https://github.com/dcmeglio/pykevoplus"
},
"split_keywords": [
"kevo",
"kwikset"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "a5cfeac17e58d1c08415551527f17b3c65f245effd8a93f958b50761226e67d0",
"md5": "366af40437978390d851990e39f93b7f",
"sha256": "4682809f96b8eeb2afa0d09e636df917eec30f214f2f674060e5fbf6179f8a4c"
},
"downloads": -1,
"filename": "aiokevoplus-4.3.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "366af40437978390d851990e39f93b7f",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 8291,
"upload_time": "2024-10-06T23:13:22",
"upload_time_iso_8601": "2024-10-06T23:13:22.941127Z",
"url": "https://files.pythonhosted.org/packages/a5/cf/eac17e58d1c08415551527f17b3c65f245effd8a93f958b50761226e67d0/aiokevoplus-4.3.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "61a15c855f48e1a8cd65b79ee59f447a8d9dbda9df4221810582e7a8b204a6c7",
"md5": "cef326fac688f461591ffc10e5eab504",
"sha256": "ae527d28bef4454546446a44684970b912f0ff57e2bbabc2b7da504b4bcf572f"
},
"downloads": -1,
"filename": "aiokevoplus-4.3.2.tar.gz",
"has_sig": false,
"md5_digest": "cef326fac688f461591ffc10e5eab504",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 8307,
"upload_time": "2024-10-06T23:13:27",
"upload_time_iso_8601": "2024-10-06T23:13:27.281137Z",
"url": "https://files.pythonhosted.org/packages/61/a1/5c855f48e1a8cd65b79ee59f447a8d9dbda9df4221810582e7a8b204a6c7/aiokevoplus-4.3.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-06 23:13:27",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "dcmeglio",
"github_project": "pykevoplus",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "aiokevoplus"
}