Pre-release
This release is a pre-release and may not be stable for production use.
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
Release files for pytedee-async 0.2.0a2
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.0a2.tar.gz | 7.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytedee_async-0.2.0a2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.1 kB
Release files / pytedee_async-0.2.0a2.tar.gz
| Download URL | pytedee_async-0.2.0a2.tar.gz |
|---|---|
| Size | 7.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1233138c3058b75f90552060830fd46c4a2873dcaa53ab4942eb653c0e025dd6
|
|
BLAKE2b-256 checksum How to use checksums |
eed383174e011f0cafc0f6ac534407b48a8d895813655cdd18aa24611ba0879b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.10
|
Release files / pytedee_async-0.2.0a2-py3-none-any.whl
| Download URL | pytedee_async-0.2.0a2-py3-none-any.whl |
|---|---|
| Size | 7.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
af85604f789a6246e3c9f36bebc14acf64d7011b28281d1e135a9ba342f1727c
|
|
BLAKE2b-256 checksum How to use checksums |
c07f154301e36c835da99b103dd096b396b7c6f863ad1e08b3989f2d8359ce3c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.10
|