A package to interact with Tedee locks using asyncio
Project description
Python asyncio Tedee Client Package
This is a Tedee Lock Client package. It is an async implementation of joerg65's original package.
Install:
From pip
pip install aiotedee
Locally
pipenv install -e .
# or
python3 setup.py install
Try it out
- Generate personal key. Instructions: https://tedee-tedee-api-doc.readthedocs-hosted.com/en/latest/howtos/authenticate.html#personal-access-key
Minimal scopes required for enable integration are:
- Devices.Read
- Lock.Operate
- with
example.py
: Create a fileconfig.json
next toexample.py
:
{
"personalToken": "<your token>"
}
cd into the directory of those to files and run
python example.py
- Initiate an instance of
TedeeClient
from aiotedee import TedeeClient
pk = "<your PersonalKey>"
# through init
client = TedeeClient(pk) # is initialized with no locks
client.get_locks() # get the locks
# through classmethod
# will initialize directly with all locks you have
client = await TedeeClient.create(pk)
- the locks are avialable in a dictionary
client.locks_dict
with the key of the dict being the serial number of each lock, or in a listclient.locks
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
aiotedee-0.2.21.tar.gz
(10.0 kB
view details)
Built Distribution
aiotedee-0.2.21-py3-none-any.whl
(10.6 kB
view details)
File details
Details for the file aiotedee-0.2.21.tar.gz
.
File metadata
- Download URL: aiotedee-0.2.21.tar.gz
- Upload date:
- Size: 10.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8bf24ecf6015e468733b89bb77f7bc30afd4eb3a72630ccf6eea38fd6c68ab72 |
|
MD5 | 9a07e09ac7809c7122aa30c2a5440559 |
|
BLAKE2b-256 | 5ca312827a56807ad64caae5eb045418097139528cf85e5a3dee9dc6abdf4b24 |
Provenance
The following attestation bundles were made for aiotedee-0.2.21.tar.gz
:
Publisher:
pypi.yaml
on zweckj/aiotedee
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
aiotedee-0.2.21.tar.gz
- Subject digest:
8bf24ecf6015e468733b89bb77f7bc30afd4eb3a72630ccf6eea38fd6c68ab72
- Sigstore transparency entry: 149902928
- Sigstore integration time:
- Predicate type:
File details
Details for the file aiotedee-0.2.21-py3-none-any.whl
.
File metadata
- Download URL: aiotedee-0.2.21-py3-none-any.whl
- Upload date:
- Size: 10.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b8a9ecf2779726d30ca199aaa989b974ae78e71ee11ca5107b404fc011b1fde |
|
MD5 | b54328625ac3046cef06c3c21af1312f |
|
BLAKE2b-256 | 8b5c11ed035576bdc16f63615559eb013281b3498b7d4293b44c60b5830dadda |
Provenance
The following attestation bundles were made for aiotedee-0.2.21-py3-none-any.whl
:
Publisher:
pypi.yaml
on zweckj/aiotedee
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
aiotedee-0.2.21-py3-none-any.whl
- Subject digest:
3b8a9ecf2779726d30ca199aaa989b974ae78e71ee11ca5107b404fc011b1fde
- Sigstore transparency entry: 149902935
- Sigstore integration time:
- Predicate type: