[RELEASE] Lock User Unlock/Lock Door Notifications and Actions

###User Unlock/Lock Door Notifications and Actions - Version 3.0.0

  • Fixed issue with Auto Relock and Auto Unlock not working for some users
  • Added support for RFID card reporting
  • To use the advanced features (RFID, Lock based actions, Tamper Alarms) you require the Universal Enhanced Z-Wave Lock device handler version 3.0.0. All the rest of the functionality will continue to work with the Stock ST Z-Wave Device Handler.

Recommend use the [Universal Enhanced Z-Wave Lock] ([RELEASE] Universal Enhanced Z-Wave Lock, Schlage Lock, Yale Lock, Kwikset Lock, IDLock, DanaLock, August Pro and Samsung Lock Device Handler with Alarm Control, Notification, RFID, Door Sensor and advanced features) device handler version 3.0.0 or later for full SmartApp functionality

EDIT: Please note this version has simplified the user interface, so please CHECK and VERIFY your notification settings. These are now on the first page under door lock/unlock actions. Also NOTE that the user lock code based actions require the use of the Universal Enhanced Z-Wave Handler version 3.0.0 or later

###User Unlock/Lock Door Notifications and Actions - Version 3.1.0

  • Enhanced Auto ReLock to relock the door it hasn’t been opened for the configured time

Recommend use the [Universal Enhanced Z-Wave Lock] ([RELEASE] Universal Enhanced Z-Wave Lock, Schlage Lock, Yale Lock, Kwikset Lock, IDLock, DanaLock, August Pro and Samsung Lock Device Handler with Alarm Control, Notification, RFID, Door Sensor and advanced features) device handler version 3.0.0 or later for full SmartApp functionality

###User Unlock/Lock Door Notifications and Actions - Version 3.1.1

  • Workaround for ST bug with contact address book for notifications

Recommend use the [Universal Enhanced Z-Wave Lock] ([RELEASE] Universal Enhanced Z-Wave Lock, Schlage Lock, Yale Lock, Kwikset Lock, IDLock, DanaLock, August Pro and Samsung Lock Device Handler with Alarm Control, Notification, RFID, Door Sensor and advanced features) device handler version 3.0.1 or later for full SmartApp functionality

###User Unlock/Lock Door Notifications and Actions - Version 3.1.2

  • Fixed a bug which caused disable all push notifications to also disable text notifications

Recommend use the [Universal Enhanced Z-Wave Lock] ([RELEASE] Universal Enhanced Z-Wave Lock, Schlage Lock, Yale Lock, Kwikset Lock, IDLock, DanaLock, August Pro and Samsung Lock Device Handler with Alarm Control, Notification, RFID, Door Sensor and advanced features) device handler version 3.0.1 or later for full SmartApp functionality

###User Unlock/Lock Door Notifications and Actions - Version 3.1.3

  • Added the ability to select operating modes for auto relock

Recommend use the [Universal Enhanced Z-Wave Lock] ([RELEASE] Universal Enhanced Z-Wave Lock, Schlage Lock, Yale Lock, Kwikset Lock, IDLock, DanaLock, August Pro and Samsung Lock Device Handler with Alarm Control, Notification, RFID, Door Sensor and advanced features) device handler version 3.0.1 or later for full SmartApp functionality

1 Like

###User Unlock/Lock Door Notifications and Actions - Version 3.1.4

  • Added functionality to check for configured auto re-locks and open door notifications on mode changes

Recommend use the [Universal Enhanced Z-Wave Lock] ([RELEASE] Universal Enhanced Z-Wave Lock, Schlage Lock, Yale Lock, Kwikset Lock, IDLock, DanaLock, August Pro and Samsung Lock Device Handler with Alarm Control, Notification, RFID, Door Sensor and advanced features) device handler version 3.0.1 or newer for full SmartApp functionality

###User Unlock/Lock Door Notifications and Actions - Version 3.1.5

  • Minor bug fix, when controlling multiple doors and one or more doors doesn’t have an assigned sensor, when the mode changes the door may not relock itself if configured to do so

Recommend use the [Universal Enhanced Z-Wave Lock] ([RELEASE] Universal Enhanced Z-Wave Lock, Schlage Lock, Yale Lock, Kwikset Lock, IDLock, DanaLock, August Pro and Samsung Lock Device Handler with Alarm Control, Notification, RFID, Door Sensor and advanced features) device handler version 3.0.1 or newer for full SmartApp functionality

###User Unlock/Lock Door Notifications and Actions - Version 3.1.6

  • Workaround for bug in ST app v2.2.0 causing unlock based actions page to break for iOS/Android users

Recommend use the [Universal Enhanced Z-Wave Lock] ([RELEASE] Universal Enhanced Z-Wave Lock, Schlage Lock, Yale Lock, Kwikset Lock, IDLock, DanaLock, August Pro and Samsung Lock Device Handler with Alarm Control, Notification, RFID, Door Sensor and advanced features) device handler version 3.0.1 or newer for full SmartApp functionality

###User Unlock/Lock Door Notifications and Actions - Version 3.1.7

  • Patch for actions page not showing up if there are no routines on the hub

Recommend use the [Universal Enhanced Z-Wave Lock] ([RELEASE] Universal Enhanced Z-Wave Lock, Schlage Lock, Yale Lock, Kwikset Lock, IDLock, DanaLock, August Pro and Samsung Lock Device Handler with Alarm Control, Notification, RFID, Door Sensor and advanced features) device handler version 3.0.1 or newer for full SmartApp functionality

###User Unlock/Lock Door Notifications and Actions - Version 3.1.8

  • Fix for unable to change notify option
  • Improved layout and explanations

Recommend use the [Universal Enhanced Z-Wave Lock] ([RELEASE] Universal Enhanced Z-Wave Lock, Schlage Lock, Yale Lock, Kwikset Lock, IDLock, DanaLock, August Pro and Samsung Lock Device Handler with Alarm Control, Notification, RFID, Door Sensor and advanced features) device handler version 3.0.1 or newer for full SmartApp functionality

###User Unlock/Lock Door Notifications and Actions - Version 3.1.9

  • Patch for ST’s “ghost” routines causing some users to get an error while trying to configure actions

Recommend use the [Universal Enhanced Z-Wave Lock] ([RELEASE] Universal Enhanced Z-Wave Lock, Schlage Lock, Yale Lock, Kwikset Lock, IDLock, DanaLock, August Pro and Samsung Lock Device Handler with Alarm Control, Notification, RFID, Door Sensor and advanced features) device handler version 3.0.1 or newer for full SmartApp functionality

Cant get notification to work, this is from the logs:

45fbc4a5-0f1c-4bfd-bd7f-fa66b830e00f 15.09.44 CEST: error java.lang.NullPointerException: Cannot get property ‘eaf3c861-343a-44e3-81a6-8e94cafd2442’ on null object @ line 714
45fbc4a5-0f1c-4bfd-bd7f-fa66b830e00f 15.09.44 CEST: info Running unlock Phrase I’m Back!
45fbc4a5-0f1c-4bfd-bd7f-fa66b830e00f 15.09.44 CEST: debug Found per user unlock actions
45fbc4a5-0f1c-4bfd-bd7f-fa66b830e00f 15.09.44 CEST: debug Lock Dør Hovedinngang Lås unlocked by Hovedbruker, notify true, notify modes null, via keypad
45fbc4a5-0f1c-4bfd-bd7f-fa66b830e00f 15.09.44 CEST: trace Event name lock, value unlocked, device Dør Hovedinngang Lås

Your state variable is corrupted. Delete your app and start over. @slagle FYI

Did not help. I have started using my contacts, could that have anything to do with it? Notifications seems to work with other apps

Could be, contacts is still not officially released by ST and is buggy, if you contact ST support they will ask you to disable the feature.

ST has removed the my contacts function for me. I have deleted the app, and deleted the code from IDE.
Started all over with new code and new install. But I’m stilling not getting notification.

This is in the logs:

6eece88b-1c8c-44c0-86da-4efb985ae460 12.12.45 CEST: error java.lang.NullPointerException: Cannot get property ‘eaf3c861-343a-44e3-81a6-8e94cafd2442’ on null object @ line 714
6eece88b-1c8c-44c0-86da-4efb985ae460 12.12.45 CEST: debug Lock Dør Hovedinngang Lås unlocked by Hovedbruker, notify true, notify modes null, via keypad
6eece88b-1c8c-44c0-86da-4efb985ae460 12.12.45 CEST: trace Event name lock, value unlocked, device Dør Hovedinngang Lås
6eece88b-1c8c-44c0-86da-4efb985ae460 12.12.45 CEST: debug Lock event name lock, value unlocked, device Dør Hovedinngang Lås, description Dør Hovedinngang Lås was unlocked with code 1, data {“usedCode”:1,“type”:“keypad”}

And when updating settings:

6eece88b-1c8c-44c0-86da-4efb985ae460 12.26.53 CEST: trace Found attribute ‘invalidCode’ on lock Dør Hovedinngang Lås, enabled support for invalid code detection
6eece88b-1c8c-44c0-86da-4efb985ae460 12.26.53 CEST: debug Update Settings: [userNotify1:true, userNotify4:true, userNotify3:true, userNames3:Gerd/Jan, userNames1:Hovedbruker, userNames2:Gjest, disableAllNotify:false, locks:[Dør Hovedinngang Lås], maxUserNames:4, userNotify2:true, userNames4:Karianne/Tor Jan]
6eece88b-1c8c-44c0-86da-4efb985ae460 12.26.50 CEST: debug Initial 4 Name: Karianne/Tor Jan, Notify: true, NotifyModes: null
6eece88b-1c8c-44c0-86da-4efb985ae460 12.26.50 CEST: debug Initial 3 Name: Gerd/Jan, Notify: true, NotifyModes: null
6eece88b-1c8c-44c0-86da-4efb985ae460 12.26.50 CEST: debug Initial 2 Name: Gjest, Notify: true, NotifyModes: null
6eece88b-1c8c-44c0-86da-4efb985ae460 12.26.50 CEST: debug Initial 1 Name: Hovedbruker, Notify: true, NotifyModes: null
6eece88b-1c8c-44c0-86da-4efb985ae460 12.26.31 CEST: trace [userNotify1:true, userNotify4:true, userNotify3:true, userNames3:Gerd/Jan, userNames1:Hovedbruker, userNames2:Gjest, disableAllNotify:false, locks:[Dør Hovedinngang Lås], maxUserNames:4, userNotify2:true, userNames4:Karianne/Tor Jan]

Ah I think I know what may be happening. Try this please. Delete the smartapp. I see your lock is using some non English characters in its name. Please change to to only English characters and then try it out. I suspect that will fix the issue.

Thanks for the support, but it did not help. Changed the name, uninstalled and reinstalled but still the same. Very strange, don’t seem to have any issue with other notifications

PM me your complete logs please.

EDIT: Found the issue, will push a patch in the next update along with some cool stuff coming.

###User Unlock/Lock Door Notifications and Actions - Version 3.2.0

  • Fixed an issue with notification not working for some users
  • Added ability to check for smart app and device handler updates and notify the user

Recommend use the [Universal Enhanced Z-Wave Lock] ([RELEASE] Universal Enhanced Z-Wave Lock, Schlage Lock, Yale Lock, Kwikset Lock, IDLock, DanaLock, August Pro and Samsung Lock Device Handler with Alarm Control, Notification, RFID, Door Sensor and advanced features) device handler version 3.1.1 or newer for full SmartApp and automatic update notification functionality

After installing this code update, please (in this order):
1. Update the [Universal Enhanced Z-Wave Lock] ([RELEASE] Universal Enhanced Z-Wave Lock, Schlage Lock, Yale Lock, Kwikset Lock, IDLock, DanaLock, August Pro and Samsung Lock Device Handler with Alarm Control, Notification, RFID, Door Sensor and advanced features) device handler to version 3.1.1 (required for automatic update notifications)
2. Open the lock device page on the ST phone app and click on Refresh
3. Open the SmartApp and click Next and then Done for the changes to take effect