Skip to main content

Dormakaba dKey smart home integration, free and open source

Dormakaba dKey integration for Gladys Assistant

Unlock your Dormakaba dKey locks from Gladys over local Bluetooth

Unlock your Dormakaba dKey locks from Gladys, over local Bluetooth.

Installation​

  1. In Gladys, open Integrations, then the external integrations store.
  2. Search for Dormakaba dKey and click Install.
  3. Wait for the container to start: the integration shows up in the list.

Configuration​

Open the Configuration tab and fill in:

  • Bluetooth address: MAC address of the lock (e.g. AA:BB:CC:DD:EE:FF);
  • Activation code: the code of the dKey card;
  • Refresh interval: how often the lock is read (60 s minimum).

Use Test the connection to the lock, then add the device from the discovery list. Access is local only: the Gladys host must be within Bluetooth range of the lock.

Limitation: this version ships the integration logic (device, scenes, widget) but no Bluetooth radio transport yet, so a real lock cannot be reached. The connection test then reports the lock as unreachable.

Usage​

The device has a Lock feature (1 = locked) and a Battery feature. A dKey relocks by itself: you can only unlock it (set the value to 0); locking remotely is refused.

Scenes and dashboards​

  • Trigger Lock state changed: fired when a read sees the lock locked or unlocked (filter by lock and state; variable state). Commands sent from Gladys do not fire it, to avoid scene loops.
  • Actions Unlock a lock (output unlocked) and Refresh a lock (output locked).
  • Widget Dormakaba lock: lock state, battery, connection and an unlock button.

Help​

A question or a problem? Ask on the Gladys community forum or open an issue on the GitHub repository.

Configuration settings​

These are the settings Dormakaba dKey asks for in its configuration screen in Gladys.

SettingTypeRequiredDescription
Getting startedsectionNoEnter the Bluetooth address of the lock and the activation code of its dKey card. The Gladys host must be within Bluetooth range.
Bluetooth addressstringYesMAC address of the lock.
Activation codesecretYesCode printed on the dKey card.
Refresh interval (s)numberNoHow often the lock is read, in seconds (one minute minimum).

How to install Dormakaba dKey in Gladys​

  1. In Gladys, open Integrations: Dormakaba dKey appears in the catalog, next to the native integrations, with a community badge.
  2. Click Install. Gladys pulls the Docker image (ghcr.io/gboulvin/gladys-dormakaba-dkey:1.1.0), 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/gboulvin/gladys-dormakaba-dkey.

Dormakaba dKey requires Gladys >=5.1.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​

Dormakaba dKey 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 gboulvin, 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 🙂