Asynchronous local client for LinknLink eMotion Ultra devices
Project description
aiolinknlink
aiolinknlink is an asynchronous Python client for direct local communication
with LinknLink eMotion Ultra and Ultra2 devices.
The library implements LinknLink DNA discovery, authentication, encrypted UDP
transport, and the eMotion gateway/subdevice protocol. It communicates directly
with devices on the local network and does not require
linknlink-device-bridge, DeviceHub, MQTT, or a cloud service.
Requirements
- Python 3.11 or newer
- An eMotion Ultra/Ultra2 already connected to Wi-Fi
- The client and device on the same local network
Example
import asyncio
from aiolinknlink import UltraClient
async def main() -> None:
client = UltraClient()
devices = await client.discover()
if not devices:
return
session = await client.connect(devices[0])
state = await client.refresh(session)
print(state.values)
asyncio.run(main())
Development
python3 -m venv .venv
.venv/bin/pip install -e '.[dev]'
.venv/bin/pytest
.venv/bin/ruff check .
.venv/bin/mypy src
License
Apache License 2.0.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aiolinknlink-0.1.2.tar.gz.
File metadata
- Download URL: aiolinknlink-0.1.2.tar.gz
- Upload date:
- Size: 22.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cdacb28c125a9d95fbdf13476ccda754bcb8c04af83f1cd659aaca3676337317
|
|
| MD5 |
fc4c3ae8031e26eff5ba4a9f9e3cf372
|
|
| BLAKE2b-256 |
f236b58bce15bf0cef54c2cfdad43dc6e679c61f1abd17535bfe98303d38869f
|
Provenance
The following attestation bundles were made for aiolinknlink-0.1.2.tar.gz:
Publisher:
publish.yml on linknlink/aiolinknlink
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aiolinknlink-0.1.2.tar.gz -
Subject digest:
cdacb28c125a9d95fbdf13476ccda754bcb8c04af83f1cd659aaca3676337317 - Sigstore transparency entry: 2166783678
- Sigstore integration time:
-
Permalink:
linknlink/aiolinknlink@47b8b61f18c306ed631f98addb07a44030531a2f -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/linknlink
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@47b8b61f18c306ed631f98addb07a44030531a2f -
Trigger Event:
push
-
Statement type:
File details
Details for the file aiolinknlink-0.1.2-py3-none-any.whl.
File metadata
- Download URL: aiolinknlink-0.1.2-py3-none-any.whl
- Upload date:
- Size: 22.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
19d47fac18c2d08eee69ba2c5dba86386a4a822abd8649d5389ea2633f1020c4
|
|
| MD5 |
5fb7f38e205a60dbaf9c54272eb75a7e
|
|
| BLAKE2b-256 |
f58453c08283b417ca0339cf59349a8647c71f987ff42759a30eebd6bdf9dca5
|
Provenance
The following attestation bundles were made for aiolinknlink-0.1.2-py3-none-any.whl:
Publisher:
publish.yml on linknlink/aiolinknlink
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aiolinknlink-0.1.2-py3-none-any.whl -
Subject digest:
19d47fac18c2d08eee69ba2c5dba86386a4a822abd8649d5389ea2633f1020c4 - Sigstore transparency entry: 2166783707
- Sigstore integration time:
-
Permalink:
linknlink/aiolinknlink@47b8b61f18c306ed631f98addb07a44030531a2f -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/linknlink
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@47b8b61f18c306ed631f98addb07a44030531a2f -
Trigger Event:
push
-
Statement type: