aiokevoplus


Nameaiokevoplus JSON
Version 4.1.1 PyPI version JSON
download
home_pagehttps://github.com/dcmeglio/pykevoplus
SummaryControl Kwikset Kevo locks
upload_time2023-01-06 00:57:53
maintainer
docs_urlNone
authorDominick Meglio
requires_python
licenseMIT
keywords kevo kwikset
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            =============
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": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "kevo kwikset",
    "author": "Dominick Meglio",
    "author_email": "dmeglio@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/69/9a/a3a593be3ed96dc82eb9ceae5506f3556762efcd28d1562c8d6aa6c72bd5/aiokevoplus-4.1.1.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.1.1",
    "split_keywords": [
        "kevo",
        "kwikset"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "813ebc67ed6c03fb7236cec9846f32ef56e19ced9f8915d53bb544912506efb7",
                "md5": "5ad65724dd550e5a9399d8614177d547",
                "sha256": "1b558f0b88ef8a0a91a4230a2f8383bd67858fdae03c38adf86a9bd3484cff42"
            },
            "downloads": -1,
            "filename": "aiokevoplus-4.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "5ad65724dd550e5a9399d8614177d547",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 7965,
            "upload_time": "2023-01-06T00:57:46",
            "upload_time_iso_8601": "2023-01-06T00:57:46.649377Z",
            "url": "https://files.pythonhosted.org/packages/81/3e/bc67ed6c03fb7236cec9846f32ef56e19ced9f8915d53bb544912506efb7/aiokevoplus-4.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "699aa3a593be3ed96dc82eb9ceae5506f3556762efcd28d1562c8d6aa6c72bd5",
                "md5": "febda86bbb0ad5ce7dc36f86258207df",
                "sha256": "7d4b5cb319e81a2b3ad28e06981ebbd2d8ac2cfd47b1f3480ae38c2aebb4d05e"
            },
            "downloads": -1,
            "filename": "aiokevoplus-4.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "febda86bbb0ad5ce7dc36f86258207df",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 7909,
            "upload_time": "2023-01-06T00:57:53",
            "upload_time_iso_8601": "2023-01-06T00:57:53.905879Z",
            "url": "https://files.pythonhosted.org/packages/69/9a/a3a593be3ed96dc82eb9ceae5506f3556762efcd28d1562c8d6aa6c72bd5/aiokevoplus-4.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-01-06 00:57:53",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "dcmeglio",
    "github_project": "pykevoplus",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "aiokevoplus"
}
        
Elapsed time: 0.02798s