evok-ws-client


Nameevok-ws-client JSON
Version 0.0.4 PyPI version JSON
download
home_pagehttps://github.com/marko2276/evok-ws-client
SummaryClient for connectin to Unipi devices runing EVOK API via websockets
upload_time2024-07-20 13:08:11
maintainerNone
docs_urlNone
authorMarko Vaupotic
requires_python>=3
licenseMIT
keywords evok unipi websockets home-assistant
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # evok-ws-client
A simple wrapper/library for a client using websockets to connect to [Evok API](https://github.com/UniPiTechnology/evok) (including EVOK v3) running on Unipi devices.
The library was implemented primarily to be used with home-assistant but hopefully it might find also other usage as well.

Functionality wise, it supports bare minimum so that my home-assistant project works.

# Example
```
import asyncio
from evok_ws_client import *

ip_addr = "192.168.77.21"

async def main():
    neuron = UnipiEvokWsClient(ip_addr, "M203", "test_neuron")
    try:
        await neuron.evok_connect()
        await neuron.evok_full_state_sync()
        print (await neuron.evok_receive())
    except:
        pass

if __name__ == "__main__":
    asyncio.run(main())
```
# License
MIT License



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/marko2276/evok-ws-client",
    "name": "evok-ws-client",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3",
    "maintainer_email": null,
    "keywords": "evok, unipi, websockets, home-assistant",
    "author": "Marko Vaupotic",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/78/1f/be797440e57d059834569e08fa6279b564b15122ff3a341b180a3204b7a5/evok-ws-client-0.0.4.tar.gz",
    "platform": null,
    "description": "# evok-ws-client\nA simple wrapper/library for a client using websockets to connect to [Evok API](https://github.com/UniPiTechnology/evok) (including EVOK v3) running on Unipi devices.\nThe library was implemented primarily to be used with home-assistant but hopefully it might find also other usage as well.\n\nFunctionality wise, it supports bare minimum so that my home-assistant project works.\n\n# Example\n```\nimport asyncio\nfrom evok_ws_client import *\n\nip_addr = \"192.168.77.21\"\n\nasync def main():\n    neuron = UnipiEvokWsClient(ip_addr, \"M203\", \"test_neuron\")\n    try:\n        await neuron.evok_connect()\n        await neuron.evok_full_state_sync()\n        print (await neuron.evok_receive())\n    except:\n        pass\n\nif __name__ == \"__main__\":\n    asyncio.run(main())\n```\n# License\nMIT License\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Client for connectin to Unipi devices runing EVOK API via websockets",
    "version": "0.0.4",
    "project_urls": {
        "Homepage": "https://github.com/marko2276/evok-ws-client"
    },
    "split_keywords": [
        "evok",
        " unipi",
        " websockets",
        " home-assistant"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1cea3156be1d161b4dd2b1a9946148e418ee435a12467d1feb4486b51d8c6693",
                "md5": "54ecc43a2fe6d07b71267b0a6e35df9a",
                "sha256": "334c08030d114c93a46584393651818d34de784b1745277ba17a5aaead1fe399"
            },
            "downloads": -1,
            "filename": "evok_ws_client-0.0.4-py2-none-any.whl",
            "has_sig": false,
            "md5_digest": "54ecc43a2fe6d07b71267b0a6e35df9a",
            "packagetype": "bdist_wheel",
            "python_version": "py2",
            "requires_python": ">=3",
            "size": 4137,
            "upload_time": "2024-07-20T13:08:08",
            "upload_time_iso_8601": "2024-07-20T13:08:08.630600Z",
            "url": "https://files.pythonhosted.org/packages/1c/ea/3156be1d161b4dd2b1a9946148e418ee435a12467d1feb4486b51d8c6693/evok_ws_client-0.0.4-py2-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "09f508af894943c7067421ef7ead9eba2e627835b4df5330811d9d5f0f205522",
                "md5": "029bcfa3cfda1a62459748a455cf4238",
                "sha256": "6d2ccca3484a46e1eff0c909364a00faa38ab1df06264229814bcef0b61db968"
            },
            "downloads": -1,
            "filename": "evok_ws_client-0.0.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "029bcfa3cfda1a62459748a455cf4238",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3",
            "size": 4138,
            "upload_time": "2024-07-20T13:08:09",
            "upload_time_iso_8601": "2024-07-20T13:08:09.890007Z",
            "url": "https://files.pythonhosted.org/packages/09/f5/08af894943c7067421ef7ead9eba2e627835b4df5330811d9d5f0f205522/evok_ws_client-0.0.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "781fbe797440e57d059834569e08fa6279b564b15122ff3a341b180a3204b7a5",
                "md5": "7d96833f8cf6d0aaf0c914484f353227",
                "sha256": "d80cc610622cca5262ab1ff1b4dd9a7115c67d1241617939334fb55714993a3a"
            },
            "downloads": -1,
            "filename": "evok-ws-client-0.0.4.tar.gz",
            "has_sig": false,
            "md5_digest": "7d96833f8cf6d0aaf0c914484f353227",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3",
            "size": 3609,
            "upload_time": "2024-07-20T13:08:11",
            "upload_time_iso_8601": "2024-07-20T13:08:11.185879Z",
            "url": "https://files.pythonhosted.org/packages/78/1f/be797440e57d059834569e08fa6279b564b15122ff3a341b180a3204b7a5/evok-ws-client-0.0.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-20 13:08:11",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "marko2276",
    "github_project": "evok-ws-client",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "evok-ws-client"
}
        
Elapsed time: 0.30202s