Skip to main content

Yale Smart Living smart home integration, free and open source

Yale Smart Living integration for Gladys Assistant

Arm or disarm your Yale Smart Living alarm and follow its door contacts and smart locks.

This integration connects Gladys to a Yale Smart Living alarm (Sync Smart Home Alarm, Smart Home Alarm hubs managed with the Yale Smart Living app): arm or disarm it, follow its door contacts, and lock or unlock the Yale smart locks paired to the hub.

Requires Gladys 5.3 or later.

What you need​

  • The alarm hub, installed and online: the integration reads it through the Yale cloud, exactly like the app does. There is no local connection.
  • The e-mail and password of a Yale Smart Living account.
  • To unlock a smart lock from Gladys: a PIN code of that lock.

Tip: in the Yale app, invite a second user just for Gladys. Your own password then never needs to be typed into Gladys, and you can remove that access at any time from the app.

Setup​

  1. Install the integration from the Gladys store.
  2. In its Configuration tab, fill in:
    • Yale account e-mail and Yale account password;
    • Alarm area: leave 1 unless your hub has several areas;
    • Lock PIN code: only if you want to unlock doors from Gladys;
    • Refresh interval: how often the cloud is read, 60 s by default.
  3. Click Test the connection: the answer gives the current alarm mode and how many devices were found.
  4. Open the Discovery tab and add the devices you want.

The devices​

Device in GladysFeatures
Yale alarmAlarm mode (drop-down), hub battery low, tamper
Door contactOpening sensor (open / closed)
Smart lockLock (locked / unlocked, controllable), door (open/closed)
TemperatureTemperature (°C), for the accessories that report one

Motion detectors, keypads, sirens and key fobs are not published: the cloud reports no usable state for them while the alarm is disarmed.

The alarm mode​

The Alarm mode feature has three values:

ValueMeaning
disarmDisarmed
homeArmed home (partial, night)
armArmed away (full)

Change it from the device, a scene or the widget. Gladys shows the new mode at once and reads the cloud again ten seconds later to confirm it.

Smart locks​

  • Locking needs nothing more: the door must be closed.
  • Unlocking needs the Lock PIN code of the configuration. Without it, Gladys refuses to unlock and never asks the cloud.
  • When the door is open, the lock cannot tell its bolt: only the Door feature is updated.

Scenes (Gladys 5.1+)​

Triggers​

TriggerFiltersVariables
The Yale alarm mode changesnew mode, changed frommode, previous_mode, origin
A Yale door opens or closesdoor, statedevice_name, state
A Yale lock is locked or unlockedlock, state, changed fromdevice_name, state, origin
The Yale hub reports a faultfaultfault

The changed from filter tells an order given by Gladys (gladys) from anything else (yale: the app, a keypad, a key fob, a key). A scene that gives an order in answer to a change should filter on yale: it can then never trigger itself.

A change is seen at the next cloud read, so up to one refresh interval later.

Actions​

ActionOutputs
Set the Yale alarm modedone, mode
Lock a Yale lockdone
Unlock a Yale lockdone
Read the Yale alarm nowmode, open_doors, unlocked_locks

An action that the hub refuses does not stop the scene: its done output is false. Use a condition on it if the rest of the scene depends on it.

Example: when the last person leaves, arm the alarm, unless a door is open: add Read the Yale alarm now, a condition open_doors equals 0, then Set the Yale alarm mode to Arm away.

Dashboard widget​

The Yale alarm widget shows the alarm mode, the cloud connection, the hub health and up to seven doors and locks.

It can also show Arm away, Arm home and Disarm buttons. They are off by default: anyone who can see the dashboard could disarm the alarm. Turn them on in the widget settings only for a dashboard you trust. Each button asks for a confirmation.

Troubleshooting​

Message or symptomWhat to do
"Yale refused the e-mail or the password"Check them by signing in to the Yale Smart Living app. After a refusal, Gladys waits 5 minutes before trying again, so the account is not locked.
"The Yale cloud cannot be reached"The hub or the Yale cloud is offline. Gladys keeps trying at each refresh interval.
No alarm modeCheck the Alarm area number.
A device is missingOnly door contacts, locks and temperature sensors are published. Click Test the connection to see what the hub lists.
Unlocking failsFill in the Lock PIN code, and check it on the lock.

Privacy and security​

  • The password and the PIN code are stored by Gladys as secrets. They are never written to the logs.
  • The integration only talks to the Yale cloud (mob.yalehomesystem.co.uk), over HTTPS.
  • This integration is not made nor endorsed by Yale or ASSA ABLOY. It uses the same cloud service as the Yale Smart Living app.

Configuration settings​

These are the settings Yale Smart Living asks for in its configuration screen in Gladys.

SettingTypeRequiredDescription
Getting startedsectionNoUse the e-mail and password of your Yale Smart Living app account. The integration reads your alarm through the Yale cloud, like the app does: the alarm hub must be online. Tip: create a second user in the Yale app for Gladys, so your own password never changes for it.
Yale account e-mailstringYesThe e-mail you sign in with in the Yale Smart Living app.
Yale account passwordsecretYesStored by Gladys as a secret, never written to the logs.
Alarm areanumberNoThe area of the hub Gladys arms and disarms. Leave 1 unless your hub has several areas.
Lock PIN codesecretNoOnly to unlock a Yale smart lock from Gladys: a PIN code of the lock. Leave empty and Gladys can lock the doors, never unlock them.
Refresh interval (s)numberNoHow often the Yale cloud is read, in seconds (30 to 3600). A change is not seen sooner than that.

How to install Yale Smart Living in Gladys​

  1. In Gladys, open Integrations: Yale Smart Living appears in the catalog, next to the native integrations, with a community badge.
  2. Click Install. Gladys pulls the Docker image (ghcr.io/prohand/gladys-yalesmartliving:1.0.1), starts it in a sandbox isolated from the core, and generates the integration's interface (devices, discovery and configuration).
  3. Open the Configuration screen of the integration, fill in the settings, and save.
  4. You can also install it directly from its repository URL: https://github.com/prohand/gladys-yalesmartliving.

Yale Smart Living requires Gladys >=5.3.0. The catalog inside Gladys refreshes every hour, so a new version becomes available at most one hour after its release.

Not running Gladys yet? It is free and open source: follow the installation guide to get started.

About external integrations​

Yale Smart Living is an external integration: a community integration packaged as a Docker container and published on GitHub, that Gladys installs in one click and runs in a sandbox isolated from its core. It is published and maintained by prohand, not by the Gladys core team.

Subscribe to the Gladys Assistant newsletter

A few emails per month about new releases and project news. Sent by Pierre-Gilles Leymarie, founder of the project. Unsubscribe anytime 🙂