Best Lock Code Manager and how to install it


(Manuel Saadallah) #1

Hello,

Please bear with me as i am new to ST. I tried to follow the steps to install a Lock Code Manager for my Kwikset but i get errors installing the app. Can someone please send instructions along with the code to paste in?

The instructions i found had something to do with replacing from the word preference to the end of the code… but i get error in line 50 and 67… and i have no idea what these mean. FYI I am using the original hub

Thanks in advance


(James) #2

New users sometimes have a tendency to confuse smartapps with device types, which are now called device handlers. Make sure you are pasting the code into the correct form. Lock Code Manager only requires that you create the smartapp.

Here is a link to the WIki FAQ page
http://thingsthataresmart.wiki/index.php?title=FAQ

How to install a smartapp: http://thingsthataresmart.wiki/index.php?title=Using_Custom_Code#Using_A_Custom_SmartApp

How to install a custom device handler: http://thingsthataresmart.wiki/index.php?title=Using_Custom_Code#Using_a_Custom_Device_Handler

If you are still having issues after reading those report back and we can assist further.

@ethayer is the author of Lock Code Manager.

Here is the link to the original thread for Lock Code Manager


(Manuel Saadallah) #3

Thanks Jaime, def userful links, and you are right i am a bit confused about a few things, but the links helped alot.

I do follow the steps to create a new smart app from a code, and this is what i get
No signature of method: script1453589777097562582541.metadata() is applicable for argument types: (script1453589777097562582541$_run_closure1) values: [script1453589777097562582541$_run_closure1@7b5f075e] Possible solutions: getMetadata(), getState(), setState(java.lang.Object), metaClass(groovy.lang.Closure)

And when i create a smart app from form, then select my apps in category then i get this error
groovy.lang.MissingMethodException: No signature of method: script1453590021460789358803.metadata() is applicable for argument types: (script1453590021460789358803$_run_closure1) values: [script1453590021460789358803$_run_closure1@546a6d02]
Possible solutions: getMetadata(), getState(), setState(java.lang.Object), metaClass(groovy.lang.Closure)

Thoughts?


(Scott Simmons) #4

Same issue for me, did you ever get past this error?