Schlage
A plugin for Polyglot v3 (PG3) that interfaces with Schlage cloud service to allow the IoX to control Schlage
Encode WiFi locks and Schlage Sense locks with Sense WiFi Adapter. See WiFi Smart Locks | Schlage Encode for compatible devices.
Instructions for PG3 installation:
From the Polyglot Dashboard:
- Install the Schlage plugin from the Polyglot Node Server Store.
-
Add/modify the following Custom Configuration Parameters under Configuration (note that the keys should
automatically be added for required parameters):
- key: username, value: username (email address) for Schlage cloud account (required)
- key: password, value: password for Schlage cloud account (required)
Once the required configuration parameters have been saved, the plugin will attempt to connect to the
Schlage service. This may take a couple of minutes, so be patient. Check the Polyglot Dashboard for
notices regarding bad configuration parameters and connection failure conditions.
- After a couple of minutes, if no errors have occurred, the plugin should be connected to the Schlage cloud
account. Click the "Discover" button in the Polyglot Dashboard for the plugin to discover and
load Lock nodes for the locks configured in your account.
Notes for latest version (v3.1.2)
- Please don't set the shortPoll value to an extremely low value, e.g. < 10 seconds. Repeated, frequent
polling of the Schlage cloud service may result in Schlage making moves to block access by the plugin.
- On the first start of the plugin, the plugin does not attempt to connect and login to the Schlage
cloud service until the first longpoll after the configuration parameters are entered and saved (log
message: "(Re)establishing Schlage connection in longPoll()"). That means it may take up to 60
seconds before a connection is attempted after entering your credentials. In addition, the plugin will
continue to attempt to connect and login every longpoll (e.g., every 60 seconds) until a connection is
established, so watch your Polyglot Dashboard messages for connection errors or bad credentials to avoid
locking out your account.
- When the plugin is restarted (e.g., manually in Dashboard or after failure/reboot), the plugin will
immediately attempt a connection to the Schlage cloud service and then retry the connection attemp in every
subsequent longpoll (e.g., every 60 seconds) until a connection is established. This is done to allow network
components to reestablish connections when recovering from a power failure.
- To delete a device, you must use the PG3 Dashboard to ensure the device does not reappear in the IoX Admin
Console the next time that Polyglot and/or the Schlage plugin are restarted.
- The plugin will filter non-ASCII characters from the device names, like accent or Kanji characters, before
adding the node to IoX. You can rename the nodes in IoX as you like.
- Because of the longer than normal polling period (20 seconds), you may want to structure your programs in IoX
to perform a Force Update on a lock node before other programs that depend on the lock status are executed.
Version History
3.2.4 - New Features (2025-06-22)
- added last message time, last access user hash, and last message driver values
3.1.3 - Fix install of pyschlage library (2025-03-22)
- changed requirements to specify older version of pyschlage library
3.1.2 - Features and Fixes (2024-04-08)
- added "connected" status from new pyschlage library variable
- updated to use new pyschlage library
- removed notices sent to PG3 on token expiration and temporary connection errors
- updated profile to allow correct selection dropdowns in AC programming interface
v3.0.1 - Initial Release (2023-07-13)
For discussion and feedback, please use the UD Forums here.