[RELEASE] User Unlock/Lock Door Notifications and Actions

user
notify
smartapp_alerts
smartapp_locks
smartapp_security

(www.rboyapps.com - Make your home your butler!) #19

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 device handler version 3.0.0 or later for full SmartApp functionality


(www.rboyapps.com - Make your home your butler!) #20

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 device handler version 3.0.1 or later for full SmartApp functionality


(www.rboyapps.com - Make your home your butler!) #21

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 device handler version 3.0.1 or later for full SmartApp functionality


(www.rboyapps.com - Make your home your butler!) #22

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 device handler version 3.0.1 or later for full SmartApp functionality


(www.rboyapps.com - Make your home your butler!) #23

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 device handler version 3.0.1 or newer for full SmartApp functionality


(www.rboyapps.com - Make your home your butler!) #24

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 device handler version 3.0.1 or newer for full SmartApp functionality


(www.rboyapps.com - Make your home your butler!) #25

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 device handler version 3.0.1 or newer for full SmartApp functionality


(www.rboyapps.com - Make your home your butler!) #26

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 device handler version 3.0.1 or newer for full SmartApp functionality


(www.rboyapps.com - Make your home your butler!) #27

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 device handler version 3.0.1 or newer for full SmartApp functionality


(www.rboyapps.com - Make your home your butler!) #28

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 device handler version 3.0.1 or newer for full SmartApp functionality


#29

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


(www.rboyapps.com - Make your home your butler!) #30

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


#31

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


(www.rboyapps.com - Make your home your butler!) #32

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.


#33

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]


(www.rboyapps.com - Make your home your butler!) #34

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.


#35

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


(www.rboyapps.com - Make your home your butler!) #36

PM me your complete logs please.

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


(www.rboyapps.com - Make your home your butler!) #37

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 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 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


(EinarS) #38

Hello.
I installed this smart app two days ago, together with the device handler for id-lock.
Did a test to disarm lock when the lock was unlocked.
Worked like a charm two days ago.
Got back home today, and it is not disarming the alarm.
Made a core piston that sends me an sms if unlocked to check if it works.
And i get SMS about door being unlocked.
Tested disarming alarm with a z-wave button to rule out faults in hub, this works fine, and alarm disarms.
Settings set i app, you find in the picture.

PS brand new lock, so its a clean install, both device handler and smart app.