A Tedee Lock Client package
Project description
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.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 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_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
pytedee_async-0.2.14.tar.gz
(9.4 kB
view details)
Built Distribution
File details
Details for the file pytedee_async-0.2.14.tar.gz
.
File metadata
- Download URL: pytedee_async-0.2.14.tar.gz
- Upload date:
- Size: 9.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
71d1b45f39d5258ca9a2c47f5c3ceef349c4fc21c31f93977ac31e5e0b687cbb
|
|
MD5 |
3080c9344ba133504b5d40b3da86cc10
|
|
BLAKE2b-256 |
12aadd21099afc0a8d15c3c19fd76048dfa1f436b05283f8d129f2d79311cf87
|
File details
Details for the file pytedee_async-0.2.14-py3-none-any.whl
.
File metadata
- Download URL: pytedee_async-0.2.14-py3-none-any.whl
- Upload date:
- Size: 10.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
863de40d27a5cece43c366dd8dc3944e9a699f7443f78851fe960a2ef37ddc98
|
|
MD5 |
9f55ae0c7e3829fd6211450efe14f191
|
|
BLAKE2b-256 |
86f07a6ef3f2aaf123f5466281d97fd7927fdf617f15d02325a8bc295667d75d
|