Python Tedee Async Client Package
This is a Tedee Lock Client package. It is an async implementation of joerg65's original package.
Install:
From pip
pip install pytedee-async
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 pytedee_async 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
Metadata
Release files for pytedee-async 0.2.20
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pytedee_async-0.2.20.tar.gz | 9.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytedee_async-0.2.20-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.1 kB
Release files / pytedee_async-0.2.20.tar.gz
| Download URL | pytedee_async-0.2.20.tar.gz |
|---|---|
| Size | 9.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4c0469007e7bb9b668fe8a644d34d44bb3cc6476af926fef10508ca77a1a1e7a
|
|
BLAKE2b-256 checksum How to use checksums |
1677ef0ad19883e4f65db7e5219ef0fa119334d172ca5e178e4a2fe4460f6f8e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|
Release files / pytedee_async-0.2.20-py3-none-any.whl
| Download URL | pytedee_async-0.2.20-py3-none-any.whl |
|---|---|
| Size | 10.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5868f10b1d93824de757d8e33474290f7874235ac2c70d40f2105a95cad9a79c
|
|
BLAKE2b-256 checksum How to use checksums |
b08db6b433d1bcf5529106e4d235a0407298464ba1da566a723e81b957dc5234
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|