# \[Edge drivers\] Issue with Z-Wave Lock driver (Schlage BE469ZP)

**URL:** <https://community.smartthings.com/t/edge-drivers-issue-with-z-wave-lock-driver-schlage-be469zp/247178>\
**Category:** Support\
**Created:** [September 2, 2022, 12:14am UTC](https://community.smartthings.com/t/edge-drivers-issue-with-z-wave-lock-driver-schlage-be469zp/247178 "2022-09-02T00:14:29Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![philh30](https://avatars.discourse-cdn.com/v4/letter/p/41988e/32.png) [@philh30](https://community.smartthings.com/u/philh30)\
**Post date:** [September 2, 2022, 12:14am UTC](https://community.smartthings.com/t/edge-drivers-issue-with-z-wave-lock-driver-schlage-be469zp/247178/1 "2022-09-02T00:14:29Z")

</div>

@nayelyz I just installed a new Schlage BE469ZP using the beta zwave-lock driver, and the driver immediately went into an endless loop where it would send a UserCode:Get command, the device would return a UserCode:Report, the driver would throw the error (below) while processing the report, and then the driver would start over by resending the UserCode:Get. This repeated every 15-30 seconds for 40 minutes before I put an end to it.

```auto
[string "schlage-lock/init.lua"]:116: attempt to index a nil value (local 'code_state')

```

I can send much longer logs if you need, but the error is generating from line 124 below, as code\_state = nil for a new device:

> <https://github.com/SmartThingsCommunity/SmartThingsEdgeDrivers/blob/16218ddff772a01dc658bbeb144cf7dc3f741726/drivers/SmartThings/zwave-lock/src/schlage-lock/init.lua#L116-L129>

Changing line 124 to the below eliminates the error and allows the lock to finish its set up:

```auto
    return user_code == " **********" or user_code == nil or (code_state or {})["setName"..cmd.args.user_identifier] ~= nil

```

---

<div class="post-metadata">

**Author:** ![nayelyz](https://avatars.discourse-cdn.com/v4/letter/n/59ef9b/32.png) [@nayelyz](https://community.smartthings.com/u/nayelyz)\
**Post date:** [September 2, 2022, 12:52pm UTC](https://community.smartthings.com/t/edge-drivers-issue-with-z-wave-lock-driver-schlage-be469zp/247178/2 "2022-09-02T12:52:37Z")

</div>

Hi, @philh30.

Thank you for reporting this, I’ll create a report. For now, I think it’s enough information. I’ll let you know in case we need more.

---

<div class="post-metadata">

**Author:** ![nayelyz](https://avatars.discourse-cdn.com/v4/letter/n/59ef9b/32.png) [@nayelyz](https://community.smartthings.com/u/nayelyz)\
**Post date:** [September 19, 2022, 2:18pm UTC](https://community.smartthings.com/t/edge-drivers-issue-with-z-wave-lock-driver-schlage-be469zp/247178/3 "2022-09-19T14:18:08Z")

</div>

Hi, @philh30!

The team mentioned the fix for this issue should be available for the drivers in the beta channel. Can you help us confirm if this works correctly, please?

---

<div class="post-metadata">

**Author:** ![philh30](https://avatars.discourse-cdn.com/v4/letter/p/41988e/32.png) [@philh30](https://community.smartthings.com/u/philh30)\
**Post date:** [September 19, 2022, 2:32pm UTC](https://community.smartthings.com/t/edge-drivers-issue-with-z-wave-lock-driver-schlage-be469zp/247178/4 "2022-09-19T14:32:34Z")

</div>

The changes to the beta driver look good and should fix that error. I already have the lock fully set up and the family all know their lock codes, so I’m not able to re-onboard to test.

---

<div class="post-metadata">

**Author:** ![nayelyz](https://avatars.discourse-cdn.com/v4/letter/n/59ef9b/32.png) [@nayelyz](https://community.smartthings.com/u/nayelyz)\
**Post date:** [September 19, 2022, 4:01pm UTC](https://community.smartthings.com/t/edge-drivers-issue-with-z-wave-lock-driver-schlage-be469zp/247178/5 "2022-09-19T16:01:19Z")

</div>

> [@philh30](#):
>
> I’m not able to re-onboard

Got it, @philh30. Thank you for checking the update in the repo. 🙂

---

<div class="post-metadata">

**Author:** ![jhmeier](https://avatars.discourse-cdn.com/v4/letter/j/9e8a1a/32.png) [@jhmeier](https://community.smartthings.com/u/jhmeier)\
**Post date:** [October 29, 2022, 5:28pm UTC](https://community.smartthings.com/t/edge-drivers-issue-with-z-wave-lock-driver-schlage-be469zp/247178/6 "2022-10-29T17:28:58Z")

</div>

I’m not highly technical, but wondering if someone can please help me figure out why Schlage BE469ZP lock continues to reinstall using legacy drivers? I deleted the lock from IDE, and every time I reinstall it, it uses the non-Edge zwave driver (no “driver” listed under device option menu “…”).

I subscribed to the beta edge driver channel.

I’ve successfully migrated ten other devices to the new edge drivers by deleting and re-discovering other devices.

---

<div class="post-metadata">

**Author:** ![nayelyz](https://avatars.discourse-cdn.com/v4/letter/n/59ef9b/32.png) [@nayelyz](https://community.smartthings.com/u/nayelyz)\
**Post date:** [October 31, 2022, 7:15pm UTC](https://community.smartthings.com/t/edge-drivers-issue-with-z-wave-lock-driver-schlage-be469zp/247178/7 "2022-10-31T19:15:49Z")

</div>

> [@jhmeier](#):
>
> why Schlage BE469ZP lock continues to reinstall using legacy drivers? I deleted the lock from IDE, and every time I reinstall it, it uses the non-Edge zwave driver (no “driver” listed under device option menu “…”).

Welcome to the SmarThings Community, @jhmeier!  
Have you seen if you have a custom DTH in your IDE that contains the fingerprints of the device?  
I mean in this section:

 ![image](https://global.discourse-cdn.com/smartthings/original/3X/c/b/cbc46d39bd9738f6579ba9a6362d3c7c5eb3340c.png)

This is because they can take preference over Edge drivers.  
I see the fingerprints of your device are included in the [Z-Wave lock driver](https://github.com/SmartThingsCommunity/SmartThingsEdgeDrivers/blob/main/drivers/SmartThings/zwave-lock/fingerprints.yml#L89), did you install this one from the Beta Channel?

---

<div class="post-metadata">

**Author:** ![upperbayhawk](https://avatars.discourse-cdn.com/v4/letter/u/ce7236/32.png) [@upperbayhawk](https://community.smartthings.com/u/upperbayhawk)\
**Post date:** [November 2, 2022, 8:15pm UTC](https://community.smartthings.com/t/edge-drivers-issue-with-z-wave-lock-driver-schlage-be469zp/247178/8 "2022-11-02T20:15:13Z")

</div>

I have a Schlage z-wave lock, BE469WK that is not in the fingerprints file of the SmartThings Edge Drivers on Github. Also the fingerprint file in lock driver in the above post is different. What’s the status of the driver? Thanks, Dave

---

<div class="post-metadata">

**Author:** ![nayelyz](https://avatars.discourse-cdn.com/v4/letter/n/59ef9b/32.png) [@nayelyz](https://community.smartthings.com/u/nayelyz)\
**Post date:** [November 2, 2022, 11:50pm UTC](https://community.smartthings.com/t/edge-drivers-issue-with-z-wave-lock-driver-schlage-be469zp/247178/9 "2022-11-02T23:50:10Z")

</div>

> [@upperbayhawk](#):
>
> Also the fingerprint file in lock driver in the above post is different. What’s the status of the driver? Thanks, Dave

Hi, @upperbayhawk!  
Did your device use a stock DTH? If so, which one?

---

<div class="post-metadata">

**Author:** ![upperbayhawk](https://avatars.discourse-cdn.com/v4/letter/u/ce7236/32.png) [@upperbayhawk](https://community.smartthings.com/u/upperbayhawk)\
**Post date:** [November 3, 2022, 12:28am UTC](https://community.smartthings.com/t/edge-drivers-issue-with-z-wave-lock-driver-schlage-be469zp/247178/10 "2022-11-03T00:28:41Z")

</div>

Yes. Z-Wave Lock

 ![](https://global.discourse-cdn.com/smartthings/original/3X/1/7/177fc62f524ad152c164c2f082802b09e3bbf595.png)

---

<div class="post-metadata">

**Author:** ![nayelyz](https://avatars.discourse-cdn.com/v4/letter/n/59ef9b/32.png) [@nayelyz](https://community.smartthings.com/u/nayelyz)\
**Post date:** [November 8, 2022, 2:52pm UTC](https://community.smartthings.com/t/edge-drivers-issue-with-z-wave-lock-driver-schlage-be469zp/247178/11 "2022-11-08T14:52:20Z")

</div>

I see the fingerprint is included here:

> <https://github.com/SmartThingsCommunity/SmartThingsEdgeDrivers/blob/main/drivers/SmartThings/zwave-lock/fingerprints.yml#L71>

However, they aren’t enabled in the production version of the driver, this means the one that is installed automatically, so, that’s why it still uses the DTH if you have tried to pair it again.  
As this is included in the driver, you might prefer to wait for the migration, otherwise, you need to install the driver directly.

---

<div class="post-metadata">

**Author:** ![upperbayhawk](https://avatars.discourse-cdn.com/v4/letter/u/ce7236/32.png) [@upperbayhawk](https://community.smartthings.com/u/upperbayhawk)\
**Post date:** [November 8, 2022, 3:37pm UTC](https://community.smartthings.com/t/edge-drivers-issue-with-z-wave-lock-driver-schlage-be469zp/247178/12 "2022-11-08T15:37:54Z")

</div>

Hi Nayelyz,

Thanks! I’ll wait as there may be more edits to the driver.

Dave

---

<div class="post-metadata">

**Author:** ![upperbayhawk](https://avatars.discourse-cdn.com/v4/letter/u/ce7236/32.png) [@upperbayhawk](https://community.smartthings.com/u/upperbayhawk)\
**Post date:** [November 11, 2022, 1:00am UTC](https://community.smartthings.com/t/edge-drivers-issue-with-z-wave-lock-driver-schlage-be469zp/247178/13 "2022-11-11T01:00:04Z")

</div>

Hi Nayelyz,

My spring window shades installed the DTH driver but I saw the fingerprint in the Github drivers file:

Zwave-window-treatment

- id: “springs/roller”

deviceLabel: Springs Roller Shade

manufacturerId: 0x026E

productType: 0x5253

productId: 0x5A31

deviceProfileName: base-window-treatment

Is this also a beta driver and not enabled for production? Is there any way I can tell?

[https://github.com/SmartThingsCommunity/SmartThingsEdgeDrivers](https://github.com/SmartThingsCommunity/SmartThingsEdgeDrivers)

It’s working so I can wait for the migration if it’s in the queue.

Many Thanks,

Dave

---

<div class="post-metadata">

**Author:** ![nayelyz](https://avatars.discourse-cdn.com/v4/letter/n/59ef9b/32.png) [@nayelyz](https://community.smartthings.com/u/nayelyz)\
**Post date:** [November 16, 2022, 7:33pm UTC](https://community.smartthings.com/t/edge-drivers-issue-with-z-wave-lock-driver-schlage-be469zp/247178/14 "2022-11-16T19:33:59Z")

</div>

> [@upperbayhawk](#):
>
> Is this also a beta driver and not enabled for production? Is there any way I can tell?

Sorry for the delay.  
Yes, it’s disabled in production/default drivers ([here](https://github.com/SmartThingsCommunity/SmartThingsEdgeDrivers/blob/production/drivers/SmartThings/zwave-window-treatment/fingerprints.yml#L8)). For future reference, to identify which is which in the GitHub repository, the beta drivers are in the branch called “main” and the ones in the default channel (installed automatically) are in a branch called “production”.  
 ![image](https://global.discourse-cdn.com/smartthings/original/3X/2/7/27d7caaba76099010ea4352290f93300390fdc84.png)  
Update: Sorry, I forgot to add a picture for better reference.

---

<div class="post-metadata">

**Author:** ![upperbayhawk](https://avatars.discourse-cdn.com/v4/letter/u/ce7236/32.png) [@upperbayhawk](https://community.smartthings.com/u/upperbayhawk)\
**Post date:** [November 19, 2022, 6:13pm UTC](https://community.smartthings.com/t/edge-drivers-issue-with-z-wave-lock-driver-schlage-be469zp/247178/15 "2022-11-19T18:13:29Z")

</div>

Hi Nayelyz,

Thanks! That helps a lot.

Have a great day,

Dave

---

<div class="post-metadata">

**Author:** ![Tallblazer124](https://avatars.discourse-cdn.com/v4/letter/t/ecb155/32.png) [@Tallblazer124](https://community.smartthings.com/u/Tallblazer124)\
**Post date:** [August 29, 2023, 1:57pm UTC](https://community.smartthings.com/t/edge-drivers-issue-with-z-wave-lock-driver-schlage-be469zp/247178/16 "2023-08-29T13:57:07Z")

</div>

My Schlage lock lost battery and when I replaced the battery its not able to connect. I did have it using a custom IDE driver but i am not able to delete it because IDE no longer is active. How can i get my lock to pair. Anytime I try it gets stuck in a loop and never connects. Please help.

---

<div class="post-metadata">

**Author:** ![jkp](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/jkp/32/117130_2.png) [@jkp](https://community.smartthings.com/u/jkp)\
**Post date:** [August 29, 2023, 2:03pm UTC](https://community.smartthings.com/t/edge-drivers-issue-with-z-wave-lock-driver-schlage-be469zp/247178/17 "2023-08-29T14:03:52Z")

</div>

So the legacy groovy side of the platform has been shut down. This would include any custom device handlers you install in the now shuttered IDE. Your lock would have been migrated to an Edge driver. The new architecture uses Edge drivers for directly connected devices.

I recommend installing @phil30 z-wave lock PH Edge driver. channel invite to install the driver can be found here: [Channel Invitation](https://bestow-regional.api.smartthings.com/invite/1PlYENKbdNle).

You will need to exclude the lock from the hub. Then you should be able to pair it to the hub. You may need to switch to the recommended driver after the lock is paired.

useful tools:  
[my.smartthings.com](https://my.smartthings.com)  
[Advanced Web App](https://my.smartthings.com/advanced)

---

<div class="post-metadata">

**Author:** ![Tallblazer124](https://avatars.discourse-cdn.com/v4/letter/t/ecb155/32.png) [@Tallblazer124](https://community.smartthings.com/u/Tallblazer124)\
**Post date:** [August 29, 2023, 5:13pm UTC](https://community.smartthings.com/t/edge-drivers-issue-with-z-wave-lock-driver-schlage-be469zp/247178/18 "2023-08-29T17:13:46Z")

</div>

I am not sure what I did wrong, but I have seem to made the problem worse. I accepted the invitation. Then I went to exclude the lock and it wont exclude or connect with the hub. I then tried to pair it with the hub and the hub never finds the lock. Before I accepted the invitation it would find the lock but connect using the wrong driver. Not sure what steps to take next. Please help.

---

<div class="post-metadata">

**Author:** ![Tallblazer124](https://avatars.discourse-cdn.com/v4/letter/t/ecb155/32.png) [@Tallblazer124](https://community.smartthings.com/u/Tallblazer124)\
**Post date:** [August 29, 2023, 7:42pm UTC](https://community.smartthings.com/t/edge-drivers-issue-with-z-wave-lock-driver-schlage-be469zp/247178/19 "2023-08-29T19:42:57Z")

</div>

I almost got it to connect but when I entered the 5 digit code for security it just hung. Any suggestions?

---

<div class="post-metadata">

**Author:** ![RBoy](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/rboy/32/62677_2.png) [@RBoy](https://community.smartthings.com/u/RBoy)\
**Post date:** [September 25, 2024, 10:35pm UTC](https://community.smartthings.com/t/edge-drivers-issue-with-z-wave-lock-driver-schlage-be469zp/247178/20 "2024-09-25T22:35:52Z")

</div>

This is a common issue with this model is packet loss. Ideally a beaming repeater will help avoid these issue otherwise try these steps.

> [@\[EDGE\] Universal Enhanced Z-Wave Lock Driver for Schlage, Yale, Kwikset, IDLock, Popp, Danalock, August Pro, Keywe, Philia, Samsung](https://community.smartthings.com/t/edge-universal-enhanced-z-wave-lock-driver-for-schlage-yale-kwikset-idlock-popp-danalock-august-pro-keywe-philia-samsung/6241/1464):
>
> type:0000, mfr:0000, prod:0000, model:0000, ver:0.00, zwv:0.00, lib:00 That means the lock didn’t pair properly with the hub due to packet loss (interference, lack of buffering, weak signal) or latency causing the hub to timeout. Try these steps (don’t skip any): [Exclude](https://support.smartthings.com/hc/en-us/articles/360052390151-SmartThings-Enabled-Hubs) the lock Reset the lock Reboot hub (or power it down for about 10 minutes if you suspect issues with the Z-Wave mesh) Reboot your internet modem (this reduces the latency) Change the lock batteries (half used batteries sometimes can cause packet loss since the [voltage drops below the operating level](https://community.smartthings.com/t/release-low-battery-notification-with-customizable-alert-warning-monitor-configurable-thresholds-and-device-monitoring-alerts/59780/72) during the pairing process due to heavy load) Bring the lock within 3ft if the hub and then pair it using the Scan nearby button (don’t use the brand name option as that disabled remote programming for some locks) After p…
