Skip to content

zweckj/aiotedee

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

{
  "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 list client.locks

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages