Aliro door lock provisioning with Matter
This page covers the following methods for testing the Aliro door lock with Matter support:
Testing with Matter CHIP Tool - Using the CHIP Tool command-line interface for commissioning and credential provisioning (intended for development and testing).
Testing with Apple ecosystem - Using Apple Home app and Apple Wallet for real-world user experience testing with iOS devices.
Testing with Samsung SmartThings ecosystem - Using Samsung SmartThings and Samsung Wallet for real-world user experience testing with Android devices.
The application allows you to provision Aliro credentials from a Matter controller. First, ensure that all the necessary software tools and hardware are configured (see Testing). For development kit LEDs, buttons, and commissioning controls, see User interface in the Application guide.
Testing with Matter CHIP Tool
This guide uses CHIP Tool as a Matter controller to commission the door lock and provision Aliro credentials through the command-line interface. For details, see the Matter chip-tool guide.
Note
This approach is recommended for development, testing, and debugging purposes.
Set up the Thread Border Router with the Nordic Thread coprocessor.
Configure the Thread radio co-processor.
Run the OpenThread Border Router and form a Thread network using Docker.
Obtain the Thread operational dataset for commissioning devices into the created Thread network by running the following Docker command:
sudo docker exec -it otbr sh -c "sudo ot-ctl dataset active -x"Save this operational dataset as it will be needed for commissioning the door lock device.
Commission the Aliro door lock to the Matter over Thread network.
Put the door lock device in commissioning mode by pressing the appropriate button on the development kit. Refer to the User interface section for more details.
Use CHIP Tool to commission the device with Thread operational dataset obtained:
./chip-tool pairing ble-thread <node-id> hex:<thread-dataset> <pin-code> <discriminator><node-id>- A unique node ID for the device (for example,1)<thread-dataset>- The obtained Thread operational dataset<pin-code>- Device pairing code (default:30033003)<discriminator>- Device discriminator (default:3003)
For example:
./chip-tool pairing ble-thread 1 hex:0e080000000000010000000300001335060004001fffe002084c70c4ba47c6a0780708fd12345678901234051000112233445566778899aabbccddeeff030e4f70656e5468726561642048423030010212340410445f2b5ca6f2a93a55ce570a70efeecb0c0402a0f7f8 30033003 3003Verify successful commissioning by reading basic device information:
./chip-tool basicinformation read vendor-name 1 0You should see the vendor information of the commissioned door lock device.
Configure the Aliro Reader based on the Test Harness configuration.
Generate an ECC key pair for the Reader by running the following commands:
KEY_OUTPUT=$(openssl ecparam -name prime256v1 -genkey | openssl ec -text -noout) && \ echo "Private Key:" && \ echo "$KEY_OUTPUT" | sed -n '/priv:/,/pub:/p' | grep -v 'priv:\|pub:' | tr -d ' \n:' && \ echo -e "\nPublic Key:" && \ echo "$KEY_OUTPUT" | sed -n '/pub:/,/ASN1/p' | grep -v 'pub:\|ASN1' | tr -d ' \n:'
See an example output:
Private Key: 9df123f58dd15f6bab71bb6635827faf25100b043cdf6b62c93ea3c244ad4403 Public Key: 043c05b91fc09a84ad2ab7940a1b84f09b8ddf5323f1aac0f6568e1c973f37275dc67500a9df08d1bd69ee04e8641d9cbc73a4c1be30eed64def414f8afdc44642
Follow the Setting up the Aliro Test Harness section to locate the necessary credentials in the Test Harness project configuration.
Configure the Test Harness project:
Set
dut_reader_public_keyto the generatedPublic Key.Note down the values of
th_access_credential_public_keyanddut_reader_group_identifier. You will need them for further configuration.
Set the Aliro Reader configuration remotely with CHIP Tool using the following command:
./chip-tool doorlock set-aliro-reader-config hex:<signing_key> hex:<verification_key> hex:<group_identifier> <node-id> <endpoint-id> --GroupResolvingKey hex:<group_resolving_key><signing_key>- Signing key of the Reader device (generatedPrivate Key)<verification_key>- Verification key of the Reader device (generatedPublic Key)<group_identifier>- Group identifier of the Reader device (corresponds todut_reader_group_identifier)<node-id>- Unique node ID for the device (for example,1)<endpoint-id>- Endpoint ID of the Reader device (for example,1for the door lock cluster)<group_resolving_key>- Group resolving key of the Reader device. This option corresponds todut_reader_group_resolving_key, which can be set in the Test Harness project configuration.
See the following example:
./chip-tool doorlock set-aliro-reader-config hex:9df123f58dd15f6bab71bb6635827faf25100b043cdf6b62c93ea3c244ad4403 hex:043c05b91fc09a84ad2ab7940a1b84f09b8ddf5323f1aac0f6568e1c973f37275dc67500a9df08d1bd69ee04e8641d9cbc73a4c1be30eed64def414f8afdc44642 hex:00113344667799AA00113344667799AA 1 1 --GroupResolvingKey hex:00000000000000000000000000000000 --timedInteractionTimeoutMs 5000Note
The
GroupResolvingKeycan only be set if the Aliro door lock application is built with Bluetooth LE transport and Ultra-Wideband (UWB) support. Currently, the Aliro Test Harness expects theGroupResolvingKeyto be set to all zeros.
Add door lock user and
AliroNonEvictableEndpointKeycredentials using CHIP Tool.Add the first user (Home user):
./chip-tool doorlock set-user 0 1 Home 0 1 0 0 1 1 --timedInteractionTimeoutMs 5000OperationType (0 = Add) -
0UserIndex -
1UserName -
HomeUserUniqueID -
0UserStatus (1 = enabled) -
1UserType (0 = unrestricted) -
0CredentialRule (0 = single) -
0Node ID of the door lock -
1Endpoint ID -
1
Set the first
AliroNonEvictableEndpointKeycredential for the Home user:./chip-tool doorlock set-credential 0 '{"credentialType": 8, "credentialIndex": 1}' hex:<credential-data> 1 null null 1 1 --timedInteractionTimeoutMs 5000OperationType (0 = Add) -
0credentialType (8 = AliroNonEvictableEndpointKey) -
8credentialIndex -
1<credential-data>- An octet string parameter with the Access Credential public key data. It corresponds toth_access_credential_public_key.UserIndex -
1UserStatus -
nullUserType -
nullNode ID of the door lock -
1Endpoint ID -
1
See the following example:
./chip-tool doorlock set-credential 0 '{"credentialType": 8, "credentialIndex": 1}' hex:04742df736d0fc9be978c45b00e8fdf7cea684ea105ae574c1505a2c24ab6198e3125b7f1b7e1d134c55ece69681ba8ecc18a3836dc5199c759f31e8ccf17e3efa 1 null null 1 1 --timedInteractionTimeoutMs 5000Read the status of credential assigned to the user to verify that it was set correctly:
./chip-tool doorlock get-credential-status {"credentialType": 8, "credentialIndex": 1} 1 1
Add Aliro Credential Issuer key using CHIP Tool. Once you have a user created on the door lock, you can add the Credential Issuer public key to the Reader using the following command:
./chip-tool doorlock set-credential 0 '{"credentialType": 6, "credentialIndex": 1}' hex:<credential-data> 1 null null 1 1 --timedInteractionTimeoutMs 5000OperationType (0 = Add) -
0credentialType (6 = AliroCredentialIssuerKey) -
6credentialIndex -
1<credential-data>- An octet string parameter with the Credential Issuer public key data. It corresponds todut_credential_issuer_public_key.UserIndex -
1UserStatus -
nullUserType -
nullNode ID of the door lock -
1Endpoint ID -
1
See the following example:
./chip-tool doorlock set-credential 0 '{"credentialType": 6, "credentialIndex": 1}' hex:047BA31938492E3F5E97BC91806B5835B5D9E426609139006711E5FB7A670EE4E12FC9F25396C013CC20166029D761A105DEA5E071E84A9E499920524CE2301137 1 null null 1 1 --timedInteractionTimeoutMs 5000
Testing with Apple ecosystem
Note
Support for testing with Apple ecosystem is experimental and is not optimized with respect to performance and power consumption. This feature is intended for development and testing purposes only.
This guide demonstrates how to test the Aliro door lock with Matter support using Apple’s Home App and Wallet on iPhone. For additional information about Matter testing with various ecosystems, see the Matter testing with Apple, Google, and Samsung ecosystems guide.
When testing nRF Door Lock and Access Control Application with Apple ecosystem, you can use either:
NFC - Tap to unlock using NFC technology
NFC + Bluetooth LE + UWB - Unlock on approach using Bluetooth LE + UWB ranging (in addition to NFC)
Both configurations are supported and can be set up during the commissioning process.
Note
Testing with Apple ecosystem requires both Step-up phase and Expedited-fast phase support to be enabled on the device.
Both CONFIG_DOOR_LOCK_STEP_UP_PHASE and CONFIG_DOOR_LOCK_EXPEDITED_FAST_PHASE Kconfig options are enabled by default when building with Matter support.
Prerequisites
Before you begin testing with Apple ecosystem, ensure you have the following:
iPhone with iOS 26 or later - It is required for Aliro-related features in the Apple Home and Wallet apps.
Apple Home Hub - A HomePod Mini (recommended) or an Apple TV 4K, which acts as both a Matter controller and Thread Border Router. You can test the application with iPhone only, however, having an Apple Home Hub is recommended for best experience.
Apple Home App - Pre-installed on iOS devices.
Apple Wallet - Pre-installed on iOS devices.
A development kit from Nordic Semiconductor equipped with Matter and Aliro Door Lock Application firmware that supports Matter.
Building the firmware
Build the firmware with the appropriate configuration for your testing scenario, for example:
For NFC testing, run:
west build -b nrf54lm20dk/nrf54lm20b/cpuapp applications/matter-aliro-door-lock-appFor NFC + Bluetooth LE + UWB testing, run:
west build -b nrf54lm20dk/nrf54lm20b/cpuapp applications/matter-aliro-door-lock-app -- -DCONFIG_DOOR_LOCK_BLE_UWB=y
Note
Bluetooth LE and UWB ranging requires a working UWB implementation. The in-tree stub built by default does not perform ranging; provide a UWB backend as described in Integrating a third-party UWB chip.
Note
Before commissioning the door lock, ensure that the Apple Home Hub is set up and added to your Apple Home. It will act as the Thread Border Router and Matter controller for your home network.
Commissioning the door lock to Apple Home
The commissioning process allows you to add the door lock accessory into your Apple Home ecosystem using Matter over Thread. Complete the following steps to commission the device:
Prepare the door lock device:
Flash the Aliro door lock firmware to your Nordic development kit (see Application guide).
Connect the required hardware (NFC reader expansion board).
Power on the device and connect to the serial console to monitor the commissioning process.
Start the commissioning mode on the device. Refer to the User interface section for detailed button assignments and LED indicators.
Flash the Aliro door lock firmware with UWB support to your Nordic development kit. Build the Application guide with the
-DCONFIG_DOOR_LOCK_BLE_UWB=yoption and a UWB implementation (see Integrating a third-party UWB chip).Connect the required hardware:
NFC reader expansion board (required for NFC unlock)
UWB module (required for UWB ranging)
Power on the device and connect to the serial console to monitor the commissioning process.
Start the commissioning mode on the device. Refer to the User interface section for detailed button assignments and LED indicators.
Initiate Matter pairing in the Apple Home app:
Open the Home App on your iPhone.
Ensure your iPhone is connected to the same Wi-Fi network as your Apple Home Hub.
Tap the + button in the top-right corner of the Home app.
Select Add Accessory or Add Device.
Scan the Matter QR code displayed under the link that appears in the device’s serial console after it boots up. The Home app will activate the camera for QR code scanning.
Note
During testing, you might see an Uncertified Accessory warning, indicating the device has not yet been certified by the Connectivity Standards Alliance for Matter compatibility. This behavior is expected for development devices. If this occurs, tap Add Anyway to proceed with commissioning.
Uncertified Accessory warning during commissioning
Complete the accessory setup:
Wait while the Home App establishes a connection and commissions the device. The status message will show
Setting Up....When prompted, assign a location or room for the lock (for example, “Entrance”, “Front Door”, or “Garage”).
Selecting the lock location during setup
Provide a name for the lock (for example, “Aliro lock” or “Front Door Lock”).
Review the suggested settings and tap Continue or Done.
Enable Home Key functionality. After successful commissioning, the Home app will automatically prompt you to set up the Home Key feature for Apple Wallet:
Wait for the Tap to Unlock setup screen with options for unlock methods.
Tap to Unlock configuration screen
Tap Turn On Tap to Unlock to enable NFC-based unlocking using your iPhone.
Choose your preferred authentication methods:
Require Face ID or Passcode - Adds an additional security layer requiring biometric or PIN authentication before unlocking.
Access Codes - Adds an additional security layer requiring a PIN code to unlock the door lock remotely (through the Matter network).
Tap Done to complete the Home Key provisioning.
Wait for the Express Mode setup screen with options for unlock methods.
Express Mode configuration screen
Tap Turn On Express Mode to enable both NFC-based tap to unlock and Bluetooth LE + UWB-based unlock on approach using your iPhone.
Accept the prompt to enable proximity-based unlocking during commissioning.
Choose your preferred authentication methods:
Require Face ID or Passcode - Adds an additional security layer requiring biometric or PIN authentication before unlocking.
Access Codes - Adds an additional security layer requiring a PIN code to unlock the door lock remotely (through the Matter network).
Tap Done to complete the Home Key provisioning.
Verify successful commissioning:
Wait for the Lock Added to Home confirmation pop-up with a message indicating that you and all home members can now unlock the door.
Confirmation that the lock has been successfully added
The lock should now appear in your Home app within the assigned room, displaying its current state (Locked or Unlocked).
Aliro lock displayed in the Home app
Ensure that a new home card appears in your Apple Wallet app containing the digital key for the lock.
Apple Wallet containing the newly added Home key
Using the home key for access
Once the lock is successfully commissioned to Apple Home, a virtual home key containing Aliro credentials is automatically provisioned and added to your Apple Wallet.
Accessing the home key in Apple Wallet
To use your digital home key from Apple Wallet, complete the following:
Open the Wallet app on your iPhone.
Locate the new home card displaying a house icon. This card represents your digital home key and contains the Aliro cryptographic credentials required for secure authentication with the door lock.
Unlocking the door
To unlock the door using your iPhone with NFC, complete the following steps:
Approach the door lock with your iPhone, ensuring the Apple Wallet app is open and the Home Key card is active. Depending on the security settings you chose during the initial setup, you may be prompted for biometric authentication (Face ID or Touch ID) or passcode entry to make the card active.
Hold your device near the NFC reader antenna on the door lock. This is a part of the STM Nucleo NFC reader expansion board attached to the development kit.
Authentication behavior depends on your chosen security setting:
Face ID or Passcode required - Your device will ask for biometric authentication (Face ID or Touch ID) or passcode entry before unlocking.
Wait for confirmation:
The Apple Wallet will display the following message:
Apple Wallet displaying confirmation after successful unlock with Home key
The device serial console outputs an
ACCESS GRANTEDlog message.The lock status in the Home app updates to Unlocked.
To unlock the door using your iPhone with NFC + Bluetooth LE + UWB, you can use either method:
Using NFC (tap to unlock):
Approach the door lock with your iPhone, ensuring the Apple Wallet app is open and the Home Key card is active. Depending on the security settings you chose during the initial setup, you may be prompted for biometric authentication (Face ID or Touch ID) or passcode entry to make the card active.
Hold your device near the NFC reader antenna on the door lock. This is a part of the STM Nucleo NFC reader expansion board attached to the development kit.
Wait for confirmation - The Apple Wallet will display “Done” message, the device serial console outputs an
ACCESS GRANTEDlog message, and the lock status in the Home app updates to Unlocked.
Using Bluetooth LE + UWB (unlock on approach):
Ensure your iPhone has Bluetooth enabled and is within range of the door lock. The door will automatically unlock when your iPhone is within the configured distance threshold.
Approach the door lock with your iPhone. The device will automatically detect your proximity using UWB ranging.
Wait for automatic unlock:
The door will unlock when your iPhone is within
CONFIG_DOOR_LOCK_ACCESS_MANAGER_MAX_ALLOWED_DISTANCE_CM(default: 150 cm).The device serial console outputs an
ACCESS GRANTEDlog message.The lock status in the Home app updates to Unlocked.
To lock the door again:
Move your iPhone beyond
CONFIG_DOOR_LOCK_ACCESS_MANAGER_MAX_ALLOWED_DISTANCE_CM + CONFIG_DOOR_LOCK_ACCESS_MANAGER_MAX_ALLOWED_DISTANCE_EXIT_MARGIN_CM(default: 150 cm + 30 cm = 180 cm).The door will automatically lock when all active UWB sessions are out of range.
The device serial console outputs a lock confirmation message.
The lock status in the Home app updates to Locked.
Note
The exit margin prevents rapid toggling when the distance fluctuates around the threshold. This ensures stable lock and unlock behavior.
The behavior of the door lock can be customized and depends on various factors, including the behavior after unlocking.
In the example configuration with CONFIG_DOOR_LOCK_ACCESS_MANAGER_TERMINATE_SESSION_DISABLED, the UWB session is terminated by the User Device (iPhone) after a certain period of time.
The User Device resumes the session either when the Door Lock changes state from Non-secured to Secured (Unlocked => Locked), which is detected by the iPhone over Bluetooth LE, or through motion detection on the User Device side.
Troubleshooting
If you encounter issues during testing with the Apple ecosystem, refer to the following troubleshooting guidance.
Commissioning issues
If you are facing difficulties during the commissioning process, consider the following steps to diagnose and resolve the issue:
Device is not discovered by the Home app:
Verify that the device is in active commissioning mode (LED indicators should show commissioning state as described in the User interface).
Ensure Bluetooth is enabled on your iPhone, and that the Home app has permission to access location services.
Confirm your iPhone is running iOS 26 or later.
Ensure that the HomePod mini is powered on, connected to Wi-Fi, and showing as online in the Home app.
Attempt to power cycle both the door lock device and the HomePod mini.
Receiving an
Uncertified Accessorywarning:This is expected behavior for development devices that are not yet certified by the Connectivity Standards Alliance (CSA).
Tap Add Anyway to proceed with commissioning.
Once the product is certified, this warning will no longer appear.
Commissioning fails or times out:
Ensure the HomePod mini is on the same network as your iPhone.
Check the device serial console for error messages indicating commissioning failures.
Ensure the firmware was built with the correct application (
applications/matter-aliro-door-lock-app).Ensure the Step-up phase support is enabled (the
CONFIG_DOOR_LOCK_STEP_UP_PHASEKconfig option).Try performing a factory reset of the device and restarting the commissioning process.
Ensure the Thread network is functioning correctly on the HomePod mini.
Home Key and Wallet issues
Problems with the Home Key appearing in Apple Wallet or other related issues can often be resolved by checking a few key settings and configurations:
Home key does not appear in the Apple Wallet:
Ensure you have completed the Tap to Unlock setup during the initial commissioning process
If you skipped this step, you can enable it later by opening the Home app, tapping the lock, going to the settings icon, and clicking Tap to Unlock.
Ensure your iPhone has Apple Wallet enabled and is signed in with your Apple ID.
Check if iCloud Keychain is enabled by going to iPhone Settings → [Your Name] → iCloud → Passwords and Keychain.
Ensure you have completed the Express Mode setup during the initial commissioning process
If you skipped this step, you can enable it later by opening the Home app, tapping the lock, going to the settings icon, and clicking Express Mode.
Ensure your iPhone has Apple Wallet enabled and is signed in with your Apple ID.
Check if iCloud Keychain is enabled by going to iPhone Settings → [Your Name] → iCloud → Passwords and Keychain.
The Hold Near Lock message appears but nothing happens (NFC unlock):
Verify that the NFC reader hardware is properly connected to the development kit (check physical connections).
Ensure the firmware includes the NFC transport support by checking the build configuration.
Adjust the position of your iPhone relative to the NFC reader antenna to improve connectivity.
Check the device serial console for NFC reader initialization messages and any error logs.
The door does not unlock automatically when approaching (Bluetooth LE + UWB):
Verify that the UWB module is properly connected to the development kit (check physical connections).
Ensure the firmware includes UWB support with a working UWB implementation by checking the build configuration (
-DCONFIG_DOOR_LOCK_BLE_UWB=y; see Integrating a third-party UWB chip).Ensure your iPhone is within
CONFIG_DOOR_LOCK_ACCESS_MANAGER_MAX_ALLOWED_DISTANCE_CM(default: 150 cm) of the door lock.Check the device serial console for UWB ranging messages and distance measurements.
Verify that Bluetooth is enabled on your iPhone and that the Home app has permission to access location services.
Face ID or passcode prompt does not appear when expected:
Review the home key security settings by going to Wallet app → Home card → ⓘ (info) → Express Mode settings.
If you wish to use the Require Face ID or Passcode option, ensure it is enabled in the settings.
For additional troubleshooting, guidance, and tips for various ecosystems, see the Matter testing with Apple, Google, and Samsung ecosystems guide.
Testing with Samsung SmartThings ecosystem
SmartThings and Samsung Wallet support Matter and Aliro. The related software has been deployed to supported devices.
To receive support for this feature, your door lock product must pass the Works With SmartThings certification and Samsung Wallet QA testing. Samsung operates a partner program to assist with these preparations.
To test Aliro with the SmartThings ecosystem, you must have a special Matter lock driver running on the SmartThings hub.
Note
This guide explains how to test the application with the Samsung ecosystem using Aliro over NFC only. UWB is out of scope. Enabling Aliro over Bluetooth LE and UWB on a Samsung phone requires an additional software package on the phone. Contact Samsung for details.
For additional information about Matter testing with various ecosystems, see the Matter testing with Apple, Google, and Samsung ecosystems guide.
Prerequisites
See the Samsung Wallet device compatibility list for supported Samsung phone models and their NFC and UWB capabilities.
The SmartThings hub can be any model that supports SmartThings and Matter.
For reference, the following setup was used during internal testing:
Samsung Galaxy S24+ phone running Android 16 and One UI 8.5
Aeotec SmartThings hub (model IM6001-V3P22, hub name
V3_HUB) with:Matter SDK version: 1.5-0
Firmware version: 000.060.00012
Hub app version: 1.0.49-13
A special version of the Samsung Wallet app (contact Samsung representatives to obtain the proper build)
The Matter and Aliro Door Lock Application build with NFC support only (see Application guide)
Installing the Matter lock driver on the hub
Before commissioning the door lock, install a Matter lock driver on the SmartThings hub. The driver must support your device’s Vendor ID (VID) and Product ID (PID).
Complete the following steps to create and enroll the driver:
Fork the SmartThingsEdgeDrivers repository.
Add your device’s VID, PID, brand, and model name to the fingerprints file for Matter locks in the SmartThingsEdgeDrivers repository.
Note
If you have problems finding the fingerprints file, contact the SmartThings team for assistance.
Create a pull request to the main branch.
You can start testing before the pull request is merged:
After the pull request is created, an invitation link is generated automatically.
Use the invitation link to enroll the channel on your hub.
You can begin testing immediately without waiting for the pull request to be merged.
Enrolling the driver channel on the hub
Building the firmware
Build the Matter and Aliro Door Lock Application with NFC support only, using the same Matter VID and PID as in the hub lock driver.
For example, to keep the default Product ID and change only the Vendor ID, run the following command:
west build -b nrf54lm20dk/nrf54lm20a/cpuapp applications/matter-aliro-door-lock-app -p -- \
-DCONFIG_CHIP_DEVICE_VENDOR_ID=4735 \
-DCONFIG_CHIP_FACTORY_DATA_CERT_SOURCE_GENERATED=y \
-DCONFIG_CHIP_FACTORY_DATA_GENERATE_CD=y
Note
When you change the default VID or PID, factory data must be regenerated.
Enable CONFIG_CHIP_FACTORY_DATA_CERT_SOURCE_GENERATED and CONFIG_CHIP_FACTORY_DATA_GENERATE_CD Kconfig options in the build command or in prj.conf.
You must also have the chip-cert tool available on your PATH when building with generated certificates.
Commissioning the door lock to Samsung SmartThings
The commissioning process allows you to add the door lock accessory into your SmartThings ecosystem using Matter over Thread. Complete the following steps to commission the device:
Prepare the door lock device:
Flash the Aliro door lock firmware with NFC support to your Nordic development kit (see Application guide).
Connect the NFC reader expansion board.
Power on the device and connect to the serial console to monitor the commissioning process.
Open a terminal on your computer and locate the Matter QR code link printed in the device serial console after boot.
Open the SmartThings app on your Samsung phone.
SmartThings app main screen
Tap the + button in the upper-right corner.
Adding a new device in SmartThings
Select Scan QR code.
Scan QR code option
Scan the Matter QR code from the link displayed in the serial console.
Scanning the Matter QR code
Start Bluetooth LE advertising on the device by pressing Button 1. Refer to the User interface section for detailed button assignments and LED indicators.
When testing a non-certified Matter device, a notification pop-up appears. Tap Continue to proceed.
Note
This warning is expected for development devices that are not yet certified by the Connectivity Standards Alliance (CSA). Once the product is certified, this warning will no longer appear.
Non-certified device warning during commissioning
Wait while SmartThings adds the device to your home.
Checking network connectivity during setup
Device setup in progress
When prompted, set a PIN code for opening the lock, or skip this step.
Setting a PIN code for the lock
Confirm that the device has been added successfully.
Device added successfully
Tap Done. SmartThings downloads the plugin used to control your device.
Downloading the device control plugin
Wait until the device is ready in SmartThings.
Door lock ready in SmartThings
Using the digital key from Samsung Wallet
After successful commissioning, add an Aliro digital key to Samsung Wallet and use it to unlock the door over NFC.
Adding the digital key to Samsung Wallet
Complete the following steps:
In the SmartThings device view, tap the Wallet icon at the bottom of the screen.
Starting digital key setup from SmartThings
Adding the digital key to Samsung Wallet
Tap Start to add the key to Samsung Wallet.
When the digital key has been added successfully, tap Done.
Digital key added to Samsung Wallet
Digital key ready in Samsung Wallet
Unlocking the door with NFC
To unlock the door using your Samsung phone with NFC, complete the following steps:
Open Samsung Wallet and select the door lock digital key card.
Tap the NFC reader of the door lock with your phone. The NFC reader is part of the STM Nucleo NFC reader expansion board attached to the development kit.
Confirm that the door unlocks:
Unlock confirmation in Samsung Wallet
Door unlocked in SmartThings
The device serial console outputs an
ACCESS GRANTEDlog message.The lock status in the SmartThings app updates to Unlocked.
Aliro and Matter lock state synchronization
When the door lock is unlocked through Aliro, the lock state automatically synchronizes with the Matter door-lock server cluster. This synchronization ensures that User Devices in the Matter network are notified of lock state changes in real time.
To verify the current lock state, run the following command:
./chip-tool doorlock read lock-state 1 1After executing the command, find the lock state in the response, for example:
[1757071349.943] [949263:949265] [TOO] LockState: 1The response indicates that the lock is locked.
Execute a test, for example,
BLEUWB_RDR_EXPEDITED_STANDARD_PHASEwith Bluetooth LE + UWB transport (see Verification and testing procedures) using the Test Harness. If the test is successful, rerun the./chip-tool doorlock read lock-state 1 1command.You should see the following status in the response:
[1757072050.821] [951199:951201] [TOO] LockState: 2The response indicates that the lock is unlocked.