Author Topic: Schlage BE469: Bad PIN Code Notification  (Read 375 times)

Offline tbailey1712

  • Newbie
  • *
  • Posts: 12
  • Karma: +0/-2
Schlage BE469: Bad PIN Code Notification
« on: March 10, 2017, 10:20:14 am »
Has anyone been able to get this to work?  I have no problems with notifications when the correct code is entered, but nothing ever fires on an incorrect code.  On UI7.

Offline shallowearth

  • Hero Member
  • *****
  • Posts: 888
  • Karma: +41/-9
Re: Schlage BE469: Bad PIN Code Notification
« Reply #1 on: March 10, 2017, 12:04:04 pm »
Does your last user variable clear eventually or stay set after a user enters a pin? That might your problem.  On my Schlage (different model).  I had to clear the last user.

I created a scene that clears last user that is triggered by the lock locking.  To do that you add this LUA:

luup.variable_set("urn:micasaverde-com:serviceId:DoorLock1", "sl_UserCode", "", 56)

But change 56 to your device number.

Offline RLKinMD

  • Sr. Newbie
  • *
  • Posts: 34
  • Karma: +0/-0
Re: Schlage BE469: Bad PIN Code Notification
« Reply #2 on: April 26, 2017, 01:23:25 pm »
shallowearth,

I recently upgraded to a VeraPlus with UI7. I could never get the "Bad PIN code entered" trigger to work on my VeraLite. I tried your idea to clear the variable sl_UserCode. I confirmed that the variable was null after I locked the lock. But when I entered a bad PIN code, it still did not trigger my scene. The only thing I could find in the logs is this entry:

04/26/17 12:59:16.295   ZWaveNode::HandlePollUpdate_Alarm node 20 device 59 v1type: 21 v1level: 1 source: 0 status: 255 type: 6 event: 1 parms: 0 code: (null) <0x76dcf520>

where device 59 is the Schlage BE469NX.
VeraPlus, GE45604 OutdorSwitch, GE45609 switches, Intermtc HA01C receptacles, Evrsprng ST812 FloodDetect & ST814 Temp-HumiditySensor, Aeon SmartSwitch 2ndEd., Foscam FI9821W V2. & FI9805W(2), Schlage BE469WK & NX locks. Apps: PingSensr, Smtp and Push, Nest Tstat & Protcts(3), WebCamDropboxUploader

Online RichardTSchaefer

  • Master Member
  • *******
  • Posts: 9418
  • Karma: +715/-130
    • RTS Services Plugins
Re: Schlage BE469: Bad PIN Code Notification
« Reply #3 on: April 26, 2017, 01:29:56 pm »
You have to enter a bad pin code multiple times before it will send a trigger.
(Schage did not want to send an event when you just fat fingered a button)

Offline RLKinMD

  • Sr. Newbie
  • *
  • Posts: 34
  • Karma: +0/-0
Re: Schlage BE469: Bad PIN Code Notification
« Reply #4 on: April 26, 2017, 04:12:53 pm »
RichardTSchaefer,

I tried entering a bad pin code three times, but still no scene was triggered. The only thing I see is the this in the log, and I don't know how to interpret it:

04/26/17 15:56:09.547   ZWaveNode::HandlePollUpdate_Alarm node 20 device 59 v1type: 161 v1level: 1 source: 0 status: 255 type: 6 event: 16 parms: 0 code: (null) <0x76bc7520>

By the way, the I was looking through the Z-Wave Device Class Specification and it said that the Alarm Command Class was recommended for locks. The explanation for Alarm Command Class is "Command Class to announce alarm condition e.g. wrong code entered or door is open but lock status is closed."  According to the Z-wave alliance web site (http://products.z-wavealliance.org/products/1051/classes) this Schlage BE469 does not support the Alarm Command Class.

Edit: Scratch what I said in the paragraph above. The Alarm Command Class has been superseded by the Notification Command Class, and the Schlage BE469 does support Notification.

Is it working for you?
Thanks,
Rob
« Last Edit: April 26, 2017, 05:32:45 pm by RLKinMD »
VeraPlus, GE45604 OutdorSwitch, GE45609 switches, Intermtc HA01C receptacles, Evrsprng ST812 FloodDetect & ST814 Temp-HumiditySensor, Aeon SmartSwitch 2ndEd., Foscam FI9821W V2. & FI9805W(2), Schlage BE469WK & NX locks. Apps: PingSensr, Smtp and Push, Nest Tstat & Protcts(3), WebCamDropboxUploader

Offline jswim788

  • Sr. Member
  • ****
  • Posts: 385
  • Karma: +14/-2
Re: Schlage BE469: Bad PIN Code Notification
« Reply #5 on: April 26, 2017, 05:24:28 pm »
Despite that statement at Z-wave Alliance, my Schlage BE469 does indeed use the alarm command class.  However, I don't know what it does with bad pin codes.  I'll test later and report back.

Offline RLKinMD

  • Sr. Newbie
  • *
  • Posts: 34
  • Karma: +0/-0
Re: Schlage BE469: Bad PIN Code Notification
« Reply #6 on: April 26, 2017, 07:13:45 pm »
If I enter a bad PIN code 4 times, the lock issues an audible alarm (provided you config it that way). It also sends a Notification Report Command shown below.

ZWaveNode::HandlePollUpdate_Alarm node 20 device 59 v1type: 161 v1level: 1 source: 0 status: 255 type: 6 event: 16 parms: 0 code: (null) <0x76983520>

The Application Command Class Spec says that type: 6 means access control, and event: 16 means Keypad temporary disabled.

So the question remains: is there a way to get Vera to trigger a scene based on this notification?
VeraPlus, GE45604 OutdorSwitch, GE45609 switches, Intermtc HA01C receptacles, Evrsprng ST812 FloodDetect & ST814 Temp-HumiditySensor, Aeon SmartSwitch 2ndEd., Foscam FI9821W V2. & FI9805W(2), Schlage BE469WK & NX locks. Apps: PingSensr, Smtp and Push, Nest Tstat & Protcts(3), WebCamDropboxUploader

Online RichardTSchaefer

  • Master Member
  • *******
  • Posts: 9418
  • Karma: +715/-130
    • RTS Services Plugins
Re: Schlage BE469: Bad PIN Code Notification
« Reply #7 on: April 26, 2017, 07:35:02 pm »
It works for me ... but you need to clear a different variable for  Door alert.

You need to clear  sl_PinFailed  not  sl_UserCode

I clear both of these on all of my doors 1 minute after any valid or invalid door code is entered on any door.