Skip to main content

evok-ws-client

A simple wrapper/library for a client using websockets to connect to Evok API (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

Release files for evok-ws-client 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for evok-ws-client 0.0.4
File Size Uploaded
evok-ws-client-0.0.4.tar.gz 3.6 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for evok-ws-client 0.0.4
File Interpreter ABI Platform
evok_ws_client-0.0.4-py3-none-any.whl Python 3 none any Details
evok_ws_client-0.0.4-py2-none-any.whl Python 2 none any Details

Total release size: 11.9 kB

Release files / evok-ws-client-0.0.4.tar.gz

Download URL evok-ws-client-0.0.4.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d80cc610622cca5262ab1ff1b4dd9a7115c67d1241617939334fb55714993a3a
BLAKE2b-256 checksum
How to use checksums
781fbe797440e57d059834569e08fa6279b564b15122ff3a341b180a3204b7a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.8.3 requests/2.24.0 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/2.7.18rc1

Release files / evok_ws_client-0.0.4-py3-none-any.whl

Download URL evok_ws_client-0.0.4-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6d2ccca3484a46e1eff0c909364a00faa38ab1df06264229814bcef0b61db968
BLAKE2b-256 checksum
How to use checksums
09f508af894943c7067421ef7ead9eba2e627835b4df5330811d9d5f0f205522
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.8.3 requests/2.24.0 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/2.7.18rc1

Release files / evok_ws_client-0.0.4-py2-none-any.whl

Download URL evok_ws_client-0.0.4-py2-none-any.whl
Size 4.1 kB
Tags Python 2
SHA-256 checksum
How to use checksums
334c08030d114c93a46584393651818d34de784b1745277ba17a5aaead1fe399
BLAKE2b-256 checksum
How to use checksums
1cea3156be1d161b4dd2b1a9946148e418ee435a12467d1feb4486b51d8c6693
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.8.3 requests/2.24.0 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/2.7.18rc1

Release history Release notifications | RSS feed

This release

0.0.4 This release

3 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page