Python API for interacting with Schlage WiFi locks.
Project description
pyschlage
Python 3 library for interacting with Schlage 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 devices attached to your account.
devices = s.get_devices()
# Print the name of the first device
print(devices[0].name)
"My lock"
# Lock the first device.
devices[0].lock()
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-2022.12.13.tar.gz
(9.4 kB
view hashes)
Built Distribution
Close
Hashes for pyschlage-2022.12.13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dcc38615cef10235220fa200b6b302a3a4e782304173ebb46c6592cc7d00961c |
|
MD5 | bb5dd6c5309913e9b1f07ac4ae644ac1 |
|
BLAKE2b-256 | fdde469553909eed6a1a6dc86a7b5013609b7093bf1a97ed2be9ed3fd91a9e50 |