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)
| File | Size | Uploaded | |
|---|---|---|---|
| evok-ws-client-0.0.4.tar.gz | 3.6 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|