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.jsonnext 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_dictwith 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
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 aiotedee-0.2.23.tar.gz.
File metadata
- Download URL: aiotedee-0.2.23.tar.gz
- Upload date:
- Size: 10.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
85b9a508605bf32ab63fbe8e8977ba5873edd0cff675aac1d480c971101b3691
|
|
| MD5 |
c48d56e12ae8f34bc7a56b7195542fdf
|
|
| BLAKE2b-256 |
2438236668c93a0249c10f8a02486cb7ecdf892a829d949db4264dadd5583f4e
|
Provenance
The following attestation bundles were made for aiotedee-0.2.23.tar.gz:
Publisher:
pypi.yaml on zweckj/aiotedee
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aiotedee-0.2.23.tar.gz -
Subject digest:
85b9a508605bf32ab63fbe8e8977ba5873edd0cff675aac1d480c971101b3691 - Sigstore transparency entry: 221965792
- Sigstore integration time:
-
Permalink:
zweckj/aiotedee@7ce9f2dc6e32036ea134ce1b7ee151f3ae2d84bf -
Branch / Tag:
refs/tags/v0.2.23 - Owner: https://github.com/zweckj
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yaml@7ce9f2dc6e32036ea134ce1b7ee151f3ae2d84bf -
Trigger Event:
release
-
Statement type:
File details
Details for the file aiotedee-0.2.23-py3-none-any.whl.
File metadata
- Download URL: aiotedee-0.2.23-py3-none-any.whl
- Upload date:
- Size: 10.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c67d451bb5913b06f7117faf449d879562dadea28510573c26e6e8dd46af52b0
|
|
| MD5 |
6143b59b5e5f9e736129591eba60399c
|
|
| BLAKE2b-256 |
f0471d8a2a5e6e3539a4c1c0cc2ab6721ae423f57f76beb1cc15e246f3b0797d
|
Provenance
The following attestation bundles were made for aiotedee-0.2.23-py3-none-any.whl:
Publisher:
pypi.yaml on zweckj/aiotedee
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aiotedee-0.2.23-py3-none-any.whl -
Subject digest:
c67d451bb5913b06f7117faf449d879562dadea28510573c26e6e8dd46af52b0 - Sigstore transparency entry: 221965793
- Sigstore integration time:
-
Permalink:
zweckj/aiotedee@7ce9f2dc6e32036ea134ce1b7ee151f3ae2d84bf -
Branch / Tag:
refs/tags/v0.2.23 - Owner: https://github.com/zweckj
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yaml@7ce9f2dc6e32036ea134ce1b7ee151f3ae2d84bf -
Trigger Event:
release
-
Statement type: