Running a code ACL (Access Control List) in home automation means enforcing secure, device-specific access by requiring a trusted code to trigger actions—like unlocking locks, arming alarms, or controlling smart devices. This is especially useful in multi-user homes or rental properties where you need to restrict who can perform certain tasks. The simplest way is via smart-home apps that support code-based authentication, such as those from brands like **Nest, August Locks, or Samsung SmartThings** (with compatible devices). If you have a home security system (like ADT, Vivint, or Abode) with integrated smart locks or lights, some systems may already support code-based controls—check your device’s manual for details.
What You'll Need
- The specific smart-home app or system you’re using (e.g., Samsung SmartThings, August Locks app, or your security panel’s mobile app).
- A compatible smart device (e.g., a smart lock, thermostat, or light bulb) that supports code-based controls.
- Your existing credentials for the app/system (password, security code, or PIN).
- Optional: A secondary device (like a phone) to test the code once it’s set up.
- If you’re working with a security panel (e.g., ADT, Vivint): The exact model of lock or device you’re controlling (some panels require pairing with certain devices).
Step-by-Step
-
Check Compatibility:
Before proceeding, verify that your smart device and app support code-based access. For example:
- In the **August Locks app**, go to to see if it offers a "Code Lock" option.
- In **Samsung SmartThings**, search for your device’s integration (e.g., "Nexus Lock") and check its documentation for code-lock support.
- If using a security panel (e.g., Vivint), look for the Access Codes or Programmable Codes section in your panel’s mobile app (e.g., Settings > Users & Access > Add Access Code).
- For **Nest Locks**, code access was deprecated in newer versions but may still work via third-party apps (e.g., Kevo or August).
-
Set Up the Code in Your App:
The exact steps vary by device/app, but here’s how to do it on the most common platforms:
- Android/iOS (August Locks app):
- Open the August Locks app and select your lock under Devices.
- Tap Settings (gear icon) > Access Control.
- Choose Add Code and enter a new 6-digit PIN (you’ll need to remember it).
- Test the code by selecting it from the lock’s control screen in the app.
- Samsung SmartThings:
- Connect your lock as a Nexus Lock or similar device via the SmartThings app.
- Go to Devices Access Control .
- Enable Code Access and set a PIN (typically 4–8 digits).
- Pair your phone to the lock using the Pair Your Device option.
- Security Panel (Vivint/ADT):
- Open your panel’s mobile app (e.g., Vivint Voice or ADT Pulse).
- Navigate to Users & Access (e.g., Settings > Users > Add Access Code).
- Add a new code by entering a 4–6 digit sequence (ADT/Vivint may restrict codes to 4 digits).
- Assign the code to specific devices (e.g., unlock a door or arm the alarm).
- Android/iOS (August Locks app):
-
Test the Code:
- Use the code on your lock’s physical keypad (if available) or via the app’s quick-access screen.
- If the lock unlocks, the setup is correct. If not, verify:
- The code matches the one you entered in the app.
- You’re using the correct app (e.g., don’t confuse the August Locks app with another smart lock system).
- Your device is properly paired to the app (check Pairing Status in settings).
- If the test fails, restart the app and lock, then re-enter the code.
Common Mistakes
- Using the Wrong App: Some smart locks (e.g., Yale, Schlage) only work with proprietary apps (not Samsung SmartThings or August). Always verify the app’s compatibility with your device in the device’s official documentation. Fix: Downgrade to a compatible app or use a third-party helper app (e.g., Kevo for Nest Locks).
- Skipping Pairing: If your lock isn’t paired with the app, codes won’t work. For example, in the SmartThings app, you must add the lock as a device before enabling code access. Fix: Go to Devices > Add Device > Lock and connect it via Bluetooth.
- Incorrect Code Format: Security panels (e.g., ADT) often restrict codes to 4 digits. If you enter a longer PIN, it may not activate. Fix: Use a 4-digit code as specified in your panel’s manual.
- Ignoring Device Limitations: Some locks (e.g., Nexus Lock 2) only support code access via the SmartThings app and not directly on the keypad. Fix: Ensure the app is open and unlocked when using the code.
Tips
- Backup Your Codes: Print or write down the code in a secure location (not on the lock itself, as some codes are one-time-use). Why: If you lose your phone or reset the lock, you won’t regain access.
-
Use for Multiple Users:
In a multi-user home, assign different codes to different family members. For example:
- Code 1234: Parent unlocks the door.
- Code 4567: Child unlocks the garage.
- Test in Low Power Mode: Some locks (e.g., August) may fail if the battery is low. Ensure the lock has a full charge before testing.
- Offline Access: For code-based locks, you won’t need a Wi-Fi connection to use the physical keypad. However, app-based codes often require an active connection.
- Update the App: Outdated apps may have bugs. Check for updates in the Google Play Store or Apple App Store.
Troubleshooting
-
The Code Doesn’t Work:
- Restart the app and lock: Close the app, remove it from memory (iOS: Swipe app away; Android: Task killer), and reopen.
- Re-pair the device: Go to Settings > Remove Device and reconnect.
- Check the device’s manual for troubleshooting steps (e.g., Yale locks may require a factory reset if codes won’t save).
- If using a security panel (e.g., Vivint), call customer support—they may need to reprogram the code via the panel itself.
-
No Bluetooth/Wi-Fi Connection:
- For Bluetooth locks (e.g., August): Ensure Bluetooth is enabled on your phone and the lock is within range (20–30 feet).
- For Wi-Fi locks: Check your router’s signal strength. Move the lock closer to the router or use a Wi-Fi extender if possible.
- If the lock isn’t detecting your phone, try the lock’s Bluetooth pairing mode (some locks, like Schlage, require this).
-
The Lock Isn’t Responding:
- Check the physical lock for dead batteries (most have a test button).
- If the lock is hardwired (e.g., Yale Smart Lock), ensure the circuit breaker isn’t tripped.
- For security panels: Verify the lock is properly paired with the panel (some require manual pairing).
Frequently Asked Questions
Can I use a code lock if my smart lock doesn’t officially support it?
Yes, but you’ll need a workaround. For example:- Use a third-party app (like Kevo for Nest Locks) that may support code access despite the lock’s manufacturer’s limitations.
- If your lock is Bluetooth-based (e.g., August), try using a Bluetooth code lock (like the Cobra CodeLock) to trigger the smart lock via an app.
How do I reset a code lock if I forget it?
This depends on the device:- August Locks: You’ll need to remove access in the app and re-add the code. There’s no "forgot password" feature for codes.
- Security Panels (ADT/Vivint): Call customer support—they can generate a new code via the panel’s admin interface.
- Physical Locks: If the code is stored in the lock’s firmware (e.g., Yale Smart Lock), you may need to factory reset it (this erases all settings).
Can I use a code to control lights or thermostats, not just locks?
Not directly. Code ACLs are designed for physical access control (locks, doors, garage gates). To control lights or thermostats via codes:- Use a time-based schedule in the app (e.g., turn lights on at 8 PM).
- Pair a code with a remote device (e.g., a smart switch with a keypad).
How do I change the code after setting it up?
Most apps allow this:- Go to and edit it.
- For security panels, add a new code and delete the old one.
Why won’t my code work on the lock’s physical keypad?
This happens because:- The lock’s keypad is not Wi-Fi/Bluetooth-connected—it only works for physical access.
- Some locks (e.g., Nexus Lock 2) require the app to be open for keypad codes to work.
- If the lock is hardwired, the keypad may not support digital codes.
Can I use a code to arm/disarm a security system remotely?
Yes, if your security panel supports it:- In the panel’s app (e.g., Vivint Voice or ADT Pulse), go to Armed Away Codes and add a new code.
- Assign the code to Arm the System or Disarm the System.
What if my smart lock isn’t working with the app?
If your lock isn’t communicating with the app:- Check the device’s compatibility on the manufacturer’s website.
- Try a firmware update (e.g., download it from August’s support page and install manually).
- If the lock is junked or damaged, consider replacing it (some locks, like the August Lock, are proprietary and may not work with third-party apps).