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.3.tar.gz
(9.0 kB
view hashes)
Built Distribution
Close
Hashes for pyschlage-2022.12.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9dffe7365245310cdafbd3f7187b5b27dab9c819770bdab4edb65c7884753eaf |
|
MD5 | 9b667166931baf80677c36af0467e36a |
|
BLAKE2b-256 | 99a8a19418dcf24cfc7f3c717ece1dd49de90b8546ff56d1d048986d6d8a0801 |