Python API for interacting with Schlage WiFi locks.
Project description
pyschlage
Python 3 library for interacting with Schlage Encode WiFi locks.
Note that this project has no official relationship with Schlage or Allegion. Use at your own risk.
Usage
from pyschlage import Auth, Schlage
# Create a Schlage object and authenticate with your credentials.
s = Schlage(Auth("username", "password"))
# List the locks attached to your account.
locks = s.locks()
# Print the name of the first lock
print(locks[0].name)
"My lock"
# Lock the first lock.
lock[0].lock()
Documentation
API reference can be found on Read the Docs
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
pyschlage-2023.4.2.tar.gz
(23.5 kB
view hashes)
Built Distribution
Close
Hashes for pyschlage-2023.4.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea1b638c49a48bf8bf5d8b738cddebfc9494b1471e96626a29c9478adb1d9007 |
|
MD5 | fbdd74cebffcac4dba409399baf74e99 |
|
BLAKE2b-256 | cd11395ab5a52c658397715c044ec0da2a6768f0a83222358f9f8ee9e9d8e60a |